gh-cli-for-education / gh-edu

A pluggable extension of gh-cli to assist educators and students using GitHub Education
https://github.com/gh-cli-for-education/TFG-2122-Cristo-Garcia-Gonzalez
3 stars 0 forks source link

gh edu does not find plugin when in development #7

Open crguezl opened 2 years ago

crguezl commented 2 years ago

When gh edu is cloned from gh-cli-for-education/gh-edu and later we install it locally with

gh extension install .

so that a symbolic link referencing the development folder (mine is /Users/casianorodriguezleon/campus-virtual/2122/tfg2122/tfg-cristo-garcia-gonzalez-alu0101204512/gh-edu) is created in ~/.local/share/gh/extensions.

Next, we install the view plugin:

gh edu install view

I have seen it is cloned in the folder ~/.local/share/gh/extensions/gh-edu-view and not in /Users/casianorodriguezleon/campus-virtual/2122/tfg2122/tfg-cristo-garcia-gonzalez-alu0101204512/gh-edu-view

In such conditions, when I try to run the plugin, gh edu is not able to locate it and fails. However, when installed in production mode gh extension install gh-cli-for-education/gh-eduworks fine.