#2343: gitpoller fails when user ssh for the repository
--------------------+-----------------------
Reporter:  kclair   |      Owner:
    Type:  defect   |     Status:  new
Priority:  major    |  Milestone:  undecided
 Version:  0.8.6p1  |   Keywords:  git
--------------------+-----------------------
 I have defined the following ChangeSource (i've replaced the real user and
 host name with example data):

 {{{
 c['change_source'].append(GitPoller(
         'ssh://user@somehost:4422/our-repo',
         workdir='gitpoller-workdir', branch='master',
         pollinterval=300))
 }}}

 which is producing this error:


 2012-08-09 20:23:18-0400 [-] gitpoller: repo poll failed

 2012-08-09 20:23:18-0400 [-] Unhandled Error
         Traceback (most recent call last):
         Failure: twisted.internet.utils._UnexpectedErrorOutput: got
 stderr: "fatal: ambiguous argument 'master..origin/master': unknown
 revision or path not in the working tree.\nUse '--' to separate paths from
 revisions\n"


 I have confirmed that I am able to clone the repo using the same location
 as the same user that runs buildbot, and the cloning process doesn't
 require any keyboard intervention.


 This looks very much like this bug from an older version:
 http://trac.buildbot.net/ticket/2116

 But it appears that GitPoller has been rewritten since then, and the patch
 is no longer applicable.

-- 
Ticket URL: <http://trac.buildbot.net/ticket/2343>
Buildbot <http://buildbot.net/>
Buildbot: build/test automation
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Buildbot-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/buildbot-commits

Reply via email to