Look for file from latest directory of stage up to the root dir of the spec

Bug #1918846 reported by Benjamin Allot
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mojo: Continuous Delivery for Juju
Confirmed
Medium
Unassigned

Bug Description

I tried to run a `mojo collect` with a stage `is/controllers/ps5/production` with `collect` being in `is/controllers` but no luck.
The paths mojo tries are:
 * collect
 * production/collect
 * ps5/production/collect
 * is/controllers/ps5/collect
 * controllers/ps5/production/collect
 * is/controllers/ps5/production/collect

I would expect to check, in this order:
 * is/controllers/ps5/production/collect
 * is/controllers/ps5/collect
 * is/collect
 * collect

I'm not quite sure to understand the list provided by `mojo collect`.
This is happening in https://bazaar.launchpad.net/~mojo-maintainers/mojo/trunk/view/head:/mojo/spec.py#L65

Tom Haddon (mthaddon)
Changed in mojo:
importance: Undecided → Medium
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.