Skip to content

Conversation

@kit-ty-kate
Copy link
Member

@kit-ty-kate kit-ty-kate commented Dec 4, 2025

Per discussion with @rjbou regarding #6253, we'd like to keep the format upgrade code around if only as a basis for opam 3.0.

The real issue with url and descr is that they are used even when the opam file being parsed is up-to-date. This is documented but we'd like to move forward and stop doing that and require a manual upgrade to read them.

However currently the code for url and descr are in their own URL and Descr submodule, which is used for for the deprecated file formats and as a datatype (including the new features). This PR splits these submodules into two of each to separate the legacy part (dealing with the legacy file formats) and the "normal" submodules which still holds the current datatypes.

TODO: while doing this change i chose to change the representation of synopsis/description, which probably should be moved to its own PR with its own discussion.

@kit-ty-kate kit-ty-kate added this to the 2.6.0~alpha1 milestone Dec 4, 2025
@kit-ty-kate kit-ty-kate force-pushed the split-desprecated-files-from-2.0-fields branch from 42a0d4c to 295c6c2 Compare December 8, 2025 15:16
@kit-ty-kate kit-ty-kate requested a review from rjbou December 8, 2025 15:16
@kit-ty-kate kit-ty-kate marked this pull request as ready for review December 8, 2025 15:17
@kit-ty-kate kit-ty-kate force-pushed the split-desprecated-files-from-2.0-fields branch from e22de59 to 295c6c2 Compare December 8, 2025 15:17
@kit-ty-kate kit-ty-kate force-pushed the split-desprecated-files-from-2.0-fields branch from 295c6c2 to 681653f Compare December 8, 2025 15:22
@kit-ty-kate kit-ty-kate added the PR: QUEUED Pending pull request, waiting for other work to be merged or closed label Dec 8, 2025
@rjbou rjbou removed the PR: QUEUED Pending pull request, waiting for other work to be merged or closed label Dec 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants