Skip to content

spack graph: fix coloring with environments#41240

Merged
haampie merged 1 commit intospack:developfrom
alalazo:features/graph-env-aware
Nov 24, 2023
Merged

spack graph: fix coloring with environments#41240
haampie merged 1 commit intospack:developfrom
alalazo:features/graph-env-aware

Conversation

@alalazo
Copy link
Copy Markdown
Member

@alalazo alalazo commented Nov 23, 2023

If we use env.all_specs(), we won't color correctly build-only dependencies (since we'll graph all nodes explicitly). With this fix they are displayed with a different color.

For instance, in the following graph:

environment

The pure build dependencies (in red) are colored blue.

If we use all specs, we won't color correctly build-only dependencies
@alalazo alalazo added the bugfix Something wasn't working, here's a fix label Nov 23, 2023
@alalazo alalazo added this to the v0.21.1 milestone Nov 23, 2023
@spackbot-app spackbot-app bot added commands core PR affects Spack core functionality labels Nov 23, 2023
@alalazo alalazo requested a review from tgamblin November 23, 2023 20:40
@alalazo alalazo mentioned this pull request Nov 23, 2023
36 tasks
@haampie haampie merged commit 92d076e into spack:develop Nov 24, 2023
@alalazo alalazo deleted the features/graph-env-aware branch November 24, 2023 09:10
haampie pushed a commit that referenced this pull request Nov 24, 2023
If we use all specs, we won't color correctly build-only dependencies
mtaillefumier pushed a commit to mtaillefumier/spack that referenced this pull request Dec 14, 2023
If we use all specs, we won't color correctly build-only dependencies
alalazo added a commit that referenced this pull request Jan 10, 2024
If we use all specs, we won't color correctly build-only dependencies
RikkiButler20 pushed a commit to RikkiButler20/spack that referenced this pull request Jan 31, 2024
If we use all specs, we won't color correctly build-only dependencies
vjranagit pushed a commit to vjranagit/spack that referenced this pull request Jan 18, 2026
If we use all specs, we won't color correctly build-only dependencies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bugfix Something wasn't working, here's a fix commands core PR affects Spack core functionality

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants