Discussion:
[p4] Getting email notfication from Perforce whenever there is a checkin to specified branch...
Sarma Kanchinadham
2010-08-03 13:30:58 UTC
Permalink
Hi All,

I want to set up my perforce account to get email notification when somebody makes checking into to specified branch, how to do that please?

Could anybody please help me on this?

Thanks,
Sarma
Mark Evans
2010-08-03 13:42:03 UTC
Permalink
Use a submit trigger:

http://www.perforce.com/perforce/doc.current/manuals/cmdref/triggers.html
Post by Sarma Kanchinadham
Hi All,
I want to set up my perforce account to get email notification when
somebody makes checking into to specified branch, how to do that please?
Could anybody please help me on this?
Thanks,
Sarma
_______________________________________________
http://maillist.perforce.com/mailman/listinfo/perforce-user
Todd Zarnes
2010-08-03 14:00:46 UTC
Permalink
I like to user Reviews. In P4V do an Edit Current User and add a line to the Reviews section to path you want to monitor like:

//depot/<branch>...

This will give you an email on all Submits into this <branch>. You can use wildcard to show only changes on configuration files like //<branch>.../pom.xml* and can even get to a specific file name like //<branch>.../mysource.java.

ToddZarnes | Activant Solutions | Release Manager | Tel: 303.938.8801 Ext: 1544 | Cel: 720.253.2124


-----Original Message-----
From: perforce-user-***@perforce.com [mailto:perforce-user-***@perforce.com] On Behalf Of Mark Evans
Sent: Tuesday, August 03, 2010 7:42 AM
To: Sarma Kanchinadham
Cc: Johan Nilsson; Robert Cowham; perforce-***@perforce.com
Subject: Re: [p4] Getting email notfication from Perforce whenever there is a checkin to specified branch...

Use a submit trigger:

http://www.perforce.com/perforce/doc.current/manuals/cmdref/triggers.html
Post by Sarma Kanchinadham
Hi All,
I want to set up my perforce account to get email notification when
somebody makes checking into to specified branch, how to do that please?
Could anybody please help me on this?
Thanks,
Sarma
_______________________________________________
http://maillist.perforce.com/mailman/listinfo/perforce-user
_______________________________________________
perforce-user mailing list - perforce-***@perforce.com
http://maillist.perforce.com/mailman/listinfo/perforce-user
Stephen Vance
2010-08-03 14:03:05 UTC
Permalink
A review daemon might be better. It won't slow down your submits.

Stephen Vance
Post by Mark Evans
http://www.perforce.com/perforce/doc.current/manuals/cmdref/triggers.html
Post by Sarma Kanchinadham
Hi All,
I want to set up my perforce account to get email notification when
somebody makes checking into to specified branch, how to do that please?
Could anybody please help me on this?
Thanks,
Sarma
_______________________________________________
http://maillist.perforce.com/mailman/listinfo/perforce-user
_______________________________________________
http://maillist.perforce.com/mailman/listinfo/perforce-user
G. Matthew Rice
2010-08-03 13:59:38 UTC
Permalink
You want the p4 review daemon:

http://public.perforce.com/wiki/P4Review

Regards,
--matt
Post by Sarma Kanchinadham
Hi All,
I want to set up my perforce account to get email notification when somebody makes checking into to specified branch, how to do that please?
Could anybody please help me on this?
Thanks,
Sarma
_______________________________________________
http://maillist.perforce.com/mailman/listinfo/perforce-user
--
G. Matthew Rice <***@lpi.org>                         gpg id: EF9AAD20
Matt Janulewicz
2010-08-03 17:25:27 UTC
Permalink
I'd like to cast a vote for P4Spam. The E-mails are pretty. :)

http://p4spam.sourceforge.net/wiki/Main_Page


-Matt Janulewicz
Lucasfilm Entertainment Company Ltd.
Post by G. Matthew Rice
http://public.perforce.com/wiki/P4Review
Regards,
--matt
Post by Sarma Kanchinadham
Hi All,
I want to set up my perforce account to get email notification when somebody makes checking into to specified branch, how to do that please?
Could anybody please help me on this?
Thanks,
Sarma
_______________________________________________
http://maillist.perforce.com/mailman/listinfo/perforce-user
Diane Holt
2010-08-03 17:55:35 UTC
Permalink
I agree -- p4spam is very pretty in Outlook, but have you ever seen them in
OWA (in Firefox browser)? Majorly ugly. I'd love to find out if anyone knows
how to make them pretty in both.

Diane

On Tue, Aug 3, 2010 at 10:25 AM, Matt Janulewicz <
Post by Matt Janulewicz
I'd like to cast a vote for P4Spam. The E-mails are pretty. :)
http://p4spam.sourceforge.net/wiki/Main_Page
-Matt Janulewicz
Lucasfilm Entertainment Company Ltd.
Post by G. Matthew Rice
http://public.perforce.com/wiki/P4Review
Regards,
--matt
Post by Sarma Kanchinadham
Hi All,
I want to set up my perforce account to get email notification when
somebody makes checking into to specified branch, how to do that please?
Could anybody please help me on this?
Thanks,
Sarma
_______________________________________________
http://maillist.perforce.com/mailman/listinfo/perforce-user
_______________________________________________
http://maillist.perforce.com/mailman/listinfo/perforce-user
Matt Janulewicz
2010-08-03 17:59:06 UTC
Permalink
Oh my, that is ugly. I never noticed. I'm not an HTML guru but there are
stylesheets involved with P4Spam, perhaps you can work around OWA's
interpretation of HTML with a custom stylesheet?


-Matt Janulewicz
Lucasfilm Entertainment Company Ltd.
Post by Diane Holt
I agree -- p4spam is very pretty in Outlook, but have you ever seen
them in OWA (in Firefox browser)? Majorly ugly. I'd love to find out
if anyone knows how to make them pretty in both.
Diane
On Tue, Aug 3, 2010 at 10:25 AM, Matt Janulewicz
I'd like to cast a vote for P4Spam. The E-mails are pretty. :)
http://p4spam.sourceforge.net/wiki/Main_Page
-Matt Janulewicz
Lucasfilm Entertainment Company Ltd.
http://public.perforce.com/wiki/P4Review
Regards,
--matt
On Tue, Aug 3, 2010 at 9:30 AM, Sarma
Hi All,
I want to set up my perforce account to get email
notification when somebody makes checking into to
specified branch, how to do that please?
Could anybody please help me on this?
Thanks,
Sarma
_______________________________________________
http://maillist.perforce.com/mailman/listinfo/perforce-user
_______________________________________________
http://maillist.perforce.com/mailman/listinfo/perforce-user
Kosinski, Teresa
2010-08-03 20:01:17 UTC
Permalink
I used to LOVE P4Spam, but I found it didn't work well once I upgraded
to 2009.2. Occasionally, someone would check something in, and it would
stop updating the p4spam.lastchange counter.

<sniff> I miss the pretty emails.

-----Original Message-----
From: perforce-user-***@perforce.com
[mailto:perforce-user-***@perforce.com] On Behalf Of Matt Janulewicz
Sent: Tuesday, August 03, 2010 10:25 AM
To: G. Matthew Rice
Cc: Johan Nilsson; Robert Cowham; perforce-***@perforce.com
Subject: Re: [p4] Getting email notfication from Perforce whenever there
is a checkin to specified branch...

I'd like to cast a vote for P4Spam. The E-mails are pretty. :)

http://p4spam.sourceforge.net/wiki/Main_Page


-Matt Janulewicz
Lucasfilm Entertainment Company Ltd.
Post by G. Matthew Rice
http://public.perforce.com/wiki/P4Review
Regards,
--matt
On Tue, Aug 3, 2010 at 9:30 AM, Sarma
Post by Sarma Kanchinadham
Hi All,
I want to set up my perforce account to get email notification when
somebody makes checking into to specified branch, how to do that please?
Post by G. Matthew Rice
Post by Sarma Kanchinadham
Could anybody please help me on this?
Thanks,
Sarma
_______________________________________________
http://maillist.perforce.com/mailman/listinfo/perforce-user
_______________________________________________
perforce-user mailing list - perforce-***@perforce.com
http://maillist.perforce.com/mailman/listinfo/perforce-user
</pre>The contents of this electronic mail message and any attachments are confidential, possibly privileged and intended for the addressee(s) only.<br>Only the addressee(s) may read, disseminate, retain or otherwise use this message. If received in error, please immediately inform the sender and then delete this message without disclosing its contents to anyone.</pre>
Matt Janulewicz
2010-08-03 20:32:51 UTC
Permalink
I found two problems with it when we upgraded, too:

1) Inability to recognize the new move/add, move/delete syntax.
2) Chokes on unicode characters in submit description when running on
Windows server.

We've done some recoding to fix #1 above. Haven't gotten around to
fixing #2 yet.

Other than those two problems it's been working fine for us with servers
up to 2010.1. Perhaps in the next few days I can add it to my directory
in the public depot with the patch for #1. :)


-Matt Janulewicz
Lucasfilm Entertainment Company Ltd.
Post by Kosinski, Teresa
I used to LOVE P4Spam, but I found it didn't work well once I upgraded
to 2009.2. Occasionally, someone would check something in, and it would
stop updating the p4spam.lastchange counter.
<sniff> I miss the pretty emails.
-----Original Message-----
Sent: Tuesday, August 03, 2010 10:25 AM
To: G. Matthew Rice
Subject: Re: [p4] Getting email notfication from Perforce whenever there
is a checkin to specified branch...
I'd like to cast a vote for P4Spam. The E-mails are pretty. :)
http://p4spam.sourceforge.net/wiki/Main_Page
-Matt Janulewicz
Lucasfilm Entertainment Company Ltd.
Post by G. Matthew Rice
http://public.perforce.com/wiki/P4Review
Regards,
--matt
On Tue, Aug 3, 2010 at 9:30 AM, Sarma
Post by Sarma Kanchinadham
Hi All,
I want to set up my perforce account to get email notification when
somebody makes checking into to specified branch, how to do that please?
Post by G. Matthew Rice
Post by Sarma Kanchinadham
Could anybody please help me on this?
Thanks,
Sarma
_______________________________________________
http://maillist.perforce.com/mailman/listinfo/perforce-user
_______________________________________________
http://maillist.perforce.com/mailman/listinfo/perforce-user
</pre>The contents of this electronic mail message and any attachments are confidential, possibly privileged and intended for the addressee(s) only.<br>Only the addressee(s) may read, disseminate, retain or otherwise use this message. If received in error, please immediately inform the sender and then delete this message without disclosing its contents to anyone.</pre>
Diane Holt
2010-08-03 20:57:58 UTC
Permalink
Yeah, I also had to deal with #1 (forgot about that). At the time, I was
too busy to do anything other than just have move/delete be in "Deleted
files" and move/add be in "Branched files", but at some point, I'd like to
actually take advantage of those and add a "Moved files" to the mail. So if
your change does, I'd love to see you post it :)

Other than that, we haven't had any problems with it.

Diane

On Tue, Aug 3, 2010 at 1:32 PM, Matt Janulewicz <
Post by Matt Janulewicz
1) Inability to recognize the new move/add, move/delete syntax.
2) Chokes on unicode characters in submit description when running on
Windows server.
We've done some recoding to fix #1 above. Haven't gotten around to fixing
#2 yet.
Other than those two problems it's been working fine for us with servers up
to 2010.1. Perhaps in the next few days I can add it to my directory in the
public depot with the patch for #1. :)
-Matt Janulewicz
Lucasfilm Entertainment Company Ltd.
Post by Kosinski, Teresa
I used to LOVE P4Spam, but I found it didn't work well once I upgraded
to 2009.2. Occasionally, someone would check something in, and it would
stop updating the p4spam.lastchange counter.
<sniff> I miss the pretty emails.
-----Original Message-----
Sent: Tuesday, August 03, 2010 10:25 AM
To: G. Matthew Rice
Subject: Re: [p4] Getting email notfication from Perforce whenever there
is a checkin to specified branch...
I'd like to cast a vote for P4Spam. The E-mails are pretty. :)
http://p4spam.sourceforge.net/wiki/Main_Page
-Matt Janulewicz
Lucasfilm Entertainment Company Ltd.
Post by G. Matthew Rice
http://public.perforce.com/wiki/P4Review
Regards,
--matt
On Tue, Aug 3, 2010 at 9:30 AM, Sarma
Post by Sarma Kanchinadham
Hi All,
I want to set up my perforce account to get email notification when
somebody makes checking into to specified branch, how to do that please?
Could anybody please help me on this?
Post by Sarma Kanchinadham
Thanks,
Sarma
_______________________________________________
http://maillist.perforce.com/mailman/listinfo/perforce-user
_______________________________________________
http://maillist.perforce.com/mailman/listinfo/perforce-user
</pre>The contents of this electronic mail message and any attachments are
confidential, possibly privileged and intended for the addressee(s)
only.<br>Only the addressee(s) may read, disseminate, retain or otherwise
use this message. If received in error, please immediately inform the sender
and then delete this message without disclosing its contents to
anyone.</pre>
_______________________________________________
http://maillist.perforce.com/mailman/listinfo/perforce-user
Matt Janulewicz
2010-08-04 23:29:49 UTC
Permalink
I just submitted our changes to P4Spam which do what you mention below:
detects move/add and move/delete files and puts them under their own
headings in the E-mail. Have fun! (in the public p4 depot, of course):

//guest/matthew_janulewicz/p4spam-1.1/


-Matt Janulewicz
Lucasfilm Entertainment Company Ltd.
Post by Diane Holt
Yeah, I also had to deal with #1 (forgot about that). At the time, I
was too busy to do anything other than just have move/delete be in
"Deleted files" and move/add be in "Branched files", but at some
point, I'd like to actually take advantage of those and add a "Moved
files" to the mail. So if your change does, I'd love to see you post it :)
Other than that, we haven't had any problems with it.
Diane
On Tue, Aug 3, 2010 at 1:32 PM, Matt Janulewicz
1) Inability to recognize the new move/add, move/delete syntax.
2) Chokes on unicode characters in submit description when running
on Windows server.
We've done some recoding to fix #1 above. Haven't gotten around to
fixing #2 yet.
Other than those two problems it's been working fine for us with
servers up to 2010.1. Perhaps in the next few days I can add it to
my directory in the public depot with the patch for #1. :)
-Matt Janulewicz
Lucasfilm Entertainment Company Ltd.
I used to LOVE P4Spam, but I found it didn't work well once I upgraded
to 2009.2. Occasionally, someone would check something in, and it would
stop updating the p4spam.lastchange counter.
<sniff> I miss the pretty emails.
-----Original Message-----
Janulewicz
Sent: Tuesday, August 03, 2010 10:25 AM
To: G. Matthew Rice
Subject: Re: [p4] Getting email notfication from Perforce whenever there
is a checkin to specified branch...
I'd like to cast a vote for P4Spam. The E-mails are pretty. :)
http://p4spam.sourceforge.net/wiki/Main_Page
-Matt Janulewicz
Lucasfilm Entertainment Company Ltd.
http://public.perforce.com/wiki/P4Review
Regards,
--matt
On Tue, Aug 3, 2010 at 9:30 AM, Sarma
Hi All,
I want to set up my perforce account to get email
notification when
somebody makes checking into to specified branch, how to do that please?
Could anybody please help me on this?
Thanks,
Sarma
_______________________________________________
perforce-user mailing list -
http://maillist.perforce.com/mailman/listinfo/perforce-user
_______________________________________________
http://maillist.perforce.com/mailman/listinfo/perforce-user
</pre>The contents of this electronic mail message and any
attachments are confidential, possibly privileged and intended
for the addressee(s) only.<br>Only the addressee(s) may read,
disseminate, retain or otherwise use this message. If received
in error, please immediately inform the sender and then delete
this message without disclosing its contents to anyone.</pre>
_______________________________________________
http://maillist.perforce.com/mailman/listinfo/perforce-user
Michael Delaney
2010-08-03 14:14:48 UTC
Permalink
First you need to set up a review daemon
(http://public.perforce.com/wiki/P4Review) to poll for changes to your
Perforce server. Once you've got that running, add a review to your user
for the location(s) you wish to get notification from.

For example you could set the following if you wish to get reviews when
someone changes something that deals with the build process
User: mdelaney
Email: ***@therebepirates.com
Reviews:
//depot/trunk/build/...
//depot/trunk/.../Makefile


If you wish to do this via the graphical way, in p4v if you edit the
user your connected as (Connections -> Edit current user; then click the
review tab) then you'll be able to set reviews by selecting locations
from a tree view (much like the tree view when editing a client spec).

Hope that helps.
Post by Sarma Kanchinadham
Hi All,
I want to set up my perforce account to get email notification when somebody makes checking into to specified branch, how to do that please?
Could anybody please help me on this?
Thanks,
Sarma
_______________________________________________
http://maillist.perforce.com/mailman/listinfo/perforce-user
Brad Holt
2010-08-12 17:41:51 UTC
Permalink
Hello All,

I've got a user that's run into the message upon trying to submit a resolved file telling them that it's been tampered with and so needs to be re-opened for edit (it's likely a local build on their machine may have messed with it). He's using P4V and cannot see the option to do so. In a test case I ran, I don't see it either. I don't remember this being a problem back with P4Win, so I was thinking it might just be a terminology thing, but I can't see what else it might be from the options in the right click context drop on the file.

Can anyone tell me what we're missing? How can they get this file reopened? They're a bit dead in the water until I get this sorted.

Thanks all.

-brad
Matt Janulewicz
2010-08-12 17:59:40 UTC
Permalink
You can just create a new changelist and drag the file to it. Not very
obvious, eh? :)


-Matt Janulewicz
Lucasfilm Entertainment Company Ltd.
Post by Brad Holt
Hello All,
I've got a user that's run into the message upon trying to submit a resolved file telling them that it's been tampered with and so needs to be re-opened for edit (it's likely a local build on their machine may have messed with it). He's using P4V and cannot see the option to do so. In a test case I ran, I don't see it either. I don't remember this being a problem back with P4Win, so I was thinking it might just be a terminology thing, but I can't see what else it might be from the options in the right click context drop on the file.
Can anyone tell me what we're missing? How can they get this file reopened? They're a bit dead in the water until I get this sorted.
Thanks all.
-brad
_______________________________________________
http://maillist.perforce.com/mailman/listinfo/perforce-user
Brad Holt
2010-08-12 18:04:04 UTC
Permalink
That still yields the "no files opened" message, but from what the buckmeister says, that's just an extant message and the right thing happens. I guess this is what was tripping up my user.

-----Original Message-----
From: Matt Janulewicz [mailto:***@lucasfilm.com]
Sent: Thursday, August 12, 2010 11:00 AM
To: Brad Holt
Cc: perforce-***@perforce.com
Subject: Re: [p4] How to reopen for edit a resolved file that's been tampered with?

You can just create a new changelist and drag the file to it. Not very
obvious, eh? :)


-Matt Janulewicz
Lucasfilm Entertainment Company Ltd.
Post by Brad Holt
Hello All,
I've got a user that's run into the message upon trying to submit a resolved file telling them that it's been tampered with and so needs to be re-opened for edit (it's likely a local build on their machine may have messed with it). He's using P4V and cannot see the option to do so. In a test case I ran, I don't see it either. I don't remember this being a problem back with P4Win, so I was thinking it might just be a terminology thing, but I can't see what else it might be from the options in the right click context drop on the file.
Can anyone tell me what we're missing? How can they get this file reopened? They're a bit dead in the water until I get this sorted.
Thanks all.
-brad
_______________________________________________
http://maillist.perforce.com/mailman/listinfo/perforce-user
b***@gmail.com
2010-08-12 18:01:02 UTC
Permalink
I haven't tried it lately, but can you just CTRL+E on the file to open it for edit? When I'm integrating and have to manually fix things I usually do this and get the helpful message "no files opened" but it still makes the file writable and does what I need.



Thanks,
Peter

-----Original Message-----
From: Brad Holt <***@autodesk.com>
Sender: perforce-user-***@perforce.com
Date: Thu, 12 Aug 2010 10:41:51
To: perforce-***@perforce.com<perforce-***@perforce.com>
Subject: [p4] How to reopen for edit a resolved file that's been tampered
with?

Hello All,

I've got a user that's run into the message upon trying to submit a resolved file telling them that it's been tampered with and so needs to be re-opened for edit (it's likely a local build on their machine may have messed with it). He's using P4V and cannot see the option to do so. In a test case I ran, I don't see it either. I don't remember this being a problem back with P4Win, so I was thinking it might just be a terminology thing, but I can't see what else it might be from the options in the right click context drop on the file.

Can anyone tell me what we're missing? How can they get this file reopened? They're a bit dead in the water until I get this sorted.

Thanks all.

-brad

_______________________________________________
perforce-user mailing list - perforce-***@perforce.com
http://maillist.perforce.com/mailman/listinfo/perforce-user
Thandesh V.K
2010-08-12 18:04:11 UTC
Permalink
I run "p4 edit <file>" in unix like platform. Same thing should work.

I just did "write click on file"-> "Open Command Window Here" -> "in the
command window i did p4 eidt <file>".

Hope it works.
Post by Brad Holt
Hello All,
I've got a user that's run into the message upon trying to submit a
resolved file telling them that it's been tampered with and so needs to be
re-opened for edit (it's likely a local build on their machine may have
messed with it). He's using P4V and cannot see the option to do so. In a
test case I ran, I don't see it either. I don't remember this being a
problem back with P4Win, so I was thinking it might just be a terminology
thing, but I can't see what else it might be from the options in the right
click context drop on the file.
Can anyone tell me what we're missing? How can they get this file
reopened? They're a bit dead in the water until I get this sorted.
Thanks all.
-brad
_______________________________________________
http://maillist.perforce.com/mailman/listinfo/perforce-user
--
-------------------------------------------------------------------------------------------------------------
" The only thing worst then losing, is quitting."

Your Non Quiting Friend
Thandesha V.K
----------------------------------------------------------------------------------------------------------------------
Brad Holt
2010-08-12 18:07:09 UTC
Permalink
Thanks everyone. I think the problem was just that the message it threw when he attempted to check the file out made it sound like it hadn't worked.

From: Thandesh V.K [mailto:***@gmail.com]
Sent: Thursday, August 12, 2010 11:04 AM
To: Brad Holt
Cc: perforce-***@perforce.com
Subject: Re: [p4] How to reopen for edit a resolved file that's been tampered with?

I run "p4 edit <file>" in unix like platform. Same thing should work.

I just did "write click on file"-> "Open Command Window Here" -> "in the command window i did p4 eidt <file>".

Hope it works.
On Thu, Aug 12, 2010 at 11:11 PM, Brad Holt <***@autodesk.com<mailto:***@autodesk.com>> wrote:
Hello All,

I've got a user that's run into the message upon trying to submit a resolved file telling them that it's been tampered with and so needs to be re-opened for edit (it's likely a local build on their machine may have messed with it). He's using P4V and cannot see the option to do so. In a test case I ran, I don't see it either. I don't remember this being a problem back with P4Win, so I was thinking it might just be a terminology thing, but I can't see what else it might be from the options in the right click context drop on the file.

Can anyone tell me what we're missing? How can they get this file reopened? They're a bit dead in the water until I get this sorted.

Thanks all.

-brad

_______________________________________________
perforce-user mailing list - perforce-***@perforce.com<mailto:perforce-***@perforce.com>
http://maillist.perforce.com/mailman/listinfo/perforce-user



--
-------------------------------------------------------------------------------------------------------------
" The only thing worst then losing, is quitting."

Your Non Quiting Friend
Thandesha V.K
----------------------------------------------------------------------------------------------------------------------
Loading...