kossebau added a comment.

  TD;LR current legacy-based implementation might need that format. Needs 
complete tested porting to KPlugin.
  
  I had blindly copying the only other-known-to-me existing plugin data, which 
also has that metadata schema. 
  Cmp. also 
https://phabricator.kde.org/source/plasma-workspace/browse/master/plasmacalendarintegration/holidayeventsplugin.json
  
  Looking at 
https://phabricator.kde.org/source/plasma-framework/browse/master/src/declarativeimports/calendar/eventpluginsmanager.cpp$136
 I see now that this is some legacy schema, and one could also use 
kplugin-based metadata. Might need some other changes to the plugin, like 
changing the IID. Can have a look later this week.
  
  But grepping for *.json makes my MIME/Media type heart bleed. Someone(tm) 
should introduce a proper file suffix (e.g. .kplugindata) for those specific 
schema.
  We also use .cpp for C++ sources, despite the base format being plain text 
(.txt).

REPOSITORY
  R114 Plasma Addons

REVISION DETAIL
  https://phabricator.kde.org/D14335

To: yurchor, #plasma, #localization, kossebau
Cc: ltoscano, plasma-devel, ragreen, Pitel, ZrenBot, lesliezhai, ali-mohamed, 
jensreuterberg, abetts, sebas, apol, mart

Reply via email to