1 |
commit: 34642db92f251d027c5fcdb861380fd10b012117 |
2 |
Author: Ulrich Müller <ulm <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Nov 23 08:06:56 2017 +0000 |
4 |
Commit: Ulrich Müller <ulm <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Nov 23 23:11:47 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/devmanual.git/commit/?id=34642db9 |
7 |
|
8 |
general-concepts/tree: Document current practice for distfile names. |
9 |
|
10 |
At the time of writing, all distfiles referenced from the Gentoo |
11 |
repository are using only ASCII alphanumeric plus +-.@[]_~ special |
12 |
characters. If all known overlays are included, characters %&();=? |
13 |
occur in addition. |
14 |
|
15 |
Closes: https://bugs.gentoo.org/638538 |
16 |
|
17 |
general-concepts/tree/text.xml | 11 +++++++++++ |
18 |
1 file changed, 11 insertions(+) |
19 |
|
20 |
diff --git a/general-concepts/tree/text.xml b/general-concepts/tree/text.xml |
21 |
index de452e3..d524861 100644 |
22 |
--- a/general-concepts/tree/text.xml |
23 |
+++ b/general-concepts/tree/text.xml |
24 |
@@ -104,6 +104,17 @@ Things that do <b>not</b> belong in the tree: |
25 |
</ul> |
26 |
|
27 |
<p> |
28 |
+Naming rules for distfiles are more lenient, but for interoperability their |
29 |
+filenames are restricted to the printable ASCII range excluding SPACE, i.e., |
30 |
+U+0021 to U+007e (see also |
31 |
+<uri link="https://www.gentoo.org/glep/glep-0031.html#suitable-characters-for-file-and-directory-names"> |
32 |
+GLEP 31</uri>). Any characters that have a special meaning in Bash or in |
33 |
+<c>SRC_URI</c> should also be avoided. If necessary, upstream files can be |
34 |
+renamed using <uri link="::ebuild-writing/variables/#Renaming Sources"> |
35 |
+<c>-></c> syntax</uri>. |
36 |
+</p> |
37 |
+ |
38 |
+<p> |
39 |
Software-wise, in general all of the following should be met in order for a package to be included in the tree: |
40 |
</p> |