Book Image

Managing Software Development with Trac and Subversion

By : David J Murphy
Book Image

Managing Software Development with Trac and Subversion

By: David J Murphy

Overview of this book

<p><br />Trac is a minimalistic open-source enhanced wiki and bug/issue tracking system for software development projects, designed to help developers while staying out of the way and provides an interface to Subversion. Subversion is an open-source version control system that addresses many of the perceived deficiencies of CVS and can use WebDAV for network communications, and the Apache web server to provide repository-side network service.<br /><br />This book presents a simple set of processes and practices that allow you to manage these projects using open-source software without getting in the way by imposing as little as possible on established development practices and policies.<br /><br />This book looks at what is needed to manage software development projects, how web-based software project management system Trac and open-source revision control system Subversion meet these needs, and how to install, configure, and use them.</p> <p><a href="http://www.packtpub.com/article/managing-software-development-with-trac-and-subversion-table-of-contents"><br /></a></p>
Table of Contents (15 chapters)

Security


At the moment our server is configured to allow access to certain actions—like writing to our subversion repository—only to authenticated users. Now we need to actually allow our users to perform these actions by storing their authentication details. These are stored in a text file that Apache understands— the projects.passwd file referred to in the earlier excerpts.

Managing Users

Creating this file is quite simple using the htpasswd tool provided by Apache, which should be accessible simply by its name on Linux or at C:\Program Files\Apache Group\Apache2\bin\htpasswd.exe for Microsoft Windows. We need to explicitly tell it to create a new file the first time, and which file to use for subsequent user additions.

For a first run, we use the following:

$ htpasswd -c /projects/projects.password joe

We will be prompted to specify and then confirm the password for our user joe. Alternatively we can specify the password as part of the command if we use the -b parameter, although we...