Commit d4834d2
committed
Insert provided-aliases in module search result
If provided-alias are requested, include them in the module search
result. Aliases defined with "provide" and "family" modulefile commands
are considered provided-aliases.
This change requires to perform the modulefile scan evaluation during
step #1 of getModules (gathering of entries) instead of step #4.
Provided-aliases are then inserted right after to be part of step #2 and
step #3 checks.
Signed-off-by: Xavier Delaruelle <[email protected]>1 parent 9c3cff7 commit d4834d2
File tree
5 files changed
+40
-15
lines changed- tcl
5 files changed
+40
-15
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1113 | 1113 | | |
1114 | 1114 | | |
1115 | 1115 | | |
| 1116 | + | |
1116 | 1117 | | |
1117 | 1118 | | |
1118 | 1119 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
110 | 110 | | |
111 | 111 | | |
112 | 112 | | |
113 | | - | |
| 113 | + | |
114 | 114 | | |
115 | 115 | | |
116 | 116 | | |
| |||
133 | 133 | | |
134 | 134 | | |
135 | 135 | | |
136 | | - | |
| 136 | + | |
137 | 137 | | |
138 | 138 | | |
139 | 139 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3181 | 3181 | | |
3182 | 3182 | | |
3183 | 3183 | | |
3184 | | - | |
| 3184 | + | |
| 3185 | + | |
| 3186 | + | |
| 3187 | + | |
| 3188 | + | |
| 3189 | + | |
| 3190 | + | |
| 3191 | + | |
| 3192 | + | |
| 3193 | + | |
3185 | 3194 | | |
3186 | 3195 | | |
3187 | 3196 | | |
| |||
3237 | 3246 | | |
3238 | 3247 | | |
3239 | 3248 | | |
3240 | | - | |
| 3249 | + | |
3241 | 3250 | | |
3242 | 3251 | | |
3243 | 3252 | | |
| |||
3305 | 3314 | | |
3306 | 3315 | | |
3307 | 3316 | | |
3308 | | - | |
| 3317 | + | |
3309 | 3318 | | |
3310 | 3319 | | |
3311 | | - | |
3312 | 3320 | | |
3313 | 3321 | | |
3314 | 3322 | | |
3315 | | - | |
3316 | | - | |
3317 | | - | |
3318 | | - | |
3319 | | - | |
| 3323 | + | |
3320 | 3324 | | |
3321 | 3325 | | |
3322 | 3326 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
124 | 124 | | |
125 | 125 | | |
126 | 126 | | |
127 | | - | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
128 | 137 | | |
129 | 138 | | |
130 | 139 | | |
| |||
367 | 376 | | |
368 | 377 | | |
369 | 378 | | |
| 379 | + | |
| 380 | + | |
| 381 | + | |
| 382 | + | |
| 383 | + | |
| 384 | + | |
| 385 | + | |
| 386 | + | |
| 387 | + | |
| 388 | + | |
370 | 389 | | |
371 | 390 | | |
372 | 391 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1312 | 1312 | | |
1313 | 1313 | | |
1314 | 1314 | | |
1315 | | - | |
1316 | | - | |
1317 | | - | |
| 1315 | + | |
| 1316 | + | |
| 1317 | + | |
| 1318 | + | |
1318 | 1319 | | |
1319 | 1320 | | |
1320 | 1321 | | |
| |||
0 commit comments