Commit graph

12751 commits

Author SHA1 Message Date
https://www.google.com/accounts/o8/id?id=AItOawkfHTPsiAcHEEN7Xl7WxiZmYq-vX7azxFY
60a85347c2 2013-07-31 10:09:49 +00:00
https://www.google.com/accounts/o8/id?id=AItOawkfHTPsiAcHEEN7Xl7WxiZmYq-vX7azxFY
2f4872e496 Added a comment: seems to work 2013-07-31 09:37:37 +00:00
https://www.google.com/accounts/o8/id?id=AItOawknruiCHUcOh2mmpkh7OFJ4iNfAOOamRVs
8d977ed697 Added a comment 2013-07-31 05:34:33 +00:00
https://www.google.com/accounts/o8/id?id=AItOawln3ckqKx0x_xDZMYwa9Q1bn4I06oWjkog
efdf1c53b8 2013-07-31 04:39:21 +00:00
Joey Hess
9476355bc3 find: Avoid polluting stdout with progress messages. Closes: #718186 2013-07-30 20:24:27 -04:00
Joey Hess
433682cb1d Merge branch 'master' of ssh://git-annex.branchable.com 2013-07-30 19:19:30 -04:00
Joey Hess
ddd46db09a Fix a few bugs involving filenames that are at or near the filesystem's maximum filename length limit.
Started with a problem when running addurl on a really long url,
because the whole url is munged into the filename. Ended up doing
a fairly extensive review for places where filenames could get too large,
although it's hard to say I'm not missed any..

Backend.Url had a 128 character limit, which is fine when the limit is 255,
but not if it's a lot shorter on some systems. So check the pathconf()
limit. Note that this could result in fromUrl creating different keys
for the same url, if run on systems with different limits. I don't see
this is likely to cause any problems. That can already happen when using
addurl --fast, or if the content of an url changes.

Both Command.AddUrl and Backend.Url assumed that urls don't contain a
lot of multi-byte unicode, and would fail to truncate an url that did
properly.

A few places use a filename as the template to make a temp file.
While that's nice in that the temp file name can be easily related back to
the original filename, it could lead to `git annex add` failing to add a
filename that was at or close to the maximum length.

Note that in Command.Add.lockdown, the template is still derived from the
filename, just with enough space left to turn it into a temp file.
This is an important optimisation, because the assistant may lock down
a bunch of files all at once, and using the same template for all of them
would cause openTempFile to iterate through the same set of names,
looking for an unused temp file. I'm not very happy with the relatedTemplate
hack, but it avoids that slowdown.

Backend.WORM does not limit the filename stored in the key.
I have not tried to change that; so git annex add will fail on really long
filenames when using the WORM backend. It seems better to preserve the
invariant that a WORM key always contains the complete filename, since
the filename is the only unique material in the key, other than mtime and
size. Since nobody has complained about add failing (I think I saw it
once?) on WORM, probably it's ok, or nobody but me uses it.

There may be compatability problems if using git annex addurl --fast
or the WORM backend on a system with the 255 limit and then trying to use
that repo in a system with a smaller limit. I have not tried to deal with
those.

This commit was sponsored by Alexander Brem. Thanks!
2013-07-30 19:18:29 -04:00
https://www.google.com/accounts/o8/id?id=AItOawnaH44G3QbxBAYyDwy0PbvL0ls60XoaR3Y
5ac4bae331 Added a comment: /storage/sdcard1/.git/annex/daemon.log 2013-07-30 23:11:29 +00:00
http://joeyh.name/
d994f6270c Added a comment 2013-07-30 21:29:50 +00:00
http://joeyh.name/
3bc7051210 Added a comment 2013-07-30 21:25:32 +00:00
http://www.joachim-breitner.de/
0a2bcdc167 Added a comment: Great stuff! 2013-07-30 21:21:58 +00:00
http://www.joachim-breitner.de/
1df9731405 fixed typo 2013-07-30 21:17:11 +00:00
Joey Hess
6cf2d1edbf Merge branch 'master' of ssh://git-annex.branchable.com 2013-07-30 17:14:19 -04:00
http://joeyh.name/
af7caeb27d Added a comment 2013-07-30 21:12:54 +00:00
Joey Hess
19adb2a7cf blog for the day 2013-07-30 17:06:18 -04:00
Joey Hess
f59a2f8e82 regression test for 7b0970b340 2013-07-30 17:04:05 -04:00
Joey Hess
147a9f8882 Improve test suite on Windows; now tests git annex sync. 2013-07-30 17:03:32 -04:00
http://mebus.pip.verisignlabs.com/
5dab99129f Added a comment 2013-07-30 20:41:07 +00:00
cehteh
c6d7af19a8 Added a comment 2013-07-30 20:29:15 +00:00
http://joeyh.name/
1787d1c883 Added a comment 2013-07-30 20:24:06 +00:00
https://www.google.com/accounts/o8/id?id=AItOawnw1nskuzEP9crBqxTa6d1R24mnTfA-j1A
a72eff29d2 2013-07-30 20:15:40 +00:00
http://joeyh.name/
03017896b7 Added a comment: fixed 2013-07-30 20:11:19 +00:00
Joey Hess
0545c960a7 Merge branch 'master' of ssh://git-annex.branchable.com 2013-07-30 16:08:43 -04:00
Joey Hess
7b0970b340 Fix inverted logic in last release's fix for data loss bug, that caused git-annex sync on FAT or other crippled filesystems to add symlink standin files to the annex. 2013-07-30 16:08:09 -04:00
http://joeyh.name/
5474f655ee Added a comment 2013-07-30 20:07:09 +00:00
http://joeyh.name/
fc781a8650 Added a comment 2013-07-30 19:55:04 +00:00
http://joeyh.name/
3c8a804df7 Added a comment: re: workaround 2013-07-30 19:17:11 +00:00
Joey Hess
a8475e18c9 Merge branch 'master' of ssh://git-annex.branchable.com 2013-07-30 15:15:48 -04:00
http://joeyh.name/
1b0914d380 Added a comment 2013-07-30 19:14:26 +00:00
Joey Hess
f55dc1b64f OSX: Make git-annex-webapp run in the background, so that the app icon can be clicked on the open a new webapp when the assistant is already running. 2013-07-30 15:04:31 -04:00
https://www.google.com/accounts/o8/id?id=AItOawnaH44G3QbxBAYyDwy0PbvL0ls60XoaR3Y
d4a6ea3c26 Added a comment: log file 2013-07-30 19:03:03 +00:00
https://www.google.com/accounts/o8/id?id=AItOawnRai_qFYPVvEgC6i1nlM1bh-C__jbhqS0
ede12f3456 Added a comment 2013-07-30 19:01:32 +00:00
http://joeyh.name/
c562377ce5 Added a comment 2013-07-30 19:00:44 +00:00
http://joeyh.name/
a9a385ae70 Added a comment 2013-07-30 18:56:00 +00:00
http://joeyh.name/
647fc7ef7c Added a comment 2013-07-30 18:51:38 +00:00
https://www.google.com/accounts/o8/id?id=AItOawl-BU4KfFktO2-bqaFmlArHta0Oy7zJrCs
e3390d795d Added a comment 2013-07-30 18:44:00 +00:00
http://joeyh.name/
1995e8a8a0 Added a comment 2013-07-30 18:42:32 +00:00
Joey Hess
66b470c03d close 2013-07-30 14:40:16 -04:00
http://joeyh.name/
a04ac0e73d Added a comment 2013-07-30 18:39:58 +00:00
Joey Hess
9f77e68a4e close 2013-07-30 14:38:25 -04:00
http://joeyh.name/
aa32a83a9f Added a comment 2013-07-30 18:20:53 +00:00
https://www.google.com/accounts/o8/id?id=AItOawnaH44G3QbxBAYyDwy0PbvL0ls60XoaR3Y
3dd3e1c403 2013-07-30 18:20:08 +00:00
Joey Hess
6ac595f8b5 update test suite for dropunused behavior change 2013-07-30 14:17:09 -04:00
http://joeyh.name/
ca66fa4f12 Added a comment 2013-07-30 18:16:07 +00:00
http://joeyh.name/
eed88590d5 Added a comment 2013-07-30 18:08:38 +00:00
Joey Hess
9dc75ea559 typo 2013-07-30 14:07:22 -04:00
http://joeyh.name/
87c1b8bb1c Added a comment 2013-07-30 18:06:05 +00:00
Joey Hess
4a75d75d92 clean up Android comment-as-bug-report mess 2013-07-30 13:54:03 -04:00
http://joeyh.name/
75817cda8e Added a comment 2013-07-30 17:45:27 +00:00
http://joeyh.name/
e621bc07be Added a comment 2013-07-30 17:40:04 +00:00