diff options
author | Florian Weimer <fw@deneb.enyo.de> | 2010-05-08 10:14:00 +0000 |
---|---|---|
committer | Florian Weimer <fw@deneb.enyo.de> | 2010-05-08 10:14:00 +0000 |
commit | e04648531e9602061502e4625d623c139273a04f (patch) | |
tree | 106aefc47d3d02bd01f15b4886ed7bdc0563f64f /doc/python-format.txt | |
parent | 4a75691a9f4c450143be072c4792230995f1c4e5 (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.txt | 13 |
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 |