Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package cmctl for openSUSE:Factory checked in at 2023-06-16 16:56:00 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/cmctl (Old) and /work/SRC/openSUSE:Factory/.cmctl.new.15902 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "cmctl" Fri Jun 16 16:56:00 2023 rev:14 rq:1093502 version:1.12.2 Changes: -------- --- /work/SRC/openSUSE:Factory/cmctl/cmctl.changes 2023-05-30 22:02:49.595146147 +0200 +++ /work/SRC/openSUSE:Factory/.cmctl.new.15902/cmctl.changes 2023-06-16 16:57:04.454496784 +0200 @@ -1,0 +2,6 @@ +Fri Jun 16 13:07:04 UTC 2023 - ka...@b1-systems.de + +- Update to version 1.12.2: + * if wait is set to 0, we still want to check the API once + +------------------------------------------------------------------- Old: ---- cert-manager-1.12.1.obscpio New: ---- cert-manager-1.12.2.obscpio ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ cmctl.spec ++++++ --- /var/tmp/diff_new_pack.fQcHk9/_old 2023-06-16 16:57:05.090500535 +0200 +++ /var/tmp/diff_new_pack.fQcHk9/_new 2023-06-16 16:57:05.094500559 +0200 @@ -21,7 +21,7 @@ %define archive_name cert-manager Name: cmctl -Version: 1.12.1 +Version: 1.12.2 Release: 0 Summary: CLI tool that can help you to manage cert-manager resources inside your cluster License: Apache-2.0 ++++++ _service ++++++ --- /var/tmp/diff_new_pack.fQcHk9/_old 2023-06-16 16:57:05.138500818 +0200 +++ /var/tmp/diff_new_pack.fQcHk9/_new 2023-06-16 16:57:05.142500843 +0200 @@ -3,7 +3,7 @@ <param name="url">https://github.com/cert-manager/cert-manager</param> <param name="scm">git</param> <param name="exclude">.git</param> - <param name="revision">v1.12.1</param> + <param name="revision">v1.12.2</param> <param name="versionformat">@PARENT_TAG@</param> <param name="changesgenerate">enable</param> <param name="versionrewrite-pattern">v(.*)</param> @@ -19,7 +19,7 @@ <param name="compression">gz</param> </service> <service name="go_modules" mode="disabled"> - <param name="archive">cert-manager-1.12.1.obscpio</param> + <param name="archive">cert-manager-1.12.2.obscpio</param> </service> </services> ++++++ _servicedata ++++++ --- /var/tmp/diff_new_pack.fQcHk9/_old 2023-06-16 16:57:05.162500960 +0200 +++ /var/tmp/diff_new_pack.fQcHk9/_new 2023-06-16 16:57:05.166500983 +0200 @@ -1,6 +1,6 @@ <servicedata> <service name="tar_scm"> <param name="url">https://github.com/cert-manager/cert-manager</param> - <param name="changesrevision">a4c1c5445ce55d5b2be134939a10f6c67971aab3</param></service></servicedata> + <param name="changesrevision">577b91966958e96615e53eb3fffb8513a2dc8e73</param></service></servicedata> (No newline at EOF) ++++++ cert-manager-1.12.1.obscpio -> cert-manager-1.12.2.obscpio ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cert-manager-1.12.1/pkg/check/api/api.go new/cert-manager-1.12.2/pkg/check/api/api.go --- old/cert-manager-1.12.1/pkg/check/api/api.go 2023-05-25 14:59:33.000000000 +0200 +++ new/cert-manager-1.12.2/pkg/check/api/api.go 2023-06-02 15:52:58.000000000 +0200 @@ -102,7 +102,7 @@ SilenceUsage: true, SilenceErrors: true, } - cmd.Flags().DurationVar(&o.Wait, "wait", 0, "Wait until the cert-manager API is ready (default 0s)") + cmd.Flags().DurationVar(&o.Wait, "wait", 0, "Wait until the cert-manager API is ready (default 0s = poll once)") cmd.Flags().DurationVar(&o.Interval, "interval", 5*time.Second, "Time between checks when waiting, must include unit, e.g. 1m or 10m") cmd.Flags().BoolVarP(&o.Verbose, "verbose", "v", false, "Print detailed error messages") @@ -118,13 +118,18 @@ } log.SetOutput(o.ErrOut) // Log all intermediate errors to stderr - pollErr := wait.PollUntilContextTimeout(ctx, o.Interval, o.Wait, true, func(ctx context.Context) (bool, error) { + start := time.Now() + pollErr := wait.PollUntilContextCancel(ctx, o.Interval, false, func(ctx context.Context) (bool, error) { if err := o.APIChecker.Check(ctx); err != nil { if !o.Verbose && errors.Unwrap(err) != nil { err = errors.Unwrap(err) } log.Printf("Not ready: %v", err) + + if time.Since(start) > o.Wait { + return false, context.DeadlineExceeded + } return false, nil } ++++++ cert-manager.obsinfo ++++++ --- /var/tmp/diff_new_pack.fQcHk9/_old 2023-06-16 16:57:05.318501881 +0200 +++ /var/tmp/diff_new_pack.fQcHk9/_new 2023-06-16 16:57:05.322501904 +0200 @@ -1,5 +1,5 @@ name: cert-manager -version: 1.12.1 -mtime: 1685019573 -commit: 3f5dbe1a5f06906b509c6c1032856612cde7f0e5 +version: 1.12.2 +mtime: 1685713978 +commit: a662045c2a7ec0d9118176965028113230fa9735 ++++++ vendor.tar.gz ++++++ /work/SRC/openSUSE:Factory/cmctl/vendor.tar.gz /work/SRC/openSUSE:Factory/.cmctl.new.15902/vendor.tar.gz differ: char 5, line 1