We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 87b733a commit dd28095Copy full SHA for dd28095
easybuild/tools/filetools.py
@@ -2819,6 +2819,11 @@ def reproducible_filter(tarinfo):
2819
archive_filename = archive_name + archive_ext
2820
archive_path = archive_filename if archive_dir is None else os.path.join(archive_dir, archive_filename)
2821
2822
+ if build_option('extended_dry_run'):
2823
+ # early return in dry run mode
2824
+ dry_run_msg("Archiving '%s' into '%s'...", dir_path, archive_path)
2825
+ return archive_path
2826
+
2827
# TODO: replace with TarFile.add(recursive=True) when support for Python 3.6 drops
2828
# since Python v3.7 tarfile automatically orders the list of files added to the archive
2829
dir_files = [dir_path]
0 commit comments