git-build-recipe crashes
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
git-build-recipe |
Triaged
|
High
|
Unassigned |
Bug Description
I'm trying to test build recipes for git projects, as per http://
# git-build-recipe format 0.3 deb-version {debupstream}
lp:certification-docs
The result when I try running it is:
$ git-build-recipe --allow-
Traceback (most recent call last):
File "/usr/lib/
cmd, stderr=
File "/usr/lib/
raise CalledProcessEr
subprocess.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/bin/
load_
File "/usr/lib/
build_
File "/usr/lib/
_build_
File "/usr/lib/
pull_
File "/usr/lib/
git_
File "/usr/lib/
raise CloneFailed(
gitbuildrecipe.
Cloning into 'working-
fatal: No path specified. See 'man git-pull' for valid url syntax
This may well be a case of improper use (command line or .recipe file), but the Python crash dump isn't exactly a model of clarity. If this is an improper-use case, could it be detected and a helpful error message produced instead?
affects: | launchpad → git-build-recipe |
At present it is not in general possible to build from a private repository on Launchpad using git-build-recipe. This won't be possible until we have HTTPS access tokens for private repositories (as it happens I'm working on prerequisites for that right now, but it will take a while). You can do it locally by using git+ssh: //git.launchpad .net/certificat ion-docs rather than lp:certification-docs, but it isn't going to work as part of a recipe build on Launchpad for a while yet.
I agree that the error message lacks a certain something, and will see what I can do to improve that.