-
Notifications
You must be signed in to change notification settings - Fork 7.8k
Closed
Labels
enhancementa request to improve CLIa request to improve CLIgh-extensionrelating to the gh extension commandrelating to the gh extension commandhelp wantedContributions welcomeContributions welcome
Description
Describe the bug
I tried installing extension in development from a local folder and while extension appears installed according to the list command, it is not executable.
Steps to reproduce the behavior
- Checkout https://github.com/IvanRibakov/gh-workflow-stats and navigate to the repo root
- Install extension from local folder:
gh extensions install . - Check that extension appears installed:
gh ext list - Invoke installed extension:
gh workflow-stats -h
Expected vs actual behavior
Expecting extension in development installed from a local folder to be usable as if it was installed from Github repo tagged release, instead getting a broken installation that is unusable.
Logs
$ pwd
<some-path>/gh-workflow-stats
$ git status
On branch feature/filter_multiple_statuses
Your branch is up to date with 'origin/feature/filter_multiple_statuses'.
nothing to commit, working tree clean
$ gh ext list
no installed extensions found
$ GH_DEBUG=true gh extensions install .
$ gh ext list
NAME REPO VERSION
gh workflow-stats
$ gh workflow-stats -h
failed to run extension: fork/exec /home/ivan/.local/share/gh/extensions/gh-workflow-stats/gh-workflow-stats: no such file or directory
$ ls -la /home/ivan/.local/share/gh/extensions/gh-workflow-stats
lrwxrwxrwx 1 ivan ivan 47 Oct 15 13:26 /home/ivan/.local/share/gh/extensions/gh-workflow-stats -> <some-path>/gh-workflow-stats
Metadata
Metadata
Assignees
Labels
enhancementa request to improve CLIa request to improve CLIgh-extensionrelating to the gh extension commandrelating to the gh extension commandhelp wantedContributions welcomeContributions welcome