github / github/copilot-cli

Plugin Marketplace clone does not pull submodules

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

描述

### Describe the bug

When adding a custom Marketplace, the clone of the target marketplace repo does not clone subrepositories. This means that the marketplace cannot utilize submodules as "pointers" to plugins in other repos, which prevents a "curated" marketplace capability.

### Affected version

1.0.6-1

### Steps to reproduce the behavior

1. Create a marketplace with a submodule that points to a plugin. For example, add the `awesome-copilot` repo as a submodule to the marketplace,
2. In the marketplace manifest, point to a skill within a plugin of the subrepo - for example `./curated/awesome-copilot/plugins/csharp-dotnet-development/skills/dotnet-best-practices`
3. Add the marketplace into GHCP - this will work w/o issue, and show the plugin you created to point at the awesome-copilot skill without issue
4. Add the plugin you created to GHCP - this will also work without issue **but the skill will not activate in GHCP**

### Expected behavior

Everything defined in any submodules (recursively) in a marketplace is available to GHCP

### Additional context

_No response_

貢獻指南

開啟貢獻指南

評估

這個 Issue 還沒有評估資料。

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

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