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

fix dry-run output when using multi_deps #4678

Merged
merged 2 commits into from
Dec 11, 2024

Conversation

Flamefire
Copy link
Contributor

When using multi_deps the dry-run sanity check step should be run multiple times just as is done in the real build.
However the decision which method to call is made before calling _sanity_check_step_multi_deps and that doesn't check for dry-run.

Factor out a dispatch method that can be called during the iteration of the multiple dependencies and use that in both cases.

When using `multi_deps` the dry-run sanity check step should be run
multiple times just as is done in the real build.
However the decision which method to call is made before calling
`_sanity_check_step_multi_deps` and that doesn't check for dry-run.

Factor out a dispatch method that can be called during the iteration of
the multiple dependencies and use that in both cases.
`easyblocks_dir` already exists so no need to re-compute it as `new_dir`
Copy link
Member

@boegel boegel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@boegel boegel merged commit dcbd5c9 into easybuilders:develop Dec 11, 2024
37 checks passed
@Flamefire Flamefire deleted the dry-run-multi-deps branch December 11, 2024 08:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants