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

Attachment: signature.asc
Description: This is a digitally signed message part.

------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
_______________________________________________
RKWard-devel mailing list
RKWard-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rkward-devel

Reply via email to