alire icon indicating copy to clipboard operation
alire copied to clipboard

Unexpected file in index: .DS_Store.

Open Blady-Com opened this issue 2 years ago • 4 comments

It seems that macOS .DS_Store file puzzles alire: error: Unexpected file in index: /Users/me/.config/alire/indexes/community/repo/index/gn/.DS_Store % alr --version alr 1.2.0

Blady-Com avatar Jun 12 '22 07:06 Blady-Com

Right, it will protest because of extraneous files. How/when is that file generated? Other macOS users haven't reported any problems.

mosteo avatar Jun 12 '22 08:06 mosteo

DS_Store file is created to store custom attributes using the Finder (GUI macOS file explorer).

Blady-Com avatar Jun 12 '22 11:06 Blady-Com

I guess most of us use the command line! (I have to remove emacs backup files, foo.toml~)

simonjwright avatar Jun 18 '22 16:06 simonjwright

OK, this can be downgraded to a warning or note for regular users, keeping the error only for the --strict checks.

mosteo avatar Jun 20 '22 12:06 mosteo