dak.process_new

Handles NEW and BYHAND packages

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

Functions

check_pkg(upload, upload_copy, session)

do_bxa_notification(new, upload, session)

do_new(upload, upload_copy, handler, session)

do_pkg(upload, session)

edit_index(new, upload, index)

edit_new(overrides, upload, session)

edit_overrides(new, upload, session)

end()

get_reject_reason([reason])

get reason for rejection

index_range(index)

lock_package(package)

Lock package so that noone else jumps in processing it.

main()

print_new(upload, missing, indexed, session)

run_user_inspect_command(upload, upload_copy)

show_new_comments(uploads, session)

sort_uploads(new_queue, uploads, session[, ...])

takenover_binaries(upload, missing, session)

usage([exit_code])

Classes

Priority_Completer(session)

Section_Completer(session)

class dak.process_new.Priority_Completer(session)[source]
complete(text, state)[source]
class dak.process_new.Section_Completer(session)[source]
complete(text, state)[source]
dak.process_new.check_pkg(upload, upload_copy: UploadCopy, session)[source]
dak.process_new.do_bxa_notification(new, upload: PolicyQueueUpload, session)[source]
dak.process_new.do_new(upload: PolicyQueueUpload, upload_copy: UploadCopy, handler, session)[source]
dak.process_new.do_pkg(upload: PolicyQueueUpload, session)[source]
dak.process_new.edit_index(new, upload: PolicyQueueUpload, index)[source]
dak.process_new.edit_new(overrides, upload: PolicyQueueUpload, session)[source]
dak.process_new.edit_overrides(new, upload: PolicyQueueUpload, session)[source]
dak.process_new.end()[source]
dak.process_new.get_reject_reason(reason: str = '') Optional[str][source]

get reason for rejection

Returns:

string giving the reason for the rejection or None if the rejection should be cancelled

dak.process_new.index_range(index: int) str[source]
dak.process_new.lock_package(package: str)[source]

Lock package so that noone else jumps in processing it.

Parameters:

package – source package name to lock

dak.process_new.main()[source]
dak.process_new.print_new(upload: ~daklib.dbconn.PolicyQueueUpload, missing, indexed: bool, session, file=<_io.TextIOWrapper name='<stdout>' mode='w' encoding='utf-8'>)[source]
dak.process_new.run_user_inspect_command(upload: PolicyQueueUpload, upload_copy: UploadCopy)[source]
dak.process_new.show_new_comments(uploads: Iterable[PolicyQueueUpload], session)[source]
dak.process_new.sort_uploads(new_queue: PolicyQueue, uploads: Iterable[PolicyQueueUpload], session, nobinaries: bool = False) list[daklib.dbconn.PolicyQueueUpload][source]
dak.process_new.takenover_binaries(upload, missing, session)[source]
dak.process_new.usage(exit_code: int = 0) NoReturn[source]