Gentoo Archives: gentoo-commits

From: "Robin H. Johnson (robbat2)" <robbat2@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo commit in xml/htdocs/proj/en/glep: glep-0060.txt
Date: Tue, 28 Oct 2008 07:46:53
Message-Id: E1KujHv-00078x-O1@stork.gentoo.org
1 robbat2 08/10/28 07:46:51
2
3 Modified: glep-0060.txt
4 Log:
5 Fix ReST validation by using ``inline literals`` for some expressions that would otherwise mean *emphasis*. Fix references and headers.
6
7 Revision Changes Path
8 1.3 xml/htdocs/proj/en/glep/glep-0060.txt
9
10 file : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/proj/en/glep/glep-0060.txt?rev=1.3&view=markup
11 plain: http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/proj/en/glep/glep-0060.txt?rev=1.3&content-type=text/plain
12 diff : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/proj/en/glep/glep-0060.txt?r1=1.2&r2=1.3
13
14 Index: glep-0060.txt
15 ===================================================================
16 RCS file: /var/cvsroot/gentoo/xml/htdocs/proj/en/glep/glep-0060.txt,v
17 retrieving revision 1.2
18 retrieving revision 1.3
19 diff -p -w -b -B -u -u -r1.2 -r1.3
20 --- glep-0060.txt 22 Oct 2008 17:59:43 -0000 1.2
21 +++ glep-0060.txt 28 Oct 2008 07:46:51 -0000 1.3
22 @@ -1,24 +1,25 @@
23 GLEP: 60
24 Title: Manifest2 filetypes
25 -Version: $Revision: 1.2 $
26 -Last-Modified: $Date: 2008/10/22 17:59:43 $
27 +Version: $Revision: 1.3 $
28 +Last-Modified: $Date: 2008/10/28 07:46:51 $
29 Author: Robin Hugh Johnson <robbat2@g.o>
30 Status: Draft
31 Type: Standards Track
32 Content-Type: text/x-rst
33 Requires: 44
34 Created: November 2007
35 -Updated: June 2008, July 2008
36 +Updated: June 2008, July 2008, October 2008
37 Updates: 44
38 +Post-History:
39
40 Abstract
41 ========
42 -Clarification of the Manifest2 [GLEP44] specification, including new types to
43 +Clarification of the Manifest2 [#GLEP44] specification, including new types to
44 help in the tree-signing specification.
45
46 Motivation
47 ==========
48 -[GLEP44] was not entirely clear on the usage of filetype specifiers.
49 +[#GLEP44] was not entirely clear on the usage of filetype specifiers.
50 This document serves to provide some of the internal logic used by
51 Portage at the point of writing, as well as adding new types to cover
52 the rest of the tree, for the purposes of tree-signing coverage.
53 @@ -37,8 +38,8 @@ Excluded files
54 When generating or validating a Manifest, or commiting to a version
55 control system, the package manager should endeavour to ignore files
56 created by a version control system, backup files from text editors. A
57 -non-exhaustive list is suggested here: CVS/, .svn/, .bzr/, .git/, .hg/,
58 -.#*, *.rej, *.orig, *.bak, *~.
59 +non-exhaustive list is suggested here: ``CVS/``, ``.svn/``, ``.bzr/``,
60 +``.git/``, ``.hg/``, ``.#*``, ``*.rej``, ``*.orig``, ``*.bak``, ``*~``.
61
62 Additionally, for a transitional Manifest1->Manifest2 system, old-style
63 digest files located in a 'files/' directory, may be excluded from
64 @@ -171,28 +172,28 @@ Chosing a filetype
65 ------------------
66 1. matches Manifest
67 => MANIFEST, stop.
68 -2. matches *.ebuild
69 +2. matches ``*.ebuild``
70 => EBUILD, stop.
71 -3. matches *.eclass
72 +3. matches ``*.eclass``
73 => ECLASS, stop.
74 4. listed in SRC_URI
75 => DIST, stop.
76 -5. matches files/*
77 +5. matches ``files/*``
78 => AUX, continue [see note].
79 -6. matches {*.sh,*.bashrc,*.patch,...}
80 +6. matches any of ``*.sh``, ``*.bashrc``, ``*.patch``, ...
81 => EXEC, stop.
82 -7. matches {metadata/cache/*,profiles/,package.*,use.mask*,...}
83 +7. matches any of ``metadata/cache/*``, ``profiles/``, ``package.*``, ``use.mask*``, ...
84 => DATA, stop.
85 -8. matches {ChangeLog,metadata.xml,*.desc,...}
86 +8. matches any of ``ChangeLog``, ``metadata.xml``, ``*.desc``, ...
87 => MISC, stop.
88 9. not matched by any other rule
89 => UNKNOWN, stop.
90
91 The logic behind 5, 6, 7 is ensuring that every item that by it's
92 presence or absense may be dangerous should always be treated strictly.
93 -(Consider epatch given a directory of patches ${FILESDIR}/${PV}/, where
94 -it blindly includes them, or alternatively, the package.mask file or a
95 -profile being altered/missing).
96 +(Consider epatch given a directory of patches ``${FILESDIR}/${PV}/``,
97 +where it blindly includes them, or alternatively, the package.mask file
98 +or a profile being altered/missing).
99
100 Note: The AUX entries should only be generated if we are generating a
101 compatible Manifest that supports older versions of Portage. They should
102 @@ -206,7 +207,7 @@ The new entries may be included already
103 will be ignored by older Portage versions. Over time, ECLASS, DATA,
104 EXEC, UNKNOWN may replace the existing AUX type.
105
106 -The adoption of this proposal does also affect [GLEPxx+1] as part of
107 +The adoption of this proposal does also affect [#GLEP58] as part of
108 this GLEP series, however this GLEP was an offset of the research in
109 that GLEP.