commit: e2eb4339f8182dbc17959cf77f59e00afac5f949
Author: Ulrich Müller <ulm <AT> gentoo <DOT> org>
AuthorDate: Thu Apr 16 16:40:09 2020 +0000
Commit: Ulrich Müller <ulm <AT> gentoo <DOT> org>
CommitDate: Thu Apr 16 16:40:09 2020 +0000
URL: https://gitweb.gentoo.org/proj/devmanual.git/commit/?id=e2eb4339
ebuild-writing/misc-files/metadata: Reorder tags.
<maintainer> before <longdescription> seems to be the most common
ordering, in the examples below and in the tree.
Signed-off-by: Ulrich Müller <ulm <AT> gentoo.org>
ebuild-writing/misc-files/metadata/text.xml | 22 +++++++++++-----------
1 file changed, 11 insertions(+), 11 deletions(-)
diff --git a/ebuild-writing/misc-files/metadata/text.xml
b/ebuild-writing/misc-files/metadata/text.xml
index c4aa7bc..db082df 100644
--- a/ebuild-writing/misc-files/metadata/text.xml
+++ b/ebuild-writing/misc-files/metadata/text.xml
@@ -65,8 +65,8 @@ metadata.xml:
This is the root element of the <c>metadata.xml</c> file for
packages. It has no attributes. The following subtags are
allowed:
- <c><longdescription></c>,
<c><maintainer></c>,
+ <c><longdescription></c>,
<c><slots></c>,
<c><use></c>, and
<c><upstream></c>.
@@ -74,16 +74,6 @@ metadata.xml:
appear at most once.
</ti>
</tr>
-<tr>
- <ti><c><longdescription></c></ti>
- <ti>
- This tag contains a description for a category or a package. For
- packages, it is used to augment the
- <uri link="::ebuild-writing/variables/#Ebuild-defined Variables">
- DESCRIPTION</uri> field in the ebuilds themselves. This tag has
- two optional subtags: <c><pkg></c> and <c><cat></c>.
- </ti>
-</tr>
<tr>
<ti>
<c><maintainer></c>
@@ -118,6 +108,16 @@ metadata.xml:
It is optional.
</ti>
</tr>
+<tr>
+ <ti><c><longdescription></c></ti>
+ <ti>
+ This tag contains a description for a category or a package.
+ For packages, it is used to augment the
+ <uri link="::ebuild-writing/variables/#Ebuild-defined Variables">
+ DESCRIPTION</uri> field in the ebuilds themselves. This tag has
+ two optional subtags: <c><pkg></c> and <c><cat></c>.
+ </ti>
+</tr>
<tr>
<ti><c><slots></c></ti>
<ti>