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

Symbol targeting directory not resolved on whatis/paths if implicit_default is disabled #294

Closed
xdelaruelle opened this issue Sep 20, 2019 · 0 comments
Assignees
Labels
Milestone

Comments

@xdelaruelle
Copy link
Member

When a symbolic version targets a directory:

$ module use modules/testsuite/modulefiles
$ module avail -l loc_dv7/default
- Package/Alias -----------------------.- Versions --------.- Last mod. -------
/path/to/modules/testsuite/modulefiles:
loc_dv7/2.0/                            default

If implicit_default configuration is disabled

$ module config implicit_default 0

A different result is obtained on whatis sub-command whether symbolic name or target is passed as argument:

$ module whatis loc_dv7/default
ERROR: No default version defined for 'loc_dv7/2.0'
$ module whatis loc_dv7/2.0
----- /path/to/modules/testsuite/modulefiles -----
     loc_dv7/2.0/1.0: loc_dv7/2.0/1.0

Same goes for the paths sub-command:

$ module paths loc_dv7/2.0
/path/to/modules/testsuite/modulefiles/loc_dv7/2.0/1.0
$ module paths loc_dv7/default
$

Would expect the same result whatever the argument is (symbol or actual target)

@xdelaruelle xdelaruelle self-assigned this Sep 20, 2019
@xdelaruelle xdelaruelle added this to the 4.3.1 milestone Sep 20, 2019
xdelaruelle added a commit to xdelaruelle/modules that referenced this issue Sep 20, 2019
xdelaruelle added a commit to xdelaruelle/modules that referenced this issue Sep 20, 2019
xdelaruelle added a commit to xdelaruelle/modules that referenced this issue Sep 20, 2019
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