]> 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:

use DEFAULT and ALIAS to leave room for repos with those names
[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 lib = \
12         wantsrc() { \
13                 test "$(whoami)" = joey; \
14         }; \
15         mylaptop() { \
16                 test "$(hostname)" = kodama; \
17         }
18
19 [src/mr]
20 checkout = git clone ssh://kitenet.net/srv/git/kitenet.net/mr
21 skip = ! wantsrc
22
23 [src/linux-2.6]
24 checkout = git clone git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git
25 skip = ! mylaptop || ! wantsrc
26
27 [src/dpkg]
28 # A merge of the upstream dpkg git repo and my own personal branch.
29 checkout = \
30         git clone git://git.debian.org/git/dpkg/dpkg.git && \
31         cd dpkg && \
32         git remote add kite ssh://kitenet.net/srv/git/kitenet.net/dpkg && \
33         git fetch kite && \
34         git checkout -b sourcev3 kite/sourcev3
35 update = git pull origin master && git pull kite sourcev3
36 commit = git push kite
37 skip = ! wantsrc
38
39 [html/www.debian.org]
40 # Still in CVS..urk!
41 checkout = \
42         CVSROOT=:ext:joeyh@cvs.debian.org:/cvs/webwml \
43         cvs co -d www.debian.org webwml
44 # cvs sucks sufficiently that I prefer to run these commands by hand,
45 # and only rarely
46 update = echo "skipping cvs update (too slow)"
47 status = echo "skipping cvs status (too ugly)"
48 skip = ! wantsrc
49
50 # My home directory, which I keep in svn.
51 []
52 checkout = svn co svn+ssh://svn.kitenet.net/srv/svn/joey/trunk/home-$(hostname) joey
53 # run svnfix after each update
54 update = svn update && svnfix