Gentoo Logo
Gentoo Spaceship




Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-dev
Navigation:
Lists: gentoo-dev: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-dev@g.o
From: Michał Górny <mgorny@g.o>
Subject: Re: RFC: git-2.eclass & fetching from multiple repos
Date: Sat, 19 May 2012 22:18:46 +0200
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
Attachment:
signature.asc (PGP signature)
Replies:
Re: RFC: git-2.eclass & fetching from multiple repos
-- Luca Barbato
References:
RFC: git-2.eclass & fetching from multiple repos
-- Michał Górny
Re: RFC: git-2.eclass & fetching from multiple repos
-- Luca Barbato
Navigation:
Lists: gentoo-dev: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
Re: RFC: git-2.eclass & fetching from multiple repos
Next by thread:
Re: RFC: git-2.eclass & fetching from multiple repos
Previous by date:
Implementing udev without an initramfs (Was: Stability of /sys api)
Next by date:
Re: Implementing udev without an initramfs (Was: Stability of /sys api)


Updated Jun 29, 2012

Summary: Archive of the gentoo-dev mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.