| 1 | GLEP: 52 |
1 | GLEP: 52 |
| 2 | Title: RESTRICT=interactive |
2 | Title: RESTRICT=unattended |
| 3 | Version: $Revision: 1.2 $ |
3 | Version: $Revision: 1.3 $ |
| 4 | Last-Modified: $Date: 2006/10/14 02:47:31 $ |
4 | Last-Modified: $Date: 2006/10/27 15:45:26 $ |
| 5 | Author: Marius Mauch <genone@gentoo.org>, |
5 | Author: Marius Mauch <genone@gentoo.org>, |
| 6 | Status: Draft |
6 | Status: Draft |
| 7 | Type: Standards Track |
7 | Type: Standards Track |
| 8 | Content-Type: text/x-rst |
8 | Content-Type: text/x-rst |
| 9 | Created: 13-Oct-2006 |
9 | Created: 13-Oct-2006 |
| … | |
… | |
| 30 | |
30 | |
| 31 | Specification |
31 | Specification |
| 32 | ============= |
32 | ============= |
| 33 | |
33 | |
| 34 | Portage (and by extension other package managers) will support a new value for |
34 | Portage (and by extension other package managers) will support a new value for |
| 35 | the RESTRICT metadata variable called ``interactive``. This value may be used by |
35 | the RESTRICT metadata variable called ``unattended``. This value may be used by |
| 36 | the package manager and tools using its API to filter packages that require |
36 | the package manager and tools using its API to filter packages that require |
| 37 | interactive actions (for example to mask them in automated build environments). |
37 | interactive actions (for example to mask them in automated build environments). |
| 38 | How the package manager exactly reacts on the presence of this new flag is beyond |
38 | How the package manager exactly reacts on the presence of this new flag is beyond |
| 39 | this specification, but it's recommended to indicate it's presence to the user |
39 | this specification, but it's recommended to indicate it's presence to the user |
| 40 | whenever relevant. |
40 | whenever relevant. |
| … | |
… | |
| 45 | it shouldn't be restricted. |
45 | it shouldn't be restricted. |
| 46 | |
46 | |
| 47 | Rationale |
47 | Rationale |
| 48 | ========= |
48 | ========= |
| 49 | |
49 | |
| 50 | The new RESTRICT=interactive metadata setting will give us the following benefits: |
50 | The new RESTRICT=unattended metadata setting will give us the following benefits: |
| 51 | |
51 | |
| 52 | 1. Enable masking of interactive ebuilds for automated build environments |
52 | 1. Enable masking of interactive ebuilds for automated build environments |
| 53 | |
53 | |
| 54 | 2. Metadata based searching for interactive ebuilds (superior to grep) |
54 | 2. Metadata based searching for interactive ebuilds (superior to grep) |
| 55 | |
55 | |