/plugin marketplace add should prefer shallow sparse checkout from pluginRoot
- 主要语言
- 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_
贡献指南
调研方向
Start at the `/plugin marketplace add` flow and trace how the `pluginRoot` metadata is read and how repositories are currently checked out. Investigate Git's shallow sparse-checkout behavior for fetching only the plugin subtree. Done means repositories with non-plugin content install the relevant plugins without checking out unrelated files.
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- git, shell
- 领域
- cli
- Issue 类型
- 功能
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 活跃度
- 冷清
- 描述清晰度
- 基本清楚
- 新手友好度
- 48/100