Gentoo Archives: gentoo-dev

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

Replies