Skip to content

Conversation

psafont
Copy link
Member

@psafont psafont commented Sep 19, 2025

Some comments have had its location changed because this version of ocamlformat got confused with them.

Ignoring whitespace changes is highly recommended, there's a button with a square as its icon on top of each commit page to do enable this mode.

@psafont
Copy link
Member Author

psafont commented Sep 20, 2025

I'd rather not merge this PR as it is, I'd rather revert the version of ocamlformat in xs-opam.

I'm leaving this open for visibility of the issue until I fix it on Monday

@psafont
Copy link
Member Author

psafont commented Sep 22, 2025

To fix the builds, this should be merged instead: xapi-project/xs-opam#739

I will remove most of the changes and leave the ones that work for both ocamlformat versions

@psafont psafont marked this pull request as draft September 22, 2025 09:41
This changes comments as well as the location of some comments,otherwise
ocamlformat is unable to process files

Signed-off-by: Pau Ruiz Safont <[email protected]>
@psafont psafont changed the title ocaml: run make format with ocamlformat 0.27.0 ocaml: prepare formatting for ocamlformat 0.27.0 Sep 22, 2025
@psafont psafont marked this pull request as ready for review September 22, 2025 12:21
@psafont psafont added this pull request to the merge queue Sep 22, 2025
Merged via the queue into xapi-project:master with commit 94fcd59 Sep 22, 2025
15 of 16 checks passed
@psafont psafont deleted the dev/psafont/format branch September 22, 2025 14:30
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