sanger-tol / singularity-hpc

Local filesystem registry for containers (intended for HPC) using Lmod or Environment Modules. Works for users and admins.
https://singularity-hpc.readthedocs.io
Mozilla Public License 2.0
0 stars 0 forks source link

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

Open muffato opened 3 weeks ago

muffato commented 3 weeks ago
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 commented 3 weeks ago

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: