Commit graph

25359 commits

Author SHA1 Message Date
Joey Hess
0050215ed1 enable parallel build for fast mode and explicitly disable for production
Currently, ghc has issues getting reproducible builds with parallel
building. https://ghc.haskell.org/trac/ghc/ticket/4012
2015-08-14 17:39:56 -04:00
Joey Hess
edd1ea54e4 package qualify imports
needed for "make fast" to work
2015-08-14 17:23:25 -04:00
Joey Hess
a4fe6e037b oops, didn't mean to commit these changes yet 2015-08-14 14:22:53 -04:00
Joey Hess
290ff35b53 comment 2015-08-14 14:13:49 -04:00
Joey Hess
7be948f6d4 response 2015-08-14 14:05:46 -04:00
Joey Hess
87b4229b23 sync: Support --jobs
* sync: Support --jobs
* sync --content: Avoid unnecessary second pull from remotes when
  no file transfers are made.
2015-08-14 13:49:55 -04:00
mhubig
4a5fe93248 2015-08-14 17:18:47 +00:00
jonathan.stott+gitannex@7c5a9cff8c7c8f69680d0723dda182fa3ba78d43
d4bda84386 2015-08-14 13:40:45 +00:00
mhubig
8f56633c41 2015-08-14 12:54:57 +00:00
Joey Hess
16a7510029 thought 2015-08-13 19:55:22 -04:00
Joey Hess
ad1ff2683c followup 2015-08-13 17:34:13 -04:00
Joey Hess
6bc46e384e Added WHEREIS to external special remote protocol. 2015-08-13 17:27:50 -04:00
Joey Hess
c6bea20f3d comment 2015-08-13 16:46:51 -04:00
Joey Hess
354079d71d fixed this earlier 2015-08-13 16:44:40 -04:00
Joey Hess
4ab4417292 move item to todo list from bugs and followup 2015-08-13 16:43:58 -04:00
Joey Hess
8482858401 devblog 2015-08-13 16:23:40 -04:00
Joey Hess
00fd5b67bf more measuring 2015-08-13 16:15:22 -04:00
Joey Hess
127c3db162 add some debugs to get timings
Note that I had one in Annex.Action.startup too, but it resulted in a weird
message printed by ssh, "channel 2: bad ext data". I don't know why, but
it only happened when transferinfo was run, so I wonder
if 983a95f021 introduced a fragility somehow.
2015-08-13 16:13:16 -04:00
Joey Hess
43aa881b47 --debug is passed along to git-annex-shell when git-annex is in debug mode. 2015-08-13 15:05:39 -04:00
Joey Hess
34c848381f Merge branch 'master' of ssh://git-annex.branchable.com 2015-08-13 14:20:54 -04:00
Joey Hess
983a95f021 Sped up downloads of files from ssh remotes, reducing the non-data-transfer overhead 6x. 2015-08-13 14:20:28 -04:00
Joey Hess
f99ae3d713 remove debug print 2015-08-13 13:18:47 -04:00
Joey Hess
4665fc9e84 add debug logging of process exits
This is mostly to be able to see how long a command took to run. Also exit
code may be useful.

Unofrtunately, I can't put the command name in there, because it's not
available at this point, and it would be a much larger change to wrap the
ProcessHandle data type to add that. However, it's generally pretty obvious
which process exited from context.
2015-08-13 13:12:44 -04:00
brian@c28af5769eba9d68a2d736be827d99060af626e8
186ece5936 2015-08-13 15:07:48 +00:00
edward
c3b04a774a Added a comment: Same problem, git revert worked, sort of 2015-08-13 11:18:42 +00:00
Øyvind A. Holm
5c0c39115c backends.mdwn: Typo fix, 'SHA_512E' → 'SHA3_512E'
Really awesome that git-annex got SHA3 support the day after the
standard was released.
2015-08-13 04:19:11 +02:00
Joey Hess
7584e47ba3 --debug log messages are now timestamped with fractional seconds. 2015-08-12 14:42:49 -04:00
Joey Hess
626d273240 add news item for git-annex 5.20150812 2015-08-12 11:25:18 -04:00
Joey Hess
730573e0ba prep release 2015-08-12 11:16:38 -04:00
Joey Hess
e953be11af avoid throwing exception when String is not encoded using the filesystem encoding
Since _encodeFilePath generates a String that doesn't use the filesystem
encoding, when this exception is caught, we know we already have such a
String, and can just return it as-is.
2015-08-12 10:57:48 -04:00
Joey Hess
4e4e11849a fix test suite fail in LANG=C
This was caused by 23e9d3bb77

an Arbitrary String is not necessarily encoded using the filesystem
encoding, and in a non-utf8 locale, encodeBS throws an exception on such a
string. All I could think to do is limit test data to ascii.

This shouldn't be a problem in practice, because the all Strings in
git-annex that are not generated by Arbitrary should be loaded in a way
that does apply the filesystem encoding.
2015-08-12 10:36:51 -04:00
https://mey.vn/
f7b57c5f6b Added a comment 2015-08-12 10:54:29 +00:00
bgilbert@a0c64716cf22216de5eeb15a5ca4f009164c8fb3
bb43b2e021 Added a comment 2015-08-12 04:51:53 +00:00
anarcat
a6f7b36793 Added a comment: thanks 2015-08-12 00:22:31 +00:00
sanket
a39ae9ec3e Added a comment: Integrating Tahoe and Git annex using special remote 2015-08-12 00:00:09 +00:00
Joey Hess
b3b9970fdd Merge branch 'master' of ssh://git-annex.branchable.com 2015-08-11 19:24:04 -04:00
Joey Hess
23be6c78e3 devblog 2015-08-11 19:22:36 -04:00
Joey Hess
4265e52596 comment 2015-08-11 19:21:25 -04:00
Joey Hess
ff97803279 clarify 2015-08-11 18:49:06 -04:00
Joey Hess
06dac3bfed avoid nul-truncation
This might be a little slower, but it's safer, in the event that a
union-merged file contains a NUL.

AFAIK, no files in the git-annex branch do.
2015-08-11 18:46:10 -04:00
Joey Hess
23e9d3bb77 Fix setting/setting/viewing metadata that contains unicode or other special characters, when in a non-unicode locale.
Oh boy, not again. So, another place that the filesystem encoding needs to
be applied. Yay.

In passing, I changed decodeBS so if a NUL is embedded in the input, the
resulting FilePath doesn't get truncated at that NUL. This was needed to
make prop_b64_roundtrips pass, and on reviewing the callers of decodeBS, I
didn't see any where this wouldn't make sense. When a FilePath is used to
operate on the filesystem, it'll get truncated at a NUL anyway, whereas if
a String is being used for something else, it might conceivably have a NUL
in it, and we wouldn't want it to get truncated when going through
decodeBS.
(NB: There may be a speed impact from this change.)
2015-08-11 18:40:59 -04:00
Joey Hess
1e40bfda49 close 2015-08-11 18:00:47 -04:00
anarcat
c99fae87bc Added a comment: still broken, imho - possible fixes and workarounds 2015-08-11 21:43:32 +00:00
Joey Hess
756551cfcc amazonka 2015-08-11 14:14:53 -04:00
Joey Hess
8ee295e446 comment 2015-08-11 13:52:54 -04:00
Joey Hess
21dc3ab49e response 2015-08-11 13:36:22 -04:00
Joey Hess
73dcfc28a5 followup 2015-08-11 13:24:20 -04:00
Joey Hess
47e7921259 response 2015-08-11 13:21:47 -04:00
Joey Hess
0f66f766b0 metadata: Fix reversion introduced in 5.20150727 that caused display of metadata to not work. 2015-08-11 13:19:01 -04:00
Joey Hess
d54c9c46da remove my addition; I missed that bgilbert already said the same in a comment 2015-08-11 12:56:15 -04:00