summaryrefslogtreecommitdiff
path: root/bzr
diff options
context:
space:
mode:
authorMichal Hruby <michal.mhr@gmail.com>2010-05-02 14:30:37 +0300
committerMichal Hruby <michal.mhr@gmail.com>2010-05-02 14:30:37 +0300
commit52bc31c4e8a7782b54b66f53725bbcc47d0d99ed (patch)
tree29591cb46b39c521ea13cbef63bf318fc211eec6 /bzr
parent58a532d79bf509e6af087ef80163f39d6afd3482 (diff)
parentf4da6613ed0389109269a9c335a0f455b9aafebc (diff)
Merge from <lp:~mirsal-ennaime/zeitgeist-dataproviders/bzr-install>
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