Gentoo Archives: gentoo-devhelp

From: Andrew Savchenko <bircoph@g.o>
To: gentoo-devhelp@l.g.o
Subject: Re: [gentoo-devhelp] multiple GIT repositories - how?
Date: Wed, 04 Mar 2015 13:42:16
Message-Id: 20150304164155.2fcfcb60d1d5f164fd3a789f@gentoo.org
In Reply to: [gentoo-devhelp] multiple GIT repositories - how? by Helmut Jarausch
1 On Wed, 04 Mar 2015 13:41:32 +0100 Helmut Jarausch wrote:
2 > Hi,
3 >
4 > I'd like to write an ebuild www-client/qupzilla-9999.
5 > For this I need to fetch from several repositories like
6 >
7 > EGIT_REPO_URI="https://github.com/QupZilla/qupzilla.git"
8 > EGIT_SECONDARY=("https://github.com/QupZilla/qupzilla-plugins/tree/master/plugins/Videoner.git"
9 > "https://github.com/QupZilla/qupzilla-plugins/tree/master/plugins/CopyTitle.git"
10 > "https://github.com/QupZilla/qupzilla-plugins/tree/master/plugins/MailHandle.git")
11 >
12 > How can this be achieved?
13
14 Provide them as a list (or array) in EGIT_REPO_URI,
15 from git-r3.eclass manual page:
16
17 EGIT_REPO_URI (REQUIRED)
18 URIs to the repository, e.g. git://foo, https://foo. If multiple URIs are provided, the eclass will consider them
19 as fallback URIs to try if the first URI does not work.
20
21 It can be overriden via env using ${PN}_LIVE_REPO variable.
22
23 Can be a whitespace-separated list or an array.
24
25 Example:
26 EGIT_REPO_URI="git://a/b.git https://c/d.git"
27
28
29 Best regards,
30 Andrew Savchenko

Replies

Subject Author
Re: [gentoo-devhelp] multiple GIT repositories - how? Helmut Jarausch <jarausch@××××××××××××××××.de>
Re: [gentoo-devhelp] multiple GIT repositories - how? "Justin (jlec)" <jlec@g.o>