I have previously written about using Git to add revision history to existing rsync backups. Having performed a number of configuration changes and system upgrades recently, I have found another use of Git which has proven invaluable.

It’s a fairly obvious hack, but it turns out that turning selected configuration directories (for example /etc/apache2/ and /etc/exim4/) into in situ Git repositories is a very handy thing to do.

The revision log you get in a Git repo gives you a very handy place to note down the reasons behind a certain configuration change. This provides a very handy historical context for a change, meaning you’re less likely to remove something odd that turns out later on to have been important.

Having configuration under version control also means that even if you do accidentally remove or change something that later causes problems you can easily roll them back.

Another handy feature is the ability to easily branch, so you can very quickly experiment with some wild configuration settings and very quickly revert them to the original working configuration should they turn out to be problematic or if you run out of time to complete them.

So, give it a try!

I would like to take a moment out of your normal reading to introduce a little project of mine, the NPPL (National Private Pilot Licence) Electronic Logbook.

The tl;dr is that as a private pilot myself as well as a programmer, I wanted a quick and easy way to keep track of my currency requirements, especially as I plan to fly more than one class of aircraft.

Flying is one of life’s great joys, but keeping track of your hours and currency requirements, especially if you fly multiple types, most certainly isn’t.

NPPL Pilot’s Logbook tracks your flights, works out hours flown and tracks your currency status, leaving you free to do what you love most… Fly!

This is an early version, and I’d love to hear your feedback (especially if you’re a pilot yourself), check it out and let me know what you think!

» Read more…

My mother reminded me of this yesterday; here are the Liberal Democrat’s pre-election promises, posted without comment…

We will be strong in defence of freedom. The Government believes that the British state has become too authoritarian, and that over the past decade it has abused and eroded fundamental human freedoms and historic civil liberties. We need to restore the rights of individuals in the face of encroaching state power, in keeping with Britain’s tradition of freedom and fairness.

We will implement a full programme of measures to reverse the substantial erosion of civil liberties and roll back state intrusion.

We will introduce a Freedom Bill.

We will scrap the ID card scheme, the National Identity register and the ContactPoint database, and halt the next generation of biometric passports.

We will outlaw the finger-printing of children at school without parental permission.

We will extend the scope of the Freedom of Information Act to provide greater transparency.

We will adopt the protections of the Scottish model for the DNA database.

We will protect historic freedoms through the defence of trial by jury.

We will restore rights to non-violent protest.

We will review libel laws to protect freedom of speech.

We will introduce safeguards against the misuse of anti-terrorism legislation.

We will further regulate CCTV.

We will end the storage of internet and email records without good reason.

We will introduce a new mechanism to prevent the proliferation of unnecessary new criminal offences.

We will establish a Commission to investigate the creation of a British Bill of Rights that incorporates and builds on all our obligations under the European Convention on Human Rights, ensures that these rights continue to be enshrined in British law, and protects and extends British liberties. We will seek to promote a better understanding of the true scope of these obligations and liberties.