Suggest a full clean if step clean is missing state. #421

Merged
merged 2 commits into from Apr 4, 2016

Conversation

Projects
None yet
3 participants
Member

kyrofa commented Apr 4, 2016

Currently if attempting to run a per-step clean on a tree made dirty by a version of Snapcraft that didn't support per-step cleaning, Snapcraft suggests trying to run that step again. This isn't possible since the step has already been run, so it actually requires a full clean. This PR resolves LP: #1561328 by updating the suggestions to reflect this fact.

Suggest a full clean if step clean is missing state.
Currently if attempting to run a per-step clean on a tree made
dirty by a version of Snapcraft that didn't support per-step
cleaning, Snapcraft suggests trying to run that step again. This
isn't possible since the step has already been run, so it actually
requires a full clean. This commit updates the suggestions to
reflect this fact.

LP: #1561328

Signed-off-by: Kyle Fazzari <kyle@canonical.com>
Member

elopio commented Apr 4, 2016

Thank you! 👍

@sergiusens sergiusens merged commit 6ade343 into snapcore:master Apr 4, 2016

3 of 4 checks passed

Examples tests Started
Details
autopkgtest Success No test results found.
Details
continuous-integration/travis-ci/pr The Travis CI build passed
Details
coverage/coveralls Coverage remained the same at 95.613%
Details

@kyrofa kyrofa deleted the kyrofa:bugfix/1561328/step_cleaning_missing_state_message branch Apr 13, 2016

smoser pushed a commit to smoser/snapcraft that referenced this pull request Sep 14, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment