-
Notifications
You must be signed in to change notification settings - Fork 13
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
Support dune 3.0 #45
Comments
I can start an attempt to do this if it's not already in progress. Feel free to reach out with any tips! |
That would be great! The changes are mostly needed in dune, however. Dune removed The dune developers said:
|
|
Great - thanks!
Ah. It looks like we just it for modifying the dune-project file with the updated packages. But they're just S-expressions, so we could do it with some other S-expression library. I think they only reason we care about it is to get the right formatting for the output, but perhaps there's a way to make |
For formatting dune files, there's a command |
@talex5 is right we can just use a simple s-expression library, maybe https://github.com/ocaml-dune/csexp since it has minimal dependencies. Then formatting via Ideally this should all get moved into dune/opam proper as an extra lint command. |
csexp is a binary(ish) format. https://github.com/janestreet/parsexp is probably what you want. |
Yes, I confirm we need that lib. |
The command Lines 82 to 83 in fa22308
|
Mentioning this PR #46, it's not far from solving the issue. |
@moyodiallo it seems that there are only couple stylistic remarks in dune related PRs and those await your input. It's painful to match dependencies between opam and dune by hand, would be really awesome if this could go live! |
I admit this is a hack, dune doesn't release the necessary libraries. what we have is, printing out from dune (the PRs) the needed information. This is the same approximation as the current version. |
By current version you mean the |
yes the master branch or the lastest release, the downgrade is normal. |
We're using dune 3.x, downgrading is not an option, but If I understand this correctly, the PRs in dune repo can unblock use of this tool with dune 3.x. |
Yes, that is the purpose. we're going to use this branch https://github.com/moyodiallo/dune.git#opam-dune-lint-testing, to test it on our CI ocurrent/ocaml-ci#811. |
Do you have any plans to upstream changes to this repository? |
Yes, #46 (comment) |
This also needs a new release to opam-repository @moyodiallo when dune support is in place. |
There is a new release now |
Fantastic! |
As always @smorimoto please report any issue found to this repo. |
No description provided.
The text was updated successfully, but these errors were encountered: