summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Joey Hess <joeyh@joeyh.name>2016-02-17 12:37:32 -0400
committerGravatar Joey Hess <joeyh@joeyh.name>2016-02-17 12:37:32 -0400
commit7635044fafac0d8b16719933f9c35c97e4565cec (patch)
treef96da5703fb5b119f3327576dac06aed1dec65e7
parent1d24c931e47f5cc2540a03d879d1589e462d8f80 (diff)
followup
-rw-r--r--doc/bugs/Three_tests_fail_when_annex.backends_is_defined/comment_1_153ba2b98b65fcc6156b1f2f967839b2._comment23
1 files changed, 23 insertions, 0 deletions
diff --git a/doc/bugs/Three_tests_fail_when_annex.backends_is_defined/comment_1_153ba2b98b65fcc6156b1f2f967839b2._comment b/doc/bugs/Three_tests_fail_when_annex.backends_is_defined/comment_1_153ba2b98b65fcc6156b1f2f967839b2._comment
new file mode 100644
index 000000000..194439668
--- /dev/null
+++ b/doc/bugs/Three_tests_fail_when_annex.backends_is_defined/comment_1_153ba2b98b65fcc6156b1f2f967839b2._comment
@@ -0,0 +1,23 @@
+[[!comment format=mdwn
+ username="joey"
+ subject="""comment 1"""
+ date="2016-02-17T16:16:53Z"
+ content="""
+The solution to your build failure is to edit ~/.cabal/config and remove
+the extra-prog-path line. (It's unfortunate that Debian shipped 8.3 with
+that bug. I told them about it before the release, but they didn't get it
+fixed in time.)
+
+There are probably several other config settings that also break
+the test suite if set in a global gitconfig. For example the
+annex.addunlocked setting I added yesterday will.
+
+I think the best approach is to isolate the the test suite from global git
+config settings. Making the test suite set `GIT_CONFIG` to the config of
+each test repo it runs git-annex in seems like it would
+work; this prevents git from reading the user and global configs.
+
+The test suite could set all config values to defaults
+in the test git repos. But this would need some restructuring of the code to
+be able to not just query, but also set those values.
+"""]]