alces-software / gridware

tool for compilation and installation of applications and libraries from the Alces Gridware software library
0 stars 0 forks source link

`alces gridware depot disable <depot>` should not leave modules loaded #5

Closed bobwhitelock closed 7 years ago

bobwhitelock commented 7 years ago

From @benarmston on September 28, 2016 13:52

Consider there is a depot, say my_depot, containing a package, say my_package. The depot has been enabled (alces gridware depot enable my_depot) and the package loaded (alces module load apps/my_package).

Currently, disabling the depot leaves the package loaded. This could cause some confusion for a user who may be looking in alces module avail trying to figure out where that loaded package comes from.

When disabling a depot with loaded packages we should inform the user that the depot has loaded packages and prompt them for instructions on what to do. Valid options that spring to mind include, 1) leaving them loaded; 2) unloading them all; 3) aborting the disable depot operation.

Copied from original issue: alces-software/clusterware#208