github / github/copilot-cli

Plugin Marketplace clone does not pull submodules

Đang mở
#2,077 1 bình luận 0 reaction 0 người được giao Xem trên GitHub
area:plugins
Ngôn ngữ chính
Shell
Star
11.2k
Fork
1.9k
Merge trung bình
14 giờ 16 phút
Pull request đã merge (30 ngày)
6

Mô tả

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

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.