From 8c3a847960db85347083b882ddb4e8fb0b15d14b Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Thu, 4 May 2023 16:48:51 -0400 Subject: [PATCH] update --- ...annex__and_ideally_any_other_command_.mdwn | 22 +++++++++---------- 1 file changed, 10 insertions(+), 12 deletions(-) diff --git a/doc/todo/--json_for_unannex__and_ideally_any_other_command_.mdwn b/doc/todo/--json_for_unannex__and_ideally_any_other_command_.mdwn index 4bf9fbfc50..4bb810296d 100644 --- a/doc/todo/--json_for_unannex__and_ideally_any_other_command_.mdwn +++ b/doc/todo/--json_for_unannex__and_ideally_any_other_command_.mdwn @@ -32,33 +32,22 @@ Provisional list of commands that don't support --json and maybe should: * git-annex-adjust * git-annex-configremote * git-annex-dead -* git-annex-describe * git-annex-dropunused -* git-annex-edit * git-annex-enableremote * git-annex-expire -* git-annex-forget -* git-annex-group * git-annex-importfeed * git-annex-init * git-annex-initremote * git-annex-inprogress * git-annex-merge -* git-annex-mincopies -* git-annex-numcopies * git-annex-reinit * git-annex-reinject * git-annex-renameremote -* git-annex-semitrust * git-annex-sync -* git-annex-trust -* git-annex-ungroup -* git-annex-untrust * git-annex-unused * git-annex-upgrade * git-annex-vadd * git-annex-vcycle -* git-annex-version * git-annex-vfilter * git-annex-view * git-annex-vpop @@ -68,6 +57,9 @@ These commands could support json, but I punted: * git-annex-uninit (hard to support --json-error-messages because it does pre-check and post-unannex things that are not usual actions and so would not show as json objects without more work) +* git-annex-version (--raw already exists, and the output is fairly machine + parseable already. It would be possible to jsonize the output to make it + possibly more machine parseable. But I'm doubtful that would be useful. These commands have been reviewed and should not support json: @@ -104,7 +96,13 @@ These commands have been reviewed and should not support json: * git-annex-config (only useful output is when it outputs the current value of a config setting, which is already machine parseable) * git-annex-required, git-annex-wanted, git-annex-groupwanted (like git-annex-config) -* git-annex-schedule (like git-annex-config) +* git-annex-mincopies, git-annex-numcopies (like git-annex-config) +* git-annex-group (like git-annex-config) +* git-annex-ungroup (no point if group doesn't) +* git-annex-semitrust, git-annex-trust, git-annex-untrust, git-annex-describe, + git-annex forget + (really nothing useful in output, besides an indication that the command + worked) * git-annex-filter-branch (output is already machine parseable) * git-annex-remotedaemon (plumbing, speaks its own protocol) * git-annex-repair (seems unlikely to be useful to integrate with