From e8fecebf8e982e90b39955d38fdf492f431f11ab Mon Sep 17 00:00:00 2001 From: Florian Weimer Date: Sat, 8 May 2010 10:14:00 +0000 Subject: 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 --- doc/python-format.txt | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'doc/python-format.txt') 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 -- cgit v1.2.3