mirror of
https://git.centos.org/centos/centpkg.git
synced 2025-02-23 08:12:55 +00:00
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:
parent
0bd479fa66
commit
fe493e3aab
1 changed files with 1 additions and 1 deletions
|
@ -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"
|
||||
|
|
Loading…
Add table
Reference in a new issue