From 83964878e92ce0687d47409b5832e7220e57d79f Mon Sep 17 00:00:00 2001 From: Nate Case Date: Fri, 5 Sep 2008 14:27:31 -0500 Subject: Add XML-RPC interface and command line client Introduce a new XML-RPC Patchwork interface inspired by the SOAP interface from the old Patchwork. The interface itself is fairly lightweight and generic, and provides read-only access to a limited subset of the Patchwork database, along with server-side search and flexible filtering capabilities. The command line client is modeled after the old one with some additional filtering options. The XML-RPC interface is disabled by default. You can enable it by setting ENABLE_XMLRPC = True in local_settings.py This feature uses the django-xmlrpc package available from http://django-xmlrpc.googlecode.com. Signed-off-by: Nate Case Signed-off-by: Jeremy Kerr --- docs/INSTALL | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'docs') diff --git a/docs/INSTALL b/docs/INSTALL index 1748601..cba69d5 100644 --- a/docs/INSTALL +++ b/docs/INSTALL @@ -62,6 +62,17 @@ in brackets): cd ../../apps ln -s ../lib/packages/django-registration ./registration + (OPTIONAL) If you want to enable the Patchwork XML-RPC interface, + which is required for pwclient to work, you'll need to set up the + django_xmlrpc package: + + cd lib/packages/ + wget \ + http://django-xmlrpc.googlecode.com/files/django_xmlrpc-0.1.tar.gz + tar -zxf django_xmlrpc-0.1.tar.gz + cd ../../apps + ln -s ../lib/packages/django_xmlrpc ./django_xmlrpc + The settings.py file contains default settings for patchwork, you'll need to configure settings for your own setup. @@ -86,6 +97,11 @@ in brackets): MEDIA_ROOT TEMPLATE_DIRS + If you wish to enable the XML-RPC interface, add the following to + your local_settings.py file: + + ENABLE_XMLRPC = True + Then, get patchwork to create its tables in your configured database: cd apps/ -- cgit v1.2.3