dak.generate_releases

Create all the Release files

@contact: Debian FTPMaster <ftpmaster@debian.org> @copyright: 2011 Joerg Jaspert <joerg@debian.org> @copyright: 2011 Mark Hymers <mhy@debian.org> @license: GNU General Public License version 2 or later

Module Attributes

Logger

Our logging object

Functions

generate_helper(suite_id)

This function is called in a new subprocess.

main()

sign_release_dir(suite, dirname)

usage([exit_code])

Usage information

Classes

HashFunc(release_field, func, db_name)

ReleaseWriter(suite)

XzFile(filename[, mode])

ZstdFile(filename[, mode])

class dak.generate_releases.HashFunc(release_field, func, db_name)[source]
dak.generate_releases.Logger = None

Our logging object

class dak.generate_releases.ReleaseWriter(suite)[source]
_update_hashfile_table(session, fileinfo, hashes)[source]
create_output_directories()[source]

Create symlinks for Release files. This creates the symlinks for Release files in the suite_path to the actual files in suite_release_path.

generate_release_files()[source]

Generate Release files for the given suite

suite_path()[source]

Absolute path to the suite-specific files.

suite_release_path()[source]

Absolute path where Release files are physically stored. This should be a path that sorts after the dists/ directory.

class dak.generate_releases.XzFile(filename, mode='r')[source]
read()[source]
class dak.generate_releases.ZstdFile(filename, mode='r')[source]
read()[source]
dak.generate_releases.generate_helper(suite_id)[source]

This function is called in a new subprocess.

dak.generate_releases.main()[source]
dak.generate_releases.sign_release_dir(suite, dirname)[source]
dak.generate_releases.usage(exit_code=0)[source]

Usage information