Skip to content

dep_scripts: Unify `-d` and `-p` flags

Since we now have a fully-fledged naming system for both dependencies and profiles in the scripts (e.g. libfabric%experimental@mogon2:latest), it is no longer necessary to force the user to specify whether they want to download/install a depedency or a full profile. We can easily distinguish the user's intent like so:

  • <no args> -> download/install the full default:latest profile (or alternatively, print the usage).
  • libfabric -> libfabric dependency in the default:latest profile
  • lifabric@mogon2 -> libfabric dependency in the mogon2:latest profile
  • lifabric@mogon2:0.8.0 -> libfabric dependency in the mogon2:0.8.0 profile
  • mogon2 -> download/install the full mogon2:latest profile
  • mogon2:0.8.0 -> download/install the full mogon2:0.8.0 profile