-
Notifications
You must be signed in to change notification settings - Fork 22
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 lint for x-maintenance-intent
#415
Comments
I would appreciate this becoming reality :) |
@hannesm where is currently the canonical source of truth for the valid format? Is there already re-usable code to validate it we can plug in here? |
@shonfeder sorry, I don't have a "canonical source of truth for the valid format". https://github.com/hannesm/maintenance-intent-filter/blob/develop/mintent.ml is what I use, based on @raphael-proust code https://github.com/raphael-proust/maintenance-intent-filter , the extension is to support "(none)" as well. |
We discussed in the opam maintainers meeting today, and the aim is to publish https://github.com/raphael-proust/maintenance-intent-filter, with a |
It should validate that the format is correct when present. We'd also like a warning (not a failure) when it is absent. See https://github.com/ocaml/opam-repository/blob/master/governance/policies/archiving.md#specification-of-the-x--fields-used-in-the-archiving-process for the format.
See also @raphael-proust's https://github.com/raphael-proust/maintenance-intent-filter . We should share that code if possible.
The text was updated successfully, but these errors were encountered: