aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorSebastian Pipping <sebastian@pipping.org>2017-03-13 20:31:07 +0100
committerSebastian Pipping <sebastian@pipping.org>2017-03-13 20:37:47 +0100
commit9ddd1640a0e63f1a029c42614635ccdc072d51a3 (patch)
tree3dea8ac24472f78186ab5763f56faf5ff40f0e1d /docs
parentBump version to 0.6.5 (diff)
downloadmetagen-9ddd1640a0e63f1a029c42614635ccdc072d51a3.tar.gz
metagen-9ddd1640a0e63f1a029c42614635ccdc072d51a3.tar.bz2
metagen-9ddd1640a0e63f1a029c42614635ccdc072d51a3.zip
Drop support for herds (bug #611190)
Diffstat (limited to 'docs')
-rw-r--r--docs/README26
-rw-r--r--docs/metagen.124
2 files changed, 7 insertions, 43 deletions
diff --git a/docs/README b/docs/README
index 56c56c9..3a40768 100644
--- a/docs/README
+++ b/docs/README
@@ -12,11 +12,6 @@ from Python to create metadata.xml files easily:
from metagen.metagenerator import MyMetadata
metadata = MyMetadata()
- metadata.set_herd(["python"])
- print metadata
-
- metadata = MyMetadata()
- metadata.set_herd(["gnome", "python"])
metadata.set_maintainer(["<pythonhead@gentoo.org>"],
["Rob Cakebread"],
["Maintainer description."]
@@ -35,16 +30,6 @@ from Python to create metadata.xml files easily:
Command line tool examples:
-metagen -H python
-
- * One herd
-
- <?xml version="1.0" encoding="UTF-8"?>
- <!DOCTYPE pkgmetadata SYSTEMhttp://www.gentoo.org/dtd/metadata.dtd">
- <pkgmetadata>
- <herd>python</herd>
- </pkgmetadata>
-
metagen -m
* This takes the maintainer info from your ECHANGELOG_USER variable.
@@ -74,14 +59,13 @@ metagen -m -d "I maintain this because I'm crazy."
</pkgmetadata>
-metagen -m -H python -l "This package does X, Y, and Z."
+metagen -m -l "This package does X, Y, and Z."
- * Maintainer, herd, long description
+ * Maintainer, long description
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEMhttp://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
- <herd>python</herd>
<maintainer>
<email>pythonhead@gentoo.org</email>
<name>Rob Cakebread</name>
@@ -89,15 +73,13 @@ metagen -m -H python -l "This package does X, Y, and Z."
<longdescription>This package does X, Y, and Z.</longdescription>
</pkgmetadata>
-metagen -m -e "jdoe@gentoo.org","tsmith@gentoo.org" -n "Jane Doe","Tom Smith" -H python,gnome -l "This package does X, Y, and Z."
+metagen -m -e "jdoe@gentoo.org","tsmith@gentoo.org" -n "Jane Doe","Tom Smith" -l "This package does X, Y, and Z."
- * Two herds, 3 maintainers, long description
+ * 3 maintainers, long description
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEMhttp://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
- <herd>python</herd>
- <herd>gnome</herd>
<maintainer>
<email>pythonhead@gentoo.org</email>
<name>Rob Cakebread</name>
diff --git a/docs/metagen.1 b/docs/metagen.1
index 6364ece..bab2e98 100644
--- a/docs/metagen.1
+++ b/docs/metagen.1
@@ -10,18 +10,11 @@
.B metagen
will create a valid metadata.xml file in the current directory.
-If you need multiple elements, such as two herds, use a comma to
+If you need multiple elements, such as two email addresses, use a comma to
separate them. See EXAMPLES.
.SH OPTIONS
.\" metagen [OPTIONS]
-.B --herd
-|
-.B
--H
-herd
- Name of herd.
-
.B --email
|
.B
@@ -101,17 +94,6 @@ output-file
show version and exit
.SH EXAMPLES
-.B metagen -H python
-
-Creates metadata.xml in current directory with python as the herd
-
-
-.B metagen -H python,wxwidgets \
- -l 'This package does a little of this and some o dat.'
-
-Creates metadata in current directory with two herds and long description
-
-
.B metagen -e pythonhead@gentoo.org \
-n 'Joe Blow' \
-d 'The voices in my head told me to maintain this package' \
@@ -120,13 +102,13 @@ Creates metadata in current directory with two herds and long description
maintainer email, maintainer name, description of maintainership, to stdout only
-.B metagen -H net-p2p,python -e jo@gentoo.org,flo@gentoo.org \
+.B metagen -e jo@gentoo.org,flo@gentoo.org \
-n 'Jo Blo','Flo Blo' \
-d 'I am maintaining this because foo','I am maintaining this because bar' \
-l 'This package is yadda yadda yadda, spam and eggs' \
-Q
-2 herds, 2 maintainers with names and maintainer descriptions for each maintainer,
+2 maintainers with names and maintainer descriptions for each maintainer,
only write to stdout