From 699f23ee2c1ece641fce99cfe4f84959715a8191 Mon Sep 17 00:00:00 2001 From: CandyAngel Date: Tue, 15 Jan 2019 08:30:11 +0000 Subject: [PATCH 1/5] Added a comment --- ...nt_1_85254a327ffed22b407d25610558c15b._comment | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 doc/forum/RecentChanges__58___link_to_the_diff__63__/comment_1_85254a327ffed22b407d25610558c15b._comment diff --git a/doc/forum/RecentChanges__58___link_to_the_diff__63__/comment_1_85254a327ffed22b407d25610558c15b._comment b/doc/forum/RecentChanges__58___link_to_the_diff__63__/comment_1_85254a327ffed22b407d25610558c15b._comment new file mode 100644 index 0000000000..4d209148ae --- /dev/null +++ b/doc/forum/RecentChanges__58___link_to_the_diff__63__/comment_1_85254a327ffed22b407d25610558c15b._comment @@ -0,0 +1,15 @@ +[[!comment format=mdwn + username="CandyAngel" + avatar="http://cdn.libravatar.org/avatar/15c0aade8bec5bf004f939dd73cf9ed8" + subject="comment 1" + date="2019-01-15T08:30:10Z" + content=""" +There already is one. It's right before the link to the page (has 3D glasses image). + + + + \"diff\" + + forum/RecentChanges: link to the diff? + +"""]] From 59269fdd5908a6f2c341ae977e8e092226dd8fe8 Mon Sep 17 00:00:00 2001 From: "lykos@d125a37d89b1cfac20829f12911656c40cb70018" Date: Tue, 15 Jan 2019 15:46:07 +0000 Subject: [PATCH 2/5] Added a comment: PREPARE-LOCAL --- ...ent_38_10a49d69282155c5c3e66dc58f64f956._comment | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 doc/design/external_special_remote_protocol/comment_38_10a49d69282155c5c3e66dc58f64f956._comment diff --git a/doc/design/external_special_remote_protocol/comment_38_10a49d69282155c5c3e66dc58f64f956._comment b/doc/design/external_special_remote_protocol/comment_38_10a49d69282155c5c3e66dc58f64f956._comment new file mode 100644 index 0000000000..56a063fe5c --- /dev/null +++ b/doc/design/external_special_remote_protocol/comment_38_10a49d69282155c5c3e66dc58f64f956._comment @@ -0,0 +1,13 @@ +[[!comment format=mdwn + username="lykos@d125a37d89b1cfac20829f12911656c40cb70018" + nickname="lykos" + avatar="http://cdn.libravatar.org/avatar/085df7b04d3408ba23c19f9c49be9ea2" + subject="PREPARE-LOCAL" + date="2019-01-15T15:46:07Z" + content=""" +> \"Note that users expect `git annex whereis` to run fast, without eg, network access\" + +Currently, git-annex spins up a remote process for every `git annex whereis` command that involves a file present on the remote (w/o chunking & encryption). As most remotes establish their network connection during the PREPARE phase, the command is slowed down, especially with bad internet connection. So I propose an extension `PREPARE-LOCAL` that tells the remote to get all necessary config information but skip the networking. + +Alternatively, the remotes could wait to establish network connection until the first transfer command is sent but I think something like `PREPARE-LOCAL` would be the cleaner solution. +"""]] From 91c7936ca74dc5c13bd4cf827ccf239ada7d5718 Mon Sep 17 00:00:00 2001 From: "lykos@d125a37d89b1cfac20829f12911656c40cb70018" Date: Tue, 15 Jan 2019 15:47:39 +0000 Subject: [PATCH 3/5] Added a comment: PREPARE-LOCAL --- ...ent_39_ea321b96df3314a9e2a35cd0f8312972._comment | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 doc/design/external_special_remote_protocol/comment_39_ea321b96df3314a9e2a35cd0f8312972._comment diff --git a/doc/design/external_special_remote_protocol/comment_39_ea321b96df3314a9e2a35cd0f8312972._comment b/doc/design/external_special_remote_protocol/comment_39_ea321b96df3314a9e2a35cd0f8312972._comment new file mode 100644 index 0000000000..04f221bb89 --- /dev/null +++ b/doc/design/external_special_remote_protocol/comment_39_ea321b96df3314a9e2a35cd0f8312972._comment @@ -0,0 +1,13 @@ +[[!comment format=mdwn + username="lykos@d125a37d89b1cfac20829f12911656c40cb70018" + nickname="lykos" + avatar="http://cdn.libravatar.org/avatar/085df7b04d3408ba23c19f9c49be9ea2" + subject="PREPARE-LOCAL" + date="2019-01-15T15:47:39Z" + content=""" +> \"Note that users expect `git annex whereis` to run fast, without eg, network access\" + +Currently, git-annex spins up a remote process for every `git annex whereis` command that involves a file present on the remote (w/o chunking & encryption). As most remotes establish their network connection during the PREPARE phase, the command is slowed down, especially with bad internet connection. So I propose an extension `PREPARE-LOCAL` that tells the remote to get all necessary config information but skip the networking. + +Alternatively, the remotes could wait to establish network connection until the first transfer command is sent but I think something like `PREPARE-LOCAL` would be the cleaner solution. +"""]] From ab1a78115a2969f20fd20bb3a0f34d8b59dd7c7a Mon Sep 17 00:00:00 2001 From: "lykos@d125a37d89b1cfac20829f12911656c40cb70018" Date: Tue, 15 Jan 2019 15:47:58 +0000 Subject: [PATCH 4/5] removed --- ...ent_38_10a49d69282155c5c3e66dc58f64f956._comment | 13 ------------- 1 file changed, 13 deletions(-) delete mode 100644 doc/design/external_special_remote_protocol/comment_38_10a49d69282155c5c3e66dc58f64f956._comment diff --git a/doc/design/external_special_remote_protocol/comment_38_10a49d69282155c5c3e66dc58f64f956._comment b/doc/design/external_special_remote_protocol/comment_38_10a49d69282155c5c3e66dc58f64f956._comment deleted file mode 100644 index 56a063fe5c..0000000000 --- a/doc/design/external_special_remote_protocol/comment_38_10a49d69282155c5c3e66dc58f64f956._comment +++ /dev/null @@ -1,13 +0,0 @@ -[[!comment format=mdwn - username="lykos@d125a37d89b1cfac20829f12911656c40cb70018" - nickname="lykos" - avatar="http://cdn.libravatar.org/avatar/085df7b04d3408ba23c19f9c49be9ea2" - subject="PREPARE-LOCAL" - date="2019-01-15T15:46:07Z" - content=""" -> \"Note that users expect `git annex whereis` to run fast, without eg, network access\" - -Currently, git-annex spins up a remote process for every `git annex whereis` command that involves a file present on the remote (w/o chunking & encryption). As most remotes establish their network connection during the PREPARE phase, the command is slowed down, especially with bad internet connection. So I propose an extension `PREPARE-LOCAL` that tells the remote to get all necessary config information but skip the networking. - -Alternatively, the remotes could wait to establish network connection until the first transfer command is sent but I think something like `PREPARE-LOCAL` would be the cleaner solution. -"""]] From a1be80635f90e881a12f8c9dc4cbebd89d74f621 Mon Sep 17 00:00:00 2001 From: Ilya_Shlyakhter Date: Tue, 15 Jan 2019 16:00:45 +0000 Subject: [PATCH 5/5] git-annex-testremote for read-only external special remotes --- doc/todo/testremote_for_read-only_remotes.mdwn | 1 + 1 file changed, 1 insertion(+) create mode 100644 doc/todo/testremote_for_read-only_remotes.mdwn diff --git a/doc/todo/testremote_for_read-only_remotes.mdwn b/doc/todo/testremote_for_read-only_remotes.mdwn new file mode 100644 index 0000000000..d23e828f3e --- /dev/null +++ b/doc/todo/testremote_for_read-only_remotes.mdwn @@ -0,0 +1 @@ +It's not uncommon to create external special remotes for which, like for the built-in web remote, only download operations are defined. It would be good if git-annex-testremote had the option of testing such remotes, using as test data the keys and URLs already registered as present in the remote.