/[gentoo]/xml/htdocs/proj/en/glep/glep-0042.html
Gentoo

Diff of /xml/htdocs/proj/en/glep/glep-0042.html

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

Revision 1.11 Revision 1.17
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/03/06 03:12:58 $ 18:date: $Date: 2007/05/05 22:24:25 $
19:version: $Revision: 1.11 $ 19:version: $Revision: 1.17 $
20:copyright: This stylesheet has been placed in the public domain. 20:copyright: This stylesheet has been placed in the public domain.
21 21
22Default cascading style sheet for the PEP HTML output of Docutils. 22Default cascading style sheet for the PEP HTML output of Docutils.
23*/ 23*/
24 24
262<a href="http://www.gentoo.org/" title="Gentoo Linux Home Page"> 262<a href="http://www.gentoo.org/" title="Gentoo Linux Home Page">
263<img src="http://www.gentoo.org/images/gentoo-new.gif" alt="[Gentoo]" 263<img src="http://www.gentoo.org/images/gentoo-new.gif" alt="[Gentoo]"
264 border="0" width="150" height="35" /></a></td> 264 border="0" width="150" height="35" /></a></td>
265<td class="textlinks" align="left"> 265<td class="textlinks" align="left">
266[<b><a href="http://www.gentoo.org/">Gentoo Linux Home</a></b>] 266[<b><a href="http://www.gentoo.org/">Gentoo Linux Home</a></b>]
267[<b><a href="http://www.gentoo.org/peps">GLEP Index</a></b>] 267[<b><a href="http://www.gentoo.org/proj/en/glep/">GLEP Index</a></b>]
268[<b><a href="http://www.gentoo.org/proj/en/glep/glep-0042.txt">GLEP Source</a></b>] 268[<b><a href="http://www.gentoo.org/proj/en/glep/glep-0042.txt">GLEP Source</a></b>]
269</td></tr></table> 269</td></tr></table>
270<table class="rfc2822 docutils field-list" frame="void" rules="none"> 270<table class="rfc2822 docutils field-list" frame="void" rules="none">
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">42</td> 274<tr class="field"><th class="field-name">GLEP:</th><td class="field-body">42</td>
275</tr> 275</tr>
276<tr class="field"><th class="field-name">Title:</th><td class="field-body">Critical News Reporting</td> 276<tr class="field"><th class="field-name">Title:</th><td class="field-body">Critical News Reporting</td>
277</tr> 277</tr>
278<tr class="field"><th class="field-name">Version:</th><td class="field-body">1.9</td> 278<tr class="field"><th class="field-name">Version:</th><td class="field-body">1.12</td>
279</tr> 279</tr>
280<tr class="field"><th class="field-name">Author:</th><td class="field-body">Ciaran McCreesh &lt;ciaranm&#32;&#97;t&#32;gentoo.org&gt;</td> 280<tr class="field"><th class="field-name">Author:</th><td class="field-body">Ciaran McCreesh &lt;ciaranm&#32;&#97;t&#32;gentoo.org&gt;,
281Stephen Bennett &lt;spb&#32;&#97;t&#32;gentoo.org&gt;,
282Zach Medico &lt;zmedico&#32;&#97;t&#32;gentoo.org&gt;</td>
281</tr> 283</tr>
282<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-0042.txt?cvsroot=gentoo">2006/03/06 03:12:08</a></td> 284<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-0042.txt?cvsroot=gentoo">2006/09/05 20:36:38</a></td>
283</tr> 285</tr>
284<tr class="field"><th class="field-name">Status:</th><td class="field-body">Draft</td> 286<tr class="field"><th class="field-name">Status:</th><td class="field-body">Final</td>
285</tr> 287</tr>
286<tr class="field"><th class="field-name">Type:</th><td class="field-body">Standards Track</td> 288<tr class="field"><th class="field-name">Type:</th><td class="field-body">Standards Track</td>
287</tr> 289</tr>
288<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> 290<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>
289</tr> 291</tr>
290<tr class="field"><th class="field-name">Created:</th><td class="field-body">31-Oct-2005</td> 292<tr class="field"><th class="field-name">Created:</th><td class="field-body">31-Oct-2005</td>
291</tr> 293</tr>
292<tr class="field"><th class="field-name">Post-History:</th><td class="field-body">1-Nov-2005, 5-Nov-2005, 7-Nov-2005, 11-Dec-2005, 13-Dec-2005, 18-Dec-2005, 5-Jan-2006, 2-Mar-2006, 6-Mar-2006</td> 294<tr class="field"><th class="field-name">Post-History:</th><td class="field-body">1-Nov-2005, 5-Nov-2005, 7-Nov-2005, 11-Dec-2005, 13-Dec-2005, 18-Dec-2005, 5-Jan-2006, 2-Mar-2006, 6-Mar-2006, 12-Jun-2006, 5-Sep-2006</td>
293</tr> 295</tr>
294</tbody> 296</tbody>
295</table> 297</table>
296<hr /> 298<hr />
297<div class="contents topic"> 299<div class="contents topic">
298<p class="topic-title first"><a id="contents" name="contents">Contents</a></p> 300<p class="topic-title first"><a id="contents" name="contents">Contents</a></p>
299<ul class="simple"> 301<ul class="simple">
300<li><a class="reference" href="#abstract" id="id20" name="id20">Abstract</a></li> 302<li><a class="reference" href="#abstract" id="id22" name="id22">Abstract</a></li>
301<li><a class="reference" href="#motivation" id="id21" name="id21">Motivation</a></li> 303<li><a class="reference" href="#motivation" id="id23" name="id23">Motivation</a></li>
302<li><a class="reference" href="#requirements" id="id22" name="id22">Requirements</a></li> 304<li><a class="reference" href="#requirements" id="id24" name="id24">Requirements</a></li>
303<li><a class="reference" href="#specification" id="id23" name="id23">Specification</a><ul> 305<li><a class="reference" href="#specification" id="id25" name="id25">Specification</a><ul>
304<li><a class="reference" href="#overview" id="id24" name="id24">Overview</a></li> 306<li><a class="reference" href="#overview" id="id26" name="id26">Overview</a></li>
305<li><a class="reference" href="#required-portage-enhancements" id="id25" name="id25">Required Portage Enhancements</a></li> 307<li><a class="reference" href="#required-portage-enhancements" id="id27" name="id27">Required Portage Enhancements</a></li>
306<li><a class="reference" href="#news-item-identities" id="id26" name="id26">News Item Identities</a></li> 308<li><a class="reference" href="#news-item-identities" id="id28" name="id28">News Item Identities</a></li>
307<li><a class="reference" href="#news-item-directories" id="id27" name="id27">News Item Directories</a></li> 309<li><a class="reference" href="#news-item-directories" id="id29" name="id29">News Item Directories</a></li>
308<li><a class="reference" href="#news-item-files" id="id28" name="id28">News Item Files</a><ul> 310<li><a class="reference" href="#news-item-files" id="id30" name="id30">News Item Files</a><ul>
309<li><a class="reference" href="#news-item-headers" id="id29" name="id29">News Item Headers</a></li> 311<li><a class="reference" href="#news-item-headers" id="id31" name="id31">News Item Headers</a></li>
310<li><a class="reference" href="#news-item-body" id="id30" name="id30">News Item Body</a></li> 312<li><a class="reference" href="#news-item-body" id="id32" name="id32">News Item Body</a></li>
311<li><a class="reference" href="#example-news-item" id="id31" name="id31">Example News Item</a></li> 313<li><a class="reference" href="#example-news-item" id="id33" name="id33">Example News Item</a></li>
312</ul> 314</ul>
313</li> 315</li>
314<li><a class="reference" href="#news-item-quality-control" id="id32" name="id32">News Item Quality Control</a></li> 316<li><a class="reference" href="#news-item-quality-control" id="id34" name="id34">News Item Quality Control</a></li>
315<li><a class="reference" href="#news-item-distribution" id="id33" name="id33">News Item Distribution</a><ul> 317<li><a class="reference" href="#news-item-distribution" id="id35" name="id35">News Item Distribution</a><ul>
316<li><a class="reference" href="#server-side" id="id34" name="id34">Server Side</a></li> 318<li><a class="reference" href="#server-side" id="id36" name="id36">Server Side</a></li>
317<li><a class="reference" href="#client-side" id="id35" name="id35">Client Side</a></li> 319<li><a class="reference" href="#client-side" id="id37" name="id37">Client Side</a></li>
318</ul> 320</ul>
319</li> 321</li>
320<li><a class="reference" href="#news-item-clients" id="id36" name="id36">News Item Clients</a></li> 322<li><a class="reference" href="#news-item-clients" id="id38" name="id38">News Item Clients</a></li>
321<li><a class="reference" href="#news-item-removal" id="id37" name="id37">News Item Removal</a></li> 323<li><a class="reference" href="#news-item-removal" id="id39" name="id39">News Item Removal</a></li>
322</ul> 324</ul>
323</li> 325</li>
324<li><a class="reference" href="#integration-with-existing-systems" id="id38" name="id38">Integration with Existing Systems</a></li> 326<li><a class="reference" href="#integration-with-existing-systems" id="id40" name="id40">Integration with Existing Systems</a></li>
325<li><a class="reference" href="#backwards-compatibility" id="id39" name="id39">Backwards Compatibility</a></li> 327<li><a class="reference" href="#backwards-compatibility" id="id41" name="id41">Backwards Compatibility</a></li>
326<li><a class="reference" href="#reference-implementation" id="id40" name="id40">Reference Implementation</a></li> 328<li><a class="reference" href="#reference-implementation" id="id42" name="id42">Reference Implementation</a></li>
327<li><a class="reference" href="#credits" id="id41" name="id41">Credits</a></li> 329<li><a class="reference" href="#credits" id="id43" name="id43">Credits</a></li>
328<li><a class="reference" href="#example-files" id="id42" name="id42">Example Files</a></li> 330<li><a class="reference" href="#example-files" id="id44" name="id44">Example Files</a></li>
329<li><a class="reference" href="#references" id="id43" name="id43">References</a></li> 331<li><a class="reference" href="#references" id="id45" name="id45">References</a></li>
330<li><a class="reference" href="#copyright" id="id44" name="id44">Copyright</a></li> 332<li><a class="reference" href="#copyright" id="id46" name="id46">Copyright</a></li>
331</ul> 333</ul>
332</div> 334</div>
333<div class="section"> 335<div class="section">
334<h1><a class="toc-backref" href="#id20" id="abstract" name="abstract">Abstract</a></h1> 336<h1><a class="toc-backref" href="#id22" id="abstract" name="abstract">Abstract</a></h1>
335<p>This GLEP proposes a new way of informing users about important updates and news 337<p>This GLEP proposes a new way of informing users about important updates and news
336related to the tree.</p> 338related to the tree.</p>
337</div> 339</div>
338<div class="section"> 340<div class="section">
339<h1><a class="toc-backref" href="#id21" id="motivation" name="motivation">Motivation</a></h1> 341<h1><a class="toc-backref" href="#id23" id="motivation" name="motivation">Motivation</a></h1>
340<p>Although most package updates are clean and require little user action, 342<p>Although most package updates are clean and require little user action,
341occasionally an upgrade requires user intervention. Recent examples of the 343occasionally an upgrade requires user intervention. Recent examples of the
342latter include the <tt class="docutils literal"><span class="pre">gcc-3.4</span></tt> stabilisation on <tt class="docutils literal"><span class="pre">x86</span></tt> and the <tt class="docutils literal"><span class="pre">mysql-4.1</span></tt> 344latter include the <tt class="docutils literal"><span class="pre">gcc-3.4</span></tt> stabilisation on <tt class="docutils literal"><span class="pre">x86</span></tt> and the <tt class="docutils literal"><span class="pre">mysql-4.1</span></tt>
343database format changes.</p> 345database format changes.</p>
344<p>There are currently several ways of delivering important news items to our 346<p>There are currently several ways of delivering important news items to our
360which are displayed post-install. That is a separate issue which is handled 362which are displayed post-install. That is a separate issue which is handled
361by <tt class="docutils literal"><span class="pre">elog</span></tt> <a class="footnote-reference" href="#bug-11359" id="id1" name="id1">[1]</a>.</p> 363by <tt class="docutils literal"><span class="pre">elog</span></tt> <a class="footnote-reference" href="#bug-11359" id="id1" name="id1">[1]</a>.</p>
362</div> 364</div>
363</div> 365</div>
364<div class="section"> 366<div class="section">
365<h1><a class="toc-backref" href="#id22" id="requirements" name="requirements">Requirements</a></h1> 367<h1><a class="toc-backref" href="#id24" id="requirements" name="requirements">Requirements</a></h1>
366<p>An adequate solution must meet all of the following requirements:</p> 368<p>An adequate solution must meet all of the following requirements:</p>
367<dl class="docutils"> 369<dl class="docutils">
368<dt>Preemptive</dt> 370<dt>Preemptive</dt>
369<dd>Users should be told of changes <em>before</em> they break a system, not after the 371<dd>Users should be told of changes <em>before</em> they break a system, not after the
370damage has already been done. Ideally, the system administrator would be 372damage has already been done. Ideally, the system administrator would be
416excessive difficulty. Similarly, easy interoperation with any future news 418excessive difficulty. Similarly, easy interoperation with any future news
417sources should not be precluded.</dd> 419sources should not be precluded.</dd>
418</dl> 420</dl>
419</div> 421</div>
420<div class="section"> 422<div class="section">
421<h1><a class="toc-backref" href="#id23" id="specification" name="specification">Specification</a></h1> 423<h1><a class="toc-backref" href="#id25" id="specification" name="specification">Specification</a></h1>
422<div class="section"> 424<div class="section">
423<h2><a class="toc-backref" href="#id24" id="overview" name="overview">Overview</a></h2> 425<h2><a class="toc-backref" href="#id26" id="overview" name="overview">Overview</a></h2>
424<p>News items are published and delivered to users as follows:</p> 426<p>News items are published and delivered to users as follows:</p>
425<ol class="arabic simple"> 427<ol class="arabic simple">
426<li>A news item is written. The format to be used is described below.</li> 428<li>A news item is written. The format to be used is described below.</li>
427<li>The news item is reviewed, following the process described in 429<li>The news item is reviewed, following the process described in
428<a class="reference" href="#news-item-quality-control">News Item Quality Control</a>.</li> 430<a class="reference" href="#news-item-quality-control">News Item Quality Control</a>.</li>
439<li>The news item is handled by the user's choice of news item reader. See <a class="reference" href="#news-item-clients">News 441<li>The news item is handled by the user's choice of news item reader. See <a class="reference" href="#news-item-clients">News
440Item Clients</a>.</li> 442Item Clients</a>.</li>
441</ol> 443</ol>
442</div> 444</div>
443<div class="section"> 445<div class="section">
444<h2><a class="toc-backref" href="#id25" id="required-portage-enhancements" name="required-portage-enhancements">Required Portage Enhancements</a></h2> 446<h2><a class="toc-backref" href="#id27" id="required-portage-enhancements" name="required-portage-enhancements">Required Portage Enhancements</a></h2>
445<p>The following extensions to Portage are required:</p> 447<p>The following extensions to Portage are required:</p>
446<ul class="simple"> 448<ul class="simple">
447<li>Every repository (including overlays) will require a unique identifier. It is 449<li>Every repository (including overlays) will require a unique identifier. It is
448assumed that an identifier will be a string consisting of characters from 450assumed that an identifier will be a string consisting of characters from
449<tt class="docutils literal"><span class="pre">a</span></tt> to <tt class="docutils literal"><span class="pre">z</span></tt>, <tt class="docutils literal"><span class="pre">A</span></tt> to <tt class="docutils literal"><span class="pre">Z</span></tt>, <tt class="docutils literal"><span class="pre">0</span></tt> to <tt class="docutils literal"><span class="pre">9</span></tt>, <tt class="docutils literal"><span class="pre">+</span></tt> (plus), <tt class="docutils literal"><span class="pre">-</span></tt> (hyphen) 451<tt class="docutils literal"><span class="pre">a</span></tt> to <tt class="docutils literal"><span class="pre">z</span></tt>, <tt class="docutils literal"><span class="pre">A</span></tt> to <tt class="docutils literal"><span class="pre">Z</span></tt>, <tt class="docutils literal"><span class="pre">0</span></tt> to <tt class="docutils literal"><span class="pre">9</span></tt>, <tt class="docutils literal"><span class="pre">+</span></tt> (plus), <tt class="docutils literal"><span class="pre">-</span></tt> (hyphen)
462<span class="pre">gentoo-x86</span></tt>).</li> 464<span class="pre">gentoo-x86</span></tt>).</li>
463</ul> 465</ul>
464<p>These extensions are assumed during the following specification.</p> 466<p>These extensions are assumed during the following specification.</p>
465</div> 467</div>
466<div class="section"> 468<div class="section">
467<h2><a class="toc-backref" href="#id26" id="news-item-identities" name="news-item-identities">News Item Identities</a></h2> 469<h2><a class="toc-backref" href="#id28" id="news-item-identities" name="news-item-identities">News Item Identities</a></h2>
468<p>Each news item will have a unique identifier. This identifier will be in the 470<p>Each news item will have a unique identifier. This identifier will be in the
469form <tt class="docutils literal"><span class="pre">yyyy-mm-dd-short-name</span></tt>, where <tt class="docutils literal"><span class="pre">yyyy</span></tt> is the year (e.g. <tt class="docutils literal"><span class="pre">2005</span></tt>), 471form <tt class="docutils literal"><span class="pre">yyyy-mm-dd-short-name</span></tt>, where <tt class="docutils literal"><span class="pre">yyyy</span></tt> is the year (e.g. <tt class="docutils literal"><span class="pre">2005</span></tt>),
470<tt class="docutils literal"><span class="pre">mm</span></tt> is the month (<tt class="docutils literal"><span class="pre">01</span></tt> through <tt class="docutils literal"><span class="pre">12</span></tt>) and dd is the day of the month 472<tt class="docutils literal"><span class="pre">mm</span></tt> is the month (<tt class="docutils literal"><span class="pre">01</span></tt> through <tt class="docutils literal"><span class="pre">12</span></tt>) and dd is the day of the month
471(<tt class="docutils literal"><span class="pre">01</span></tt> through <tt class="docutils literal"><span class="pre">31</span></tt>). The <tt class="docutils literal"><span class="pre">short-name</span></tt> is a very short name describing the 473(<tt class="docutils literal"><span class="pre">01</span></tt> through <tt class="docutils literal"><span class="pre">31</span></tt>). The <tt class="docutils literal"><span class="pre">short-name</span></tt> is a very short name describing the
472news item (e.g. <tt class="docutils literal"><span class="pre">yoursql-updates</span></tt>), consisting only of the characters <tt class="docutils literal"><span class="pre">a-z</span></tt>, 474news item (e.g. <tt class="docutils literal"><span class="pre">yoursql-updates</span></tt>), consisting only of the characters <tt class="docutils literal"><span class="pre">a-z</span></tt>,
473<tt class="docutils literal"><span class="pre">0-9</span></tt>, <tt class="docutils literal"><span class="pre">+</span></tt> (plus), <tt class="docutils literal"><span class="pre">-</span></tt> (hyphen) and <tt class="docutils literal"><span class="pre">_</span></tt> (underscore).</p> 475<tt class="docutils literal"><span class="pre">0-9</span></tt>, <tt class="docutils literal"><span class="pre">+</span></tt> (plus), <tt class="docutils literal"><span class="pre">-</span></tt> (hyphen) and <tt class="docutils literal"><span class="pre">_</span></tt> (underscore).</p>
474</div> 476</div>
475<div class="section"> 477<div class="section">
476<h2><a class="toc-backref" href="#id27" id="news-item-directories" name="news-item-directories">News Item Directories</a></h2> 478<h2><a class="toc-backref" href="#id29" id="news-item-directories" name="news-item-directories">News Item Directories</a></h2>
477<p>Each news item will be represented by a directory whose name is the same as the 479<p>Each news item will be represented by a directory whose name is the same as the
478news item's identifier.</p> 480news item's identifier.</p>
479<p>The directory will contain a file named <tt class="docutils literal"><span class="pre">yyyy-mm-dd-short-name.en.txt</span></tt>, which 481<p>The directory will contain a file named <tt class="docutils literal"><span class="pre">yyyy-mm-dd-short-name.en.txt</span></tt>, which
480contains the text of the news item, in English, in the format described below.</p> 482contains the text of the news item, in English, in the format described below.</p>
481<p>If a news item is translated, other files named <tt class="docutils literal"><span class="pre">yyyy-mm-dd-short-name.xx.txt</span></tt> 483<p>If a news item is translated, other files named <tt class="docutils literal"><span class="pre">yyyy-mm-dd-short-name.xx.txt</span></tt>
483remains the same as the original news item) will also be provided. However, only 485remains the same as the original news item) will also be provided. However, only
484the English version of a news item is authoritative. This anglocentricity is 486the English version of a news item is authoritative. This anglocentricity is
485justified by precedent <a class="footnote-reference" href="#glep-34" id="id6" name="id6">[8]</a>.</p> 487justified by precedent <a class="footnote-reference" href="#glep-34" id="id6" name="id6">[8]</a>.</p>
486</div> 488</div>
487<div class="section"> 489<div class="section">
488<h2><a class="toc-backref" href="#id28" id="news-item-files" name="news-item-files">News Item Files</a></h2> 490<h2><a class="toc-backref" href="#id30" id="news-item-files" name="news-item-files">News Item Files</a></h2>
489<p>A news item file is a text file, encoded using UTF-8 <a class="footnote-reference" href="#rfc-3629" id="id7" name="id7">[14]</a> for 491<p>A news item file is a text file, encoded using UTF-8 <a class="footnote-reference" href="#rfc-3629" id="id7" name="id7">[14]</a> for
490compatibility with and for the same reasons as existing Gentoo documentation 492compatibility with and for the same reasons as existing Gentoo documentation
491<a class="footnote-reference" href="#docs-policy" id="id8" name="id8">[2]</a> and the tree <a class="footnote-reference" href="#glep-31" id="id9" name="id9">[7]</a>.</p> 493<a class="footnote-reference" href="#docs-policy" id="id8" name="id8">[2]</a> and the tree <a class="footnote-reference" href="#glep-31" id="id9" name="id9">[7]</a>.</p>
492<p>News items must be signed with a detached GPG signature.:</p> 494<p>News items must be signed with a detached GPG signature.:</p>
493<pre class="literal-block"> 495<pre class="literal-block">
499<p>A news item file's content will consist of an <a class="reference" href="http://www.faqs.org/rfcs/rfc822.html">RFC 822</a> style header <a class="footnote-reference" href="#rfc-822" id="id10" name="id10">[13]</a> 501<p>A news item file's content will consist of an <a class="reference" href="http://www.faqs.org/rfcs/rfc822.html">RFC 822</a> style header <a class="footnote-reference" href="#rfc-822" id="id10" name="id10">[13]</a>
500followed by the main body of the message as plain text. This GLEP defines 502followed by the main body of the message as plain text. This GLEP defines
501various optional and mandatory headers. Future GLEPs may propose new headers — 503various optional and mandatory headers. Future GLEPs may propose new headers —
502tools handling these news items must ignore any unrecognised header.</p> 504tools handling these news items must ignore any unrecognised header.</p>
503<div class="section"> 505<div class="section">
504<h3><a class="toc-backref" href="#id29" id="news-item-headers" name="news-item-headers">News Item Headers</a></h3> 506<h3><a class="toc-backref" href="#id31" id="news-item-headers" name="news-item-headers">News Item Headers</a></h3>
505<p>The following headers describe the purpose and format of the news item:</p> 507<p>The following headers describe the purpose and format of the news item:</p>
506<dl class="docutils"> 508<dl class="docutils">
507<dt><tt class="docutils literal"><span class="pre">Title:</span></tt></dt> 509<dt><tt class="docutils literal"><span class="pre">Title:</span></tt></dt>
508<dd>A short (maximum 44 characters) descriptive title. Mandatory.</dd> 510<dd>A short (maximum 44 characters) descriptive title. Mandatory.</dd>
509<dt><tt class="docutils literal"><span class="pre">Author:</span></tt></dt> 511<dt><tt class="docutils literal"><span class="pre">Author:</span></tt></dt>
567likely to occur than &quot;display this news item for people using <tt class="docutils literal"><span class="pre">YourSQL</span></tt>, or 569likely to occur than &quot;display this news item for people using <tt class="docutils literal"><span class="pre">YourSQL</span></tt>, or
568for people on <tt class="docutils literal"><span class="pre">sparc</span></tt> or <tt class="docutils literal"><span class="pre">x86-obsd</span></tt>&quot; or &quot;display these news items for 570for people on <tt class="docutils literal"><span class="pre">sparc</span></tt> or <tt class="docutils literal"><span class="pre">x86-obsd</span></tt>&quot; or &quot;display these news items for
569people who use <tt class="docutils literal"><span class="pre">YourSQL</span></tt> and who are on both <tt class="docutils literal"><span class="pre">sparc</span></tt> and <tt class="docutils literal"><span class="pre">x86-obsd</span></tt>&quot;.</p> 571people who use <tt class="docutils literal"><span class="pre">YourSQL</span></tt> and who are on both <tt class="docutils literal"><span class="pre">sparc</span></tt> and <tt class="docutils literal"><span class="pre">x86-obsd</span></tt>&quot;.</p>
570</div> 572</div>
571<div class="section"> 573<div class="section">
572<h3><a class="toc-backref" href="#id30" id="news-item-body" name="news-item-body">News Item Body</a></h3> 574<h3><a class="toc-backref" href="#id32" id="news-item-body" name="news-item-body">News Item Body</a></h3>
573<p>The header section must be followed by a blank line, then the main body of the 575<p>The header section must be followed by a blank line, then the main body of the
574text.</p> 576text.</p>
575<p>The text body should be wrapped at 72 characters. No fancy formatting or tab 577<p>The text body should be wrapped at 72 characters. No fancy formatting or tab
576characters should be used — the news item may be being displayed directly to a 578characters should be used — the news item may be being displayed directly to a
577terminal. Paragraphs should be separated by a blank line.</p> 579terminal. Paragraphs should be separated by a blank line.</p>
580simply a &quot;read this link&quot; text. It is assumed that the user will have access to 582simply a &quot;read this link&quot; text. It is assumed that the user will have access to
581a web browser <em>somewhere</em>, but not necessarily on the box which is being 583a web browser <em>somewhere</em>, but not necessarily on the box which is being
582administrated — this will be the case on many servers and routers, for example.</p> 584administrated — this will be the case on many servers and routers, for example.</p>
583</div> 585</div>
584<div class="section"> 586<div class="section">
585<h3><a class="toc-backref" href="#id31" id="example-news-item" name="example-news-item">Example News Item</a></h3> 587<h3><a class="toc-backref" href="#id33" id="example-news-item" name="example-news-item">Example News Item</a></h3>
586<p><a class="reference" href="glep-0042-extras/example-news-item.txt">This hypothetical news item</a> <a class="footnote-reference" href="#id18" id="id19" name="id19">[16]</a> could be used for an upgrade to the 588<p><a class="reference" href="glep-0042-extras/example-news-item.txt">This hypothetical news item</a> <a class="footnote-reference" href="#id20" id="id21" name="id21">[18]</a> could be used for an upgrade to the
587<tt class="docutils literal"><span class="pre">YourSQL</span></tt> database format which breaks forward compatibility.</p> 589<tt class="docutils literal"><span class="pre">YourSQL</span></tt> database format which breaks forward compatibility.</p>
588</div> 590</div>
589</div> 591</div>
590<div class="section"> 592<div class="section">
591<h2><a class="toc-backref" href="#id32" id="news-item-quality-control" name="news-item-quality-control">News Item Quality Control</a></h2> 593<h2><a class="toc-backref" href="#id34" id="news-item-quality-control" name="news-item-quality-control">News Item Quality Control</a></h2>
592<p>There have been complaints regarding the comprehensibility of some upgrade 594<p>There have been complaints regarding the comprehensibility of some upgrade
593notices and news items in the past. This is understandable — not every Gentoo 595notices and news items in the past. This is understandable — not every Gentoo
594developer speaks English as a first language. However, for the sake of clarity, 596developer speaks English as a first language. However, for the sake of clarity,
595professionalism and avoiding making us look like prats, it is important that any 597professionalism and avoiding making us look like prats, it is important that any
596language problems be corrected before inflicting a news item upon end users.</p> 598language problems be corrected before inflicting a news item upon end users.</p>
610Thus, the justification should be in the form &quot;this message is important to 612Thus, the justification should be in the form &quot;this message is important to
611YourSQL users because ...&quot;, not &quot;YourSQL is important because ...&quot;.</p> 613YourSQL users because ...&quot;, not &quot;YourSQL is important because ...&quot;.</p>
612</div> 614</div>
613</div> 615</div>
614<div class="section"> 616<div class="section">
615<h2><a class="toc-backref" href="#id33" id="news-item-distribution" name="news-item-distribution">News Item Distribution</a></h2> 617<h2><a class="toc-backref" href="#id35" id="news-item-distribution" name="news-item-distribution">News Item Distribution</a></h2>
616<div class="section"> 618<div class="section">
617<h3><a class="toc-backref" href="#id34" id="server-side" name="server-side">Server Side</a></h3> 619<h3><a class="toc-backref" href="#id36" id="server-side" name="server-side">Server Side</a></h3>
618<p>News items are to be made available via the standard rsync tree. This removes 620<p>News items are to be made available via the standard rsync tree. This removes
619any need for polling of a remote source.</p> 621any need for polling of a remote source.</p>
620<p>A new repository will be created for news items. The type (CVS or Subversion), 622<p>A new repository will be created for news items. The type (CVS or Subversion),
621location and access controls on this repository are beyond the scope of this 623location and access controls on this repository are beyond the scope of this
622GLEP.</p> 624GLEP.</p>
637<p>The main rsync tree will <strong>not</strong> use the <tt class="docutils literal"><span class="pre">yyyy/mm/</span></tt> subdirectory layout. The 639<p>The main rsync tree will <strong>not</strong> use the <tt class="docutils literal"><span class="pre">yyyy/mm/</span></tt> subdirectory layout. The
638news item directories will all be immediately under the <tt class="docutils literal"><span class="pre">metadata/news/</span></tt> 640news item directories will all be immediately under the <tt class="docutils literal"><span class="pre">metadata/news/</span></tt>
639directory.</p> 641directory.</p>
640</div> 642</div>
641<div class="section"> 643<div class="section">
642<h3><a class="toc-backref" href="#id35" id="client-side" name="client-side">Client Side</a></h3> 644<h3><a class="toc-backref" href="#id37" id="client-side" name="client-side">Client Side</a></h3>
643<p>Whenever relevant unread news items are found, the package manager will create a 645<p>Whenever relevant unread news items are found, the package manager will create a
644file named <tt class="docutils literal"><span class="pre">/var/lib/gentoo/news/news-${repoid}.unread</span></tt> (if it does not 646file named <tt class="docutils literal"><span class="pre">/var/lib/gentoo/news/news-${repoid}.unread</span></tt> (if it does not
645already exist) and append the news item identifier (eg 647already exist) and append the news item identifier (eg
646<tt class="docutils literal"><span class="pre">2005-11-01-yoursql-updates</span></tt>) on a new line.</p> 648<tt class="docutils literal"><span class="pre">2005-11-01-yoursql-updates</span></tt>) on a new line.</p>
647<p>All news item related files should be root owned and in the <tt class="docutils literal"><span class="pre">portage</span></tt> group 649<p>All news item related files should be root owned and in the <tt class="docutils literal"><span class="pre">portage</span></tt> group
673<p>Users who really don't care about news items can use <tt class="docutils literal"><span class="pre">rsync_excludes</span></tt> to 675<p>Users who really don't care about news items can use <tt class="docutils literal"><span class="pre">rsync_excludes</span></tt> to
674filter out the <tt class="docutils literal"><span class="pre">metadata/news/</span></tt> directory.</p> 676filter out the <tt class="docutils literal"><span class="pre">metadata/news/</span></tt> directory.</p>
675</div> 677</div>
676</div> 678</div>
677<div class="section"> 679<div class="section">
678<h2><a class="toc-backref" href="#id36" id="news-item-clients" name="news-item-clients">News Item Clients</a></h2> 680<h2><a class="toc-backref" href="#id38" id="news-item-clients" name="news-item-clients">News Item Clients</a></h2>
679<p>Once a news item is marked for reading, third party tools (or traditional core 681<p>Once a news item is marked for reading, third party tools (or traditional core
680Unix tools) can be used to display and view the news files.</p> 682Unix tools) can be used to display and view the news files.</p>
681<p>When a news item is read, its name should be removed from the 683<p>When a news item is read, its name should be removed from the
682<tt class="docutils literal"><span class="pre">news-${repoid}.unread</span></tt> file. If a news client acts as an interactive reader 684<tt class="docutils literal"><span class="pre">news-${repoid}.unread</span></tt> file. If a news client acts as an interactive reader
683rather than a gateway, it should then add the name to a <tt class="docutils literal"><span class="pre">news-${repoid}.read</span></tt> 685rather than a gateway, it should then add the name to a <tt class="docutils literal"><span class="pre">news-${repoid}.read</span></tt>
686tool; other display tools (for example, a news to email forwarder, which would 688tool; other display tools (for example, a news to email forwarder, which would
687be ideal for users who sync on a <tt class="docutils literal"><span class="pre">cron</span></tt>) are left as options for those who 689be ideal for users who sync on a <tt class="docutils literal"><span class="pre">cron</span></tt>) are left as options for those who
688desire them.</p> 690desire them.</p>
689</div> 691</div>
690<div class="section"> 692<div class="section">
691<h2><a class="toc-backref" href="#id37" id="news-item-removal" name="news-item-removal">News Item Removal</a></h2> 693<h2><a class="toc-backref" href="#id39" id="news-item-removal" name="news-item-removal">News Item Removal</a></h2>
692<p>News items can be removed (by removing the news file from the main tree) when 694<p>News items can be removed (by removing the news file from the main tree) when
693they are no longer relevant, if they are made obsolete by a future news item or 695they are no longer relevant, if they are made obsolete by a future news item or
694after a long period of time. This is the same as the method used for <tt class="docutils literal"><span class="pre">updates</span></tt> 696after a long period of time. This is the same as the method used for <tt class="docutils literal"><span class="pre">updates</span></tt>
695entries.</p> 697entries.</p>
696</div> 698</div>
697</div> 699</div>
698<div class="section"> 700<div class="section">
699<h1><a class="toc-backref" href="#id38" id="integration-with-existing-systems" name="integration-with-existing-systems">Integration with Existing Systems</a></h1> 701<h1><a class="toc-backref" href="#id40" id="integration-with-existing-systems" name="integration-with-existing-systems">Integration with Existing Systems</a></h1>
700<p>It would be simple to convert these news items into the format used for news 702<p>It would be simple to convert these news items into the format used for news
701items on the Gentoo website or posts for the <tt class="docutils literal"><span class="pre">gentoo-announce</span></tt> mailing list.</p> 703items on the Gentoo website or posts for the <tt class="docutils literal"><span class="pre">gentoo-announce</span></tt> mailing list.</p>
702<p>There is an existing automated tool <a class="footnote-reference" href="#forums-glsa" id="id16" name="id16">[4]</a> for posting GLSAs to the 704<p>There is an existing automated tool <a class="footnote-reference" href="#forums-glsa" id="id16" name="id16">[4]</a> for posting GLSAs to the
703forums. A similar tool can be used for these news items.</p> 705forums. A similar tool can be used for these news items.</p>
704</div> 706</div>
705<div class="section"> 707<div class="section">
706<h1><a class="toc-backref" href="#id39" id="backwards-compatibility" name="backwards-compatibility">Backwards Compatibility</a></h1> 708<h1><a class="toc-backref" href="#id41" id="backwards-compatibility" name="backwards-compatibility">Backwards Compatibility</a></h1>
707<p>Backwards compatibility is not a concern here. Existing tools will simply ignore 709<p>Backwards compatibility is not a concern here. Existing tools will simply ignore
708the <tt class="docutils literal"><span class="pre">news/</span></tt> directory.</p> 710the <tt class="docutils literal"><span class="pre">news/</span></tt> directory.</p>
709</div> 711</div>
710<div class="section"> 712<div class="section">
711<h1><a class="toc-backref" href="#id40" id="reference-implementation" name="reference-implementation">Reference Implementation</a></h1> 713<h1><a class="toc-backref" href="#id42" id="reference-implementation" name="reference-implementation">Reference Implementation</a></h1>
712<p>TODO</p> 714<p>A reference implementation of the required package manager support can be found
715in Paludis <a class="footnote-reference" href="#paludis" id="id17" name="id17">[15]</a>, along with a reference newsreader implemented as an
716eselect module <a class="footnote-reference" href="#eselect-news" id="id18" name="id18">[16]</a>.</p>
713</div> 717</div>
714<div class="section"> 718<div class="section">
715<h1><a class="toc-backref" href="#id41" id="credits" name="credits">Credits</a></h1> 719<h1><a class="toc-backref" href="#id43" id="credits" name="credits">Credits</a></h1>
716<p>The idea behind notifying users of news updates via Portage comes from Stuart 720<p>The idea behind notifying users of news updates via Portage comes from Stuart
717Herbert <a class="footnote-reference" href="#stuart-blog" id="id17" name="id17">[15]</a>.</p> 721Herbert <a class="footnote-reference" href="#stuart-blog" id="id19" name="id19">[17]</a>.</p>
718<p>Thanks to Lance Albertson, Stephen Bennett, Donnie Berkholz, Grant Goodyear, 722<p>Thanks to Lance Albertson, Stephen Bennett, Donnie Berkholz, Grant Goodyear,
719Brian Harring, Marius Mauch, Dan Meltzer, Jason Stubbs, Paul de Vrieze and Alec 723Brian Harring, Marius Mauch, Dan Meltzer, Jason Stubbs, Paul de Vrieze and Alec
720Warner for input. Some of the ideas presented here are theirs, others go 724Warner for input. Some of the ideas presented here are theirs, others go
721completely against their suggestions.</p> 725completely against their suggestions.</p>
722</div> 726</div>
723<div class="section"> 727<div class="section">
724<h1><a class="toc-backref" href="#id42" id="example-files" name="example-files">Example Files</a></h1> 728<h1><a class="toc-backref" href="#id44" id="example-files" name="example-files">Example Files</a></h1>
725<dl class="docutils"> 729<dl class="docutils">
726<dt><a class="reference" href="glep-0042-extras/example-news-item.txt">example-news-item.txt</a></dt> 730<dt><a class="reference" href="glep-0042-extras/example-news-item.txt">example-news-item.txt</a></dt>
727<dd>An example news item.</dd> 731<dd>An example news item.</dd>
728</dl> 732</dl>
729</div> 733</div>
730<div class="section"> 734<div class="section">
731<h1><a class="toc-backref" href="#id43" id="references" name="references">References</a></h1> 735<h1><a class="toc-backref" href="#id45" id="references" name="references">References</a></h1>
732<table class="docutils footnote" frame="void" id="bug-11359" rules="none"> 736<table class="docutils footnote" frame="void" id="bug-11359" rules="none">
733<colgroup><col class="label" /><col /></colgroup> 737<colgroup><col class="label" /><col /></colgroup>
734<tbody valign="top"> 738<tbody valign="top">
735<tr><td class="label"><a class="fn-backref" href="#id1" name="bug-11359">[1]</a></td><td>Bugzilla Bug 11359 739<tr><td class="label"><a class="fn-backref" href="#id1" name="bug-11359">[1]</a></td><td>Bugzilla Bug 11359
736&quot;[NEW FEATURE] pkg_postinst/pkg_preinst ewarn/einfo logging&quot;, 740&quot;[NEW FEATURE] pkg_postinst/pkg_preinst ewarn/einfo logging&quot;,
829<tbody valign="top"> 833<tbody valign="top">
830<tr><td class="label"><a class="fn-backref" href="#id7" name="rfc-3629">[14]</a></td><td><a class="reference" href="http://www.faqs.org/rfcs/rfc3629.html">RFC 3629</a>: &quot;UTF-8, a transformation format of ISO 10646&quot; 834<tr><td class="label"><a class="fn-backref" href="#id7" name="rfc-3629">[14]</a></td><td><a class="reference" href="http://www.faqs.org/rfcs/rfc3629.html">RFC 3629</a>: &quot;UTF-8, a transformation format of ISO 10646&quot;
831<a class="reference" href="http://www.ietf.org/rfc/rfc3629.txt">http://www.ietf.org/rfc/rfc3629.txt</a></td></tr> 835<a class="reference" href="http://www.ietf.org/rfc/rfc3629.txt">http://www.ietf.org/rfc/rfc3629.txt</a></td></tr>
832</tbody> 836</tbody>
833</table> 837</table>
838<table class="docutils footnote" frame="void" id="paludis" rules="none">
839<colgroup><col class="label" /><col /></colgroup>
840<tbody valign="top">
841<tr><td class="label"><a class="fn-backref" href="#id17" name="paludis">[15]</a></td><td>Paludis homepage, <a class="reference" href="http://paludis.berlios.de">http://paludis.berlios.de</a></td></tr>
842</tbody>
843</table>
844<table class="docutils footnote" frame="void" id="eselect-news" rules="none">
845<colgroup><col class="label" /><col /></colgroup>
846<tbody valign="top">
847<tr><td class="label"><a class="fn-backref" href="#id18" name="eselect-news">[16]</a></td><td>news.eselect, <a class="reference" href="http://svn.berlios.de/svnroot/repos/paludis/trunk/eselect/news.eselect">http://svn.berlios.de/svnroot/repos/paludis/trunk/eselect/news.eselect</a></td></tr>
848</tbody>
849</table>
834<table class="docutils footnote" frame="void" id="stuart-blog" rules="none"> 850<table class="docutils footnote" frame="void" id="stuart-blog" rules="none">
835<colgroup><col class="label" /><col /></colgroup> 851<colgroup><col class="label" /><col /></colgroup>
836<tbody valign="top"> 852<tbody valign="top">
837<tr><td class="label"><a class="fn-backref" href="#id17" name="stuart-blog">[15]</a></td><td>&quot;Favouring an automatic news mechanism&quot;, Stuart Herbert, 853<tr><td class="label"><a class="fn-backref" href="#id19" name="stuart-blog">[17]</a></td><td>&quot;Favouring an automatic news mechanism&quot;, Stuart Herbert,
838<a class="reference" href="http://stu.gnqs.org/diary/gentoo.php/2005/10/28/favouring_an_automatic_news_mechanism">http://stu.gnqs.org/diary/gentoo.php/2005/10/28/favouring_an_automatic_news_mechanism</a></td></tr> 854<a class="reference" href="http://stu.gnqs.org/diary/gentoo.php/2005/10/28/favouring_an_automatic_news_mechanism">http://stu.gnqs.org/diary/gentoo.php/2005/10/28/favouring_an_automatic_news_mechanism</a></td></tr>
839</tbody> 855</tbody>
840</table> 856</table>
841<table class="docutils footnote" frame="void" id="id18" rules="none"> 857<table class="docutils footnote" frame="void" id="id20" rules="none">
842<colgroup><col class="label" /><col /></colgroup> 858<colgroup><col class="label" /><col /></colgroup>
843<tbody valign="top"> 859<tbody valign="top">
844<tr><td class="label"><a class="fn-backref" href="#id19" name="id18">[16]</a></td><td><a class="reference" href="glep-0042-extras/example-news-item.txt">glep-0042-extras/example-news-item.txt</a></td></tr> 860<tr><td class="label"><a class="fn-backref" href="#id21" name="id20">[18]</a></td><td><a class="reference" href="glep-0042-extras/example-news-item.txt">glep-0042-extras/example-news-item.txt</a></td></tr>
845</tbody> 861</tbody>
846</table> 862</table>
847</div> 863</div>
848<div class="section"> 864<div class="section">
849<h1><a class="toc-backref" href="#id44" id="copyright" name="copyright">Copyright</a></h1> 865<h1><a class="toc-backref" href="#id46" id="copyright" name="copyright">Copyright</a></h1>
850<p>This document has been placed in the public domain.</p> 866<p>This document has been placed in the public domain.</p>
851<!-- vim: set tw=80 fileencoding=utf-8 spell spelllang=en et : --> 867<!-- vim: set tw=80 fileencoding=utf-8 spell spelllang=en et : -->
852</div> 868</div>
853 869
854</div> 870</div>
855<div class="footer"> 871<div class="footer">
856<hr class="footer" /> 872<hr class="footer" />
857<a class="reference" href="glep-0042.txt">View document source</a>. 873<a class="reference" href="glep-0042.txt">View document source</a>.
858Generated on: 2006-03-06 03:12 UTC. 874Generated on: 2006-10-10 20:23 UTC.
859Generated 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. 875Generated 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.
860 876
861</div> 877</div>
862</body> 878</body>
863</html> 879</html>

Legend:
Removed from v.1.11  
changed lines
  Added in v.1.17

  ViewVC Help
Powered by ViewVC 1.1.20