git-annex/doc/design/external_special_remote_protocol
Joey Hess 3eaaec3113
consistently use importKey when available
This avoids import with --no-content and with --content potentially
generating two different trees, leading to a merge conflict when run in
two different clones of a repo. And it's necessary groundwork to make
git-annex sync --no-content import from special remotes that support
importKey.

Only the directory special remote currently supports importKey, and it
generates the same key as git-annex usually does, so there is no
behavior change for it.

Future special remotes will need to take care when adding importKey,
if it generates different keys. Added some warnings about that to
comments.

This commit was sponsored by Noam Kremen on Patreon.
2020-09-28 15:27:46 -04:00
..
async_appendix Added a comment: is -J shared between workers and ASYNC or "multipliticative"? 2020-09-24 15:37:21 +00:00
async_appendix.mdwn async extension done 2020-08-14 15:24:34 -04:00
comment_1_5baff75d278394a8818c348fb4f13b8a._comment
comment_2_70429b7c4f1e4083a9d5a6e2e238056d._comment
comment_3_c763e44d06d9f50f0d357889b180b819._comment
comment_4_20ff41d82b5f1872698a5b24adcd0c41._comment
comment_5_3ee158e548002badae5bf44dc0442626._comment
comment_6_ee2828ce25b83bbabc9d5dde35d1e57b._comment
comment_7_edb649d0019a061ef7bf6534a444429d._comment
comment_8_1f4c205a5ce6f33ccf2f4d80754e5699._comment
comment_9_15c4cfe064be37cc104dcb6aa049a449._comment
comment_11_8d3c35eb0a2a9c57b10566fcaf56d248._comment
comment_12_241e57092d9e5631ac0ec4dd962477a6._comment
comment_12_e3029c65d34f78272bc11961ebfd8237._comment
comment_13_472748f03ba8dad773da7f35b70cb6e4._comment
comment_14_71c3e21a72222250bab933e1c9167fbc._comment
comment_15_c77386deddc64b2028d9c3a7393d4df7._comment
comment_16_62b137a138c143a8110886cc0bbb677e._comment
comment_17_8dc7bbf485c9385a4b506e8b8fa934fe._comment
comment_18_a0ed457b1b0d71747b6cf0c45897b5e1._comment
comment_19_89d532a5013af24f15a0d003cbfbab25._comment
comment_20_546331742e906a68d760c1bf44be63c4._comment
comment_21_a8e8255516dc4741439615fa43b71829._comment
comment_22_0387827d94f141be53458807da9c2fc2._comment
comment_23_7a5af50f7c482d7c02c53be28ddb6a66._comment
comment_24_3340d3c34f2ec197f9010d97da8eb7af._comment Added a comment 2016-04-05 01:18:53 +00:00
comment_25_56f38d934125c28172b6475bdb4de284._comment Added a comment 2016-05-03 06:25:03 +00:00
comment_26_4f8addd76a1e64d05a34910d4719a40c._comment Added DIRHASH_LOWER to external special remote protocol. 2016-05-03 13:36:59 -04:00
comment_27_9153a5c49710bf57d11338829f66fa78._comment Added a comment 2016-05-03 18:02:03 +00:00
comment_28_74961b12a73a52a700e10a21674e66ee._comment use DIRHASH-LOWER for consistency 2016-05-03 14:10:11 -04:00
comment_29_c1d97815386453c3e433fca9a44c4667._comment Added a comment: Retrieval progress message helpers 2016-05-20 19:42:24 +00:00
comment_30_7d045871f9ebbb89e3f9bbfa28e8468f._comment reply 2016-05-23 15:45:56 -04:00
comment_31_907597187020180e7730e27e86f6da5e._comment Added a comment 2018-09-19 11:01:31 +00:00
comment_32_f6b8306cfdcb3792728aa47af0677338._comment Added a comment 2018-09-19 18:19:22 +00:00
comment_33_bee7ff39f3989dfbec292490e47bcaaa._comment response 2018-09-24 11:40:34 -04:00
comment_34_af6ae46fa9228461573dd7b2f0713ef1._comment Added a comment: question about special remote protocol 2018-09-26 17:16:13 +00:00
comment_35_2f71f6d0caf4fa5ccd26618026714975._comment response 2018-10-04 14:21:37 -04:00
comment_36_f8081ce200700516efef61ec0ac86f86._comment Added a comment 2018-10-19 15:52:22 +00:00
comment_37_2aef2647d7df69876f107247e039f5a6._comment response 2018-10-29 15:40:52 -04:00
comment_39_62f6621259587333a83776cf514b2497._comment inconclusive thoughts 2019-01-16 15:05:37 -04:00
comment_39_ea321b96df3314a9e2a35cd0f8312972._comment Added a comment: PREPARE-LOCAL 2019-01-15 15:47:39 +00:00
comment_40_a312c0180bce6dbbd03b14b8ba3dcb5f._comment add todo 2019-01-17 11:49:56 -04:00
comment_41_7d63261342ea475f696cadb419782dbb._comment Added a comment: Empty lines sent by git-annex to an external special remote 2019-05-14 06:36:12 +00:00
comment_42_485588573d8d9f74e64cdf560f65e7fe._comment Added a comment: Re: Empty lines sent by git-annex to an external special remote 2019-05-14 08:48:27 +00:00
comment_43_d942d979773d9361fbf3dde28c26a941._comment comment 2019-05-14 15:30:38 -04:00
comment_44_a72db8ed716effc507e7127f9ec95dc4._comment Added a comment: should there be FSCK and/or CLEAN? 2019-09-28 00:31:51 +00:00
comment_45_a25f00fb081e30f639376b6ad94cdb30._comment response 2019-09-28 12:51:58 -04:00
comment_46_7ecdba05cb2bfc7d868b81bbd3e3f964._comment Added a comment: Triggering which stage and when? 2019-10-24 20:30:11 +00:00
export_and_import_appendix.mdwn consistently use importKey when available 2020-09-28 15:27:46 -04:00