Comment 2 for bug 1582469

Revision history for this message
Gustavo Niemeyer (niemeyer) wrote :

Another one: this command is a very non-obvious way to clean the snap directory:

    snapcraft clean --step=strip

My vote is for removing the idea of "cleaning" altogether, and replacing it by "redoing".

In other words, if I want to remove ./snap, I should be able to just "rm -rf" it. If I want to update its content instead, I should be able to say something like "snapcraft strip --force", for example.

As a side problem related to this, the "strip" phase name is not great. I've reported that by itself on bug #1582515