| 1 | GLEP: 42 |
1 | GLEP: 42 |
| 2 | Title: Critical News Reporting |
2 | Title: Critical News Reporting |
| 3 | Version: $Revision: 1.5 $ |
3 | Version: $Revision: 1.13 $ |
| 4 | Author: Ciaran McCreesh <ciaranm@gentoo.org> |
4 | Author: Ciaran McCreesh <ciaranm@gentoo.org>, |
|
|
5 | Stephen Bennett <spb@gentoo.org>, |
|
|
6 | Zach Medico <zmedico@gentoo.org> |
| 5 | Last-Modified: $Date: 2005/12/13 03:21:59 $ |
7 | Last-Modified: $Date: 2007/05/05 22:24:25 $ |
| 6 | Status: Draft |
8 | Status: Final |
| 7 | Type: Standards Track |
9 | Type: Standards Track |
| 8 | Content-Type: text/x-rst |
10 | Content-Type: text/x-rst |
| 9 | Created: 31-Oct-2005 |
11 | Created: 31-Oct-2005 |
| 10 | Post-History: 1-Nov-2005, 5-Nov-2005, 7-Nov-2005, 11-Dec-2005, 13-Dec-2005 |
12 | Post-History: 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 |
| 11 | |
13 | |
| 12 | Abstract |
14 | Abstract |
| 13 | ======== |
15 | ======== |
| 14 | |
16 | |
| 15 | This GLEP proposes a new way of informing users about important updates and news |
17 | This GLEP proposes a new way of informing users about important updates and news |
| 16 | regarding tree-related items. |
18 | related to the tree. |
| 17 | |
19 | |
| 18 | Motivation |
20 | Motivation |
| 19 | ========== |
21 | ========== |
| 20 | |
22 | |
| 21 | Although most package updates are clean and require little user action, |
23 | Although most package updates are clean and require little user action, |
| 22 | occasionally an upgrade requires user intervention during the upgrade process. |
24 | occasionally an upgrade requires user intervention. Recent examples of the |
| 23 | Recent examples of the latter include the ``gcc-3.4`` stabilisation on ``x86`` |
25 | latter include the ``gcc-3.4`` stabilisation on ``x86`` and the ``mysql-4.1`` |
| 24 | and the ``mysql-4.1`` database format changes. |
26 | database format changes. |
| 25 | |
27 | |
| 26 | There are currently several ways of delivering important news items to our |
28 | There are currently several ways of delivering important news items to our |
| 27 | users, none of them particularly effective: |
29 | users, none of them particularly effective: |
| 28 | |
30 | |
| 29 | * Gentoo Weekly News |
31 | * Gentoo Weekly News |
| … | |
… | |
| 32 | * The main Gentoo website |
34 | * The main Gentoo website |
| 33 | * RSS feeds of Gentoo news |
35 | * RSS feeds of Gentoo news |
| 34 | * ``einfo`` and ``ewarn`` messages in ``pkg_setup`` or ``pkg_postinst`` |
36 | * ``einfo`` and ``ewarn`` messages in ``pkg_setup`` or ``pkg_postinst`` |
| 35 | |
37 | |
| 36 | A more reliable way of getting news of critical updates out to users is required |
38 | A more reliable way of getting news of critical updates out to users is required |
| 37 | to avoid repeats of the various recent upgrade debacles. This GLEP proposes a |
39 | to avoid repeats of various prior upgrade debacles. This GLEP proposes a |
| 38 | solution based around pushing news items out to the user via the ``rsync`` tree. |
40 | solution based around pushing news items out to the user via the ``rsync`` tree. |
| 39 | |
41 | |
| 40 | .. Important:: This GLEP does not seek to replace or modify ``einfo`` messages |
42 | .. Important:: This GLEP does not seek to replace or modify ``einfo`` messages |
| 41 | which are displayed post-install. That is a separate issue which is handled |
43 | which are displayed post-install. That is a separate issue which is handled |
| 42 | by ``elog`` [#bug-11359]_. |
44 | by ``elog`` [#bug-11359]_. |
| … | |
… | |
| 52 | given ample warning to plan difficult upgrades and changes, rather than only |
54 | given ample warning to plan difficult upgrades and changes, rather than only |
| 53 | being told just before action is necessary. |
55 | being told just before action is necessary. |
| 54 | |
56 | |
| 55 | No user subscription required |
57 | No user subscription required |
| 56 | It has already been demonstrated [#forums-apache2]_ that many users do not |
58 | It has already been demonstrated [#forums-apache2]_ that many users do not |
| 57 | read the ``gentoo-announce`` mailing list or ``RSS`` feeds. A solution which |
59 | read the ``gentoo-announce`` mailing list or ``RSS`` feeds. A solution that |
| 58 | requires subscription has no advantage over current methods. |
60 | requires subscription has no advantage over current methods. |
| 59 | |
61 | |
| 60 | No user monitoring required |
62 | No user monitoring required |
| 61 | It has already been demonstrated [#forums-apache2]_ that many users do not |
63 | It has already been demonstrated [#forums-apache2]_ that many users do not |
| 62 | read news items posted to the Gentoo website, or do not read news items |
64 | read news items posted to the Gentoo website, or do not read news items |
| … | |
… | |
| 134 | informing the user that there are unread news items. |
136 | informing the user that there are unread news items. |
| 135 | |
137 | |
| 136 | 6. The news item is handled by the user's choice of news item reader. See `News |
138 | 6. The news item is handled by the user's choice of news item reader. See `News |
| 137 | Item Clients`_. |
139 | Item Clients`_. |
| 138 | |
140 | |
|
|
141 | Required Portage Enhancements |
|
|
142 | ----------------------------- |
|
|
143 | |
|
|
144 | The following extensions to Portage are required: |
|
|
145 | |
|
|
146 | * Every repository (including overlays) will require a unique identifier. It is |
|
|
147 | assumed that an identifier will be a string consisting of characters from |
|
|
148 | ``a`` to ``z``, ``A`` to ``Z``, ``0`` to ``9``, ``+`` (plus), ``-`` (hyphen) |
|
|
149 | ``_`` (underscore). |
|
|
150 | |
|
|
151 | * Portage must provide a way for external programs to obtain a list of all |
|
|
152 | repository identifiers for a given system. It is assumed that this will be in |
|
|
153 | the form of a ``portageq`` command (e.g. ``portageq get_repo_ids``). |
|
|
154 | |
|
|
155 | * Portage must provide a way for external programs to obtain the base path for |
|
|
156 | a repository with a given ID. It is assumed that this will be in the form of |
|
|
157 | a ``portageq`` command (e.g. ``portageq get_repo_root gentoo-x86``). |
|
|
158 | |
|
|
159 | * Portage must extend ``portageq has_version`` to support restrictions to a |
|
|
160 | given repository ID. |
|
|
161 | |
|
|
162 | * Portage must extend ``portageq`` to implement a command which returns whether |
|
|
163 | or not the profile used for a given repository ID is exactly the given profile |
|
|
164 | (e.g. ``portageq profile_used default-linux/sparc/sparc64/2004.3 |
|
|
165 | gentoo-x86``). |
|
|
166 | |
|
|
167 | These extensions are assumed during the following specification. |
|
|
168 | |
| 139 | News Item Identities |
169 | News Item Identities |
| 140 | -------------------- |
170 | -------------------- |
| 141 | |
171 | |
| 142 | Each news item will have a unique identifier. This identifier will be in the |
172 | Each news item will have a unique identifier. This identifier will be in the |
| 143 | form ``yyyy-mm-dd-short-name``, where ``yyyy`` is the year (e.g. ``2005``), |
173 | form ``yyyy-mm-dd-short-name``, where ``yyyy`` is the year (e.g. ``2005``), |
| 144 | ``mm`` is the month (``01`` through ``12``) and dd is the day of the month |
174 | ``mm`` is the month (``01`` through ``12``) and dd is the day of the month |
| 145 | (``01`` through ``31``). The ``short-name`` is a very short name describing the |
175 | (``01`` through ``31``). The ``short-name`` is a very short name describing the |
| 146 | news item (e.g. ``yoursql-updates``), consisting only of the characters ``a-z``, |
176 | news item (e.g. ``yoursql-updates``), consisting only of the characters ``a-z``, |
| 147 | ``0-9``, ``+`` (plus), ``:`` (colon) and ``-`` (hyphen). |
177 | ``0-9``, ``+`` (plus), ``-`` (hyphen) and ``_`` (underscore). |
| 148 | |
178 | |
| 149 | News Item Directories |
179 | News Item Directories |
| 150 | --------------------- |
180 | --------------------- |
| 151 | |
181 | |
| 152 | Each news item will be represented by a directory whose name is the same as the |
182 | Each news item will be represented by a directory whose name is the same as the |
| … | |
… | |
| 154 | |
184 | |
| 155 | The directory will contain a file named ``yyyy-mm-dd-short-name.en.txt``, which |
185 | The directory will contain a file named ``yyyy-mm-dd-short-name.en.txt``, which |
| 156 | contains the text of the news item, in English, in the format described below. |
186 | contains the text of the news item, in English, in the format described below. |
| 157 | |
187 | |
| 158 | If a news item is translated, other files named ``yyyy-mm-dd-short-name.xx.txt`` |
188 | If a news item is translated, other files named ``yyyy-mm-dd-short-name.xx.txt`` |
| 159 | (where ``xx`` is the ISO 639 [#iso-639]_ two letter country code) will also be |
189 | (where ``xx`` is the ISO 639 [#iso-639]_ two letter country code, and the date |
| 160 | provided. However, only the English version of a news item is authoritative. |
190 | remains the same as the original news item) will also be provided. However, only |
| 161 | This anglocentricity is justified by precedent [#glep-34]_. |
191 | the English version of a news item is authoritative. This anglocentricity is |
|
|
192 | justified by precedent [#glep-34]_. |
| 162 | |
193 | |
| 163 | News Item Files |
194 | News Item Files |
| 164 | --------------- |
195 | --------------- |
| 165 | |
196 | |
| 166 | A news item file is a text file, encoded using UTF-8 [#rfc-3629]_ for |
197 | A news item file is a text file, encoded using UTF-8 [#rfc-3629]_ for |
| 167 | compatibility with and for the same reasons as existing Gentoo documentation |
198 | compatibility with and for the same reasons as existing Gentoo documentation |
| 168 | [#docs-policy]_ and the tree [#glep-31]_. |
199 | [#docs-policy]_ and the tree [#glep-31]_. |
| 169 | |
200 | |
| 170 | News items should be signed with a detached GPG signature: :: |
201 | News items must be signed with a detached GPG signature.:: |
| 171 | |
202 | |
| 172 | gpg --armour --detach-sign ????-??-??-*.??.txt |
203 | gpg --armour --detach-sign ????-??-??-*.??.txt |
|
|
204 | |
|
|
205 | This GLEP does not specify the type or strength of signature to be used, nor |
|
|
206 | does it discuss how, if at all, a centralised keychain will be provided. These |
|
|
207 | issues should be handled as part of the signing policy discussions. |
| 173 | |
208 | |
| 174 | A news item file's content will consist of an RFC 822 style header [#rfc-822]_ |
209 | A news item file's content will consist of an RFC 822 style header [#rfc-822]_ |
| 175 | followed by the main body of the message as plain text. This GLEP defines |
210 | followed by the main body of the message as plain text. This GLEP defines |
| 176 | various optional and mandatory headers. Future GLEPs may propose new headers — |
211 | various optional and mandatory headers. Future GLEPs may propose new headers — |
| 177 | tools handling these news items must ignore any unrecognised header. |
212 | tools handling these news items must ignore any unrecognised header. |
| … | |
… | |
| 194 | |
229 | |
| 195 | ``Content-Type:`` |
230 | ``Content-Type:`` |
| 196 | Must be ``text/plain``. Mandatory. |
231 | Must be ``text/plain``. Mandatory. |
| 197 | |
232 | |
| 198 | ``Posted:`` |
233 | ``Posted:`` |
| 199 | Date of posting, in ``dd-mmm-yyyy`` format (e.g. 14-Aug-2001) for |
234 | Date of posting, in ``yyyy-mm-dd`` format (e.g. 2005-12-18) for |
| 200 | compatibility with GLEP 1 [#glep-1]_. UTC time in ``hh-mm-ss +0000`` format |
235 | compatibility with GLEP 45 [#glep-45]_. Translations should use the date |
| 201 | may also be included. Mandatory. |
236 | of the original news item. Mandatory. |
| 202 | |
237 | |
| 203 | ``Revision:`` |
238 | ``Revision:`` |
| 204 | Initially 1. Incremented every time a non-trivial change is made. Changes |
239 | Initially 1. Should be incremented every time a change is made to the news |
| 205 | which require a re-read of the news item should instead use a new news item |
240 | item. Changes that require a re-read of the news item (i.e., most changes |
|
|
241 | that are not spelling or formatting related) should instead use a new news |
| 206 | file. Mandatory. |
242 | item. Mandatory. |
| 207 | |
243 | |
| 208 | ``News-Item-Format:`` |
244 | ``News-Item-Format:`` |
| 209 | Must be ``1.0``. Future revisions to the format may increment the minor |
245 | Must be ``1.0``. Future revisions to the format may increment the minor |
| 210 | number for backwards-compatible changes, or the major number for major |
246 | number for backwards-compatible changes, or the major number for major |
| 211 | changes. |
247 | changes. |
| 212 | |
248 | |
| 213 | The following headers are used for filtering: |
249 | The following headers are used for filtering: |
| 214 | |
250 | |
| 215 | ``Display-If-Installed:`` |
251 | ``Display-If-Installed:`` |
| 216 | A dependency atom or simple package name (for example, |
252 | A dependency atom (for example, ``<dev-lang/php-5_alpha`` or |
| 217 | ``<dev-lang/php-5_alpha`` or ``net-www/apache``). If the user has the |
253 | ``net-www/apache``). If the user has the package specified installed from |
| 218 | package specified installed, the news item should be displayed. |
254 | the repository from which the news item was obtained, the news item should |
|
|
255 | be displayed. |
| 219 | |
256 | |
| 220 | ``Display-If-Keyword:`` |
257 | ``Display-If-Keyword:`` |
| 221 | A keyword [#glep-22]_ name, for example ``mips`` or ``x86-fbsd``. If the |
258 | A keyword [#glep-22]_ name, for example ``mips`` or ``x86-fbsd``. If the |
| 222 | user is on the keyword in question, the news item should be displayed. |
259 | user is on the keyword in question, the news item should be displayed. |
| 223 | |
260 | |
| 224 | ``Display-If-Profile:`` |
261 | ``Display-If-Profile:`` |
| 225 | A profile path, for example ``default-linux/sparc/sparc64/server``. Standard |
262 | A profile path, for example ``default-linux/sparc/sparc64/server``. If the |
| 226 | shell GLOB wildcards may be used. If the user is using the exact profile in |
263 | user is using the exact profile in question, the news item should be |
| 227 | question, the news item should be displayed. This header may be used to |
264 | displayed. This header may be used to replace ``deprecated`` files in the |
| 228 | replace ``deprecated`` files in the future. |
265 | future. |
| 229 | |
266 | |
| 230 | .. Note:: When performing package moves, developers must also update any |
267 | .. Note:: When performing package moves, developers must also update any |
| 231 | relevant ``Display-If-Installed`` headers in news files. |
268 | relevant ``Display-If-Installed`` headers in news files. |
| 232 | |
269 | |
| 233 | The algorithm used to determine whether a news item is 'relevant' is as |
270 | The algorithm used to determine whether a news item is 'relevant' is as |
| … | |
… | |
| 262 | |
299 | |
| 263 | Hyperlinks may be used to refer to further information (for example, an upgrade |
300 | Hyperlinks may be used to refer to further information (for example, an upgrade |
| 264 | guide). However, the main body of the news item should be descriptive and not |
301 | guide). However, the main body of the news item should be descriptive and not |
| 265 | simply a "read this link" text. It is assumed that the user will have access to |
302 | simply a "read this link" text. It is assumed that the user will have access to |
| 266 | a web browser *somewhere*, but not necessarily on the box which is being |
303 | a web browser *somewhere*, but not necessarily on the box which is being |
| 267 | administrated — this will be the case on may servers and routers, for example. |
304 | administrated — this will be the case on many servers and routers, for example. |
| 268 | |
305 | |
| 269 | Example News Item |
306 | Example News Item |
| 270 | ''''''''''''''''' |
307 | ''''''''''''''''' |
| 271 | |
308 | |
| 272 | `This hypothetical news item`__ could be used for an upgrade to the |
309 | `This hypothetical news item`__ could be used for an upgrade to the |
| … | |
… | |
| 287 | posted to the ``gentoo-dev`` mailing list and ``Cc:``\ed to ``pr@gentoo.org`` |
324 | posted to the ``gentoo-dev`` mailing list and ``Cc:``\ed to ``pr@gentoo.org`` |
| 288 | (exceptions may be made in exceptional circumstances). Any complaints — for |
325 | (exceptions may be made in exceptional circumstances). Any complaints — for |
| 289 | example regarding wording, clarity or accuracy — **must** be addressed before |
326 | example regarding wording, clarity or accuracy — **must** be addressed before |
| 290 | the news item goes live. |
327 | the news item goes live. |
| 291 | |
328 | |
| 292 | .. Note:: A previous draft of this GLEP allowed news items to be sent to |
|
|
| 293 | ``gentoo-core`` instead of ``gentoo-dev``. It is possible that a situation |
|
|
| 294 | may arise where this will be necessary (for example, a security update which |
|
|
| 295 | must break backwards compatibility and which cannot be revealed to the public |
|
|
| 296 | before a given date). |
|
|
| 297 | |
|
|
| 298 | News items must only be for **important** changes that may cause serious upgrade |
329 | News items must only be for **important** changes that may cause serious upgrade |
| 299 | or compatibility problems. Ordinary upgrade messages and non-critical news items |
330 | or compatibility problems. Ordinary upgrade messages and non-critical news items |
| 300 | should remain in ``einfo`` notices. The importance of the message to its |
331 | should remain in ``einfo`` notices. The importance of the message to its |
| 301 | intended audience should be justified with the proposal. |
332 | intended audience should be justified with the proposal. |
| 302 | |
333 | |
| … | |
… | |
| 326 | the current year and ``mm`` is the current month number (01 for January through |
357 | the current year and ``mm`` is the current month number (01 for January through |
| 327 | 12 for December). This separation will help keep news items more manageable. |
358 | 12 for December). This separation will help keep news items more manageable. |
| 328 | |
359 | |
| 329 | The contents of this repository will automatically be merged with the main rsync |
360 | The contents of this repository will automatically be merged with the main rsync |
| 330 | tree, placing the items in a ``metadata/news/`` directory. The method used for |
361 | tree, placing the items in a ``metadata/news/`` directory. The method used for |
| 331 | merging these items is beyond the scope of this GLEP — a similar setup is |
362 | merging these items and the frequency at which it will occur is beyond the scope |
| 332 | already used for merging GLSAs into the rsync tree. |
363 | of this GLEP; a similar setup is already used for merging GLSAs into the rsync |
|
|
364 | tree. |
| 333 | |
365 | |
| 334 | The main rsync tree will **not** use the ``yyyy/mm/`` subdirectory layout. |
366 | The main rsync tree will **not** use the ``yyyy/mm/`` subdirectory layout. The |
|
|
367 | news item directories will all be immediately under the ``metadata/news/`` |
|
|
368 | directory. |
| 335 | |
369 | |
| 336 | Client Side |
370 | Client Side |
| 337 | ''''''''''' |
371 | ''''''''''' |
| 338 | |
372 | |
| 339 | Whenever relevant unread news items are found, the package manager will create a |
373 | Whenever relevant unread news items are found, the package manager will create a |
| 340 | file named ``/var/lib/gentoo/news/news-magic-chicken.unread`` (if it does not |
374 | file named ``/var/lib/gentoo/news/news-${repoid}.unread`` (if it does not |
| 341 | already exist) and append the news item identifier (eg |
375 | already exist) and append the news item identifier (eg |
| 342 | ``2005-11-01-yoursql-updates``) on a new line. |
376 | ``2005-11-01-yoursql-updates``) on a new line. |
| 343 | |
377 | |
| 344 | .. Note:: Future changes to Portage involving support for multiple repositories |
378 | All news item related files should be root owned and in the ``portage`` group |
| 345 | may introduce repository names. In this case, the ``magic-chicken`` part of the |
379 | with the group write (and, for directories, execute) bits set. News files should |
| 346 | filename should be replaced by a string representation of the repository |
380 | be world readable. |
| 347 | name. Thus, news item clients should use a wildcard rather than hardcoding |
|
|
| 348 | the ``magic-chicken`` string. |
|
|
| 349 | |
381 | |
| 350 | Notification that new relevant news items will be displayed via the |
382 | Notification that new relevant news items will be displayed via the |
| 351 | ``emerge`` tool in a similar way to the existing "configuration files need |
383 | ``emerge`` tool in a similar way to the existing "configuration files need |
| 352 | updating" messages: |
384 | updating" messages: |
| 353 | |
385 | |
| … | |
… | |
| 359 | Checks for new news messages should be displayed: |
391 | Checks for new news messages should be displayed: |
| 360 | |
392 | |
| 361 | * After an ``emerge sync`` |
393 | * After an ``emerge sync`` |
| 362 | * After an ``emerge --pretend`` |
394 | * After an ``emerge --pretend`` |
| 363 | * Before an ``emerge <target>`` (which may also include a red warning message) |
395 | * Before an ``emerge <target>`` (which may also include a red warning message) |
| 364 | * Before an ``emerge --ask <target>`` sequence |
396 | |
|
|
397 | The package manager does not need to know how to launch the user's choice of |
|
|
398 | news client. This is consistent with the way configuration file updates are |
|
|
399 | handled. |
| 365 | |
400 | |
| 366 | The package manager may use a timestamp check file to avoid having to process |
401 | The package manager may use a timestamp check file to avoid having to process |
| 367 | news items unnecessarily. |
402 | news items unnecessarily. |
| 368 | |
403 | |
| 369 | The package manager must keep track of news items that have already been added |
404 | The package manager must keep track of news items that have already been added |
| 370 | to the unread list to avoid repeatedly marking a deleted news item. This could |
405 | to the unread list to avoid repeatedly marking a deleted news item. This could |
| 371 | be handled via a ``news-magic-chicken.skip`` file, but implementation is not |
406 | be handled via a ``news-${repoid}.skip`` file containing the IDs of news items |
| 372 | specified by this GLEP. |
407 | that have already been added to a ``news-${repoid}.unread`` file, but this |
|
|
408 | method is not required by this GLEP. |
| 373 | |
409 | |
| 374 | Users who really don't care about news items can use ``rsync_excludes`` to |
410 | Users who really don't care about news items can use ``rsync_excludes`` to |
| 375 | filter out the ``metadata/news/`` directory. |
411 | filter out the ``metadata/news/`` directory. |
| 376 | |
412 | |
| 377 | News Item Clients |
413 | News Item Clients |
| … | |
… | |
| 379 | |
415 | |
| 380 | Once a news item is marked for reading, third party tools (or traditional core |
416 | Once a news item is marked for reading, third party tools (or traditional core |
| 381 | Unix tools) can be used to display and view the news files. |
417 | Unix tools) can be used to display and view the news files. |
| 382 | |
418 | |
| 383 | When a news item is read, its name should be removed from the |
419 | When a news item is read, its name should be removed from the |
| 384 | ``news-magic-chicken.unread`` file. If a news client acts as an interactive |
420 | ``news-${repoid}.unread`` file. If a news client acts as an interactive reader |
| 385 | reader rather than a gateway, it should then add the name to a |
421 | rather than a gateway, it should then add the name to a ``news-${repoid}.read`` |
| 386 | ``news-magic-chicken.read`` file in the same directory with the same file |
422 | file in the same directory with the same file format. |
| 387 | format (again, ``magic-chicken`` should be a wildcard rather than hardcoded). |
|
|
| 388 | |
423 | |
| 389 | An ``eselect`` [#eselect]_ module shall be created as the 'suggested' display |
424 | An ``eselect`` [#eselect]_ module shall be created as the 'suggested' display |
| 390 | tool; other display tools (for example, a news to email forwarder, which would |
425 | tool; other display tools (for example, a news to email forwarder, which would |
| 391 | be ideal for users who sync on a ``cron``) are left as options for those who |
426 | be ideal for users who sync on a ``cron``) are left as options for those who |
| 392 | desire them. |
427 | desire them. |
| … | |
… | |
| 415 | the ``news/`` directory. |
450 | the ``news/`` directory. |
| 416 | |
451 | |
| 417 | Reference Implementation |
452 | Reference Implementation |
| 418 | ======================== |
453 | ======================== |
| 419 | |
454 | |
| 420 | Portage Code |
455 | A reference implementation of the required package manager support can be found |
| 421 | ------------ |
456 | in Paludis [#paludis]_, along with a reference newsreader implemented as an |
| 422 | |
457 | eselect module [#eselect-news]_. |
| 423 | TODO |
|
|
| 424 | |
|
|
| 425 | Simple ``eselect`` News Client |
|
|
| 426 | ------------------------------ |
|
|
| 427 | |
|
|
| 428 | TODO Removed until the exact format details are figured out. |
|
|
| 429 | |
|
|
| 430 | Simple News to Mail Forwarder |
|
|
| 431 | ----------------------------- |
|
|
| 432 | |
|
|
| 433 | TODO Removed until the exact format details are figured out. |
|
|
| 434 | |
458 | |
| 435 | Credits |
459 | Credits |
| 436 | ======= |
460 | ======= |
| 437 | |
461 | |
| 438 | The idea behind notifying users of news updates via Portage comes from Stuart |
462 | The idea behind notifying users of news updates via Portage comes from Stuart |
| 439 | Herbert [#stuart-blog]_. |
463 | Herbert [#stuart-blog]_. |
| 440 | |
464 | |
| 441 | Thanks to Lance Albertson, Stephen Bennett, Donnie Berkholz, Grant Goodyear, |
465 | Thanks to Lance Albertson, Stephen Bennett, Donnie Berkholz, Grant Goodyear, |
| 442 | Brian Harring, Dan Meltzer, Jason Stubbs, Paul de Vrieze and Alec Warner for |
466 | Brian Harring, Marius Mauch, Dan Meltzer, Jason Stubbs, Paul de Vrieze and Alec |
| 443 | input. Some of the ideas presented here are theirs, others go completely |
467 | Warner for input. Some of the ideas presented here are theirs, others go |
| 444 | against their suggestions. |
468 | completely against their suggestions. |
| 445 | |
469 | |
| 446 | Example Files |
470 | Example Files |
| 447 | ============= |
471 | ============= |
| 448 | |
472 | |
| 449 | TODO Removed until the exact format details are figured out. |
473 | `example-news-item.txt <glep-0042-extras/example-news-item.txt>`_ |
|
|
474 | An example news item. |
| 450 | |
475 | |
| 451 | References |
476 | References |
| 452 | ========== |
477 | ========== |
| 453 | |
478 | |
| 454 | .. [#bug-11359] Bugzilla Bug 11359 |
479 | .. [#bug-11359] Bugzilla Bug 11359 |
| … | |
… | |
| 461 | http://www.gentoo.org/proj/en/eselect/index.xml |
486 | http://www.gentoo.org/proj/en/eselect/index.xml |
| 462 | .. [#forums-glsa] Forums user GLSA, |
487 | .. [#forums-glsa] Forums user GLSA, |
| 463 | http://forums.gentoo.org/profile.php?mode=viewprofile&u=55648 |
488 | http://forums.gentoo.org/profile.php?mode=viewprofile&u=55648 |
| 464 | .. [#forums-apache2] Forums thread "Gentoo Apache2 Config Change Idiocy", |
489 | .. [#forums-apache2] Forums thread "Gentoo Apache2 Config Change Idiocy", |
| 465 | http://forums.gentoo.org/viewtopic-t-384368.html |
490 | http://forums.gentoo.org/viewtopic-t-384368.html |
| 466 | .. [#glep-1] GLEP 1: "GLEP Purpose and Guidelines", Grant Goodyear, |
|
|
| 467 | http://www.gentoo.org/proj/en/glep/glep-0001.html |
|
|
| 468 | .. [#glep-22] GLEP 22: "New "keyword" system to incorporate various |
491 | .. [#glep-22] GLEP 22: "New "keyword" system to incorporate various |
| 469 | userlands/kernels/archs", Grant Goodyear, |
492 | userlands/kernels/archs", Grant Goodyear, |
| 470 | http://www.gentoo.org/proj/en/glep/glep-0022.html |
493 | http://www.gentoo.org/proj/en/glep/glep-0022.html |
| 471 | .. [#glep-31] GLEP 31: "Character Sets for Portage Tree Items", Ciaran |
494 | .. [#glep-31] GLEP 31: "Character Sets for Portage Tree Items", Ciaran |
| 472 | McCreesh, |
495 | McCreesh, |
| … | |
… | |
| 474 | .. [#glep-34] GLEP 34: "Per-Category metadata.xml Files", Ciaran McCreesh, |
497 | .. [#glep-34] GLEP 34: "Per-Category metadata.xml Files", Ciaran McCreesh, |
| 475 | http://www.gentoo.org/proj/en/glep/glep-0034.html |
498 | http://www.gentoo.org/proj/en/glep/glep-0034.html |
| 476 | .. [#glep-36] GLEP 36: "Subversion/CVS for Gentoo Hosted Projects", Aaron |
499 | .. [#glep-36] GLEP 36: "Subversion/CVS for Gentoo Hosted Projects", Aaron |
| 477 | Walker, |
500 | Walker, |
| 478 | http://www.gentoo.org/proj/en/glep/glep-0036.html |
501 | http://www.gentoo.org/proj/en/glep/glep-0036.html |
|
|
502 | .. [#glep-45] GLEP 45: "GLEP date format", Henrik Brix Andersen, |
|
|
503 | http://www.gentoo.org/proj/en/glep/glep-0045.html |
| 479 | .. [#iso-639] ISO 639 "Code for the representation of names of languages" |
504 | .. [#iso-639] ISO 639 "Code for the representation of names of languages" |
| 480 | .. [#ramereth-repo] "Re: [gentoo-dev] GLEP ??: Critical News Reporting", Lance |
505 | .. [#ramereth-repo] "Re: [gentoo-dev] GLEP ??: Critical News Reporting", Lance |
| 481 | Albertson, |
506 | Albertson, |
| 482 | http://marc.theaimsgroup.com/?l=gentoo-dev&m=113111585907703&w=2 |
507 | http://marc.theaimsgroup.com/?l=gentoo-dev&m=113111585907703&w=2 |
| 483 | .. [#rfc-822] RFC 822 "Standard for the format of ARPA Internet text messages" |
508 | .. [#rfc-822] RFC 822 "Standard for the format of ARPA Internet text messages" |
| 484 | .. [#rfc-3629] RFC 3629: "UTF-8, a transformation format of ISO 10646" |
509 | .. [#rfc-3629] RFC 3629: "UTF-8, a transformation format of ISO 10646" |
| 485 | http://www.ietf.org/rfc/rfc3629.txt |
510 | http://www.ietf.org/rfc/rfc3629.txt |
|
|
511 | .. [#paludis] Paludis homepage, http://paludis.berlios.de |
|
|
512 | .. [#eselect-news] news.eselect, http://svn.berlios.de/svnroot/repos/paludis/trunk/eselect/news.eselect |
| 486 | .. [#stuart-blog] "Favouring an automatic news mechanism", Stuart Herbert, |
513 | .. [#stuart-blog] "Favouring an automatic news mechanism", Stuart Herbert, |
| 487 | http://stu.gnqs.org/diary/gentoo.php/2005/10/28/favouring_an_automatic_news_mechanism |
514 | http://stu.gnqs.org/diary/gentoo.php/2005/10/28/favouring_an_automatic_news_mechanism |
| 488 | |
515 | |
| 489 | Copyright |
516 | Copyright |
| 490 | ========= |
517 | ========= |