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.
3 # This is fairly close to the config file used by the author
4 # although slightly cut down.
7 # Include all available libs.
8 include = cat /usr/share/mr/* 2>/dev/null || true
9 # Teach mr to run a few git and svn specific commands.
10 svn_cleanup = svn cleanup "$@"
12 git_push = git push "$@"
14 svn_tag = svn ls "$(LC_ALL=C svn info . | grep -i ^URL: | cut -d ' ' -f 2 | sed -e 's/trunk/tags/')"
15 # This hack is here because git-pull stupidly outputs tag info to stderr.
16 # Shut it up but let real errors through, for use in cron.
17 quietupdate = mr -s -n update 3>&1 1>/dev/null 2>&3 | egrep -v '(storing tag|tag: )' || true
19 # - anon checks whether this is an anonymous checkout, by testing what url
21 # - full checks whether I probably want a full checkout (quite large),
22 # if not, the checkout is minimal
23 # - wantmedia checks whether I probably want various large media files
25 # - private are hosts I trust private data to
26 # - mylaptop only succeeds if it's on my main development laptop, which
27 # gets lots of extra cruft
28 # - kite only succeeds on kite
31 expr $(GIT_CONFIG=$HOME/.git/config git config remote.origin.url) : 'git://' >/dev/null
34 test "$(whoami)" = joey
37 if [ "$(whoami)" = joey ]; then
47 if [ "$(whoami)" = joey ]; then
49 wren|kodama|dragon|dodo|bluebird|slug)
57 test "$(hostname)" = kodama
60 test "$(hostname)" = wren
63 # The root of my home directory.
67 git clone git://git.kitenet.net/joey/home joey
69 git clone ssh://git.kitenet.net/srv/git/kitenet.net/joey/home joey
72 # This is a dummy target, all it does is run fixups at the end of
83 git clone git://git.kitenet.net/joey/home-etc .etc
85 git clone ssh://git.kitenet.net/srv/git/kitenet.net/joey/home-etc .etc
91 git clone git://git.kitenet.net/joey/cron .cron
93 git clone ssh://git.kitenet.net/srv/git/kitenet.net/joey/cron .cron
98 checkout = svn co svn+ssh://joeyh@svn.debian.org/svn/pkg-perl/trunk perl
99 skip = ! mylaptop || ([ "$1" = update ] && ! hours_since "$1" 12)
103 checkout = git clone git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git
104 skip = ! mylaptop || ([ "$1" = update ] && ! hours_since "$1" 12)
105 push = error "as if!"
108 # I use etckeeper to keep /etc in git. But it only works if I'm root,
109 # and if it's not already in etc, skip it.
110 skip = ! test -d /etc/.git || ! test "$(whoami)" = root
113 # A merge of the upstream dpkg git repo and my own personal branch.
115 git clone git://git.debian.org/git/dpkg/dpkg.git &&
117 git remote add kite ssh://git.kitenet.net/srv/git/kitenet.net/dpkg &&
119 git checkout -b sourcev3 kite/sourcev3
120 update = git pull origin master && git pull kite sourcev3
121 commit = git commit -a && git push kite
125 [html/www.debian.org]
127 checkout = cvs -d ':ext:joeyh@cvs.debian.org:/cvs/webwml' co -d www.debian.org webwml
128 # cvs sucks sufficiently that I prefer to run these commands by hand,
130 update = echo "skipping cvs update (too slow)"
131 status = echo "skipping cvs status (too ugly)"
132 skip = ! mylaptop || ! full