Bug 1709674

Summary: Fails to clone with branches
Product: [Fedora] Fedora Reporter: Milan Crha <mcrha>
Component: fedpkgAssignee: cqi
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 30CC: cqi, dennis, jkeating, lsedlar, onosek, s
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-05-14 07:18:17 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Milan Crha 2019-05-14 07:02:30 UTC
This is with:

$ rpm -q fedpkg
fedpkg-1.37-1.fc30.noarch

Fails to clone with -B:

$ fedpkg clone --anonymous -B glib2
Cloning into bare repository '/home/user/fedora/glib2/rpkg.git'...
remote: Counting objects: 2961, done.
remote: Compressing objects: 100% (2212/2212), done.
remote: Total 2961 (delta 1243), reused 1583 (delta 621)
Receiving objects: 100% (2961/2961), 452.58 KiB | 527.00 KiB/s, done.
Resolving deltas: 100% (1243/1243), done.
Could not execute clone: [Errno 2] No such file or directory: '/home/user/fedora/glib2/rpkg.git/.git/info/exclude'

Removing the -B makes it work:

$ fedpkg clone --anonymous glib2
Cloning into 'glib2'...
remote: Counting objects: 2961, done.
remote: Compressing objects: 100% (2212/2212), done.
remote: Total 2961 (delta 1245), reused 1583 (delta 621)
Receiving objects: 100% (2961/2961), 441.95 KiB | 511.00 KiB/s, done.
Resolving deltas: 100% (1245/1245), done.

Comment 1 Milan Crha 2019-05-14 07:04:22 UTC
Running the same command (with -B) for example with fedpkg-1.32-1.fc28.noarch works just fine.

Comment 2 Lubomír Sedlář 2019-05-14 07:18:17 UTC
Please try with latest python3-rpkg installed. 1.58-2 should fix this issue.

*** This bug has been marked as a duplicate of bug 1707223 ***

Comment 3 Milan Crha 2019-05-14 07:36:04 UTC
(In reply to Lubomír Sedlář from comment #2)
> Please try with latest python3-rpkg installed. 1.58-2 should fix this issue.

Thanks, it survives with it. My fault I didn't try to update the machine first, I thought (incorrectly) there would be nothing since my yesterday update. I'm sorry about that. The same that I missed the already filled bug.