aboutsummaryrefslogtreecommitdiff
path: root/plugins/pythondemo
Commit message (Collapse)AuthorAge
* Changed license of madduck's python plugins from GPL-2 to BSD-2-clause.Joey Hess2011-05-19
| | | | | | Apparently the rst library is changing to a GPL-2 incompatable license. "madduck: joeyh: so yes, do as you think is right."
* Use env hack in python scripts.Joey Hess2009-12-29
|
* scan hook works, remove NotImplemented exceptionmartin f. krafft2008-03-21
| | | | Signed-off-by: martin f. krafft <madduck@madduck.net>
* Do not output xml-rpc debuggingmartin f. krafft2008-03-21
| | | | Signed-off-by: martin f. krafft <madduck@madduck.net>
* Flesh out pythondemomartin f. krafft2008-03-21
| | | | | | | This implements most hooks with stupid demo code, and also still has some TODO items. Signed-off-by: martin f. krafft <madduck@madduck.net>
* Make proxy object available to hook functionsmartin f. krafft2008-03-21
| | | | | | | Hook functions now get the proxy object as first argument to be able to use RPC via the proxy. Signed-off-by: martin f. krafft <madduck@madduck.net>
* Allow external plugins to return no valuemartin f. krafft2008-03-21
| | | | | | | | | | | | | Instead of using the XML-RPC v2 extension <nil/>, which Perl's XML::RPC::Parser does not (yet) support (Joey's patch is pending), we agreed on a sentinel: {'null':''}, that is, a hash with a single key "null" pointing to the empty string. The Python proxy automatically converts None appropriately and raises an exception if a hook function should, by weird coincidence, attempt to return {'null':''}. Signed-off-by: martin f. krafft <madduck@madduck.net>
* first implementation of a python demomartin f. krafft2008-03-17
(cherry picked from commit bbdf127917a13b81cef50995098f479ef4fe1cf9)