Skip to content
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

Remove unmaintained packages disabled since ghc-9.2, ie after lts-19 #7511

Merged
merged 2 commits into from
Sep 9, 2024

Conversation

ysangkok
Copy link
Contributor

@ysangkok ysangkok commented Sep 2, 2024

This removes packages that were disabled with the upgrade to GHC 9.2, and
haven't been enabled since.

I removed the checklist since it talking about adding packages, not removing
them.

@ysangkok
Copy link
Contributor Author

ysangkok commented Sep 4, 2024

Can a curator please let me know whether this has any hope of getting merged if I rebase it?

If this is too large, what about a start with a smaller set of packages? Like just Accelerate, Biobase or web3?

build-constraints.yaml Outdated Show resolved Hide resolved
- vcswrapper < 0 # tried vcswrapper-0.1.6, but its *library* requires containers >=0.5.5.1 && < 0.6 and the snapshot contains containers-0.6.8
- vcswrapper < 0 # tried vcswrapper-0.1.6, but its *library* requires mtl >=2.0.1.0 && < 2.3 and the snapshot contains mtl-2.3.1
- vcswrapper < 0 # tried vcswrapper-0.1.6, but its *library* requires text >=0.11.1.5 && < 1.3 and the snapshot contains text-2.1.1
- vector-circular < 0 # tried vector-circular-0.1.4, but its *library* requires base >=4.11 && < 4.17 and the snapshot contains base-4.19.1.0
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oops, this one was compatible with GHC 9.2, which is later than what I aimed to exclude. Should I remove it?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That might be more consistent then.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Removed.

@mihaimaruseac
Copy link
Contributor

Can a curator please let me know whether this has any hope of getting merged if I rebase it?

If no one gets to it before the week of 16th, I'll do it.

If this is too large, what about a start with a smaller set of packages? Like just Accelerate, Biobase or web3?

I think a smaller set of packages will make it easier to review, but will cause more churn. Up to you

@juhp
Copy link
Contributor

juhp commented Sep 7, 2024

Just curious, how do you generate the list? Any script for this?
Also just checking, does it exclude packages which were since re-enabled and then later re-disabled again?

Overall looks good, thank you very much: I agree it's good to clean-away packages that have been disabled for multiple ghc versions. 👍 We need better tooling...

@juhp juhp changed the title Remove unmaintained packages (which are already disabled) Remove unmaintained packages disabled since ghc-9.2, ie after lts-19 Sep 7, 2024
@ysangkok
Copy link
Contributor Author

ysangkok commented Sep 7, 2024

how do you generate the list? Any script for this?

I use this regex (that I posted in the commit message). Here it is:

4\.\d[0123456] and the snapshot contains base-

When a match is found, I search for its name and delete all references to it. If I delete it from the author←package mapping, I might also have to delete the name and e-mail, to prevent empty blocks.

css-syntax didn't follow this pattern, which was a mistake I will rectify.

does it exclude packages which were since re-enabled and then later re-disabled again?

I am not accounting for when the packages were disabled. If packages were disabled because they we not compatible with e.g. ghc-9.2, how would they become enabled again anyway? Only if there is a problem with the commenter, and the comments aren't actually true. I have tried to do spot checks.

Will rebase some time this weekend.

@ysangkok
Copy link
Contributor Author

ysangkok commented Sep 8, 2024

Ok, rebased and ready for review/merge.

@alaendle alaendle merged commit 2a42337 into commercialhaskell:master Sep 9, 2024
1 check passed
@ysangkok ysangkok deleted the remove-unmaintained branch September 9, 2024 15:57
@alaendle
Copy link
Member

alaendle commented Sep 9, 2024

Thanks for your work! ❤️ (to be honest I've only verified half of the changes, but next nightly would tell any unexpected change - but I'm nearly 100% sure everything matches perfectly!)

alaendle added a commit that referenced this pull request Sep 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants