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 dealing with descr and url files #6253

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

hannesm
Copy link
Member

@hannesm hannesm commented Oct 21, 2024

They have been deprecated since quite some time. I suspect this PR could go further, and remove the OpamFile.DescrIO module - but I failed to understand what to replace it with.

Please let me know whether this direction is the right one. I'm especially unsure whether there need to be more guards checking that url / descr do not exist.

OpamAdminRepoUpgrade: deal locally with descr/url files

OpamAdminCommand: adapt checks whether url is present, and whether the opam file version is good
Copy link
Member

@kit-ty-kate kit-ty-kate left a comment

Choose a reason for hiding this comment

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

I have a couple of suggestions for the code first.
I'll do a proper review later.

src/client/opamAdminRepoUpgrade.ml Outdated Show resolved Hide resolved
src/client/opamAdminCommand.ml Outdated Show resolved Hide resolved
Co-authored-by: Kate <kit-ty-kate@outlook.com>
@hannesm
Copy link
Member Author

hannesm commented Oct 21, 2024

there's quite some tests that fail now... I'm not sure whether this is related (likely it is) -- but also not sure whether updating the tests is preferred, or whether some bits of the code should be re-instantiated?

@rjbou rjbou self-requested a review October 28, 2024 14:06
@rjbou rjbou added this to the 2.4.0~alpha1 milestone Oct 28, 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.

3 participants