spicetify / marketplace

Download extensions and themes directly from Spicetify
MIT License
1.03k stars 174 forks source link

feat: support user snippets in repositories #784

Open zhngharry opened 2 months ago

zhngharry commented 2 months ago

Based on #435

Implements the functionality that user hosted snippets in own repositories are fetched and shown in marketplace.

Important notes/alternatives considered:

image

Sidenote: PR #781 fixes the issue that users aren't able to host different types of creations within the same repo

rxri commented 2 months ago

We have already discussed it on discord and I already said no to it. This is not something that should be implemented at EOL of v2 basically and it doesn't bring anything good. No one will use it regardless. I'm against of merging this pull request

theRealPadster commented 2 months ago

What if we make it so it shows the built-in snippets from the repo but also adds support for user snippets? Otherwise we'd lose the ones we have unless we put them somewhere else.

zhngharry commented 2 months ago

What if we make it so it shows the built-in snippets from the repo but also adds support for user snippets? Otherwise we'd lose the ones we have unless we put them somewhere else.

Isnt this PR already implementing this, or are you talking abt v3? I don't know if we/the team wants user snippets in v3 because it would kinda disrupt the whole monomanifest flow, no?

To bypass the loss of the current snippets couldn't you just add them to the official modules repo then? Or would that also mean having to filter good/bad snippets for the official repo?

theRealPadster commented 2 months ago

Ohh, my bad, I didn't read it through fully, I was thinking it just changed snippets to be user-based, which I think is what I had originally done.