* [gentoo-devhelp] multiple GIT repositories - how?
@ 2015-03-04 12:41 Helmut Jarausch
2015-03-04 13:41 ` Andrew Savchenko
2015-03-19 23:35 ` [gentoo-devhelp] " NP-Hardass
0 siblings, 2 replies; 7+ messages in thread
From: Helmut Jarausch @ 2015-03-04 12:41 UTC (permalink / raw
To: gentoo-devhelp
Hi,
I'd like to write an ebuild www-client/qupzilla-9999.
For this I need to fetch from several repositories like
EGIT_REPO_URI="https://github.com/QupZilla/qupzilla.git"
EGIT_SECONDARY=("https://github.com/QupZilla/qupzilla-plugins/tree/master/plugins/Videoner.git"
"https://github.com/QupZilla/qupzilla-plugins/tree/master/plugins/CopyTitle.git"
"https://github.com/QupZilla/qupzilla-plugins/tree/master/plugins/MailHandle.git")
How can this be achieved?
Many thanks for a hint,
Helmut
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-devhelp] multiple GIT repositories - how?
2015-03-04 12:41 [gentoo-devhelp] multiple GIT repositories - how? Helmut Jarausch
@ 2015-03-04 13:41 ` Andrew Savchenko
2015-03-04 14:16 ` Helmut Jarausch
2015-03-04 14:18 ` Justin (jlec)
2015-03-19 23:35 ` [gentoo-devhelp] " NP-Hardass
1 sibling, 2 replies; 7+ messages in thread
From: Andrew Savchenko @ 2015-03-04 13:41 UTC (permalink / raw
To: gentoo-devhelp
[-- Attachment #1: Type: text/plain, Size: 1175 bytes --]
On Wed, 04 Mar 2015 13:41:32 +0100 Helmut Jarausch wrote:
> Hi,
>
> I'd like to write an ebuild www-client/qupzilla-9999.
> For this I need to fetch from several repositories like
>
> EGIT_REPO_URI="https://github.com/QupZilla/qupzilla.git"
> EGIT_SECONDARY=("https://github.com/QupZilla/qupzilla-plugins/tree/master/plugins/Videoner.git"
> "https://github.com/QupZilla/qupzilla-plugins/tree/master/plugins/CopyTitle.git"
> "https://github.com/QupZilla/qupzilla-plugins/tree/master/plugins/MailHandle.git")
>
> How can this be achieved?
Provide them as a list (or array) in EGIT_REPO_URI,
from git-r3.eclass manual page:
EGIT_REPO_URI (REQUIRED)
URIs to the repository, e.g. git://foo, https://foo. If multiple URIs are provided, the eclass will consider them
as fallback URIs to try if the first URI does not work.
It can be overriden via env using ${PN}_LIVE_REPO variable.
Can be a whitespace-separated list or an array.
Example:
EGIT_REPO_URI="git://a/b.git https://c/d.git"
Best regards,
Andrew Savchenko
[-- Attachment #2: Type: application/pgp-signature, Size: 819 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-devhelp] multiple GIT repositories - how?
2015-03-04 13:41 ` Andrew Savchenko
@ 2015-03-04 14:16 ` Helmut Jarausch
2015-03-04 16:03 ` Andrew Savchenko
2015-03-04 14:18 ` Justin (jlec)
1 sibling, 1 reply; 7+ messages in thread
From: Helmut Jarausch @ 2015-03-04 14:16 UTC (permalink / raw
To: gentoo-devhelp
On 03/04/2015 02:41:55 PM, Andrew Savchenko wrote:
> On Wed, 04 Mar 2015 13:41:32 +0100 Helmut Jarausch wrote:
> > Hi,
> >
> > I'd like to write an ebuild www-client/qupzilla-9999.
> > For this I need to fetch from several repositories like
> >
> > EGIT_REPO_URI="https://github.com/QupZilla/qupzilla.git"
> > EGIT_SECONDARY=("https://github.com/QupZilla/qupzilla-plugins/tree/master/plugins/Videoner.git"
> > "https://github.com/QupZilla/qupzilla-plugins/tree/master/plugins/CopyTitle.git"
> > "https://github.com/QupZilla/qupzilla-plugins/tree/master/plugins/MailHandle.git")
> >
> > How can this be achieved?
>
> Provide them as a list (or array) in EGIT_REPO_URI,
> from git-r3.eclass manual page:
>
> EGIT_REPO_URI (REQUIRED)
> URIs to the repository, e.g. git://foo, https://foo. If
> multiple URIs are provided, the eclass will consider them
> as fallback URIs to try if the first URI does not work.
>
> It can be overriden via env using ${PN}_LIVE_REPO
> variable.
>
> Can be a whitespace-separated list or an array.
>
> Example:
> EGIT_REPO_URI="git://a/b.git https://c/d.git"
>
>
I don't understand this. I've tried to add
qupzilla_LIVE_PRO=("https://github.com/QupZilla/qupzilla-plugins/tree/master/plugins/Videoner.git"
"https://github.com/QupZilla/qupzilla-plugins/tree/master/plugins/CopyTitle.git"
"https://github.com/QupZilla/qupzilla-plugins/tree/master/plugins/MailHandle.git")
to /etc/portage/env/www-client/qupzilla
In addition, I've tried
EGIT_REPO_URI=("https://github.com/QupZilla/qupzilla.git"
"https://github.com/QupZilla/qupzilla-plugins/tree/master/plugins/Videoner.git"
"https://github.com/QupZilla/qupzilla-plugins/tree/master/plugins/CopyTitle.git"
"https://github.com/QupZilla/qupzilla-plugins/tree/master/plugins/MailHandle.git")
within the ebuild, but nothing helps.
What am I missing?
Many thanks,
Helmut
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-devhelp] multiple GIT repositories - how?
2015-03-04 13:41 ` Andrew Savchenko
2015-03-04 14:16 ` Helmut Jarausch
@ 2015-03-04 14:18 ` Justin (jlec)
1 sibling, 0 replies; 7+ messages in thread
From: Justin (jlec) @ 2015-03-04 14:18 UTC (permalink / raw
To: gentoo-devhelp
[-- Attachment #1: Type: text/plain, Size: 1064 bytes --]
On 04/03/15 14:41, Andrew Savchenko wrote:
> On Wed, 04 Mar 2015 13:41:32 +0100 Helmut Jarausch wrote:
>> Hi,
>>
>> I'd like to write an ebuild www-client/qupzilla-9999.
>> For this I need to fetch from several repositories like
>>
>> EGIT_REPO_URI="https://github.com/QupZilla/qupzilla.git"
>> EGIT_SECONDARY=("https://github.com/QupZilla/qupzilla-plugins/tree/master/plugins/Videoner.git"
>> "https://github.com/QupZilla/qupzilla-plugins/tree/master/plugins/CopyTitle.git"
>> "https://github.com/QupZilla/qupzilla-plugins/tree/master/plugins/MailHandle.git")
>>
>> How can this be achieved?
>
> Provide them as a list (or array) in EGIT_REPO_URI,
> from git-r3.eclass manual page:
>
> EGIT_REPO_URI (REQUIRED)
> URIs to the repository, e.g. git://foo, https://foo. If multiple URIs are provided, the eclass will consider them
> as fallback URIs to try if the first URI does not work.
it clearly says only one repo is allowed. All others are fallback URIs.
Justin
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 951 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-devhelp] multiple GIT repositories - how?
2015-03-04 14:16 ` Helmut Jarausch
@ 2015-03-04 16:03 ` Andrew Savchenko
2015-03-04 21:06 ` Yixun Lan
0 siblings, 1 reply; 7+ messages in thread
From: Andrew Savchenko @ 2015-03-04 16:03 UTC (permalink / raw
To: gentoo-devhelp
On Wed, 04 Mar 2015 15:16:55 +0100 Helmut Jarausch wrote:
> On 03/04/2015 02:41:55 PM, Andrew Savchenko wrote:
> > On Wed, 04 Mar 2015 13:41:32 +0100 Helmut Jarausch wrote:
> > > Hi,
> > >
> > > I'd like to write an ebuild www-client/qupzilla-9999.
> > > For this I need to fetch from several repositories like
> > >
> > > EGIT_REPO_URI="https://github.com/QupZilla/qupzilla.git"
> > > EGIT_SECONDARY=("https://github.com/QupZilla/qupzilla-plugins/tree/master/plugins/Videoner.git"
> > > "https://github.com/QupZilla/qupzilla-plugins/tree/master/plugins/CopyTitle.git"
> > > "https://github.com/QupZilla/qupzilla-plugins/tree/master/plugins/MailHandle.git")
> > >
> > > How can this be achieved?
> >
> > Provide them as a list (or array) in EGIT_REPO_URI,
> > from git-r3.eclass manual page:
> >
> > EGIT_REPO_URI (REQUIRED)
> > URIs to the repository, e.g. git://foo, https://foo. If
> > multiple URIs are provided, the eclass will consider them
> > as fallback URIs to try if the first URI does not work.
> >
> > It can be overriden via env using ${PN}_LIVE_REPO
> > variable.
> >
> > Can be a whitespace-separated list or an array.
> >
> > Example:
> > EGIT_REPO_URI="git://a/b.git https://c/d.git"
> >
> >
>
> I don't understand this. I've tried to add
> qupzilla_LIVE_PRO=("https://github.com/QupZilla/qupzilla-plugins/tree/master/plugins/Videoner.git"
> "https://github.com/QupZilla/qupzilla-plugins/tree/master/plugins/CopyTitle.git"
> "https://github.com/QupZilla/qupzilla-plugins/tree/master/plugins/MailHandle.git")
> to /etc/portage/env/www-client/qupzilla
>
> In addition, I've tried
> EGIT_REPO_URI=("https://github.com/QupZilla/qupzilla.git"
> "https://github.com/QupZilla/qupzilla-plugins/tree/master/plugins/Videoner.git"
> "https://github.com/QupZilla/qupzilla-plugins/tree/master/plugins/CopyTitle.git"
> "https://github.com/QupZilla/qupzilla-plugins/tree/master/plugins/MailHandle.git")
>
> within the ebuild, but nothing helps.
> What am I missing?
Sorry, as Justin pointed in another mail, I misunderstood meaning
of additionals URIs: they are fallback links to the same
project.
Another idea: maybe you should separate plugins to their own
ebuilds? This will solve URI issue and will follow Gentoo
unbundling policy nicely.
Best regards,
Andrew Savchenko
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-devhelp] multiple GIT repositories - how?
2015-03-04 16:03 ` Andrew Savchenko
@ 2015-03-04 21:06 ` Yixun Lan
0 siblings, 0 replies; 7+ messages in thread
From: Yixun Lan @ 2015-03-04 21:06 UTC (permalink / raw
To: gentoo-devhelp
On 19:03 Wed 04 Mar , Andrew Savchenko wrote:
> On Wed, 04 Mar 2015 15:16:55 +0100 Helmut Jarausch wrote:
> > On 03/04/2015 02:41:55 PM, Andrew Savchenko wrote:
> > > On Wed, 04 Mar 2015 13:41:32 +0100 Helmut Jarausch wrote:
> > > > Hi,
> > > >
> > > > I'd like to write an ebuild www-client/qupzilla-9999.
> > > > For this I need to fetch from several repositories like
> > > >
> > > > EGIT_REPO_URI="https://github.com/QupZilla/qupzilla.git"
> > > > EGIT_SECONDARY=("https://github.com/QupZilla/qupzilla-plugins/tree/master/plugins/Videoner.git"
> > > > "https://github.com/QupZilla/qupzilla-plugins/tree/master/plugins/CopyTitle.git"
> > > > "https://github.com/QupZilla/qupzilla-plugins/tree/master/plugins/MailHandle.git")
> > > >
> > > > How can this be achieved?
> > >
> > > Provide them as a list (or array) in EGIT_REPO_URI,
> > > from git-r3.eclass manual page:
> > >
> > > EGIT_REPO_URI (REQUIRED)
> > > URIs to the repository, e.g. git://foo, https://foo. If
> > > multiple URIs are provided, the eclass will consider them
> > > as fallback URIs to try if the first URI does not work.
> > >
> > > It can be overriden via env using ${PN}_LIVE_REPO
> > > variable.
> > >
> > > Can be a whitespace-separated list or an array.
> > >
> > > Example:
> > > EGIT_REPO_URI="git://a/b.git https://c/d.git"
> > >
> > >
> >
> > I don't understand this. I've tried to add
> > qupzilla_LIVE_PRO=("https://github.com/QupZilla/qupzilla-plugins/tree/master/plugins/Videoner.git"
> > "https://github.com/QupZilla/qupzilla-plugins/tree/master/plugins/CopyTitle.git"
> > "https://github.com/QupZilla/qupzilla-plugins/tree/master/plugins/MailHandle.git")
> > to /etc/portage/env/www-client/qupzilla
> >
> > In addition, I've tried
> > EGIT_REPO_URI=("https://github.com/QupZilla/qupzilla.git"
> > "https://github.com/QupZilla/qupzilla-plugins/tree/master/plugins/Videoner.git"
> > "https://github.com/QupZilla/qupzilla-plugins/tree/master/plugins/CopyTitle.git"
> > "https://github.com/QupZilla/qupzilla-plugins/tree/master/plugins/MailHandle.git")
> >
> > within the ebuild, but nothing helps.
> > What am I missing?
>
> Sorry, as Justin pointed in another mail, I misunderstood meaning
> of additionals URIs: they are fallback links to the same
> project.
>
> Another idea: maybe you should separate plugins to their own
> ebuilds? This will solve URI issue and will follow Gentoo
> unbundling policy nicely.
>
Hi Helmut
technically you can still do that, although we don't encourage to ..
all you need is call git-2_src_unpack several times in src_unpack phase
( in my example, I use git-2.eclass, you should use git-r3 now )
[1] http://gitweb.gentoo.org/proj/virtualization.git/tree/app-emulation/xen-tools/xen-tools-9999.ebuild
--
Yixun Lan (dlan)
Gentoo Linux Developer
GPG Key ID AABEFD55
^ permalink raw reply [flat|nested] 7+ messages in thread
* [gentoo-devhelp] Re:multiple GIT repositories - how?
2015-03-04 12:41 [gentoo-devhelp] multiple GIT repositories - how? Helmut Jarausch
2015-03-04 13:41 ` Andrew Savchenko
@ 2015-03-19 23:35 ` NP-Hardass
1 sibling, 0 replies; 7+ messages in thread
From: NP-Hardass @ 2015-03-19 23:35 UTC (permalink / raw
To: gentoo-devhelp
Helmut Jarausch <jarausch@igpm.rwth-aachen.de> Wrote in message:
> Hi,
>
> I'd like to write an ebuild www-client/qupzilla-9999.
> For this I need to fetch from several repositories like
>
> EGIT_REPO_URI="https://github.com/QupZilla/qupzilla.git"
> EGIT_SECONDARY=("https://github.com/QupZilla/qupzilla-plugins/tree/master/plugins/Videoner.git"
> "https://github.com/QupZilla/qupzilla-plugins/tree/master/plugins/CopyTitle.git"
> "https://github.com/QupZilla/qupzilla-plugins/tree/master/plugins/MailHandle.git")
>
> How can this be achieved?
>
> Many thanks for a hint,
> Helmut
>
>
>
We do this in wine for one secondary repo for the staging use flag
that you can use as an example. Unfortunately, this breaks a lot
of nice features like smart-live-rebuilds. mgorny told me that
support for multiple distinct repos will be targeted for EAPI
6/7.
--
NP-Hardass
----Android NewsGroup Reader----
http://usenet.sinaapp.com/
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2015-03-19 23:45 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-03-04 12:41 [gentoo-devhelp] multiple GIT repositories - how? Helmut Jarausch
2015-03-04 13:41 ` Andrew Savchenko
2015-03-04 14:16 ` Helmut Jarausch
2015-03-04 16:03 ` Andrew Savchenko
2015-03-04 21:06 ` Yixun Lan
2015-03-04 14:18 ` Justin (jlec)
2015-03-19 23:35 ` [gentoo-devhelp] " NP-Hardass
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox