snapcraft build <part> ignores the part
Bug #1897337 reported by
Kyle Fazzari
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Snapcraft |
Triaged
|
Medium
|
Sergio Schvezov |
Bug Description
Using snapcraft v4.3:
$ snapcraft build part1
<snip>
Pulling part1
Pulling part2
Building part1
Building part2
I expect that to ONLY build "part1". Particularly given the help text:
$ snapcraft build --help
Usage: snapcraft build [OPTIONS] <part>...
Build artifacts defined for a part.
Examples:
snapcraft build
snapcraft build my-part1 my-part2
<snip>
This seems to have never worked, while the CLI accepts these commands, the build provider's execute step only has step in its signature