-
Notifications
You must be signed in to change notification settings - Fork 15
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 namespace fallback registry config #36
Comments
Probably better that the namespace mappings were explicitly specified in the registry metadata well-known. Instead of attempting to fetch other non-specified namespaces from the OCI registry and hope that they are correct if available. |
For the first bullet (local registry mapping), I could imagine it being useful to have a sub-option that lets specify that the local registry is just an overlay, in the sense that: if a package-name is present in the local registry, use that; otherwise fall back. This seems useful if, e.g., you're developing package |
The config does already have "package overrides" which I think can serve this purpose. |
Nice! |
In order to support a more natural registry resolution algorithm for package dependencies, add new configuration for "namespace fallback registries". The resolution algorithm would look something like:
For a parent package fetched from registry R, pick the first available:
Question: Should packages published by Registry R itself be considered before fallbacks?
The text was updated successfully, but these errors were encountered: