Debian FTPMaster Wiki / projects / dak-cleanup

pending code cleanup tasks

This page collects code cleanup projects that are not important for the functioning of the archive but might make live easier in the long run.

Logging

Currently we use a custom Logger class which misses many of the features the standard Python Logging class has (e.g. proper output redirection, multiple log outputs, multiple log levels). So we should convert our logging usage to use the standard class as base.

override_type

The override_type table seems to be a mild case of over engineering, particulary because the binaries table doesn't use it at all. We probably can just drop it and encode the override type as text field (or enum).

security archive

Handle absolute filenames

process-upload and others shouldn't depend on being in the correct directory when called with changes files as argument.

Improve examine_package

Move some more scripts to using SQLA