[Kde-pim] Review Request: Provide an option in the Akonadi server to prevent autostarting of agents

Constantin Berzan exit3219 at gmail.com
Thu Aug 27 13:52:37 BST 2009


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://reviewboard.kde.org/r/1419/
-----------------------------------------------------------

Review request for KDE PIM and Volker Krause.


Summary
-------

This makes the server watch for an environment variable named AKONADI_DISABLE_AGENT_AUTOSTART, and if present, ignore the Autostart capability of agents.
Preventing agents from autostarting is useful in unit tests.


Diffs
-----

  /trunk/kdesupport/akonadi/server/control/agentmanager.cpp 1013605 
  /trunk/kdesupport/akonadi/server/control/processcontrol.cpp 1013605 
  /trunk/kdesupport/akonadi/server/shared/akdebug.h 1013605 
  /trunk/kdesupport/akonadi/server/shared/akdebug.cpp 1013605 

Diff: http://reviewboard.kde.org/r/1419/diff


Testing
-------

Remove MDA instance from akonadiconsole
export AKONADI_DISABLE_AGENT_AUTOSTART=true
akonadictl restart

-> the MDA does not autostart.


Thanks,

Constantin

_______________________________________________
KDE PIM mailing list kde-pim at kde.org
https://mail.kde.org/mailman/listinfo/kde-pim
KDE PIM home page at http://pim.kde.org/



More information about the kde-pim mailing list