Basic and core package hooks.
Subclass of the dput.exceptions.HookException.
Thrown if the allowed-distribution checker encounters an issue.
Subclass of the dput.exceptions.HookException.
Thrown if the check-debs checker encounters an issue.
Subclass of the dput.exceptions.HookException.
Thrown if the gpg checker encounters an issue.
Subclass of the dput.exceptions.HookException.
Thrown if the checksum checker encounters an issue.
Subclass of the dput.exceptions.HookException.
Thrown if the source checker encounters an issue.
Subclass of the dput.exceptions.HookException.
Thrown if the suite-mismatch checker encounters an issue.
The allowed-distribution checker is a stock dput checker that checks packages intended for upload for a valid upload distribution.
Profile key: none
Example profile:
{
...
"allowed_distributions": "(?!UNRELEASED)",
"distributions": ["unstable", "testing"]
...
}
The allowed_distributions key is in Python re syntax.
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"
}
The suite-mismatch checker is a stock dput checker that checks packages intended for upload for matching Distribution and last Changelog target.
Profile key: none
This checker simply verified that the Changes’ Distribution key matches the last changelog target. If the mixup is between experimental and unstable, it’ll remind you to pass -c unstable -d experimental to sbuild.
The gpg checker is a stock dput checker that checks packages intended for upload for a GPG signature.
Profile key: gpg
Example profile:
{
"allowed_keys": [
"8F049AD82C92066C7352D28A7B585B30807C2A87",
"B7982329"
]
}
allowed_keys is an optional entry which contains all the keys that may upload to this host. This can come in handy if you use more then one key to upload to more then one host. Use any length of the last N chars of the fingerprint.
The protected distributions checker is a stock dput checker that makes sure, users intending an upload for a special care archive ( testing-proposed-updates, stable-security, etc.) did really follow the archive policies for that.
Profile key: none
The checksum checker is a stock dput checker that checks packages intended for upload for correct checksums. This is actually the most simple checker that exists.
Profile key: none.
Example profile:
{
...
"hash": "md5"
...
}
The hash may be one of md5, sha1, sha256.