Commit graph

25379 commits

Author SHA1 Message Date
Joey Hess
858104078a make whereis show urls when web remote does not have content
This is needed when external special remotes register an url for a key.
2015-08-17 11:35:34 -04:00
Joey Hess
3a5b7dbaf0 External special remotes can now be built that can be used in readonly mode, where git-annex downloads content from the remote using regular http.
Note that, if an url is added to the web log for such a remote, it's not
distinguishable from another url that might be added for the web remote.
(Because the web log doesn't distinguish which remote owns a plain url.
Urls with a downloader set are distinguishable, but we're not using them
here.)

This seems ok-ish.. In such a case, both remotes will try to use both
urls, and both remotes should be able to.

The only issue I see is that dropping a file from the web remote will
remove both urls in this case. This is not often done, and could even
be considered a feature, I suppose.
2015-08-17 11:22:22 -04:00
Joey Hess
99b9a3f277 export some always failing methods for readonly remotes 2015-08-17 11:21:38 -04:00
Joey Hess
fb9d851258 refactor 2015-08-17 11:21:13 -04:00
Joey Hess
1cd3b7ddf0 refactor 2015-08-17 10:42:14 -04:00
Joey Hess
2ff22a383a Merge branch 'master' of ssh://git-annex.branchable.com 2015-08-17 09:53:18 -04:00
https://woid.cryptobitch.de/foobar
5f3ab9cf9a Added a comment: @niklaas 2015-08-17 13:42:26 +00:00
darkfeline@e6d098788a13ce41f3141a2dfc1bd31b401e83f0
88b5a5ae7b Added a comment: buprepo doesn't work properly 2015-08-17 12:59:25 +00:00
mhubig
08e9614e18 Added a comment 2015-08-17 11:44:40 +00:00
mhubig
d131bf2e15 Added a comment 2015-08-17 11:42:18 +00:00
https://me.yahoo.com/a/EbvxpTI_xP9Aod7Mg4cwGhgjrCrdM5s-#7c0f4
6a96265f44 2015-08-17 11:37:17 +00:00
anarcat
1f359ab899 Added a comment: great! 2015-08-17 04:07:28 +00:00
crumblybrick
d6d381ed70 rename forum_/_Searching_metadata_and_file_content__63__.mdwn to forum/Searching_metadata_and_file_content__63__.mdwn 2015-08-16 16:40:21 +00:00
crumblybrick
d1fc6ffa2f rename forum/_creating_Searching_metadata_and_file_content__63__.mdwn to forum_/_Searching_metadata_and_file_content__63__.mdwn 2015-08-16 13:46:00 +00:00
crumblybrick
f4f3df3ae1 2015-08-16 13:44:47 +00:00
Joey Hess
ab85a48bc0 merge lintian overrides from debian 2015-08-15 11:45:37 -04:00
Joey Hess
7c3e4f1cb6 Merge branch 'master' of ssh://git-annex.branchable.com 2015-08-15 11:44:25 -04:00
konubinix
3d77f9fb3a Added a comment: git-new-workdir 2015-08-15 12:48:31 +00:00
samuel.hym+bugs@a85e9c44dc6369ad6b12e8e6a3896ad34f7df4a3
d0f06212d5 Fix formatting of shell output 2015-08-15 12:17:58 +00:00
samuel.hym+bugs@a85e9c44dc6369ad6b12e8e6a3896ad34f7df4a3
1ba226641c 2015-08-15 12:14:48 +00:00
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