Gentoo Archives: gentoo-science

From: justin <jlec@g.o>
To: gentoo-science@l.g.o
Subject: Re: [gentoo-science] github and o.g.o sync
Date: Fri, 06 Jul 2012 09:04:11
Message-Id: 4FF69B63.5060604@gentoo.org
In Reply to: [gentoo-science] github and o.g.o sync by Christoph Junghans
1 On 05/07/12 22:46, Christoph Junghans wrote:
2 > Hi,
3 >
4 > recently it happened to me that the sci overlay on github and o.g.o
5 > got out of sync.
6 > (timcera pushed to github only and I pushed to o.g.o first and then
7 > the push to the 2nd url failed)
8 >
9 > I really think we should autosync them as with more pull request this
10 > situation will get more likely.
11 >
12 > Cheers,
13 >
14 > Christoph
15 >
16
17 Hi,
18
19 everybody should add both locations:
20
21 [remote "origin"]
22 fetch = +refs/heads/*:refs/remotes/origin/*
23 url = git+ssh://git@×××××××××××××××××××.org/proj/sci.git
24 pushurl = git@××××××.com:gentoo-science/sci.git
25 pushurl = git+ssh://git@×××××××××××××××××××.org/proj/sci.git
26 [remote "github"]
27 url = git@××××××.com:gentoo-science/sci.git
28
29
30 and do a "git pull --all".
31
32 All those who can push to both, should do "push --all".
33 With this there should nearly no overlap.
34
35 justin

Attachments

File name MIME type
signature.asc application/pgp-signature