summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Hans_Ryding <Hans_Ryding@web>2014-08-25 16:16:34 +0000
committerGravatar admin <admin@branchable.com>2014-08-25 16:16:34 +0000
commit716b15fe4df710f3c1e55bff9f951b45aba59b47 (patch)
treeba5f8c19df1ec75367d8fd7b2b1f315c84dd6d92
parenta0fbd78a1ce6b25d215db313dda050b61243c6e6 (diff)
Added a comment: Relying on path is not best practice in a Windows environment
-rw-r--r--doc/bugs/Windows_build_has_hardcoded_paths/comment_5_0d7a4f740180dff7c0853062e4913804._comment22
1 files changed, 22 insertions, 0 deletions
diff --git a/doc/bugs/Windows_build_has_hardcoded_paths/comment_5_0d7a4f740180dff7c0853062e4913804._comment b/doc/bugs/Windows_build_has_hardcoded_paths/comment_5_0d7a4f740180dff7c0853062e4913804._comment
new file mode 100644
index 000000000..42537f9f4
--- /dev/null
+++ b/doc/bugs/Windows_build_has_hardcoded_paths/comment_5_0d7a4f740180dff7c0853062e4913804._comment
@@ -0,0 +1,22 @@
+[[!comment format=mdwn
+ username="Hans_Ryding"
+ ip="81.229.194.7"
+ subject="Relying on path is not best practice in a Windows environment"
+ date="2014-08-25T16:16:33Z"
+ content="""
+Unlike under POSIX environments
+generally applications under windows don't add themselves to path,
+or to a directory already in path.
+
+Generally applications announce their location using the registry.
+Under either HKEY_LOCAL_MACHINE\SOFTWARE,
+or in case of software installed for one particular user only
+under HKEY_CURRENT_USER\SOFTWARE.
+
+Git however AFAIK does not.
+Most likely the best thing to do is to prompt the user when installing git-annex
+where git is, and store this variable.
+
+Note that in both my installs I installed git-annex into the git directory,
+and the git-annex webapp still couldn't find it.
+"""]]