This repository has been archived by the owner on Oct 3, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Lint: Check topics is not the first tag in the opam file #26
Comments
punchagan
added a commit
to punchagan/dune
that referenced
this issue
Aug 27, 2024
Number of projects in the opam-repository have the word topics as one of the tags, presumably because of the structure of the `tags` sexp in the dune-project file generated on `dune init`. See ocurrent/opam-ci-check#26 Signed-off-by: Puneeth Chaganti <punchagan@muse-amuse.in>
Leonidas-from-XIV
pushed a commit
to punchagan/dune
that referenced
this issue
Aug 28, 2024
Number of projects in the opam-repository have the word topics as one of the tags, presumably because of the structure of the `tags` sexp in the dune-project file generated on `dune init`. See ocurrent/opam-ci-check#26 Signed-off-by: Puneeth Chaganti <punchagan@muse-amuse.in>
punchagan
added a commit
to punchagan/dune
that referenced
this issue
Aug 28, 2024
Number of projects in the opam-repository have the word topics as one of the tags, presumably because of the structure of the `tags` sexp in the dune-project file generated on `dune init`. See ocurrent/opam-ci-check#26 Signed-off-by: Puneeth Chaganti <punchagan@muse-amuse.in>
Leonidas-from-XIV
pushed a commit
to punchagan/dune
that referenced
this issue
Aug 28, 2024
Number of projects in the opam-repository have the word topics as one of the tags, presumably because of the structure of the `tags` sexp in the dune-project file generated on `dune init`. See ocurrent/opam-ci-check#26 Signed-off-by: Puneeth Chaganti <punchagan@muse-amuse.in>
Leonidas-from-XIV
pushed a commit
to ocaml/dune
that referenced
this issue
Aug 28, 2024
Number of projects in the opam-repository have the word topics as one of the tags, presumably because of the structure of the `tags` sexp in the dune-project file generated on `dune init`. See ocurrent/opam-ci-check#26 Signed-off-by: Puneeth Chaganti <punchagan@muse-amuse.in>
github-merge-queue bot
pushed a commit
that referenced
this issue
Aug 30, 2024
Lot of repositories in the opam repository have "topics" as their first tag, possibly due to an oversight from the maintainers. This commit adds an explicit check to warn against leaving the default, example tags in. Closes #26.
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
The
dune-project
file provides the following template:which gets converted to the following in the opam file:
A bunch of projects in the opam repository have the tag "topics" as their first tag, which seems incorrect.
It may be worth also changing the
dune-project
template to prevent users from making this error, probably by quoting all the tags? like so:The text was updated successfully, but these errors were encountered: