#99 Use gitlab.com for the centpkg-sig as default dist-git URL
Closed 2 months ago by tdawson. Opened 5 months ago by mfocko.
centos/ mfocko/centpkg chore/adjust-rpkg-sig-config  into  develop

Use gitlab.com for the centpkg-sig
Matej Focko • 5 months ago  
file modified
+6 -2
@@ -5,8 +5,8 @@ 

  # lookaside_cgi = https://git.centos.org/sources/upload.cgi

  distgit_namespaced = True

  distgit_namespaces = rpms

- gitbaseurl = ssh://git@git.centos.org/%(repo)s.git

- anongiturl = https://git.centos.org/%(repo)s

+ gitbaseurl = git+ssh://git@gitlab.com/CentOS/%(repo)s.git

+ anongiturl = https://gitlab.com/CentOS/%(repo)s.git

  branchre = c\d+s?-sig-.+|master$

  kojiprofile = cbs

  build_client = cbs
@@ -26,3 +26,7 @@ 

    /.build-*.log

    results_*/

    clog

+ 

+ [centpkg-sig.distgit]

+ apibaseurl = https://gitlab.com

+ token = 

Previously broken cloning has been fixed in 875769 & 8e123d and now
expects the repos to be present on the gitlab.com/CentOS/‹SIG›/rpms
namespace, given the validation happens against gitlab.com it doesn't
make much sense to expect the repos to be present on git.centos.org.

Therefore change the default dist-git URLs for SIG repos to be on
gitlab.com rather than git.centos.org

Signed-off-by: Matej Focko mfocko@redhat.com

@tdawson sorry for splitting it across multiple PRs, didn't realize I have changed the config locally during testing

Not a problem.
Actually it's a good thing.
We need to check with the various SIG's and see which git they use.
Since you are the first to request this, it's possible that the others are using git.centos.org. Or, it's possible that they aren't using centpkg, so they didn't need this change.
I'm going to ping some of the SIG's to see how they feel about this.

Sure, no problem. Previous PR fixed the cloning that didn't work, and it has been brought to my attention that there is a repo with scripts for manipulating rpms for SIGs, so I think that the centpkg is not used. In case it breaks someone's use case, we could always just patch the config on our end (in the Packit Service).

CloudSIG still uses a couple of repos on git.centos.org but I'll happily move them over to Gitlab now.

I am closing this. There are enough CentOS SIG's that use what is currently set.

Pull-Request has been closed by tdawson

2 months ago
Metadata