Bug 1303358

Summary: please install git-credentials-netrc
Product: [Fedora] Fedora Reporter: Paolo Bonzini <pbonzini>
Component: gitAssignee: Petr Stodulka <pstodulk>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: chrisw, jbowes, pbonzini, pstodulk, tmz
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-04-11 16:43:39 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:
Attachments:
Description Flags
patch to install git-credentials-netrc
none
Install git-credentials-netrc none

Description Paolo Bonzini 2016-01-31 10:59:50 UTC
Created attachment 1119801 [details]
patch to install git-credentials-netrc

Compared to git-credentials-store, the git-credentials-netrc helper has the following differences:

1) credentials have to be set up manually; it doesn't piggyback on an interactive "ask password" application

2) it allows to use gpg encryption (including e.g. using gpg-agent and a smartcard for the decryption keys)

For this reason, git-credentials-netrc is a better match for headless machines than git-credentials-store.  The attached patch installs it along with other helpers.  git-credentials-gnome-keyring is a precedent of installing contrib helpers to /usr/libexec, so I'm doing the same in this patch.

Comment 1 Jan Kurik 2016-02-24 14:22:54 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 24 development cycle.
Changing version to '24'.

More information and reason for this action is here:
https://fedoraproject.org/wiki/Fedora_Program_Management/HouseKeeping/Fedora24#Rawhide_Rebase

Comment 2 Todd Zullinger 2016-04-07 16:36:57 UTC
This seems like a good change to me.  I did have to add a BR on perl(Test) to get the build to work in rawhide.  We could avoid that and not run the tests, but I don't think there's any good reason not to add the BR and run the tests.

Comment 3 Todd Zullinger 2016-04-07 16:39:22 UTC
Created attachment 1144816 [details]
Install git-credentials-netrc

Updated patch with perl(Test) BR, on top of the current 2.8.1 in rawhide.

Comment 4 Todd Zullinger 2016-04-11 16:43:39 UTC
The netrc credentials helper is installed in the rawhide packages.

http://pkgs.fedoraproject.org/cgit/rpms/git.git/commit/?id=40aebfdc03
http://koji.fedoraproject.org/koji/taskinfo?taskID=13626413

Thanks for the report and patch Paolo!