Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package openSUSE-release-tools for
openSUSE:Factory checked in at 2021-11-20 02:39:10
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/openSUSE-release-tools (Old)
and /work/SRC/openSUSE:Factory/.openSUSE-release-tools.new.1895 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "openSUSE-release-tools"
Sat Nov 20 02:39:10 2021 rev:350 rq:932429 version:20211118.5f3b629b
Changes:
--------
---
/work/SRC/openSUSE:Factory/openSUSE-release-tools/openSUSE-release-tools.changes
2021-11-07 22:09:21.703646200 +0100
+++
/work/SRC/openSUSE:Factory/.openSUSE-release-tools.new.1895/openSUSE-release-tools.changes
2021-11-20 02:40:21.472539070 +0100
@@ -1,0 +2,7 @@
+Fri Nov 19 08:02:18 UTC 2021 - [email protected]
+
+- Update to version 20211118.5f3b629b:
+ * Skip empty cache files
+ * Fix handling missing log files
+
+-------------------------------------------------------------------
Old:
----
openSUSE-release-tools-20211107.bab90ef3.obscpio
New:
----
openSUSE-release-tools-20211118.5f3b629b.obscpio
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ openSUSE-release-tools.spec ++++++
--- /var/tmp/diff_new_pack.agZxhF/_old 2021-11-20 02:40:22.172536760 +0100
+++ /var/tmp/diff_new_pack.agZxhF/_new 2021-11-20 02:40:22.172536760 +0100
@@ -20,7 +20,7 @@
%define source_dir openSUSE-release-tools
%define announcer_filename factory-package-news
Name: openSUSE-release-tools
-Version: 20211107.bab90ef3
+Version: 20211118.5f3b629b
Release: 0
Summary: Tools to aid in staging and release work for openSUSE/SUSE
License: GPL-2.0-or-later AND MIT
++++++ _servicedata ++++++
--- /var/tmp/diff_new_pack.agZxhF/_old 2021-11-20 02:40:22.260536470 +0100
+++ /var/tmp/diff_new_pack.agZxhF/_new 2021-11-20 02:40:22.260536470 +0100
@@ -1,6 +1,6 @@
<servicedata>
<service name="tar_scm">
<param
name="url">https://github.com/openSUSE/openSUSE-release-tools.git</param>
- <param
name="changesrevision">bab90ef34a61a1b333ff130324e919531d21ab04</param>
+ <param
name="changesrevision">3eae2f73c7e29830715809648480d5a78901a61b</param>
</service>
</servicedata>
++++++ openSUSE-release-tools-20211107.bab90ef3.obscpio ->
openSUSE-release-tools-20211118.5f3b629b.obscpio ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/openSUSE-release-tools-20211107.bab90ef3/metrics/access/aggregate.php
new/openSUSE-release-tools-20211118.5f3b629b/metrics/access/aggregate.php
--- old/openSUSE-release-tools-20211107.bab90ef3/metrics/access/aggregate.php
2021-11-07 14:54:39.000000000 +0100
+++ new/openSUSE-release-tools-20211118.5f3b629b/metrics/access/aggregate.php
2021-11-18 15:05:09.000000000 +0100
@@ -22,12 +22,14 @@
'2014-04-14' => sprintf(LANGLEY, 2) . '/' . VHOST,
'2017-12-04' => sprintf(LANGLEY, 3) . '/' . VHOST,
// 2017-12-05 has bad permissions on langley and is still on origin.
+ '2021-09-05' => false,
$begin->format('Y-m-d') => PONTIFEX . '/' . VHOST,
'filename' => FILENAME,
],
'ipv6' => [
'2012-12-31' => false,
'2017-12-04' => sprintf(LANGLEY, 3) . '/' . IPV6_PREFIX . VHOST,
+ '2021-09-05' => false,
$begin->format('Y-m-d') => PONTIFEX . '/' . IPV6_PREFIX . VHOST,
'filename' => IPV6_PREFIX . FILENAME,
],
@@ -162,7 +164,7 @@
$data = null;
foreach (PROTOCOLS as $protocol) {
$cache_file = "$CACHE_DIR/$protocol/$date_string.json";
- if (!file_exists($cache_file)) continue;
+ if (!file_exists($cache_file) or !filesize($cache_file)) continue;
error_log("[$date_string] [$protocol] load cache");
$data_new = json_decode(file_get_contents($cache_file), true);
@@ -408,8 +410,6 @@
if (!$database) {
$database =
InfluxDB\Client::fromDSN('influxdb://0.0.0.0:8086/osrt_access');
- $database->drop();
- $database->create();
}
if (!$database->writePoints($points, Database::PRECISION_SECONDS))
die('failed to write points');
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/openSUSE-release-tools-20211107.bab90ef3/metrics/access/ingest.php
new/openSUSE-release-tools-20211118.5f3b629b/metrics/access/ingest.php
--- old/openSUSE-release-tools-20211107.bab90ef3/metrics/access/ingest.php
2021-11-07 14:54:39.000000000 +0100
+++ new/openSUSE-release-tools-20211118.5f3b629b/metrics/access/ingest.php
2021-11-18 15:05:09.000000000 +0100
@@ -61,11 +61,13 @@
ksort($total_product);
ksort($unique_product);
-echo json_encode([
- 'total' => $total,
- 'total_product' => $total_product,
- 'unique_product' => $unique_product,
- 'total_image_product' => $total_image_product,
- 'total_invalid' => $total_invalid,
- 'bytes' => $position,
-]) . "\n"; // JSON_PRETTY_PRINT for debugging.
+if ($position) {
+ echo json_encode([
+ 'total' => $total,
+ 'total_product' => $total_product,
+ 'unique_product' => $unique_product,
+ 'total_image_product' => $total_image_product,
+ 'total_invalid' => $total_invalid,
+ 'bytes' => $position,
+ ]) . "\n"; // JSON_PRETTY_PRINT for debugging.
+}
++++++ openSUSE-release-tools.obsinfo ++++++
--- /var/tmp/diff_new_pack.agZxhF/_old 2021-11-20 02:40:22.956534173 +0100
+++ /var/tmp/diff_new_pack.agZxhF/_new 2021-11-20 02:40:22.956534173 +0100
@@ -1,5 +1,5 @@
name: openSUSE-release-tools
-version: 20211107.bab90ef3
-mtime: 1636293279
-commit: bab90ef34a61a1b333ff130324e919531d21ab04
+version: 20211118.5f3b629b
+mtime: 1637244309
+commit: 5f3b629be50d60f0a7b226d8548b3d5c1da95b5b