]> git.madduck.net Git - code/myrepos.git/blob - mrconfig

madduck's git repository

Every one of the projects in this repository is available at the canonical URL git://git.madduck.net/madduck/pub/<projectpath> — see each project's metadata for the exact URL.

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.

SSH access, as well as push access can be individually arranged.

If you use my repositories frequently, consider adding the following snippet to ~/.gitconfig and using the third clone URL listed for each project:

[url "git://git.madduck.net/madduck/"]
  insteadOf = madduck:

b7394d46832e12054d73e9ddeb36ce970bc49943
[code/myrepos.git] / mrconfig
1 # An example config file for the mr(1) command.
2
3 [DEFAULT]
4 # Teach mr how to run svn cleanup.
5 cleanup = if [ -d "$MR_REPO"/.svn ]; then svn cleanup ; fi
6 # Tests used in the skips below.
7 # - wantsrc checks whether I probably want a full source checkout (quite
8 #   large)
9 # - mylaptop only succeeds if it's on my main development laptop, which 
10 #   gets lots of extra cruft
11 # - kite only succeeds on kite
12 lib = \
13         wantsrc() { \
14                 test "$(whoami)" = joey; \
15         }; \
16         mylaptop() { \
17                 test "$(hostname)" = kodama; \
18         }; \
19         kite() { \
20                 test "$(hostname)" = wren; \
21         }
22
23 [src/mr]
24 checkout = git clone ssh://kitenet.net/srv/git/kitenet.net/mr
25 skip = ! wantsrc
26
27 [src/linux-2.6]
28 checkout = git clone git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git
29 skip = ! mylaptop || ! wantsrc
30
31 [src/dpkg]
32 # A merge of the upstream dpkg git repo and my own personal branch.
33 checkout = \
34         git clone git://git.debian.org/git/dpkg/dpkg.git && \
35         cd dpkg && \
36         git remote add kite ssh://kitenet.net/srv/git/kitenet.net/dpkg && \
37         git fetch kite && \
38         git checkout -b sourcev3 kite/sourcev3
39 update = git pull origin master && git pull kite sourcev3
40 commit = git push kite
41 skip = ! wantsrc
42
43 [html/www.debian.org]
44 # Still in CVS..urk!
45 checkout = \
46         CVSROOT=:ext:joeyh@cvs.debian.org:/cvs/webwml \
47         cvs co -d www.debian.org webwml
48 # cvs sucks sufficiently that I prefer to run these commands by hand,
49 # and only rarely
50 update = echo "skipping cvs update (too slow)"
51 status = echo "skipping cvs status (too ugly)"
52 skip = ! mylaptop || ! wantsrc
53
54 # My home directory, which I keep in svn.
55 []
56 checkout = svn co svn+ssh://svn.kitenet.net/srv/svn/joey/trunk/home-$(hostname) joey
57 # run svnfix after each update
58 update = svn update && svnfix