summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Build/BundledPrograms.hs6
-rw-r--r--Build/NullSoftInstaller.hs8
-rw-r--r--debian/changelog2
-rw-r--r--doc/bugs/Internal_server_error_while_adding_remote_server_on_Windows.mdwn4
-rw-r--r--doc/bugs/Uninstalling_removes_libcrypto.dll.mdwn3
5 files changed, 15 insertions, 8 deletions
diff --git a/Build/BundledPrograms.hs b/Build/BundledPrograms.hs
index dd78994b0..d5cf3ee7b 100644
--- a/Build/BundledPrograms.hs
+++ b/Build/BundledPrograms.hs
@@ -20,7 +20,7 @@ bundledPrograms :: [FilePath]
bundledPrograms = catMaybes
[ Nothing
#ifndef mingw32_HOST_OS
- -- git is not included in the windows bundle
+ -- git is not included in the windows bundle; msysgit is used
, Just "git"
-- Not strictly needed in PATH by git-annex, but called
-- by git when it sshes to a remote.
@@ -36,7 +36,9 @@ bundledPrograms = catMaybes
, Just "rsync"
#ifndef darwin_HOST_OS
-- OS X has ssh installed by default.
- -- (Linux probably, but not guaranteed.)
+ -- Linux probably has ssh, but not guaranteed.
+ -- On Windows, msysgit provides ssh, but not in PATH,
+ -- so we ship our own.
, Just "ssh"
, Just "ssh-keygen"
#endif
diff --git a/Build/NullSoftInstaller.hs b/Build/NullSoftInstaller.hs
index 913472a4e..bc94e60cd 100644
--- a/Build/NullSoftInstaller.hs
+++ b/Build/NullSoftInstaller.hs
@@ -133,12 +133,9 @@ makeInstaller gitannex license extrabins launchers = nsis $ do
, IconIndex 2
, Description "git-annex autostart"
]
- section "bins" [] $ do
- setOutPath "$INSTDIR\\bin"
- mapM_ addfile extrabins
section "cmd" [] $ do
setOutPath "$INSTDIR\\cmd"
- addfile gitannex
+ mapM_ addfile (gitannex:extrabins)
section "meta" [] $ do
setOutPath "$INSTDIR"
addfile license
@@ -147,8 +144,7 @@ makeInstaller gitannex license extrabins launchers = nsis $ do
uninstall $ do
delete [RebootOK] $ startMenuItem
delete [RebootOK] $ autoStartItem
- removefilesFrom "$INSTDIR/bin" extrabins
- removefilesFrom "$INSTDIR/cmd" [gitannex]
+ removefilesFrom "$INSTDIR/cmd" (gitannex:extrabins)
removefilesFrom "$INSTDIR" $
launchers ++
[ license
diff --git a/debian/changelog b/debian/changelog
index e1eec146e..5080112f0 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -18,6 +18,8 @@ git-annex (5.20141126) UNRELEASED; urgency=medium
* Don't show "(gpg)" when decrypting the remote encryption cipher,
since this could be taken to read that's the only time git-annex
runs gpg, which is not the case.
+ * Windows: Install ssh and other bundled programs to Git/cmd,
+ instead of Git/bin, since the latter is not in the default msysgit PATH.
-- Joey Hess <joeyh@debian.org> Mon, 10 Nov 2014 15:31:55 -0400
diff --git a/doc/bugs/Internal_server_error_while_adding_remote_server_on_Windows.mdwn b/doc/bugs/Internal_server_error_while_adding_remote_server_on_Windows.mdwn
index bf19a2223..76a88808e 100644
--- a/doc/bugs/Internal_server_error_while_adding_remote_server_on_Windows.mdwn
+++ b/doc/bugs/Internal_server_error_while_adding_remote_server_on_Windows.mdwn
@@ -27,3 +27,7 @@ recv: failed (No error)
# End of transcript or log.
"""]]
+
+> [[fixed|done]]; git-annex's ssh is now installed to Git/cmd,
+> so it will be in the PATH as long as the instructions are followed to let
+> msysgit add git to the PATH. --[[Joey]]
diff --git a/doc/bugs/Uninstalling_removes_libcrypto.dll.mdwn b/doc/bugs/Uninstalling_removes_libcrypto.dll.mdwn
index 6ee781d2f..642bcef8b 100644
--- a/doc/bugs/Uninstalling_removes_libcrypto.dll.mdwn
+++ b/doc/bugs/Uninstalling_removes_libcrypto.dll.mdwn
@@ -20,3 +20,6 @@ Windows 8.
# End of transcript or log.
"""]]
+
+> [[fixed|done]]; git-annex no longer includes its own ssh, and uses the
+> one from msysgit. --[[Joey]]