[RFC] [kservice] KPluginMetadata indexing

Sebastian Kügler sebas at kde.org
Mon Nov 17 07:12:46 UTC 2014


Hi David,

On Sunday, November 16, 2014 18:10:27 David Faure wrote:
> Cool that you're looking into this.
> 
> On Thursday 06 November 2014 03:44:58 Sebastian Kügler wrote:
> > - a small tool called kplugin-update-index collects the json metadata from
> > the  plugins, and puts the list of plugins in a given plugin directory
> > into
> > a QJsonArray, and dumps that in Qt's json binary format to disk
> 
> I didn't have time to look into details, but I have one question about the 
> principle:
> 
> Is the tool going to be run at plugin installation time?
> That's the best solution, IMHO, similar to update-mime-database and the
> like.

Yes, that's the plan. I'm solliciting feedback to the approach of doing it 
this way, and using QJson for it in this review, integrating this into the 
installation process would be one of the next steps.

Cheers,
-- 
sebas

http://www.kde.org | http://vizZzion.org | GPG Key ID: 9119 0EF9


More information about the Kde-frameworks-devel mailing list