summaryrefslogtreecommitdiff
path: root/bzr
diff options
context:
space:
mode:
authorMirsal Ennaime <mirsal@mirsal-laptop>2010-04-19 04:13:11 +0200
committerMirsal Ennaime <mirsal@mirsal-laptop>2010-04-19 04:13:11 +0200
commitf4da6613ed0389109269a9c335a0f455b9aafebc (patch)
treed25ab031c510e1561b5c57717bebdbad84f912e9 /bzr
parent8f92750a4d0fbf6a0651172b51a3c1b8730e3732 (diff)
Add an install script and a README file for the bzr commit hook
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..7eed488
--- /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