summaryrefslogtreecommitdiffstats
path: root/doc/python-format.txt
diff options
context:
space:
mode:
authorFlorian Weimer <fw@deneb.enyo.de>2010-05-08 10:14:00 +0000
committerFlorian Weimer <fw@deneb.enyo.de>2010-05-08 10:14:00 +0000
commite8fecebf8e982e90b39955d38fdf492f431f11ab (patch)
treedda8874c5efd3728d129f556f147e928198cd082 /doc/python-format.txt
parent3f5602f9ec7f707c6835f997d66fd5d7a9da5781 (diff)
sectracker.parsers.sourcepackages(): extract binary packages
It turns out that we can reconstruct the binary packages list from the Binary: field in the Sources files. git-svn-id: svn+ssh://svn.debian.org/svn/secure-testing@14639 e39458fd-73e7-0310-bf30-c45bca0a0e42
Diffstat (limited to 'doc/python-format.txt')
-rw-r--r--doc/python-format.txt13
1 files changed, 13 insertions, 0 deletions
diff --git a/doc/python-format.txt b/doc/python-format.txt
index 9f20d7c0f5..b0f0a91613 100644
--- a/doc/python-format.txt
+++ b/doc/python-format.txt
@@ -14,6 +14,19 @@ except for the addition of additional attributes and changes in the
internal order of named tuples (so you really should not rely on
that).
+# Source packages
+
+The dictionary returned by sectracker.parsers.sourcepackages()
+contains the source package name as the key, and as values named
+tuples with the following field:
+
+* pkg.name: the name of the source package
+
+* pkg.version: the source version
+
+* pkg.binary: a list of binary package names compiled from this source
+ package
+
# Individual bug information
The data/*/list files are parsed as lists of bugs. A line which does

© 2014-2024 Faster IT GmbH | imprint | privacy policy