github / github/copilot-cli

/plugin marketplace add should prefer shallow sparse checkout from pluginRoot

Open
#2,341 0 comments 0 reactions 0 assignees View on GitHub
area:plugins
Dominant language
Shell
Stars
11.2k
Forks
1.9k
Avg merge
14h 16m
Merged PRs (30d)
6

Description

### 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_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.