avoid redirection warning when cloning anonymously

Using `centpkg clone -a` results in a warning from git due to the URL
being redirected:

    $ centpkg clone -a git
    Cloning into 'git'...
    warning: redirecting to https://gitlab.com/redhat/centos-stream/rpms/git.git/
    ...

Update anongiturl to point to the real URL for HTTP cloning.  The
addition of the trailing slash does not raise a warning, so it may be
safely left off the URL.
This commit is contained in:
Todd Zullinger 2023-04-07 13:56:59 -04:00
parent 0bd479fa66
commit fe493e3aab

View file

@ -5,7 +5,7 @@ lookaside_cgi = https://sources.stream.rdu2.redhat.com/lookaside/upload.cgi
distgit_namespaced = True
distgit_namespaces = rpms
gitbaseurl = git+ssh://git@gitlab.com/redhat/centos-stream/%(repo)s.git
anongiturl = https://gitlab.com/redhat/centos-stream/%(repo)s
anongiturl = https://gitlab.com/redhat/centos-stream/%(repo)s.git
branchre = .+\d$|.+\d-.+|master$
kojiprofile = stream
build_client = "koji -p stream"