Joey Hess
5897fb4a86
convert hacky shell linux mklibs code to haskell ; fixing symlink bug
...
The shell code was nasty, and buggy. New haskell code is much nicer,
and it's easy to do complicated calculations to properly convert possibly
absolute symlinks between libraries into relative links using it.
2013-12-24 13:13:17 -04:00
Joey Hess
3a6e0d1215
assistant: Set StrictHostKeyChecking yes when creating ssh remotes, and add it to the configuration for any ssh remotes previously created by the assistant. This avoids repeated prompts by ssh if the host key changes, instead syncing with such a remote will fail. Closes : #732602
2013-12-20 20:58:36 -04:00
Joey Hess
6e3cc0a228
need to stat symlink
2013-12-18 15:20:26 -04:00
Joey Hess
c99d6a8151
assistant: Fix OSX-specific bug that caused the startup scan to try to follow symlinks to other directories, and add their contents to the annex.
2013-12-18 15:05:29 -04:00
Joey Hess
a168b8de12
switch define used, not android specific
2013-12-18 02:06:15 -04:00
Joey Hess
2fd63f3cfa
port transferkeys to windows; make stopping in progress transfers work too (probably)
...
transferkeys had used special FDs for communication, but that would be
quite annoying to do in Windows.
Instead, use stdin and stdout. But, to avoid commands like rsync stomping
on them and messing up the communications channel, they're duplicated to a
different handle; stdin is replaced with a null handle, and stdout is
replaced with a copy of stderr. This should all work in windows too.
Stopping in progress transfers may work on windows.. if the types unify
anyway. ;) May need some more porting.
2013-12-10 23:19:18 -04:00
Joey Hess
5b0cb642c9
warning
2013-12-10 01:35:27 -04:00
Joey Hess
89b5256f09
missing include
2013-12-10 01:21:39 -04:00
Joey Hess
063a183a61
windows disk free space checking
2013-12-10 01:18:04 -04:00
Joey Hess
0544818e59
squash warning
2013-12-09 17:24:32 -04:00
Joey Hess
472e0e97fe
whups
2013-12-06 22:57:54 -04:00
Joey Hess
67df015767
didn't seem to help
2013-12-06 22:53:36 -04:00
Joey Hess
85936392ec
fix
2013-12-06 22:38:01 -04:00
Joey Hess
b712e2cf57
try to use build-in yesod socket bind code on windows (mine seems to make t crash)
2013-12-06 22:35:11 -04:00
Joey Hess
00f3781f47
add withSocketsDo to hopefully appease the windows crash report gods
2013-12-06 22:18:58 -04:00
Joey Hess
2fc0330c3b
weird DOS CMD shell is weird
2013-12-06 22:07:16 -04:00
Joey Hess
d5a50a0c8b
Revert "try different syntax"
...
This reverts commit 891ca9a75d
.
2013-12-06 21:48:35 -04:00
Joey Hess
891ca9a75d
try different syntax
2013-12-06 21:37:06 -04:00
Joey Hess
7ac6090088
Revert "don't use writeFileProtected on windows"
...
This reverts commit c698d34b03
.
2013-12-06 21:24:34 -04:00
Joey Hess
c698d34b03
don't use writeFileProtected on windows
...
This was preventing the webapp from working.
2013-12-06 21:11:17 -04:00
Joey Hess
4d5e0a90ed
support for opening urls on windows
2013-12-06 18:18:05 -04:00
Joey Hess
1f2b42a853
oop
2013-12-06 13:59:22 -04:00
Joey Hess
ef1ea499ba
oop
2013-12-06 13:56:06 -04:00
Joey Hess
5b5c33e06d
pass COLLECT_GCC_OPTIONS
2013-12-06 13:53:58 -04:00
Joey Hess
ffd3e70046
same fix as android for windows getAddrInfo not working
2013-12-05 23:03:54 -04:00
Joey Hess
c077cee44a
reorg
2013-12-04 23:09:54 -04:00
Joey Hess
abb0b3103f
avoid blocked indefinitely on mvar on windows
...
by repeatedly reading lines and pausing since cannot do signal foo used on
unix
2013-12-04 17:25:41 -04:00
Joey Hess
0a63ed563f
rsync special remote: Fix fallback mode for rsync remotes that use hashDirMixed. Closes : #731142
2013-12-02 12:53:39 -04:00
Joey Hess
0fd6078865
avoid repeatedly searching path to make batch command when running transferkeys
2013-12-01 15:37:51 -04:00
Joey Hess
7fc84717e8
avoid an unncessary use of the shell
2013-12-01 15:01:56 -04:00
Joey Hess
4882a611e5
assistant: Batch jobs are now run with ionice and nocache, when those commands are available.
2013-12-01 14:53:15 -04:00
Joey Hess
46ee2ea2e6
golf
2013-11-25 00:02:48 -04:00
Joey Hess
325f220058
typo
2013-11-24 23:51:25 -04:00
Joey Hess
e2f50f5110
Added support for quvi 0.9. Slightly suboptimal due to limitations in its interface compared with the old version.
2013-11-24 23:44:30 -04:00
Joey Hess
6d23786d96
Avoid misbehavior when addurl is used with quvi 0.9.
...
In 0.9, -v shows version, rather than controlling verbosity.
Still need to port to 0.9, this just avoids massively confusing addurl when
quvi prints its version and exits successfully, on urls that it cannot be
used with.
2013-11-22 14:12:44 -04:00
Joey Hess
a1f8621efc
oops
2013-11-20 13:44:49 -04:00
Joey Hess
9c9a3c10ce
add allowRead
2013-11-20 13:42:13 -04:00
Joey Hess
94251de91e
add readFileStrictAnyEncoding
2013-11-20 13:41:13 -04:00
Joey Hess
b1ed98636b
merge with git-repair
2013-11-19 17:08:57 -04:00
Joey Hess
310c549b5a
Ensure execute bit is set on directories when core.sharedrepsitory is set.
2013-11-18 18:13:09 -04:00
Joey Hess
7ebdcc7535
use Win32-inotify
...
May mean the watcher works on Windows. Untested.
2013-11-12 17:29:29 -04:00
Joey Hess
b9b5e3370d
build assistant and watcher on windows (doesn't work yet)
2013-11-12 17:22:34 -04:00
Joey Hess
750a3ca22f
refactor
2013-11-12 02:54:19 -04:00
Joey Hess
014d6d4f31
squash warning
2013-11-12 02:41:51 -04:00
Joey Hess
d40d871936
fix import for Windows
2013-11-12 02:39:46 -04:00
Joey Hess
413e56ff9b
port processTranscript to Windows (suboptimal implementation)
2013-11-12 02:33:56 -04:00
Joey Hess
9625147a8f
allow to build when sandi is installed (don't use it yet)
2013-11-11 15:42:06 -04:00
Joey Hess
cfc6d217db
fix quickcheck range
2013-11-01 11:54:26 -04:00
Joey Hess
6d8906a995
fix handling of schedled time of 12 PM
2013-11-01 11:44:00 -04:00
Joey Hess
4830c0d830
parse "5" as 5 seconds
2013-10-26 12:07:00 -04:00