add missing CHECKURL-FAILURE ErrorMsg to docs
authorJoey Hess <joeyh@joeyh.name>
Fri, 18 Sep 2020 15:58:18 +0000 (11:58 -0400)
committerJoey Hess <joeyh@joeyh.name>
Fri, 18 Sep 2020 15:58:18 +0000 (11:58 -0400)
doc/design/external_special_remote_protocol.mdwn
doc/todo/external_remotes__58___Add_support_for_ErrorMsg_to_-FAILURE_messages_lacking_it.mdwn
doc/todo/external_remotes__58___Add_support_for_ErrorMsg_to_-FAILURE_messages_lacking_it/comment_1_a096df37d5bc5543b574b32554311af9._comment [new file with mode: 0644]

index a6d2ab8654d15e63dbb2da235a064af8aa1db6d9..78729a14f609fb1eb8b659656b1cfa638fcd596a 100644 (file)
@@ -226,7 +226,7 @@ the special remote can reply with `UNSUPPORTED-REQUEST`.
     one after the other.
     Note that since a list is returned, neither the Url nor the Filename
     can contain spaces.
-  * `CHECKURL-FAILURE`  
+  * `CHECKURL-FAILURE ErrorMsg`  
     Indicates that the requested url could not be accessed.
 * `WHEREIS Key`  
   Asks the remote to provide additional information about ways to access
index c51c7ca5632329dcaea0cab59a37bb59e0943578..4d3ca9793a1512df7b6d210a2464ca59da87e9d4 100644 (file)
@@ -28,3 +28,5 @@ git-annex version: 8.20200810+git143-gdee38c54d-1~ndall+1
 
 [[!meta author=yoh]]
 [[!tag projects/datalad]]
+
+> [[fixed|done]] the documentation --[[Joey]]
diff --git a/doc/todo/external_remotes__58___Add_support_for_ErrorMsg_to_-FAILURE_messages_lacking_it/comment_1_a096df37d5bc5543b574b32554311af9._comment b/doc/todo/external_remotes__58___Add_support_for_ErrorMsg_to_-FAILURE_messages_lacking_it/comment_1_a096df37d5bc5543b574b32554311af9._comment
new file mode 100644 (file)
index 0000000..dae25a2
--- /dev/null
@@ -0,0 +1,19 @@
+[[!comment format=mdwn
+ username="joey"
+ subject="""comment 1"""
+ date="2020-09-18T15:50:11Z"
+ content="""
+CHECKURL-FAILURE actually supports an error message,
+always has. The docs were just wrong.
+
+CHECKPRESENT-FAILURE is not for an exceptional case,
+but a usual case. CHECKPRESENT-UNKNOWN is for the exceptional case and
+includes an error message.
+
+CLAIMURL-FAILURE means the remote does not claim the url, so there is no
+need for an error message since git-annex will use web as usual.
+
+WHEREIS-FAILURE means the remote does not have information for whereis,
+it's not an exceptional case. Especially since WHEREIS is not supposed to
+use network access or anything.
+"""]]