Skip to content

Commit 0b00fcb

Browse files
committed
Merge branch 'develop' into 5.0.x
2 parents c14a130 + 8128fb1 commit 0b00fcb

File tree

5 files changed

+6
-6
lines changed

5 files changed

+6
-6
lines changed

.github/workflows/unit_tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ jobs:
166166
echo "Not testing with '${module_syntax}' as module syntax with '${EASYBUILD_MODULES_TOOL}' as modules tool"
167167
continue
168168
fi
169-
printf '\n\n=====================> Using $module_syntax module syntax <=====================\n\n'
169+
printf "\n\n=====================> Using $module_syntax module syntax <=====================\n\n"
170170
export EASYBUILD_MODULE_SYNTAX="${module_syntax}"
171171
export TEST_EASYBUILD_MODULE_SYNTAX="${EASYBUILD_MODULE_SYNTAX}"
172172

easybuild/tools/filetools.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@
162162
# tar.Z: using compress (LZW), but can be handled with gzip so use 'z'
163163
'.tar.z': "tar xzf %(filepath)s",
164164
# shell scripts don't need to be unpacked, just copy there
165-
'.sh': "cp -a %(filepath)s .",
165+
'.sh': "cp -dR %(filepath)s .",
166166
}
167167

168168
ZIPPED_PATCH_EXTS = ('.bz2', '.gz', '.xz')

easybuild/tools/github.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1371,8 +1371,7 @@ def close_pr(pr, motivation_msg=None):
13711371
if not reopen:
13721372
msg += "\nPlease don't hesitate to reopen this PR or add a comment if you feel this contribution is still "
13731373
msg += "relevant.\nFor more information on our policy w.r.t. closing PRs, see "
1374-
msg += "https://easybuild.readthedocs.io/en/latest/Contributing.html"
1375-
msg += "#why-a-pull-request-may-be-closed-by-a-maintainer"
1374+
msg += "https://docs.easybuild.io/contributing/#contributing_review_process_why_pr_closed_by_maintainer"
13761375
post_comment_in_issue(pr, msg, account=pr_target_account, repo=pr_target_repo, github_user=github_user)
13771376

13781377
if dry_run:

easybuild/tools/options.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -353,7 +353,8 @@ def override_options(self):
353353
None, 'store_true', False),
354354
'allow-use-as-root-and-accept-consequences': ("Allow using of EasyBuild as root (NOT RECOMMENDED!)",
355355
None, 'store_true', False),
356-
'backup-modules': ("Back up an existing module file, if any. Only works when using --module-only",
356+
'backup-modules': ("Back up an existing module file, if any. "
357+
"Auto-enabled when using --module-only or --skip",
357358
None, 'store_true', None), # default None to allow auto-enabling if not disabled
358359
'backup-patched-files': ("Create a backup (*.orig) file when applying a patch",
359360
None, 'store_true', False),

test/framework/filetools.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ def test_extract_cmd(self):
106106
('test.txz', "unset TAPE; unxz test.txz --stdout | tar x"),
107107
('test.iso', "7z x test.iso"),
108108
('test.tar.Z', "tar xzf test.tar.Z"),
109-
('test.foo.bar.sh', "cp -a test.foo.bar.sh ."),
109+
('test.foo.bar.sh', "cp -dR test.foo.bar.sh ."),
110110
# check whether extension is stripped correct to determine name of target file
111111
# cfr. https://github.com/easybuilders/easybuild-framework/pull/3705
112112
('testbz2.bz2', "bunzip2 -c testbz2.bz2 > testbz2"),

0 commit comments

Comments
 (0)