|
|
<body> | <body> |
| |
<p> | <p> |
The <c>metadata.xml</c> file has as its purpose to give extra information about |
The <path>metadata.xml</path> file has as its purpose to give extra information |
ebuilds. The <c>metadata.xml</c> file should exist in every package directory. |
about ebuilds. The <path>metadata.xml</path> file should exist in every package |
A skel file can be found as <c>skel.metadata.xml</c> in the portage tree. |
directory. A skel file can be found as <path>skel.metadata.xml</path> in the |
|
portage tree. |
</p> | </p> |
| |
</body> | </body> |
|
|
<body> | <body> |
| |
<p> | <p> |
A <c>metadata.xml</c> file can contain a number of tags: |
A <path>metadata.xml</path> file can contain a number of tags: |
</p> | </p> |
| |
<table> | <table> |
|
|
<brite><pkgmetadata></brite> | <brite><pkgmetadata></brite> |
</ti> | </ti> |
<ti> | <ti> |
This is the root element of the metadata.xml file for packages. It has |
This is the root element of the <path>metadata.xml</path> file for |
no attributes. Its required subtag is: <brite><herd></brite>. |
packages. It has no attributes. Its required subtag is: |
Furthermore, the following subtags are allowed: <brite><email></brite> |
<brite><herd></brite>. Furthermore, the following subtags are |
for a general herd email address, <brite><maintainer></brite>, and |
allowed: <brite><email></brite> for a general herd email address, |
|
<brite><maintainer></brite>, and |
<brite><longdescription></brite>. | <brite><longdescription></brite>. |
</ti> | </ti> |
</tr> | </tr> |
|
|
<brite><catmetadata></brite> | <brite><catmetadata></brite> |
</ti> | </ti> |
<ti> | <ti> |
This is the root element of the metadata.xml file for categories as per |
This is the root element of the <path>metadata.xml</path> file for |
<uri link="/proj/en/glep/glep-0034.html">GLEP 34</uri>. It has |
categories as per <uri link="/proj/en/glep/glep-0034.html">GLEP 34</uri>. |
no attributes. It contains a number of |
It has no attributes. It contains a number of |
<brite><longdescription></brite> tags, each for a different | <brite><longdescription></brite> tags, each for a different |
language. | language. |
</ti> | </ti> |
|
|
</ti> | </ti> |
<ti> | <ti> |
There must at least be one herd subtag. The contents of this tag must be | There must at least be one herd subtag. The contents of this tag must be |
the name of a herd as specified in the <uri |
the name of a herd as specified in the <uri |
link="http://sources.gentoo.org/viewcvs.py/*checkout*/gentoo/xml/htdocs/proj/en/metastructure/herds/herds.xml?content-type=text/plain&rev=HEAD">herds.xml</uri> | link="http://sources.gentoo.org/viewcvs.py/*checkout*/gentoo/xml/htdocs/proj/en/metastructure/herds/herds.xml?content-type=text/plain&rev=HEAD">herds.xml</uri> |
file or the "no-herd" herd. It must occur at least once. | file or the "no-herd" herd. It must occur at least once. |
</ti> | </ti> |
|
|
<brite><maintainer></brite> | <brite><maintainer></brite> |
</ti> | </ti> |
<ti> | <ti> |
Besides being member of a herd, a package can also be maintained directly. |
Besides being part of a herd, a package can also be maintained directly. |
The maintainers of a package can be specified with the | The maintainers of a package can be specified with the |
<brite><maintainer></brite> tag. This tag has one required subtag: | <brite><maintainer></brite> tag. This tag has one required subtag: |
<brite><email></brite>. It has two optional subtags: | <brite><email></brite>. It has two optional subtags: |
|
|
<body> | <body> |
| |
<p> | <p> |
As second example we view the <path>metadata.xml</path> of <c>mirrorselect</c>. |
For the second example, we will examine the <path>metadata.xml</path> of |
This ebuild is maintained by the <c>tools-portage</c> herd, but has a separate |
<c>app-portage/mirrorselect</c>. This ebuild is maintained by the |
maintainer. |
<c>tools-portage</c> herd, but has a separate maintainer. |
</p> | </p> |
| |
<pre caption="Herd & individually maintained package"> | <pre caption="Herd & individually maintained package"> |