#2491: gitpoller doesn't provide enough of a clue when branch doesn't exist
------------------------+-----------------------
Reporter:  dank         |      Owner:
    Type:  enhancement  |     Status:  new
Priority:  minor        |  Milestone:  undecided
 Version:  0.8.7p1      |   Keywords:
------------------------+-----------------------
 Masters with many projects using gitpoller will sometimes be
 misconfigured to poll a git repo that lacks a 'master' branch.
 The error in this case is shown in the log as

         exceptions.EnvironmentError: command failed with exit code 128:
 fatal: Couldn't find remote ref master

 with no clue which project or repo is to blame.  Adding the repourl
 to the error message, a la

 -                raise EnvironmentError('command failed with exit code %d:
 %s'
 -                        % (code, stderr))
 +                raise EnvironmentError('command on repourl %s failed with
 exit code %d: %s'
 +                        % (self.repourl, code, stderr))

 makes the error message much more helpful.

-- 
Ticket URL: <http://trac.buildbot.net/ticket/2491>
Buildbot <http://buildbot.net/>
Buildbot: build/test automation
------------------------------------------------------------------------------
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis & visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter
_______________________________________________
Buildbot-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/buildbot-commits

Reply via email to