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

CI should fail if a package does not present a description or a synopsis #12729

Closed
mseri opened this issue Oct 1, 2018 · 8 comments
Closed

Comments

@mseri
Copy link
Member

mseri commented Oct 1, 2018

See the initial discussion with @pmetzger here: #12727

@mseri
Copy link
Member Author

mseri commented Oct 1, 2018

Luckily there are not many such packages at the moment:

packages/cohttp-async/cohttp-async.1.1.1/opam
packages/cohttp-lwt/cohttp-lwt.1.1.1/opam
packages/cohttp-lwt-jsoo/cohttp-lwt-jsoo.1.1.1/opam
packages/cohttp/cohttp.1.1.1/opam
packages/cohttp-lwt-unix/cohttp-lwt-unix.1.1.1/opam
packages/cohttp-mirage/cohttp-mirage.1.1.1/opam
packages/cohttp-top/cohttp-top.1.1.1/opam
packages/conf-bap-llvm/conf-bap-llvm.1/opam
packages/conf-bap-llvm/conf-bap-llvm.1.1/opam
packages/conf-bap-llvm/conf-bap-llvm.1.2/opam
packages/crlibm/crlibm.0.3/opam
packages/functoria-runtime/functoria-runtime.2.0.0/opam
packages/mirage-clock-freestanding/mirage-clock-freestanding.1.2.0/opam
packages/mirage-protocols-lwt/mirage-protocols-lwt.1.1.0/opam
packages/mirage-protocols-lwt/mirage-protocols-lwt.1.3.0/opam
packages/mirage-protocols/mirage-protocols.1.3.0/opam
packages/mirage-protocols-lwt/mirage-protocols-lwt.1.0.0/opam
packages/mirage-stack/mirage-stack.1.2.0/opam
packages/mirage-stack-lwt/mirage-stack-lwt.1.2.0/opam
packages/opam-publish/opam-publish.2.0.0/opam
packages/opam-publish/opam-publish.2.0.0~beta/opam
packages/qcheck-core/qcheck-core.0.9/opam
packages/qcheck-alcotest/qcheck-alcotest.0.9/opam
packages/qcheck/qcheck.0.9/opam
packages/qcheck-ounit/qcheck-ounit.0.9/opam
packages/relit-reason/relit-reason.0.0.1/opam

@mseri
Copy link
Member Author

mseri commented Oct 1, 2018

It should also complain if test is used instead of with-test:
#12732

@pmetzger
Copy link
Member

pmetzger commented Oct 1, 2018

I obviously agree this should be fixed. :)

@rjbou
Copy link
Contributor

rjbou commented Oct 5, 2018

The test issue is more complicated because of variables handling. Some variables are opam defined but user can also defines its own. Plus, as variables can be undefined, and filter expressed according, we can't raise an error if {test} is present (while packager meant {with-test}), or if the test variable is null.

Note that the opam package upgrader rewrite test and doc variables into with-test and with-doc.

@c-cube
Copy link
Contributor

c-cube commented Oct 5, 2018

A warning (in the linter) would still do the trick, right? if someone wants to define test nonetheless they would be able to, but for most users using {test} is probably a mistake. Also, it's the first time I hear of a package upgrader, which is why I was confused by the same problem.

@rjbou
Copy link
Contributor

rjbou commented Oct 9, 2018

The two PR merged on master.

@github-actions
Copy link
Contributor

This issue is stale because it has been open 90 days with no activity. Remove the stale label, or comment, or this will be closed in 15 days.

@pmetzger
Copy link
Member

I'm not sure that closing this was a good idea, merely because it hadn't had much activity of late. The problem remains interesting to fix.

@pmetzger pmetzger reopened this May 22, 2020
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

No branches or pull requests

4 participants