Monthly Archives: November 2012

Wine Notes

I made something. A simple Android app. If you like taking notes of the wines you taste, this app is for you. After you’ve tasted a couple of wines it becomes difficult to remember which ones were good and why. Hopefully this app will help you keep track!

If you live near Paris don’t miss the fantastic annual wine tasting event this week!

Project homepage: /projects/wine-notes/

Google Play page:

Android app on Google Play

Send email notification on commits to a git repository

Two things to do: configure the email parameters and enable the hook.

To configure the email parameters, add a section in the config file of the Git repository like this:

    showrev = "git show -C %s; echo"
    emailprefix = "[git-projectname] "
    mailinglist = ","
    envelopesender =

Also edit the description file of the project, it should contain a single line with the name of the project, for example ProjectName. This name will appear in both the subject and the message body, it will be UNNAMED PROJECT by default if you don’t customize it.

As a result the subject of emails should look like this:

[git-projectname] ProjectName branch master updated. [the SHA1]

To enable email sending, copy the sample hook script hooks/post-receive.sample to hooks/post-receive and edit it. The last line of the file is usually commented out by default. Remove the comment to enable sending emails. Also make sure the script is executable.