Skip to content

Add option to specify package version for zopen-install #1131

@dvdrbn-m9

Description

@dvdrbn-m9

Feature Title

Add option to specify package version for zopen-install

Feature Description & Current Pain Points

Currently there's the −−select option which displays the available versions for a package and allows to select one for installation. Seems like there's no option to specify the version that I want installed on the command line.
Let's say I have "nats" installed on multiple systems. If there's an issue with the latest package, and I want to revert back to a previous version, seems like the only option is to do it manually on all the systems. If I could specify the version on the command line, I could run the command using ansible on all the systems I'd like to change.

Proposed Solution & Expected Behavior

zopen-install command should allow specifying the package with a version to install. So for
zopen-install nats:STABLE_NATSport_3825 will install the version STABLE_NATSport_3825 of the nats package.
If a more recent package is already installed, warn the user and prompt to apply. --force or --yes should continue with the installation without prompting the user.

Environment Details (Optional)

zopen version 0.8.4

Additional Information (Optional)

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions