| … | |
… | |
| 6 | PEP, see http://www.python.org/peps/pep-0001.html for instructions and links |
6 | PEP, see http://www.python.org/peps/pep-0001.html for instructions and links |
| 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.3.0: http://docutils.sourceforge.net/" /> |
11 | <meta name="generator" content="Docutils 0.3.3: http://docutils.sourceforge.net/" /> |
| 12 | <title>GLEP 24 -- Consistent Gentoo tool naming scheme</title> |
12 | <title>GLEP 24 -- Consistent Gentoo tool naming scheme</title> |
| 13 | <link rel="stylesheet" href="tools/glep.css" type="text/css" /> |
13 | <link rel="stylesheet" href="tools/glep.css" type="text/css" /> |
| 14 | </head> |
14 | </head> |
| 15 | <body bgcolor="white"> |
15 | <body bgcolor="white"> |
| 16 | <table class="navigation" cellpadding="0" cellspacing="0" |
16 | <table class="navigation" cellpadding="0" cellspacing="0" |
| … | |
… | |
| 20 | <img src="http://www.gentoo.org/images/gentoo-new.gif" alt="[Gentoo]" |
20 | <img src="http://www.gentoo.org/images/gentoo-new.gif" alt="[Gentoo]" |
| 21 | border="0" width="150" height="35" /></a></td> |
21 | border="0" width="150" height="35" /></a></td> |
| 22 | <td class="textlinks" align="left"> |
22 | <td class="textlinks" align="left"> |
| 23 | [<b><a href="http://www.gentoo.org/">Gentoo Linux Home</a></b>] |
23 | [<b><a href="http://www.gentoo.org/">Gentoo Linux Home</a></b>] |
| 24 | [<b><a href="http://www.gentoo.org/proj/en/glep">GLEP Index</a></b>] |
24 | [<b><a href="http://www.gentoo.org/proj/en/glep">GLEP Index</a></b>] |
| 25 | [<b><a href="http://www.gentoo.org/proj/en/glep/glep-0024.txt">GLEP Source</a></b>] |
25 | [<b><a href="./glep-0024.txt">GLEP Source</a></b>] |
| 26 | </td></tr></table> |
26 | </td></tr></table> |
| 27 | <div class="document"> |
27 | <div class="document"> |
| 28 | <table class="rfc2822 field-list" frame="void" rules="none"> |
28 | <table class="rfc2822 field-list" frame="void" rules="none"> |
| 29 | <col class="field-name" /> |
29 | <col class="field-name" /> |
| 30 | <col class="field-body" /> |
30 | <col class="field-body" /> |
| 31 | <tbody valign="top"> |
31 | <tbody valign="top"> |
| 32 | <tr class="field"><th class="field-name">GLEP:</th><td class="field-body">24</td> |
32 | <tr class="field"><th class="field-name">GLEP:</th><td class="field-body">24</td> |
| 33 | </tr> |
33 | </tr> |
| 34 | <tr class="field"><th class="field-name">Title:</th><td class="field-body">Consistent Gentoo tool naming scheme</td> |
34 | <tr class="field"><th class="field-name">Title:</th><td class="field-body">Consistent Gentoo tool naming scheme</td> |
| 35 | </tr> |
35 | </tr> |
| 36 | <tr class="field"><th class="field-name">Version:</th><td class="field-body">1.1</td> |
36 | <tr class="field"><th class="field-name">Version:</th><td class="field-body">1.3</td> |
| 37 | </tr> |
37 | </tr> |
| 38 | <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-0024.txt?cvsroot=gentoo">2004/03/17 14:17:26</a></td> |
38 | <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/xml/htdocs/proj/en/glep/glep-0024.txt?cvsroot=gentoo">2004/10/25 16:53:16</a></td> |
| 39 | </tr> |
39 | </tr> |
| 40 | <tr class="field"><th class="field-name">Author:</th><td class="field-body">Donnie Berkholz <spyderous at gentoo.org>,</td> |
40 | <tr class="field"><th class="field-name">Author:</th><td class="field-body">Donnie Berkholz <spyderous at gentoo.org>,</td> |
| 41 | </tr> |
41 | </tr> |
| 42 | <tr class="field"><th class="field-name">Status:</th><td class="field-body">Draft</td> |
42 | <tr class="field"><th class="field-name">Status:</th><td class="field-body">deferred</td> |
| 43 | </tr> |
43 | </tr> |
| 44 | <tr class="field"><th class="field-name">Type:</th><td class="field-body">Standards</td> |
44 | <tr class="field"><th class="field-name">Type:</th><td class="field-body">Standards</td> |
| 45 | </tr> |
45 | </tr> |
| 46 | <tr class="field"><th class="field-name">Content-Type:</th><td class="field-body"><a class="reference" href="glep-0002.html">text/x-rst</a></td> |
46 | <tr class="field"><th class="field-name">Content-Type:</th><td class="field-body"><a class="reference" href="glep-0012.html">text/x-rst</a></td> |
| 47 | </tr> |
47 | </tr> |
| 48 | <tr class="field"><th class="field-name">Created:</th><td class="field-body">16 March 2004</td> |
48 | <tr class="field"><th class="field-name">Created:</th><td class="field-body">16 March 2004</td> |
| 49 | </tr> |
49 | </tr> |
| 50 | <tr class="field"><th class="field-name">Post-History:</th><td class="field-body">17-Mar-2004</td> |
50 | <tr class="field"><th class="field-name">Post-History:</th><td class="field-body">17-Mar-2004, 25-Oct-2004</td> |
| 51 | </tr> |
51 | </tr> |
| 52 | </tbody> |
52 | </tbody> |
| 53 | </table> |
53 | </table> |
| 54 | <hr /> |
54 | <hr /> |
| 55 | <div class="contents topic" id="contents"> |
55 | <div class="contents topic" id="contents"> |
| 56 | <p class="topic-title"><a name="contents">Contents</a></p> |
56 | <p class="topic-title first"><a name="contents">Contents</a></p> |
| 57 | <ul class="simple"> |
57 | <ul class="simple"> |
| 58 | <li><a class="reference" href="#abstract" id="id2" name="id2">Abstract</a></li> |
58 | <li><a class="reference" href="#abstract" id="id2" name="id2">Abstract</a></li> |
|
|
59 | <li><a class="reference" href="#status-update" id="id3" name="id3">Status Update</a></li> |
| 59 | <li><a class="reference" href="#motivation" id="id3" name="id3">Motivation</a></li> |
60 | <li><a class="reference" href="#motivation" id="id4" name="id4">Motivation</a></li> |
| 60 | <li><a class="reference" href="#specification" id="id4" name="id4">Specification</a></li> |
61 | <li><a class="reference" href="#specification" id="id5" name="id5">Specification</a></li> |
| 61 | <li><a class="reference" href="#rationale" id="id5" name="id5">Rationale</a></li> |
62 | <li><a class="reference" href="#rationale" id="id6" name="id6">Rationale</a></li> |
| 62 | <li><a class="reference" href="#backwards-compatibility" id="id6" name="id6">Backwards Compatibility</a></li> |
63 | <li><a class="reference" href="#backwards-compatibility" id="id7" name="id7">Backwards Compatibility</a></li> |
| 63 | <li><a class="reference" href="#reference-implementation" id="id7" name="id7">Reference Implementation</a></li> |
64 | <li><a class="reference" href="#reference-implementation" id="id8" name="id8">Reference Implementation</a></li> |
| 64 | <li><a class="reference" href="#copyright" id="id8" name="id8">Copyright</a></li> |
65 | <li><a class="reference" href="#copyright" id="id9" name="id9">Copyright</a></li> |
| 65 | </ul> |
66 | </ul> |
| 66 | </div> |
67 | </div> |
| 67 | <div class="section" id="abstract"> |
68 | <div class="section" id="abstract"> |
| 68 | <h1><a class="toc-backref" href="#id2" name="abstract">Abstract</a></h1> |
69 | <h1><a class="toc-backref" href="#id2" name="abstract">Abstract</a></h1> |
| 69 | <p>This GLEP proposes to create a more consistent, logical and usable naming |
70 | <p>This GLEP proposes to create a more consistent, logical and usable naming |
| 70 | scheme for Gentoo-specific configuration and update tools. It proposes |
71 | scheme for Gentoo-specific configuration and update tools. It proposes |
| 71 | changing the scheme to gentoo-config-<toolname> and gentoo-update-<toolname>.</p> |
72 | changing the scheme to gentoo-config-<toolname> and gentoo-update-<toolname>.</p> |
| 72 | </div> |
73 | </div> |
|
|
74 | <div class="section" id="status-update"> |
|
|
75 | <h1><a class="toc-backref" href="#id3" name="status-update">Status Update</a></h1> |
|
|
76 | <p>The author notes that this GLEP "needs significant work", which is |
|
|
77 | unlikely to occur until either winter vacation or next summer. |
|
|
78 | Marking as deferred for the time being.</p> |
|
|
79 | </div> |
| 73 | <div class="section" id="motivation"> |
80 | <div class="section" id="motivation"> |
| 74 | <h1><a class="toc-backref" href="#id3" name="motivation">Motivation</a></h1> |
81 | <h1><a class="toc-backref" href="#id4" name="motivation">Motivation</a></h1> |
| 75 | <p>A consistent prefix on these tools will allow users to easily find them on the |
82 | <p>A consistent prefix on these tools will allow users to easily find them on the |
| 76 | system by merely entering "gentoo-<tab><tab>" for a complete listing or |
83 | system by merely entering "gentoo-<tab><tab>" for a complete listing or |
| 77 | "gentoo-config-<tab><tab>" or "gentoo-update-<tab><tab>" to get a listing of |
84 | "gentoo-config-<tab><tab>" or "gentoo-update-<tab><tab>" to get a listing of |
| 78 | the specific category.</p> |
85 | the specific category.</p> |
| 79 | <p>In the current situation, it is trivial to miss a configuration tool unless one |
86 | <p>In the current situation, it is trivial to miss a configuration tool unless one |
| 80 | reads a portage log of installed files for a package. Revamping the naming |
87 | reads a portage log of installed files for a package. Revamping the naming |
| 81 | scheme would enable users to find these tools more easily.</p> |
88 | scheme would enable users to find these tools more easily.</p> |
| 82 | </div> |
89 | </div> |
| 83 | <div class="section" id="specification"> |
90 | <div class="section" id="specification"> |
| 84 | <h1><a class="toc-backref" href="#id4" name="specification">Specification</a></h1> |
91 | <h1><a class="toc-backref" href="#id5" name="specification">Specification</a></h1> |
| 85 | <p>The following packages and tools are affected (gentoo- prefix removed for ease |
92 | <p>The following packages and tools are affected (gentoo- prefix removed for ease |
| 86 | of reading, current name follows suggested name):</p> |
93 | of reading, current name follows suggested name):</p> |
| 87 | <pre class="literal-block"> |
94 | <pre class="literal-block"> |
| 88 | config-kernel |
95 | config-kernel |
| 89 | x11-base/opengl-update -> config-opengl (opengl-update) |
96 | x11-base/opengl-update -> config-opengl (opengl-update) |
| … | |
… | |
| 101 | sys-apps/baselayout -> update-etc (etc-update) |
108 | sys-apps/baselayout -> update-etc (etc-update) |
| 102 | sys-apps/baselayout -> config-rc (rc-update) |
109 | sys-apps/baselayout -> config-rc (rc-update) |
| 103 | </pre> |
110 | </pre> |
| 104 | </div> |
111 | </div> |
| 105 | <div class="section" id="rationale"> |
112 | <div class="section" id="rationale"> |
| 106 | <h1><a class="toc-backref" href="#id5" name="rationale">Rationale</a></h1> |
113 | <h1><a class="toc-backref" href="#id6" name="rationale">Rationale</a></h1> |
| 107 | <p>Three primary options were presented for the naming scheme:</p> |
114 | <p>Three primary options were presented for the naming scheme:</p> |
| 108 | <ul class="simple"> |
115 | <ul class="simple"> |
| 109 | <li>The current scheme, *-config and *-update. This scheme makes finding a |
116 | <li>The current scheme, *-config and *-update. This scheme makes finding a |
| 110 | tool difficult, since there is no consistency in the beginning of the name. |
117 | tool difficult, since there is no consistency in the beginning of the name. |
| 111 | However, it may be easier for people who already know such a tool exists and |
118 | However, it may be easier for people who already know such a tool exists and |
| … | |
… | |
| 127 | <p>After two discussions on gentoo-dev, the majority favored this unified prefix |
134 | <p>After two discussions on gentoo-dev, the majority favored this unified prefix |
| 128 | for the tools, with a minority in objection, variously favoring one of the |
135 | for the tools, with a minority in objection, variously favoring one of the |
| 129 | first two schemes above.</p> |
136 | first two schemes above.</p> |
| 130 | </div> |
137 | </div> |
| 131 | <div class="section" id="backwards-compatibility"> |
138 | <div class="section" id="backwards-compatibility"> |
| 132 | <h1><a class="toc-backref" href="#id6" name="backwards-compatibility">Backwards Compatibility</a></h1> |
139 | <h1><a class="toc-backref" href="#id7" name="backwards-compatibility">Backwards Compatibility</a></h1> |
| 133 | <p>To ensure a smooth transition, a wrapper script will be provided in the old |
140 | <p>To ensure a smooth transition, a wrapper script will be provided in the old |
| 134 | location. This wrapper will print a warning, sleep 5 seconds, then run the |
141 | location. This wrapper will print a warning, sleep 5 seconds, then run the |
| 135 | tool from its new location. The wrapper script should be provided for the next |
142 | tool from its new location. The wrapper script should be provided for the next |
| 136 | two new ebuilds for the package, whether they are revision or version bumps. |
143 | two new ebuilds for the package, whether they are revision or version bumps. |
| 137 | On the third update, the wrapper script will be removed.</p> |
144 | On the third update, the wrapper script will be removed.</p> |
| 138 | <p>In addition, einfo warnings will be added in the ebuilds for the first three |
145 | <p>In addition, einfo warnings will be added in the ebuilds for the first three |
| 139 | new ebuilds. They will run in one more ebuild beyond removal of the wrapper |
146 | new ebuilds. They will run in one more ebuild beyond removal of the wrapper |
| 140 | script.</p> |
147 | script.</p> |
| 141 | </div> |
148 | </div> |
| 142 | <div class="section" id="reference-implementation"> |
149 | <div class="section" id="reference-implementation"> |
| 143 | <h1><a class="toc-backref" href="#id7" name="reference-implementation">Reference Implementation</a></h1> |
150 | <h1><a class="toc-backref" href="#id8" name="reference-implementation">Reference Implementation</a></h1> |
| 144 | <p>not yet ..</p> |
151 | <p>not yet ..</p> |
| 145 | </div> |
152 | </div> |
| 146 | <div class="section" id="copyright"> |
153 | <div class="section" id="copyright"> |
| 147 | <h1><a class="toc-backref" href="#id8" name="copyright">Copyright</a></h1> |
154 | <h1><a class="toc-backref" href="#id9" name="copyright">Copyright</a></h1> |
| 148 | <p>This document has been placed in the public domain.</p> |
155 | <p>This document has been placed in the public domain.</p> |
| 149 | </div> |
156 | </div> |
| 150 | </div> |
157 | </div> |
| 151 | |
158 | |
| 152 | <hr class="footer"/> |
159 | <hr class="footer" /> |
| 153 | <div class="footer"> |
160 | <div class="footer"> |
| 154 | <a class="reference" href="glep-0024.txt">View document source</a>. |
161 | <a class="reference" href="glep-0024.txt">View document source</a>. |
| 155 | Generated on: 2004-03-17 14:24 UTC. |
162 | Generated on: 2004-10-25 16:46 UTC. |
| 156 | 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. |
163 | 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. |
| 157 | </div> |
164 | </div> |
| 158 | </body> |
165 | </body> |
| 159 | </html> |
166 | </html> |
| 160 | |
167 | |