Build warns when vim is the editor

Bug #1944982 reported by Kyle Nitzsche
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Snapcraft
New
Undecided
Unassigned

Bug Description

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.

Revision history for this message
Sergio Schvezov (sergiusens) wrote :

This is mostly a warning that files are dropped in there and should not be of concern for iteration

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.