Skip to content

global symbolic version shown whereas set hidden in a modulepath rc file #369

@xdelaruelle

Description

@xdelaruelle

Symbolic versions defined in a global RC file are not affected by hiding statements set in a later modulepath, where the modulefile targeted by the symbol lies in.

$ cat testrc
#%Module
module-version mod/1.0 foo
$ cat /path/to/modulefiles/mod/.modulerc
#%Module
module-hide mod/foo
$ ml config rcfile ./testrc
$ ml av -t
/path/to/modulefiles:
mod/1.0(foo)

Would expect that the foo symbolic version were hidden as it is targeted by a module-hide command set in a modulerc file located next to the modulefile that is targeted by the symbol.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions