← Back to issue list

Build warns when vim is the editor

View original Launchpad issue

Metadata

Project
snapcraft (launchpad)
Number
#1944982
Type
issue
State
open
Author
~knitzsche
Labels
Created
Updated
Closed

Current evaluation

Feature request: snapcraft build warns about vim swap files (.snapcraft.yaml.swp) created in the snap/ directory when editing snapcraft.yaml, asking for an exception for editor temp files. No maintainer response, no labels, 0 comments, inactive ~4.5 years.

Suggested action: needs triage

Reason: The issue has no labels, no assignee, and zero maintainer comments in ~4.5 years, so it has never been triaged. It is a real (if minor) usability bug — vim's swap file in snap/ triggers a false 'non-snapcraft-related paths' warning in destructive mode — but the fix (whitelisting editor temp files like *.swp) is small and self-contained. I could not confirm via code search whether the warning still exists in current snapcraft (tooling returned no pinned SHA), so I am not confident enough to recommend closing as stale or fixed.

Impact: 20 Quick Win: 15.0 Staleness: 88 Complexity: 25 Confidence: 55 Support Request: 30

Issue body

vim editor creates swp files for recovery in the same directory as the source file being edited. When editing snapcraft.yaml, a file like this is created: snap/.snapcraft.yaml.swp This causes the following errors (at least when building in destructive mode): The 'snap' directory is meant specifically for snapcraft, but it contains the following non-snapcraft-related paths, which is unsupported and will cause unexpected behavior: - .snapcraft.yaml.swp If you must store these files within the 'snap' directory, move them to 'snap/local', which is ignored by snapcraft. Perhaps snapcraft could make and expections for vim swp files.

Evaluation history

Date Model Scores Action Summary
qwen/qwen3.8-27b
Impact: 20
Quick Win: 15.0
Staleness: 88
Complexity: 25
Confidence: 55
Support Request: 30
needs triage Feature request: snapcraft build warns about vim swap files (.snapcraft.yaml.swp) created in the snap/ directory when editing snapcraft.yaml, asking for an exception for editor temp files. No maintainer response, no labels, 0 comments, inactive ~4.5 years.
qwen/qwen3.6-35b-a3b
Staleness: 95
Complexity: 15
Confidence: 85
Support Request: 10
needs triage Snapcraft warns about vim .swp recovery files in the snap/ directory during builds. The issue remains unlabelled, has zero maintainer comments, and has been inactive for over four years.
qwen/qwen3.6-35b-a3b
Staleness: 98
Complexity: 15
Confidence: 85
Support Request: 10
close stale Reports a snapcraft build warning triggered by vim swap files in the snap directory. Suggests ignoring .swp files. The issue has zero maintainer interaction, no comments, and is nearly five years old.
qwen3.6-35b-a3b-mtp-q6
Staleness: 95
Complexity: 10
Confidence: 80
Support Request: 10
close stale Snapcraft warns about vim swap files in the snap directory during builds. The report is over four years old, has zero maintainer interaction, and remains unlabelled.
qwen3.6-35b-a3b-mtp-q6
Staleness: 95
Complexity: 15
Confidence: 85
Support Request: 10
needs triage Build warns about vim swap files in the snap directory. Unlabelled, zero maintainer comments, inactive for over four years.

Update history

No update history recorded yet.

Related issues

No related issues found above the similarity threshold.