Misterio77 / flavours

🎨💧 An easy to use base16 scheme manager that integrates with any workflow.
MIT License
501 stars 29 forks source link

Sources have repos that no longer exist #72

Open Vixeliz opened 1 year ago

Vixeliz commented 1 year ago

when trying to use flavours update all it fails due to 2 repos no longer existing. Those being ones by aramisgithub

Vixeliz commented 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.

Adhalianna commented 1 year ago

I have also noticed the issue. It prevents fetching schemes and templates on a fresh install of flavours

Misterio77 commented 1 year ago

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:

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.

Vixeliz commented 1 year ago

For me at least it seemed when those failed none of the following ones were clones but I may be mistaken

Vixeliz commented 1 year ago

And commenting out list.ymal(lines) iirc just the reset the file when running flavour update all

Misterio77 commented 1 year ago

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.

windowsrefund commented 1 year ago

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.

titaniumtraveler commented 1 year ago

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.

Misterio77 commented 1 year ago

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.

Sleepful commented 1 year ago

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:

  1. Document this in the README
  2. Fix the issue and remove the 404 repos from the source

?

Sleepful commented 1 year ago

Seems negligent towards new users