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

Tags updated by reloading dependent module not shown in designation #460

Closed
xdelaruelle opened this issue May 28, 2022 · 0 comments
Closed
Labels
Milestone

Comments

@xdelaruelle
Copy link
Member

On version 5.1.0, when tags set on loading module are updated by a reloading dependent module, the new tags are not reported in module designation.

$ ml show mod/1.0
-------------------------------------------------------------------
/path/to/modulefiles/mod/1.0:

prereq          --tag=foo foo/1.0 bar/1.0
-------------------------------------------------------------------
$ ml --no-auto --force mod/1.0
Loading mod/1.0
  WARNING: Requirement foo/1.0 or bar/1.0 is not loaded
$ ml foo/1.0
Loading foo/1.0
  Unloading dependent: mod/1.0
  Reloading dependent: mod/1.0
$ ml
Currently Loaded Modulefiles:
 1) foo/1.0 <foo>   2) mod/1.0  

Key:
<module-tag>

In the above situation, we should have seen the following load report message:

$ ml foo/1.0
Loading foo/1.0 <foo>
  Unloading dependent: mod/1.0
  Reloading dependent: mod/1.0
@xdelaruelle xdelaruelle added this to the 5.1.1 milestone May 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant