-
-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Labels
enhancementNew feature or requestNew feature or request
Description
At the moment PyOCI requires users to include /<registry>/<namespace> in the index URL. For example:
pip install --index-url="http://<user>:<pass>@<pyoci-url>/<registry>/<namespace>/" <package>This works, but it is verbose and not always convenient. It also implicitly gives users access to any registry/namespace they specify in the URL, rather than limiting access to a predefined one.
Proposal
Introduce a "frontend mode" where PyOCI assumes the registry and namespace from an environment variable, for example:
PYOCI_REGISTRY_NAMESPACE="ghcr.io/allexveldman"With this set, users could install packages with a shorter command:
pip install --index-url="http://<user>:<pass>@<pyoci-url>" <package>Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request