Gentoo Archives: gentoo-dev

From: Dan Douglas <ormaaj@×××××.com>
To: "Michał Górny" <mgorny@g.o>
Cc: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] [PATCH] git-r3.eclass: Make EGIT_LIVE_* associative arrays
Date: Thu, 23 Jun 2016 19:29:33
Message-Id: 9cbca725-ac90-b107-650d-2b6e51b9efad@gmail.com
In Reply to: Re: [gentoo-dev] [PATCH] git-r3.eclass: Make EGIT_LIVE_* associative arrays by "Michał Górny"
1 On 06/23/2016 01:48 PM, Michał Górny wrote:
2 > It would be best if we could kill the old way but I doubt it's a good idea right now.
3
4 Yeah I was sad when I realized a nice naming scheme just barely
5 wasn't going to work thanks to EGIT_LIVE_REPO_URI being shortened to
6 EGIT_LIVE_REPO, but I didn't want to break it.
7
8 The other thing is the associative arrays not being exportable so if we
9 want something that can work for interactive use / make.conf / package.env
10 then we almost need both.
11
12 > One request though: don't use PN but CATEGORY/PN.
13
14 True. I wasn't sure just how far to go with it. If you really wanted
15 to go all-out I could split arbitrary atoms with versionator and figure out a
16 custom lookup function to match up keys-values... but ugh. I'll just do
17 CATEGORY/PN for now. :)
18
19 (There's a branch for this here for reference):
20 https://github.com/ormaaj/gentoo/blob/git-r3-live-arrays/eclass/git-r3.eclass

Attachments

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

Replies