Skip to content

core: a clean command should clean.#1416

Merged
sergiusens merged 4 commits intocanonical:masterfrom
sergiusens:clean-means-clean
Jul 26, 2017
Merged

core: a clean command should clean.#1416
sergiusens merged 4 commits intocanonical:masterfrom
sergiusens:clean-means-clean

Conversation

@sergiusens
Copy link
Contributor

When running clean it sometimes does not clean to avoid cleaning some things
you might not want to clean but that has proven to be a cumbersome user
facing feature so now it would just clean everything in the path.

Signed-off-by: Sergio Schvezov sergio.schvezov@canonical.com

@kyrofa
Copy link
Contributor

kyrofa commented Jul 19, 2017

This is different from what we discussed at the sprint:

### A better clean story

- Make it interactive with reasons.
- Add a `--yes`.
- Add `snapcraft config` for automation.

Have things changed?

@sergiusens
Copy link
Contributor Author

Basically from what I read on the bug again and the feedback I got at the sprint here.

@sergiusens sergiusens added this to the 2.33 milestone Jul 21, 2017
Sergio Schvezov added 3 commits July 22, 2017 12:26
When running clean it sometimes does not clean to avoid cleaning some things
you might not want to clean but that has proven to be a cumbersome user
facing feature so now it would just clean everything in the path.

LP: #1582469

Signed-off-by: Sergio Schvezov <sergio.schvezov@canonical.com>
Copy link

@come-maiz come-maiz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This works for me, and it's actually the behaviour I wanted to see.
But Kyle is right, after asking our users, not everybody considered this to be the right solution. Changing the default, without offering an option to overwrite it, might make some of them unhappy.

@sergiusens
Copy link
Contributor Author

sergiusens commented Jul 25, 2017

Let's see how it does in the bug reporting camp @ElOpio
The more I think of this, the more I think that this is the default everywhere, even on an android build when cleaning a target and those builds are huge.

@sergiusens sergiusens merged commit 7a18116 into canonical:master Jul 26, 2017
@sergiusens sergiusens deleted the clean-means-clean branch July 26, 2017 22:06
kalikiana pushed a commit to kalikiana/snapcraft that referenced this pull request Aug 3, 2017
When running clean it sometimes does not clean to avoid cleaning some things
you might not want to clean but that has proven to be a cumbersome user
facing feature so now it would just clean everything in the path.

LP: #1582469

Signed-off-by: Sergio Schvezov <sergio.schvezov@canonical.com>
kalikiana pushed a commit to kalikiana/snapcraft that referenced this pull request Sep 21, 2017
When running clean it sometimes does not clean to avoid cleaning some things
you might not want to clean but that has proven to be a cumbersome user
facing feature so now it would just clean everything in the path.

LP: #1582469

Signed-off-by: Sergio Schvezov <sergio.schvezov@canonical.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants