Autopatch plugin need some testing

Stefan Wold ratler at lunar-linux.org
Tue Jun 26 09:23:44 CEST 2007


Hey!

A few days ago I commited a autopatch plugin for theedge. It would be
great if everyone could test it out and tell me if you find any issues
with it. Just lin theedge and you should get it.

This is how it works. The plugin allow a user to patch the source of a
module without any need to edit the module such as adding patch_it to
BUILD and SOURCEX to DETAILS etc etc. There are two ways of handling
patches for your module, one is the version approach that only patch if
the module match a certain version. The other approach will patch all
versions, like a generic patch for that module. Both approaches can be
combined. The plugin handle different compress methods just like
patch_it. Patch order work as well by prefixing the patch with 00, 01,
02 and so on. Note that only p1 or p0 patches will work, it will start
by trying p1 first, if that fail it will test p0, if that also fail lin
will abort with an error.

To try it, create a $MOONBASE/zlocal/_patches directory. In this
directory create a $MODULE directory that correspond to the module you
want to autopatch. Put your patch files in that dir and run lin $MODULE.
If you want a patch only to match a certain version, create
$MOONBASE/zlocal/_patches/$MODULE/$VERSION and put your patches there.

-- 
Sincerely
Stefan Wold
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://foo-projects.org/pipermail/lunar-dev/attachments/20070626/02300006/attachment.bin


More information about the Lunar-dev mailing list