From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id EFC89138CA3 for ; Wed, 4 Mar 2015 16:03:49 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 5D9E9E07F0; Wed, 4 Mar 2015 16:03:48 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id ECB8BE07F0 for ; Wed, 4 Mar 2015 16:03:47 +0000 (UTC) Received: from localhost (unknown [85.143.114.129]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: bircoph) by smtp.gentoo.org (Postfix) with ESMTPSA id 2E04F3403C1 for ; Wed, 4 Mar 2015 16:03:45 +0000 (UTC) Date: Wed, 4 Mar 2015 19:03:40 +0300 From: Andrew Savchenko To: gentoo-devhelp@lists.gentoo.org Subject: Re: [gentoo-devhelp] multiple GIT repositories - how? Message-Id: <20150304190340.3a67c8c1fd2fccc80f15ef12@gentoo.org> In-Reply-To: References: <20150304164155.2fcfcb60d1d5f164fd3a789f@gentoo.org> X-Mailer: Sylpheed 3.4.2 (GTK+ 2.24.25; x86_64-pc-linux-gnu) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Development-related help X-BeenThere: gentoo-devhelp@gentoo.org X-BeenThere: gentoo-devhelp@lists.gentoo.org Reply-To: gentoo-devhelp@lists.gentoo.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Archives-Salt: fbadc1f1-5100-419c-9112-36e8e7c43df6 X-Archives-Hash: d51d76f85ba84748b26a74a8b9406e24 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