#426 Clone main branch with clone -B
Merged 3 years ago by onosek. Opened 3 years ago by lsedlar.
lsedlar/fedpkg clone-branches  into  master

@@ -4,7 +4,7 @@ 

  lookaside_cgi = https://src.stg.fedoraproject.org/repo/pkgs/upload.cgi

  gitbaseurl = ssh://%(user)s@pkgs.stg.fedoraproject.org/%(repo)s

  anongiturl = https://src.stg.fedoraproject.org/%(repo)s.git

- branchre = f\d$|f\d\d$|el\d$|olpc\d$|master$

+ branchre = f\d$|f\d\d$|el\d$|olpc\d$|rawhide$

  kojiprofile = stg

  build_client = koji

  clone_config_rpms =

file modified
+1 -1
@@ -4,7 +4,7 @@ 

  lookaside_cgi = https://src.fedoraproject.org/repo/pkgs/upload.cgi

  gitbaseurl = ssh://%(user)s@pkgs.fedoraproject.org/%(repo)s

  anongiturl = https://src.fedoraproject.org/%(repo)s.git

- branchre = f\d$|f\d\d$|el\d$|olpc\d$|master$

+ branchre = f\d$|f\d\d$|el\d$|olpc\d$|rawhide$

  kojiprofile = koji

  build_client = koji

  clone_config_rpms =

no initial comment

rebased onto fd0569e3fe3c73fd49d91e93de6c313ae4e8bd62

3 years ago

rebased onto b06c7644dad53cfe1c2770ca26e3a84f2366fe36

3 years ago

rebased onto f3c48d9578e81dd50ccc0089d3670dc20be44d30

3 years ago

Should it be rawhide? Main is a symbolic ref.

The way I interpret the change is that main exists in all namespaces and rawhide only in rpms/.
Current implementation doesn't easily allowing changing this per namespace.

@churchyard: Regarding releasing this patch... I will do the update for Rawhide and F33 today. And for F32 and others ... I will create it after waiting updates (you have just unblocked) are done (I suppose tomorrow). I will manually push them to stable if you are OK with it.

Maybe I'm wrong, I just tested cloning a few container and module repos and those do work with rawhide as well.

I don't know what's the best name to use. We could add both, but then people will end up with basically the same thing cloned twice, which will also be confusing.

rebased onto 8cf3562

3 years ago

I agree with rawhide. Thanks.

Patch released in rawhide and already got some karma in F33 so far. Merging.

Pull-Request has been merged by onosek

3 years ago