Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package google-guest-oslogin for
openSUSE:Factory checked in at 2024-07-08 19:09:12
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/google-guest-oslogin (Old)
and /work/SRC/openSUSE:Factory/.google-guest-oslogin.new.2080 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "google-guest-oslogin"
Mon Jul 8 19:09:12 2024 rev:28 rq:1186150 version:20240701.00
Changes:
--------
---
/work/SRC/openSUSE:Factory/google-guest-oslogin/google-guest-oslogin.changes
2024-05-16 17:19:32.341411645 +0200
+++
/work/SRC/openSUSE:Factory/.google-guest-oslogin.new.2080/google-guest-oslogin.changes
2024-07-08 19:09:35.061645578 +0200
@@ -1,0 +2,6 @@
+Tue Jul 2 13:28:13 UTC 2024 - John Paul Adrian Glaubitz
<[email protected]>
+
+- Update to version 20240701.00
+ * Don't retry bad request responses (#137)
+
+-------------------------------------------------------------------
Old:
----
google-guest-oslogin-20240415.00.tar.gz
New:
----
google-guest-oslogin-20240701.00.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ google-guest-oslogin.spec ++++++
--- /var/tmp/diff_new_pack.C27NDO/_old 2024-07-08 19:09:35.821673374 +0200
+++ /var/tmp/diff_new_pack.C27NDO/_new 2024-07-08 19:09:35.825673521 +0200
@@ -19,7 +19,7 @@
%{!?_pam_moduledir: %define _pam_moduledir %{_pamdir}}
Name: google-guest-oslogin
-Version: 20240415.00
+Version: 20240701.00
Release: 0
Summary: Google Cloud Guest OS Login
License: Apache-2.0
++++++ google-guest-oslogin-20240415.00.tar.gz ->
google-guest-oslogin-20240701.00.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/guest-oslogin-20240415.00/src/oslogin_utils.cc
new/guest-oslogin-20240701.00/src/oslogin_utils.cc
--- old/guest-oslogin-20240415.00/src/oslogin_utils.cc 2024-04-04
20:35:23.000000000 +0200
+++ new/guest-oslogin-20240701.00/src/oslogin_utils.cc 2024-06-26
20:27:10.000000000 +0200
@@ -422,6 +422,10 @@
// Metadata key does not exist, no point of retrying.
return false;
}
+ if (http_code == 400) {
+ // Request parameters are bad, no point of retrying.
+ return false;
+ }
return true;
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/guest-oslogin-20240415.00/test/oslogin_utils_test.cc
new/guest-oslogin-20240701.00/test/oslogin_utils_test.cc
--- old/guest-oslogin-20240415.00/test/oslogin_utils_test.cc 2024-04-04
20:35:23.000000000 +0200
+++ new/guest-oslogin-20240701.00/test/oslogin_utils_test.cc 2024-06-26
20:27:10.000000000 +0200
@@ -463,6 +463,7 @@
TEST(CurlClient, RetryLogic) {
ASSERT_FALSE(ShouldRetry(200));
ASSERT_FALSE(ShouldRetry(404));
+ ASSERT_FALSE(ShouldRetry(400));
ASSERT_TRUE(ShouldRetry(429));
}