Review Request: Add support for custom package metadata

Petri Damstén petri.damsten at gmail.com
Sun Nov 2 12:48:01 CET 2008



> On 2008-11-02 03:33:56, Aaron Seigo wrote:
> > a little bit of cleanup needed yet, but generally ready to go in.
> > 
> > not sure what your use case was, though this is obviously useful (there was even a comment in there about it =)
> >

So plasmapkg can get pluginName for package and uninstall works also when package file name is given on command line (which is what we get from knewstuff2).


> On 2008-11-02 03:33:56, Aaron Seigo wrote:
> > /trunk/KDE/kdebase/workspace/libs/plasma/packagestructure.cpp, lines 447-449
> > <http://reviewboard.vidsolbach.de/r/248/diff/4/?file=1337#file1337line447>
> >
> >     is that really needed?

Package seems to add '/' to the path also when it's a zip archive. Hmm maybe it should be fixed there.


- Petri


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://reviewboard.vidsolbach.de/r/248/#review242
-----------------------------------------------------------


On 2008-11-02 03:11:18, Petri Damstén wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> http://reviewboard.vidsolbach.de/r/248/
> -----------------------------------------------------------
> 
> (Updated 2008-11-02 03:11:18)
> 
> 
> Review request for Plasma.
> 
> 
> Summary
> -------
> 
> This adds support for custom package metadata. 
> 
> Update:
> - Default metadata handling in PackageStructure
> - PackageStructure also returns Plasma::PackageMetadata (not a pointer)
> - Always get metadata from the PackageStructure. It creates it on demand.
> 
> 
> Diffs
> -----
> 
>   /trunk/KDE/kdebase/workspace/libs/plasma/package.cpp
>   /trunk/KDE/kdebase/workspace/libs/plasma/packagestructure.h
>   /trunk/KDE/kdebase/workspace/libs/plasma/packagestructure.cpp
> 
> Diff: http://reviewboard.vidsolbach.de/r/248/diff
> 
> 
> Testing
> -------
> 
> 
> Thanks,
> 
> Petri
> 
>



More information about the Plasma-devel mailing list