-
Notifications
You must be signed in to change notification settings - Fork 216
use more granular exit codes when EasyBuildError is raised
#4534
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
Merged
boegel
merged 38 commits into
easybuilders:5.0.x
from
dagonzalezfo:4426_granular_exit_code
Sep 18, 2024
Merged
Changes from 12 commits
Commits
Show all changes
38 commits
Select commit
Hold shift + click to select a range
27cea15
WIP: Add kwargs for error class initialization, enable get error catc…
dagonzalezfo cdbb029
pass exit_code equals to for missing os dependencies
dagonzalezfo 199663f
add error codes from 3 to 7
dagonzalezfo d8041df
Add some exit codes for bash commands, sanity check and missing files
dagonzalezfo a384a04
add exit codes for eb validation and for writing module
dagonzalezfo 58de0a5
homogenize syntax
dagonzalezfo 81b0e19
restore sources.easybuild.io
dagonzalezfo 341bff5
fix spaces
dagonzalezfo 43b7f16
fix spaces, tabs etc
dagonzalezfo 02967a2
Minior fixes regarding syntax
dagonzalezfo 51f6d6f
Define exit code for successfull installation, homogenise exit code s…
dagonzalezfo e9f201a
Add exceptions for test pass
dagonzalezfo 08ea315
Merge branch '5.0.x' into granular_exit_code
lexming 0d31d34
add EasyBuildExit to easybuild.tools.build_log to define table of gra…
lexming c81572c
Merge pull request #1 from lexming/granular_exit_code
dagonzalezfo 4366686
Fixing hound related errors
dagonzalezfo 0f1cbbd
Merge branch '5.0.x' into 4426_granular_exit_code
dagonzalezfo 04e7574
fix formatting in easybuild.tools.build_log
lexming 688ca4d
add missing import of print_error
lexming fa0fbbf
Merge branch '5.0.x' into 4426_granular_exit_code
lexming 6c56d91
correct regression on easyblock import error handling
lexming 409ec08
update error message reference in test_toy_extension_extract_cmd
lexming 85b94a6
Merge branch '5.0.x' into 4426_granular_exit_code
boegel 1a900e7
Apply suggestions from code review
dagonzalezfo 151b959
simplify code to inform about files not found with no download option
lexming 6b31f39
add safeguard in case of step missing its exit code in EasyBuildExit
lexming 4273c90
fix error message reference in test_obtain_file
lexming bcdba6d
Merge branch '5.0.x' into 4426_granular_exit_code
lexming 60e06ce
ensure that exit_code is always set at the end of build_and_install_one
lexming a5e805a
lock down options incorporated as attributes of EasyBuildError objects
lexming 1b4e95a
use VALUE_ERROR as exit code for wrong commit hashes in easyconfigs
lexming b5d5bc8
use VALUE_ERROR as exit code for wrong download_repo
lexming 8f4304f
use FAIL_GITHUB exit code for failure to fetch files of easyconfig PR
lexming 4e700b5
use FAIL_GITHUB exit code for failure to fetch files of easyconfig co…
lexming 79e019b
use OPTION_ERROR as exit code for wrong PR number
lexming 9a57cc9
remove hardcoded mention to develop branch in error message
lexming c7ae4af
remove hardcoded mention to develop branch in error message
lexming 9eaec3b
replace MISS_EASYCONFIG with new MISSING_EASYCONFIG exit code reference
lexming File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.