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
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello again,

Please consider a new PROPERTIES=interactive setting that allows an
ebuild to indicate that it uses stdin and stdout for user
interaction sometime during the pkg_setup and/or src_unpack phases
(similar to GLEP 52 [1]). This will be another use for the new
PROPERTIES metadata variable that's been proposed for the
implementation of live-sources [2] and virtual [3] PROPERTIES values.

This is useful in cases when it might not be possible for the user
to perform interaction with ebuilds, so they might decide to mask
any ebuilds that exhibit this property. It can also be used to know
in advance whether or not it's safe to run the pkg_setup and
src_unpack ebuild phases in the background. This provides a solution
for bug #233296 [4] by allowing exclusive access to stdin and stdout
to be guaranteed during pkg_setup and src_unpack phases.  We might
also consider adding finer grained values of PROPERTIES such as
interactive-setup, interactive-unpack, and interactive-preinst.

Your comments will be appreciated.

Thanks,
Zac

[1] http://www.gentoo.org/proj/en/glep/glep-0052.html
[2]
http://archives.gentoo.org/gentoo-dev/msg_187585c5d49b69034183719ff473710d.xml
[3] http://article.gmane.org/gmane.linux.gentoo.devel/57610
[4] http://bugs.gentoo.org/show_bug.cgi?id=233296
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)

iEYEARECAAYFAkiZbWwACgkQ/ejvha5XGaNOxwCdHdmNrDNQdH3PHtciQKINZHRv
6goAnjPL1i3Qwj3cs3lcC+v027TtRFPQ
=RZBV
-----END PGP SIGNATURE-----

Replies