No error if `after` specifies part that doesn't exist
Bug #1799596 reported by
Kyle Fazzari
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Snapcraft |
Fix Released
|
High
|
Kyle Fazzari |
Bug Description
Snapcraft is perfectly happy running with the following YAML snippet:
parts:
part1:
plugin: nil
after: [no-such-part]
part2:
plugin: nil
Note that `no-such-part` isn't defined. This should be an error. I suspect this is left over from the remote parts logic.
description: | updated |
Changed in snapcraft: | |
milestone: | none → 3.0.1 |
Changed in snapcraft: | |
importance: | Undecided → High |
Changed in snapcraft: | |
assignee: | nobody → Kyle Fazzari (kyrofa) |
Changed in snapcraft: | |
status: | In Progress → Fix Committed |
Changed in snapcraft: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Fix here: https:/ /github. com/snapcore/ snapcraft/ pull/2386