-
Notifications
You must be signed in to change notification settings - Fork 372
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
`opam pin scan' #4285
`opam pin scan' #4285
Conversation
Great feature and very useful for CI (since it shows the versions inferred as well). Is this |
It is a new syntax yes, introduced in this PR to be able to pipe |
Yeah, it is hard to find such a character; I'm going to use this syntax in opam-tools as well, since right now I use commas to separate the package name and the URL :) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some nitpicking, but otherwise LGTM!
Updated! |
We are using |
|
yes but it should not appear in package name nor version, right? So you could split on the first left occurence. |
In this example it is not seen, but there is also the subpath as the fourth argument (cf. 2b3d347) |
opam pin scan url
lists available package to pin in the given directoryUsed with
--normalise
, displays a parseable outputThis output is understandable by
opam pin [add]
, e.g. to select only a subset of packages to pin