Skip to content

doc: mention the compare-versions command in the manual#6596

Merged
kit-ty-kate merged 2 commits into
ocaml:masterfrom
mbarbin:doc-compare-versions
Aug 11, 2025
Merged

doc: mention the compare-versions command in the manual#6596
kit-ty-kate merged 2 commits into
ocaml:masterfrom
mbarbin:doc-compare-versions

Conversation

@mbarbin

@mbarbin mbarbin commented Jul 13, 2025

Copy link
Copy Markdown
Contributor

Add a mention of the opam admin compare-versions command in the manual.

This is a continuation of #6197 to improve discoverability (small qol).

Thanks!

mbarbin added 2 commits July 13, 2025 21:55
Signed-off-by: Mathieu Barbin <mathieu.barbin@gmail.com>
Signed-off-by: Mathieu Barbin <mathieu.barbin@gmail.com>
@kit-ty-kate

Copy link
Copy Markdown
Member

lgtm, we could even simplify the section by removing the previous method which uses OpamVersionCompare, but maybe we should keep it for now until most people actually use opam 2.4.

We'll have a second look and probably merge it tomorrow. Thanks!

@mbarbin

mbarbin commented Jul 28, 2025

Copy link
Copy Markdown
Contributor Author

we could even simplify the section by removing the previous method which uses OpamVersionCompare,

Agreed!

but maybe we should keep it for now until most people actually use opam 2.4.

Agreed!

So in summary, Agreed on all accounts 😃 . Thanks a lot for the review!

@rjbou

rjbou commented Jul 28, 2025

Copy link
Copy Markdown
Collaborator

The PR is good. It is hold up opam2web manpage & api generaion job fixup.

Comment thread doc/pages/Manual.md
[0]
```

Refer to the command help page for more details.

@rjbou rjbou Jul 28, 2025

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

todo for opam devs: Add a link to api compare_version function

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

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Improvement of the API section will be done separately. See #6637

@kit-ty-kate

Copy link
Copy Markdown
Member

Thanks a lot!

@kit-ty-kate kit-ty-kate merged commit a720c5f into ocaml:master Aug 11, 2025
2 checks passed
@mbarbin

mbarbin commented Aug 11, 2025

Copy link
Copy Markdown
Contributor Author

Thank you!

@mbarbin mbarbin deleted the doc-compare-versions branch August 11, 2025 12:28
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.

3 participants