dak.process_upload

Checks Debian packages from Incoming @contact: Debian FTP Master <ftpmaster@debian.org> @copyright: 2000, 2001, 2002, 2003, 2004, 2005, 2006 James Troup <james@nocrew.org> @copyright: 2009 Joerg Jaspert <joerg@debian.org> @copyright: 2009 Mark Hymers <mhy@debian.org> @copyright: 2009 Frank Lichtenheld <djpig@debian.org> @license: GNU General Public License version 2 or later

Functions

accept(directory, upload)

accept_to_new(directory, upload)

action(directory, upload)

get_processed_upload(upload)

main()

process_changes(changes_filenames)

process_it(directory, changes, keyrings)

real_reject(directory, upload[, reason, notify])

reject(directory, upload[, reason, notify])

try_or_reject(function)

Try to call function or reject the upload if that fails

unlink_if_exists(path)

usage([exit_code])

dak.process_upload.accept(directory: str, upload: ArchiveUpload) None[source]
dak.process_upload.accept_to_new(directory: str, upload: ArchiveUpload) None[source]
dak.process_upload.action(directory: str, upload: ArchiveUpload) bool[source]
dak.process_upload.get_processed_upload(upload: ArchiveUpload) ProcessedUpload[source]
dak.process_upload.main()[source]
dak.process_upload.process_changes(changes_filenames: Iterable[str])[source]
dak.process_upload.process_it(directory: str, changes: Changes, keyrings: list[str]) None[source]
dak.process_upload.real_reject(directory: str, upload: ArchiveUpload, reason=None, notify=True) None[source]
dak.process_upload.reject(directory: str, upload: ArchiveUpload, reason=None, notify=True) None[source]
dak.process_upload.try_or_reject(function)[source]

Try to call function or reject the upload if that fails

dak.process_upload.usage(exit_code=0) NoReturn[source]