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

Modulefile command to hide a given module from avail/search results #202

Closed
xdelaruelle opened this issue Oct 14, 2018 · 3 comments
Closed
Milestone

Comments

@xdelaruelle
Copy link
Member

Following this discussion it would be nice to get a modulefile command to order that a given module should not be mentioned from avail/search/whatis results. Modulefiles could already be hidden by prefixing their name by a dot character (.), but a command would help to hide dynamically depending on the situation.

This should be a rc file command (ie. used from .modulerc files) as true modulefile are not evaluated during avail command.

We may even extend this "hidding" concept to a "hide if criteria met" concept, for instance:

  • hide modulefile if not part of group
  • hide modulefile if some expiry date is over
@wenzler
Copy link

wenzler commented Oct 14, 2018

Please also consider modules that are to be phased out/deleted.
They should not appear in module avail already but be addable with a warning :>

@fthommen
Copy link

A hiding mechanism - especially the "hiding if criteria met" - would solve lots of issues also on our side. Our use case: We have a common software stack for multiple distributions but not all packages are provided for all distros. Currently we have to provide a different $MODULESPATH for each distribution which leads to lots of redundancies (all the common packages). A hiding mechanism would be an elegant solution for this situation.

@xdelaruelle
Copy link
Member Author

Please also consider modules that are to be phased out/deleted.
They should not appear in module avail already but be addable with a warning :>

Exactly, this is what I meant with hide modulefile if some expiry date is over

@xdelaruelle xdelaruelle added this to the 4.6 milestone Apr 24, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants