split off todo, comment

This commit is contained in:
Joey Hess 2024-05-29 13:16:36 -04:00
parent 14daed9db7
commit 09a0552489
No known key found for this signature in database
GPG key ID: DB12DB0FF05F8F38
2 changed files with 31 additions and 0 deletions

View file

@ -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`
"""]]

View file

@ -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]]