#657 Endless loop of "Failed to get from Git" errors
Closed: Fixed a year ago by onosek. Opened a year ago by oturpe.

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
...
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.

This problem turned out to be caused by this situation:
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/thread/BL45QXVCRGJWUPW4WRT3DF77NGQ72AI3/


Login to comment on this ticket.

Metadata
Related Pull Requests
  • #658 Merged a year ago