aboutsummaryrefslogtreecommitdiff
path: root/docs/INSTALL
Commit message (Expand)AuthorAge
* Update documentation and default settings to suit patchwork deployment model•••We've always allowed configuration without altering any of the version-controlled files. With the recent settings changes, we have an extra level of indirection with the dev/prod settings modules. Since we have to edit a config file anyway, this change moves the prod.py settings file to a template, which is then used directly by mange.py (and the wsgi application). Signed-off-by: Jeremy Kerr <jk@ozlabs.org> Jeremy Kerr2015-05-28
* docs: Fix documentation for new settings infrastructure•••A few tweaks for the INSTALL doc to update to the settings changes from c641660e. Signed-off-by: Jeremy Kerr <jk@ozlabs.org> Jeremy Kerr2015-05-27
* Move to a more recent django project structure•••This change updates patchwor to the newer project struture: we've moved the actual application out of the apps/ directory, and the patchwork-specific templates to under the patchwork application. This gives us the manage.py script in the top-level now. Signed-off-by: Jeremy Kerr <jk@ozlabs.org> Jeremy Kerr2015-05-27
* INSTALL: Fix indentation (whitespace only change) to 4 spaces•••Also, 2 newlines after each section. Signed-off-by: Bryce Harrington <bryce@osg.samsung.com> Signed-off-by: Jeremy Kerr <jk@ozlabs.org> Bryce Harrington2015-03-22
* INSTALL: Fix some minor typos•••Signed-off-by: Bryce Harrington <bryce@osg.samsung.com> Signed-off-by: Jeremy Kerr <jk@ozlabs.org> Bryce Harrington2015-03-22
* INSTALL: fix mysql syntax•••You shouldn't quote ('') the database name. MySQL complains if you do. Signed-off-by: Brian Norris <computersforpeace@gmail.com> Signed-off-by: Jeremy Kerr <jk@ozlabs.org> Brian Norris2015-03-22
* INSTALL: Sprinkle a few UTF-8 in the mysql documentation•••When not specifying the charset/collation, I managed to create a latin1 database where all strings were encoded in latin1. That's really not ideal. Adding 'CHARACTER SET utf8' when creating the DB fixes it. Then: $ ./manage.py syncdb will correctly create tables with UTF-8 encoded rows. However, for some reason, when django creates the test tables, that default, DB wide, encoding is not respected and one needs to provide an additional TEST_CHARSET entry in the config dictionary. Signed-off-by: Damien Lespiau <damien.lespiau@intel.com> Signed-off-by: Jeremy Kerr <jk@ozlabs.org> Damien Lespiau2014-09-07
* INSTALL: Update the database configuration instructions•••That's the "new" (django 1.5+) way of defining databases, strictly following the instructions wasn't working. This should save the next user a bit of time. Signed-off-by: Damien Lespiau <damien.lespiau@intel.com> Signed-off-by: Jeremy Kerr <jk@ozlabs.org> Damien Lespiau2014-09-07
* settings.py: use python to find ROOT_DIR•••Signed-off-by: Andreas Bießmann <andreas@biessmann.de> Signed-off-by: Jeremy Kerr <jk@ozlabs.org> Andreas Bießmann2014-07-24
* INSTALL: adopt PYTHONPATH•••Signed-off-by: Andreas Bießmann <andreas@biessmann.de> Signed-off-by: Jeremy Kerr <jk@ozlabs.org> Andreas Bießmann2014-07-24
* docs/INSTALL: Add setup details for patchwork cron script•••Signed-off-by: Jeremy Kerr <jk@ozlabs.org> Jeremy Kerr2014-04-24
* docs: Add a pointer to the git post-receive hook•••I had to stumble upon this feature before I realized it was here inside the tools directory all along. This documentation should make it easier for the next person coming along looking for a patchwork git hook. Signed-off-by: Carl Worth <cworth@cworth.org> Signed-off-by: Jeremy Kerr <jk@ozlabs.org> Carl Worth2014-01-29
* docs: We're targetting django 1.5 now•••Signed-off-by: Jeremy Kerr <jk@ozlabs.org> Jeremy Kerr2013-10-13
* docs: also mention that ROOT_DIR needs to be updated•••When the patchwork installation resides in the non-default location (/srv/patchwork) make sure that local_settings.py also gets updated with a proper ROOT_DIR value otherwise various problems will happen. Signed-off-by: Florian Fainelli <f.fainelli@gmail.com> Signed-off-by: Jeremy Kerr <jk@ozlabs.org> Florian Fainelli2013-10-04
* docs: fix INSTALL instructions regarding Django•••Django is no longer accessible using the old Subversion URL, update that to the Github repository. Besides, the command-line used to perform the "syncdb" operation does not work because we are off by one directory in the filesystem, fix that. Signed-off-by: Florian Fainelli <f.fainelli@gmail.com> Signed-off-by: Jeremy Kerr <jk@ozlabs.org> Florian Fainelli2013-10-04
* docs: update MySQL documentation bits•••The MySQL documentation bits where missing a few important details for installation setup to succeed like: - having proper python-mysqldb support - overriding the DATABASE_ENGINE to "mysql" for django to succeed in the "syncdb" operation Signed-off-by: Florian Fainelli <f.fainelli@gmail.com> Signed-off-by: Jeremy Kerr <jk@ozlabs.org> Florian Fainelli2013-10-04
* js: Add jquery and jquery tablednd plugins•••Based on a change from Andreas Bießmann <andreas@biessmann.de>. Rather than requiring a download of the jquery library + tablednd plugin, commit these to the repository. In doing so, we upgrade to version 1.10.1 of jqeury, and the current stable tablednd. Signed-off-by: Jeremy Kerr <jk@ozlabs.org> Jeremy Kerr2013-06-16
* Merge branch 'notifications'Jeremy Kerr2011-09-19
|\
| * notifications: Add NOTIFICATION_FROM_EMAIL setting•••Allow a separate From: address for notificaton emails. Signed-off-by: Jeremy Kerr <jk@ozlabs.org> Jeremy Kerr2011-04-14
| * registration: use EmailConfimation rather than separate registration app•••Since we have infrastructure for email confirmations, we no longer need the separate registration app. Requires a migration script, which will delete all inactive users, including those newly added and pending confirmation. Use carefully. Signed-off-by: Jeremy Kerr <jk@ozlabs.org> Jeremy Kerr2011-04-14
* | Patchwork now requires Django 1.2, so state that in docs/INSTALL•••Signed-off-by: Guilherme Salgado <guilherme.salgado@linaro.org> Signed-off-by: Jeremy Kerr <jk@ozlabs.org> Guilherme Salgado2011-04-19
|/
* docs: Fix link creation example•••Signed-off-by: Dirk Wallenstein <halsmit@t-online.de> Signed-off-by: Jeremy Kerr <jk@ozlabs.org> Dirk Wallenstein2011-02-11
* docs: fix apache2 references•••Signed-off-by: Jeremy Kerr <jk@ozlabs.org> Jeremy Kerr2010-08-10
* lib/apache2: Add WSGI Handler•••Patchwork/Django can be run directly with WSGI, which is bound to be faster and less complex than FastCGI. This patch provides the necessary Apache configuration and the WSGI handler, as well as an update to the docs. Since python-flup is deprecated and WSGI supersedes FastCGI, it should be(come) the preferred method. Hence I documented it first. For the xmlrpc interface to work with WSGI, the HTTP authorization information needs to be passed to the WSGI handler. This is done by setting WSGIPassAuthorization On in the apache2 config file snippet. Ref: http://www.arnebrodowski.de/blog/508-Django,-mod_wsgi-and-HTTP-Authentication.html Signed-off-by: martin f. krafft <madduck@madduck.net> Signed-off-by: Jeremy Kerr <jk@ozlabs.org> Martin Krafft2010-08-10
* docs: Document password-based pgsql login•••As an alternative to ident-based authentication for PostgreSQL, one can use password-based authentication. This patch adds the alternative to the docs. Signed-off-by: martin f. krafft <madduck@madduck.net> Signed-off-by: Jeremy Kerr <jk@ozlabs.org> Martin Krafft2010-08-10
* docs: reformat INSTALL•••Fix up some tabs. Signed-off-by: Jeremy Kerr <jk@ozlabs.org> Jeremy Kerr2010-08-10
* docs: elaborate on lib/ dirs in INSTALL•••Signed-off-by: Jeremy Kerr <jk@ozlabs.org> Jeremy Kerr2010-08-10
* docs: update INSTALL for commonly-available packages•••We probably don't need to download django or django-registration anymore. Signed-off-by: Jeremy Kerr <jk@ozlabs.org> Jeremy Kerr2010-08-10
* Registration framework maintained on bitbucket•••The django-registration framework is now maintained on bitbucket, which requires some changes to the in-tree symlink and the documentation. Signed-off-by: martin f. krafft <madduck@madduck.net> Signed-off-by: Jeremy Kerr <jk@ozlabs.org> Martin Krafft2010-08-10
* docs: Fix typo in INSTALL•••Signed-off-by: Jeremy Kerr <jk@ozlabs.org> Jeremy Kerr2009-10-23
* docs: add note about -pass-header Authorization' to INSTALL•••Signed-off-by: Jeremy Kerr <jk@ozlabs.org> Jeremy Kerr2009-07-11
* Bundle reordering support•••Bundles can now be reordered and saved. Add dependency on jquery in INSTALL. Signed-off-by: Jeremy Kerr <jk@ozlabs.org> Jeremy Kerr2009-02-08
* [packages] update to django 1.0•••With a minor code change, and a small workaround. Signed-off-by: Jeremy Kerr <jk@ozlabs.org> Jeremy Kerr2008-10-10
* [docs] Create python and packages directories•••Signed-off-by: Jeremy Kerr <jk@ozlabs.org> Jeremy Kerr2008-10-10
* [sql] use separate grant-all scripts for postgresql and mysql•••Mysql doesn't support granting to multiple tables, and requires a different username format. Would be nice to code the permissions somewhere, then generate the grant statements as required. Signed-off-by: Jeremy Kerr <jk@ozlabs.org> Jeremy Kerr2008-10-09
* Add 'update' method to pwclient•••This requires a new xmlrpc function, 'patch_set'. To do this, we need HTTP Authentication support, which means changing to a custom XMLRPC distpatcher that is aware of the Authorization: header. Signed-off-by: Jeremy Kerr <jk@ozlabs.org> Jeremy Kerr2008-09-09
* 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 <ncase@xes-inc.com> Signed-off-by: Jeremy Kerr <jk@ozlabs.org> Nate Case2008-09-08
* Use local settings module•••This makes checkouts into a working patchwork site much easier. Signed-off-by: Jeremy Kerr <jk@ozlabs.org> Jeremy Kerr2008-09-05
* Document dependency on django-registration•••Signed-off-by: Jeremy Kerr <jk@ozlabs.org> Jeremy Kerr2008-08-22
* Add more details to installation procedure•••Signed-off-by: Jeremy Kerr <jk@ozlabs.org> Jeremy Kerr2008-08-21
* Inital commit•••Signed-off-by: Jeremy Kerr <jk@ozlabs.org> Jeremy Kerr2008-08-21