[kforge-dev] latest code changes: some brokenness

Rufus Pollock rufus.pollock at okfn.org
Wed Feb 1 15:22:32 UTC 2006

Just some information for anyone who has checked out the code since John 
put in the access control stuff:

1. There has been more work to change the way services are done 
(services now have a unique name per project and can be accessed 
directly via project.services['name'])

2. Because of some issues with the test suites not all tests have been 
running and this means some of these changes (both access control and 
services) has broken code, in particular the apache system and some of 
the plugins
   * the apache subsystem has now been fixed (code checked in earlier today)
   * some plugins are still broken. The fixes are trivial (related to 
change in syntax for accessing services) and should be checked in later 
today or tomorrow. Note that this will not affect the base system and 
the admin site

3. Final tip: if you want to run the tests from the command line you 
will want to add:

export DJANGO_SETTINGS_MODULE=kforge.django.settings.main

to your bashrc file (or otherwise add it to the environment)

4. By bracketing all debug logging in if debug statements many 
unnecessary db calls have been avoided resulting in a serious speed-up 
of the code.



More information about the kforge-dev mailing list