From 09a055248995197644bf52cfd7f4af1443352953 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Wed, 29 May 2024 13:16:36 -0400 Subject: [PATCH] split off todo, comment --- ..._781a39ea819887335f65a31198220b44._comment | 25 +++++++++++++++++++ ...git-annex_list_with_want_get_and_drop.mdwn | 6 +++++ 2 files changed, 31 insertions(+) create mode 100644 doc/forum/Feature_request__58___List_all_locations__44___groups__38__wants/comment_4_781a39ea819887335f65a31198220b44._comment create mode 100644 doc/todo/git-annex_list_with_want_get_and_drop.mdwn diff --git a/doc/forum/Feature_request__58___List_all_locations__44___groups__38__wants/comment_4_781a39ea819887335f65a31198220b44._comment b/doc/forum/Feature_request__58___List_all_locations__44___groups__38__wants/comment_4_781a39ea819887335f65a31198220b44._comment new file mode 100644 index 0000000000..0dda511669 --- /dev/null +++ b/doc/forum/Feature_request__58___List_all_locations__44___groups__38__wants/comment_4_781a39ea819887335f65a31198220b44._comment @@ -0,0 +1,25 @@ +[[!comment format=mdwn + username="joey" + subject="""comment 4""" + date="2024-05-29T17:04:41Z" + content=""" +Opened todo for my idea, [[git-annex_list_with_want_get_and_drop]]. + +Back to what you were wanting.. I think there is a lot of room for +improvements on querying in this area. + +`git-annex info repo` could display the groups the repo is in, as well as +its preferred content expression, as well as any groupwanted expression, +and the standard preferred content expression. + +There could be a command that just outputs a list of groups, one per line. +Maybe `git-annex group --list` + +Then you could get your dump of the groupwanted configurations for each +group: + + for g in $(git-annex group --list); do git-annex groupwanted $g; done + +There could also be a command that lists the repositories that are in a +group. Maybe `git-annex group --members-of=group` +"""]] diff --git a/doc/todo/git-annex_list_with_want_get_and_drop.mdwn b/doc/todo/git-annex_list_with_want_get_and_drop.mdwn new file mode 100644 index 0000000000..d763005fea --- /dev/null +++ b/doc/todo/git-annex_list_with_want_get_and_drop.mdwn @@ -0,0 +1,6 @@ +`git-annex list` could be extended with information about whether each +repository wants to get or drop a file. + +For example, it could use "-" when a repository has a file, but wants to +drop it. And "+" when it does not have a file, but wants to get it. +Although perhaps something more clear can be found. --[[Joey]]