From 34bcff4cba4a8f866110309ae00bcd4a8deb7551 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Thu, 16 Feb 2017 13:24:16 -0400 Subject: make query commands not output extraneous messages config group groupwanted numcopies schedule wanted required: Avoid displaying extraneous messages about repository auto-init, git-annex branch merging, etc, when being used to get information. --- ...lluted_with___34__informational__34___messages.mdwn | 2 ++ ...comment_3_e006b8efab713d4965316c9846ec437c._comment | 18 ++++++++++++++++++ 2 files changed, 20 insertions(+) create mode 100644 doc/todo/output_of_wanted___40__and_possibly_group_etc__41___should_not_be_polluted_with___34__informational__34___messages/comment_3_e006b8efab713d4965316c9846ec437c._comment (limited to 'doc/todo') diff --git a/doc/todo/output_of_wanted___40__and_possibly_group_etc__41___should_not_be_polluted_with___34__informational__34___messages.mdwn b/doc/todo/output_of_wanted___40__and_possibly_group_etc__41___should_not_be_polluted_with___34__informational__34___messages.mdwn index 0dd6a9702..b2849f3f1 100644 --- a/doc/todo/output_of_wanted___40__and_possibly_group_etc__41___should_not_be_polluted_with___34__informational__34___messages.mdwn +++ b/doc/todo/output_of_wanted___40__and_possibly_group_etc__41___should_not_be_polluted_with___34__informational__34___messages.mdwn @@ -9,3 +9,5 @@ not metadata=distribution-restrictions=* so it is necessary to avoid considering all the merging and recording messages, complicating using wanted in the scripts etc [[!meta author=yoh]] + +> [[fixed|done]] --[[Joey]] diff --git a/doc/todo/output_of_wanted___40__and_possibly_group_etc__41___should_not_be_polluted_with___34__informational__34___messages/comment_3_e006b8efab713d4965316c9846ec437c._comment b/doc/todo/output_of_wanted___40__and_possibly_group_etc__41___should_not_be_polluted_with___34__informational__34___messages/comment_3_e006b8efab713d4965316c9846ec437c._comment new file mode 100644 index 000000000..7174ab82a --- /dev/null +++ b/doc/todo/output_of_wanted___40__and_possibly_group_etc__41___should_not_be_polluted_with___34__informational__34___messages/comment_3_e006b8efab713d4965316c9846ec437c._comment @@ -0,0 +1,18 @@ +[[!comment format=mdwn + username="joey" + subject="""comment 3""" + date="2017-02-16T16:53:30Z" + content=""" +This can happen at other times than repository auto-init too. + +Generally plumbing commands just turn off all such messages very early, +but in this case, the command has one mode where it's supposed to get data, +which is plumbing-like, and another mode where it sets data, which is +supposed to display normal messages about what it's doing. So it didn't +turn messages off until after parsing the command line, which is too late. + +Affected commands: config group groupwanted numcopies schedule wanted required + +Fairly sure that's a complete set, at least it's all the commands with +both a get and a set mode. +"""]] -- cgit v1.2.3