Can't use 'run' in recipe
Bug #608450 reported by
Michael Lustfield
This bug affects 5 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
Won't Fix
|
Undecided
|
Unassigned |
Bug Description
The use of 'run' isn't allowed in recipes. (The bzr-builder instruction "run" is not permitted here.) This is something that I definitely need for my recipe. I was excited when I got the recipe working locally then disappointed when it wasn't allowed.
Basically.. merge and nest won't let me clobber files the way I need to - so I just need to be able to do 'run mv dir1/* dir2/' and my recipe will be entirely awesome.
I'm guessing there's a security implication to 'run' so perhaps a check to make sure the run doesn't touch anything outside the assembly root?
tags: | added: recipe |
Changed in launchpad: | |
status: | Invalid → Won't Fix |
To post a comment you must log in.
We specifically blacklist run for security. This is working as designed.
A workaround that you might want to take is having a branch that you merge do the moving of the files around so that when it's merged, you have a tree that you can package.