Skip to content

Conversation

@MisterDA
Copy link
Contributor

@MisterDA MisterDA commented Jul 27, 2022

  • gen opam files with Dune, bump to Dune 3.0;
  • bump to ocaml 4.08 and remove deps on result and rresult;
  • apply ocamlformat.0.24.1;
  • wrap libraries.

.ocamlformat Outdated
@@ -0,0 +1,3 @@
profile = conventional
version = 0.24.1
ocaml-version = 4.11
Copy link
Member

Choose a reason for hiding this comment

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

Is there a strong reason to move the OCaml version this far forward?
https://ocaml.org/p/dockerfile/8.0.0 supports back to 4.02.3

Copy link
Contributor Author

Choose a reason for hiding this comment

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

We can remove the dependency on rresult, use new functions from the standard library. I think there's a case for moving slowly to new versions. An informal rule is to support the last three OCaml versions. I can go back to 4.10 for now.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

the CI doesn't currently test before 4.07.

@MisterDA MisterDA force-pushed the misc branch 2 times, most recently from 6690f40 to 028b6be Compare September 20, 2022 14:25
@MisterDA
Copy link
Contributor Author

I've also added code to refactor the Git setup, as a follow-up of #108.

- `Dockerfile_gen` from the `dockerfile-cmd` package becomes
  `Dockerfile_cmd.Gen`;
- `Dockerfile_distro`, `Dockerfile_linux`, `Dockerfile_windows` from
  the `dockerfile_opam` package respectively become
  `Dockerfile_opam.Distro`, `Dockerfile_opam.Linux`,
  `Dockerfile_opam.Windows`.
@MisterDA
Copy link
Contributor Author

Changed to use Dune 3.0 and OCaml 4.08.

@tmcgilchrist tmcgilchrist merged commit 224e2b4 into ocurrent:master Sep 28, 2022
@MisterDA MisterDA deleted the misc branch September 28, 2022 08:48
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.

2 participants