Package dak :: Module make_overrides
[hide private]
[frames] | no frames]

Module make_overrides

source code

Output override files for apt-ftparchive and indices/


Contact: Debian FTP Master <ftpmaster@debian.org>

Copyright: 2000, 2001, 2002, 2004, 2006 James Troup <james@nocrew.org>

License: GNU General Public License version 2 or later

Functions [hide private]
 
usage(exit_code=0) source code
 
do_list(output_file, suite, component, otype, session)
Fetch override data for suite from the database and dump it.
source code
 
main() source code

Imports: os, sys, apt_pkg, Config, utils


Function Details [hide private]

do_list(output_file, suite, component, otype, session)

source code 

Fetch override data for suite from the database and dump it.

Parameters:
  • output_file (fileobject) - where to write the overrides to
  • suite (Suite object) - A suite object describing the Suite
  • component (Component object) - The name of the component
  • otype (OverrideType object) - object of type of override. deb/udeb/dsc
  • session (SQLA Session) - the database session in use