spiegel_podman/vendor/github.com/containers/common/pkg
Valentin Rothberg 34235b2726 system df: fix image-size calculations
Fix two bugs in `system df`:

1.  The total size was calculated incorrectly as it was creating the sum
    of all image sizes but did not consider that a) the same image may
    be listed more than once (i.e., for each repo-tag pair), and that
    b) images share layers.

    The total size is now calculated directly in `libimage` by taking
    multi-layer use into account.

2.  The reclaimable size was calculated incorrectly.  This number
    indicates which data we can actually remove which means the total
    size minus what containers use (i.e., the "unique" size of the image
    in use by containers).

NOTE: The c/storage version is pinned back to the previous commit as it
      is buggy.  c/common already requires the buggy version, so use a
      `replace` to force/pin.

Fixes: #16135
Signed-off-by: Valentin Rothberg <vrothberg@redhat.com>
2022-10-19 11:20:41 +02:00
..
apparmor Vendor in containers/(storage,image, common, buildah) 2022-07-18 10:42:04 -04:00
auth update buildah and c/common to latest 2022-09-09 11:58:20 +02:00
capabilities Vendor in containers/(storage,image, common, buildah) 2022-07-18 10:42:04 -04:00
cgroups system df: fix image-size calculations 2022-10-19 11:20:41 +02:00
cgroupv2 vendor c/common@0ededd18a1 2022-03-18 15:18:30 +01:00
chown Vendor in containers/(storage,image, common, buildah) 2022-07-18 10:42:04 -04:00
completion Update vendor of containers/buildah 2022-06-13 17:54:17 -04:00
config system df: fix image-size calculations 2022-10-19 11:20:41 +02:00
download system df: fix image-size calculations 2022-10-19 11:20:41 +02:00
filters system df: fix image-size calculations 2022-10-19 11:20:41 +02:00
flag Bump Buildah to v1.24.0 2022-01-27 07:03:56 -05:00
hooks system df: fix image-size calculations 2022-10-19 11:20:41 +02:00
machine system df: fix image-size calculations 2022-10-19 11:20:41 +02:00
manifests update buildah and c/common to latest 2022-09-09 11:58:20 +02:00
netns vendor c/common 2022-04-21 13:43:58 +02:00
parse system df: fix image-size calculations 2022-10-19 11:20:41 +02:00
report system df: fix image-size calculations 2022-10-19 11:20:41 +02:00
resize use c/common code for resize and CopyDetachable 2022-07-06 16:57:07 +02:00
retry Vendor in containers/(storage,image, common, buildah) 2022-07-18 10:42:04 -04:00
seccomp Vendor in containers/(storage,image, common, buildah) 2022-07-18 10:42:04 -04:00
secrets system df: fix image-size calculations 2022-10-19 11:20:41 +02:00
signal vendor c/common@0ededd18a1 2022-03-18 15:18:30 +01:00
ssh system df: fix image-size calculations 2022-10-19 11:20:41 +02:00
subscriptions system df: fix image-size calculations 2022-10-19 11:20:41 +02:00
supplemented update buildah and c/common to latest 2022-09-09 11:58:20 +02:00
sysinfo system df: fix image-size calculations 2022-10-19 11:20:41 +02:00
timetype system df: fix image-size calculations 2022-10-19 11:20:41 +02:00
umask vendor c/common 2022-04-21 13:43:58 +02:00
util vendor: bump c/common to v0.49.2-0.20220929111928-2d1b45ae2423 2022-09-29 18:20:03 +05:30