All patches and comments are welcome. Please squash your changes to logical
commits before using git-format-patch and git-send-email to
patches@git.madduck.net.
If you'd read over the Git project's submission guidelines and adhered to them,
I'd be especially grateful.
1 # An example config file for the mr(1) command.
4 # Teach mr how to run svn cleanup.
5 cleanup = if [ -d "$MR_REPO"/.svn ]; then svn cleanup ; fi
6 # And how to run git gc and push.
7 gc = if [ -d "$MR_REPO"/.git ]; then git gc; fi
8 push = if [ -d "$MR_REPO"/.git ]; then git push; fi
9 # Tests used in the skips below.
10 # - wantsrc checks whether I probably want a full source checkout (quite
12 # - wantmedia checks whether I probably want various large media files
14 # - private are hosts I trust private data to
15 # - mylaptop only succeeds if it's on my main development laptop, which
16 # gets lots of extra cruft
17 # - kite only succeeds on kite
20 test "$(whoami)" = joey
23 if [ "$(whoami)" = joey ]; then
33 if [ "$(whoami)" = joey ]; then
35 wren|kodama|dragon|dodo|bluebird)
43 test "$(hostname)" = kodama
46 test "$(hostname)" = wren
50 checkout = git clone ssh://git.kitenet.net/srv/git/kitenet.net/mr
54 checkout = git clone git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git
55 skip = ! mylaptop || ! wantsrc ||
56 ([ "$1" = update ] && [ $(hours_since "$1") -lt 12 ])
59 # A merge of the upstream dpkg git repo and my own personal branch.
61 git clone git://git.debian.org/git/dpkg/dpkg.git &&
63 git remote add kite ssh://git.kitenet.net/srv/git/kitenet.net/dpkg &&
65 git checkout -b sourcev3 kite/sourcev3
66 update = git pull origin master && git pull kite sourcev3
67 commit = git push kite
73 CVSROOT=:ext:joeyh@cvs.debian.org:/cvs/webwml
74 cvs co -d www.debian.org webwml
75 # cvs sucks sufficiently that I prefer to run these commands by hand,
77 update = echo "skipping cvs update (too slow)"
78 status = echo "skipping cvs status (too ugly)"
79 skip = ! mylaptop || ! wantsrc
81 # My home directory, which I keep in svn.
83 checkout = svn co svn+ssh://svn.kitenet.net/srv/svn/joey/trunk/home-$(hostname) joey
84 # run svnfix after each update
85 update = svn update && svnfix
88 checkout = git clone ssh://git.kitenet.net/srv/git/kitenet.net/joey/private/mail
91 # Example of how to remember to delete a repo, when one mrconfig file is
92 # used on multiple systems. If you're feeling brave, use rm -rf $MR_REPO
93 # instead. This approach can also be used for renames.
95 update = error "$MR_REPO is no longer used and should be deleted"
96 skip = ! test -d "$MR_REPO"