summaryrefslogtreecommitdiff
path: root/website/bugs
diff options
context:
space:
mode:
authorDaniel Kahn Gillmor <dkg@fifthhorseman.net>2008-09-14 21:30:26 -0400
committerDaniel Kahn Gillmor <dkg@fifthhorseman.net>2008-09-14 21:30:26 -0400
commite98366cd478343b9c39ced4984874cd611ccb4ad (patch)
treec7a0ac52b32467b410475c3f86c9f597474c5726 /website/bugs
parentac01e1d823ae8eb4353a50e40e8c8bceeaff227d (diff)
adding initial testsuite (totally unfinished!), bug report about genericizing filesystem locations.
Diffstat (limited to 'website/bugs')
-rw-r--r--website/bugs/genericize-filesystem-locations-for-testsuite.mdwn28
1 files changed, 28 insertions, 0 deletions
diff --git a/website/bugs/genericize-filesystem-locations-for-testsuite.mdwn b/website/bugs/genericize-filesystem-locations-for-testsuite.mdwn
new file mode 100644
index 0000000..1d70313
--- /dev/null
+++ b/website/bugs/genericize-filesystem-locations-for-testsuite.mdwn
@@ -0,0 +1,28 @@
+[[meta title="genericize all filesystem locations to enable test suite:" ]]
+
+I'm in the process of writing a testsuite for the monkeysphere so that
+we can verify that it actually performs all the basic expected duties
+properly.
+
+It occurs to me that lines like these:
+
+ ETC="/etc/monkeysphere"
+ VARLIB="/var/lib/monkeysphere"
+
+Actually make it very difficult to generically test the tool without
+it being installed system-wide.
+
+Is there any reason that we should not allow these directories to be
+overridden with environment variables in the same way that
+`/usr/share/monkeysphere/share` is handled?
+
+ SHARE=${MONKEYSPHERE_SHARE:-"/usr/share/monkeysphere"}
+
+I guess i'm proposing something like:
+
+ SYSCONFIGDIR=${MONKEYSPHERE_SYSCONFIGDIR:-"/etc/monkeysphere"}
+ SYSDATADIR=${MONKEYSPHERE_SYSDATADIR:-"/var/lib/monkeysphere"}
+
+Thoughts?
+
+--dkg