maxsize overview display and --json support

This commit is contained in:
Joey Hess 2024-08-18 11:18:16 -04:00
parent 016edcf437
commit 99514f9d18
No known key found for this signature in database
GPG key ID: DB12DB0FF05F8F38
8 changed files with 109 additions and 27 deletions

View file

@ -8,11 +8,15 @@ git annex maxsize repository size
git annex maxsize repository
git annex maxsize
# DESCRIPTION
This configures the maximum combined size of annexed files that can be
stored in a repository. When run without a size,
it displays the currently configured maxsize.
stored in a repository. When run with a repository but without a size,
it displays the currently configured maxsize. When run without a
repository, it displays an overview of the size and maxsize of all
repositories.
The repository can be specified by git remote name or
by uuid. For the current repository, use "here".
@ -35,6 +39,10 @@ gigabyte, then it would make sense to run
Displays the maximum size in bytes, disabling the default nicer units.
* `--json`
Enable JSON output.
* The [[git-annex-common-options]](1) can also be used.
# SEE ALSO

View file

@ -86,8 +86,6 @@ Planned schedule of work:
overLocationLogs. In the other path it does not, and this should be fixed
for consistency and correctness.
* `git-annex info` can use maxsize to display how full repositories are
* implement size-based balancing, so all balanced repositories are around
the same percent full, either as the default or as another preferred
content expression.