summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordrebs <drebs@leap.se>2014-01-22 14:51:45 -0200
committerdrebs <drebs@leap.se>2014-01-22 14:51:45 -0200
commit0bf2f9ec215f3c638701631e5676b670d7acc1b9 (patch)
treee48ae5a55b5692954b3b9ab8a81eb7a2b17b0cf9
parent1388f5bc6563f3b8ca5d3c70ef22a9b6966cff04 (diff)
Fix dev scripts doc and names.
-rw-r--r--scripts/README.rst13
-rw-r--r--scripts/client_side_db.py (renamed from scripts/client-side-db.py)6
-rw-r--r--scripts/server_side_db.py (renamed from scripts/server-side-db.py)4
3 files changed, 9 insertions, 14 deletions
diff --git a/scripts/README.rst b/scripts/README.rst
index fdd1d642..37cf2c0e 100644
--- a/scripts/README.rst
+++ b/scripts/README.rst
@@ -2,16 +2,3 @@ Soledad Scripts
===============
The scripts in this directory are meant to be used for development purposes.
-
-Currently, the scripts are:
-
- * server-side-db.py: Gives access to server-side soledad user database,
- based on the configuration in /etc/leap/soledad-server.conf. One should
- use it as:
-
- python -i server-side-db.py <uuid>
-
- * client-side-db.py: Gives access to client-side soledad user database,
- based on data stored in ~/.config/leap/soledad. One should use it as:
-
- python -i client-side-db.py <uuid> <passphrase>
diff --git a/scripts/client-side-db.py b/scripts/client_side_db.py
index 0c3df7a4..6d1843ac 100644
--- a/scripts/client-side-db.py
+++ b/scripts/client_side_db.py
@@ -1,7 +1,11 @@
#!/usr/bin/python
# This script gives client-side access to one Soledad user database by using
-# the data stored in ~/.config/leap/soledad/
+# the data stored in the appropriate config dir given by get_path_prefix().
+#
+# Use it like this:
+#
+# python -i client-side-db.py <uuid> <passphrase>
import sys
import os
diff --git a/scripts/server-side-db.py b/scripts/server_side_db.py
index 01a9aaac..18641a0f 100644
--- a/scripts/server-side-db.py
+++ b/scripts/server_side_db.py
@@ -2,6 +2,10 @@
# This script gives server-side access to one Soledad user database by using
# the configuration stored in /etc/leap/soledad-server.conf.
+#
+# Use it like this:
+#
+# python -i server-side-db.py <uuid>
import sys
from ConfigParser import ConfigParser