| … | |
… | |
| 7 | to templates. DO NOT USE THIS HTML FILE AS YOUR TEMPLATE! |
7 | to templates. DO NOT USE THIS HTML FILE AS YOUR TEMPLATE! |
| 8 | --> |
8 | --> |
| 9 | <head> |
9 | <head> |
| 10 | <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> |
10 | <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> |
| 11 | <meta name="generator" content="Docutils 0.4: http://docutils.sourceforge.net/" /> |
11 | <meta name="generator" content="Docutils 0.4: http://docutils.sourceforge.net/" /> |
| 12 | <title>GLEP 52 -- RESTRICT=interactive</title> |
12 | <title>GLEP 52 -- RESTRICT=unattended</title> |
| 13 | <style type="text/css"> |
13 | <style type="text/css"> |
| 14 | |
14 | |
| 15 | /* |
15 | /* |
| 16 | :Author: David Goodger |
16 | :Author: David Goodger |
| 17 | :Contact: goodger@users.sourceforge.net |
17 | :Contact: goodger@users.sourceforge.net |
| 18 | :date: $Date: 2006/10/14 02:47:31 $ |
18 | :date: $Date: 2006/11/21 00:24:29 $ |
| 19 | :version: $Revision: 1.2 $ |
19 | :version: $Revision: 1.4 $ |
| 20 | :copyright: This stylesheet has been placed in the public domain. |
20 | :copyright: This stylesheet has been placed in the public domain. |
| 21 | |
21 | |
| 22 | Default cascading style sheet for the PEP HTML output of Docutils. |
22 | Default cascading style sheet for the PEP HTML output of Docutils. |
| 23 | */ |
23 | */ |
| 24 | |
24 | |
| … | |
… | |
| 271 | <col class="field-name" /> |
271 | <col class="field-name" /> |
| 272 | <col class="field-body" /> |
272 | <col class="field-body" /> |
| 273 | <tbody valign="top"> |
273 | <tbody valign="top"> |
| 274 | <tr class="field"><th class="field-name">GLEP:</th><td class="field-body">52</td> |
274 | <tr class="field"><th class="field-name">GLEP:</th><td class="field-body">52</td> |
| 275 | </tr> |
275 | </tr> |
| 276 | <tr class="field"><th class="field-name">Title:</th><td class="field-body">RESTRICT=interactive</td> |
276 | <tr class="field"><th class="field-name">Title:</th><td class="field-body">RESTRICT=unattended</td> |
| 277 | </tr> |
277 | </tr> |
| 278 | <tr class="field"><th class="field-name">Version:</th><td class="field-body">1.1</td> |
278 | <tr class="field"><th class="field-name">Version:</th><td class="field-body">1.3</td> |
| 279 | </tr> |
279 | </tr> |
| 280 | <tr class="field"><th class="field-name">Last-Modified:</th><td class="field-body"><a class="reference" href="http://www.gentoo.org/cgi-bin/viewcvs.cgi/xml/htdocs/proj/en/glep/glep-0052.txt?cvsroot=gentoo">2006/10/13 22:48:15</a></td> |
280 | <tr class="field"><th class="field-name">Last-Modified:</th><td class="field-body"><a class="reference" href="http://www.gentoo.org/cgi-bin/viewcvs.cgi/xml/htdocs/proj/en/glep/glep-0052.txt?cvsroot=gentoo">2006/10/27 15:45:26</a></td> |
| 281 | </tr> |
281 | </tr> |
| 282 | <tr class="field"><th class="field-name">Author:</th><td class="field-body">Marius Mauch <genone at gentoo.org>,</td> |
282 | <tr class="field"><th class="field-name">Author:</th><td class="field-body">Marius Mauch <genone at gentoo.org>,</td> |
| 283 | </tr> |
283 | </tr> |
| 284 | <tr class="field"><th class="field-name">Status:</th><td class="field-body">Draft</td> |
284 | <tr class="field"><th class="field-name">Status:</th><td class="field-body">Draft</td> |
| 285 | </tr> |
285 | </tr> |
| … | |
… | |
| 325 | certain package will require their attention during the build process.</p> |
325 | certain package will require their attention during the build process.</p> |
| 326 | </div> |
326 | </div> |
| 327 | <div class="section"> |
327 | <div class="section"> |
| 328 | <h1><a class="toc-backref" href="#id6" id="specification" name="specification">Specification</a></h1> |
328 | <h1><a class="toc-backref" href="#id6" id="specification" name="specification">Specification</a></h1> |
| 329 | <p>Portage (and by extension other package managers) will support a new value for |
329 | <p>Portage (and by extension other package managers) will support a new value for |
| 330 | the RESTRICT metadata variable called <tt class="docutils literal"><span class="pre">interactive</span></tt>. This value may be used by |
330 | the RESTRICT metadata variable called <tt class="docutils literal"><span class="pre">unattended</span></tt>. This value may be used by |
| 331 | the package manager and tools using its API to filter packages that require |
331 | the package manager and tools using its API to filter packages that require |
| 332 | interactive actions (for example to mask them in automated build environments). |
332 | interactive actions (for example to mask them in automated build environments). |
| 333 | How the package manager exactly reacts on the presence of this new flag is beyond |
333 | How the package manager exactly reacts on the presence of this new flag is beyond |
| 334 | this specification, but it's recommended to indicate it's presence to the user |
334 | this specification, but it's recommended to indicate it's presence to the user |
| 335 | whenever relevant.</p> |
335 | whenever relevant.</p> |
| 336 | <p>This new setting should be used in ebuilds if it is known that they _typically_ |
336 | <p>This new setting should be used in ebuilds if it is known that they _typically_ |
| 337 | require user attention during the build process. If an ebuild just has a limited |
337 | require user attention during the build process. If an ebuild just has a limited |
| 338 | <tt class="docutils literal"><span class="pre">risk</span></tt> of becoming interactive (like using the <tt class="docutils literal"><span class="pre">built_with_use</span></tt> function) |
338 | <tt class="docutils literal"><span class="pre">risk</span></tt> of becoming interactive (like using the <tt class="docutils literal"><span class="pre">built_with_use</span></tt> function) |
| 339 | it shouldn't be restricted.</p> |
339 | it shouldn't be restricted. Note that only package installation is covered here, |
|
|
340 | interactivity in package removals (in pkg_prerm and pkg_postrm) can not be |
|
|
341 | indicated with this feature.</p> |
| 340 | </div> |
342 | </div> |
| 341 | <div class="section"> |
343 | <div class="section"> |
| 342 | <h1><a class="toc-backref" href="#id7" id="rationale" name="rationale">Rationale</a></h1> |
344 | <h1><a class="toc-backref" href="#id7" id="rationale" name="rationale">Rationale</a></h1> |
| 343 | <p>The new RESTRICT=interactive metadata setting will give us the following benefits:</p> |
345 | <p>The new RESTRICT=unattended metadata setting will give us the following benefits:</p> |
| 344 | <ol class="arabic simple"> |
346 | <ol class="arabic simple"> |
| 345 | <li>Enable masking of interactive ebuilds for automated build environments</li> |
347 | <li>Enable masking of interactive ebuilds for automated build environments</li> |
| 346 | <li>Metadata based searching for interactive ebuilds (superior to grep)</li> |
348 | <li>Metadata based searching for interactive ebuilds (superior to grep)</li> |
| 347 | <li>Less frustrated users caused by <tt class="docutils literal"><span class="pre">hanging</span></tt> build processes</li> |
349 | <li>Less frustrated users caused by <tt class="docutils literal"><span class="pre">hanging</span></tt> build processes</li> |
| 348 | </ol> |
350 | </ol> |
| … | |
… | |
| 388 | |
390 | |
| 389 | </div> |
391 | </div> |
| 390 | <div class="footer"> |
392 | <div class="footer"> |
| 391 | <hr class="footer" /> |
393 | <hr class="footer" /> |
| 392 | <a class="reference" href="glep-0052.txt">View document source</a>. |
394 | <a class="reference" href="glep-0052.txt">View document source</a>. |
| 393 | Generated on: 2006-10-14 02:53 UTC. |
395 | Generated on: 2006-11-21 00:32 UTC. |
| 394 | Generated by <a class="reference" href="http://docutils.sourceforge.net/">Docutils</a> from <a class="reference" href="http://docutils.sourceforge.net/rst.html">reStructuredText</a> source. |
396 | Generated by <a class="reference" href="http://docutils.sourceforge.net/">Docutils</a> from <a class="reference" href="http://docutils.sourceforge.net/rst.html">reStructuredText</a> source. |
| 395 | |
397 | |
| 396 | </div> |
398 | </div> |
| 397 | </body> |
399 | </body> |
| 398 | </html> |
400 | </html> |