Package: photofloat
Severity: normal

photofloat includes individual source css, minified css, and a
minification bundle - only the last being actually used, and the being
of little use for package users as they are provided in a non-editable
directory.

Please consider...

 a) move the source css to e.g. /etc/photofloat/,

 b) drop all pre-minified files,

 c) provide script /usr/sbin/update-photofloat-css, generating minified
 bundled at e.g. /var/lib/photofloat/css,

 d) execute script in postinst script,

 e) add README below /etc/photofloat reminding user to invoke script
 after editing CSS files.

Several tools exist for CSS minification.  My preferred one (but
possibly too bloated for this use) is sass (in package ruby-sass):
Sass really is a preprocessor converting SASS or SCSS files into CSS,
but since SCSS is a superset of CSS, you can treat CSS as SCSS input.

One of the benefits of using Sass for this is its debugging output in
case of mistyped CSS.  Another benefit is its use by high-profile web
designers (some of the authors at alistapart.com), indicating that the
quality of the minification is quite well tested.


 - Jonas


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to