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

Make description optional for opam submit #165

Merged
merged 2 commits into from
Sep 13, 2019

Conversation

NathanReb
Copy link
Contributor

Fixes #164

This makes the description field optional when submitting a PR to opam-repository.

Given that opam considers it okay as long as there's a synopsis I think it make sense to allow a missing description field. We might even consider make that just a warning in the lint phase as well but that's a separate matter I'd say. The important is that it doesn't prevent one from releasing!

Fixes tarides#164

This makes the description field optional when submitting a PR to
opam-repository.

Given that opam considers it okay as long as there's a synopsis I think
it make sense to allow a missing description field. We might even
consider make that just a warning in the lint phase as well but that's a
separate matter I'd say. The important is that it doesn't prevent one
from releasing!
@NathanReb NathanReb requested a review from samoht September 10, 2019 15:04
@samoht
Copy link
Contributor

samoht commented Sep 13, 2019

LGTM

@NathanReb NathanReb merged commit c3f689a into tarides:master Sep 13, 2019
NathanReb added a commit to NathanReb/opam-repository that referenced this pull request Sep 30, 2019
CHANGES:

### Fixed

- Fix a bug where `opam submit` would fail if the opam files had no description
  (tarides/dune-release#165, @NathanReb)
- Fix a bug where opam files could be inproperly tempered with while building
  the distribution tarball (tarides/dune-release#168, @NathanReb)
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.

dune-release opam submit fails if the opam file doesn't have a description
2 participants