Recipe: cannot copy files into the root with the nest-part command.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
New
|
Undecided
|
Unassigned |
Bug Description
I cannot copy files from a nest-part folder into the root.
For example:
# bzr-builder format 0.3 deb-version {debupstream}
lp:~snapcpp/snapcpp/snapCMakeModules
nest-part modules lp:snapcpp snapCMakeModules .
fails.
Here is the output from the command:
$ bzr dailydeb --allow-
Building tree.
Retrieving 'lp:~snapcpp/snapcpp/snapCMakeModules' to put at 'snapCMakeModul
bzr: ERROR: Failed to rename /home/doug/
And I can see the reason--the nest-part algorithm creates a temporary folder, then tries to rename that folder to the target folder (which is the root, which already exists).
This wouldn't be a problem if the launchpad.net system would allow the "run" command, but it is blocked. (see https:/
I could have just done this instead, and been done:
# bzr-builder format 0.3 deb-version {debupstream}
lp:~snapcpp/snapcpp/snapCMakeModules
nest-part modules lp:snapcpp snapCMakeModules snapCMakeModules
run cp -aux snapCMakeModules/* .
:)
Is there any workaround to this out there? Or is this something that will be fixed in the future (fingers crossed)?
Similar to :
https:/
but I want to be able to just nest-part files into the root.