Skip to content

Fix multi-word aliases#41126

Merged
haampie merged 1 commit intospack:developfrom
michaelkuhn:aliases-verbose
Nov 24, 2023
Merged

Fix multi-word aliases#41126
haampie merged 1 commit intospack:developfrom
michaelkuhn:aliases-verbose

Conversation

@michaelkuhn
Copy link
Copy Markdown
Member

PR #40929 reverted the argument parsing to make spack --verbose install work again. It looks like --verbose is the only instance where this kind of argument inheritance is used since all other commands override arguments with the same name instead. For instance, spack --bootstrap clean does not invoke spack clean --bootstrap.

Therefore, fix multi-line aliases again by parsing the resolved arguments and instead explicitly pass down args.verbose to commands.

PR spack#40929 reverted the argument parsing to make `spack --verbose
install` work again. It looks like `--verbose` is the only instance
where this kind of argument inheritance is used since all other commands
override arguments with the same name instead. For instance, `spack
--bootstrap clean` does not invoke `spack clean --bootstrap`.

Therefore, fix multi-line aliases again by parsing the resolved
arguments and instead explicitly pass down `args.verbose` to commands.
@spackbot-app spackbot-app bot added the core PR affects Spack core functionality label Nov 17, 2023
@michaelkuhn michaelkuhn requested a review from haampie November 17, 2023 00:19
@michaelkuhn michaelkuhn mentioned this pull request Nov 17, 2023
36 tasks
@alalazo alalazo added this to the v0.21.1 milestone Nov 20, 2023
@haampie haampie merged commit 7db386a into spack:develop Nov 24, 2023
haampie pushed a commit that referenced this pull request Nov 24, 2023
PR #40929 reverted the argument parsing to make `spack --verbose
install` work again. It looks like `--verbose` is the only instance
where this kind of argument inheritance is used since all other commands
override arguments with the same name instead. For instance, `spack
--bootstrap clean` does not invoke `spack clean --bootstrap`.

Therefore, fix multi-line aliases again by parsing the resolved
arguments and instead explicitly pass down `args.verbose` to commands.
mtaillefumier pushed a commit to mtaillefumier/spack that referenced this pull request Dec 14, 2023
PR spack#40929 reverted the argument parsing to make `spack --verbose
install` work again. It looks like `--verbose` is the only instance
where this kind of argument inheritance is used since all other commands
override arguments with the same name instead. For instance, `spack
--bootstrap clean` does not invoke `spack clean --bootstrap`.

Therefore, fix multi-line aliases again by parsing the resolved
arguments and instead explicitly pass down `args.verbose` to commands.
alalazo pushed a commit that referenced this pull request Jan 10, 2024
PR #40929 reverted the argument parsing to make `spack --verbose
install` work again. It looks like `--verbose` is the only instance
where this kind of argument inheritance is used since all other commands
override arguments with the same name instead. For instance, `spack
--bootstrap clean` does not invoke `spack clean --bootstrap`.

Therefore, fix multi-line aliases again by parsing the resolved
arguments and instead explicitly pass down `args.verbose` to commands.
RikkiButler20 pushed a commit to RikkiButler20/spack that referenced this pull request Jan 31, 2024
PR spack#40929 reverted the argument parsing to make `spack --verbose
install` work again. It looks like `--verbose` is the only instance
where this kind of argument inheritance is used since all other commands
override arguments with the same name instead. For instance, `spack
--bootstrap clean` does not invoke `spack clean --bootstrap`.

Therefore, fix multi-line aliases again by parsing the resolved
arguments and instead explicitly pass down `args.verbose` to commands.
vjranagit pushed a commit to vjranagit/spack that referenced this pull request Jan 18, 2026
PR spack#40929 reverted the argument parsing to make `spack --verbose
install` work again. It looks like `--verbose` is the only instance
where this kind of argument inheritance is used since all other commands
override arguments with the same name instead. For instance, `spack
--bootstrap clean` does not invoke `spack clean --bootstrap`.

Therefore, fix multi-line aliases again by parsing the resolved
arguments and instead explicitly pass down `args.verbose` to commands.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

core PR affects Spack core functionality

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants