1 |
>>>>> On Mon, 27 Nov 2017, Ulrich Müller wrote: |
2 |
|
3 |
> Currently it is required that every news item is accompanied by a |
4 |
> detached OpenPGP signature. To my knowledge, verification of these |
5 |
> signatures was never implemented. With Git commit signing and after |
6 |
> full-tree verification is implemented, these detached signatures |
7 |
> will become fully redundant. In addition, we noticed that several of |
8 |
> the signatures have a bad format (e.g., are not detached signatures |
9 |
> at all). Therefore the first patch drops the requirement for |
10 |
> detached OpenPGP signatures. |
11 |
|
12 |
> The second patch updates the GLEP from ISO 639 to IETF language |
13 |
> codes (BCP 47), in order to make it consistent with usage in the |
14 |
> L10N USE_EXPAND variable. This will make no difference for most |
15 |
> common languages. Please note that a BCP 47 language tag can in |
16 |
> principle be longer than two letters, and can contain characters |
17 |
> [A-Za-z0-9-]. (Since there are currently no translations of news |
18 |
> items, all this is rather academic, though.) |
19 |
|
20 |
> Finally (also in the second patch) a note is added clarifying |
21 |
> what "very short" means in a filename context. Technically, the |
22 |
> short-name is needed only to distinguish between multiple news |
23 |
> items posted at the same day. However, there seems to be a tendency |
24 |
> to repeat half of the news item's content in its filename. ;-) |
25 |
|
26 |
Updated version below (as a single patch), including corrections from |
27 |
mailing list and IRC. If there are no further comments, I plan to |
28 |
submit this for approval in the next Council meeting. |
29 |
|
30 |
Full commit log: https://gitweb.gentoo.org/data/glep.git/log/?h=glep42-update |
31 |
Rendered version: https://dev.gentoo.org/~ulm/scratch/glep-0042.html |
32 |
|
33 |
Ulrich |
34 |
|
35 |
|
36 |
diff --git a/glep-0042.rst b/glep-0042.rst |
37 |
index c6b41e9..416bd18 100644 |
38 |
--- a/glep-0042.rst |
39 |
+++ b/glep-0042.rst |
40 |
@@ -7,12 +7,12 @@ Author: Ciaran McCreesh <ciaranm@g.o>, |
41 |
Ulrich Müller <ulm@g.o> |
42 |
Type: Standards Track |
43 |
Status: Final |
44 |
-Version: 3 |
45 |
+Version: 4 |
46 |
Created: 2005-10-31 |
47 |
-Last-Modified: 2016-03-18 |
48 |
+Last-Modified: 2017-11-29 |
49 |
Post-History: 2005-11-01, 2005-11-05, 2005-11-07, 2005-12-11, 2005-12-13, |
50 |
2005-12-18, 2006-01-05, 2006-03-02, 2006-03-06, 2006-06-12, |
51 |
- 2006-09-05, 2016-03-10 |
52 |
+ 2006-09-05, 2016-03-10, 2017-11-27 |
53 |
Content-Type: text/x-rst |
54 |
--- |
55 |
|
56 |
@@ -179,7 +179,9 @@ form ``yyyy-mm-dd-short-name``, where ``yyyy`` is the year (e.g. ``2005``), |
57 |
``mm`` is the month (``01`` through ``12``) and dd is the day of the month |
58 |
(``01`` through ``31``). The ``short-name`` is a very short name describing the |
59 |
news item (e.g. ``yoursql-updates``), consisting only of the characters ``a-z``, |
60 |
-``0-9``, ``+`` (plus), ``-`` (hyphen) and ``_`` (underscore). |
61 |
+``0-9``, ``+`` (plus), ``-`` (hyphen) and ``_`` (underscore). While there is no |
62 |
+hard restriction on the length of ``short-name``, limiting it to 20 characters |
63 |
+is strongly recommended. |
64 |
|
65 |
News Item Directories |
66 |
--------------------- |
67 |
@@ -190,9 +192,9 @@ news item's identifier. |
68 |
The directory will contain a file named ``yyyy-mm-dd-short-name.en.txt``, which |
69 |
contains the text of the news item, in English, in the format described below. |
70 |
|
71 |
-If a news item is translated, other files named ``yyyy-mm-dd-short-name.xx.txt`` |
72 |
-(where ``xx`` is the ISO 639 [#iso-639]_ two letter language code, and the date |
73 |
-remains the same as the original news item) will also be provided. However, only |
74 |
+Any translations of a news item will be provided in additional files. Their |
75 |
+name ``yyyy-mm-dd-short-name.lang.txt`` is obtained from the original filename |
76 |
+by replacing ``en`` with another IETF language tag [#bcp-47]_. However, only |
77 |
the English version of a news item is authoritative. This anglocentricity is |
78 |
justified by precedent [#glep-34]_. |
79 |
|
80 |
@@ -203,19 +205,16 @@ A news item file is a text file, encoded using UTF-8 [#rfc-3629]_ for |
81 |
compatibility with and for the same reasons as existing Gentoo documentation |
82 |
[#docs-policy]_ and the tree [#glep-31]_. |
83 |
|
84 |
-News items must be signed with a detached GPG signature.:: |
85 |
- |
86 |
- gpg --armour --detach-sign ????-??-??-*.??.txt |
87 |
- |
88 |
-This GLEP does not specify the type or strength of signature to be used, nor |
89 |
-does it discuss how, if at all, a centralised keychain will be provided. These |
90 |
-issues should be handled as part of the signing policy discussions. |
91 |
- |
92 |
A news item file's content will consist of an RFC 822 style header [#rfc-822]_ |
93 |
followed by the main body of the message as plain text. This GLEP defines |
94 |
various optional and mandatory headers. Future GLEPs may propose new headers — |
95 |
tools handling these news items must ignore any unrecognised header. |
96 |
|
97 |
+.. Note:: A previous version of this GLEP had required that news items must |
98 |
+ be signed with a detached OpenPGP signature. This was deemed no longer |
99 |
+ necessary after moving news items to a Git repository with commit signing, |
100 |
+ and deployment of full-tree verification per GLEP 74 [#glep-74]_. |
101 |
+ |
102 |
News Item Headers |
103 |
''''''''''''''''' |
104 |
|
105 |
@@ -478,6 +477,8 @@ Example Files |
106 |
References |
107 |
========== |
108 |
|
109 |
+.. [#bcp-47] BCP 47: "Tags for identifying languages", |
110 |
+ https://tools.ietf.org/rfc/bcp/bcp47.txt |
111 |
.. [#bug-11359] Bugzilla Bug 11359 |
112 |
"[NEW FEATURE] pkg_postinst/pkg_preinst ewarn/einfo logging", |
113 |
https://bugs.gentoo.org/show_bug.cgi?id=11359 |
114 |
@@ -500,7 +501,9 @@ References |
115 |
https://www.gentoo.org/glep/glep-0034.html |
116 |
.. [#glep-45] GLEP 45: "GLEP date format", Henrik Brix Andersen, |
117 |
https://www.gentoo.org/glep/glep-0045.html |
118 |
-.. [#iso-639] ISO 639 "Code for the representation of names of languages" |
119 |
+.. [#glep-74] GLEP 74: "Full-tree verification using Manifest files", |
120 |
+ Michał Górny, Robin Hugh Johnson, Ulrich Müller, |
121 |
+ https://www.gentoo.org/glep/glep-0074.html |
122 |
.. [#ramereth-repo] "Re: [gentoo-dev] GLEP ??: Critical News Reporting", Lance |
123 |
Albertson, |
124 |
https://archives.gentoo.org/gentoo-dev/message/4204839d4091758c3bad1dbd18ed16f7 |