]> git.madduck.net Git - etc/myrepos.git/commitdiff

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:

migrate to using vcsh
authormartin f. krafft <madduck@madduck.net>
Mon, 22 Apr 2013 13:44:00 +0000 (15:44 +0200)
committermartin f. krafft <madduck@albatross.lehel.madduck.net>
Mon, 22 Apr 2013 13:45:04 +0000 (15:45 +0200)
.config/mr/available.d/mr.vcsh [new file with mode: 0644]
.mr/LIB
.mr/templ/.mrconfig

diff --git a/.config/mr/available.d/mr.vcsh b/.config/mr/available.d/mr.vcsh
new file mode 100644 (file)
index 0000000..9fd8184
--- /dev/null
@@ -0,0 +1,2 @@
+[$HOME/.config/vcsh/repo.d/mr.git]
+checkout = vcsh clone ssh://git.madduck.net/madduck/pub/etc/mr.git
diff --git a/.mr/LIB b/.mr/LIB
index 6c20d29f7009bb9719fda5d0d48388b53a81e8a6..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 100644 (file)
--- a/.mr/LIB
+++ b/.mr/LIB
@@ -1,23 +0,0 @@
-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 >/dev/null
-          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
-        }
index 04d5b4c9fa5c2379dec5fed5be2cd694b983a06c..48fc7ee765b2229f8e08e02b1fe63aa75cf2b8b3 100644 (file)
@@ -1,2 +1,3 @@
 [DEFAULT]
-include = find ~/code/mr/lib ~/.mr -path '*/.mr/templ/.mrconfig' -o -path '*/.mr/roles/*' -o -type f -print0 | xargs -0 cat
+include = cat /usr/share/mr/vcsh
+include = cat $HOME/.config/mr/config.d/*