-
Notifications
You must be signed in to change notification settings - Fork 12
Open
Description
What was wrong?
The cli supports ethpm URIs like...
ethpm://ens.packages.eth : specify only a registry
ethpm://ens.packages.eth/[email protected] : specify a package release on a registry
ethpm://ens.packages.eth/[email protected]/deployments/Token: specify a certain asset within a package
From a UX point of view it would be nice to support
ethpm://ens.packages.eth/package - rather than requiring a version to be specified.
Since ethpm does not enforce semver, if this kind of uri is used - then a list of all detected versions should be printed - giving the user the chance to choose what version they want to install/activate (similar to how this is handled in ethpm update).
How can it be fixed?
parse_registry_uriinweb3.pywill need to be updated. currently if an ethpm uri contains a package name a version is also required.- an
input()prompt will be required for bothethpm activateandethpm installthat allows the user to specify a version from a list of available versions (similar toethpm update)
Metadata
Metadata
Assignees
Labels
No labels