Review Request 126798: Add multiple installation method per categorie

Demitrius Belai demitriusbelai at gmail.com
Tue Jan 19 11:35:10 UTC 2016


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/126798/
-----------------------------------------------------------

(Updated Jan. 19, 2016, 11:35 a.m.)


Review request for KDE Frameworks and Jeremy Whiting.


Changes
-------

* Removed qDebugs
* Initialize with declaration


Repository: knewstuff


Description
-------

This allow to configure installation method per categorie. For example, kwin aurorae.knsrc

```
[KNewStuff3]
ProvidersUrl=http://download.kde.org/ocs/providers.xml
Categories=Window Decoration Aurorae,KWin Decoration QtQuick
Uncompress=archive
TargetDir=aurorae/themes

[KWin Decoration QtQuick]
StandardResource=tmp
InstallationCommand=plasmapkg2 -t kwindecoration -i %f
UninstallCommand=plasmapkg2 -t kwindecoration -r %f
```

This don't break backward. Category which don't have group in config will be installed by default installation method in [KNewStuff3] group.


Diffs (updated)
-----

  src/attica/atticaprovider.cpp 07508b05f324f25481bf05c5717c0ca60dce70d1 
  src/core/engine.cpp c8d0579eed8592c0c210ad61cbd5cbf4add53f95 
  src/core/engine_p.h 11571bfcd030ed2832ae64781323494365837296 

Diff: https://git.reviewboard.kde.org/r/126798/diff/


Testing
-------


Thanks,

Demitrius Belai

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20160119/fbcd3d14/attachment.html>


More information about the Kde-frameworks-devel mailing list