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

Option to set the registry #4

Open
laurentsimon opened this issue Jan 2, 2024 · 0 comments
Open

Option to set the registry #4

laurentsimon opened this issue Jan 2, 2024 · 0 comments

Comments

@laurentsimon
Copy link
Collaborator

laurentsimon commented Jan 2, 2024

The release / deployment policy may be evaluated by

  1. a registry. In this case, the policy's package name will likely only contain a package name.
  2. the owner (organization) of the package. In this case the policy's package name may contain a (scheme+) registry+name (registry may be internal for certain packages and set to a public registry for public packages).

The release attestation contains the package name / URI. We need to be able to properly match the attestation field to a release and deployment policy's package name for evaluation.

This means we need an option SetPackageRegistry that registry evaluators (case (1) above) can use. For case (2), we should recommend always requiring users to set the registry.

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

No branches or pull requests

1 participant