From: Alex Alexander <wired@gentoo.org>
To: gentoo-dev@lists.gentoo.org
Subject: Re: [gentoo-dev] github <> g.o.g.o
Date: Sat, 25 Feb 2012 17:11:55 +0200 [thread overview]
Message-ID: <20120225151155.GA19465@ion> (raw)
In-Reply-To: <4F48DA49.7030101@gentoo.org>
[-- 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 --]
next prev parent reply other threads:[~2012-02-25 15:13 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-02-25 12:55 [gentoo-dev] github <> g.o.g.o Justin
2012-02-25 15:11 ` Alex Alexander [this message]
2012-02-27 8:22 ` justin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20120225151155.GA19465@ion \
--to=wired@gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox