[Buildbot-commits] [SPAM] [Buildbot] #895: svn poller should use pass environment to getProcessOutput

Buildbot buildbot-devel at lists.sourceforge.net
Wed Jun 16 00:22:41 UTC 2010


#895: svn poller should use pass environment to getProcessOutput
-----------------------+----------------------------------------------------
Reporter:  jonrafkind  |       Owner:           
    Type:  undecided   |      Status:  new      
Priority:  major       |   Milestone:  undecided
 Version:  0.7.12      |    Keywords:           
-----------------------+----------------------------------------------------
 svnpoller.py should pass os.environ to utils.getProcessOutput to ensure
 shell variables are passed along properly. In my setup (gentoo) the $HOME
 variable is set by the script that starts buildbot, --env HOME=$BASEDIR,
 and this information is only propagated to the rest of the python system
 through os.environ.

 I do not know if this change has adverse effects on other systems.

 {{{
   def getProcessOutput(self, args):
         import os
         # this exists so we can override it during the unit tests
         d = utils.getProcessOutput(self.svnbin, args, os.environ)
         return d
 }}}

-- 
Ticket URL: <http://buildbot.net/trac/ticket/895>
Buildbot <http://buildbot.net/>
Buildbot: build/test automation


More information about the Commits mailing list