Package: release.debian.org Severity: normal Tags: bookworm X-Debbugs-Cc: djangorestframew...@packages.debian.org Control: affects -1 + src:djangorestframework User: release.debian....@packages.debian.org Usertags: pu
[ Reason ] The user Simon Lyngshede spottet an issue with version 3.14.0-2 in bookworm which can result in a HTML error 500 in the priject that is using this version as the Debian package is missing the file bootstrap-tweaks.css in the static folder. https://bugs.debian.org/1068747 This is happen due a to agressive removing of existing CSS files while package build. [ Impact ] The potential impact is limited and no data loss will happen, but the Django application will simply not work and throw an error 500 if the CSS file can not be found. [ Tests ] Currently there are no upstream or autopkgtests which will detect such a missing file. Upstream will probably never create such a test because they ship the needed files within the source. [ Risks ] The risk of a potential data loss isn't existing, but the application that is using that package might loose all of it's functionality. [ Checklist ] [x] *all* changes are documented in the d/changelog [x] I reviewed all changes and I approve them [x] attach debdiff against the package in (old)stable [x] the issue is verified as fixed in unstable [ Changes ] The change itself is rather simple, it's a one line fix in debian/rules. Please see below the output of debdiff. [ Other info ] Currently nothing I'm aware of that is needed to get mentioned here. -- Regards Carsten $ debdiff ../djangorestframework_3.14.0-2.dsc ../djangorestframework_3.14.0-2+deb12u1.dsc diff -Nru djangorestframework-3.14.0/debian/changelog djangorestframework-3.14.0/debian/changelog --- djangorestframework-3.14.0/debian/changelog 2023-01-31 12:59:37.000000000 +0100 +++ djangorestframework-3.14.0/debian/changelog 2024-06-09 08:20:01.000000000 +0200 @@ -1,3 +1,14 @@ +djangorestframework (3.14.0-2+deb12u1) bookworm; urgency=medium + + [ Carsten Schoenert ] + * [0e3d1fc] d/gbp.conf: Pick up some defaults, adjust to debian/bookworm + + [ Simon Lyngshede ] + * [7867bee] d/rules: Don't exclude bootstrap-tweaks.css file + (Closes: #1068747) + + -- Carsten Schoenert <c.schoen...@t-online.de> Sun, 09 Jun 2024 08:20:01 +0200 + djangorestframework (3.14.0-2) unstable; urgency=medium * Team upload diff -Nru djangorestframework-3.14.0/debian/gbp.conf djangorestframework-3.14.0/debian/gbp.conf --- djangorestframework-3.14.0/debian/gbp.conf 2023-01-31 12:59:37.000000000 +0100 +++ djangorestframework-3.14.0/debian/gbp.conf 2024-06-09 08:19:45.000000000 +0200 @@ -1,2 +1,11 @@ [DEFAULT] -debian-branch=debian/master +compression = gz +debian-branch = debian/bookworm +upstream-branch = upstream +pristine-tar = True + +[pq] +patch-numbers = False + +[dch] +id-length = 7 diff -Nru djangorestframework-3.14.0/debian/rules djangorestframework-3.14.0/debian/rules --- djangorestframework-3.14.0/debian/rules 2023-01-31 12:59:37.000000000 +0100 +++ djangorestframework-3.14.0/debian/rules 2024-06-09 08:19:45.000000000 +0200 @@ -21,7 +21,7 @@ # Don't embed what's already provided elsewhere $(RM) debian/python3-djangorestframework/usr/lib/python3/dist-packages/rest_framework/static/rest_framework/fonts/* $(RM) debian/python3-djangorestframework/usr/lib/python3/dist-packages/rest_framework/static/rest_framework/css/font-awesome*.css - $(RM) debian/python3-djangorestframework/usr/lib/python3/dist-packages/rest_framework/static/rest_framework/css/bootstrap*.css + $(RM) debian/python3-djangorestframework/usr/lib/python3/dist-packages/rest_framework/static/rest_framework/css/bootstrap*.min.css $(RM) debian/python3-djangorestframework/usr/lib/python3/dist-packages/rest_framework/static/rest_framework/css/prettify*.css $(RM) debian/python3-djangorestframework/usr/lib/python3/dist-packages/rest_framework/static/rest_framework/js/bootstrap*.js $(RM) debian/python3-djangorestframework/usr/lib/python3/dist-packages/rest_framework/static/rest_framework/js/jquery*.js