Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package icingaweb2-module-incubator for
openSUSE:Factory checked in at 2022-11-16 15:44:09
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/icingaweb2-module-incubator (Old)
and /work/SRC/openSUSE:Factory/.icingaweb2-module-incubator.new.1597 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "icingaweb2-module-incubator"
Wed Nov 16 15:44:09 2022 rev:7 rq:1036199 version:0.19.0
Changes:
--------
---
/work/SRC/openSUSE:Factory/icingaweb2-module-incubator/icingaweb2-module-incubator.changes
2022-09-22 14:50:08.678469678 +0200
+++
/work/SRC/openSUSE:Factory/.icingaweb2-module-incubator.new.1597/icingaweb2-module-incubator.changes
2022-11-16 15:44:10.444033963 +0100
@@ -1,0 +2,11 @@
+Wed Nov 16 10:28:33 UTC 2022 - ecsos <[email protected]>
+
+- Update to 0.19.0
+ - improved ProcessInfo serialization
+ - allow to use Cli\Screen w/o CLI
+ - curl: fix PHP 8.1 support in specific error conditions
+ - InfluxDB: fix v2 support
+ - InfluxDB: body compression
+ - InfluxDB: add header for debugging purposes
+
+-------------------------------------------------------------------
Old:
----
icingaweb2-module-incubator-0.18.0.tar.gz
New:
----
icingaweb2-module-incubator-0.19.0.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ icingaweb2-module-incubator.spec ++++++
--- /var/tmp/diff_new_pack.1CYK2k/_old 2022-11-16 15:44:10.840035908 +0100
+++ /var/tmp/diff_new_pack.1CYK2k/_new 2022-11-16 15:44:10.844035928 +0100
@@ -20,7 +20,7 @@
%define basedir %{_datadir}/icingaweb2
%define module_name incubator
Name: icingaweb2-module-%{module_name}
-Version: 0.18.0
+Version: 0.19.0
Release: 0
Summary: Bleeding edge Icinga Web 2 libraries
License: MIT
++++++ icingaweb2-module-incubator-0.18.0.tar.gz ->
icingaweb2-module-incubator-0.19.0.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/icingaweb2-module-incubator-0.18.0/README.md
new/icingaweb2-module-incubator-0.19.0/README.md
--- old/icingaweb2-module-incubator-0.18.0/README.md 2022-09-01
09:47:08.000000000 +0200
+++ new/icingaweb2-module-incubator-0.19.0/README.md 2022-10-07
16:11:28.000000000 +0200
@@ -12,7 +12,7 @@
```sh
MODULE_NAME=incubator
-MODULE_VERSION=v0.18.0
+MODULE_VERSION=v0.19.0
MODULES_PATH="/usr/share/icingaweb2/modules"
MODULE_PATH="${MODULES_PATH}/${MODULE_NAME}"
RELEASES="https://github.com/Icinga/icingaweb2-module-${MODULE_NAME}/archive"
@@ -27,7 +27,7 @@
```sh
MODULE_NAME=incubator
-MODULE_VERSION=v0.18.0
+MODULE_VERSION=v0.19.0
REPO="https://github.com/Icinga/icingaweb2-module-${MODULE_NAME}"
MODULES_PATH="/usr/share/icingaweb2/modules"
git clone ${REPO} "${MODULES_PATH}/${MODULE_NAME}" --branch "${MODULE_VERSION}"
@@ -47,11 +47,20 @@
e.g.
- ./bin/make-release.sh 0.18.0
+ ./bin/make-release.sh 0.19.0
Changes
-------
+### v0.19.0
+
+* improved ProcessInfo serialization
+* allow to use Cli\Screen w/o CLI
+* curl: fix PHP 8.1 support in specific error conditions
+* InfluxDB: fix v2 support
+* InfluxDB: body compression
+* InfluxDB: add header for debugging purposes
+
### v0.18.0
* cosmetic changes for Icinga Web
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/icingaweb2-module-incubator-0.18.0/composer.json
new/icingaweb2-module-incubator-0.19.0/composer.json
--- old/icingaweb2-module-incubator-0.18.0/composer.json 2022-09-01
09:47:08.000000000 +0200
+++ new/icingaweb2-module-incubator-0.19.0/composer.json 2022-10-07
16:11:28.000000000 +0200
@@ -17,9 +17,9 @@
"require": {
"php": ">=5.6.3",
"ext-ctype": "*",
- "gipfl/calendar": ">=0.2",
- "gipfl/cli": ">=0.5.1",
- "gipfl/curl": ">=0.2",
+ "gipfl/calendar": ">=0.3",
+ "gipfl/cli": ">=0.6",
+ "gipfl/curl": ">=0.3",
"gipfl/data-type": ">=0.3.0",
"gipfl/db-migration": ">=0.1.1",
"gipfl/diff": ">=0.3",
@@ -27,15 +27,15 @@
"gipfl/icinga-bundles": ">=0.7",
"gipfl/icinga-cli-daemon": ">=0.3.2",
"gipfl/icingaweb2": ">=0.9",
- "gipfl/influxdb": ">=0.3",
+ "gipfl/influxdb": ">=0.5",
"gipfl/json": ">=0.2",
"gipfl/linux-health": ">=0.2",
"gipfl/log": ">=0.7",
- "gipfl/process": ">=0.3",
+ "gipfl/process": ">=0.4",
"gipfl/protocol-jsonrpc": ">=0.10",
"gipfl/protocol-netstring": ">=0.1.1",
"gipfl/react-utils": ">=0.3",
- "gipfl/simple-daemon": ">=0.5.1",
+ "gipfl/simple-daemon": ">=0.6",
"gipfl/socket": ">=0.4",
"gipfl/stream": ">=0.2",
"gipfl/systemd": ">=0.3",
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/icingaweb2-module-incubator-0.18.0/composer.lock
new/icingaweb2-module-incubator-0.19.0/composer.lock
--- old/icingaweb2-module-incubator-0.18.0/composer.lock 2022-09-01
09:47:08.000000000 +0200
+++ new/icingaweb2-module-incubator-0.19.0/composer.lock 2022-10-07
16:11:28.000000000 +0200
@@ -4,20 +4,20 @@
"Read more about it at
https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
"This file is @generated automatically"
],
- "content-hash": "0cdc2c3bc267730094443d61e74da79d",
+ "content-hash": "fcf9edab6e7aa9b3c469243974ea29c2",
"packages": [
{
"name": "gipfl/calendar",
- "version": "v0.2.0",
+ "version": "v0.3.0",
"source": {
"type": "git",
"url": "https://github.com/gipfl/calendar.git",
- "reference": "a8b24f375c36fb8bb70034423c70299d07bddc81"
+ "reference": "3194897cd5181d63915b33946c20138ff4e732ef"
},
"dist": {
"type": "zip",
- "url":
"https://api.github.com/repos/gipfl/calendar/zipball/a8b24f375c36fb8bb70034423c70299d07bddc81",
- "reference": "a8b24f375c36fb8bb70034423c70299d07bddc81",
+ "url":
"https://api.github.com/repos/gipfl/calendar/zipball/3194897cd5181d63915b33946c20138ff4e732ef",
+ "reference": "3194897cd5181d63915b33946c20138ff4e732ef",
"shasum": ""
},
"require": {
@@ -46,22 +46,22 @@
],
"support": {
"issues": "https://github.com/gipfl/calendar/issues",
- "source": "https://github.com/gipfl/calendar/tree/v0.2.0"
+ "source": "https://github.com/gipfl/calendar/tree/v0.3.0"
},
- "time": "2021-12-06T16:31:58+00:00"
+ "time": "2022-09-19T09:45:03+00:00"
},
{
"name": "gipfl/cli",
- "version": "v0.5.1",
+ "version": "v0.6.0",
"source": {
"type": "git",
"url": "https://github.com/gipfl/cli.git",
- "reference": "9fc6f25598f208c1bafaa4b9ee87d0465fdf2452"
+ "reference": "536dec1fa605aa98aef32421cd70bf71e46406d0"
},
"dist": {
"type": "zip",
- "url":
"https://api.github.com/repos/gipfl/cli/zipball/9fc6f25598f208c1bafaa4b9ee87d0465fdf2452",
- "reference": "9fc6f25598f208c1bafaa4b9ee87d0465fdf2452",
+ "url":
"https://api.github.com/repos/gipfl/cli/zipball/536dec1fa605aa98aef32421cd70bf71e46406d0",
+ "reference": "536dec1fa605aa98aef32421cd70bf71e46406d0",
"shasum": ""
},
"require": {
@@ -94,22 +94,22 @@
"description": "CLI utilities",
"support": {
"issues": "https://github.com/gipfl/cli/issues",
- "source": "https://github.com/gipfl/cli/tree/v0.5.1"
+ "source": "https://github.com/gipfl/cli/tree/v0.6.0"
},
- "time": "2021-11-22T16:07:17+00:00"
+ "time": "2022-10-07T13:11:48+00:00"
},
{
"name": "gipfl/curl",
- "version": "v0.2.0",
+ "version": "v0.3.0",
"source": {
"type": "git",
"url": "https://github.com/gipfl/curl.git",
- "reference": "20459fd8c68d86e3df30eb76f1938cc72c25d4fa"
+ "reference": "bc1373dff8ab247c734d019d0fe7d94521660b1f"
},
"dist": {
"type": "zip",
- "url":
"https://api.github.com/repos/gipfl/curl/zipball/20459fd8c68d86e3df30eb76f1938cc72c25d4fa",
- "reference": "20459fd8c68d86e3df30eb76f1938cc72c25d4fa",
+ "url":
"https://api.github.com/repos/gipfl/curl/zipball/bc1373dff8ab247c734d019d0fe7d94521660b1f",
+ "reference": "bc1373dff8ab247c734d019d0fe7d94521660b1f",
"shasum": ""
},
"require": {
@@ -140,9 +140,9 @@
"description": "ReactPHP-friendly async CURL abstraction",
"support": {
"issues": "https://github.com/gipfl/curl/issues",
- "source": "https://github.com/gipfl/curl/tree/v0.2.0"
+ "source": "https://github.com/gipfl/curl/tree/v0.3.0"
},
- "time": "2022-04-11T15:31:45+00:00"
+ "time": "2022-10-07T13:34:17+00:00"
},
{
"name": "gipfl/data-type",
@@ -454,16 +454,16 @@
},
{
"name": "gipfl/influxdb",
- "version": "v0.4.0",
+ "version": "v0.5.0",
"source": {
"type": "git",
"url": "https://github.com/gipfl/influxdb.git",
- "reference": "308cfe528ae7632bce5506956d7dfbad4e4e8d19"
+ "reference": "0b7b46ceecb1a6c9fcd738973f773d23d97b374a"
},
"dist": {
"type": "zip",
- "url":
"https://api.github.com/repos/gipfl/influxdb/zipball/308cfe528ae7632bce5506956d7dfbad4e4e8d19",
- "reference": "308cfe528ae7632bce5506956d7dfbad4e4e8d19",
+ "url":
"https://api.github.com/repos/gipfl/influxdb/zipball/0b7b46ceecb1a6c9fcd738973f773d23d97b374a",
+ "reference": "0b7b46ceecb1a6c9fcd738973f773d23d97b374a",
"shasum": ""
},
"require": {
@@ -493,9 +493,9 @@
"description": "InfluxDB client library",
"support": {
"issues": "https://github.com/gipfl/influxdb/issues",
- "source": "https://github.com/gipfl/influxdb/tree/v0.4.0"
+ "source": "https://github.com/gipfl/influxdb/tree/v0.5.0"
},
- "time": "2022-01-12T13:35:26+00:00"
+ "time": "2022-10-07T13:57:22+00:00"
},
{
"name": "gipfl/json",
@@ -666,16 +666,16 @@
},
{
"name": "gipfl/process",
- "version": "v0.3.0",
+ "version": "v0.4.0",
"source": {
"type": "git",
"url": "https://github.com/gipfl/process.git",
- "reference": "22cae0a5791d7760e5defa28c7f7360f3bf78db3"
+ "reference": "ddbc3971cf56b35ce17d7cc8aaf241e87a792938"
},
"dist": {
"type": "zip",
- "url":
"https://api.github.com/repos/gipfl/process/zipball/22cae0a5791d7760e5defa28c7f7360f3bf78db3",
- "reference": "22cae0a5791d7760e5defa28c7f7360f3bf78db3",
+ "url":
"https://api.github.com/repos/gipfl/process/zipball/ddbc3971cf56b35ce17d7cc8aaf241e87a792938",
+ "reference": "ddbc3971cf56b35ce17d7cc8aaf241e87a792938",
"shasum": ""
},
"require": {
@@ -705,9 +705,9 @@
"description": "Process-related utility classes",
"support": {
"issues": "https://github.com/gipfl/process/issues",
- "source": "https://github.com/gipfl/process/tree/v0.3.0"
+ "source": "https://github.com/gipfl/process/tree/v0.4.0"
},
- "time": "2021-11-29T13:50:33+00:00"
+ "time": "2022-09-02T09:03:58+00:00"
},
{
"name": "gipfl/protocol",
@@ -888,29 +888,29 @@
},
{
"name": "gipfl/simple-daemon",
- "version": "v0.5.1",
+ "version": "v0.6.0",
"source": {
"type": "git",
"url": "https://github.com/gipfl/simple-daemon.git",
- "reference": "67d9265d19284141fd8166bf6c412394a14e72c7"
+ "reference": "b7cd3be54c171d20c6692dbb331a3ae6fe90f276"
},
"dist": {
"type": "zip",
- "url":
"https://api.github.com/repos/gipfl/simple-daemon/zipball/67d9265d19284141fd8166bf6c412394a14e72c7",
- "reference": "67d9265d19284141fd8166bf6c412394a14e72c7",
+ "url":
"https://api.github.com/repos/gipfl/simple-daemon/zipball/b7cd3be54c171d20c6692dbb331a3ae6fe90f276",
+ "reference": "b7cd3be54c171d20c6692dbb331a3ae6fe90f276",
"shasum": ""
},
"require": {
"evenement/evenement": "*",
"ext-pcntl": "*",
- "gipfl/cli": "^0.5.0",
+ "gipfl/cli": ">=0.5",
"gipfl/json": ">=0.1",
"gipfl/systemd": ">=0.3",
"php": ">=5.6.0",
"psr/log": ">=1.0",
"react/event-loop": ">=1.1",
"react/promise": "^2",
- "react/promise-timer": "^1.5"
+ "react/promise-timer": ">=1.5"
},
"type": "library",
"autoload": {
@@ -931,9 +931,9 @@
"description": "Run a simple daemon",
"support": {
"issues": "https://github.com/gipfl/simple-daemon/issues",
- "source": "https://github.com/gipfl/simple-daemon/tree/v0.5.1"
+ "source": "https://github.com/gipfl/simple-daemon/tree/v0.6.0"
},
- "time": "2022-01-12T07:39:35+00:00"
+ "time": "2022-10-07T14:08:26+00:00"
},
{
"name": "gipfl/socket",
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/icingaweb2-module-incubator-0.18.0/module.info
new/icingaweb2-module-incubator-0.19.0/module.info
--- old/icingaweb2-module-incubator-0.18.0/module.info 2022-09-01
09:47:08.000000000 +0200
+++ new/icingaweb2-module-incubator-0.19.0/module.info 2022-10-07
16:11:28.000000000 +0200
@@ -1,5 +1,5 @@
Name: Incubator
-Version: 0.18.0
+Version: 0.19.0
Depends: ipl (>=0.5.0), reactbundle (>=0.8.0)
Description: Incubator provides bleeding-edge libraries
This repository ships libraries useful for Icinga Web 2 modules. Please
download
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/icingaweb2-module-incubator-0.18.0/vendor/autoload.php
new/icingaweb2-module-incubator-0.19.0/vendor/autoload.php
--- old/icingaweb2-module-incubator-0.18.0/vendor/autoload.php 2022-09-01
09:47:08.000000000 +0200
+++ new/icingaweb2-module-incubator-0.19.0/vendor/autoload.php 2022-10-07
16:11:28.000000000 +0200
@@ -4,4 +4,4 @@
require_once __DIR__ . '/composer/autoload_real.php';
-return ComposerAutoloaderInit0202b30fbb05d6a79591e8594014ce34::getLoader();
+return ComposerAutoloaderInit573004be9405631fe9f7a831f5ef7722::getLoader();
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/icingaweb2-module-incubator-0.18.0/vendor/composer/autoload_real.php
new/icingaweb2-module-incubator-0.19.0/vendor/composer/autoload_real.php
--- old/icingaweb2-module-incubator-0.18.0/vendor/composer/autoload_real.php
2022-09-01 09:47:08.000000000 +0200
+++ new/icingaweb2-module-incubator-0.19.0/vendor/composer/autoload_real.php
2022-10-07 16:11:28.000000000 +0200
@@ -2,7 +2,7 @@
// autoload_real.php @generated by Composer
-class ComposerAutoloaderInit0202b30fbb05d6a79591e8594014ce34
+class ComposerAutoloaderInit573004be9405631fe9f7a831f5ef7722
{
private static $loader;
@@ -24,15 +24,15 @@
require __DIR__ . '/platform_check.php';
-
spl_autoload_register(array('ComposerAutoloaderInit0202b30fbb05d6a79591e8594014ce34',
'loadClassLoader'), true, true);
+
spl_autoload_register(array('ComposerAutoloaderInit573004be9405631fe9f7a831f5ef7722',
'loadClassLoader'), true, true);
self::$loader = $loader = new
\Composer\Autoload\ClassLoader(\dirname(\dirname(__FILE__)));
-
spl_autoload_unregister(array('ComposerAutoloaderInit0202b30fbb05d6a79591e8594014ce34',
'loadClassLoader'));
+
spl_autoload_unregister(array('ComposerAutoloaderInit573004be9405631fe9f7a831f5ef7722',
'loadClassLoader'));
$useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION')
&& (!function_exists('zend_loader_file_encoded') ||
!zend_loader_file_encoded());
if ($useStaticLoader) {
require __DIR__ . '/autoload_static.php';
-
call_user_func(\Composer\Autoload\ComposerStaticInit0202b30fbb05d6a79591e8594014ce34::getInitializer($loader));
+
call_user_func(\Composer\Autoload\ComposerStaticInit573004be9405631fe9f7a831f5ef7722::getInitializer($loader));
} else {
$map = require __DIR__ . '/autoload_namespaces.php';
foreach ($map as $namespace => $path) {
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/icingaweb2-module-incubator-0.18.0/vendor/composer/autoload_static.php
new/icingaweb2-module-incubator-0.19.0/vendor/composer/autoload_static.php
--- old/icingaweb2-module-incubator-0.18.0/vendor/composer/autoload_static.php
2022-09-01 09:47:08.000000000 +0200
+++ new/icingaweb2-module-incubator-0.19.0/vendor/composer/autoload_static.php
2022-10-07 16:11:28.000000000 +0200
@@ -4,7 +4,7 @@
namespace Composer\Autoload;
-class ComposerStaticInit0202b30fbb05d6a79591e8594014ce34
+class ComposerStaticInit573004be9405631fe9f7a831f5ef7722
{
public static $prefixLengthsPsr4 = array (
'g' =>
@@ -170,9 +170,9 @@
public static function getInitializer(ClassLoader $loader)
{
return \Closure::bind(function () use ($loader) {
- $loader->prefixLengthsPsr4 =
ComposerStaticInit0202b30fbb05d6a79591e8594014ce34::$prefixLengthsPsr4;
- $loader->prefixDirsPsr4 =
ComposerStaticInit0202b30fbb05d6a79591e8594014ce34::$prefixDirsPsr4;
- $loader->classMap =
ComposerStaticInit0202b30fbb05d6a79591e8594014ce34::$classMap;
+ $loader->prefixLengthsPsr4 =
ComposerStaticInit573004be9405631fe9f7a831f5ef7722::$prefixLengthsPsr4;
+ $loader->prefixDirsPsr4 =
ComposerStaticInit573004be9405631fe9f7a831f5ef7722::$prefixDirsPsr4;
+ $loader->classMap =
ComposerStaticInit573004be9405631fe9f7a831f5ef7722::$classMap;
}, null, ClassLoader::class);
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/icingaweb2-module-incubator-0.18.0/vendor/composer/installed.json
new/icingaweb2-module-incubator-0.19.0/vendor/composer/installed.json
--- old/icingaweb2-module-incubator-0.18.0/vendor/composer/installed.json
2022-09-01 09:47:08.000000000 +0200
+++ new/icingaweb2-module-incubator-0.19.0/vendor/composer/installed.json
2022-10-07 16:11:28.000000000 +0200
@@ -2,17 +2,17 @@
"packages": [
{
"name": "gipfl/calendar",
- "version": "v0.2.0",
- "version_normalized": "0.2.0.0",
+ "version": "v0.3.0",
+ "version_normalized": "0.3.0.0",
"source": {
"type": "git",
"url": "https://github.com/gipfl/calendar.git",
- "reference": "a8b24f375c36fb8bb70034423c70299d07bddc81"
+ "reference": "3194897cd5181d63915b33946c20138ff4e732ef"
},
"dist": {
"type": "zip",
- "url":
"https://api.github.com/repos/gipfl/calendar/zipball/a8b24f375c36fb8bb70034423c70299d07bddc81",
- "reference": "a8b24f375c36fb8bb70034423c70299d07bddc81",
+ "url":
"https://api.github.com/repos/gipfl/calendar/zipball/3194897cd5181d63915b33946c20138ff4e732ef",
+ "reference": "3194897cd5181d63915b33946c20138ff4e732ef",
"shasum": ""
},
"require": {
@@ -21,7 +21,7 @@
"gipfl/translation": ">=0.1.1",
"php": ">=5.4.0"
},
- "time": "2021-12-06T16:31:58+00:00",
+ "time": "2022-09-19T09:45:03+00:00",
"type": "library",
"installation-source": "dist",
"autoload": {
@@ -43,23 +43,23 @@
],
"support": {
"issues": "https://github.com/gipfl/calendar/issues",
- "source": "https://github.com/gipfl/calendar/tree/v0.2.0"
+ "source": "https://github.com/gipfl/calendar/tree/v0.3.0"
},
"install-path": "../gipfl/calendar"
},
{
"name": "gipfl/cli",
- "version": "v0.5.1",
- "version_normalized": "0.5.1.0",
+ "version": "v0.6.0",
+ "version_normalized": "0.6.0.0",
"source": {
"type": "git",
"url": "https://github.com/gipfl/cli.git",
- "reference": "9fc6f25598f208c1bafaa4b9ee87d0465fdf2452"
+ "reference": "536dec1fa605aa98aef32421cd70bf71e46406d0"
},
"dist": {
"type": "zip",
- "url":
"https://api.github.com/repos/gipfl/cli/zipball/9fc6f25598f208c1bafaa4b9ee87d0465fdf2452",
- "reference": "9fc6f25598f208c1bafaa4b9ee87d0465fdf2452",
+ "url":
"https://api.github.com/repos/gipfl/cli/zipball/536dec1fa605aa98aef32421cd70bf71e46406d0",
+ "reference": "536dec1fa605aa98aef32421cd70bf71e46406d0",
"shasum": ""
},
"require": {
@@ -73,7 +73,7 @@
"require-dev": {
"react/child-process": ">=0.6"
},
- "time": "2021-11-22T16:07:17+00:00",
+ "time": "2022-10-07T13:11:48+00:00",
"type": "library",
"installation-source": "dist",
"autoload": {
@@ -94,23 +94,23 @@
"description": "CLI utilities",
"support": {
"issues": "https://github.com/gipfl/cli/issues",
- "source": "https://github.com/gipfl/cli/tree/v0.5.1"
+ "source": "https://github.com/gipfl/cli/tree/v0.6.0"
},
"install-path": "../gipfl/cli"
},
{
"name": "gipfl/curl",
- "version": "v0.2.0",
- "version_normalized": "0.2.0.0",
+ "version": "v0.3.0",
+ "version_normalized": "0.3.0.0",
"source": {
"type": "git",
"url": "https://github.com/gipfl/curl.git",
- "reference": "20459fd8c68d86e3df30eb76f1938cc72c25d4fa"
+ "reference": "bc1373dff8ab247c734d019d0fe7d94521660b1f"
},
"dist": {
"type": "zip",
- "url":
"https://api.github.com/repos/gipfl/curl/zipball/20459fd8c68d86e3df30eb76f1938cc72c25d4fa",
- "reference": "20459fd8c68d86e3df30eb76f1938cc72c25d4fa",
+ "url":
"https://api.github.com/repos/gipfl/curl/zipball/bc1373dff8ab247c734d019d0fe7d94521660b1f",
+ "reference": "bc1373dff8ab247c734d019d0fe7d94521660b1f",
"shasum": ""
},
"require": {
@@ -122,7 +122,7 @@
"react/promise": ">=2",
"react/stream": ">=1.0"
},
- "time": "2022-04-11T15:31:45+00:00",
+ "time": "2022-10-07T13:34:17+00:00",
"type": "library",
"installation-source": "dist",
"autoload": {
@@ -143,7 +143,7 @@
"description": "ReactPHP-friendly async CURL abstraction",
"support": {
"issues": "https://github.com/gipfl/curl/issues",
- "source": "https://github.com/gipfl/curl/tree/v0.2.0"
+ "source": "https://github.com/gipfl/curl/tree/v0.3.0"
},
"install-path": "../gipfl/curl"
},
@@ -477,17 +477,17 @@
},
{
"name": "gipfl/influxdb",
- "version": "v0.4.0",
- "version_normalized": "0.4.0.0",
+ "version": "v0.5.0",
+ "version_normalized": "0.5.0.0",
"source": {
"type": "git",
"url": "https://github.com/gipfl/influxdb.git",
- "reference": "308cfe528ae7632bce5506956d7dfbad4e4e8d19"
+ "reference": "0b7b46ceecb1a6c9fcd738973f773d23d97b374a"
},
"dist": {
"type": "zip",
- "url":
"https://api.github.com/repos/gipfl/influxdb/zipball/308cfe528ae7632bce5506956d7dfbad4e4e8d19",
- "reference": "308cfe528ae7632bce5506956d7dfbad4e4e8d19",
+ "url":
"https://api.github.com/repos/gipfl/influxdb/zipball/0b7b46ceecb1a6c9fcd738973f773d23d97b374a",
+ "reference": "0b7b46ceecb1a6c9fcd738973f773d23d97b374a",
"shasum": ""
},
"require": {
@@ -498,7 +498,7 @@
"php": ">=5.6.0",
"react/event-loop": ">=1.1"
},
- "time": "2022-01-12T13:35:26+00:00",
+ "time": "2022-10-07T13:57:22+00:00",
"type": "library",
"installation-source": "dist",
"autoload": {
@@ -519,7 +519,7 @@
"description": "InfluxDB client library",
"support": {
"issues": "https://github.com/gipfl/influxdb/issues",
- "source": "https://github.com/gipfl/influxdb/tree/v0.4.0"
+ "source": "https://github.com/gipfl/influxdb/tree/v0.5.0"
},
"install-path": "../gipfl/influxdb"
},
@@ -704,17 +704,17 @@
},
{
"name": "gipfl/process",
- "version": "v0.3.0",
- "version_normalized": "0.3.0.0",
+ "version": "v0.4.0",
+ "version_normalized": "0.4.0.0",
"source": {
"type": "git",
"url": "https://github.com/gipfl/process.git",
- "reference": "22cae0a5791d7760e5defa28c7f7360f3bf78db3"
+ "reference": "ddbc3971cf56b35ce17d7cc8aaf241e87a792938"
},
"dist": {
"type": "zip",
- "url":
"https://api.github.com/repos/gipfl/process/zipball/22cae0a5791d7760e5defa28c7f7360f3bf78db3",
- "reference": "22cae0a5791d7760e5defa28c7f7360f3bf78db3",
+ "url":
"https://api.github.com/repos/gipfl/process/zipball/ddbc3971cf56b35ce17d7cc8aaf241e87a792938",
+ "reference": "ddbc3971cf56b35ce17d7cc8aaf241e87a792938",
"shasum": ""
},
"require": {
@@ -725,7 +725,7 @@
"react/child-process": ">=0.6",
"react/promise": "^2"
},
- "time": "2021-11-29T13:50:33+00:00",
+ "time": "2022-09-02T09:03:58+00:00",
"type": "library",
"installation-source": "dist",
"autoload": {
@@ -746,7 +746,7 @@
"description": "Process-related utility classes",
"support": {
"issues": "https://github.com/gipfl/process/issues",
- "source": "https://github.com/gipfl/process/tree/v0.3.0"
+ "source": "https://github.com/gipfl/process/tree/v0.4.0"
},
"install-path": "../gipfl/process"
},
@@ -941,32 +941,32 @@
},
{
"name": "gipfl/simple-daemon",
- "version": "v0.5.1",
- "version_normalized": "0.5.1.0",
+ "version": "v0.6.0",
+ "version_normalized": "0.6.0.0",
"source": {
"type": "git",
"url": "https://github.com/gipfl/simple-daemon.git",
- "reference": "67d9265d19284141fd8166bf6c412394a14e72c7"
+ "reference": "b7cd3be54c171d20c6692dbb331a3ae6fe90f276"
},
"dist": {
"type": "zip",
- "url":
"https://api.github.com/repos/gipfl/simple-daemon/zipball/67d9265d19284141fd8166bf6c412394a14e72c7",
- "reference": "67d9265d19284141fd8166bf6c412394a14e72c7",
+ "url":
"https://api.github.com/repos/gipfl/simple-daemon/zipball/b7cd3be54c171d20c6692dbb331a3ae6fe90f276",
+ "reference": "b7cd3be54c171d20c6692dbb331a3ae6fe90f276",
"shasum": ""
},
"require": {
"evenement/evenement": "*",
"ext-pcntl": "*",
- "gipfl/cli": "^0.5.0",
+ "gipfl/cli": ">=0.5",
"gipfl/json": ">=0.1",
"gipfl/systemd": ">=0.3",
"php": ">=5.6.0",
"psr/log": ">=1.0",
"react/event-loop": ">=1.1",
"react/promise": "^2",
- "react/promise-timer": "^1.5"
+ "react/promise-timer": ">=1.5"
},
- "time": "2022-01-12T07:39:35+00:00",
+ "time": "2022-10-07T14:08:26+00:00",
"type": "library",
"installation-source": "dist",
"autoload": {
@@ -987,7 +987,7 @@
"description": "Run a simple daemon",
"support": {
"issues": "https://github.com/gipfl/simple-daemon/issues",
- "source": "https://github.com/gipfl/simple-daemon/tree/v0.5.1"
+ "source": "https://github.com/gipfl/simple-daemon/tree/v0.6.0"
},
"install-path": "../gipfl/simple-daemon"
},
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/icingaweb2-module-incubator-0.18.0/vendor/composer/installed.php
new/icingaweb2-module-incubator-0.19.0/vendor/composer/installed.php
--- old/icingaweb2-module-incubator-0.18.0/vendor/composer/installed.php
2022-09-01 09:47:08.000000000 +0200
+++ new/icingaweb2-module-incubator-0.19.0/vendor/composer/installed.php
2022-10-07 16:11:28.000000000 +0200
@@ -5,7 +5,7 @@
'type' => 'library',
'install_path' => __DIR__ . '/../../',
'aliases' => array(),
- 'reference' => '073a81b4179534729edb4be281783e8295ba5c7c',
+ 'reference' => 'f016f00c9ff8355280b284ab65aed253d20b84ff',
'name' => 'icinga/incubator',
'dev' => true,
),
@@ -95,30 +95,30 @@
),
),
'gipfl/calendar' => array(
- 'pretty_version' => 'v0.2.0',
- 'version' => '0.2.0.0',
+ 'pretty_version' => 'v0.3.0',
+ 'version' => '0.3.0.0',
'type' => 'library',
'install_path' => __DIR__ . '/../gipfl/calendar',
'aliases' => array(),
- 'reference' => 'a8b24f375c36fb8bb70034423c70299d07bddc81',
+ 'reference' => '3194897cd5181d63915b33946c20138ff4e732ef',
'dev_requirement' => false,
),
'gipfl/cli' => array(
- 'pretty_version' => 'v0.5.1',
- 'version' => '0.5.1.0',
+ 'pretty_version' => 'v0.6.0',
+ 'version' => '0.6.0.0',
'type' => 'library',
'install_path' => __DIR__ . '/../gipfl/cli',
'aliases' => array(),
- 'reference' => '9fc6f25598f208c1bafaa4b9ee87d0465fdf2452',
+ 'reference' => '536dec1fa605aa98aef32421cd70bf71e46406d0',
'dev_requirement' => false,
),
'gipfl/curl' => array(
- 'pretty_version' => 'v0.2.0',
- 'version' => '0.2.0.0',
+ 'pretty_version' => 'v0.3.0',
+ 'version' => '0.3.0.0',
'type' => 'library',
'install_path' => __DIR__ . '/../gipfl/curl',
'aliases' => array(),
- 'reference' => '20459fd8c68d86e3df30eb76f1938cc72c25d4fa',
+ 'reference' => 'bc1373dff8ab247c734d019d0fe7d94521660b1f',
'dev_requirement' => false,
),
'gipfl/data-type' => array(
@@ -185,12 +185,12 @@
'dev_requirement' => false,
),
'gipfl/influxdb' => array(
- 'pretty_version' => 'v0.4.0',
- 'version' => '0.4.0.0',
+ 'pretty_version' => 'v0.5.0',
+ 'version' => '0.5.0.0',
'type' => 'library',
'install_path' => __DIR__ . '/../gipfl/influxdb',
'aliases' => array(),
- 'reference' => '308cfe528ae7632bce5506956d7dfbad4e4e8d19',
+ 'reference' => '0b7b46ceecb1a6c9fcd738973f773d23d97b374a',
'dev_requirement' => false,
),
'gipfl/json' => array(
@@ -230,12 +230,12 @@
'dev_requirement' => false,
),
'gipfl/process' => array(
- 'pretty_version' => 'v0.3.0',
- 'version' => '0.3.0.0',
+ 'pretty_version' => 'v0.4.0',
+ 'version' => '0.4.0.0',
'type' => 'library',
'install_path' => __DIR__ . '/../gipfl/process',
'aliases' => array(),
- 'reference' => '22cae0a5791d7760e5defa28c7f7360f3bf78db3',
+ 'reference' => 'ddbc3971cf56b35ce17d7cc8aaf241e87a792938',
'dev_requirement' => false,
),
'gipfl/protocol' => array(
@@ -275,12 +275,12 @@
'dev_requirement' => false,
),
'gipfl/simple-daemon' => array(
- 'pretty_version' => 'v0.5.1',
- 'version' => '0.5.1.0',
+ 'pretty_version' => 'v0.6.0',
+ 'version' => '0.6.0.0',
'type' => 'library',
'install_path' => __DIR__ . '/../gipfl/simple-daemon',
'aliases' => array(),
- 'reference' => '67d9265d19284141fd8166bf6c412394a14e72c7',
+ 'reference' => 'b7cd3be54c171d20c6692dbb331a3ae6fe90f276',
'dev_requirement' => false,
),
'gipfl/socket' => array(
@@ -358,7 +358,7 @@
'type' => 'library',
'install_path' => __DIR__ . '/../../',
'aliases' => array(),
- 'reference' => '073a81b4179534729edb4be281783e8295ba5c7c',
+ 'reference' => 'f016f00c9ff8355280b284ab65aed253d20b84ff',
'dev_requirement' => false,
),
'ipl/html' => array(
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/icingaweb2-module-incubator-0.18.0/vendor/gipfl/calendar/src/Calendar.php
new/icingaweb2-module-incubator-0.19.0/vendor/gipfl/calendar/src/Calendar.php
---
old/icingaweb2-module-incubator-0.18.0/vendor/gipfl/calendar/src/Calendar.php
2022-09-01 09:47:08.000000000 +0200
+++
new/icingaweb2-module-incubator-0.19.0/vendor/gipfl/calendar/src/Calendar.php
2022-10-07 16:11:28.000000000 +0200
@@ -59,7 +59,7 @@
}
for ($i = 0; $i < 7; $i++) {
- $day = strtotime("$start +${i}days");
+ $day = strtotime("$start +{$i}days");
$this->weekDays[] = $this->timeFormat->getWeekdayName($day);
$this->shortWeekDays[] =
$this->timeFormat->getShortWeekdayName($day);
}
@@ -153,7 +153,7 @@
$dow = $this->getWeekDay(strtotime($day));
if ($dow > $firstOfWeek) {
$sub = $dow - $firstOfWeek;
- return date('Y-m-d', strtotime("$day -${sub}day"));
+ return date('Y-m-d', strtotime("$day -{$sub}day"));
} else {
return $day;
}
@@ -173,7 +173,7 @@
$lastOfWeek = $firstOfWeek + 6;
if ($dow < $lastOfWeek) {
$add = $lastOfWeek - $dow;
- return date('Y-m-d', strtotime("$day +${add}day"));
+ return static::expressionToDate(static::incDay($day, $add));
} else {
return $day;
}
@@ -185,9 +185,9 @@
// 0 = Sunday
if ($this->firstOfWeekIsSunday() && $this->getWeekDay($time) === 0) {
if (substr($time, 4, 6) === '-12-31') {
- return (int) date('W', strtotime("$day -1day"));
+ return (int) date('W', strtotime(static::decDay($day)));
} else {
- return (int) date('W', strtotime("$day +1day"));
+ return (int) date('W', strtotime(static::incDay($day)));
}
} else {
return (int) date('W', $time);
@@ -223,4 +223,24 @@
return $weeks;
}
+
+ protected static function expressionToDate($expression)
+ {
+ return date('Y-m-d', strtotime($expression));
+ }
+
+ /**
+ * @param string $day
+ * @param int $increment days to add
+ * @return string
+ */
+ protected static function incDay($day, $increment = 1)
+ {
+ return sprintf('%s +%dday', $day, $increment);
+ }
+
+ protected static function decDay($day, $decrement = 1)
+ {
+ return sprintf('%s -%dday', $day, $decrement);
+ }
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/icingaweb2-module-incubator-0.18.0/vendor/gipfl/calendar/src/Widget/CalendarMonthSummary.php
new/icingaweb2-module-incubator-0.19.0/vendor/gipfl/calendar/src/Widget/CalendarMonthSummary.php
---
old/icingaweb2-module-incubator-0.18.0/vendor/gipfl/calendar/src/Widget/CalendarMonthSummary.php
2022-09-01 09:47:08.000000000 +0200
+++
new/icingaweb2-module-incubator-0.19.0/vendor/gipfl/calendar/src/Widget/CalendarMonthSummary.php
2022-10-07 16:11:28.000000000 +0200
@@ -248,7 +248,6 @@
protected function getMonthName()
{
return $this->timeFormat->getMonthName($this->getMonthAsTimestamp());
-
}
protected function createWeekdayHeader()
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/icingaweb2-module-incubator-0.18.0/vendor/gipfl/cli/src/Screen.php
new/icingaweb2-module-incubator-0.19.0/vendor/gipfl/cli/src/Screen.php
--- old/icingaweb2-module-incubator-0.18.0/vendor/gipfl/cli/src/Screen.php
2022-09-01 09:47:08.000000000 +0200
+++ new/icingaweb2-module-incubator-0.19.0/vendor/gipfl/cli/src/Screen.php
2022-10-07 16:11:28.000000000 +0200
@@ -27,6 +27,9 @@
*/
public static function factory()
{
+ if (! defined('STDOUT')) {
+ return new Screen();
+ }
if (\function_exists('posix_isatty') && \posix_isatty(STDOUT)) {
return new AnsiScreen();
} else {
@@ -168,13 +171,13 @@
// null should equal 0 here, however seems to equal '' on some
systems:
$current = \setlocale(LC_ALL, 0);
- $parts = \preg_split('/;/', $current);
+ $parts = explode(';', $current);
$lc_parts = [];
foreach ($parts as $part) {
if (\strpos($part, '=') === false) {
continue;
}
- list($key, $val) = \preg_split('/=/', $part, 2);
+ list($key, $val) = explode('=', $part, 2);
$lc_parts[$key] = $val;
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/icingaweb2-module-incubator-0.18.0/vendor/gipfl/curl/src/RequestError.php
new/icingaweb2-module-incubator-0.19.0/vendor/gipfl/curl/src/RequestError.php
---
old/icingaweb2-module-incubator-0.18.0/vendor/gipfl/curl/src/RequestError.php
2022-09-01 09:47:08.000000000 +0200
+++
new/icingaweb2-module-incubator-0.19.0/vendor/gipfl/curl/src/RequestError.php
2022-10-07 16:11:28.000000000 +0200
@@ -17,9 +17,9 @@
public function __construct(
$message,
RequestInterface $request,
- ResponseInterface $response = null,
+ ?ResponseInterface $response = null,
$code = 0,
- Exception $previous = null
+ ?Exception $previous = null
) {
parent::__construct($message, $code, $previous);
$this->request = $request;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/icingaweb2-module-incubator-0.18.0/vendor/gipfl/influxdb/src/Escape.php
new/icingaweb2-module-incubator-0.19.0/vendor/gipfl/influxdb/src/Escape.php
--- old/icingaweb2-module-incubator-0.18.0/vendor/gipfl/influxdb/src/Escape.php
2022-09-01 09:47:08.000000000 +0200
+++ new/icingaweb2-module-incubator-0.19.0/vendor/gipfl/influxdb/src/Escape.php
2022-10-07 16:11:28.000000000 +0200
@@ -47,7 +47,7 @@
{
// Faster checks first
if (is_int($value) || ctype_digit($value) || preg_match('/^-\d+$/',
$value)) {
- return "${value}i";
+ return "{$value}i";
} elseif (is_bool($value)) {
return $value ? self::TRUE : self::FALSE;
} elseif (is_null($value)) {
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/icingaweb2-module-incubator-0.18.0/vendor/gipfl/influxdb/src/InfluxDbConnectionFactory.php
new/icingaweb2-module-incubator-0.19.0/vendor/gipfl/influxdb/src/InfluxDbConnectionFactory.php
---
old/icingaweb2-module-incubator-0.18.0/vendor/gipfl/influxdb/src/InfluxDbConnectionFactory.php
2022-09-01 09:47:08.000000000 +0200
+++
new/icingaweb2-module-incubator-0.19.0/vendor/gipfl/influxdb/src/InfluxDbConnectionFactory.php
2022-10-07 16:11:28.000000000 +0200
@@ -21,7 +21,7 @@
{
$v1 = new InfluxDbConnectionV1($curl, $baseUrl);
return $v1->getVersion()->then(function ($version) use ($baseUrl,
$username, $password, $curl, $v1) {
- if ($version === null) {
+ if ($version === null || preg_match('/^v?2\./', $version)) {
$v2 = new InfluxDbConnectionV2($curl, $baseUrl, $username,
$password);
return $v2->getVersion()->then(function ($version) use ($v2) {
if ($version === null) {
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/icingaweb2-module-incubator-0.18.0/vendor/gipfl/influxdb/src/InfluxDbConnectionV1.php
new/icingaweb2-module-incubator-0.19.0/vendor/gipfl/influxdb/src/InfluxDbConnectionV1.php
---
old/icingaweb2-module-incubator-0.18.0/vendor/gipfl/influxdb/src/InfluxDbConnectionV1.php
2022-09-01 09:47:08.000000000 +0200
+++
new/icingaweb2-module-incubator-0.19.0/vendor/gipfl/influxdb/src/InfluxDbConnectionV1.php
2022-10-07 16:11:28.000000000 +0200
@@ -5,6 +5,7 @@
use gipfl\Curl\CurlAsync;
use gipfl\Json\JsonString;
use Psr\Http\Message\ResponseInterface;
+use Ramsey\Uuid\Uuid;
use React\Promise\Promise;
use function React\Promise\resolve;
@@ -12,7 +13,7 @@
{
const API_VERSION = 'v1';
- const USER_AGENT = 'gipfl-InfluxDB/0.4';
+ const USER_AGENT = 'gipfl-InfluxDB/0.5';
/** @var string */
protected $baseUrl;
@@ -144,14 +145,14 @@
$body = \http_build_query(['q' => implode(';', $sendQueries)]);
$urlParams = [];
$promise = $this->curl->post(
- $this->url("${prefix}query", $urlParams),
+ $this->url("{$prefix}query", $urlParams),
$this->getRequestHeaders() + $headers,
$body
);
} else {
$urlParams = ['q' => implode(';', $sendQueries)];
$promise = $this->curl->get(
- $this->url("${prefix}query", $urlParams),
+ $this->url("{$prefix}query", $urlParams),
$this->getRequestHeaders()
);
}
@@ -205,16 +206,22 @@
*/
public function writeDataPoints($dbName, array $dataPoints, $precision =
null)
{
+ $body = gzencode(\implode($dataPoints), 6);
$params = ['db' => $dbName];
if ($precision !== null) {
$params['precision'] = $precision;
}
+ $headers = [
+ 'X-Request-Id' => Uuid::uuid4()->toString(),
+ 'Content-Encoding' => 'gzip',
+ 'Content-Length' => strlen($body),
+ ];
// params['rp'] = $retentionPolicy
/** @var Promise $promise */
return $this->curl->post(
$this->url('write', $params),
- $this->getRequestHeaders(),
- \implode($dataPoints),
+ $this->getRequestHeaders() + $headers,
+ $body,
$this->getDefaultCurlOptions()
);
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/icingaweb2-module-incubator-0.18.0/vendor/gipfl/influxdb/src/InfluxDbConnectionV2.php
new/icingaweb2-module-incubator-0.19.0/vendor/gipfl/influxdb/src/InfluxDbConnectionV2.php
---
old/icingaweb2-module-incubator-0.18.0/vendor/gipfl/influxdb/src/InfluxDbConnectionV2.php
2022-09-01 09:47:08.000000000 +0200
+++
new/icingaweb2-module-incubator-0.19.0/vendor/gipfl/influxdb/src/InfluxDbConnectionV2.php
2022-10-07 16:11:28.000000000 +0200
@@ -5,6 +5,7 @@
use gipfl\Curl\CurlAsync;
use gipfl\Json\JsonString;
use Psr\Http\Message\ResponseInterface;
+use Ramsey\Uuid\Uuid;
use React\EventLoop\LoopInterface;
use React\Promise\Promise;
@@ -12,7 +13,7 @@
{
const API_VERSION = 'v2';
- const USER_AGENT = 'gipfl-InfluxDB/0.4';
+ const USER_AGENT = 'gipfl-InfluxDB/0.5';
/** @var CurlAsync */
protected $curl;
@@ -148,15 +149,26 @@
*/
public function writeDataPoints($dbName, array $dataPoints, $precision =
null)
{
- $params = ['db' => $dbName];
+ $body = gzencode(\implode($dataPoints), 6);
+ $params = [
+ 'org' => $this->org,
+ 'bucket' => $dbName,
+ // TODO: Figure out, whether 2.0.0 also supports bucket. If so,
drop db
+ 'db' => $dbName,
+ ];
+ $headers = [
+ 'X-Request-Id' => Uuid::uuid4()->toString(),
+ 'Content-Encoding' => 'gzip',
+ 'Content-Length' => strlen($body),
+ ];
if ($precision !== null) {
$params['precision'] = $precision;
}
// params['rp'] = $retentionPolicy
return $this->curl->post(
- $this->url('write', $params),
- $this->defaultHeaders(),
- \implode($dataPoints),
+ $this->url('api/v2/write', $params),
+ $this->defaultHeaders() + $headers,
+ $body,
$this->getDefaultCurlOptions()
);
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/icingaweb2-module-incubator-0.18.0/vendor/gipfl/process/src/ProcessInfo.php
new/icingaweb2-module-incubator-0.19.0/vendor/gipfl/process/src/ProcessInfo.php
---
old/icingaweb2-module-incubator-0.18.0/vendor/gipfl/process/src/ProcessInfo.php
2022-09-01 09:47:08.000000000 +0200
+++
new/icingaweb2-module-incubator-0.19.0/vendor/gipfl/process/src/ProcessInfo.php
2022-10-07 16:11:28.000000000 +0200
@@ -44,10 +44,42 @@
return $self;
}
+ /**
+ * @return int|null
+ */
+ public function getPid()
+ {
+ return $this->pid;
+ }
+
+ /**
+ * @return string
+ */
+ public function getCommand()
+ {
+ return $this->command;
+ }
+
+ /**
+ * @return bool
+ */
+ public function isRunning()
+ {
+ return $this->running;
+ }
+
+ /**
+ * @return object|null
+ */
+ public function getMemory()
+ {
+ return $this->memory;
+ }
+
#[\ReturnTypeWillChange]
public function jsonSerialize()
{
- return [
+ return (object) [
'pid' => $this->pid,
'command' => $this->command,
'running' => $this->running,
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/icingaweb2-module-incubator-0.18.0/vendor/gipfl/process/src/ProcessKiller.php
new/icingaweb2-module-incubator-0.19.0/vendor/gipfl/process/src/ProcessKiller.php
---
old/icingaweb2-module-incubator-0.18.0/vendor/gipfl/process/src/ProcessKiller.php
2022-09-01 09:47:08.000000000 +0200
+++
new/icingaweb2-module-incubator-0.19.0/vendor/gipfl/process/src/ProcessKiller.php
2022-10-07 16:11:28.000000000 +0200
@@ -42,7 +42,7 @@
$process->terminate(SIGKILL);
}
- // Let's add a little bit of delay after KILLing
+ // Let's add a bit of a delay after KILLing
$loop->addTimer(0.1, function () use ($deferred) {
$deferred->resolve();
});
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/icingaweb2-module-incubator-0.18.0/vendor/gipfl/simple-daemon/composer.json
new/icingaweb2-module-incubator-0.19.0/vendor/gipfl/simple-daemon/composer.json
---
old/icingaweb2-module-incubator-0.18.0/vendor/gipfl/simple-daemon/composer.json
2022-09-01 09:47:08.000000000 +0200
+++
new/icingaweb2-module-incubator-0.19.0/vendor/gipfl/simple-daemon/composer.json
2022-10-07 16:11:28.000000000 +0200
@@ -23,7 +23,7 @@
"psr/log": ">=1.0",
"gipfl/json": ">=0.1",
"evenement/evenement": "*",
- "gipfl/cli": "^0.5.0",
- "react/promise-timer": "^1.5"
+ "gipfl/cli": ">=0.5",
+ "react/promise-timer": ">=1.5"
}
}