Hi there!
Maybe I have overseen this feature. I would like to have something like 'git annex list' which lists all basic info about the locations, such as name, group and wanted.
Basically I need to go into 'git annex vicfg' to have some kind of overview of the remotes.
Or did I miss something?
git annex info --fast --json
and then subsequent calls togit annex group ...
etc. I want to include this ingit annex control-center
eventually, but didn't have the time yet.Are you talking about listing information about the configuration of repositories, or listing information about which repos want a file?
I can imagine extending
git-annex list
to display eg, a "-" if the repository currently has, but does not want a file, and a "+" if the repository wants, but does not currently have a file. Or something like that.If the goal is an overview of configuration from the git-annex branch, I agree
git-annex vicfg
is not perfect, and it would be nice to have something that dumped out all the configuration.Well, that is an awesome idea with the more detailed info about each file. I did not thought about this yet.
But what I was talking about is dumping - in a more asthetic way - the remote configuration with its groups and wanteds (for example "standard" or "groupwanted" or some custom ones).
Furthermore it would be great to even dump the groupwanted configuration for each group and for reference all the standard definitions.
git annex vicfg is more for editing the configuration, but it is visually less appealing for just dumping and reading the information.
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. Maybe
git-annex group --list
(update: implemented this)Then you could get your dump of the groupwanted configurations for each group:
There could also be a command that lists the repositories that are in a group. Maybe
git-annex group --members-of=group