-
Notifications
You must be signed in to change notification settings - Fork 166
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
[coq.dev] Use url files instead of rewriting the opam files #2211
Conversation
Now that makes the opam files canonical w.r.t. the ones in the opam repos. See discussion in coq#1923
Will merge tomorrow if no one opposes. |
@ejgallego can you explain what is going on here? I see a bunch of lines like this:
How do we know that the right git repo URL is actually being used? |
Can you point me to the doc of this feature? I seem to recall this was how opam1 was working, but not opam2 |
I don't think this is possible. If you find a way, I'm all ears. |
Maybe the warning is just related to the |
Indeed this seems to be a feature that dates back to opam1: but I don't see why it would have been removed from opam 2.1.* → the maintainer that will merge this PR should just test this locally I think (e.g. putting a dummy github url, or the proper one) and that'd be good to go I guess. |
good news: regarding the opam 2 compatibility, I've just found this: https://opam.ocaml.org/doc/Upgrade_guide.html#New-features_1
Thus it appears |
There are 23.5k packages in the official Opam repository. Not even a single one of them is using a |
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.
clarify the status of url files with opam upstream
This is what Opam's reference manual has to say: "Older versions of opam used Looking at the source code, the |
Thanks for digging. Hence this PR has no future. |
Ok, fair enough, you'll have to use Kate pointed out that maybe the whole |
I mean canonical w.r.t. ones in the Coq repos, sorry for the typo. Tho, if we manage to use |
Sounds like a better plan than the proposed CI check. |
Now that makes the opam files canonical w.r.t. the ones in the opam repos.
See discussion in #1923