VChet / StyleBase

UserCSS theme sharing site

Home Page:https://stylebase.cc

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Adding multiple styles from a single repository

RiedleroD opened this issue · comments

I'd really like to add every file as a seperate style, because I currently have all of my styles in https://github.com/RiedleroD/userstyles-riedler/, with the master branch serving as a kind of stable release hub, and the seperate branches as development versions.

So I'd really like to be able to just add a file or a branch and call it a day.

Thanks for your feedback!
At the moment, all logic is based on the principle of one style - one repository. I'll see what can be done with this, but it will take a while. Most likely I'll make it possible to choose which file to add as a new style in the 'Add style' popup

Thank you, man. We've waited so long for a proper userstyle host and you're doing just that!

Available now on https://staging.stylebase.cc. It still needs more testing and polishing, but file selection works, and I haven't encountered critical bugs while testing.

idk why but I've gotten a 11000:Mongoerror.

Steps to reproduce:

  • parse some repo
  • add a style
  • parse the same repo again
  • add a different style from that repo

What I think the error is:
the filenames don't get escaped properly which makes mongodb lose its shit when it sees the whitespace.
This may not be the case because I can't add any other styles from this repo. I can only add one style from this repo at a time which leads me to believe the repo link is still used somewhere in the identification and/or storaging process.

oops, I forgot to update the index in this database. It was disallowed to add non-unique repo URLs. Should be okay now

aye, thanks. It works perfectly now.

Implemented in 3.0.0