eg. kde_package_app_templates(...) https://api.kde.org/ecm/kde-module/KDEPackageAppTemplates.html captures users, umask, etc.
Our notes about issues affecting packages are stored in notes.git and are targeted at packages in Debian in 'unstable/amd64' (unless they say otherwise).