Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package 
golang-github-prometheus-alertmanager for openSUSE:Factory checked in at 
2025-01-27 20:54:23
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/golang-github-prometheus-alertmanager (Old)
 and      
/work/SRC/openSUSE:Factory/.golang-github-prometheus-alertmanager.new.2316 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "golang-github-prometheus-alertmanager"

Mon Jan 27 20:54:23 2025 rev:22 rq:1240368 version:0.28.0

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/golang-github-prometheus-alertmanager/golang-github-prometheus-alertmanager.changes
      2024-05-03 19:47:05.014378386 +0200
+++ 
/work/SRC/openSUSE:Factory/.golang-github-prometheus-alertmanager.new.2316/golang-github-prometheus-alertmanager.changes
    2025-01-27 20:54:45.145393077 +0100
@@ -1,0 +2,89 @@
+Wed Jan 15 11:50:27 UTC 2025 - Johannes Kastl 
<[email protected]>
+
+- update to 0.28.0:
+  * [CHANGE] Templating errors in the SNS integration now return an
+    error. #3531 #3879
+  * [CHANGE] Adopt log/slog, drop go-kit/log #4089
+  * [FEATURE] Add a new Microsoft Teams integration based on Flows
+    #4024
+  * [FEATURE] Add a new Rocket.Chat integration #3600
+  * [FEATURE] Add a new Jira integration #3590 #3931
+  * [FEATURE] Add support for GOMEMLIMIT, enable it via the feature
+    flag --enable-feature=auto-gomemlimit. #3895
+  * [FEATURE] Add support for GOMAXPROCS, enable it via the feature
+    flag --enable-feature=auto-gomaxprocs. #3837
+  * [FEATURE] Add support for limits of silences including the
+    maximum number of active and pending silences, and the maximum
+    size per silence (in bytes). You can use the flags
+    --silences.max-silences and --silences.max-silence-size-bytes
+    to set them accordingly #3852 #3862 #3866 #3885 #3886 #3877
+  * [FEATURE] Muted alerts now show whether they are suppressed or
+    not in both the /api/v2/alerts endpoint and the Alertmanager
+    UI. #3793 #3797 #3792
+  * [ENHANCEMENT] Add support for content, username and avatar_url
+    in the Discord integration. content and username also support
+    templating. #4007
+  * [ENHANCEMENT] Only invalidate the silences cache if a new
+    silence is created or an existing silence replaced - should
+    improve latency on both GET api/v2/alerts and POST
+    api/v2/alerts API endpoint. #3961
+  * [ENHANCEMENT] Add image source label to Dockerfile. To get
+    changelogs shown when using Renovate #4062
+  * [ENHANCEMENT] Build using go 1.23 #4071
+  * [ENHANCEMENT] Support setting a global SMTP TLS configuration.
+    #3732
+  * [ENHANCEMENT] The setting room_id in the WebEx integration can
+    now be templated to allow for dynamic room IDs. #3801
+  * [ENHANCEMENT] Enable setting message_thread_id for the Telegram
+    integration. #3638
+  * [ENHANCEMENT] Support the since and humanizeDuration functions
+    to templates. This means users can now format time to more
+    human-readable text. #3863
+  * [ENHANCEMENT] Support the date and tz functions to templates.
+    This means users can now format time in a specified format and
+    also change the timezone to their specific locale. #3812
+  * [ENHANCEMENT] Latency metrics now support native histograms.
+    #3737
+  * [ENHANCEMENT] Add full width to adaptive card for msteamsv2
+    #4135
+  * [ENHANCEMENT] Add timeout option for webhook notifier. #4137
+  * [ENHANCEMENT] Update config to allow showing secret values when
+    marshaled #4158
+  * [ENHANCEMENT] Enable templating for Jira project and issue_type
+    #4159
+  * [BUGFIX] Fix the SMTP integration not correctly closing an SMTP
+    submission, which may lead to unsuccessful dispatches being
+    marked as successful. #4006
+  * [BUGFIX] The ParseMode option is now set explicitly in the
+    Telegram integration. If we don't HTML tags had not been parsed
+    by default. #4027
+  * [BUGFIX] Fix a memory leak that was caused by updates silences
+    continuously. #3930
+  * [BUGFIX] Fix hiding secret URLs when the URL is incorrect.
+    #3887
+  * [BUGFIX] Fix a race condition in the alerts - it was more of a
+    hypothetical race condition that could have occurred in the
+    alert reception pipeline. #3648
+  * [BUGFIX] Fix a race condition in the alert delivery pipeline
+    that would cause a firing alert that was delivered earlier to
+    be deleted from the aggregation group when instead it should
+    have been delivered again. #3826
+  * [BUGFIX] Fix version in APIv1 deprecation notice. #3815
+  * [BUGFIX] Fix crash errors when using url_file in the Webhook
+    integration. #3800
+  * [BUGFIX] fix Route.ID() returns conflicting IDs. #3803
+  * [BUGFIX] Fix deadlock on the alerts memory store. #3715
+  * [BUGFIX] Fix amtool template render when using the default
+    values. #3725
+  * [BUGFIX] Fix webhook_url_file for both the Discord and
+    Microsoft Teams integrations. #3728 #3745
+  * [BUGFIX] Fix wechat api link #4084
+  * [BUGFIX] Fix build info metric #4166
+  * [BUGFIX] Fix UTF-8 not allowed in Equal field for inhibition
+    rules #4177
+- rebase patch 0001-Default-settings.patch to get it to apply
+  cleanly
+- remove patch 0002-Set-build-flags.patch and instead set GO_FLAGS
+  environment variable in the spec file
+
+-------------------------------------------------------------------

Old:
----
  0002-Set-build-flags.patch
  alertmanager-0.27.0.obscpio

New:
----
  alertmanager-0.28.0.obscpio

BETA DEBUG BEGIN:
  Old:  cleanly
- remove patch 0002-Set-build-flags.patch and instead set GO_FLAGS
  environment variable in the spec file
BETA DEBUG END:

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

Other differences:
------------------
++++++ golang-github-prometheus-alertmanager.spec ++++++
--- /var/tmp/diff_new_pack.ACUqe6/_old  2025-01-27 20:54:47.789502056 +0100
+++ /var/tmp/diff_new_pack.ACUqe6/_new  2025-01-27 20:54:47.793502221 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package golang-github-prometheus-alertmanager
 #
-# Copyright (c) 2024 SUSE LLC
+# Copyright (c) 2025 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,7 +17,7 @@
 
 
 Name:           golang-github-prometheus-alertmanager
-Version:        0.27.0
+Version:        0.28.0
 Release:        0
 Summary:        Prometheus Alertmanager
 License:        Apache-2.0
@@ -29,12 +29,10 @@
 Source3:        alertmanager.yml
 # Lifted from Debian's alertmanager package
 Patch1:         0001-Default-settings.patch
-# Build as position independent executables (PIE)
-Patch2:         0002-Set-build-flags.patch
 BuildRequires:  fdupes
 BuildRequires:  golang-github-prometheus-promu >= 0.12.0
 BuildRequires:  golang-packaging
-BuildRequires:  golang(API) >= 1.20
+BuildRequires:  golang(API) >= 1.23
 Requires(pre):  group(prometheus)
 Requires(pre):  user(prometheus)
 Provides:       prometheus-alertmanager = %{version}
@@ -57,7 +55,12 @@
 
 %build
 %goprep github.com/prometheus/alertmanager
+export GOFLAGS="-buildmode=pie"
+%ifarch %{ix86} armv7l armv7hl s390x
+GOPATH=%{_builddir}/go promu build -v --cgo
+%else
 GOPATH=%{_builddir}/go promu build -v
+%endif
 
 %install
 %goinstall

++++++ 0001-Default-settings.patch ++++++
--- /var/tmp/diff_new_pack.ACUqe6/_old  2025-01-27 20:54:47.813503046 +0100
+++ /var/tmp/diff_new_pack.ACUqe6/_new  2025-01-27 20:54:47.817503210 +0100
@@ -1,4 +1,4 @@
-From 09b9b978c3da4a8b431030cadc685ea2be68528e Mon Sep 17 00:00:00 2001
+From 407e5faf4924e1e77bf782fd6e143c412676371b 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
@@ -9,10 +9,10 @@
  1 file changed, 2 insertions(+), 2 deletions(-)
 
 diff --git a/cmd/alertmanager/main.go b/cmd/alertmanager/main.go
-index b645aa3..c91dc69 100644
+index 30b02447..6f2635e4 100644
 --- a/cmd/alertmanager/main.go
 +++ b/cmd/alertmanager/main.go
-@@ -199,8 +199,8 @@ func run() int {
+@@ -143,8 +143,8 @@ func run() int {
        }
  
        var (
@@ -22,5 +22,8 @@
 +              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()
                maintenanceInterval = kingpin.Flag("data.maintenance-interval", 
"Interval between garbage collection and snapshotting to disk of the silences 
and the notification logs.").Default("15m").Duration()
-               alertGCInterval     = kingpin.Flag("alerts.gc-interval", 
"Interval between alert GC.").Default("30m").Duration()
+               maxSilences         = kingpin.Flag("silences.max-silences", 
"Maximum number of silences, including expired silences. If negative or zero, 
no limit is set.").Default("0").Int()
+-- 
+2.47.1
+
 

++++++ _service ++++++
--- /var/tmp/diff_new_pack.ACUqe6/_old  2025-01-27 20:54:47.849504529 +0100
+++ /var/tmp/diff_new_pack.ACUqe6/_new  2025-01-27 20:54:47.853504694 +0100
@@ -4,7 +4,7 @@
     <param name="url">https://github.com/prometheus/alertmanager</param>
     <param name="exclude">.git</param>
     <param name="exclude">.github</param>
-    <param name="revision">refs/tags/v0.27.0</param>
+    <param name="revision">refs/tags/v0.28.0</param>
     <param name="versionformat">@PARENT_TAG@</param>
     <param name="versionrewrite-pattern">^\D*([\d.]+)$</param>
   </service>
@@ -17,7 +17,7 @@
     <param name="compression">gz</param>
   </service>
     <service name="go_modules" mode="manual">
-    <param name="archive">alertmanager-0.27.0.obscpio</param>
+    <param name="archive">alertmanager-0.28.0.obscpio</param>
   </service>
 </services>
 

++++++ alertmanager-0.27.0.obscpio -> alertmanager-0.28.0.obscpio ++++++
++++ 32417 lines of diff (skipped)

++++++ alertmanager.obsinfo ++++++
--- /var/tmp/diff_new_pack.ACUqe6/_old  2025-01-27 20:54:48.397527116 +0100
+++ /var/tmp/diff_new_pack.ACUqe6/_new  2025-01-27 20:54:48.401527281 +0100
@@ -1,5 +1,5 @@
 name: alertmanager
-version: 0.27.0
-mtime: 1709120154
-commit: 0aa3c2aad14cff039931923ab16b26b7481783b5
+version: 0.28.0
+mtime: 1736935487
+commit: 4ce04fb010bd626fca35928dcfe82f6f2da52ced
 

++++++ vendor.tar.gz ++++++
++++ 169995 lines of diff (skipped)

Reply via email to