Description
The copilot plugin install <repo-url>:<plugin-path> syntax does not work. The CLI passes the entire string (including the :path suffix) to git clone as a single URL, which fails with HTTP 400.
Steps to Reproduce
copilot plugin install https://msazure@dev.azure.com/msazure/One/_git/Azure-Compute-Pilotfish-Zenith:plugins/zenith-postmortem-toolkit
Expected Behavior
The CLI should split the argument at the : separator into:
- Repo URL:
https://msazure@dev.azure.com/msazure/One/_git/Azure-Compute-Pilotfish-Zenith
- Plugin path:
plugins/zenith-postmortem-toolkit
Then clone the repo and install from the specified subfolder.
Actual Behavior
The entire string is passed as the git clone URL:
Failed to install plugin: Failed to fetch git plugin from the provided URL.
Details: Error: Command failed: git clone --depth 1 --progress
https://***:***@dev.azure.com/msazure/One/_git/Azure-Compute-Pilotfish-Zenith:plugins/zenith-postmortem-toolkit
C:\Users\qiliu\AppData\Local\copilot\marketplaces\...
fatal: unable to access '...': The requested URL returned error: 400
Workarounds
- Use marketplace-based install (
plugin marketplace add then plugin install name@marketplace)
- Use local path install (
plugin install ./plugins/zenith-postmortem-toolkit)
Environment
- Copilot CLI version: 1.0.15
- OS: Windows 11
Description
The
copilot plugin install <repo-url>:<plugin-path>syntax does not work. The CLI passes the entire string (including the:pathsuffix) togit cloneas a single URL, which fails with HTTP 400.Steps to Reproduce
Expected Behavior
The CLI should split the argument at the
:separator into:https://msazure@dev.azure.com/msazure/One/_git/Azure-Compute-Pilotfish-Zenithplugins/zenith-postmortem-toolkitThen clone the repo and install from the specified subfolder.
Actual Behavior
The entire string is passed as the git clone URL:
Workarounds
plugin marketplace addthenplugin install name@marketplace)plugin install ./plugins/zenith-postmortem-toolkit)Environment