← Back to issue list

Hook documentation unclear

View original Launchpad issue

Metadata

Project
snapcraft (launchpad)
Number
#1707782
Type
issue
State
closed
Author
~roger.light
Labels
Created
Updated
Closed

Current evaluation

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

Documentation request for snap config hooks was abandoned and closed without resolution. No comments or follow-up updates were recorded.

Suggested action:

No scores available.

Issue body

I am still very much a new snap developer. I'm trying to get things done rather than understanding everything, so I'm searching for information rather than reading the whole documentation (that's the backstory of why I don't know the things below) In trying to find how to deal with user configuration files, I ended up at this link: https://docs.ubuntu.com/core/en/guides/build-device/config-hooks From that page, it sounds like a config hook is what I want. I understand that the file which will be executed needs to be in the meta/hooks/ directory inside the snap, but I've no idea how to make that happen. Could some extra signposting please be added to help out devs in a similar situation.

Evaluation history

Date Model Scores Action Summary
qwen/qwen3.6-35b-a3b Documentation request for snap config hooks was abandoned and closed without resolution. No comments or follow-up updates were recorded.
qwen/qwen3.6-35b-a3b Documentation request for snap config hook signposting was abandoned and closed without resolution. No updates were made.
qwen3.6-35b-a3b-mtp-q6 Abandoned and closed without resolution. The request to clarify snap config hook documentation and creation steps was never addressed or implemented.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#182 Add a `configure` snap hook imagecraft closed Closed without implementation. The enhancement to add a configure snap hook was logged as an internal Jira ticket and abandoned, with no code changes or documentation updates applied.
75%
#1586465 Add support for hooks snapcraft (launchpad) closed Closed without implementation. The feature request to add snap.yaml hooks support was abandoned or superseded by subsequent snapd developments.
75%
#4592 Support project hooks for core24 snaps snapcraft closed Closed without a fix or linked pull request. No resolution or merge details are documented, indicating the feature request was likely abandoned or superseded.
73%