Hello community,

here is the log from the commit of package telegraf for openSUSE:Factory 
checked in at 2020-09-14 12:30:00
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/telegraf (Old)
 and      /work/SRC/openSUSE:Factory/.telegraf.new.4249 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "telegraf"

Mon Sep 14 12:30:00 2020 rev:5 rq:834021 version:1.15.3

Changes:
--------
--- /work/SRC/openSUSE:Factory/telegraf/telegraf.changes        2019-12-21 
12:31:03.099353829 +0100
+++ /work/SRC/openSUSE:Factory/.telegraf.new.4249/telegraf.changes      
2020-09-14 12:31:13.461209457 +0200
@@ -1,0 +2,471 @@
+Sat Sep 12 17:29:59 UTC 2020 - Jeff Kowalczyk <[email protected]>
+
+- BuildRequires: golang(API) >= 1.13
+  * Recommended format selects latest Provides: golang(API) = %{api_version}
+    satisfied by either go metapackage or go1.1x packages.
+
+-------------------------------------------------------------------
+Sat Sep 12 12:34:50 UTC 2020 - [email protected]
+
+- Update to version 1.15.3:
+  * Revert "fix cloudwatch tests"
+  * Update etc/telegraf.conf
+  * [fix] add missing error check for HTTP req failure (#8071)
+  * add tagpass/tagdrop note in docs (#8053)
+  * Fix docker-image make target (#8005)
+  * Fix CI AppVeyor 'make check' errors for go 1.15 on windows (#8061)
+  * add release notes
+  * fix bug in shim logger affecting AddError (#8052)
+  * fix docker build. update dockerfiles to Go 1.14 (#8051)
+  * docs fix
+  * Create external plugins doc file and update contributing guide (#8001)
+  * Add addTag debugging in ifname plugin (#8018)
+  * vSphere Fixed missing clustername issue 7878 (#8026)
+  * Fix string to int conversion in eventhub consumer (#8006)
+  * improve the quality of starlark docs by executing them as tests (#8020)
+  * Fix Ping Input plugin for FreeBSD's ping6 (#7861)
+  * add example input/outputs to starlark examples (#7980)
+  * Fix configuration.md formatting (#7965)
+  * [outputs.application_insights] Added the ability to set the endpoint url 
(#7134)
+  * fix issue with shim use of config.Duration (#7996)
+  * fix minor agent race condition around error messages (#7999)
+  * http_listener_v2: make http header tags case insensitive (#7986)
+  * add pivot example for starlark processor (#7976)
+  * fix(puppet): update broken link (#7977)
+  * fix(ipmi): update link in readme (#7975)
+  * chore: extend gitignore to ignore .DS_Store (#7974)
+  * fix(readmes): standarize first line of readmes (#7973)
+  * Updated http_response input plugin README.md (#7962)
+  * added new counter - Lock Timeouts (timeout > 0)/sec (#7808)
+  * fix cloudwatch tests
+  * Support for AWS Cloudwatch Alarms #7931 (#7932)
+  * Add details to connect to InfluxDB OSS 2 and Cloud 2 (#7953)
+  * JSON does not support values NaN and Inf (#7908)
+  * Add descriptions for measurement & fields (#7902)
+  * Fixed title on New Relic README.md (#7948)
+  * fix broken link to proc.c (#7918)
+  * Fix/extend support of fixed point values on input (modbus plugin) (#7869)
+  * jolokia: add some error message context (#7906)
+  * fixed cgroups docu (#7889)
+  * Update docker FAQ (#7868)
+  * fixes issue with rpm /var/log/telegraf permissions (#7909)
+  * Fix tail following on EOF (#7927)
+  * Fix arch name in deb/rpm builds (#7877)
+  * Set 1.15.0 release date
+  * Add logic starlark example (#7864)
+  * shim logger improvements (#7865)
+  * Fix defaults processor readme typos (#7873)
+  * Recv next message after send returns EOF (#7872)
+  * fix issue with execd restart_delay being ignored (#7867)
+  * clarify docs and add warning if execd is misconfigured (#7866)
+  * fix bug with loading plugins in shim with no config (#7816)
+  * Fix suricata input docs (#7856)
+  * ifname: avoid unpredictable conditions in getMap test (#7848)
+  * Log after interval has elapsed; skip short intervals (#7854)
+  * Initialize aggregation processors (#7853)
+  * Update redfish docs with link (#7846)
+  * Update telegraf.conf
+  * ifname processor: expire old cached entries (#7838)
+  * update go versions: 1.14.5, 1.13.13 (#7837)
+  * Edit Starlark README (#7832)
+  * Send metrics in FIFO order (#7814)
+  * Set log output before starting plugin (#7820)
+  * Fix darwin package build flags (#7818)
+  * Close file to ensure it has been flushed (#7819)
+  * Add minimum version for new plugins (#7810)
+  * Fix markdown syntax (#7806)
+  * Fix typo in 1.15 release notes (#7804)
+  * Fix tag package version
+  * Update sample configuration
+  * Add ifname processor plugin (#7763)
+  * Traverse redfish api using resource links (#7722)
+  * Fix test race in kafka_consumer (#7797)
+  * Support utf-16 in file and tail inputs (#7792)
+  * Add v3 metadata support to ecs input (#7154)
+  * Fix inputs.execd readme links (#7791)
+  * Fix data race in input plugin ping_windows
+  * streaming processors docs update (#7786)
+  * switch mac tests to Go 1.14 (#7784)
+  * Fix flakey processors.execd test
+  * Do not enable -race for GOARCH=386
+  * Run all Go tests with flag -race
+  * Fix data race in plugin output pubsub tests (#7782)
+  * Shim refactor to support processors and output
+  * Fix data race in tail input tests (#7780)
+  * Update CHANGELOG.md
+  * execd output (#7761)
+  * Set user agent when requesting http config (#7752)
+  * Accept decimal point when parsing kibana uptime (#7768)
+  * Update common/tls import path
+  * Update nginx_sts plugin readme
+  * Add nginx_sts input plugin (#7205)
+  * Rename cisco_telemetry_gnmi input to gnmi (#7695)
+  * Allow overriding the collection_jitter and precision per input (#7762)
+  * Fix data race in phpfpm initializing http client (#7738)
+  * Set 1.14.5 release date
+  * Allow histograms with no buckets and summary without quantiles (#7740)
+  * Fix typo in elasticsearch input docs (#7764)
+  * Only set version ldflags on tags
+  * Update release notes
+  * Allow any key usage type on x509 certificate (#7760)
+  * Build packages in makefile (#7759)
+  * Update github.com/tidwall/gjson (#7756)
+  * reverse dns lookup processor (#7639)
+  * remove streaming processors docs
+  * clean up tests
+  * address feedback
+  * Return on toml parse errors instead of logging (#7751)
+  * Update tls import path
+  * Export internal/tls package for use in execd plugins (#7697)
+  * Add laundry to mem input plugin on FreeBSD (#7736)
+  * Fix data race in plugins/inputs/stackdriver/stackdriver_test.go (#7744)
+  * Fix data race in plugins/inputs/suricata/suricata_test.go (#7745)
+  * Fix data race in kafka_consumer_test.go (#7737)
+  * Fix SNMP trap test race (#7731)
+  * Fix incorrect Azure SQL DB server properties (#7715)
+  * fix race
+  * fix after rebase
+  * remove processors/execd/examples/count.go
+  * execd processor
+  * Fix license check
+  * Add starlark processor (#7660)
+  * Add missing nvme attributes to smart plugin (#7575)
+  * Add counter type to perfmon collector (#7712)
+  * Skip overs errors in the output of the sensors command (#7718)
+  * Remove master/slave terminology from tests (#7719)
+  * Fix ping exit code handling on non-Linux (#7658)
+  * Add redfish input plugin (#7082)
+  * Add ability to add selectors as tags in kube_inventory (#7267)
+  * Document that string fields do not produce prometheus metrics (#7644)
+  * Remove trailing backslash management in sqlserver input (#7700)
+  * Link to GJSON playground in json parser documentation (#7698)
+  * Add 'batch' to mqtt output optional parameters (#7690)
+  * Fail check-deps when differences are found (#7694)
+  * Add state and readiness to kube_inventory pod metrics (#7691)
+  * update CHANGELOG.md
+  * procstat performance enhancement (#7686)
+  * Mark unused agent options as deprecated
+  * Fix processor initialization (#7693)
+  * Update gNMI plugin readme (#7685)
+  * Remove trailing backslash from tag keys/values (#7652)
+  * Improve sqlserver input compatibility with older server versions (#7495)
+  * Fix race issue in tick_test.go (#7663)
+  * Flaky shim test (#7656)
+  * link to glob pattern docs (#7657)
+  * Set 1.14.4 release date
+  * Add ability to collect response body as field with http_response (#7596)
+  * Add timezone configuration to csv data format (#7619)
+  * Change rpm dist packaging type for arm64 to aarch64 (#7645)
+  * Update to github.com/shirou/gopsutil v2.20.5 (#7641)
+  * Fix source field for icinga2 plugin (#7651)
+  * Add video codec stats to nvidia-smi (#7646)
+  * Update CHANGELOG.md
+  * fix issue with stream parser blocking when data is in buffer (#7631)
+  * add support for streaming processors (#7634)
+  * Add tags to snmp_trap input for context name and engine ID (#7633)
+  * Clarify use of multiple mqtt broker servers
+  * Add SNMPv3 trap support to snmp_trap input plugin (#7294)
+  * Add support for Solus distribution to maintainer scripts (#7585)
+  * Fix typo in queue depth example of diskio plugin (#7613)
+  * Add support for env variables to shim config (#7603)
+  * Add support for once mode; run processors and aggregators during test 
(#7474)
+  * Update AGGREGATORS_AND_PROCESSORS.md (#7599)
+  * Add github.com/inabagumi/twitter-telegraf-plugin to list of external 
plugins
+  * Fix segmentation violation on connection failed (#7593)
+  * Add processor to look up service name by port (#7540)
+  * make sure parse error includes offending text (#7561)
+  * Update docs for newrelic output
+  *  Add newrelic output plugin  (#7019)
+  * Allow collection of HTTP Headers in http_response input (#7405)
+  * Update to Go 1.14.3 with testing using 1.13.11 (#7564)
+  * Exclude csv_timestamp_column and csv_measurement_column from fields (#7572)
+  * fix go version check (#7562)
+  * Fix the typo in `gcc_pu_fraction` to `gc_cpu_fraction` (#7573)
+  * Fix numeric to bool conversion in converter (#7579)
+  * Add defaults processor to set default field values (#7370)
+  * Add option to disable mongodb cluster status (#7515)
+  * Fix typos in sqlserver input (#7524)
+  * Use updated clock package to resolve test failures (#7516)
+  * fix randomly failing CI test (#7514)
+  * Add cluster state integer to mongodb input (#7489)
+  * Add configurable separator graphite serializer and output (#7545)
+  * Fix instance name resolution in performance counter query (#7526)
+  * Set 1.14.3 release date
+  * Close HTTP2 connections on timeout in influxdb outputs (#7517)
+  * Fix negative value parsing in impi_sensor input (#7541)
+  * Fix assorted spelling mistakes (#7507)
+  * Fix documentation of percent_packet_loss field (#7510)
++++ 274 more lines (skipped)
++++ between /work/SRC/openSUSE:Factory/telegraf/telegraf.changes
++++ and /work/SRC/openSUSE:Factory/.telegraf.new.4249/telegraf.changes

Old:
----
  0001-Generic-SQL-output-plugin-for-Telegraf.patch
  telegraf-1.12.6.tar.gz
  telegraf-deps.tar.xz

New:
----
  _service
  _servicedata
  telegraf-1.15.3.tar.gz
  vendor.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ telegraf.spec ++++++
--- /var/tmp/diff_new_pack.N0ZFgd/_old  2020-09-14 12:31:15.301210631 +0200
+++ /var/tmp/diff_new_pack.N0ZFgd/_new  2020-09-14 12:31:15.305210633 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package telegraf
 #
-# Copyright (c) 2019 SUSE LLC
+# Copyright (c) 2020 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -16,66 +16,53 @@
 #
 
 
+%define _config_dir %{_sysconfdir}/%{name}
 Name:           telegraf
-Version:        1.12.6
+Version:        1.15.3
 Release:        0
 Summary:        The plugin-driven server agent for collecting & reporting 
metrics
 License:        MIT
 Group:          System/Monitoring
 URL:            https://github.com/influxdata/telegraf
 Source:         %{name}-%{version}.tar.gz
-# run dep ensure --vendor-only (in a container)
-Source1:        %{name}-deps.tar.xz
-BuildRoot:      %{_tmppath}/%{name}-%{version}-build
+Source1:        vendor.tar.gz
 BuildRequires:  git-core
-BuildRequires:  go >= 1.12
 BuildRequires:  golang-packaging
 BuildRequires:  systemd-rpm-macros
+BuildRequires:  golang(API) >= 1.13
 %{?systemd_ordering}
 
-## Features ##
-
-Patch0:         0001-Generic-SQL-output-plugin-for-Telegraf.patch
-
-## /Features ##
-
-%define _influxdata_dir %{_builddir}/src/github.com/influxdata
-%define _telegraf_dir %{_influxdata_dir}/%{name}
-%define _config_dir %{_sysconfdir}/%{name}
-
 %description
 Telegraf is an agent written in Go for collecting, processing, aggregating, 
and writing metrics.
 
+Design goals are to have a minimal memory footprint with a plugin system so 
that developers in the community can
+easily add support for collecting metrics from local or remote services.
+
 %prep
-mkdir -p %{_influxdata_dir}
-tar -C %{_influxdata_dir} -xzf %{SOURCE0}
-cd %{_influxdata_dir}
-# If there is allready telegraf then remove it
-rm -rf %{name}
-ln -sf %{name}-%{version} %{name}
-cd %{name}
-tar -xJf %{SOURCE1}
-%patch0 -p1
+%setup -q
+%setup -q -T -D -a 1
 
 %build
+# Build the binary.
+go build \
+   -mod=vendor \
 %ifnarch ppc64 ppc64le
-export LDFLAGS="-buildmode=pie"
+   -buildmode=pie \
 %endif
-export GOPATH="%{_builddir}:$GOPATH"
-cd %{_telegraf_dir}
-make %{name}
+   ./cmd/telegraf;
 
 %install
-mkdir -p %{buildroot}%{_bindir}
-install -m755 %{_telegraf_dir}/%{name} %{buildroot}%{_bindir}/%{name}
+# Install the binary.
+install -D -m 0755 %{name} "%{buildroot}/%{_bindir}/%{name}"
 
 mkdir -p %{buildroot}/%{_config_dir}
-install -m644 %{_telegraf_dir}/etc/%{name}.conf %{buildroot}/%{_config_dir}
+mkdir -p %{buildroot}/%{_config_dir}/%{name}.d
+install -m644 etc/%{name}.conf %{buildroot}/%{_config_dir}
 
-install -D -m 644 %{_telegraf_dir}/scripts/%{name}.service 
%{buildroot}%{_unitdir}/%{name}.service
+install -D -m 644 scripts/%{name}.service 
%{buildroot}%{_unitdir}/%{name}.service
 sed -i '/User=/d' %{buildroot}%{_unitdir}/%{name}.service
 mkdir -p %{buildroot}%{_sbindir}
-ln -s /usr/sbin/service %{buildroot}%{_sbindir}/rc%{name}
+ln -s %{_sbindir}/service %{buildroot}%{_sbindir}/rc%{name}
 
 %pre
 %service_add_pre %{name}.service
@@ -92,10 +79,8 @@
 %files
 %{_sbindir}/rc%{name}
 %{_unitdir}/%{name}.service
-%doc src/github.com/influxdata/%{name}/CHANGELOG.md
-%doc src/github.com/influxdata/%{name}/CONTRIBUTING.md
-%license src/github.com/influxdata/%{name}/LICENSE
-%doc src/github.com/influxdata/%{name}/README.md
+%doc CHANGELOG.md CONTRIBUTING.md README.md
+%license LICENSE
 %dir %{_config_dir}
 %config(noreplace) %{_config_dir}/%{name}.conf
 %{_bindir}/%{name}

++++++ _service ++++++
<services>
  <service name="tar_scm" mode="disabled">
    <param name="url">https://github.com/influxdata/telegraf</param>
    <param name="scm">git</param>
    <param name="exclude">.git</param>
    <param name="revision">v1.15.3</param>
    <param name="versionformat">@PARENT_TAG@</param>
    <param name="changesgenerate">enable</param>
    <param name="versionrewrite-pattern">v(.*)</param>
  </service>
  <service name="set_version" mode="disabled">
    <param name="basename">telegraf</param>
  </service>
  <service name="recompress" mode="disabled">
    <param name="file">*.tar</param>
    <param name="compression">gz</param>
  </service>
  <service name="go_modules" mode="disabled">
  </service>
</services>
++++++ _servicedata ++++++
<servicedata>
<service name="tar_scm">
                <param name="url">https://github.com/influxdata/telegraf</param>
              <param 
name="changesrevision">d9a81d9f4c8c6e6aac8f34915335519c417a1167</param></service></servicedata>++++++
 telegraf-1.12.6.tar.gz -> telegraf-1.15.3.tar.gz ++++++
++++ 165598 lines of diff (skipped)


Reply via email to