[rkward-devel] rkwardtests package: done :-)

Thomas Friedrichsmeier thomas.friedrichsmeier at ruhr-uni-bochum.de
Thu Oct 14 11:05:43 UTC 2010


Hi,

On Thursday 14 October 2010, meik michalke wrote:
> actually, there already is no versioning inside the archive. it contains a
> folder just called "klausuR_rkward". the higher level folder we see there
> is somehow created while unpacking.

indeed, I see. This directory is created for safety. Remember that we need to 
remove the unpackaged directory when the plugin pack is uninstalled. For this, 
we need to make sure we're removing the right folder! At this point we _could_ 
rely on the convention that the folder always has the same name as the archive 
(without the version). But it's safer, and just as easy to simply create a 
folder with that name, and to unpack the archive, there.

> having the archives themselves without
> a version in their file name would be too much of a drawback, i'd say. so
> we should somehow manage to unpack them without any new folders being
> created. could RKWard take care of that?

Well, we could change the unpacking to ignore the version number. E.g. we 
could define anything after the first dash to be version information, and strip 
that. That should solve most of the problem.

What remains is that KNewStuff does not remove the old version of the archive, 
i.e. klausuR_rkward-0.9-7.tar.gz is still around. But perhaps we can take care 
of that from within RKWard as well? I'll have to think about it a while.

Regards
Thomas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/rkward-devel/attachments/20101014/5f8bcd71/attachment.sig>


More information about the Rkward-devel mailing list