Gentoo Archives: gentoo-portage-dev

From: "Marijn Schouten (hkBst)" <hkBst@g.o>
To: gentoo-portage-dev@l.g.o
Subject: Re: [gentoo-portage-dev] use* cleanup
Date: Fri, 02 Nov 2007 10:48:18
Message-Id: 472B00B7.20308@gentoo.org
In Reply to: Re: [gentoo-portage-dev] use* cleanup by Mike Frysinger
1 -----BEGIN PGP SIGNED MESSAGE-----
2 Hash: SHA1
3
4 Mike Frysinger wrote:
5 > On Thursday 01 November 2007, Marijn Schouten (hkBst) wrote:
6 >> Mike Frysinger wrote:
7 >>> On Wednesday 31 October 2007, Marijn Schouten (hkBst) wrote:
8 >>>> The immediate motivation of my examining this code was a request on
9 >>>> #gentoo-dev-help by lack for something which I could with my new code
10 >>>> easily write like this:
11 >>>>
12 >>>> use_mime() {
13 >>>> local WORD="$(_if $2 $2 $1)"
14 >>>>
15 >>>> _use $1 "${WORD};"
16 >>>> }
17 >>> write where ? in eclasses/ebuilds ?
18 >> yes
19 >
20 > then there are problems:
21 > - exported interfaces that people are expected to utilize should never ever
22 > start with an underscore
23
24 I'm not hung up on any particular name.
25
26 > - this is an API change which means you need to propose it and get it
27 > accepted on the gentoo-dev mailing list
28
29 I understand. But as a code cleanup it should be acceptable for now I think.
30
31 Marijn
32
33 - --
34 Marijn Schouten (hkBst), Gentoo Lisp project
35 <http://www.gentoo.org/proj/en/lisp/>, #gentoo-lisp on FreeNode
36 -----BEGIN PGP SIGNATURE-----
37 Version: GnuPG v2.0.7 (GNU/Linux)
38 Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
39
40 iD8DBQFHKwC3p/VmCx0OL2wRAhW8AJ0dHhrM6sM5g1ua9/8Qcw8yyo2aagCfWx2C
41 g9X1dYrU332YYQKgbh8MU2Q=
42 =hYp/
43 -----END PGP SIGNATURE-----
44 --
45 gentoo-portage-dev@g.o mailing list