Commit graph

22476 commits

Author SHA1 Message Date
Joey Hess
a4cf80f460 Windows: Fix handling of views of filenames containing '%' 2014-12-30 17:48:04 -04:00
Joey Hess
ae72e4a62a fail windows build if test suite doesn't pass 2014-12-30 17:16:57 -04:00
Joey Hess
fd137e0909 update; windows autobuilder runs tests now 2014-12-30 17:05:35 -04:00
Joey Hess
498babb958 fix windows build 2014-12-30 17:02:51 -04:00
Joey Hess
531df54d6c remove testenv threading from test suite
Simplify the test suite now that I have a way to setEnv on Windows by not
threading an environement through it.

Incidentially this fixed a failure on Windows, observed when running the
test suite in cygwin terminal, where there is apparently an env var named
"", and it tried to set that when propigating the environment, which failed.

But mostly, it makes the code a lot less horrible.

This commit was sponsored by Rémi Vanicat.
2014-12-30 16:58:02 -04:00
Joey Hess
402bfff665 fix test case on windows
"a:" is an absolute path, so viewedfile test cannot be run on it.
2014-12-30 16:04:06 -04:00
Joey Hess
ed21043ab7 typo 2014-12-30 15:33:42 -04:00
Joey Hess
8428e36661 try running test in a different directory
I have a theory that something is deleting the .t directory
or it doesn't get made in the location tried.

The last test showed:

  add:  ("recordedInodeCache",Key {keyName = "e394a389d787383843decc5d3d99b6d184ffa5fddeec23b911f9ee7fc8b9ea77", keyBackendName = "SHA256E", keySize = Just 20, keyMtime = Nothing, keyChunkSize = Nothing, keyChunkNum = Nothing},"start")
("recordedInodeCache",Key {keyName = "e394a389d787383843decc5d3d99b6d184ffa5fddeec23b911f9ee7fc8b9ea77", keyBackendName = "SHA256E", keySize = Just 20, keyMtime = Nothing, keyChunkSize = Nothing, keyChunkNum = Nothing},"end")
("writeInodeCache",Key {keyName = "e394a389d787383843decc5d3d99b6d184ffa5fddeec23b911f9ee7fc8b9ea77", keyBackendName = "SHA256E", keySize = Just 20, keyMtime = Nothing, keyChunkSize = Nothing, keyChunkNum = Nothing},"start")
git-annex: c:\jenkins\workspace\msysgit-git-annex-assistant-test\git-annex\.t\repo\.git\annex\objects\6cd\e82\SHA256E-s20--e394a389d787383843decc5d3d99b6d184ffa5fddeec23b911f9ee7fc8b9ea77\SHA256E-s20--e394a389d787383843decc5d3d99b6d184ffa5fddeec23b911f9ee7fc8b9ea77.cache: openFile: does not exist (No such file or directory)
FAIL
    add failed

So writeInodeCache is what's failing, and it seems to fail to write the file
despite having made the parent directory.
2014-12-30 15:26:34 -04:00
Joey Hess
33f1062bc3 Revert "temporary debugging code for windows autobuilder test suite failure"
This reverts commit 0d9fbd18c1.
2014-12-30 15:18:38 -04:00
Joey Hess
0d9fbd18c1 temporary debugging code for windows autobuilder test suite failure 2014-12-30 15:17:51 -04:00
Joey Hess
23051899e6 Windows: Got the rsync special remote working.
More aggressive rsync params fixup for windows. Param may contain a url, or
a file path, so check if it looks like a local file path and if so, fix it
up.

On windows only, rsyncUrlIsPath will treat c:foo as a path, rather than as
a rsyncurl starting with a host "c".
2014-12-30 15:05:59 -04:00
Joey Hess
6308d5434b enable rsync special remote test on windows 2014-12-30 14:24:48 -04:00
Joey Hess
59826e3e86 local rsync special remote fixed on windows 2014-12-30 14:24:00 -04:00
Joey Hess
4403b6348b Merge branch 'master' of ssh://git-annex.branchable.com 2014-12-30 14:10:35 -04:00
Joey Hess
5b30ba63cd Windows: Fix local rsync filepath munging (fixes 26 test suite failures). 2014-12-30 13:57:49 -04:00
gernot
817fbf530d 2014-12-30 17:46:02 +00:00
Joey Hess
6b3d0cb11a bittorrent: Fix locking problem when using addurl file://
Fixes:
/home/joey/tmp/xxx/.git/annex/misctmp/torrent18347: openFile: resource busy (file is locked)
2014-12-30 13:07:20 -04:00
Joey Hess
000fe26d44 Merge branch 'master' of ssh://git-annex.branchable.com 2014-12-30 12:51:00 -04:00
Joey Hess
e9a5e4d6c6 Run shutdown cleanup actions even if there were failures processing the command.
Amoung other fixes, this means that addurl will stage added files even if
adding one of the urls fails.
2014-12-30 12:49:34 -04:00
https://www.google.com/accounts/o8/id?id=AItOawkev8_Er652-NMvfEpn3r5VwulP5phjNuI
090c7298b2 Added a comment: it need to be built with -fPIE -pie. 2014-12-30 10:40:11 +00:00
https://id.koumbit.net/anarcat
989950ecb5 transmission: preserve newlines in stdout debug, comments 2014-12-29 23:44:03 +00:00
https://id.koumbit.net/anarcat
25c662ba4d add script to add transmission files into git-annex 2014-12-29 23:13:20 +00:00
Joey Hess
cdc69d7477 final warning fix 2014-12-29 17:45:36 -04:00
Joey Hess
ef82f0bcef fix 2014-12-29 17:44:58 -04:00
Joey Hess
7c511f900d fix more warnings on BSD/OSX 2014-12-29 17:43:26 -04:00
Joey Hess
66cdc4d612 one more warning 2014-12-29 17:35:19 -04:00
Joey Hess
c9a3e80d32 fixed all remaining build warnings on Windows 2014-12-29 17:30:20 -04:00
Joey Hess
67828b1c86 fix a OSX C compiler warning about null pointer 2014-12-29 17:07:42 -04:00
Joey Hess
db9d022640 fix build warning
strangely only OSX noticed this was imported and unused
2014-12-29 16:44:56 -04:00
Joey Hess
415b2c53ed fix OSX build warning 2014-12-29 16:38:52 -04:00
Joey Hess
da1d9d500d fix warning when building w/o dbus 2014-12-29 16:37:41 -04:00
Joey Hess
329f176eb4 fix typo 2014-12-29 16:37:36 -04:00
Joey Hess
56540f95d1 cleanup 2014-12-29 15:35:14 -04:00
Joey Hess
43dc7f678f setpresentkey: A new plumbing-level command. 2014-12-29 15:16:40 -04:00
Joey Hess
589a048a7d fix addurl behavior when location and url logs are inconsistent
The url log could have an url for a key, while the location log thinks it's
not present in the web. In this case, addurl --file url would not do
anything. Fixed it to re-add the web as a location.

I don't know how this situation could arise, but I saw it in the wild in
the conference_proceedings repo, affecting key
URL-s17806003--http://mirror.linux.org.au/pub/linux.conf.au/2014/Wednesday/53-Building_Effective_Alliances_around_the_Trans-Pacific_Partnershi-c0505b631127ccc67e38e637344d988e
Investigating the presence log, it looked like that key
was originally listed as present in the web, then in commit
56abf9e9f3e691ed9d83513037d4019313321ca3 someone else's git-annex
set it and some other things to not present in the web. It would be
interesting to know what that user did, but I doubt I'll be able to find
out. All I can tell from this investigation is that the inconsistency was
not introduced when originally addurl-ing the url.
2014-12-29 14:22:47 -04:00
Joey Hess
aba3e11776 sync: Now supports remote groups, the same way git remote update does. 2014-12-29 13:42:58 -04:00
Joey Hess
f7333d29ae add 2014-12-28 20:53:17 -04:00
Joey Hess
0bc63a0620 Merge branch 'master' of ssh://git-annex.branchable.com 2014-12-28 14:32:29 -04:00
https://launchpad.net/~krastanov-stefan
6281cd30e6 Added a comment: Status of this issue 2014-12-27 15:18:42 +00:00
https://launchpad.net/~krastanov-stefan
e3cd1a35d6 removed 2014-12-27 15:18:22 +00:00
https://launchpad.net/~krastanov-stefan
3c4cb9d79a Added a comment: Status of this issue 2014-12-27 15:07:14 +00:00
https://www.google.com/accounts/o8/id?id=AItOawkRW96vF6lsjg57muQ4nPnQqJJUAKGKGzw
8e453613ce Added a comment: Caveat with 'git checkout synced/master' 2014-12-26 07:43:18 +00:00
http://digiuser.livejournal.com/
b1079f9d21 2014-12-26 06:28:26 +00:00
http://fiatjaf.gmail.com.questo.email/
569756e004 files -> urls 2014-12-26 00:26:17 +00:00
Joey Hess
5cba40e7cc update 2014-12-25 17:37:00 -04:00
chris
9d7b49e721 Added a comment: Thanks 2014-12-25 11:58:55 +00:00
https://www.google.com/accounts/o8/id?id=AItOawnx8kHW66N3BqmkVpgtXDlYMvr8TJ5VvfY
9dffd440cc Added a comment 2014-12-23 16:52:43 +00:00
https://www.google.com/accounts/o8/id?id=AItOawnx8kHW66N3BqmkVpgtXDlYMvr8TJ5VvfY
bce7f024fd Added a comment: even less verbose 2014-12-23 16:50:36 +00:00
https://www.google.com/accounts/o8/id?id=AItOawk9SYh6N-JUMkYkW4aOk55zC3Vr9KonDV4
4d93e46f81 2014-12-23 15:58:08 +00:00
Joey Hess
a810c594c3 Merge branch 'master' of ssh://git-annex.branchable.com 2014-12-23 11:55:32 -04:00