Gentoo Archives: gentoo-dev

From: Alec Warner <antarus@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] [RFC] New PROPERTIES=interactive value to identify interactive packages?
Date: Wed, 06 Aug 2008 09:35:24
Message-Id: b41005390808060235q79f67fc7lecfbc97a4430dc01@mail.gmail.com
In Reply to: [gentoo-dev] [RFC] New PROPERTIES=interactive value to identify interactive packages? by Zac Medico
1 On Wed, Aug 6, 2008 at 2:22 AM, Zac Medico <zmedico@g.o> wrote:
2 > -----BEGIN PGP SIGNED MESSAGE-----
3 > Hash: SHA1
4 >
5 > Hello again,
6 >
7 > Please consider a new PROPERTIES=interactive setting that allows an
8 > ebuild to indicate that it uses stdin and stdout for user
9 > interaction sometime during the pkg_setup and/or src_unpack phases
10 > (similar to GLEP 52 [1]). This will be another use for the new
11 > PROPERTIES metadata variable that's been proposed for the
12 > implementation of live-sources [2] and virtual [3] PROPERTIES values.
13 >
14 > This is useful in cases when it might not be possible for the user
15 > to perform interaction with ebuilds, so they might decide to mask
16 > any ebuilds that exhibit this property. It can also be used to know
17 > in advance whether or not it's safe to run the pkg_setup and
18 > src_unpack ebuild phases in the background. This provides a solution
19 > for bug #233296 [4] by allowing exclusive access to stdin and stdout
20 > to be guaranteed during pkg_setup and src_unpack phases. We might
21 > also consider adding finer grained values of PROPERTIES such as
22 > interactive-setup, interactive-unpack, and interactive-preinst.
23 >
24 > Your comments will be appreciated.
25 >
26 > Thanks,
27 > Zac
28
29 Just to be clear; PROPERTIES is a space separated list of items correct?
30
31 >
32 > [1] http://www.gentoo.org/proj/en/glep/glep-0052.html
33 > [2]
34 > http://archives.gentoo.org/gentoo-dev/msg_187585c5d49b69034183719ff473710d.xml
35 > [3] http://article.gmane.org/gmane.linux.gentoo.devel/57610
36 > [4] http://bugs.gentoo.org/show_bug.cgi?id=233296
37 > -----BEGIN PGP SIGNATURE-----
38 > Version: GnuPG v2.0.9 (GNU/Linux)
39 >
40 > iEYEARECAAYFAkiZbWwACgkQ/ejvha5XGaNOxwCdHdmNrDNQdH3PHtciQKINZHRv
41 > 6goAnjPL1i3Qwj3cs3lcC+v027TtRFPQ
42 > =RZBV
43 > -----END PGP SIGNATURE-----
44 >
45 >

Replies