The move to git!

Josh Stone jistone at redhat.com
Fri Jul 30 18:48:12 UTC 2010


On 07/30/2010 11:36 AM, Hans Ulrich Niedermann wrote:
> On Fri, 2010-07-30 at 11:15 -0700, Jesse Keating wrote:
>> On 07/30/2010 09:14 AM, Josh Stone wrote:
>>> A git trick I'd like fedpkg to learn is to use separate url/pushurl,
>>> e.g. in .git/config:
>>>
>>> [remote "origin"]
>>> 	fetch = +refs/heads/*:refs/remotes/origin/*
>>> 	url = git://pkgs.fedoraproject.org/foo
>>> 	pushurl = ssh://user@pkgs.fedoraproject.org/foo
>>>
>>> This way it will fetch over the faster git protocol and still push over
>>> ssh.  I expect that will lessen the load on Fedora infrastructure too.
> 
>> Hrm, not sure this is something we should do by default, are there any
>> drawbacks?
> 
> You need two network protocols to do work on the package. That might be
> difficult in some restricted networks.

Good point, I didn't think of that.

> For everyone with actual proper internet access, this looks like it
> could work quite well.

It's quite an improvement for me on other projects.  For now I've made
that change manually in my fedpkg checkout.  If we don't make this by
default, perhaps it could still be a command-line option or a
~/.fedpkgrc entry.

Josh


More information about the devel mailing list