Hello community,

here is the log from the commit of package 
golang-github-prometheus-alertmanager for openSUSE:Factory checked in at 
2019-02-24 17:13:55
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/golang-github-prometheus-alertmanager (Old)
 and      
/work/SRC/openSUSE:Factory/.golang-github-prometheus-alertmanager.new.28833 
(New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "golang-github-prometheus-alertmanager"

Sun Feb 24 17:13:55 2019 rev:2 rq:672873 version:0.16.1

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/golang-github-prometheus-alertmanager/golang-github-prometheus-alertmanager.changes
      2018-03-16 10:45:12.480457098 +0100
+++ 
/work/SRC/openSUSE:Factory/.golang-github-prometheus-alertmanager.new.28833/golang-github-prometheus-alertmanager.changes
   2019-02-24 17:13:58.736465744 +0100
@@ -1,0 +2,113 @@
+Fri Feb  8 10:42:37 UTC 2019 - Jan Fajerski <[email protected]>
+
+- Update to 0.16.1:
+  + Bug Fixes:
+    * Do not populate cluster info if clustering is disabled in API v2
+- Update to 0.16.0:
+  + Deprecate API v1
+  + Remove api/v1/alerts/groups GET endpoint
+  + Revert Alertmanager working directory changes in Docker image back to 
/alertmanager
+  + Using the recommended label syntax for maintainer in Dockerfile
+  + Change alertmanager_notifications_total to count attempted notifications, 
not only successful ones (#1578)
+  + Run as nobody inside container
+  + Support w for weeks when creating silences, remove y for year
+  + Features:
+    * Introduce OpenAPI generated API v2
+    * Lookup parts in strings using regexp.MatchString in templates
+    * Support image/thumb url in attachment in Slack notifier
+    * Support custom TLS certificates for the email notifier
+    * Add support for images and links in the PagerDuty notification config
+    * Add support for grouping by all labels
+    * [amtool] Add timeout support to amtool commands
+    * [amtool] Added config routes tools for vizualization and testing routes
+    * [amtool] Support adding alerts using amtool
+  + Enhancements:
+    * Add support for --log.format
+    * Add CORS support to API v2
+    * Support HTML, URL title and custom sounds for Pushover
+    * Update Alert compact view
+    * Support adding custom fields to VictorOps notifications
+    * Add help link in UI to Alertmanager documentation
+    * Enforce HTTP or HTTPS URLs in Alertmanager config
+    * Make OpsGenie API Key a templated string
+    * Add name, value and SlackConfirmationField to action in Slack notifier
+    * Show more alert information on silence form and silence view pages
+    * Add cluster peers DNS refresh job
+  + Bug Fixes:
+    * Fix unmarshalling of secret URLs in config
+    * Do not write groupbyall and groupby when marshaling config
+    * Make a copy of firing alerts with EndsAt=0 when flushing
+    * Respect regex matchers when recreating silences in UI
+    * Change DefaultGlobalConfig to a function in Alertmanager configuration
+    * Fix email template typo in alert-warning style
+    * Fix silence redirect on silence creation UI page
+    * Add missing callback_id parameter in Slack notifier
+    * Throw error if no auth mechanism matches in email notifier
+    * Use quoted-printable transfer encoding for the email notifier
+    * Do not merge expired gossip messages
+    * Fix "PLAIN" auth during notification via smtp-over-tls on port 465
+    * [amtool] Support for assuming first label is alertname in silence add 
and query
+    * [amtool] Support assuming first label is alertname in alert query with 
matchers
+    * [amtool] Fix config path check in amtool
+    * [amtool] Fix rfc3339 example texts
+    * [amtool] Fixed issue with loading path of a default configs
+- Update to 0.15.3
+  + Bug Fixes:
+    * Fix alert merging supporting both empty and set EndsAt property for 
firing alerts send by Prometheus
+- Update to 0.15.2:
+  + Enhancements:
+    * [amtool] Add support for stdin to check-config
+    * Log PagerDuty v1 response on BadRequest
+  + Bug Fixes:
+    * Correctly encode query strings in notifiers (#1516)
+    * Add cache control headers to the API responses to avoid IE caching
+    * Avoid listener blocking on unsubscribe
+    * Fix a bunch of unhandled errors
+    * Update PagerDuty API V2 to send full details on resolve
+    * Validate URLs at config load time
+    * Fix Settle() interval
+    * Fix email to be green if only none firing
+    * Handle errors in notify
+    * Fix templating of hipchat room id
+- Update to 0.15.1:
+  + Bug Fixes:
+    * Fix email template typo in alert-warning style
+    * Fix regression in Pager Duty config
+    * Catch templating errors in Wechat Notify
+    * Fail when no private address can be found for cluster
+    * Make sure we don't miss the first pushPull when joining cluster
+    * Fix concurrent read and wirte group error in dispatch
+- Update to 0.15.0:
+  + [amtool] Update silence add and update flags
+  + Replace deprecated InstrumentHandle
+  + Validate Slack field config and only allow the necessary input
+  + Remove legacy alert ingest endpoint
+  + Move to memberlist as underlying gossip protocol including cluster flag 
changes from --mesh.xxx to --cluster.xxx
+  + Move Alertmanager working directory in Docker image to /etc/alertmanager
+  + The default group by is no labels.
+  + Features:
+    * [amtool] Filter alerts by receiver
+    * Wait for mesh to settle before sending alerts
+    * [amtool] Support basic auth in alertmanager url
+    * Make HTTP clients used for integrations configurable
+  + Enhancements:
+    * Support receiving alerts with end time and zero start time
+    * Sort dispatched alerts by job+instance
+    * Support alert query filters active and unprocessed
+    * [amtool] Expose alert query flags --active and --unprocessed
+    * Add Slack actions to notifications
+  + Bug Fixes:
+    * Register nflog snapShotSize metric
+    * Sort alerts in correct order before flushing to notifiers
+    * Don't reset initial wait timer if flush is in-progress
+    * Fix resolved alerts still inhibiting
+    * Template wechat config fields
+    * Notify resolved alerts properly
+    * Fix parsing for label values with commas
+    * Hide sensitive Wechat configuration
+    * Prepopulate matchers when recreating a silence
+    * Fix wechat panic
+    * Allow empty matchers in silences/filtering
+    * Properly configure HTTP client for Wechat integration
+
+-------------------------------------------------------------------

Old:
----
  alertmanager-0.14.0.tar.xz

New:
----
  alertmanager-0.16.1.tar.xz

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

Other differences:
------------------
++++++ golang-github-prometheus-alertmanager.spec ++++++
--- /var/tmp/diff_new_pack.3wxFCg/_old  2019-02-24 17:13:59.524465604 +0100
+++ /var/tmp/diff_new_pack.3wxFCg/_new  2019-02-24 17:13:59.528465603 +0100
@@ -1,7 +1,7 @@
 #
-# spec file for package golang-github-digitalocean-ceph_exporter
+# spec file for package golang-github-prometheus-alertmanager
 #
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -12,24 +12,27 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
+
 %{go_nostrip}
 
 Name:           golang-github-prometheus-alertmanager
-Version:        0.14.0
+Version:        0.16.1
 Release:        0
-License:        Apache-2.0
 Summary:        Prometheus Alertmanager
-Url:            https://prometheus.io/
+License:        Apache-2.0
 Group:          System/Management
+Url:            https://prometheus.io/
 Source:         alertmanager-%{version}.tar.xz
 Source1:        prometheus-alertmanager.service
 Source2:        alertmanager.yml
 # Lifted from Debian's alertmanager package
 Patch1:         0001-Default-settings.patch
 BuildRequires:  fdupes
+BuildRequires:  go1.11
+BuildRequires:  golang-github-prometheus-promu
 BuildRequires:  golang-packaging
 BuildRequires:  xz
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
@@ -49,10 +52,12 @@
 
 %build
 %goprep github.com/prometheus/alertmanager
-%gobuild cmd/...
+GOPATH=%{_builddir}/go promu build
 
 %install
 %goinstall
+install -D -m0755 %{_builddir}/alertmanager-%{version}/alertmanager 
%{buildroot}/%{_bindir}/alertmanager
+install -D -m0755 %{_builddir}/alertmanager-%{version}/alertmanager 
%{buildroot}/%{_bindir}/amtool
 %gosrc
 mv %{buildroot}%{_bindir}/alertmanager 
%{buildroot}%{_bindir}/prometheus-alertmanager
 install -D -m 0644 %{SOURCE1} 
%{buildroot}%{_unitdir}/prometheus-alertmanager.service
@@ -81,7 +86,8 @@
 
 %files -f file.lst
 %defattr(-,root,root,-)
-%doc README.md LICENSE
+%doc README.md
+%license LICENSE
 %{_bindir}/prometheus-alertmanager
 %{_bindir}/amtool
 %{_unitdir}/prometheus-alertmanager.service

++++++ 0001-Default-settings.patch ++++++
--- /var/tmp/diff_new_pack.3wxFCg/_old  2019-02-24 17:13:59.540465601 +0100
+++ /var/tmp/diff_new_pack.3wxFCg/_new  2019-02-24 17:13:59.540465601 +0100
@@ -1,14 +1,28 @@
-diff -ruN -x '*~' -x '*.o' -x '*.a' -x '*.so' -x '*.so.[0-9]' -x 
autom4te.cache -x .deps -x .libs 
../orig-alertmanager-0.13.0/cmd/alertmanager/main.go ./cmd/alertmanager/main.go
---- ../orig-alertmanager-0.13.0/cmd/alertmanager/main.go       2018-01-12 
11:29:15.000000000 +0100
-+++ ./cmd/alertmanager/main.go 2018-01-25 13:02:27.133617252 +0100
-@@ -114,8 +114,8 @@
-               panic(err)
+From 09b9b978c3da4a8b431030cadc685ea2be68528e Mon Sep 17 00:00:00 2001
+From: Jan Fajerski <[email protected]>
+Date: Fri, 8 Feb 2019 12:14:47 +0100
+Subject: [PATCH] Adjust default settings
+
+Signed-off-by: Jan Fajerski <[email protected]>
+---
+ cmd/alertmanager/main.go | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/cmd/alertmanager/main.go b/cmd/alertmanager/main.go
+index 9d1f31c..a4df910 100644
+--- a/cmd/alertmanager/main.go
++++ b/cmd/alertmanager/main.go
+@@ -118,8 +118,8 @@ func run() int {
        }
+ 
        var (
 -              configFile      = kingpin.Flag("config.file", "Alertmanager 
configuration file name.").Default("alertmanager.yml").String()
 -              dataDir         = kingpin.Flag("storage.path", "Base path for 
data storage.").Default("data/").String()
 +              configFile      = kingpin.Flag("config.file", "Alertmanager 
configuration file name.").Default("/etc/prometheus/alertmanager.yml").String()
-+              dataDir         = kingpin.Flag("storage.path", "Base path for 
data storage.").Default("/var/lib/prometheus/alertmanager/").String()
++              dataDir         = kingpin.Flag("storage.path", "Base path for 
data storage.").Default("/var/lib/prometheus/alertmanager").String()
                retention       = kingpin.Flag("data.retention", "How long to 
keep data for.").Default("120h").Duration()
                alertGCInterval = kingpin.Flag("alerts.gc-interval", "Interval 
between alert GC.").Default("30m").Duration()
-               logLevelString  = kingpin.Flag("log.level", "Only log messages 
with the given severity or above.").Default("info").Enum("debug", "info", 
"warn", "error")
+ 
+-- 
+2.20.1
+

++++++ _service ++++++
--- /var/tmp/diff_new_pack.3wxFCg/_old  2019-02-24 17:13:59.552465599 +0100
+++ /var/tmp/diff_new_pack.3wxFCg/_new  2019-02-24 17:13:59.552465599 +0100
@@ -3,8 +3,8 @@
     <param name="url">https://github.com/prometheus/alertmanager.git</param>
     <param name="scm">git</param>
     <param name="exclude">.git</param>
-    <param name="versionformat">0.14.0</param>
-    <param name="revision">v0.14.0</param>
+    <param name="versionformat">0.16.1</param>
+    <param name="revision">v0.16.1</param>
   </service>
   <service name="recompress" mode="disabled">
     <param name="file">alertmanager-*.tar</param>

++++++ alertmanager-0.14.0.tar.xz -> alertmanager-0.16.1.tar.xz ++++++
++++ 246613 lines of diff (skipped)


Reply via email to