flavours: Cannot run `update all`
cryptic error, .config/flavours does not exist after running the flavours update all, I do see stuff inside ~/Library/Application\ Support/flavours/base16
/usr/share/doc/git/contrib/credential/libsecret/git-credential-libsecret get: /usr/share/doc/git/contrib/credential/libsecret/git-credential-libsecret: No such file or directory
fatal: could not read Username for 'https://github.com': terminal prompts disabled
fatal: cannot change to '/Users/user/Library/Application Support/flavours/base16/schemes/solarized': No such file or directory
/usr/share/doc/git/contrib/credential/libsecret/git-credential-libsecret get: /usr/share/doc/git/contrib/credential/libsecret/git-credential-libsecret: No such file or directory
fatal: could not read Username for 'https://github.com': terminal prompts disabled
fatal: cannot change to '/Users/user/Library/Application Support/flavours/base16/schemes/ia': No such file or directory
Error: Git failed to run on repository 'https://github.com/aramisgithub/base16-ia-scheme'. Check if your repo list is valid.
About this issue
- Original URL
- State: open
- Created a year ago
- Reactions: 3
- Comments: 19 (5 by maintainers)
It seems that a few of the scheme sources are no longer available, breaking the update process. Specifically
ia: https://github.com/aramisgithub/base16-ia-schemeandsolarized: https://github.com/aramisgithub/base16-solarized-scheme.(When trying to access the github I only get a 404.)
Fixing this should be as easy as commenting both out in
$XDG_DATA_HOME/flavours/base16/sources/schemes/list.yml. (Where$XDG_DATA_HOMEdefaults to$HOME/.local/share, so$HOME/.local/share/flavours/base16/sources/schemes/list.yml.)Though if you use
flavours update list, (orflavours update all, which internally calls this,) you will have to modify it again.I guess this works for now :S
For a simple solution that doesn’t degrade as themes go 404, I would just vendor the current themes, i.e. download all the source files and use that as truth, maybe in a separate repo. At least that gives a good starting gallery to new users and the gallery doesn’t break.