Skip to content

[Bug]: Fix the collection installation on github and user space #144

@Driss-Lalami99

Description

@Driss-Lalami99

Description

when you install a collection from the prompt registry marketplace, there are three options and they all represent bugs:
option 1: installation in .github/ folder with no exclude option.
Bug: when you install with .github/ folder option the collection is installed directly under \AppData\Roaming\Code\User\globalStorage\amadeusitgroup.prompt-registry\bundles\coaching-prompt instead of installing the collection in repo level, this is critical especially for skills who do not unless they are under .github/ folder in the repo level and still needs to be fixed for all the other primitives

option 2: installation in .github/ folder with exclude option.
Bug: when you install with .github/ folder option the collection is installed directly under \AppData\Roaming\Code\User\globalStorage\amadeusitgroup.prompt-registry\bundles\coaching-prompt instead of installing the collection in repo level, this is critical especially for skills who do not unless they are under .github/ folder in the repo level and still needs to be fixed for all the other primitives

option 3: installation in user level
the expected behavior is that the folder goes directly under .copilot/ folder however the files are installed both under .copilot/ folder and under \AppData\Roaming\Code\User\globalStorage\amadeusitgroup.prompt-registry\bundles\coaching-prompt which is problematic plus the logs only show that the installation happen under \AppData\Roaming\Code\User\globalStorage\amadeusitgroup.prompt-registry\bundles\coaching-prompt which needs to be fixed

Steps to Reproduce

1-installing the collections with the three options.

Expected Behavior

the collections should under the proper folder when installed

Actual Behavior

the collections are under AppData\Roaming\Code\User\globalStorage\amadeusitgroup.prompt-registry\bundles\coaching-prompt for .github installation and under both AppData\Roaming\Code\User\globalStorage\amadeusitgroup.prompt-registry\bundles\coaching-prompt and .copilot/folder for user installation

Error Logs

Operating System

Windows

VS Code Version

1.108.0

Extension Version

0.0.27

Registry Source Type

Awesome Copilot

Additional Context

No response

Metadata

Metadata

Labels

bugSomething isn't working

Type

No type

Projects

Status

Ready

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions