Can snapcraft commands default to base in snapcraft.yaml from build subdirectories?

Bug #1986533 reported by Robert P. J. Day
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Snapcraft
New
Undecided
Unassigned

Bug Description

I can see that if I'm running commands like "snapcraft plugins", if I happen to be at the top of a snap build directory, then the command will use the base specified in the snapcraft.yaml file.

However, if I'm in some (non-snap/) subdirectory of that build directory, then the command reverts to simply using the latest supported base. Would it be difficult to extend snapcraft's behaviour to act more like Git, in that no matter where you are in a build directory, the base from the snapcraft.yaml file associated with that build directory will be used? That would be more consistent behaviour.

description: updated
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.