Re: Enabling uupdate to simply remove files from upstream source (Was: Minified javascript files)
Hi,
trying to summarise suggested changes for the proposal:
1. The new field Files-Excluded in debian/copyright contains
a space separated list of regular expressions.
The deletion process will loop over every expression
rm -rf ${MAIN_SOURCE_DIR}/<expression>
An example copyright file would look like this:
Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Source: http://susy.oddbird.net/
Repackaged, excluding non-DFSG licensed fonts and source-less
JavaScript
Files-Excluded:
docs/source/fonts/*
docs/source/javascripts/jquery-1.7.1.min.js
docs/source/javascripts/modernizr-2.5.3.min.js
2. There was one vote from Gregor Hermann to use the --repack option
of uscan. I personally admit that I do not fully agree with
Gregor that this means changing the semantics of an existing option.
We are just repackaging and without the additional information in
debian/copyright the functionality remains exactly the same.
If we would follow Bastien ROUCARIES suggestion to provide an
option for the compression method *this* would change the semantics
effectively and so I'm a bit reluctand to implement this in this
connection (even if I think it makes perfectly sense.
Gregor made also the remark that he likes the pkg-perl teams
method of doing things because once d/watch is adjusted you don't
have to do anything besides calling uscan. I consider the method
I like to suggest here as serving the very same purpose
3. If the tarball did not contained any of the strings in
debian/copyright::Files-Excluded it should be left untouched
(except if the repackaging is needed because of compression method
anyway)
4. In case something was removed the version string will be appended by
'+dfsg' to express the fact that the content of the original source
was changed.
For the implementation of this it waqs suggested to
use Debian::Copyright;
Any further hints / remarks?
Kind regards
Andreas.
--
http://fam-tille.de
Reply to: