From: martin f. krafft Date: Fri, 9 May 2008 22:27:46 +0000 (+0100) Subject: initial checkin based on lapse X-Git-Url: https://git.madduck.net/etc/myrepos.git/commitdiff_plain/1798958073b6fc8e6aeabeb004b351336ba8d5e3 initial checkin based on lapse --- 1798958073b6fc8e6aeabeb004b351336ba8d5e3 diff --git a/.mr/LIB b/.mr/LIB new file mode 100644 index 0000000..2168aef --- /dev/null +++ b/.mr/LIB @@ -0,0 +1,29 @@ +bzr_update = bzr pull "$@" + +lib = checkout_hack_branch() { + git clone --no-checkout --origin $2 $3 $1 + cd $1 + git checkout -b $2 $2/${5:-master} + git branch -D master + git remote add origin $4 + if git fetch origin 2>/dev/null; then + git checkout -b master origin/master + else + git checkout -b master $2/${5:-master} + case "$4" in + ssh://*) + host=${4#*//} + path=${host#*/} + host=${host%%/*} + ssh $host "[ -d $path ] || GIT_DIR=$path git --bare init --shared=world" + ;; + esac + git push origin --all + fi + } + +[code/mr] +checkout = checkout_hack_branch mr \ + joeyh git://git.kitenet.net/mr \ + ssh://git.madduck.net/~/git/pub/code/mr.git + ln -s ../code/mr/mr ~/.bin/mr diff --git a/.mr/base b/.mr/base new file mode 100644 index 0000000..084b1e5 --- /dev/null +++ b/.mr/base @@ -0,0 +1,8 @@ +[.fgits/zsh.git] +checkout = git_fake_bare_checkout 'ssh://git.madduck.net/~/git/pub/etc/zsh.git' 'zsh.git' '../../' + +[.fgits/vim.git] +checkout = git_fake_bare_checkout 'ssh://git.madduck.net/srv/git/git.madduck.net/pub/etc/vim.git' 'vim.git' '../../' + +[.fgits/screen.git] +checkout = git_fake_bare_checkout 'ssh://git.madduck.net/srv/git/git.madduck.net/pub/etc/screen.git' 'screen.git' '../../' diff --git a/.mr/roles/debdev b/.mr/roles/debdev new file mode 100644 index 0000000..e3b1eb3 --- /dev/null +++ b/.mr/roles/debdev @@ -0,0 +1,18 @@ +[debian] +checkout = git clone ssh://git.madduck.net/~/git/colls/debian.git debian +skip = ! on_workstation +chain = true + +[code/unperish] +checkout = bzr clone http://liw.iki.fi/bzr/unperish2/trunk/ unperish + +[code/dpkg] +checkout = checkout_hack_branch dpkg \ + debian git://git.debian.org/git/dpkg/dpkg.git \ + ssh://git.madduck.net/~/git/pub/code/etckeeper.git + +[code/mbuild] +checkout = git clone 'ssh://git.madduck.net/~/git/pub/code/mbuild.git' mbuild + +[code/schroot] +checkout = git clone 'git://git.debian.org/git/buildd-tools/schroot.git' schroot diff --git a/.mr/roles/mail b/.mr/roles/mail new file mode 100644 index 0000000..f074452 --- /dev/null +++ b/.mr/roles/mail @@ -0,0 +1,11 @@ +[.fgits/mutt.git] +checkout = git_fake_bare_checkout 'ssh://git.madduck.net/srv/git/git.madduck.net/pub/etc/mutt.git' 'mutt.git' '../../' + +[.fgits/mutt-aliases.git] +checkout = git_fake_bare_checkout 'ssh://git.madduck.net/~/git/etc/mutt-aliases.git' 'mutt-aliases.git' '../../' + +[.fgits/mailplate.git] +checkout = git_fake_bare_checkout 'ssh://git.madduck.net/~/git/etc/mailplate.git' 'mailplate.git' '../../' + +[.fgits/quotes.git] +checkout = git_fake_bare_checkout 'ssh://git.madduck.net/~/git/pub/etc/quotes.git' 'quotes.git' '../../' diff --git a/.mr/roles/mailfilter b/.mr/roles/mailfilter new file mode 100644 index 0000000..d463734 --- /dev/null +++ b/.mr/roles/mailfilter @@ -0,0 +1,2 @@ +[.mailfilter] +checkout = git clone 'ssh://git.madduck.net/~/git/pub/etc/mailfilter.git' .mailfilter diff --git a/.mr/roles/miscdev b/.mr/roles/miscdev new file mode 100644 index 0000000..8cc3fa2 --- /dev/null +++ b/.mr/roles/miscdev @@ -0,0 +1,54 @@ +[code/libkdtree/ikiwiki] +checkout = git clone ssh://git.debian.org/git/libkdtree/ikiwiki.git ikiwiki + +[code/libkdtree/libkdtree] +checkout = git clone ssh://git.debian.org/git/libkdtree/libkdtree.git libkdtree + +[code/mailplate] +checkout = git clone ssh://git.madduck.net/~/git/pub/code/mailplate.git mailplate + +[code/ikiwiki] +checkout = checkout_hack_branch ikiwiki \ + joeyh git://git.ikiwiki.info/ \ + ssh://git.madduck.net/~/git/pub/code/ikiwiki.git + +[code/etckeeper] +checkout = checkout_hack_branch etckeeper \ + joeyh git://git.kitenet.net/etckeeper \ + ssh://git.madduck.net/~/git/pub/code/etckeeper.git + +[code/vim-git] +checkout = checkout_hack_branch vim-git \ + tpope git://git.tpope.net/git/vim-git.git \ + ssh://git.madduck.net/~/git/pub/code/vim-git.git + +[code/offlineimap] +checkout = checkout_hack_branch offlineimap \ + jgoerzen git://git.complete.org/offlineimap \ + ssh://git.madduck.net/~/git/pub/code/offlineimap.git + +[code/linux-2.6] +checkout = git clone 'git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git' 'linux-2.6' +skip = ! on piper || ([ "$1" = update ] && ! hours_since "$1" 12) + +[code/netconf/netconf] +checkout = git clone 'ssh://git.debian.org/git/netconf/netconf.git' 'netconf' + +[code/netconf/ikiwiki] +checkout = git clone 'ssh://git.debian.org/git/netconf/ikiwiki.git' 'ikiwiki' + +[code/git] +checkout = git clone 'git://git.kernel.org/pub/scm/git/git.git' 'git' +skip = ([ "$1" = update ] && ! hours_since "$1" 12) + +[code/libfactory++] +checkout = git clone 'ssh://git.madduck.net/~/git/pub/code/libfactory++.git' 'libfactory++' + +[code/molly-guard] +checkout = git clone 'ssh://git.madduck.net/~/git/pub/code/molly-guard.git' 'molly-guard' + +[code/pytagsfs] +checkout = bzr clone 'http://bazaar.launchpad.net/%7Eforest-alittletooquiet/pytagsfs/dev/' 'pytagsfs' + +[code/unionfs-fuse] +checkout = hg clone 'http://hg.podgorny.cz/unionfs-fuse' 'unionfs-fuse' diff --git a/.mr/roles/phd b/.mr/roles/phd new file mode 100644 index 0000000..33e1a17 --- /dev/null +++ b/.mr/roles/phd @@ -0,0 +1,9 @@ +[DEFAULT] +include = cat ~/.mr/roles/tex + +[phd] +checkout = git clone ssh://git.madduck.net/~/git/edu/phd.git phd +chain = true + +[ul] +checkout = git clone ssh://git.madduck.net/~/git/edu/ul.git ul diff --git a/.mr/roles/tex b/.mr/roles/tex new file mode 100644 index 0000000..184f526 --- /dev/null +++ b/.mr/roles/tex @@ -0,0 +1,2 @@ +[.fgits/texmf.git] +checkout = git_fake_bare_checkout 'ssh://git.madduck.net/~/git/pub/etc/texmf.git' 'texmf.git' '../../' diff --git a/.mr/roles/web b/.mr/roles/web new file mode 100644 index 0000000..5124e24 --- /dev/null +++ b/.mr/roles/web @@ -0,0 +1,3 @@ +[web] +checkout = git clone ssh://git.madduck.net/~/git/colls/web.git web +chain = true diff --git a/.mr/roles/x b/.mr/roles/x new file mode 100644 index 0000000..e463b06 --- /dev/null +++ b/.mr/roles/x @@ -0,0 +1,2 @@ +[.fgits/gtk.git] +checkout = git_fake_bare_checkout 'ssh://git.madduck.net/~/git/pub/etc/gtk.git' 'gtk.git' '../../' diff --git a/.mr/templ/.mrconfig b/.mr/templ/.mrconfig new file mode 100644 index 0000000..e926413 --- /dev/null +++ b/.mr/templ/.mrconfig @@ -0,0 +1,2 @@ +[DEFAULT] +include = cat /usr/share/mr/* ~/code/mr/lib/* ~/.mr/* 2>/dev/null || :