To avoid confusion with reproducible.archlinux.org output, only show BAD
statusses. Unknown statuses are still queue'd up in rebuilderd so aren't
interesting.
Import the rebuilderd status periodically with a django management
command into RebuilderdStats which holds one record per pkgname with
it's pkgver/pkgrel/epoch all recorded. Shown as a developer dashboard
and with opt in mail notifications for when a package becomes not
reproducible.
Packages smaller than 25 KiB shouldn't really come into play here; this
was meant to show huge packages spending too much time on compression.
Signed-off-by: Dan McGee <dan@archlinux.org>
This code was getting quite unwieldy, and wasn't very modular. Introduce
a DeveloperReport class that contains the content for a single report,
and utilize it to create our various report metadata and package
filtering operations. Utilize these report objects in the reports view,
vastly simplifying it.
We don't yet dynamically generate the list of reports on the developer
index page; that will be coming soon.
Signed-off-by: Dan McGee <dan@archlinux.org>