← Back to issue list

Plugins that build stuff in the pull phase cannot be cleaned

View original Launchpad issue

Metadata

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

Current evaluation

Closed as working as designed because Snapcraft's pull phase now only fetches sources and no longer creates install-directory assets that clean would destroy.

Resolution: closed not a bug

Reason: Maintainer ~sergiusens closed the report after commenting on 2024-07-23 that "pull now only pulls sources," removing the premise that cleaning the build step would delete pull-generated assets.

Evaluated by: mr-cal-bot

No scores available.

Issue body

By design `clean -s build` was supposed to clear out all the built assets put in the part's `install` directory. Given that some plugins put """build""" during the pull phase and put stuff in the part's `install` directory, when cleaning the build step for it, the `install` directory for it would be wiped and with that, make building impossible as we would have missing assets brought in from the pull phase.

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed not a bug Closed as working as designed because Snapcraft's pull phase now only fetches sources and no longer creates install-directory assets that clean would destroy.
stealth/space-bunny-alpha — closed not a bug Closed as working as designed: pull now only fetches sources, while cleaning the build step may clear the install directory.
stealth/space-bunny-alpha — closed stale Closed without a fix; cleaning a build still removes assets installed during the pull phase, preventing later builds.
qwen/qwen3.6-35b-a3b — — Closed without resolution. The clean command incorrectly wipes pull-phase assets placed in the install directory, breaking subsequent builds. No fix was implemented.
qwen/qwen3.6-35b-a3b — — Closed without resolution. The clean -s build command incorrectly wipes the install directory for pull-phase plugins, breaking subsequent builds. The issue remains unfixed and appears abandoned.
qwen/qwen3.6-35b-a3b — — Abandoned. The issue highlights a design flaw where clean -s build incorrectly wipes pull-phase assets placed in the install directory, breaking rebuilds. Closed with no comments or resolution.

Update history

Date Change
created

Related issues

No related issues found above the similarity threshold.