Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Nushell plugin list --urls #1507

Merged
merged 1 commit into from
Mar 23, 2023
Merged

Conversation

acidghost
Copy link
Contributor

Summary

Fixes: #1503.

Other Information

Also adds tests for the --refsflag and its combination with --urls.

Note that installed plugins can have a "remote" URL of two forms:

  • a remote git URL (i.e. starting with http[s]|git and terminating with .git)
  • an absolute path to a local folder

N.B.: At the moment this PR is only testing for plugins added from a local folder (second case above). To test plugins that have been cloned from an actually remote repository (first case above) there have to be testing fixtures that clone them first.

@acidghost acidghost requested a review from a team as a code owner March 21, 2023 11:41
Copy link
Contributor

@jthegedus jthegedus left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@jthegedus
Copy link
Contributor

I am not sure what we can do about external test fixtures for plugins from actual remotes 🤷

@jthegedus jthegedus merged commit 9363fb2 into asdf-vm:master Mar 23, 2023
@acidghost
Copy link
Contributor Author

@jthegedus Well, one solution would be to create some test repositories and actually clone them. Shall I open a new issue?

@acidghost acidghost deleted the fix-1503 branch March 23, 2023 06:34
@jthegedus
Copy link
Contributor

An issue to discuss a solution would be best, yes. I would like to explore other alternatives if possible though, as maintaining a whole set of repos for testing is a bit annoying.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Nushell asdf plugin list --urls regex is broken
2 participants