[Buildbot-devel] Fix for wrong user in p4poller

Charles Hardin chardin at 2wire.com
Wed Apr 19 15:13:04 UTC 2006


Perforce did some special sauce for security levels 0 - 3, 3 is where they were doing tickets for logins...

When we were testing we found that tickets didn't always seem to get created using the environment variables in our scripts - but, when we passed it on the command line it worked...

It might have just been an error on our part - but, the command line passing hasn't failed yet and the environment vars failed randomly for us...

So, no "good" reason - just a "it worked" reason...
Charles

> -----Original Message-----
> From: buildbot-devel-admin at lists.sourceforge.net [mailto:buildbot-devel-
> admin at lists.sourceforge.net] On Behalf Of François Beerten
> Sent: Wednesday, April 19, 2006 1:37 AM
> To: Brian Warner
> Cc: buildbot-devel at lists.sourceforge.net
> Subject: RE: [Buildbot-devel] Fix for wrong user in p4poller
> 
> With the changes from
> http://sourceforge.net/mailarchive/forum.php?thread_id=10124271&forum_id=42369
> , it works too.
> 
> Why is it better to pass those options on the command line instead of via
> environment variables ?
> 
> Francois.
> 
> -----Original Message-----
> From: Brian Warner [mailto:warner-buildbot at lothar.com]
> Sent: lundi 17 avril 2006 3:56
> To: François Beerten
> Cc: buildbot-devel at lists.sourceforge.net
> Subject: Re: [Buildbot-devel] Fix for wrong user in p4poller
> 
> > There is a bug in p4poller.py when it fetches the descriptions of the
> > changelists. It doesn't set the P4USER environment variable.
> 
> I recently (april 7th) committed a patch from sf.net that replaced the P4USER
> environment variable with an explicit '-u' argument. Could you take a look at
> the latest CVS and see if it solves the problem correctly for you?
> 
> thanks,
>  -Brian
> --------------------------------------------------------
> The information contained in this message or any of its attachments may be
> privileged and confidential and intended for the exclusive use of the
> addressee. If you are not the addressee any disclosure, reproduction,
> distribution or other dissemination or use of this communication is strictly
> prohibited. If you have received this transmission by error please notify the
> sender immediately and then delete this email.  EURESYS shall not be liable
> for any loss of or damage to revenues, profits, goodwill, data, information
> systems or other special, incidental, indirect, consequential or punitive
> damages of any kind arising in connection with the use of information
> contained in this mail or its attachments.  Email transmission cannot be
> guaranteed to be secure or error free as information could be intercepted,
> corrupted, lost, destroyed, arrive late or incomplete, or contain viruses.
> The sender therefore is in no way liable for any errors or omissions in the
> content of this message, which may arise as a result of email transmission. If
> verification is required, please request a hard copy.  Please note that
> neither EURESYS, nor the sender accepts any responsibility for viruses and it
> is your responsibility to scan attachments (if any).
> 
> --------------------------------------------------------
> 
> 
> -------------------------------------------------------
> This SF.Net email is sponsored by xPML, a groundbreaking scripting language
> that extends applications into web and mobile media. Attend the live webcast
> and join the prime developer group breaking into this new coding territory!
> http://sel.as-us.falkag.net/sel?cmd=k&kid0944&bid$1720&dat1642
> _______________________________________________
> Buildbot-devel mailing list
> Buildbot-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/buildbot-devel




More information about the devel mailing list