Hello community,
here is the log from the commit of package
golang-github-prometheus-node_exporter for openSUSE:Factory checked in at
2020-02-28 15:21:39
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/golang-github-prometheus-node_exporter
(Old)
and
/work/SRC/openSUSE:Factory/.golang-github-prometheus-node_exporter.new.26092
(New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "golang-github-prometheus-node_exporter"
Fri Feb 28 15:21:39 2020 rev:5 rq:780064 version:1.0.0~rc.0
Changes:
--------
---
/work/SRC/openSUSE:Factory/golang-github-prometheus-node_exporter/golang-github-prometheus-node_exporter.changes
2019-09-05 12:44:32.751453126 +0200
+++
/work/SRC/openSUSE:Factory/.golang-github-prometheus-node_exporter.new.26092/golang-github-prometheus-node_exporter.changes
2020-02-28 15:21:40.321933523 +0100
@@ -1,0 +2,30 @@
+Thu Feb 20 20:25:26 UTC 2020 - Michael Ströder <[email protected]>
+
+- update to 1.0.0-rc.0
+
+Breaking changes
+ * The netdev collector CLI argument --collector.netdev.ignored-devices
+ was renamed to --collector.netdev.device-blacklist in order to conform
+ with the systemd collector. #1279
+ * The label named state on node_systemd_service_restart_total metrics was
+ changed to name to better describe the metric. #1393
+ * Refactoring of the mdadm collector changes several metrics
+ node_md_disks_active is removed
+ node_md_disks now has a state label for "fail", "spare", "active"
disks.
+ node_md_is_active is replaced by node_md_state with a state set of
+ "active", "inactive", "recovering", "resync".
+ * Additional label mountaddr added to NFS device metrics to distinguish
+ mounts from the same URL, but different IP addresses. #1417
+ * Metrics node_cpu_scaling_frequency_min_hrts and
+ node_cpu_scaling_frequency_max_hrts of the cpufreq collector were
+ renamed to node_cpu_scaling_frequency_min_hertz and
+ node_cpu_scaling_frequency_max_hertz. #1510
+ * Collectors that are enabled, but are unable to find data to collect,
+ now return 0 for node_scrape_collector_success.
+
+-------------------------------------------------------------------
+Tue Sep 24 17:32:33 UTC 2019 - Dario Maiocchi <[email protected]>
+
+- Add missing sysconfig file in rpm bsc#1151557
+
+-------------------------------------------------------------------
Old:
----
node_exporter-v0.18.1.tar.xz
New:
----
node_exporter-v1.0.0~rc.0.tar.xz
prometheus-node_exporter.sysconfig
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ golang-github-prometheus-node_exporter.spec ++++++
--- /var/tmp/diff_new_pack.h3j39h/_old 2020-02-28 15:21:40.977934859 +0100
+++ /var/tmp/diff_new_pack.h3j39h/_new 2020-02-28 15:21:40.977934859 +0100
@@ -20,7 +20,7 @@
%{go_nostrip}
Name: golang-github-prometheus-node_exporter
-Version: 0.18.1
+Version: 1.0.0~rc.0
Release: 0
Summary: Prometheus exporter for machine metrics
License: Apache-2.0
@@ -30,16 +30,22 @@
Source1: prometheus-node_exporter.service
Source2: README
Source3: update-tarball.sh
+Source4: prometheus-node_exporter.sysconfig
BuildRequires: fdupes
BuildRequires: go1.11
BuildRequires: golang-packaging
BuildRequires: xz
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%{?systemd_requires}
+Requires(post): %fillup_prereq
Requires(pre): shadow
%{go_provides}
Provides: node_exporter
Provides: prometheus(node_exporter)
+#Compat macro for new _fillupdir macro introduced in Nov 2017
+%if ! %{defined _fillupdir}
+ %define _fillupdir /var/adm/fillup-templates
+%endif
%description
Prometheus exporter for hardware and OS metrics exposed by *NIX kernels,
written in Go with pluggable metric collectors.
@@ -58,6 +64,7 @@
install -D -m 0644 %{SOURCE1}
%{buildroot}%{_unitdir}/prometheus-node_exporter.service
install -Dd -m 0755 %{buildroot}%{_sbindir}
ln -s /usr/sbin/service %{buildroot}%{_sbindir}/rcprometheus-node_exporter
+install -D -m 0644 %{SOURCE4}
%{buildroot}%{_fillupdir}/sysconfig.prometheus-node_exporter
%gofilelist
%fdupes %{buildroot}
@@ -71,7 +78,7 @@
%post
%service_add_post prometheus-node_exporter.service
-
+%fillup_only -n prometheus-node_exporter
%preun
%service_del_preun prometheus-node_exporter.service
@@ -85,5 +92,6 @@
%{_bindir}/node_exporter
%{_unitdir}/prometheus-node_exporter.service
%{_sbindir}/rcprometheus-node_exporter
+%{_fillupdir}/sysconfig.prometheus-node_exporter
%changelog
++++++ prometheus-node_exporter.sysconfig ++++++
## Path: Network/Monitors/Prometheus/node_exporter
## Description: Prometheus node exporter startup parameters
## Type: string
## Default: ''
#
# Additional arguments for the node_exporter.
# Please call: /usr/bin/node_exporter --help
# for a full list of possible options.
# Note: Please keep the list on one line, of possible.
#
ARGS=''
++++++ update-tarball.sh ++++++
--- /var/tmp/diff_new_pack.h3j39h/_old 2020-02-28 15:21:41.025934956 +0100
+++ /var/tmp/diff_new_pack.h3j39h/_new 2020-02-28 15:21:41.029934965 +0100
@@ -25,7 +25,7 @@
PKG_DIR=$(pwd)
REPO_NAME="node_exporter"
REPO="https://github.com/prometheus/$REPO_NAME"
-REV="v0.18.1"
+REV="v1.0.0-rc.0"
cd $WORK_DIR