| 1 | GLEP: 60 |
1 | GLEP: 60 |
| 2 | Title: Manifest2 filetypes |
2 | Title: Manifest2 filetypes |
| 3 | Version: $Revision: 1.3 $ |
3 | Version: $Revision: 1.4 $ |
| 4 | Last-Modified: $Date: 2008/10/28 07:46:51 $ |
4 | Last-Modified: $Date: 2010/01/13 00:35:49 $ |
| 5 | Author: Robin Hugh Johnson <robbat2@gentoo.org> |
5 | Author: Robin Hugh Johnson <robbat2@gentoo.org> |
| 6 | Status: Draft |
6 | Status: Draft |
| 7 | Type: Standards Track |
7 | Type: Standards Track |
| 8 | Content-Type: text/x-rst |
8 | Content-Type: text/x-rst |
| 9 | Requires: 44 |
9 | Requires: 44 |
| … | |
… | |
| 153 | how something is sourced or execututed, it belongs in the EXEC |
153 | how something is sourced or execututed, it belongs in the EXEC |
| 154 | filetype. |
154 | filetype. |
| 155 | - This filetype should be used for the scripts directories of a |
155 | - This filetype should be used for the scripts directories of a |
| 156 | repository for important files. |
156 | repository for important files. |
| 157 | |
157 | |
| 158 | UNKNOWN (new) |
158 | OTHER (new) |
| 159 | ~~~~~~~~~~~~~ |
159 | ~~~~~~~~~~~ |
| 160 | - uses _CRIT. |
160 | - uses _CRIT. |
| 161 | - All other files that are not covered by another type should be |
161 | - All other files that are not covered by another type should be |
| 162 | considered as 'UNKNOWN'. |
162 | considered as 'OTHER'. |
| 163 | |
163 | |
| 164 | On Bloat |
164 | On Bloat |
| 165 | -------- |
165 | -------- |
| 166 | If repeated use of a common path prefix is considered a bloat problem, a |
166 | If repeated use of a common path prefix is considered a bloat problem, a |
| 167 | Manifest file should be added inside the common directory, however this |
167 | Manifest file should be added inside the common directory, however this |
| … | |
… | |
| 185 | 7. matches any of ``metadata/cache/*``, ``profiles/``, ``package.*``, ``use.mask*``, ... |
185 | 7. matches any of ``metadata/cache/*``, ``profiles/``, ``package.*``, ``use.mask*``, ... |
| 186 | => DATA, stop. |
186 | => DATA, stop. |
| 187 | 8. matches any of ``ChangeLog``, ``metadata.xml``, ``*.desc``, ... |
187 | 8. matches any of ``ChangeLog``, ``metadata.xml``, ``*.desc``, ... |
| 188 | => MISC, stop. |
188 | => MISC, stop. |
| 189 | 9. not matched by any other rule |
189 | 9. not matched by any other rule |
| 190 | => UNKNOWN, stop. |
190 | => OTHER, stop. |
| 191 | |
191 | |
| 192 | The logic behind 5, 6, 7 is ensuring that every item that by it's |
192 | The logic behind 5, 6, 7 is ensuring that every item that by it's |
| 193 | presence or absense may be dangerous should always be treated strictly. |
193 | presence or absense may be dangerous should always be treated strictly. |
| 194 | (Consider epatch given a directory of patches ``${FILESDIR}/${PV}/``, |
194 | (Consider epatch given a directory of patches ``${FILESDIR}/${PV}/``, |
| 195 | where it blindly includes them, or alternatively, the package.mask file |
195 | where it blindly includes them, or alternatively, the package.mask file |
| … | |
… | |
| 203 | ======================= |
203 | ======================= |
| 204 | For generation of existing package Manifests, the AUX entries must |
204 | For generation of existing package Manifests, the AUX entries must |
| 205 | continue to be present for the standard Portage deprecation cycle. |
205 | continue to be present for the standard Portage deprecation cycle. |
| 206 | The new entries may be included already in all Manifest files, as they |
206 | The new entries may be included already in all Manifest files, as they |
| 207 | will be ignored by older Portage versions. Over time, ECLASS, DATA, |
207 | will be ignored by older Portage versions. Over time, ECLASS, DATA, |
| 208 | EXEC, UNKNOWN may replace the existing AUX type. |
208 | EXEC, OTHER may replace the existing AUX type. |
| 209 | |
209 | |
| 210 | The adoption of this proposal does also affect [#GLEP58] as part of |
210 | The adoption of this proposal does also affect [#GLEP58] as part of |
| 211 | this GLEP series, however this GLEP was an offset of the research in |
211 | this GLEP series, however this GLEP was an offset of the research in |
| 212 | that GLEP. |
212 | that GLEP. |
| 213 | |
213 | |