← Back to issue list

Warn when unexpected things are in the snap dir

View original Launchpad issue

Metadata

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

Current evaluation

Closed without implementation. The request to warn on unexpected files in the snap/ directory was abandoned due to prolonged inactivity and no associated pull request.

Suggested action:

No scores available.

Issue body

Snapcraft expects that the snap/ directory only contains its own things: plugins, hooks, metadata, etc. This is also the directory it writes state files. Putting other things in there has never been supported, but the snapcraft CLI has never warned about using it this in this way. It needs to start.

Evaluation history

Date Model Scores Action Summary
qwen/qwen3.6-35b-a3b Closed without implementation. The request to warn on unexpected files in the snap/ directory was abandoned due to prolonged inactivity and no associated pull request.
qwen/qwen3.6-35b-a3b Closed without implementation. The request to add CLI warnings for unsupported files in the snap directory was abandoned.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#1660890 An empty snap directory ends up in the snap snapcraft (launchpad) closed Reported unintended inclusion of the snap directory in the build output. Closed without comments or resolution, indicating the report was abandoned.
70%
#1772584 Having a "snap" directory with actual content causes build failures snapcraft (launchpad) closed Closed without resolution or linked pull request. The proposed fix to allow alternative snap directories and update ignore rules was never implemented, indicating the issue was abandoned due to inactivity.
70%