distro_tracker.vendor.kali
Logic specific to Kali Linux
distro_tracker.vendor.kali.rules
Kali specific rules
- distro_tracker.vendor.kali.rules.classify_message(msg, package, keyword)[source]
Classify incoming email messages with a package and a keyword.
- distro_tracker.vendor.kali.rules.approve_default_message(msg)[source]
The function should return a
Boolean
indicating whether this message should be forwarded to subscribers which are subscribed to default keyword messages.- Parameters:
msg (
email.message.Message
) – The message to approve
- distro_tracker.vendor.kali.rules.get_table_fields(table)[source]
The function provides additional fields which should be displayed in the team’s packages table
- distro_tracker.vendor.kali.rules.get_tables_for_team_page(team, limit)[source]
The function must return a list of
BasePackageTable
objects to be displayed in the main page of teams.- Parameters:
team – The team for which the tables must be added.
limit (int) – The number of packages to be displayed in the tables