summaryrefslogtreecommitdiff
path: root/bzr
diff options
context:
space:
mode:
Diffstat (limited to 'bzr')
-rw-r--r--bzr/README11
-rwxr-xr-xbzr/install.sh6
2 files changed, 17 insertions, 0 deletions
diff --git a/bzr/README b/bzr/README
index e69de29..bc4a58a 100644
--- a/bzr/README
+++ b/bzr/README
@@ -0,0 +1,11 @@
+Post-commit hook to submit bazaar commits to Zeitgeist
+******************************************************
+
+To use this plugin:
+
+* Install Zeitgeist 0.3 (or greater) so that the python library is available system-wide.
+* Run the install.sh script which will copy the hook to '~/.bazaar/plugins/'.
+
+To update plugin changes:
+* Run the install.sh script to recopy the hook files.
+
diff --git a/bzr/install.sh b/bzr/install.sh
new file mode 100755
index 0000000..cf4f47d
--- /dev/null
+++ b/bzr/install.sh
@@ -0,0 +1,6 @@
+#!/bin/sh
+
+BZR_PLUGIN_DIR=~/.bazaar/plugins/zeitgeist
+
+mkdir -p $BZR_PLUGIN_DIR
+cp __init__.py $BZR_PLUGIN_DIR