← Back to issue list

Build warns when vim is the editor

View original Launchpad issue

Metadata

Project
snapcraft
Number
#1944982
Type
issue
State
open
Author
~knitzsche
Labels
Created
2021-09-24 12:42:30.698699+00:00
Updated
2022-02-08 17:26:32.223203+00:00
Closed

Current evaluation

Vim .swp recovery files in the snap directory trigger snapcraft build warnings. Suggests adding an exception for these files. Issue remains open, unassigned, inactive, and untriaged.

Suggested action: close stale

Reason: The issue is over 4.5 years old with zero maintainer interaction or comments, indicating it is highly stale and likely no longer applicable to current versions of snapcraft. Given the extreme inactivity and lack of follow-up, it should be closed as stale.

Staleness: 95 Complexity: 10 Confidence: 90 Support Request: 10

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
2026-06-19 03:19:57.598569+00:00 qwen3.6-35b-a3b-mtp-q6
Staleness: 95
Complexity: 10
Confidence: 90
Support Request: 10
close stale Vim .swp recovery files in the snap directory trigger snapcraft build warnings. Suggests adding an exception for these files. Issue remains open, unassigned, inactive, and untriaged.
2026-06-19 03:17:34.625930+00:00 pending