github / github/copilot-cli

/plugin marketplace add should prefer shallow sparse checkout from pluginRoot

Aperta
#2,341 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
area:plugins
Lingua principale
Shell
Stelle
11.2k
Fork
1.9k
Merge medio
14h 16m
PR unite (30g)
6

Descrizione

### Describe the feature or problem you'd like to solve

Support repos containing stuff beyond just plugins

### Proposed solution

Searching through github.com - there is nontrivial amount of repos publishing plugins alongside of the non-plugin code/infra/etc: https://github.com/search?q=path%3A**%2Fmarketplace.json+plugins&type=code

Not to force publisher to separate those into separate repo nor to force user to checkout unrelated stuff to their machines - we can use the `pluginRoot` metadata to indicate and fetch only relevant plugins.

### Example prompts or workflows

[dotnet/skills ](https://github.com/dotnet/skills) repo has plugins in .\plugins folder. Everything else is not intended for plugins consumers, but for the plugin authors and maintainers

Observing the `pluginRoot` would help keeping all the maintainer relevant stuff in same repo, while not pushing it to customers machines

### Additional context

_No response_

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.