Re: The move to git!

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxxxxxxxxx/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
-- 
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/devel


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux