Skip to content
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

[opam] [dune-release] Fix opam metadata to reflect recent release. #48

Merged
merged 2 commits into from
Feb 15, 2019

Conversation

ejgallego
Copy link
Collaborator

@ejgallego ejgallego commented Feb 12, 2019

After 3.0.beta4, the loose constraints should mostly work; depending
on the changes we do of course.

We also update the homepage field of the OPAM files, and the CHANGES
file, if I understand correctly this should indeed make dune-release
work out of the box [and to produce sensible changelogs]

Note that dune-release was incorrectly reading CHANGES.API to create
the OPAM changelog! So I had to fix that too.

@ejgallego ejgallego force-pushed the lablgtk3+opam_tweaks branch 5 times, most recently from c930dfe to 0351116 Compare February 13, 2019 01:59
@garrigue
Copy link
Owner

Any idea why the MacOS test fails?

Bug ocaml/dune#1833 makes our quoting strategy
fail; unfortunately it is not easy to fix due to OS-specific issues.

IMHO the issue is not so serious as to warrant an ugly workaround,
thus we rather declare a conflict with Dune 1.7.0.
@ejgallego ejgallego force-pushed the lablgtk3+opam_tweaks branch 2 times, most recently from cfffc0f to aa447ac Compare February 13, 2019 17:59
@ejgallego
Copy link
Collaborator Author

CI is good here too [note this PR includes #49 ]

After 3.0.beta4, the loose constraints should mostly work; depending
on the changes we do of course.

We also update the `homepage` field of the OPAM files, and the CHANGES
file, if I understand correctly this should indeed make `dune-release`
work out of the box [and to produce sensible changelogs]

Note that dune-release was incorrectly reading `CHANGES.API` to create
the OPAM changelog! So I had to fix that too.
@ejgallego ejgallego force-pushed the lablgtk3+opam_tweaks branch from aa447ac to ab0025d Compare February 13, 2019 21:45
@garrigue garrigue merged commit 35cf862 into garrigue:lablgtk3 Feb 15, 2019
@ejgallego ejgallego deleted the lablgtk3+opam_tweaks branch February 15, 2019 00:05
@garrigue
Copy link
Owner

This still fails on MacOS. Of course it works on my machine, but I'm using macports, not brew.
Quite mysterious.

@ejgallego
Copy link
Collaborator Author

ejgallego commented Feb 15, 2019

This is a known bug in dune + brew @garrigue , nothing we can do here until they fix it upstream.

See the dune issue tracker if you need more info.

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