prime cleanup needs to be robust and warn about inconsistencies
Bug #1813033 reported by
Sergio Schvezov
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Snapcraft |
Fix Released
|
High
|
Claudio Matsuoka |
Bug Description
Fix SNAPCRAFT-C4 (https:/
Changed in snapcraft: | |
assignee: | nobody → Claudio Matsuoka (cmatsuoka) |
status: | New → In Progress |
Changed in snapcraft: | |
importance: | Undecided → High |
milestone: | none → 3.1.1 |
Changed in snapcraft: | |
status: | In Progress → Fix Committed |
Changed in snapcraft: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
A simple way to handle this issue would be to warn the user about inconsistencies (e.g. primed or staged files manually deleted from another part) and ignore the missing file instead of halting and catching fire. Handling of inconsistent directories need a bit of attention however since it might be simply missing, or incorrectly populated -- so catch appropriate exceptions to issue warnings accordingly.