← 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

Closed as invalid after a maintainer clarified the snapd-versus-Snapcraft documentation split and linked the hook-building guide; no cross-link change was recorded.

Resolution: closed not a bug

Reason: This was a documentation and support request rather than a Snapcraft defect. In the 2017-08-08 comment, ~kyrofa explained the linked page’s scope and directed users to https://snapcraft.io/docs/build-snaps/hooks; no resolving PR or commit was identified.

Evaluated by: mr-cal-bot

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
stealth/space-bunny-alpha — closed not a bug Closed as invalid after a maintainer clarified the snapd-versus-Snapcraft documentation split and linked the hook-building guide; no cross-link change was recorded.
stealth/space-bunny-alpha — closed stale Closed without adding the proposed cross-link; Snapcraft docs later documented placing hooks in snap/hooks/ or installing them with a part.
stealth/space-bunny-alpha — closed stale Config-hook documentation request was closed without adding the requested Snapcraft hooks cross-link or explaining the closure.
stealth/space-bunny-alpha — closed stale Documentation request for clearer config-hook setup was closed without a maintainer response, documentation change, or resolving PR.
qwen/qwen3.6-35b-a3b — — Documentation request for snap config hooks was closed without resolution. No maintainer response or updates were provided, leaving the issue abandoned.
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

Date Change
created

Related issues

Issue Project State Summary Similarity
#1042 Add documentation for hooks. snapcraft merged Merged as commit 10c58b652, adding hook usage documentation and completing the Snapcraft portion of Launchpad bug #1586465.
73%
#5463 docs: migrate 'hooks' snapcraft merged Merged the snap hooks documentation migration from snapcraft.io to Read the Docs in commit 6f4c66e59.
70%