spiegel_podman/vendor/github.com
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
..
acarl005/stripansi vendor github.com/containers/image/v5@v5.2.0 2020-02-05 09:55:50 +01:00
Azure/go-ansiterm build(deps): bump github.com/vbauerster/mpb/v7 from 7.5.2 to 7.5.3 2022-09-13 08:58:22 +02:00
blang/semver/v4 Update vendor containers/(common,image,storage) 2022-10-15 09:42:51 -04:00
buger/goterm build(deps): bump github.com/vbauerster/mpb/v7 from 7.5.2 to 7.5.3 2022-09-13 08:58:22 +02:00
BurntSushi/toml build(deps): bump github.com/vbauerster/mpb/v7 from 7.5.2 to 7.5.3 2022-09-13 08:58:22 +02:00
checkpoint-restore build(deps): bump github.com/vbauerster/mpb/v7 from 7.5.2 to 7.5.3 2022-09-13 08:58:22 +02:00
chzyer/readline build(deps): bump github.com/vbauerster/mpb/v7 from 7.5.2 to 7.5.3 2022-09-13 08:58:22 +02:00
container-orchestrated-devices/container-device-interface build(deps): bump github.com/container-orchestrated-devices/container-device-interface 2022-09-28 12:12:48 +00:00
containerd build(deps): bump github.com/vbauerster/mpb/v7 from 7.5.2 to 7.5.3 2022-09-13 08:58:22 +02:00
containernetworking Bump github.com/containernetworking/cni from 1.1.1 to 1.1.2 2022-07-28 12:11:40 +00:00
containers system df: fix image-size calculations 2022-10-19 11:20:41 +02:00
coreos build(deps): bump github.com/coreos/go-systemd/v22 from 22.3.2 to 22.4.0 2022-09-16 12:17:01 +00:00
cyphar/filepath-securejoin build(deps): bump github.com/vbauerster/mpb/v7 from 7.5.2 to 7.5.3 2022-09-13 08:58:22 +02:00
davecgh/go-spew migrate to go-modules 2019-06-24 13:20:59 +02:00
digitalocean build(deps): bump github.com/vbauerster/mpb/v7 from 7.5.2 to 7.5.3 2022-09-13 08:58:22 +02:00
disiqueira/gotree/v3 build(deps): bump github.com/vbauerster/mpb/v7 from 7.5.2 to 7.5.3 2022-09-13 08:58:22 +02:00
docker build(deps): bump github.com/docker/docker 2022-10-14 12:07:19 +00:00
felixge/httpsnoop build(deps): bump github.com/vbauerster/mpb/v7 from 7.5.2 to 7.5.3 2022-09-13 08:58:22 +02:00
fsnotify/fsnotify build(deps): bump github.com/fsnotify/fsnotify from 1.5.4 to 1.6.0 2022-10-13 12:09:26 +00:00
fsouza/go-dockerclient build(deps): bump github.com/vbauerster/mpb/v7 from 7.5.2 to 7.5.3 2022-09-13 08:58:22 +02:00
ghodss/yaml migrate to go-modules 2019-06-24 13:20:59 +02:00
go-task/slim-sprig build(deps): bump github.com/vbauerster/mpb/v7 from 7.5.2 to 7.5.3 2022-09-13 08:58:22 +02:00
godbus/dbus/v5 build(deps): bump github.com/vbauerster/mpb/v7 from 7.5.2 to 7.5.3 2022-09-13 08:58:22 +02:00
gogo/protobuf remove unneeded k8s code 2022-03-15 14:48:08 +01:00
golang Vendor in containers/(storage,image, common, buildah) 2022-07-18 10:42:04 -04:00
google Update vendor or containers/buildah 2022-09-23 14:12:37 -04:00
gorilla build(deps): bump github.com/vbauerster/mpb/v7 from 7.5.2 to 7.5.3 2022-09-13 08:58:22 +02:00
hashicorp build(deps): bump github.com/vbauerster/mpb/v7 from 7.5.2 to 7.5.3 2022-09-13 08:58:22 +02:00
imdario/mergo build(deps): bump github.com/vbauerster/mpb/v7 from 7.5.2 to 7.5.3 2022-09-13 08:58:22 +02:00
inconshreveable/mousetrap build(deps): bump github.com/spf13/cobra from 1.5.0 to 1.6.0 2022-10-12 14:54:19 +02:00
jinzhu/copier build(deps): bump github.com/vbauerster/mpb/v7 from 7.5.2 to 7.5.3 2022-09-13 08:58:22 +02:00
json-iterator/go build(deps): bump github.com/vbauerster/mpb/v7 from 7.5.2 to 7.5.3 2022-09-13 08:58:22 +02:00
klauspost Update for https://github.com/klauspost/pgzip/pull/50 2022-09-30 20:00:00 +02:00
kr/fs build(deps): bump github.com/vbauerster/mpb/v7 from 7.5.2 to 7.5.3 2022-09-13 08:58:22 +02:00
letsencrypt/boulder update buildah and c/common to latest 2022-09-09 11:58:20 +02:00
manifoldco/promptui build(deps): bump github.com/vbauerster/mpb/v7 from 7.5.2 to 7.5.3 2022-09-13 08:58:22 +02:00
mattn build(deps): bump github.com/vbauerster/mpb/v7 from 7.5.2 to 7.5.3 2022-09-13 08:58:22 +02:00
Microsoft build(deps): bump github.com/vbauerster/mpb/v7 from 7.5.2 to 7.5.3 2022-09-13 08:58:22 +02:00
miekg/pkcs11 build(deps): bump github.com/vbauerster/mpb/v7 from 7.5.2 to 7.5.3 2022-09-13 08:58:22 +02:00
mistifyio/go-zfs/v3 Update vendor or containers/buildah 2022-09-23 14:12:37 -04:00
moby build(deps): bump github.com/vbauerster/mpb/v7 from 7.5.2 to 7.5.3 2022-09-13 08:58:22 +02:00
modern-go build(deps): bump github.com/vbauerster/mpb/v7 from 7.5.2 to 7.5.3 2022-09-13 08:58:22 +02:00
morikuni/aec bump containers/image to v5.0.0, buildah to v1.11.4 2019-10-29 13:35:18 -04:00
nxadm/tail build(deps): bump github.com/vbauerster/mpb/v7 from 7.5.2 to 7.5.3 2022-09-13 08:58:22 +02:00
onsi build(deps): bump github.com/onsi/gomega from 1.20.2 to 1.22.1 2022-10-12 12:10:17 +00:00
opencontainers Update vendor containers/(common,image,storage) 2022-10-15 09:42:51 -04:00
openshift/imagebuilder build(deps): bump github.com/vbauerster/mpb/v7 from 7.5.2 to 7.5.3 2022-09-13 08:58:22 +02:00
ostreedev/ostree-go Vendor in containers/common@main 2022-02-28 16:23:26 -05:00
pkg build(deps): bump github.com/vbauerster/mpb/v7 from 7.5.2 to 7.5.3 2022-09-13 08:58:22 +02:00
pmezard/go-difflib migrate to go-modules 2019-06-24 13:20:59 +02:00
proglottis/gpgme build(deps): bump github.com/vbauerster/mpb/v7 from 7.5.2 to 7.5.3 2022-09-13 08:58:22 +02:00
rivo/uniseg build(deps): bump github.com/vbauerster/mpb/v7 from 7.5.2 to 7.5.3 2022-09-13 08:58:22 +02:00
rootless-containers/rootlesskit Bump github.com/rootless-containers/rootlesskit from 0.14.5 to 0.14.6 2021-11-19 14:26:03 -05:00
seccomp/libseccomp-golang build(deps): bump github.com/vbauerster/mpb/v7 from 7.5.2 to 7.5.3 2022-09-13 08:58:22 +02:00
sigstore/sigstore Update vendor containers/(common,image) 2022-09-30 06:45:24 -04:00
sirupsen/logrus build(deps): bump github.com/vbauerster/mpb/v7 from 7.5.2 to 7.5.3 2022-09-13 08:58:22 +02:00
spf13 build(deps): bump github.com/spf13/cobra from 1.5.0 to 1.6.0 2022-10-12 14:54:19 +02:00
stefanberger/go-pkcs11uri Bump github.com/containers/ocicrypt from 1.0.3 to 1.1.0 2021-02-09 10:49:43 -05:00
stretchr/testify build(deps): bump github.com/stretchr/testify from 1.7.5 to 1.8.0 2022-06-29 12:09:48 +00:00
sylabs/sif/v2 Update vendor containers/(common,image) 2022-09-30 06:45:24 -04:00
syndtr/gocapability vendor: drop replace for github.com/syndtr/gocapability 2021-03-19 15:17:12 +01:00
tchap/go-patricia update dependencies 2019-06-24 21:29:31 +02:00
theupdateframework/go-tuf Vendor in containers/(storage,image, common, buildah) 2022-07-18 10:42:04 -04:00
titanous/rocacheck Vendor in containers/(storage,image, common, buildah) 2022-07-18 10:42:04 -04:00
uber/jaeger-client-go Bump github.com/uber/jaeger-client-go 2021-12-08 12:25:53 +00:00
ulikunitz/xz build(deps): bump github.com/vbauerster/mpb/v7 from 7.5.2 to 7.5.3 2022-09-13 08:58:22 +02:00
vbatts/tar-split Bump github.com/containers/image/v5 from 5.15.2 to 5.16.0 2021-08-26 13:21:26 +00:00
vbauerster/mpb/v7 build(deps): bump github.com/vbauerster/mpb/v7 from 7.5.2 to 7.5.3 2022-09-13 08:58:22 +02:00
vishvananda build(deps): bump github.com/vbauerster/mpb/v7 from 7.5.2 to 7.5.3 2022-09-13 08:58:22 +02:00
VividCortex/ewma build(deps): bump github.com/vbauerster/mpb/v7 from 7.5.2 to 7.5.3 2022-09-13 08:58:22 +02:00
xeipuuv build(deps): bump github.com/vbauerster/mpb/v7 from 7.5.2 to 7.5.3 2022-09-13 08:58:22 +02:00