* [gentoo-dev] github <> g.o.g.o
@ 2012-02-25 12:55 Justin
2012-02-25 15:11 ` Alex Alexander
0 siblings, 1 reply; 3+ messages in thread
From: Justin @ 2012-02-25 12:55 UTC (permalink / raw
To: gentoo-dev
[-- Attachment #1: Type: text/plain, Size: 271 bytes --]
Hi all,
is there a way to do a way or two way sync between a repo on github and
on g.o.g.o?
I have the felling that I heard of an official overlay which is operated
like this. Could someone please point me to this overlay and the technique?
thanks justin
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 262 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [gentoo-dev] github <> g.o.g.o
2012-02-25 12:55 [gentoo-dev] github <> g.o.g.o Justin
@ 2012-02-25 15:11 ` Alex Alexander
2012-02-27 8:22 ` justin
0 siblings, 1 reply; 3+ messages in thread
From: Alex Alexander @ 2012-02-25 15:11 UTC (permalink / raw
To: gentoo-dev
[-- Attachment #1: Type: text/plain, Size: 882 bytes --]
On Sat, Feb 25, 2012 at 01:55:37PM +0100, Justin wrote:
> Hi all,
>
> is there a way to do a way or two way sync between a repo on github and
> on g.o.g.o?
>
> I have the felling that I heard of an official overlay which is operated
> like this. Could someone please point me to this overlay and the technique?
For every secondary repo you want to keep synced, add a pushurl entry
pushurl = <git-repo-url>
below your main "url =" line in the repo's .git/config file.
Git will automatically push to all pushurl entries automatically when
you "git push".
We do this in the Qt overlay (with gitorious atm):
[remote "origin"]
fetch = +refs/heads/*:refs/remotes/origin/*
url = git://git.overlays.gentoo.org/proj/qt.git
pushurl = git@gitorious.org:gentoo-qt/qt.git
Regards,
--
Alex Alexander | wired
+ Gentoo Linux Developer
++ www.linuxized.com
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 836 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [gentoo-dev] github <> g.o.g.o
2012-02-25 15:11 ` Alex Alexander
@ 2012-02-27 8:22 ` justin
0 siblings, 0 replies; 3+ messages in thread
From: justin @ 2012-02-27 8:22 UTC (permalink / raw
To: gentoo-dev
[-- Attachment #1: Type: text/plain, Size: 938 bytes --]
On 25/02/12 16:11, Alex Alexander wrote:
> On Sat, Feb 25, 2012 at 01:55:37PM +0100, Justin wrote:
>> Hi all,
>>
>> is there a way to do a way or two way sync between a repo on github and
>> on g.o.g.o?
>>
>> I have the felling that I heard of an official overlay which is operated
>> like this. Could someone please point me to this overlay and the technique?
>
> For every secondary repo you want to keep synced, add a pushurl entry
>
> pushurl = <git-repo-url>
>
> below your main "url =" line in the repo's .git/config file.
> Git will automatically push to all pushurl entries automatically when
> you "git push".
>
> We do this in the Qt overlay (with gitorious atm):
>
> [remote "origin"]
> fetch = +refs/heads/*:refs/remotes/origin/*
> url = git://git.overlays.gentoo.org/proj/qt.git
> pushurl = git@gitorious.org:gentoo-qt/qt.git
>
> Regards,
Thanks,
this works really nice.
justin
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 262 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2012-02-27 8:23 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-02-25 12:55 [gentoo-dev] github <> g.o.g.o Justin
2012-02-25 15:11 ` Alex Alexander
2012-02-27 8:22 ` justin
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox