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

Adjust maintainer contact lint #393

Merged
merged 2 commits into from
Nov 27, 2024

Conversation

shonfeder
Copy link
Contributor

Closes ocaml/infrastructure#152 by addressing
the subsequenst requests for tweaked behavior.

With this change in place, the lint will only fail if there is no email address
at all in the maintainer field AND no bug-tracker. We already issue a warning
when no bug-tracker is present, and since we currently make no distinction
between errors and warnings in our CI results, this check is made somewhat
redundant. However, once #328 is
introduced, the distinction here will make a difference.

@shonfeder shonfeder force-pushed the infra/152/tweak-email-lint branch 2 times, most recently from de35a67 to 5e2fcaf Compare November 25, 2024 03:38
Copy link
Contributor

@punchagan punchagan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me modulo the CI failures and a minor nit pick. Thanks for taking care of this!

opam-ci-check/lib/lint.ml Outdated Show resolved Hide resolved
@shonfeder shonfeder force-pushed the infra/152/tweak-email-lint branch 2 times, most recently from 170bd89 to b0e4248 Compare November 26, 2024 07:03
Closes ocaml/infrastructure#152 by addressing
the subsequenst requests for tweaked behavior.
For compat in tests between linux and BSD based.
@shonfeder shonfeder force-pushed the infra/152/tweak-email-lint branch from b0e4248 to ec9e8ae Compare November 26, 2024 07:03
@shonfeder shonfeder enabled auto-merge November 26, 2024 07:04
@shonfeder shonfeder disabled auto-merge November 26, 2024 07:04
@shonfeder shonfeder enabled auto-merge (squash) November 26, 2024 07:04
@shonfeder
Copy link
Contributor Author

Thanks for the review :)

@shonfeder shonfeder merged commit 29c20bb into ocurrent:master Nov 27, 2024
2 checks passed
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.

Add a linter check for an email address in the "maintainer" field.
2 participants