Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package minio-client for openSUSE:Factory checked in at 2022-04-27 21:42:09 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/minio-client (Old) and /work/SRC/openSUSE:Factory/.minio-client.new.1538 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "minio-client" Wed Apr 27 21:42:09 2022 rev:5 rq:973228 version:20220426T180022Z Changes: -------- --- /work/SRC/openSUSE:Factory/minio-client/minio-client.changes 2022-04-21 15:48:38.164314787 +0200 +++ /work/SRC/openSUSE:Factory/.minio-client.new.1538/minio-client.changes 2022-04-27 21:42:20.629086448 +0200 @@ -1,0 +2,9 @@ +Wed Apr 27 12:41:41 UTC 2022 - [email protected] + +- Update to version 20220426T180022Z: + * Error message when update failing due to permissions (#4057) + * info: Add the count of total versions details (#4060) + * update minio/pkg to v1.1.22 + * Remove cpuio as default in profiling (#4056) + +------------------------------------------------------------------- Old: ---- mc-20220416T211121Z.tar.gz New: ---- mc-20220426T180022Z.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ minio-client.spec ++++++ --- /var/tmp/diff_new_pack.T2KZ2o/_old 2022-04-27 21:42:21.517087532 +0200 +++ /var/tmp/diff_new_pack.T2KZ2o/_new 2022-04-27 21:42:21.521087536 +0200 @@ -22,7 +22,7 @@ %define binary_name minio-client Name: minio-client -Version: 20220416T211121Z +Version: 20220426T180022Z Release: 0 Summary: Client for MinIO License: AGPL-3.0-only ++++++ _service ++++++ --- /var/tmp/diff_new_pack.T2KZ2o/_old 2022-04-27 21:42:21.557087580 +0200 +++ /var/tmp/diff_new_pack.T2KZ2o/_new 2022-04-27 21:42:21.561087585 +0200 @@ -5,7 +5,7 @@ <param name="exclude">.git</param> <param name="changesgenerate">enable</param> <param name="versionformat">@PARENT_TAG@</param> - <param name="revision">RELEASE.2022-04-16T21-11-21Z</param> + <param name="revision">RELEASE.2022-04-26T18-00-22Z</param> <param name="match-tag">RELEASE.*</param> <param name="versionrewrite-pattern">RELEASE\.(.*)-(.*)-(.*)-(.*)-(.*)</param> <param name="versionrewrite-replacement">\1\2\3\4\5</param> @@ -21,7 +21,7 @@ <param name="compression">gz</param> </service> <service name="go_modules" mode="disabled"> - <param name="archive">mc-20220416T211121Z.tar.gz</param> + <param name="archive">mc-20220426T180022Z.tar.gz</param> </service> </services> ++++++ _servicedata ++++++ --- /var/tmp/diff_new_pack.T2KZ2o/_old 2022-04-27 21:42:21.585087615 +0200 +++ /var/tmp/diff_new_pack.T2KZ2o/_new 2022-04-27 21:42:21.589087619 +0200 @@ -1,6 +1,6 @@ <servicedata> <service name="tar_scm"> <param name="url">https://github.com/minio/mc</param> - <param name="changesrevision">0530f5a47110c7a9325212d6093a214be0b8fd60</param></service></servicedata> + <param name="changesrevision">276e1db70d7bb495025b414f509b63f88c74c634</param></service></servicedata> (No newline at EOF) ++++++ mc-20220416T211121Z.tar.gz -> mc-20220426T180022Z.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mc-20220416T211121Z/cmd/admin-info.go new/mc-20220426T180022Z/cmd/admin-info.go --- old/mc-20220416T211121Z/cmd/admin-info.go 2022-04-16 17:10:14.000000000 +0200 +++ new/mc-20220426T180022Z/cmd/admin-info.go 2022-04-26 13:30:21.000000000 +0200 @@ -234,9 +234,13 @@ // total no of objects at the Cluster level usedTotal := humanize.IBytes(u.Info.Usage.Size) if u.Info.Buckets.Count > 0 { - msg += fmt.Sprintf("%s Used, %s, %s\n", usedTotal, + msg += fmt.Sprintf("%s Used, %s, %s", usedTotal, english.Plural(int(u.Info.Buckets.Count), "Bucket", ""), english.Plural(int(u.Info.Objects.Count), "Object", "")) + if u.Info.Versions.Count > 0 { + msg += ", " + english.Plural(int(u.Info.Versions.Count), "Version", "") + } + msg += "\n" } if backendType == madmin.Erasure { // Summary on total no of online and total diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mc-20220416T211121Z/cmd/support-profile-start.go new/mc-20220426T180022Z/cmd/support-profile-start.go --- old/mc-20220416T211121Z/cmd/support-profile-start.go 2022-04-16 17:10:14.000000000 +0200 +++ new/mc-20220426T180022Z/cmd/support-profile-start.go 2022-04-26 13:30:21.000000000 +0200 @@ -30,8 +30,8 @@ var supportProfileStartFlags = []cli.Flag{ cli.StringFlag{ Name: "type", - Usage: "start profiler type, possible values are 'cpu', 'cpuio' 'mem', 'block', 'mutex', 'trace', 'threads' and 'goroutines'", - Value: "cpu,cpuio,mem,block,mutex,threads,goroutines", + Usage: "start profiler type, possible values are 'cpu', 'cpuio', 'mem', 'block', 'mutex', 'trace', 'threads' and 'goroutines'", + Value: "cpu,mem,block,mutex,threads,goroutines", }, } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mc-20220416T211121Z/cmd/update-main.go new/mc-20220426T180022Z/cmd/update-main.go --- old/mc-20220416T211121Z/cmd/update-main.go 2022-04-16 17:10:14.000000000 +0200 +++ new/mc-20220426T180022Z/cmd/update-main.go 2022-04-26 13:30:21.000000000 +0200 @@ -421,9 +421,10 @@ } func doUpdate(sha256Hex string, latestReleaseTime time.Time, ok bool) (updateStatusMsg string, err *probe.Error) { + fmtReleaseTime := latestReleaseTime.Format(mcReleaseTagTimeLayout) if !ok { updateStatusMsg = colorGreenBold("mc update to version RELEASE.%s canceled.", - latestReleaseTime.Format(mcReleaseTagTimeLayout)) + fmtReleaseTime) return updateStatusMsg, nil } @@ -462,14 +463,32 @@ opts.Verifier = v } + if e := opts.CheckPermissions(); e != nil { + permErrMsg := fmt.Sprintf(" failed with: %s", e) + updateStatusMsg = colorYellowBold("mc update to version RELEASE.%s %s.", + fmtReleaseTime, permErrMsg) + return updateStatusMsg, nil + } + if e = selfupdate.Apply(rc, opts); e != nil { if re := selfupdate.RollbackError(e); re != nil { + rollBackErr := fmt.Sprintf("Failed to rollback from bad update: %v", re) + updateStatusMsg = colorYellowBold("mc update to version RELEASE.%s %s.", fmtReleaseTime, rollBackErr) return updateStatusMsg, probe.NewError(e) } + + var pathErr *os.PathError + if errors.As(e, &pathErr) { + pathErrMsg := fmt.Sprintf("Unable to update the binary at %s: %v", filepath.Dir(pathErr.Path), pathErr.Err) + updateStatusMsg = colorYellowBold("mc update to version RELEASE.%s %s.", + fmtReleaseTime, pathErrMsg) + return updateStatusMsg, nil + } + + return colorYellowBold(fmt.Sprintf("Error in mc update to version RELEASE.%s %v.", fmtReleaseTime, e)), nil } - return colorGreenBold("mc updated to version RELEASE.%s successfully.", - latestReleaseTime.Format(mcReleaseTagTimeLayout)), nil + return colorGreenBold("mc updated to version RELEASE.%s successfully.", fmtReleaseTime), nil } type updateMessage struct { diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mc-20220416T211121Z/go.mod new/mc-20220426T180022Z/go.mod --- old/mc-20220416T211121Z/go.mod 2022-04-16 17:10:14.000000000 +0200 +++ new/mc-20220426T180022Z/go.mod 2022-04-26 13:30:21.000000000 +0200 @@ -19,10 +19,10 @@ github.com/minio/cli v1.22.0 github.com/minio/colorjson v1.0.2 github.com/minio/filepath v1.0.0 - github.com/minio/madmin-go v1.3.11 + github.com/minio/madmin-go v1.3.12 github.com/minio/md5-simd v1.1.2 // indirect github.com/minio/minio-go/v7 v7.0.24 - github.com/minio/pkg v1.1.21 + github.com/minio/pkg v1.1.22 github.com/minio/selfupdate v0.4.0 github.com/minio/sha256-simd v1.0.0 github.com/mitchellh/go-homedir v1.1.0 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mc-20220416T211121Z/go.sum new/mc-20220426T180022Z/go.sum --- old/mc-20220416T211121Z/go.sum 2022-04-16 17:10:14.000000000 +0200 +++ new/mc-20220426T180022Z/go.sum 2022-04-26 13:30:21.000000000 +0200 @@ -341,8 +341,8 @@ github.com/minio/filepath v1.0.0 h1:fvkJu1+6X+ECRA6G3+JJETj4QeAYO9sV43I79H8ubDY= github.com/minio/filepath v1.0.0/go.mod h1:/nRZA2ldl5z6jT9/KQuvZcQlxZIMQoFFQPvEXx9T/Bw= github.com/minio/madmin-go v1.3.5/go.mod h1:vGKGboQgGIWx4DuDUaXixjlIEZOCIp6ivJkQoiVaACc= -github.com/minio/madmin-go v1.3.11 h1:Cj02kzG2SD1pnZW2n1joe00yqb6NFE40Jt2gp+5mWFQ= -github.com/minio/madmin-go v1.3.11/go.mod h1:ez87VmMtsxP7DRxjKJKD4RDNW+nhO2QF9KSzwxBDQ98= +github.com/minio/madmin-go v1.3.12 h1:7SmK/KtT7+d3hn3VcYBqI/c4yETfXV9gRT1j+g/U1jE= +github.com/minio/madmin-go v1.3.12/go.mod h1:ez87VmMtsxP7DRxjKJKD4RDNW+nhO2QF9KSzwxBDQ98= github.com/minio/md5-simd v1.1.0/go.mod h1:XpBqgZULrMYD3R+M28PcmP0CkI7PEMzB3U77ZrKZ0Gw= github.com/minio/md5-simd v1.1.2 h1:Gdi1DZK69+ZVMoNHRXJyNcxrMA4dSxoYHZSQbirFg34= github.com/minio/md5-simd v1.1.2/go.mod h1:MzdKDxYpY2BT9XQFocsiZf/NKVtR7nkE4RoEpN+20RM= @@ -350,8 +350,8 @@ github.com/minio/minio-go/v7 v7.0.24 h1:HPlHiET6L5gIgrHRaw1xFo1OaN4bEP/082asWh3WJtI= github.com/minio/minio-go/v7 v7.0.24/go.mod h1:x81+AX5gHSfCSqw7jxRKHvxUXMlE5uKX0Vb75Xk5yYg= github.com/minio/pkg v1.1.20/go.mod h1:Xo7LQshlxGa9shKwJ7NzQbgW4s8T/Wc1cOStR/eUiMY= -github.com/minio/pkg v1.1.21 h1:sqPIwfmlMbufFd3xiEiAdrgyle7c67YIXFf+rFtCeyA= -github.com/minio/pkg v1.1.21/go.mod h1:z9PfmEI804KFkF6eY4LoGe8IDVvTCsYGVuaf58Dr0WI= +github.com/minio/pkg v1.1.22 h1:Fm3oPu9LJag0FhD5BjFxj0Ut+M8S8IkiPHaq5OAoZaM= +github.com/minio/pkg v1.1.22/go.mod h1:z9PfmEI804KFkF6eY4LoGe8IDVvTCsYGVuaf58Dr0WI= github.com/minio/selfupdate v0.4.0 h1:A7t07pN4Ch1tBTIRStW0KhUVyykz+2muCqFsITQeEW8= github.com/minio/selfupdate v0.4.0/go.mod h1:mcDkzMgq8PRcpCRJo/NlPY7U45O5dfYl2Y0Rg7IustY= github.com/minio/sha256-simd v0.1.1/go.mod h1:B5e1o+1/KgNmWrSQK08Y6Z1Vb5pwIktudl0J58iy0KM= ++++++ vendor.tar.gz ++++++ /work/SRC/openSUSE:Factory/minio-client/vendor.tar.gz /work/SRC/openSUSE:Factory/.minio-client.new.1538/vendor.tar.gz differ: char 5, line 1
