Skip to content

Commit c352a9a

Browse files
committed
Print a warning if the slow path is entered
1 parent fafaf30 commit c352a9a

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

easybuild/tools/filetools.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2503,6 +2503,9 @@ def get_source_tarball_from_git(filename, targetdir, git_config):
25032503
# Note: Disable logging to also disable the error handling in run_cmd
25042504
(out, ec) = run.run_cmd(cmd, log_ok=False, log_all=False, regexp=False, path=repo_name)
25052505
if ec != 0 or tag not in out.splitlines():
2506+
print_warning('Tag %s was not downloaded in the first try due to %s/%s containing a branch'
2507+
' with the same name. You might want to alert the maintainers of %s about that issue.',
2508+
tag, url, repo_name, repo_name)
25062509
cmds = []
25072510
if not keep_git_dir:
25082511
# Make the repo unshallow, same as git fetch --unshallow in git 1.8.3+

0 commit comments

Comments
 (0)