Gentoo Archives: gentoo-dev

From: "Michał Górny" <mgorny@g.o>
To: gentoo-dev@l.g.o
Cc: lu_zero@g.o
Subject: Re: [gentoo-dev] RFC: git-2.eclass & fetching from multiple repos
Date: Sat, 19 May 2012 20:18:48
Message-Id: 20120519221846.091a37ce@pomiocik.lan
In Reply to: Re: [gentoo-dev] RFC: git-2.eclass & fetching from multiple repos by Luca Barbato
On Sat, 19 May 2012 12:28:02 -0700
Luca Barbato <lu_zero@g.o> wrote:

> -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > On 17/05/12 01:40, Michał Górny wrote: > > > > > > 1/ Mike suggested something like: > > > > EGIT_REPO_URI=( "repo1 fallback1" "repo2 fallback2" ) > > > > but IMO it hurts readability and makes the behavior a little > > surprising (not that the fallback syntax isn't surprising already). > > Does not look that bad, do you have an actual example so we can see > how bad could get?
Well, for example if the project was hosted on github, it would look like: EGIT_REPO_URI=( "git://github.com/foo/foo.git http://github.com/foo/foo.git" "git://github.com/foo/bar.git http://github.com/foo/bar.git" ) Or something like that. What I am afraid of is that we use nested list with tricky syntax, and one could miss the specifics of "" use. -- Best regards, Michał Górny

Attachments

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

Replies

Subject Author
Re: [gentoo-dev] RFC: git-2.eclass & fetching from multiple repos Luca Barbato <lu_zero@g.o>