Trac is an enhanced wiki and issue tracking system for software development projects.
Installing and Running Trac on Debian Sarge. It also explains well how to set up a subversion repository.