-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'develop' into download
- Loading branch information
Showing
3,746 changed files
with
88,960 additions
and
42,828 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
There are no files selected for viewing
This file contains 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 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 was deleted.
Oops, something went wrong.
This file contains 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 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 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,12 @@ | ||
# Enhancements in EasyBuild v5.0 | ||
|
||
*(for a full overview of changes in EasyBuild v5.0, see [here](overview-of-changes.md))* | ||
*(for a full overview of changes in EasyBuild v5.0, see [here](index.md))* | ||
|
||
Various significant enhancements are included in EasyBuild v5.0, including: | ||
|
||
* [`run_shell_cmd` function][run_shell_cmd] | ||
- [`run_shell_cmd` function][run_shell_cmd] | ||
- [Granular exit codes][granular_exit_codes] | ||
- [Reproducible tarballs][reproducible_tarballs] | ||
Check failure on line 9 in docs/easybuild-v5/enhancements.md GitHub Actions / buildLists should be surrounded by blank lines
|
||
* [Require `download_instructions` to be specified][require_download_instructions] | ||
Check failure on line 10 in docs/easybuild-v5/enhancements.md GitHub Actions / buildUnordered list style
Check failure on line 10 in docs/easybuild-v5/enhancements.md GitHub Actions / buildLists should be surrounded by blank lines
|
||
|
||
--- | ||
|
@@ -15,6 +17,37 @@ See dedicated page on the new [`run_shell_cmd` function](run_shell_cmd.md). | |
|
||
--- | ||
|
||
## Granular exit codes { : #granular_exit_codes } | ||
|
||
EasyBuild v5 now uses a range of ~50 exit codes instead of just 0 for normal | ||
termination and 1 for unexpected termination. Each non-zero exit code | ||
correlates to the specific type of error or failure that caused the | ||
termination of the program. For instance, a missing easyconfig or a failed | ||
checksum check. The full list of exit codes is defined in the class | ||
[easybuild.tools.build_log.EasyBuildExit](https://github.com/easybuilders/easybuild-framework/blob/main/easybuild/tools/build_log.py#L74). | ||
|
||
EasyBuild will always return its own exit codes on termination. Other exit | ||
codes from external processes executed through `run_shell_cmd` or HTTP response | ||
status codes are reported in the corresponding logs. | ||
|
||
--- | ||
|
||
## Reproducible tarballs { : #reproducible_tarballs} | ||
|
||
EasyBuild can now generate reproducible tarballs of sources cloned from Git | ||
repositories. This means that those sources using the `git_config` option will | ||
now have consistent contents across different systems and across time, allowing | ||
to reliably validate them with checksums. EasyBuild follows the | ||
[archival guidelines from reproducible-builds.org](https://reproducible-builds.org/docs/archives/) | ||
to generate those reproducible tarballs. | ||
|
||
This new feature does not apply to sources cloned with `keep_git_dir` enabled. | ||
Including the `.git` folder in the sources is inherently time-dependent as it | ||
contains information about the clone action itself, which hinders the creation | ||
of a reproducible tarball. | ||
|
||
--- | ||
|
||
## Require `download_instructions` to be specified {: require_download_instructions } | ||
|
||
[`download_instructions`][download_instructions] is used in easyconfigs to specify instructions, or information, on | ||
|
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,91 @@ | ||
# EasyBuild v5.0 | ||
|
||
- [Overview of changes](overview-of-changes.md) | ||
- [Backwards-incompatible changes](backwards-incompatible-changes.md) | ||
- [Changes in default configuration](changes-in-default-configuration.md) | ||
- [Enhancements](enhancements.md) | ||
- [`run_shell_cmd` function](run_shell_cmd.md) | ||
- [Deprecated functionality](deprecated-functionality.md) | ||
- [Policies](policies.md) | ||
- [GitHub Project board](https://github.com/orgs/easybuilders/projects/18) | ||
A high-level overview of changes in EasyBuild version 5.0 is listed below. | ||
|
||
Click on a particular item for more information. | ||
|
||
!!! warning "EasyBuild version 5.0.0 is not released yet" | ||
|
||
EasyBuild v5.0.0 is still under active development via the `5.0.x` branches in the EasyBuild GitHub repositories. | ||
|
||
Shortly before the release of EasyBuild v5.0.0, the `5.0.x` branches will be collapsed in the corresponding | ||
`develop` branches, and the `5.0.x` branches will then only be used as a staging area for additional EasyBuild | ||
v5.0.x releases. | ||
|
||
The overview below is known to be incomplete, and will be gradually completed as we approach | ||
the release of EasyBuild v5.0.0. | ||
|
||
--- | ||
|
||
## Breaking changes {: #breaking-changes } | ||
|
||
EasyBuild v5.0 includes a number of backwards-incompatible changes: | ||
|
||
- [Python 3.6+ is required to run EasyBuild v5.0.0](python36-required.md) | ||
|
||
See also the [overview of removed functionality][removed-functionality] below. | ||
|
||
|
||
--- | ||
|
||
## Changes in default configuration | ||
|
||
The default value for several EasyBuild configuration settings has been changed in EasyBuild v5.0: | ||
|
||
- [RPATH linking is enabled by default (`--rpath`)](changes-in-default-configuration.md#rpath) | ||
- [Trace output is enabled by default (`--trace`)](changes-in-default-configuration.md#trace) | ||
|
||
|
||
--- | ||
|
||
## Enhancements | ||
|
||
Various significant enhancements are included in EasyBuild v5.0, including: | ||
|
||
- [`run_shell_cmd` function](run_shell_cmd.md) | ||
- [Granular exit codes](enhancements.md#granular_exit_codes) | ||
- [Reproducible tarballs](enhancements.md#reproducible_tarballs) | ||
|
||
|
||
--- | ||
|
||
## Removed functionality {: #removed-functionality } | ||
|
||
Functionality that was deprecated a while ago has been removed: | ||
|
||
- [EasyBuild bootstrap script is removed](removed-functionality.md#bootstrap_script) | ||
- [Experimental support for `.yeb` easyconfig format is removed](removed-functionality.md#yeb) | ||
|
||
|
||
--- | ||
|
||
## Deprecated functionality {: #deprecated-functionality } | ||
|
||
Some functionality is being deprecated in EasyBuild v5.0, and is scheduled to be removed in EasyBuild v6.0: | ||
|
||
- [`run_cmd` and `run_cmd_qa` functions](deprecated-functionality.md#run_cmd) | ||
- [`easybuild.tools.py2vs3` module](deprecated-functionality.md#py2vs3) | ||
|
||
|
||
--- | ||
|
||
## Other changes | ||
|
||
*(coming soon)* | ||
|
||
|
||
--- | ||
|
||
## FAQ | ||
|
||
*(coming soon)* | ||
|
||
|
||
--- | ||
|
||
## Other links | ||
|
||
- [Beta releases and release candidates](release-candidates.md) | ||
- [GitHub Project board for EasyBuild v5.0](https://github.com/orgs/easybuilders/projects/18) | ||
- [Talk on EasyBuild 5.0 at EasyBuild User Meeting 2023](https://easybuild.io/eum23/#easybuild5) | ||
- [Talk on EasyBuild 5.0 at EasyBuild User Meeting 2024](https://easybuild.io/eum24/#eb5) |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.