Cannot nest-part into an existing directory
Bug #1644640 reported by
Dmitry Shachnev
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
git-build-recipe |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
We had a problem while trying to write a Git recipe for gnome-flashback daily builds. The upstream repository contains a submodule. As git-build-recipe does not clone the submodules, we tried to work around that by using nest-part. However nest-part complains when a target directory exists and is not a Git repository. In our case, the target directory is empty.
Example: https:/
Related branches
~mitya57/git-build-recipe:master
- Colin Watson (community): Approve
- Alberts Muktupāvels (community): Approve
-
Diff: 57 lines (+27/-1)2 files modifiedgitbuildrecipe/recipe.py (+2/-0)
gitbuildrecipe/tests/test_recipe.py (+25/-1)
To post a comment you must log in.
Old problem. lp:771568 (for bzr recipes)
nest-part can not work if target directory already exists. Other option is to dump into a directory which doesn't exist and then use "run cp" command to copy it into proper path. Although I am not sure if git build recipes can execute run.