dak.show_deferred

Overview of the DEFERRED queue, based on queue-report

Functions

footer()

get_upload_data(changesfn)

header()

init()

is_linkable_name(name)

Check a name from the Files field of a deferred .changes

link_deferred_file(qfn, lfn)

Make qfn world-readable and create the symlink lfn to it

list_uploads(filelist, rrd_dir)

main()

table_footer()

table_header()

table_row(changesname, delay, changed_by, ...)

update_graph_database(rrd_dir, *counts)

usage([exit_code])

dak.show_deferred.Cnf: Configuration
dak.show_deferred.Options: Configuration
dak.show_deferred.footer()[source]
dak.show_deferred.get_upload_data(changesfn)[source]
dak.show_deferred.header()[source]
dak.show_deferred.init()[source]
dak.show_deferred.is_linkable_name(name: str) → bool[source]

Check a name from the Files field of a deferred .changes

The name is joined to the deferred directory and to the link directory, so only plain file names are allowed. We don’t link .changes because we don’t want other people to upload it with the existing signature, and status is written by list_uploads().

Make qfn world-readable and create the symlink lfn to it

Nothing is done unless qfn is a regular file. It is opened without following symlinks and its mode is changed through the descriptor.

dak.show_deferred.list_uploads(filelist, rrd_dir)[source]
dak.show_deferred.main()[source]
dak.show_deferred.table_header()[source]
dak.show_deferred.table_row(changesname, delay, changed_by, closes, fingerprint)[source]
dak.show_deferred.update_graph_database(rrd_dir, *counts)[source]
dak.show_deferred.usage(exit_code=0)[source]