-
Notifications
You must be signed in to change notification settings - Fork 453
Rollback dune file formatting change in 3.20.0 #12245
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Signed-off-by: Nicolás Ojeda Bär <[email protected]>
36e9c08 to
79c9e69
Compare
maiste
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @nojb! Dummy question but I don't see in your patch the code change to go back to the old default. Am I missing something?
It's here: |
maiste
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! I missed it in the list of files.
Signed-off-by: Nicolás Ojeda Bär <[email protected]>
Signed-off-by: Nicolás Ojeda Bär <[email protected]>
Signed-off-by: Nicolás Ojeda Bär <[email protected]>
Signed-off-by: Nicolás Ojeda Bär <[email protected]>
* fix: rollback dune file formatting change in 3.20.0 (#12245) * Forgot Changes entry for #12245 (#12249) * chore: apply format Co-authored-by: Nicolás Ojeda Bär <[email protected]>
CHANGES: ### Fixed - Fix `runtest-js` mistakenly depending on `byte` (fixes ocaml/dune#12243, ocaml/dune#12242, @vouillon and @Alizter) - Fix the interpretation of paths in `dune runtest` when running from within a subdirectory. (ocaml/dune#12251, fixes ocaml/dune#12250, @Alizter) ### Changed - Revert formatting change introduced in 3.20.0 making long lists in s-expressions fill the line instead of formatting them in a vertical way (ocaml/dune#12245, reverts ocaml/dune#10892, @nojb)
The formatting change introduced in 3.20.0 (see #10892) has resulted in a number of complaints because of its unversioned nature (it does not depend on the version of the Dune language of the file being formatted). After discussion with @Alizter mainly we think that it may be a good idea to revert this change until we have a good versioning story.
The point of this PR is to have a patch ready in case we decide to do so in time for 3.20.1.