← Back to issue list

Feature Request: Snapcraft should ship gitignore when running `snapcraft init`

View original Launchpad issue

Metadata

Project
snapcraft (launchpad)
Number
#1809475
Type
issue
State
open
Author
~brlin
Labels
—
Created
Updated
Closed
—

Current evaluation

Snapcraft still provides no .gitignore entries for `snapcraft init`; shared Craft Application support can append entries, but this 2018 feature request remains untriaged.

Suggested action: needs triage

Reason: The request remains unmaintained: it has no labels, no maintainer response, and only the reporter's question about appending to an existing file. Craft Application now initializes Git and appends app-specific entries without duplicates, but its default ignore list is empty and Snapcraft supplies no entries, so the requested behavior is not yet implemented.

Evaluated by: mr-cal-bot

Impact: 30 Quick Win: 17 Complexity: 25 Confidence: 88 Actionability: 76

Issue body

Here's a template: https://github.com/github/gitignore/blob/master/community/Linux/Snap.gitignore This saves the effort to copy-and-paste.

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha
Impact: 30
Quick Win: 17
Complexity: 25
Confidence: 88
Actionability: 76
needs triage Snapcraft still provides no .gitignore entries for `snapcraft init`; shared Craft Application support can append entries, but this 2018 feature request remains untriaged.
stealth/space-bunny-alpha
Impact: 28
Quick Win: 12
Complexity: 30
Confidence: 84
Actionability: 61
needs triage Untriaged convenience feature to generate a Snap-specific .gitignore during snapcraft init; behavior when .gitignore already exists remains unspecified.
stealth/space-bunny-alpha
Impact: 28
Quick Win: 17
Complexity: 28
Confidence: 92
Actionability: 82
needs triage Enhance `snapcraft init` with a bundled Snap-oriented .gitignore; the open, unlabelled convenience request still needs maintainer triage.
qwen/qwen3.8-27b
Impact: 15
Quick Win: 13
Staleness: 95
Complexity: 15
Confidence: 65
Support Request: 10
close stale Feature request from 7.7 years ago asking snapcraft init to auto-create a .gitignore file using the community Snap.gitignore template. Zero comments, no labels, no maintainer interaction. The init command still exists but the project has been fully restructured since filing.
qwen/qwen3.6-35b-a3b
Staleness: 98
Complexity: 15
Confidence: 90
Support Request: 5
close stale Feature request to include a standard Snap.gitignore template in snapcraft init output. Unaddressed and inactive for over seven years.
qwen/qwen3.6-35b-a3b
Staleness: 98
Complexity: 15
Confidence: 90
Support Request: 5
close stale Feature request to include a pre-made .gitignore in snapcraft init. No maintainer response or activity in over 7 years.
qwen3.6-35b-a3b-mtp-q6
Staleness: 95
Complexity: 10
Confidence: 85
Support Request: 10
close stale Feature request to include a Snapcraft-specific .gitignore template in snapcraft init. Issue is completely inactive with no maintainer response or comments.

Update history

Date Change
created

Related work

  • Related To: canonical/craft-application#1149 (confidence 95%)

    Commit 9c74d1fd added generic init Git support and append behavior for existing .gitignore files; Snapcraft still needs to define its ignore entries.

Related issues

No related issues found above the similarity threshold.