Module contents
source code
Helper code for contents generation.
Contact:
Debian FTPMaster <ftpmaster@debian.org>
Copyright:
2011 Torsten Werner <twerner@debian.org>
License:
GNU General Public License version 2 or later
|
BinaryContentsWriter
BinaryContentsWriter writes the Contents-$arch.gz files.
|
|
SourceContentsWriter
SourceContentsWriter writes the Contents-source.gz files.
|
|
ContentsWriter
Loop over all suites, architectures, overridetypes, and components
to write all contents files.
|
|
BinaryContentsScanner
BinaryContentsScanner provides a threadsafe method scan() to scan
the contents of a DBBinary object.
|
|
UnpackedSource
UnpackedSource extracts a source package into a temporary location
and gives you some convinient function for accessing it.
|
|
SourceContentsScanner
SourceContentsScanner provides a method scan() to scan the contents
of a DBSource object.
|
|
binary_helper(suite_id,
arch_id,
overridetype_id,
component_id)
This function is called in a new subprocess and multiprocessing wants
a top level function. |
source code
|
|
|
source_helper(suite_id,
component_id)
This function is called in a new subprocess and multiprocessing wants
a top level function. |
source code
|
|
|
binary_scan_helper(binary_id)
This function runs in a subprocess. |
source code
|
|
|
source_scan_helper(source_id)
This function runs in a subprocess. |
source code
|
|
Imports:
Config,
BinaryContentsFileWriter,
SourceContentsFileWriter,
DakProcessPool,
rmtree,
mkdtemp,
subprocess,
os,
sql