/[gentoo]/xml/htdocs/proj/en/glep/glep-0052.txt
Gentoo

Diff of /xml/htdocs/proj/en/glep/glep-0052.txt

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.1 Revision 1.3
1GLEP: 52 1GLEP: 52
2Title: RESTRICT=interactive 2Title: RESTRICT=unattended
3Version: $Revision: 1.1 $ 3Version: $Revision: 1.3 $
4Last-Modified: $Date: 2006/10/13 22:48:15 $ 4Last-Modified: $Date: 2006/10/27 15:45:26 $
5Author: Marius Mauch <genone@gentoo.org>, 5Author: Marius Mauch <genone@gentoo.org>,
6Status: Draft 6Status: Draft
7Type: Standards Track 7Type: Standards Track
8Content-Type: text/x-rst 8Content-Type: text/x-rst
9Created: 13-Oct-2006 9Created: 13-Oct-2006
30 30
31Specification 31Specification
32============= 32=============
33 33
34Portage (and by extension other package managers) will support a new value for 34Portage (and by extension other package managers) will support a new value for
35the RESTRICT metadata variable called ``interactive``. This value may be used by 35the RESTRICT metadata variable called ``unattended``. This value may be used by
36the package manager and tools using its API to filter packages that require 36the package manager and tools using its API to filter packages that require
37interactive actions (for example to mask them in automated build environments). 37interactive actions (for example to mask them in automated build environments).
38How the package manager exactly reacts on the presence of this new flag is beyond 38How the package manager exactly reacts on the presence of this new flag is beyond
39this specification, but it's recommended to indicate it's presence to the user 39this specification, but it's recommended to indicate it's presence to the user
40whenever relevant. 40whenever relevant.
45it shouldn't be restricted. 45it shouldn't be restricted.
46 46
47Rationale 47Rationale
48========= 48=========
49 49
50The new RESTRICT=interactive metadata setting will give us the following benefits: 50The new RESTRICT=unattended metadata setting will give us the following benefits:
51 51
521. Enable masking of interactive ebuilds for automated build environments 521. Enable masking of interactive ebuilds for automated build environments
53 53
542. Metadata based searching for interactive ebuilds (superior to grep) 542. Metadata based searching for interactive ebuilds (superior to grep)
55 55
67introduce it without. 67introduce it without.
68 68
69Reference Implementation 69Reference Implementation
70======================== 70========================
71 71
72TODO 72A `patch against portage-2.1.2_pre2-r6`__ is available with this document.
73
74.. __: glep-0052-extras/portage-2.1.2_pre2-r6-interactive-restrict.diff.txt
75
73 76
74Credits 77Credits
75======= 78=======
76 79
77Thanks to the following persons for their input on or related to this GLEP 80Thanks to the following persons for their input on or related to this GLEP

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.3

  ViewVC Help
Powered by ViewVC 1.1.20