[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#517650: lintian: changes made to collection scripts are not reflected unless a package changes



Package: lintian
Version: 2.2.6
Severity: minor

When a collection script is modified, the changes are not reflected even if 
the same package is re-unpacked or re-processed. This could lead to certain 
temporary miss behaviours.

IMHO the most reasonable way to make sure the data generated by the collection 
scripts is rebuilt when the collection script is changed, is by using 
per-package status files. With this, the Output information on the .desc 
files would be obsolete and replaced with another field that could be 
named 'Version'.

The complete proposal is:
* Drop Ouput fields.
* Add Version fields, with an integer value, to each and every .desc for each 
and every collection script.
* The frontend would, whenever a collection script is run, attempt to remove 
any .$collection_script* file (e.g. .file-info*) from the package directory 
and when the script finishes, touch the .$collection_script$version file.
* Skip a collection script if the .$collection_script$version file exists.

If it is fine I'll implement it.

Cheers,
-- 
Raphael Geissert - Debian Maintainer
www.debian.org - get.debian.net



Reply to: