Skip to content

Commit 304bcc8

Browse files
cuihtlauacclaude
andcommitted
platform_releases: fix markdown lint in opam 2.5.2 announcement
Resolve markdownlint-cli2 failures matching the 2.5.1 announcement style: - MD012: drop duplicate blank lines - MD026: remove trailing "!" from the "Try it" heading - MD040: tag fenced code blocks (shell / powershell) - MD029: indent the code blocks under list item 1 so the ordered list stays continuous (1. then 2.) Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
1 parent 53de05d commit 304bcc8

1 file changed

Lines changed: 11 additions & 17 deletions

File tree

data/platform_releases/opam/2026-07-09-opam-2-5-2.md

Lines changed: 11 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -17,45 +17,39 @@ We are pleased to announce the release of opam 2.5.2 fixing a security issue ([O
1717

1818
We advise everyone to upgrade. Please read on for installation and upgrade instructions.
1919

20-
2120
## Security fix
2221

23-
2422
* [OSEC-2026-10](https://osv.dev/vulnerability/OSEC-2026-10) / CVE-2026-57825: Fix a bug that allowed a package to install files anywhere on the system using a symlink to an external directory without warning the user and asking for their permission ([#7005](https://github.com/ocaml/opam/pull/7005))
2523

2624
Distributions maintainers that have not already done so, are invited to either upgrade their opam package to 2.5.2 or backport the fix. For any questions please send an email to the authors of this here blog post as listed above.
2725

28-
2926
## Other changes
3027

3128
* Re-allow `..` in `.install` files, partially reverting 2.5.1's [#6898](https://github.com/ocaml/opam/pull/6898) ([#7009](https://github.com/ocaml/opam/pull/7009), [ocaml/dune#14393](https://github.com/ocaml/dune/issues/14393))
3229

33-
34-
## Try it!
30+
## Try it
3531

3632
The upgrade instructions are unchanged:
3733

3834
1. Either from binaries: run
3935

40-
For Unix systems
41-
```
42-
bash -c "sh <(curl -fsSL https://opam.ocaml.org/install.sh) --version 2.5.2"
43-
```
44-
or from PowerShell for Windows systems
45-
```
46-
Invoke-Expression "& { $(Invoke-RestMethod https://opam.ocaml.org/install.ps1) } -Version 2.5.2"
47-
```
48-
or download manually from [the Github "Releases" page](https://github.com/ocaml/opam/releases/tag/2.5.2) to your PATH.
36+
For Unix systems
37+
```shell
38+
bash -c "sh <(curl -fsSL https://opam.ocaml.org/install.sh) --version 2.5.2"
39+
```
40+
or from PowerShell for Windows systems
41+
```powershell
42+
Invoke-Expression "& { $(Invoke-RestMethod https://opam.ocaml.org/install.ps1) } -Version 2.5.2"
43+
```
44+
or download manually from [the Github "Releases" page](https://github.com/ocaml/opam/releases/tag/2.5.2) to your PATH.
4945

5046
2. Or from source, manually: see the instructions in the [README](https://github.com/ocaml/opam/tree/2.5.2#compiling-this-repo).
5147

52-
5348
You should then run:
54-
```
49+
```shell
5550
opam init --reinit -ni
5651
```
5752

58-
5953
Please report any issues to [the bug-tracker](https://github.com/ocaml/opam/issues).
6054

6155
Happy hacking!

0 commit comments

Comments
 (0)