Skip to content

Conversation

@emillon
Copy link
Contributor

@emillon emillon commented Jun 18, 2021

In the spirit of #246:

  • Fix warnings 27 and 32

There was a link to an old dune issue but it seems that these were hiding some
problems.

  • Use standard flags

To the best of my knowledge, it is best practice to let dune deal with flags.

  • Use dune shortcuts

Small improvements by using shortcuts allowed by dune.

(public_name github)
(wrapped false)
(modules_without_implementation github_s)
;; 27 and 32 should be enabled once
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 also set [@@@ ocaml.warning "-27-32"] for a less intrusive change.

@tmcgilchrist
Copy link
Member

Looks good to me, just failing on the 4.12 builds as expected.

@avsm
Copy link
Member

avsm commented Jun 21, 2021

Thanks!

@avsm avsm merged commit 81f3dc8 into mirage:master Jun 21, 2021
tmcgilchrist added a commit to tmcgilchrist/opam-repository that referenced this pull request Jul 13, 2021
CHANGES:

- Fixes to odoc warnings and cohttp dependencies (@Aaylor mirage/ocaml-github#244)
- Support for 4.12 and fixing recent compiler warnings (@tmcgilchrist mirage/ocaml-github#246 mirage/ocaml-github#252 and @emillon mirage/ocaml-github#250 mirage/ocaml-github#247 mirage/ocaml-github#251)
- Add a new package `github-data` which contains just the serialisation logic
  without a dependency on the web stack (mirage/ocaml-github#248 @emillon)
- Add Github checks API support (mirage/ocaml-github#249 @tmcgilchrist)
tmcgilchrist added a commit to tmcgilchrist/opam-repository that referenced this pull request Jul 21, 2021
CHANGES:

- Fixes to odoc warnings and cohttp dependencies (@Aaylor mirage/ocaml-github#244)
- Support cohttp 4.0. (@tmcgilchrist mirage/ocaml-github#257)
- Support for 4.12 and fixing recent compiler warnings (@tmcgilchrist mirage/ocaml-github#246 mirage/ocaml-github#252 and @emillon mirage/ocaml-github#250 mirage/ocaml-github#247 mirage/ocaml-github#251)
- Add a new package `github-data` which contains just the serialisation logic
  without a dependency on the web stack (mirage/ocaml-github#248 @emillon)
- Add Github checks API support (mirage/ocaml-github#249 @tmcgilchrist)
- Label field missing in branch refs for ghost (@dra27 and @tmcgilchrist mirage/ocaml-github#256)
- Get all commits for user/repo (@Stevendeo mirage/ocaml-github#245)
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