You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Use source flag or node-style query key (path:) to lock 1 specific origin #83
I'd prefer to install a package from only file exchange sometimes, or github sometimes. Especially when names could clash!
Preferably, we should have the choice to force a specific source and then error out on 404 from that origin.
As it is currently, it searches file exchange first, and then github. You can pass --github-first or -g to search github first. Does that help with what you're looking for, or slightly different?
Gotcha, this sounds like a pretty simple fix. Mostly just adding a new name-value argument, -s for source, and then updating the function findUrl. If you want to take a stab at it and make a pull-request, please do!
changed the title [-]Use node-style `path:` feature to force specific source[/-][+]Use source flag or node-style query key (`path:`) to lock 1 specific origin[/+]on Apr 11, 2023
I'd prefer to install a package from only file exchange sometimes, or github sometimes. Especially when names could clash!
Preferably, we should have the choice to force a specific source and then error out on 404 from that origin.