github / github/copilot-cli

/plugin marketplace add should prefer shallow sparse checkout from pluginRoot

未關閉
#2,341 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
area:plugins
主要語言
Shell
星號
11.2k
分支
1.9k
平均合併
14 小時 16 分鐘
30 天內合併 PR
6

描述

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

貢獻指南

開啟貢獻指南

評估

這個 Issue 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。