Debian file routines

exception dput.hooks.deb.BinaryUploadError

Subclass of the dput.exceptions.HookException.

Thrown if the check-debs checker encounters an issue.

dput.hooks.deb.check_debs_in_upload(changes, profile, interface)

The check-debs checker is a stock dput checker that checks packages intended for upload for .deb packages.

Profile key: foo

Example profile:

{
    "skip": false,
    "enforce": "debs"
}
skip controls if the checker should drop out without checking

for anything at all.

enforce This controls what we check for. Valid values are

“debs” or “source”. Nonsense values will cause an abort.