Moving files in a recipe

Asked by Thomas Karl Pietrowski

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:
Last query:
Last reply:
Revision history for this message
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.

Revision history for this message
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

?

Revision history for this message
Thomas Karl Pietrowski (thopiekar) said :
#3

Thanks William Grant, that solved my question.