Skip to content

trigger pre-hook in run_shell_cmd as early as possible so dry-run + trace output is correct#4544

Merged
boegel merged 3 commits intoeasybuilders:5.0.xfrom
Micket:earlierhooks
Jun 5, 2024
Merged

trigger pre-hook in run_shell_cmd as early as possible so dry-run + trace output is correct#4544
boegel merged 3 commits intoeasybuilders:5.0.xfrom
Micket:earlierhooks

Conversation

@Micket
Copy link
Copy Markdown
Contributor

@Micket Micket commented May 30, 2024

Fixes #4490

@Micket Micket added change EasyBuild-5.0 EasyBuild 5.0 labels May 30, 2024
@Micket Micket added this to the 5.0 milestone May 30, 2024
@Micket Micket changed the base branch from develop to 5.0.x May 30, 2024 09:40
@Micket
Copy link
Copy Markdown
Contributor Author

Micket commented May 30, 2024

I think it's right but it's untested, will do so later

@boegel
Copy link
Copy Markdown
Member

boegel commented Jun 5, 2024

@Micket We should try and reproduce the bug in a test for run_shell_cmd, which will also confirm that the proposed changes are correct (they look OK to me)

@boegel boegel added the EasyBuild-5.0-blocker Blocker for EasyBuild 5.0 label Jun 5, 2024
@Micket Micket marked this pull request as ready for review June 5, 2024 17:32
@boegel boegel changed the title Move run_shell_cmd hooks to run earlier trigger pre-hook in run_shell_cmd as early as possible so dry-run + trace output is correct Jun 5, 2024
@boegel boegel added bug fix and removed change labels Jun 5, 2024
Copy link
Copy Markdown
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 4223ede into easybuilders:5.0.x Jun 5, 2024
@Micket Micket deleted the earlierhooks branch June 7, 2024 10:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug fix EasyBuild-5.0-blocker Blocker for EasyBuild 5.0 EasyBuild-5.0 EasyBuild 5.0

Projects

No open projects
Status: No status

Development

Successfully merging this pull request may close these issues.

run_shell_cmd hooks should be applied earlier

2 participants