← Back to issue list

snapcraft clean is incomplete

View original Launchpad issue

Metadata

Project
snapcraft (launchpad)
Number
#1615060
Type
issue
State
closed
Author
~kirkland
Labels
clean
Created
Updated
Closed

Current evaluation

Reporter asked that `snapcraft clean` also delete built .snap files. Closed 2016-08-23 with no code change: maintainer @elopio stated leaving the .snap in place is by design, though he was mostly +1 on the request.

Resolution: closed not a bug

Reason: The only maintainer comment (elopio, 2016-08-23) says the behaviour of `snapcraft clean` not removing locally built .snap files is intentional, and no resolving PR or commit exists in the repository history.

Evaluated by: mr-cal-bot

No scores available.

Issue body

I ran "snapcraft clean" and it did clean up the directories it generated, but it did not remove the .snap files in the local directory. I'm working from a bzr/git upstream branch, and I'd expect 'snapcraft clean' to clean up *all* of the files it generates, not just some. Thanks.

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed not a bug Reporter asked that `snapcraft clean` also delete built .snap files. Closed 2016-08-23 with no code change: maintainer @elopio stated leaving the .snap in place is by design, though he was mostly +1 on the request.
stealth/space-bunny-alpha — closed not a bug Closed as intended behavior: snapcraft clean left locally built .snap files in place; maintainer @elopio called this by design on 2016-08-23.
stealth/space-bunny-alpha — closed stale Closed unresolved and abandoned: no comments, patches, or fixes addressed snapcraft clean failing to remove local .snap files.
qwen/qwen3.6-35b-a3b — — Closed without resolution. The issue was abandoned as no comments or patches were submitted to address snapcraft clean's failure to remove .snap files.
qwen/qwen3.6-35b-a3b — — Reporting that snapcraft clean skips local .snap files was closed without comments or resolution, indicating the report was abandoned or left unresolved.
qwen/qwen3.6-35b-a3b — — Abandoned without resolution. The report noted snapcraft clean omits generated .snap files, but zero comments or patches were submitted to address the gap.
qwen3.6-35b-a3b-mtp-q6 — — snapcraft clean failing to remove local .snap files was closed without a fix. Zero comments and prolonged inactivity indicate the report was abandoned or marked stale.

Update history

Date Change
created

Related work

  • Related To: snapcraft (launchpad)#1690139 (confidence 55%)

    Later bug about `snapcraft clean <part>` also closed as working as expected with no code change.

Related issues

Issue Project State Summary Similarity
#1690139 "snapcraft clean <part>" fails if the files I asked it to clean don't exist snapcraft (launchpad) closed Closed after a maintainer reported that `snapcraft clean` works as expected; no resolving PR or commit was cited.
74%
#2044389 snapcraft clean failed but exit 0 snapcraft (launchpad) open Snapcraft 7.5.3 reports a missing build environment during clean but exits 0; a maintainer confirmed the bug and agreed it should fail, with no fix recorded.
72%
#1800119 snapcraft cleanbuild snapcraft (launchpad) closed The obsolete cleanbuild command was retired because builds became clean by default; a maintainer closed the report in August 2023.
71%
#1746381 snapcraft cleanbuild shouldn't always delete container at end snapcraft (launchpad) closed No fix was made: maintainers confirmed cleanbuild containers were disposable, recommended SNAPCRAFT_CONTAINER_BUILDS, and left the request for default failure shells unimplemented.
70%