Gentoo Archives: gentoo-dev

From: Mike Frysinger <vapier@g.o>
To: gentoo-dev@l.g.o
Cc: David Leverton <levertond@××××××××××.com>
Subject: Re: [gentoo-dev] versionator.eclass: convert to eshopts_{push,pop}
Date: Mon, 19 Jul 2010 22:14:00
Message-Id: 201007191810.38929.vapier@gentoo.org
In Reply to: Re: [gentoo-dev] versionator.eclass: convert to eshopts_{push,pop} by David Leverton
1 On Monday, July 19, 2010 17:44:21 David Leverton wrote:
2 > On 19 July 2010 22:11, Mike Frysinger wrote:
3 > > you mean the people who want to use get_all_version_components would have
4 > > to change their invocation to go through eshops_need ? otherwise i dont
5 > > follow what you mean.
6 >
7 > You define the function, then call eshopts_need immediately
8 > afterwards, and it sets up the wrapper automatically. You can then
9 > call get_all_version_components as normal.
10
11 ok, but that still means all callers need to be updated. complexity should be
12 kept centralized & internal imo.
13 -mike

Attachments

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