Skip to content

Modules: Fix configuration overriding#18514

Merged
alalazo merged 2 commits intospack:developfrom
RemiLacroix-IDRIS:modules_config_override
Sep 9, 2020
Merged

Modules: Fix configuration overriding#18514
alalazo merged 2 commits intospack:developfrom
RemiLacroix-IDRIS:modules_config_override

Conversation

@RemiLacroix-IDRIS
Copy link
Copy Markdown
Contributor

This got broken some times ago but nobody noticed.

@RemiLacroix-IDRIS
Copy link
Copy Markdown
Contributor Author

The unitttests are failing because commit e743726 from PR #18351 is required to have the same behavior as main Spack.

I can either push this commit to this PR or wait for the first PR to be merge before rebasing this one.

@alalazo
Copy link
Copy Markdown
Member

alalazo commented Sep 7, 2020

@RemiLacroix-IDRIS Let's wait for #18315 to go in and then rebase this PR.

This is a special case of overriding since each section is being matched with the current spec.

The trailing ':' for sections with override is now removed when parsing the configuration so the special handling for the modules configuration stopped working but it went unnoticed.
@RemiLacroix-IDRIS
Copy link
Copy Markdown
Contributor Author

@RemiLacroix-IDRIS Let's wait for #18351 to go in and then rebase this PR.

Done. The unittests passed as expected (except for the MacOS ones but for an unrelated reason).

@alalazo alalazo merged commit fa04ad5 into spack:develop Sep 9, 2020
@alalazo
Copy link
Copy Markdown
Member

alalazo commented Sep 9, 2020

Thanks!

@RemiLacroix-IDRIS RemiLacroix-IDRIS deleted the modules_config_override branch September 9, 2020 16:33
@RemiLacroix-IDRIS
Copy link
Copy Markdown
Contributor Author

You're welcome. :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants