Skip to content

Release 2.5.2 - #7016

Merged
kit-ty-kate merged 1 commit into
ocaml:2.5from
kit-ty-kate:rel-2.5.2
Jul 8, 2026
Merged

Release 2.5.2#7016
kit-ty-kate merged 1 commit into
ocaml:2.5from
kit-ty-kate:rel-2.5.2

Conversation

@kit-ty-kate

Copy link
Copy Markdown
Member

Modulo #7009 and subsequent empting of master_changes.md

@kit-ty-kate kit-ty-kate added this to the 2.5.2 milestone Jul 8, 2026
Comment thread CHANGES
Comment on lines +13 to +14
* Stop the installation process via .install file from creating unnecessary
intermediate directories for paths that contain `..` [#7015 @kit-ty-kate]

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.

Suggested change
* Stop the installation process via .install file from creating unnecessary
intermediate directories for paths that contain `..` [#7015 @kit-ty-kate]
* When installing files from `.install` resolve them before creating paths.
It no longer create unnecessary intermediate directories if it contains
indirections (`..`) [#7015 @kit-ty-kate]

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

I'm not sure it's clearer

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.

maybe a rewording is needed to make it clearer. The idea was to highlight that the paths are now resolved, which avoid creating unnecessary dirs. It is not obvious with just "no more create unnecessary dirs"

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

From the users' point of view i don't think it makes sense to mention that paths are resolved. They don't really care. The only effect they could see is the unnecessary directories not being created anymore

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.

If we go that way, from user perspective, there is no impact on the usage, its all under opam root, expect for misc.
I've thought about it because if I read an external changelog that contains that line, it would have implied a lot of questions (why it was created in the first place, what changed, is it a bug, etc.), which can be answered directly/not raised by having the "path resolved" information.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

If we go that way, from user perspective, there is no impact on the usage, its all under opam root, expect for misc.

I'm also happy to remove it from the changelog entirely.

I've thought about it because if I read an external changelog that contains that line, it would have implied a lot of questions (why it was created in the first place, what changed, is it a bug, etc.), which can be answered directly/not raised by having the "path resolved" information.

But if someone were to have question of that type, then they'd already be interested in the opam codebase enough to simply have a look at the PR directly. Then the question would answer itself.

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.

But if someone were to have question of that type, then they'd already be interested in the opam codebase enough to simply have a look at the PR directly. Then the question would answer itself.

Not necessarily, when i read release notes, i'm just interested on the changes, not the codebase itself. Plus, there is a cost to go and dig on an unknown codebase to have these questions answered, that i won't do on most cases.

I'm also happy to remove it from the changelog entirely.

My opinion : we should keep the line (otherwise half of opam changelog would be removed) and i think it is better to have the "path resolved" information. Now, it is ok for me to keep it as is, the PR is already approved.

Comment thread CHANGES
@kit-ty-kate
kit-ty-kate marked this pull request as ready for review July 8, 2026 17:27
@kit-ty-kate

Copy link
Copy Markdown
Member Author

Ignoring cygwin failure (#7007) and alpine failure (#6888)

@kit-ty-kate
kit-ty-kate merged commit ad0564f into ocaml:2.5 Jul 8, 2026
55 of 57 checks passed
@kit-ty-kate
kit-ty-kate deleted the rel-2.5.2 branch July 8, 2026 18:42
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