Learn more about these different git repos.
Other Git URLs
If fedpkg --release rawhide mockbuild is run outside of a Git repository, and the specfile is not valid UTF-8, the result is an endless loop of following errors:
fedpkg --release rawhide mockbuild
$ fedpkg --release rawhide mockbuild ... Failed to get repository name from Git url or pushurl Failed to get ns from Git url or pushurl Failed to get repository name from Git url or pushurl Failed to get ns from Git url or pushurl Failed to get repository name from Git url or pushurl Failed to get ns from Git url or pushurl ...
The reason is that outside of Git repository, load_repo_name calls load_nameverrel. That function errors because specfile parsing fails, and then attempts to use repo_name() in its error message.
load_repo_name
load_nameverrel
repo_name()
This problem turned out to be caused by this situation: https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/thread/BL45QXVCRGJWUPW4WRT3DF77NGQ72AI3/
Commit 7c61ddf fixes this issue
Login to comment on this ticket.