[pkg-bacula-devel] New lintian warnings

Sven Hartge sven at svenhartge.de
Sun Jan 27 14:27:22 GMT 2019


On 27.01.19 15:04, Carsten Leonhardt wrote:
> Hi Sven,
> 
>> Checking the current git HEAD with lintian shows a new warning:
>>
>> X: bacula-common: maintainer-script-supports-ancient-package-version postinst:20 9.0.7+dfsg-2
> 
>> N:    Please remove the code/check for this version as such upgrades (etc.)
>> N:    are unsupported.
> 
>> Given that stable has 7.4.4 (lower than 9.0.7) and oldstable had 5.2.6 I 
>> think the check here has a bug.
> 
> Yes, but isn't X = experimental?

Naturally. But I like to keep an eye on those things (maybe providing
feedback) before they become real warnings.

> Also I don't see why one should be discouraged from supporting upgrades
> from very old versions, if there's no cost attached.

If the maintainer scripts become a tangled mess of if-then-else (read:
technical debt) the cost of maintaining those scripts soon becomes very
real quite fast.

As an unlucky person who just replaced an inherited 500+ line shell
script [doing things no longer needed for the last 10 years] with a 40
line perl version I can attest to that problem.

So I can see where this check is coming from.

I believe in some packages (not ours) one could even drop a maintainer
script all-together after removing cruft to support updates from Etch to
Wheezy.

So a little nudge from lintian to check of there are any cobwebs to
remove isn't a bad thing, IMHO.

Grüße,
Sven.



-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-bacula-devel/attachments/20190127/7ed9d62b/attachment.sig>


More information about the pkg-bacula-devel mailing list