snapcraft clean -s strip doesn't show the deprecation message
Bug #1590256 reported by
Leo Arias
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Snapcraft |
Fix Released
|
Critical
|
Sergio Schvezov | ||
snapcraft (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Xenial |
Fix Released
|
Undecided
|
Unassigned | ||
Yakkety |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
The strip step was renamed to prime. When the old step is run a deprecation message is displayed; but when it is cleaned, an error is shown.
$ snapcraft clean -s strip
'strip' is not a valid step for part ...
The deprecation message should be displayed also when the strip is cleaned.
[Impact]
* Users trying to clean the strip step will get an error and no indication about the rename.
[Test Case]
* Run snapcraft clean -s strip
* Make sure that you get the step run and a deprecation message.
[Regression Potential]
* It could affect the clean prime step. There are tests to avoid that, but a manual check would be good.
Changed in snapcraft: | |
status: | New → Triaged |
importance: | Undecided → Medium |
milestone: | none → 2.11 |
Changed in snapcraft: | |
importance: | Medium → High |
description: | updated |
Changed in snapcraft: | |
status: | In Progress → Fix Committed |
Changed in snapcraft (Ubuntu Xenial): | |
milestone: | none → xenial-updates |
Changed in snapcraft: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
https:/ /github. com/ubuntu- core/snapcraft/ pull/556