info: Added --dead-repositories option

I considered a more wide-ranging config option to make other commands
also show dead repositories. But it would be difficult to implement that
because Remote.keyLocations is used to get locations, filtering out dead
repos, and commands like get then try to use those locations. So a config
setting would make dead repos sometimes be acted on by commands.

Sponsored-by: unqueued on Patreon
This commit is contained in:
Joey Hess 2023-08-09 12:43:48 -04:00
parent 27a9915a67
commit 3efad7f5f4
No known key found for this signature in database
GPG key ID: DB12DB0FF05F8F38
5 changed files with 23 additions and 3 deletions

View file

@ -1 +1,3 @@
Would it be possible for `git annex info` to also show dead remotes (behind an option is fine), to make it easy to find what dead remotes there are? I needed to check what I had done for a service that was going away (AARNET Cloudstor, which used webdav), and was confused as to why it wasn't appearing anywhere.
> Implemented `git-annex info --dead-repositories` [[done]] --[[Joey]]