Commit graph

89 commits

Author SHA1 Message Date
Joey Hess
029a1c431a
remove windows --git-dir unix style path hack
This is no longer necessary, at least with msysgit 1.8.5.2.msysgit.0.
Its root cause may have been fixed by other recent git path fixes.
It was causing the webapp to fail to make repos on other drives.
2014-02-11 16:12:22 -04:00
Joey Hess
2ed728e7e6
note 2014-02-11 14:16:15 -04:00
Joey Hess
fa24ba2520 plumb creds from webapp to initremote
Avoids abusing setting environment variables, which was always a hack
and won't work on windows.
2014-02-11 14:07:56 -04:00
Joey Hess
66c9cb6e39
tried everything in webapp on windows. add list of TODOs 2014-02-10 18:24:36 -04:00
Joey Hess
5d7777cbe2 set up git email config in clone repos too when running test
This fixes the problem of the environment variables apparently not being
seen on Windows. I could probably remove the setting of the env vars from
Test.hs now as this covers it better.

Note that outside the test suite, git-annex on windows seems to manage to
configure the repo so commits work on its own.
2014-02-04 14:31:52 -04:00
Joey Hess
2287c88bfd update 2014-02-03 21:24:23 -04:00
Joey Hess
1c997fd08c fix test suite to pass on windows
On windows, the sync of the second cloned repo to origin failed, because
synced/master was a non-fast-forward. This may be a bug of its own, but
it's not the issue that this test was intended to test, so disconnect
the repos from origin before syncing.
2014-02-03 12:12:50 -04:00
Joey Hess
08afe3a1f6 fix failing test case on Windows
ensure file being modified is all read before it's opened for write
2014-02-03 10:20:18 -04:00
Joey Hess
ee164ccbbb windows test suite down to only 2 failures 2014-01-30 15:57:41 -04:00
Joey Hess
721cc0cd22 rework annexed object locking in direct mode & support Windows
Seems that locking of annexed objects when they're being dropped was broken
in direct mode:

* When taking the lock before dropping, it created the .git/annex/objects
  file, as an empty file. It seems that the dropping code deleted that,
  but that is not right, and for all I know could in some situation cause
  a corrupted object to leak out.
* When the lock was checked, it actually tried to open each direct mode
  file, and checked if it was locked. Not the same lock used above, and
  could also fail if some consumer of the file locked it.

Fixed this, and added windows support by switching direct mode to lock a
.lck file.
2014-01-28 16:43:11 -04:00
Joey Hess
0419f241a4 I think I've convinced myself that the assistant is safe on windows despite the lack of lsof 2013-12-17 14:07:37 -04:00
Joey Hess
551abf439f update on XMPP (going to be a real PITA) 2013-12-11 11:24:02 -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
714e031d19 todo 2013-12-10 14:34:35 -04:00
Joey Hess
2c7c07286c update 2013-12-10 01:45:21 -04:00
Joey Hess
8699a36438 update 2013-12-10 01:00:10 -04:00
Joey Hess
4a5ab9b1e7 Tweak magic number to fix bad behavior in Firefox, which was caused by an earlier fix to bad behavior in Chromium.
Browsers are crap.
2013-12-09 17:44:45 -04:00
Joey Hess
2e48dcf6a7 update 2013-12-09 16:00:48 -04:00
Joey Hess
012f770066 webapp 100% working in windows + chrome; slightly buggy in windows + firefox 2013-12-09 15:01:43 -04:00
Joey Hess
2ef99ae3ef update 2013-12-07 11:47:17 -04:00
Joey Hess
139c4c3a9f update 2013-12-05 15:19:14 -04:00
Joey Hess
3a1c407ef9 fixed windows startup scan file add bug 2013-12-04 23:55:35 -04:00
Joey Hess
8ef79c1f83 windows wtf how did that work moment 2013-12-04 17:39:58 -04:00
Joey Hess
f30300e877 work around for windows watcher cabal build problem 2013-11-12 21:23:20 -04:00
Joey Hess
9a58de553c remove -Assistant from windows build flag 2013-11-12 17:39:11 -04:00
Joey Hess
fc96861084 enable 2 more tests on Windows 2013-08-04 13:54:05 -04:00
Joey Hess
38022f4f49 Windows: Fixed permissions problem that prevented removing files from directory special remote.
Directory special remotes now fully usable.
2013-08-04 13:43:48 -04:00
Joey Hess
a837ed47f7 Windows: Added support for encrypted special remotes. 2013-08-04 13:03:34 -04:00
Joey Hess
306b1518c4 close 2013-07-07 13:57:56 -04:00
Joey Hess
bab49ac7c6 few final bits for fully working test suite on windows 2013-06-18 16:37:54 -04:00
Joey Hess
2b35ad5c44 update 2013-05-14 20:14:56 -04:00
Joey Hess
513ee3ad8a update 2013-05-14 17:24:11 -04:00
Joey Hess
81cded2b9d detect local urls on DOS 2013-05-14 15:27:39 -04:00
Joey Hess
49e9296d5f update 2013-05-14 15:14:11 -04:00
Joey Hess
114a60fb9a update 2013-05-14 15:04:45 -04:00
Joey Hess
70b5d85371 update 2013-05-13 20:00:45 -04:00
Joey Hess
b19172912e update 2013-05-11 17:17:38 -04:00
Joey Hess
39e887e8e6 update; unix-compat gets some of the way 2012-02-02 10:56:23 -04:00
Joey Hess
f4ddecd322 move windows support to a todo item
not holding my breath on this one..
2012-01-13 13:55:14 -04:00
Renamed from doc/install/comment_4_82a17eee4a076c6c79fddeda347e0c9a._comment (Browse further)