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

Add linting check for new restricted prefixes #315

Closed
shonfeder opened this issue May 26, 2024 · 1 comment · Fixed by #316
Closed

Add linting check for new restricted prefixes #315

shonfeder opened this issue May 26, 2024 · 1 comment · Fixed by #316
Assignees
Labels

Comments

@shonfeder
Copy link
Contributor

Following ocaml/opam-repository#25861, the opam repository aims to treat the following package name prefixes as restricted:

  • arch-
  • system-
  • host-

The need linting rules added to the CI checks on opam files to raise an alert when package names start with one of these prefixes.

cc @raphael-proust and @kit-ty-kate

@benmandrew
Copy link
Contributor

Another possible linting check that's being asked for is to check that a package has one of these prefixes iff it also has the corresponding conflict-class field.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants