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

implemented mr register
[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 # - private are hosts I trust private data to
10 # - mylaptop only succeeds if it's on my main development laptop, which 
11 #   gets lots of extra cruft
12 # - kite only succeeds on kite
13 lib =                                                           \
14         wantsrc() {                                             \
15                 test "$(whoami)" = joey                         \
16         }                                                       \
17         private() {                                             \
18                 if [ "$(whoami)" = joey ]; then                 \
19                         case "$(hostname)" in                   \
20                         wren|kodama|dragon|dodo|bluebird)       \
21                                 return 0                        \
22                         ;;                                      \
23                         esac                                    \
24                 fi                                              \
25                 return 1                                        \
26         }                                                       \
27         mylaptop() {                                            \
28                 test "$(hostname)" = kodama                     \
29         }                                                       \
30         kite() {                                                \
31                 test "$(hostname)" = wren                       \
32         }
33
34 [src/mr]
35 checkout = git clone ssh://git.kitenet.net/srv/git/kitenet.net/mr
36 skip = ! wantsrc
37
38 [src/linux-2.6]
39 checkout = git clone git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git
40 skip = ! mylaptop || ! wantsrc
41
42 [src/dpkg]
43 # A merge of the upstream dpkg git repo and my own personal branch.
44 checkout = \
45         git clone git://git.debian.org/git/dpkg/dpkg.git && \
46         cd dpkg && \
47         git remote add kite ssh://git.kitenet.net/srv/git/kitenet.net/dpkg && \
48         git fetch kite && \
49         git checkout -b sourcev3 kite/sourcev3
50 update = git pull origin master && git pull kite sourcev3
51 commit = git push kite
52 skip = ! wantsrc
53
54 [html/www.debian.org]
55 # Still in CVS..urk!
56 checkout = \
57         CVSROOT=:ext:joeyh@cvs.debian.org:/cvs/webwml \
58         cvs co -d www.debian.org webwml
59 # cvs sucks sufficiently that I prefer to run these commands by hand,
60 # and only rarely
61 update = echo "skipping cvs update (too slow)"
62 status = echo "skipping cvs status (too ugly)"
63 skip = ! mylaptop || ! wantsrc
64
65 [src/packages/uqm]
66 checkout = git clone ssh://git.kitenet.net/srv/git/kitenet.net/uqm
67 skip = ! wantsrc
68
69 [src/packages/uqm-content]
70 checkout = git clone ssh://git.kitenet.net/srv/git/kitenet.net/uqm-content
71 skip = ! wantsrc
72
73 [src/packages/uqm-voice]
74 checkout = git clone ssh://git.kitenet.net/srv/git/kitenet.net/uqm-voice
75 skip = ! wantsrc
76
77 [src/packages/uqm-music]
78 checkout = git clone ssh://git.kitenet.net/srv/git/kitenet.net/uqm-music
79 skip = ! wantsrc
80
81 # My home directory, which I keep in svn.
82 []
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
86
87 [mail]
88 checkout = git clone ssh://git.kitenet.net/srv/git/kitenet.net/joey/private/mail
89 skip = ! private
90
91 [doc]
92 checkout = git clone ssh://git.kitenet.net/srv/git/kitenet.net/joey/private/doc
93 skip = ! private