git

Using maven-exec-plugin to store the current git sha in a build

The current version of the maven buildnumber plugin does not yet support the git scm backend. This makes it harder to get the git sha for the current build (often a snapshot build) into the MANIFEST.MF file.

Let's look at using the exec plugin as a workaround.

Hudson CI testing for grails from git

After running continuous integration with continuum for a long while (which works great for maven projects) I decided to take a look at Hudson. It can also do maven - but seems to have a larger range of plugins available. Of interest to me was grails.

Installation

This was extremely simple - I just grabbed the hudson.war file from the hudson site and deployed it in a running glassfish.

LDAP configuration

Maintaining/upgrading drupal installations with git

This is based on http://www.versioncontrolblog.com/2007/08/02/upgrading-drupal-52-with-git/

This is a work in progress/idea dump right now - any suggestions/improvements - please do leave a comment ;)

I have quite a few sites that are using drupal. I know I could go the route of a multisite install (I've done it before) - but I found that the requirement of upgrading all sites simultaneously was a bit too hard. However - upgrading everything by hand for each site is also poor.

Technical:

Git commit mail (debian)

With the backported git 1.6 packages installed (see Backport git 1.6 for debian) - to add mailing lists for commits/tags:

Using git for handling drupal contrib CVS

Using git for handling CVS checkouts for drupal contrib:

Details are on Maintaining a Drupal module using Git

For Mac OSX users you will need cvsps (fink install cvsps for example).

Useful alias for your .gitconfig:

drupalcontribcvs = !sh -c 'git cvsimport -p x -v -d:pserver:anonymous@cvs.drupal.org:/cvs/drupal-contrib contributions/modules/$0'

This allows you to call

git drupalcontribcvs <modulename>

Technical:

Backport git 1.6 for debian

git 1.6 is available in debian experimental. I want to use it under debian stable (etch).

Let's backport it.

Kudos to Steve Kemp for walking me through this.

First you need dget installed:

aptitude install devscripts

Now - let's grab the experimental source and unpack it:

dget http://ftp.de.debian.org/debian/pool/main/g/git-core/git-core_1.6.0.6-1.dsc dpkg-source -x *.dsc

Let's take a look - change into the directory:

Subscribe to RSS - git