On Fri, 2010-07-30 at 09:14 -0700, 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://u...@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.

The ssh:// URL does use the git protocol over ssh, so the git:// URL is
only faster by the lack of encryption, which is hardly a good thing.  I
don't want malware landing on my machine because someone did a MITM
attack on a Fedora maintainer's unencrypted "git fetch" and inserted
some extra patches to get pushed back to the real repository later.

-- 
Matt

-- 
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel

Reply via email to