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

Command-line interface for all installation-related commands #2

Closed
muffato opened this issue Aug 21, 2024 · 1 comment · Fixed by #1 or #3
Closed

Command-line interface for all installation-related commands #2

muffato opened this issue Aug 21, 2024 · 1 comment · Fixed by #1 or #3
Assignees

Comments

@muffato
Copy link
Member

muffato commented Aug 21, 2024

shpc install software              # install latest
shpc install software:version

shpc uninstall software            # uninstall all installed version
shpc uninstall software:version    # doesn't complain if that version isn't installed yet

shpc reinstall software            # reinstall all installed versions of that software
shpc reinstall software:version    # reinstall only that version
shpc reinstall --all               # reinstall all installed versions of all software
@muffato
Copy link
Member Author

muffato commented Aug 21, 2024

About shpc upgrade software

  1. If software is not installed yet: ask user to "install" it
  2. Else, follow this logic:
For each version already installed:
    If version == latest:
        currently just skip, in the future check the checksum of the container
    Else:
        ask the user about uninstalling it
If latest version was not installed yet:
   install the latest

Also needs:

  • --all option to do the above for all software
  • --dry-run option to show which versions would be uninstalled and installed

@muffato muffato moved this to In Progress in singularity-hpc Aug 21, 2024
This was linked to pull requests Sep 2, 2024
@muffato muffato closed this as completed Nov 11, 2024
@github-project-automation github-project-automation bot moved this from In Progress to Done in singularity-hpc Nov 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

2 participants