Comment 7 for bug 1582469

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

Thanks Kyle.

(1) Yes, can we please have refoo and unfoo commands ASAP? What you describe is a very nice improvement that will be welcome when it lands, but it won't always work and it won't fix the issue with the cleaning command being unfriendly to use. Having a way to force snapcraft to undo+redo the given step will be appreciated nevertheless.

(2) I was actually expecting it to clean up the "snap" directory, which is probably related to the confusion about strip being a bad phase name. I suggest having "unsnap" as an alias to "unstrip" (which may become "unapply" or similar soon), just because it's so obvious to see that snap directory as the snap phase, and because there's no other better meaning for it. Removing the snap at the snapcraft.yaml directory with the expected name would be fine too, I think.