Lines 146-157
The following headers describe the purpose and format of the news item:
Link Here
|
146 |
:Initially 1. Should be incremented every time a change is made to the news item. Changes that require a re-read of the news item (i.e., most changes that are not spelling or formatting related) should instead use a new news item. Mandatory. |
146 |
:Initially 1. Should be incremented every time a change is made to the news item. Changes that require a re-read of the news item (i.e., most changes that are not spelling or formatting related) should instead use a new news item. Mandatory. |
147 |
|
147 |
|
148 |
;<code>News-Item-Format</code>: |
148 |
;<code>News-Item-Format</code>: |
149 |
:Must be <code>1.0</code>. Future revisions to the format may increment the minor number for backwards-compatible changes, or the major number for major changes. |
149 |
:Known formats are <code>1.0</code> and <code>1.1</code> (see below). Future revisions to the format may increment the minor number for backwards-compatible changes, or the major number for major changes. |
150 |
|
150 |
|
151 |
The following headers are used for filtering: |
151 |
The following headers are used for filtering: |
152 |
|
152 |
|
153 |
;<code>Display-If-Installed</code>: |
153 |
;<code>Display-If-Installed</code>: |
154 |
:A dependency atom (for example, <code><dev-lang/php-5_alpha</code> or <code>net-www/apache</code>). If the user has the package specified installed from the repository from which the news item was obtained, the news item should be displayed. |
154 |
:A package dependency specification (for example, <code>>=sys-devel/gcc-5</code> or <code>www-servers/apache</code>) conforming to EAPI 0<ref name="pms">[[Project:Package Manager Specification|Package Manager Specification]]</ref> in news item format <code>1.0</code> or to EAPI 5 in format <code>1.1</code>. If the user has the package specified installed from the repository from which the news item was obtained, the news item should be displayed. |
155 |
|
155 |
|
156 |
;<code>Display-If-Keyword</code>: |
156 |
;<code>Display-If-Keyword</code>: |
157 |
:A keyword <ref name="glep-22">GLEP 22: "New "keyword" system to incorporate various userlands/kernels/archs", Grant Goodyear, [[GLEP:22|GLEP 22]]</ref> name, for example <code>mips</code> or <code>x86-fbsd</code>. If the user is on the keyword in question, the news item should be displayed. |
157 |
:A keyword <ref name="glep-22">GLEP 22: "New "keyword" system to incorporate various userlands/kernels/archs", Grant Goodyear, [[GLEP:22|GLEP 22]]</ref> name, for example <code>mips</code> or <code>x86-fbsd</code>. If the user is on the keyword in question, the news item should be displayed. |