Learn more about these different git repos.
Other Git URLs
If I'm starting out a package, I might put it in git to track my work.
git
However, this breaks fedpkg mockbuild as it tries to look for git remotes:
fedpkg mockbuild
$ cat > foo.spec << EOF Name: foo Version: 1 Release: %autorelease Summary: foo License: MIT Source: foo.tar.xz %description %summary %changelog %autochangelog EOF $ git init -b rawhide $ fedpkg mockbuild Could not execute mockbuild: ('Could not download sources: %s', GitError("reference 'refs/heads/rawhide' not found"))
This should not be a fatal error if the source tarball is already there (which in this case, it isn't, but it should fail for that, not the git remote).
Ah, sorry, after some more testing, it's not that a remote is required, it's that I never committed anything and it can't guess the branch name?
Git knows that the to-be-created branch is rawhide, as does my shell prompt, so there must be some fallback that fedpkg can use to figure it out. But for now I can just make an initial commit.
rawhide
fedpkg
Log in to comment on this ticket.