Tag search

Subversion repositories relocated

by Sander Marechal

I recently bought a new server because my current server sucks almost as much power as the average 4 person household :-) Bugzilla, the subversion repositories and the Subversion webinterface have been moved to the new server.

Because I was moving anyway I have taken the opportunity to move the Subversion server from the svnserve protocol to Apache with SSL. That means that the Subversion URLs now start with https:// instead of svn://. The paths themselves remain unchanged.

Easily develop and deploy web applications from subversion

by Sander Marechal

Proper version control is a must for everyone who programs more than a few lines of code. Even if you develop your applications all by yourself it is very handy to be able to branch and merge your code, be able to roll back to previous versions or undo changes you made in the past. It works great for regular applications, but managing web applications or websites is a tad harder for two reason: You need a webserver to get your application going and you usually have to manage database revisions as well.

Keeping database revisions in sync with your code revisions is a complex subject that I will leave until another time. In this article I will show you how you can configure your own computer or development server in such a way that checking out or deploying a web application is just as easy as any other piece of code.

First I will show you how to configure Apache on your development server so that it picks up your checked out working copies as separate subdomains. Using this, you can simply make a checkout of your project and it will automagically be up and running. No need to touch the Apache configuration. After that I will show you how to use dnsmasq so you can achieve the same effect on your own development machine. That way you can develop your web applications locally and you won't need a central development server. In my examples I will be assuming you use subversion for your version control, but it works virtually the same with other version control packages, such as git or bazaar.

Network maintenance

The comming weekend there will be network maintenance done by the Internet Service Provider on the connections to the servers not hosted on http://www.jejik.com.

The affected servers are:

In the night from 31-05-2008 to 01-06-2008 there will be some connection problems.

Automatically generate PHP documentation from Subversion with phpDocumentor

by Sander Marechal

The longer I program, the more structured my programming methods have become. Gone are the days of editing live spaghetti code directly on the server or frantic FTPing files after each tiny change. Today I not only stuff everything in Subversion just to keep track of changes, I also use it as a deployment mechanism. But I want more and I want it automated too! Currently I am busy playing with generated documentation and unit testing. Generated documentation is an all round great idea, but it has a drawback: You need to generate it all the time. So I set out to use Subversion’s post-commit hook to generate fresh documentation for my PHP projects using phpDocumentor.

I have written a little Python script that you can call from Subversion’s post commit hook. This script scans your subversion project for files that have the phpdoc property set. If any of these have changed, then it regenerates your documentation using phpDocumentor. It can also deal with files that are not kept in your Subversion repository and supports anything also supported by phpDocumentor.

Apache and Subversion authentication with Microsoft Active Directory

by Sander Marechal

Last updated on 2007-12-03@23:38. The company I work for had finally realized the benefits of a decent source code versioning system so after a short evaluation they settled on Subversion. To make user management easier they also wanted to use Microsoft Active Directory, so I set off on a quest to make Apache talk to our Active Directory 2003 server for authentication.

In this article I will explain how to set up Apache 2 on Debian Etch and make it talk to an Active Directory 2003 server. After that I will show you how to setup Subversion and use LDAP groups to control access to multiple subversion repositories. After I rant a bit about my two-day nightmare with Active Directory that is…

Subversion, Bugzilla and Package repository downtime

Due to a change of IP addresses several services are temporarily unreachable until the new DNS settings have replicated over the net. This should take at most 72 hours although for most of you it should be far less—24 hours max. This currently affects Bugzilla, Subversion (both the repository as the ViewVC webinterface) and the Ubuntu package repository.

We apologize for the inconvenience.

Gnome-hearts subversion repository relocated

by Sander Marechal

I have relocated the subversion repository for gnome-hearts from svn://svn.jejik.com/hearts to svn://svn.jejik.com/gnome-hearts. The old URL was from before the name change of hearts to gnome-hearts shortly before the gnome-hearts-0.1 release.

If you have a working copy of gnome-hearts then you will need to relocate it to the new URL by running the following command in your working copy root:

svn switch --relocate svn://svn.jejik.com/hearts/<path> \
    svn://svn.jejik.com/gnome-hearts/<path>