Open Vixeliz opened 1 year ago
For now I forked the source repo but I just realized the list.yaml is managed by someone else. So i might open an issue there or you can fork their repo with those two removed.
I have also noticed the issue. It prevents fetching schemes and templates on a fresh install of flavours
Hey!
Despite the scary error messages, a few schemes/templates failing to clone should not prevent the others from being cloned (just tested it in a fresh install). I'll see what I can do to improve the error messages a bit.
For anyone browsing this, there's two ways to avoid getting these error messages:
~/.local/share/flavours/base16/sources/schemes/list.yaml
.~/.config/flavours/config.toml
to use your fork instead (this is possible since https://github.com/Misterio77/flavours/pull/62, but it's missing documentation, the same also applies to templates).Base16 is in a pretty bad state right now, as Chris apparently went rogue against the community fork. I'll fork the sources for now and let my forks be flavours' defaults. In the near future, I'll see if I can update flavours to use tinted-theming's new formats instead.
For me at least it seemed when those failed none of the following ones were clones but I may be mistaken
And commenting out list.ymal(lines) iirc just the reset the file when running flavour update all
Whenever you run flavours update lists
or flavours update all
, ~/.local/share/flavours/base16/sources/schemes/list.yaml
will be overwritten. In this case (schemes list manually edited), you should use only flavours update schemes
.
I'll see if I can update flavours to use tinted-theming's new formats instead.
Hello. Just wondering if there are any plans to have flavour support tinted-theming/base16-schemes. For the time being, I'm just working around it with a small script to pull the repo into ~/.local/share/flavours/bind16/schemes, build directory names, and move each yaml file into each. Very hackish and lame but it is working for the time being.
Hello. Just wondering if there are any plans to have flavour support tinted-theming/base16-schemes. For the time being, I'm just working around it with a small script to pull the repo into ~/.local/share/flavours/bind16/schemes, build directory names, and move each yaml file into each. Very hackish and lame but it is working for the time being.
Reading the code of flavours update
it seems, that it is possible to manually override the used scheme-sources.
https://github.com/Misterio77/flavours/blob/884dadcceaad141b33f68155dc7f4b7eb472b1b9/src/operations/update.rs#L46-L62
Though the documentation for that is currently missing from the readme.
I'd love to support tinted theming's format (all schemes on a single repo), but it's a little hard to implement that while keeping backwards compatibility. It's on my radar though!
Though the documentation for that is currently missing from the readme.
Yup! The PR that introduced it did not document it, so it's still missing for now.
Whenever you run flavours update lists or flavours update all, ~/.local/share/flavours/base16/sources/schemes/list.yaml will be overwritten. In this case (schemes list manually edited), you should use only flavours update schemes.
why not:
?
Seems negligent towards new users
when trying to use flavours update all it fails due to 2 repos no longer existing. Those being ones by aramisgithub