Re: [gentoo-dev] RFC: git-2.eclass & fetching from multiple repos

2012-05-19 Thread Luca Barbato
On 19/05/12 13:18, Michał Górny wrote: > 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 > w

Re: [gentoo-dev] RFC: git-2.eclass & fetching from multiple repos

2012-05-19 Thread Michał Górny
On Sat, 19 May 2012 12:28:02 -0700 Luca Barbato 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

Re: [gentoo-dev] RFC: git-2.eclass & fetching from multiple repos

2012-05-19 Thread Luca Barbato
-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

[gentoo-dev] RFC: git-2.eclass & fetching from multiple repos

2012-05-17 Thread Michał Górny
Hello, Sometimes it is necessary for a single package to pull from multiple remote repositories. One case are broken packages like glibc (where two repositories have to be merged for build-time), another are git submodules (which don't cooperate well with bare checkouts). Thus, I'm wondering abou