bazel-central-registry
bazel-central-registry copied to clipboard
Implement support for module attestations
Context: https://github.com/bazelbuild/bazel-central-registry/discussions/2721
- Implement optional attestation support: Attestations are checked and mirrored, but are still optional (regressions are disallowed, though).
- Update documentation.
- Implement UI support to show which module versions have attestations.
- Widely advertise attestation support once the generator GitHub action is ready to be used.
- [TBD] Enforce existence of attestations for all future module versions after a migration period.
Mirroring happens during post-submit -> https://github.com/bazelbuild/continuous-integration/issues/2177.
Note: There are PRs with multiple modules, e.g. https://github.com/bazelbuild/bazel-central-registry/pull/3798/files
Successfully accepted our first PR with attestations: https://github.com/bazelbuild/bazel-central-registry/pull/4306
UI hint has been implemented in https://github.com/bazel-contrib/bcr-ui/pull/162