← Back to issue list

rebuilding a part that generates hooks does not update the hook in prime/snap/...

View original Launchpad issue

Metadata

Project
snapcraft (launchpad)
Number
#1912540
Type
issue
State
closed
Author
~anonymouse67
Labels
Created
Updated
Closed

Current evaluation

⚠️ This summary may be outdated — the issue content or evaluation prompts have changed since this evaluation was made.

Abandoned due to inactivity, the dump plugin bug was closed without resolution. Changing source files in dump parts does not update prime outputs, requiring a full clean rebuild.

Suggested action:

No scores available.

Issue body

with a source tree layout like this: ``` tree . . ├── cmd │ └── server │ └── main.go ├── go.mod ├── go.sum ├── snap │ └── snapcraft.yaml ├── snap-hooks │ └── hooks │ └── install └── test-go-sockets_0.1_amd64.snap 5 directories, 6 files ``` and a part definition like: ``` parts: hooks: source: snap-hooks plugin: dump ``` if I change the snap-hooks/hooks/install file, it doesn't change the file that is placed inside prime/snap/hooks/install, and I have to clean the entire project with `snapcraft clean` and rebuild in order for the hooks changes to be picked up.

Evaluation history

Date Model Scores Action Summary
qwen/qwen3.6-35b-a3b Abandoned due to inactivity, the dump plugin bug was closed without resolution. Changing source files in dump parts does not update prime outputs, requiring a full clean rebuild.
qwen/qwen3.6-35b-a3b Closed due to inactivity with zero comments, indicating the issue was abandoned. The bug where dump plugin hook files fail to update on rebuild without a full clean remains unresolved.
qwen/qwen3.6-35b-a3b Abandoned. The dump plugin failed to track file changes in the prime directory, requiring a full clean rebuild to update snap hooks.
qwen/qwen3.6-35b-a3b The dump plugin fails to update generated hooks in the prime directory during incremental rebuilds, requiring a full clean. Closed without resolution or fix.
qwen/qwen3.6-35b-a3b Closed without resolution. The dump plugin fails to update hook files in the prime directory on incremental rebuilds, requiring a full clean. The issue remains unfixed and appears abandoned due to inactivity.
qwen/qwen3.6-35b-a3b Closed as abandoned due to inactivity. No fix was implemented. The report described a bug where rebuilding a dump plugin part fails to update hook files in the prime directory, requiring a full clean to apply changes.
qwen3.6-35b-a3b-mtp-q6 Closed without resolution. Rebuilding a dump plugin part fails to update hooks in the prime directory, requiring a full clean rebuild to apply changes.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#1916333 removing a hook from snap/hooks does not remove it from prime/snap/hooks snapcraft (launchpad) open Snapcraft bug: deleting a hook from snap/hooks/ does not remove the stale copy from prime/snap/hooks/, so the hook still ships in the package after a rebuild. Open ~5.5 years, zero comments, no labels, no maintainer response.
72%