xouvert-web
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[xouweb] how to automatically post your changes to the list


From: Jonathan Walther
Subject: [xouweb] how to automatically post your changes to the list
Date: Sun, 7 Dec 2003 03:47:33 -0800
User-agent: Mutt/1.5.4i

Hi guys.  If you want the rest of us to have some idea of the commits
you are doing to the tree, please paste the following into the file
~/.arch-params/hook and then make it executable with the command

 $ chmod +x ~/.arch-params/hook

This "hook" will automatically mail to the list the info about your
commit, so we can all have an idea of what changed.

---------- PASTE START ------------
#!/bin/sh

case "$1" in
 commit)
   case "$ARCH_ARCHIVE" in
     address@hidden)
       tla push-mirror "$ARCH_ARCHIVE" "$ARCH_ARCHIVE"-MIRROR1
       tla cat-log "$ARCH_ARCHIVE/$ARCH_REVISION" | \
        mail -s "Commit $ARCH_REVISION" address@hidden
     ;;
     address@hidden)
       tla cat-log "$ARCH_ARCHIVE/$ARCH_REVISION" | \
        mail -s "Commit $ARCH_REVISION" address@hidden
     ;;
   esac
 ;;
esac
---------- PASTE ENDS ------------

Cheers!

Jonathan

--
                    Geek House Productions, Ltd.

 Providing Unix & Internet Contracting and Consulting,
 QA Testing, Technical Documentation, Systems Design & Implementation,
 General Programming, E-commerce, Web & Mail Services since 1998

Phone:   604-951-4142                      It's not true unless
Email:   address@hidden                it makes you laugh,
Webpage: http://reactor-core.org           but you don't understand it
Address: 13685 Hilton Road, Surrey, BC       until it makes you weep.

Attachment: signature.asc
Description: Digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]