#230 Cloning from "rpms/foo" produces different git config than when cloning from "foo"
Closed: Fixed 5 years ago Opened 5 years ago by tibbs.

I'm not entirely sure it is supported to clone from "rpms/foo", but if it's supposed to be:

If you "clone rpms/foo", the cloned repository has a different git configuration than if you had cloned "foo". Specifically, it appears that the "rpms/" prefix is not stripped from "default-component" in the "[bz]" stanza, and in "to" of the "[sendmail]" stanza. From clones of "xu4" and "rpms/xu4":

diff -ur a/.git/config b/.git/config
--- a/.git/config       2018-06-07 18:32:25.066906169 -0500
+++ b/.git/config       2018-06-07 18:33:47.676625593 -0500
@@ -13,6 +13,6 @@
        default-tracker = bugzilla.redhat.com
        default-product = Fedora
        default-version = rawhide
-       default-component = xu4
+       default-component = rpms/xu4
 [sendemail]
-       to = xu4-owner@fedoraproject.org
+       to = rpms/xu4-owner@fedoraproject.org

This is with fedpkg 1.33-2.fc28 and with 1.33-3.fc29.


This should be fixed in rpkg. Refer to issue https://pagure.io/rpkg/issue/326

A PR to fix the rpkg portion of this issue is in rpkg#327. The fedpkg part is in fedpkg#234.

Metadata Update from @cqi:
- Issue tagged with: rpkg

5 years ago

Metadata Update from @cqi:
- Issue set to the milestone: 1.34
- Issue tagged with: bug

5 years ago

Metadata Update from @cqi:
- Issue close_status updated to: Fixed
- Issue status updated to: Closed (was: Open)

5 years ago

Login to comment on this ticket.

Metadata