Moving files in a recipe

Asked by Thomas Karl Pietrowski on 2013-02-02

I work for the Kivy project as a packager and I'd really want to move our packaging files to git, where all source is hosted.
But the problem is that our debian files are not at the root of our branch, but located here: kivy/tools/packaging/linux/debian

Tried to nest-part the same branch but fails as expected: https://code.launchpad.net/~thopiekar/+archive/kivy/+recipebuild/395879/+files/buildlog.txt.gz

So the question is as launchpad does not provide the "run" command:
How can I move files/folders in a recipe, e.g. to move my debian folder to the root?

Question information

Language:
English Edit question
Status:
Solved
For:
Launchpad itself Edit question
Assignee:
No assignee Edit question
Solved by:
William Grant
Solved:
2016-12-27
Last query:
2016-12-27
Last reply:
2016-12-27
Best William Grant (wgrant) said : #1

It's not currently possible to nest files from a branch into itself (bug #771568), nor is it possible to move files or directories manually. You'll probably need to maintain a separate branch with a debian directory that you can use nest or nest-part on.

Khurshid Alam (khurshid-alam) said : #2

@William

Will it work for different branch? For example:

lp:nginx
nest-part readme lp:nginx/stable docs/text/README README

?

Thanks William Grant, that solved my question.