gitpoller fails when using ssh for the repository
|Reported by:||kclair||Owned by:|
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.
Use '--' to separate paths from revisions "
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.
Change History (12)
comment:1 Changed 4 years ago by kclair
- Summary changed from gitpoller fails when user ssh for the repository to gitpoller fails when using ssh for the repository
comment:7 Changed 4 years ago by tom.prince
- Resolution set to worksforme
- Status changed from new to closed
comment:8 Changed 4 years ago by kclair
- Resolution worksforme deleted
- Status changed from closed to reopened