update-function for lin and autocorrection of the checksums for the verify-plugins

Kok, Auke sofar at foo-projects.org
Mon Jan 5 19:18:40 CET 2009


Christian Riggenbach wrote:
> Hi everybody
> 
> A new try: After about a year, I submit my update-patches again. I hope,
> this time more people have time to check them.
> 
> The patches ('module-update.plugin', 'lin.patch', and
> 'download-generic.plugin.patch') extend the lin-programm with an
> update-funktion. This is made with an additional getopts-switch in the
> lin-program itself, a BUILD_POST_INSTALL-plugin and by preserving the
> timestamp of the dowloaded file for suggest the UPDATED-date.
> 
> With this patch, a user can update a module simply by:
> 
> # lin -uw VERSION MODULE
> 
> The patches 'verify-{md5,sha1}.plugin.patch' extend the
> verifying-plugins so that they can correct the checksums themself, if
> the module is in the zlocal-section.

This turns a "small" hack into an outright big one... I really don't like this at
all. Apart from adding a lot of code it only helps for very few cases, and in
those cases people should really double check the websites and modules to see if
they match anyway (and fix them attentively).

Auke


More information about the Lunar mailing list