-
Notifications
You must be signed in to change notification settings - Fork 725
Don't warn on mhs-options (fixes #11341)
#11344
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
base: master
Are you sure you want to change the base?
Conversation
|
You should have used the template and filled in the appropriate checklist. |
|
Yes. I'd be great if you could restore the template by copying it from some other pr. This probably needs a changelog at least. |
|
@ulysses4ever I already added a changelog entry. I think the other things from the list did not apply. I'll keep the template in the future and tick the things that apply. |
|
Do I need to take any action regarding the failing Windows binary release build ( |
|
@sol no. Sorry for the confusion. |
|
You know, I think we might need a Hackage maintainer to rule on whether this actually needs to be a file format change, since it impacts what Hackage accepts. @phadej? |
Merge Queue Status🚫 The pull request has left the queue (rule: This pull request spent 1 hour 23 minutes 43 seconds in the queue, including 1 hour 13 minutes 8 seconds running CI. Required conditions to merge
ReasonThe merge conditions cannot be satisfied due to failing checks Failing checks: HintYou may have to fix your CI before adding the pull request to the queue again. |
|
@Mergifyio rebase |
✅ Branch has been successfully rebased |
ec10df6 to
235cb64
Compare
Mikolaj
left a comment
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.
Let's wait until hackage-server maintainers recommend whether this should be a file format change. BTW, where do I look up who the maintainers are?
|
@mpickering: from your long cabal dev experience, would you have any advice about this one? |
|
Gershom (on Matrix) confirms that this should not impact Hackage. |
@ffaf1: As in "as implemented this will not impact" or "it will impact even though it should not"? |
|
Oh, OK, never mind, I've re-read it in the cabal Matrix room and it says "it will not impact", so I'm unblocking the merging. Gershom said "imho none of this impacts hackage. my main comment is cabal supports not warning about x-fields already i believe? so mhs can just use x-fields now and forgo solving any of this or needing any patch until later" and also "x-fields are there because they’re fields cabal doesn’t know how to use. if they teach cabal to use mhs-options then they should add a field. the prefix means “cabal-the-tool ignores this” which is the case", though the whole discussion is worth a read (unfortunately, it's above the blob of spam we recently received). @sol: I'm unblocking the merge, but I'm removing the merge label until you can read the discussion at your leisure and decide whether an x-field is a good alternative for your use case. If not, please kindly set the merge label again. |
|
Sigh. So the answer to my question is that this does inpact Hackage… because Hackage uses cabal to validate cabal files, meaning that a cabal that only considers GHC a first class compiler is a gatekeeper for Hackage that keeps it GHC-only in practice. |
This addresses #11341.
Template Α: This PR modifies behaviour or interface
Include the following checklist in your PR:
significance: significantin the changelog file.