mirror of
https://github.com/containers/podman.git
synced 2025-05-22 01:27:07 +08:00
fix(deps): update module github.com/vbauerster/mpb/v8 to v8.7.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
This commit is contained in:
2
go.mod
2
go.mod
@ -63,7 +63,7 @@ require (
|
|||||||
github.com/stretchr/testify v1.8.4
|
github.com/stretchr/testify v1.8.4
|
||||||
github.com/syndtr/gocapability v0.0.0-20200815063812-42c35b437635
|
github.com/syndtr/gocapability v0.0.0-20200815063812-42c35b437635
|
||||||
github.com/ulikunitz/xz v0.5.11
|
github.com/ulikunitz/xz v0.5.11
|
||||||
github.com/vbauerster/mpb/v8 v8.6.2
|
github.com/vbauerster/mpb/v8 v8.7.0
|
||||||
github.com/vishvananda/netlink v1.2.1-beta.2
|
github.com/vishvananda/netlink v1.2.1-beta.2
|
||||||
go.etcd.io/bbolt v1.3.8
|
go.etcd.io/bbolt v1.3.8
|
||||||
golang.org/x/exp v0.0.0-20231006140011-7918f672742d
|
golang.org/x/exp v0.0.0-20231006140011-7918f672742d
|
||||||
|
4
go.sum
4
go.sum
@ -1074,8 +1074,8 @@ github.com/urfave/cli v1.22.12/go.mod h1:sSBEIC79qR6OvcmsD4U3KABeOTxDqQtdDnaFuUN
|
|||||||
github.com/vbatts/tar-split v0.11.2/go.mod h1:vV3ZuO2yWSVsz+pfFzDG/upWH1JhjOiEaWq6kXyQ3VI=
|
github.com/vbatts/tar-split v0.11.2/go.mod h1:vV3ZuO2yWSVsz+pfFzDG/upWH1JhjOiEaWq6kXyQ3VI=
|
||||||
github.com/vbatts/tar-split v0.11.5 h1:3bHCTIheBm1qFTcgh9oPu+nNBtX+XJIupG/vacinCts=
|
github.com/vbatts/tar-split v0.11.5 h1:3bHCTIheBm1qFTcgh9oPu+nNBtX+XJIupG/vacinCts=
|
||||||
github.com/vbatts/tar-split v0.11.5/go.mod h1:yZbwRsSeGjusneWgA781EKej9HF8vme8okylkAeNKLk=
|
github.com/vbatts/tar-split v0.11.5/go.mod h1:yZbwRsSeGjusneWgA781EKej9HF8vme8okylkAeNKLk=
|
||||||
github.com/vbauerster/mpb/v8 v8.6.2 h1:9EhnJGQRtvgDVCychJgR96EDCOqgg2NsMuk5JUcX4DA=
|
github.com/vbauerster/mpb/v8 v8.7.0 h1:n2LTGyol7qqNBcLQn8FL5Bga2O8CGF75OOYsJVFsfMg=
|
||||||
github.com/vbauerster/mpb/v8 v8.6.2/go.mod h1:oVJ7T+dib99kZ/VBjoBaC8aPXiSAihnzuKmotuihyFo=
|
github.com/vbauerster/mpb/v8 v8.7.0/go.mod h1:0RgdqeTpu6cDbdWeSaDvEvfgm9O598rBnRZ09HKaV0k=
|
||||||
github.com/vishvananda/netlink v0.0.0-20181108222139-023a6dafdcdf/go.mod h1:+SR5DhBJrl6ZM7CoCKvpw5BKroDKQ+PJqOg65H/2ktk=
|
github.com/vishvananda/netlink v0.0.0-20181108222139-023a6dafdcdf/go.mod h1:+SR5DhBJrl6ZM7CoCKvpw5BKroDKQ+PJqOg65H/2ktk=
|
||||||
github.com/vishvananda/netlink v1.1.0/go.mod h1:cTgwzPIzzgDAYoQrMm0EdrjRUBkTqKYppBueQtXaqoE=
|
github.com/vishvananda/netlink v1.1.0/go.mod h1:cTgwzPIzzgDAYoQrMm0EdrjRUBkTqKYppBueQtXaqoE=
|
||||||
github.com/vishvananda/netlink v1.1.1-0.20201029203352-d40f9887b852/go.mod h1:twkDnbuQxJYemMlGd4JFIcuhgX83tXhKS2B/PRMpOho=
|
github.com/vishvananda/netlink v1.1.1-0.20201029203352-d40f9887b852/go.mod h1:twkDnbuQxJYemMlGd4JFIcuhgX83tXhKS2B/PRMpOho=
|
||||||
|
6
vendor/github.com/vbauerster/mpb/v8/README.md
generated
vendored
6
vendor/github.com/vbauerster/mpb/v8/README.md
generated
vendored
@ -42,11 +42,9 @@ func main() {
|
|||||||
mpb.BarStyle().Lbound("╢").Filler("▌").Tip("▌").Padding("░").Rbound("╟"),
|
mpb.BarStyle().Lbound("╢").Filler("▌").Tip("▌").Padding("░").Rbound("╟"),
|
||||||
mpb.PrependDecorators(
|
mpb.PrependDecorators(
|
||||||
// display our name with one space on the right
|
// display our name with one space on the right
|
||||||
decor.Name(name, decor.WC{W: len(name) + 1, C: decor.DidentRight}),
|
decor.Name(name, decor.WC{C: decor.DindentRight | decor.DextraSpace}),
|
||||||
// replace ETA decorator with "done" message, OnComplete event
|
// replace ETA decorator with "done" message, OnComplete event
|
||||||
decor.OnComplete(
|
decor.OnComplete(decor.AverageETA(decor.ET_STYLE_GO), "done"),
|
||||||
decor.AverageETA(decor.ET_STYLE_GO, decor.WC{W: 4}), "done",
|
|
||||||
),
|
|
||||||
),
|
),
|
||||||
mpb.AppendDecorators(decor.Percentage()),
|
mpb.AppendDecorators(decor.Percentage()),
|
||||||
)
|
)
|
||||||
|
27
vendor/github.com/vbauerster/mpb/v8/decor/decorator.go
generated
vendored
27
vendor/github.com/vbauerster/mpb/v8/decor/decorator.go
generated
vendored
@ -8,29 +8,27 @@ import (
|
|||||||
)
|
)
|
||||||
|
|
||||||
const (
|
const (
|
||||||
// DidentRight bit specifies identation direction.
|
// DindentRight sets indentation from right to left.
|
||||||
//
|
//
|
||||||
// |foo |b | With DidentRight
|
// |foo |b | DindentRight is set
|
||||||
// | foo| b| Without DidentRight
|
// | foo| b| DindentRight is not set
|
||||||
DidentRight = 1 << iota
|
DindentRight = 1 << iota
|
||||||
|
|
||||||
// DextraSpace bit adds extra space, makes sense with DSyncWidth only.
|
// DextraSpace bit adds extra indentation space.
|
||||||
// When DidentRight bit set, the space will be added to the right,
|
|
||||||
// otherwise to the left.
|
|
||||||
DextraSpace
|
DextraSpace
|
||||||
|
|
||||||
// DSyncWidth bit enables same column width synchronization.
|
// DSyncWidth bit enables same column width synchronization.
|
||||||
// Effective with multiple bars only.
|
// Effective with multiple bars only.
|
||||||
DSyncWidth
|
DSyncWidth
|
||||||
|
|
||||||
// DSyncWidthR is shortcut for DSyncWidth|DidentRight
|
// DSyncWidthR is shortcut for DSyncWidth|DindentRight
|
||||||
DSyncWidthR = DSyncWidth | DidentRight
|
DSyncWidthR = DSyncWidth | DindentRight
|
||||||
|
|
||||||
// DSyncSpace is shortcut for DSyncWidth|DextraSpace
|
// DSyncSpace is shortcut for DSyncWidth|DextraSpace
|
||||||
DSyncSpace = DSyncWidth | DextraSpace
|
DSyncSpace = DSyncWidth | DextraSpace
|
||||||
|
|
||||||
// DSyncSpaceR is shortcut for DSyncWidth|DextraSpace|DidentRight
|
// DSyncSpaceR is shortcut for DSyncWidth|DextraSpace|DindentRight
|
||||||
DSyncSpaceR = DSyncWidth | DextraSpace | DidentRight
|
DSyncSpaceR = DSyncWidth | DextraSpace | DindentRight
|
||||||
)
|
)
|
||||||
|
|
||||||
// TimeStyle enum.
|
// TimeStyle enum.
|
||||||
@ -143,11 +141,10 @@ func (wc WC) Format(str string) (string, int) {
|
|||||||
viewWidth := runewidth.StringWidth(str)
|
viewWidth := runewidth.StringWidth(str)
|
||||||
if wc.W > viewWidth {
|
if wc.W > viewWidth {
|
||||||
viewWidth = wc.W
|
viewWidth = wc.W
|
||||||
|
} else if (wc.C & DextraSpace) != 0 {
|
||||||
|
viewWidth++
|
||||||
}
|
}
|
||||||
if (wc.C & DSyncWidth) != 0 {
|
if (wc.C & DSyncWidth) != 0 {
|
||||||
if (wc.C & DextraSpace) != 0 {
|
|
||||||
viewWidth++
|
|
||||||
}
|
|
||||||
wc.wsync <- viewWidth
|
wc.wsync <- viewWidth
|
||||||
viewWidth = <-wc.wsync
|
viewWidth = <-wc.wsync
|
||||||
}
|
}
|
||||||
@ -156,7 +153,7 @@ func (wc WC) Format(str string) (string, int) {
|
|||||||
|
|
||||||
// Init initializes width related config.
|
// Init initializes width related config.
|
||||||
func (wc *WC) Init() WC {
|
func (wc *WC) Init() WC {
|
||||||
if (wc.C & DidentRight) != 0 {
|
if (wc.C & DindentRight) != 0 {
|
||||||
wc.fill = runewidth.FillRight
|
wc.fill = runewidth.FillRight
|
||||||
} else {
|
} else {
|
||||||
wc.fill = runewidth.FillLeft
|
wc.fill = runewidth.FillLeft
|
||||||
|
2
vendor/modules.txt
vendored
2
vendor/modules.txt
vendored
@ -1055,7 +1055,7 @@ github.com/ulikunitz/xz/lzma
|
|||||||
github.com/vbatts/tar-split/archive/tar
|
github.com/vbatts/tar-split/archive/tar
|
||||||
github.com/vbatts/tar-split/tar/asm
|
github.com/vbatts/tar-split/tar/asm
|
||||||
github.com/vbatts/tar-split/tar/storage
|
github.com/vbatts/tar-split/tar/storage
|
||||||
# github.com/vbauerster/mpb/v8 v8.6.2
|
# github.com/vbauerster/mpb/v8 v8.7.0
|
||||||
## explicit; go 1.17
|
## explicit; go 1.17
|
||||||
github.com/vbauerster/mpb/v8
|
github.com/vbauerster/mpb/v8
|
||||||
github.com/vbauerster/mpb/v8/cwriter
|
github.com/vbauerster/mpb/v8/cwriter
|
||||||
|
Reference in New Issue
Block a user