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 lint check for archive repo #411

Open
3 tasks done
shonfeder opened this issue Jan 1, 2025 · 0 comments · May be fixed by #412
Open
3 tasks done

Add lint check for archive repo #411

shonfeder opened this issue Jan 1, 2025 · 0 comments · May be fixed by #412
Assignees

Comments

@shonfeder
Copy link
Contributor

shonfeder commented Jan 1, 2025

As per the archiving plan we need a lint check that will

  • checks that every dependency constraint is of the form "dep" {... & <= ""} except for "ocaml" (needed for phase 2)
  • checks if the x-reason-for-archival is set (needed for phase 3)
  • checks if the x-opam-repository-commit-hash-at-time-of-archival is set (needed for phase 3)

in accordance with the archiving policy

We could do this in a standalone tool, but since the purpose of opam-ci-check is to support the linting requirements for the opam repo, and this is an extension of that, I think it is the right place.

Once #412 is merged, I'll just need to update the Git workflow at https://github.com/ocaml/opam-repository-archive/blob/04de824d1d8e75e729440d214181556fc613e7b6/.github/workflows/main.yml#L34 to use the live branch of ocurrent.

@shonfeder shonfeder self-assigned this Jan 1, 2025
@shonfeder shonfeder linked a pull request Jan 1, 2025 that will close this issue
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 a pull request may close this issue.

1 participant