-
Notifications
You must be signed in to change notification settings - Fork 658
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
Improve compat infrastructure #19370
Conversation
The main argument in favor of this was that this compat infrastructure was no longer used. In a Coq Call discussion, it was decided to keep this infrastructure, but make it more useful by:
|
Sorry, I'm still working on it, please let me a few weeks. I updated the title. |
bf28f34
to
3edcad8
Compare
3edcad8
to
71b23a7
Compare
71b23a7
to
086e218
Compare
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.
Looks great to me!
Minor comments below (the most important one being that we need to anticipate the move to Rocq
). The previous infrastructure had the advantage that, by behind ad-hoc, it would have made this simpler. Maybe it can be decided whether to use the Coq
or the Rocq
prefix based on whether it starts by 8.
or a bigger number?
086e218
to
09fdea1
Compare
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.
Do we want tests that the option behaves as it should when the file does not exist? And when it does?
Do we need other reviewers to look at this before merging?
09fdea1
to
06ae3af
Compare
I added a test (for each case) |
I will merge at the end of the week if there are no more comments. |
06ae3af
to
46069be
Compare
-compat X.Y used to produce an error when no CoqXY could be found, this made the option rather unusable because one could use -compat X.Y only on more recent X'.Y'.
46069be
to
50d4edb
Compare
@coqbot merge now |
@Zimmi48: Please take care of the following overlays:
|
Implements what has been decided during Coq Call: https://github.com/coq/coq/wiki/Coq-Call-2024-08-27#handling-of--compat-infrastructure
Overlay (to be merged in sync with the PR)