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
2026-05-08 16:43:46
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/golang-github-prometheus-alertmanager (Old)
and
/work/SRC/openSUSE:Factory/.golang-github-prometheus-alertmanager.new.1966 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "golang-github-prometheus-alertmanager"
Fri May 8 16:43:46 2026 rev:33 rq:1351455 version:0.32.1
Changes:
--------
---
/work/SRC/openSUSE:Factory/golang-github-prometheus-alertmanager/golang-github-prometheus-alertmanager.changes
2026-04-25 21:38:07.947635154 +0200
+++
/work/SRC/openSUSE:Factory/.golang-github-prometheus-alertmanager.new.1966/golang-github-prometheus-alertmanager.changes
2026-05-08 16:44:13.434309000 +0200
@@ -1,0 +2,78 @@
+Thu Apr 30 07:37:50 UTC 2026 - Johannes Kastl
<[email protected]>
+
+- update to 0.32.1:
+ * [BUGFIX] dispatcher: Fix issue with dispatching to a contended
+ route. #5179
+ * [BUGFIX] ui: Provide prebuilt ui assets in release. #5191
+ * [ENHANCEMENT] ui: Support building artifacts in containers with
+ Docker or Podman. #5102
+
+-------------------------------------------------------------------
+Thu Apr 30 07:20:31 UTC 2026 - Johannes Kastl
<[email protected]>
+
+- adapt packaging to ui/app content needed for building
+- update to 0.32.0:
+ * [CHANGE] go get github.com/prometheus/alertmanager/ui will now
+ fail as compiled UI assets are no longer checked into the
+ repository. Downstream builds that rely on these assets being
+ present in the source tree must now build the UI from source.
+ #5113
+ * [CHANGE] The '--enable-feature=auto-gomaxprocs' option is
+ deprecated and will be removed in v0.33. This flag currently
+ has no effect and can be safely removed from any startup
+ scripts. #5090
+ * [CHANGE] Update internal function signatures across multiple
+ packages. This affects any project that integrates Alertmanager
+ code.
+ * [ENHANCEMENT] Add static asset caching. #5113
+ * [ENHANCEMENT] Reduce memory allocations through pre-sizing
+ collections and batch allocation. #5020
+ * [ENHANCEMENT] Replace help with documentation in navigation
+ bar. #4943
+ * [ENHANCEMENT] docs(ha): Update high availability documentation.
+ #5136
+ * [ENHANCEMENT] docs: Add auth_secret_file for smtp in document.
+ #5036
+ * [ENHANCEMENT] docs: Add description for global
+ telegram_bot_token. #5114
+ * [ENHANCEMENT] docs: Add note about notifier timeouts. #5077
+ * [ENHANCEMENT] docs: Fix force_implicit_tls config field name.
+ #5030
+ * [ENHANCEMENT] docs: Link community supported integrations.
+ #4978
+ * [ENHANCEMENT] docs: Remove duplicate header. #5034
+ * [ENHANCEMENT] docs: Update mutual tls reference in high
+ availability documentation. #5120
+ * [ENHANCEMENT] tracing: Use noop spans when tracing disabled.
+ #5118
+ * [ENHANCEMENT] ui: Serve pre-compressed assets. #5133
+ * [FEATURE] Add silence annotations. #4965
+ * [FEATURE] Add silence logging option. #4163
+ * [FEATURE] Add support for multiple matcher set silences. #4957
+ * [FEATURE] Add the reason for notifying in dedup stage. #4971
+ * [FEATURE] mattermost: Flatten attachments into top-level
+ config. #5009
+ * [FEATURE] mattermost: Support global webhook url. #4998
+ * [FEATURE] slack: Add default color from template. #5014
+ * [FEATURE] slack: Allow receiver to edit existing messages.
+ #5007
+ * [FEATURE] template: Add dict, map and append functions. #5093
+ * [FEATURE] webhook: Add full payload templating support for
+ notifier. #5011
+ * [BUGFIX] config: Check for empty cluster tls client config.
+ #5126
+ * [BUGFIX] config: Don't crash upon reading empty config for
+ notifier. #4979
+ * [BUGFIX] config: Fix ipv6 address handling in
+ hostport.string(). #5040
+ * [BUGFIX] mattermost: Omit empty text field in notifications.
+ #4985
+ * [BUGFIX] telegram: Send fallback message when notification
+ exceeds character limit. #5074
+ * [BUGFIX] tracing: Properly shutdown tracer provider. #5131
+ * [BUGFIX] ui: Fix escaping for matcher values with quotes. #4862
+ * [BUGFIX] ui: Handle special chars in silence regex-matchers.
+ #4942
+ * [BUGFIX] ui: Support utf-8 label names in matchers. #5089
+
+-------------------------------------------------------------------
Old:
----
alertmanager-0.31.1.tar.gz
alertmanager.obsinfo
New:
----
Makefile
PACKAGING_README.md
alertmanager-0.32.1.tar.gz
prepare_webassets.sh
ui-0.32.1.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ golang-github-prometheus-alertmanager.spec ++++++
--- /var/tmp/diff_new_pack.NkJJdO/_old 2026-05-08 16:44:26.622858418 +0200
+++ /var/tmp/diff_new_pack.NkJJdO/_new 2026-05-08 16:44:26.634858919 +0200
@@ -17,7 +17,7 @@
Name: golang-github-prometheus-alertmanager
-Version: 0.31.1
+Version: 0.32.1
Release: 0
Summary: Prometheus Alertmanager
License: Apache-2.0
@@ -27,11 +27,16 @@
Source1: vendor.tar.gz
Source2: prometheus-alertmanager.service
Source3: alertmanager.yml
+Source4: ui-%{version}.tar.gz
+#
+Source11: PACKAGING_README.md
+Source12: Makefile
+Source13: prepare_webassets.sh
# Lifted from Debian's alertmanager package
Patch1: 0001-Default-settings.patch
BuildRequires: fdupes
BuildRequires: golang-github-prometheus-promu >= 0.12.0
-BuildRequires: golang(API) >= 1.24
+BuildRequires: golang(API) >= 1.25
Requires(pre): group(prometheus)
Requires(pre): user(prometheus)
Provides: prometheus-alertmanager = %{version}
@@ -46,6 +51,7 @@
%prep
%autosetup -a1 -p1 -n alertmanager-%{version}
+tar xf %{SOURCE4}
%build
%ifarch %{ix86} armv7l armv7hl s390x
++++++ Makefile ++++++
.ONESHELL:
SHELL := /bin/bash
NAME = alertmanager
SPEC = golang-github-prometheus-alertmanager.spec
.SILENT: clean obs_download_files web_assets obs_go_modules
default: clean obs_download_files web_assets obs_go_modules
clean:
rm -rf $(NAME) $(NAME)-*.tar.gz ui-*.tar.gz vendor.tar.gz
obs_download_files:
osc service manualrun download_files
web_assets:
podman run \
-ti \
--rm \
--pull=always \
-v .:/data/ \
registry.opensuse.org/opensuse/tumbleweed:latest \
bash /data/prepare_webassets.sh
obs_go_modules:
osc service manualrun go_modules
++++++ PACKAGING_README.md ++++++
# Packaging alertmanager
In addition to the source code in the tarball, this package also needs the
assets for the web UI. These can be generated by the `Makefile` that is present
in this package. To do that, you need to have `make` and `podman` installed
locally. For the OBS workflow you also need `obs-service-go_modules` as well as
`obs-service-download_files`.
1. Change the version in the `_service` file
2. Run `make`
3. Create a changelog entry
4. Commit the changes as usual
5. If desired, remove the container image used to build the web assets:
```
podman image rm registry.opensuse.org/opensuse/leap:16.0
```
++++++ _service ++++++
--- /var/tmp/diff_new_pack.NkJJdO/_old 2026-05-08 16:44:26.734863084 +0200
+++ /var/tmp/diff_new_pack.NkJJdO/_new 2026-05-08 16:44:26.738863251 +0200
@@ -1,8 +1,7 @@
<services>
- <service name="download_files" mode="manual" />
+ <service name="download_files" mode="manual"/>
<service name="go_modules" mode="manual">
<param name="archive">alertmanager-*.tar.gz</param>
- <param
name="replace">google.golang.org/grpc=google.golang.org/[email protected]</param>
</service>
</services>
++++++ alertmanager-0.31.1.tar.gz -> alertmanager-0.32.1.tar.gz ++++++
++++ 43457 lines of diff (skipped)
++++++ prepare_webassets.sh ++++++
#!/bin/bash
# do not use set -e, as the make step will abort the build due to
warnings/errors
set -o pipefail
[[ "$#" == "0" ]] || {
echo "Please call the script without arguments"
exit 1
}
package_name=alertmanager
spec_file_name=golang-github-prometheus-alertmanager.spec
cd /data || exit 11
zypper -n install \
gawk \
git-core \
npm || exit 13
version="$( awk '/^Version:/ {print $2;exit;}' "${spec_file_name}" )"
echo "##########"
echo "Package version is $version"
basename="${package_name}-$version"
webassets_tarball="ui-${version}.tar.gz"
tar="$basename.tar.gz"
working_directory="$(pwd)"
tmpdir="$(mktemp -d -p /tmp)"
cd "${tmpdir}" || exit 15
echo "##########"
echo "Extracting tar archive"
tar xf "$working_directory/$tar" || exit 21
ls -lah
cd "$basename" || exit 23
ls -lah
echo "##########"
pushd ui/app/ || exit 25
nvm install
npm ci
npm run build
popd || exit 29
echo "Creating web assets tarball"
tar -czf "${working_directory}/${webassets_tarball}" ui/app/dist/
echo "DONE preparing the webassets"
echo "##########"
echo "cleaning up"
cd "${working_directory}" || exit 41
rm -rf "$tmpdir" || exit 43
++++++ vendor.tar.gz ++++++
/work/SRC/openSUSE:Factory/golang-github-prometheus-alertmanager/vendor.tar.gz
/work/SRC/openSUSE:Factory/.golang-github-prometheus-alertmanager.new.1966/vendor.tar.gz
differ: char 13, line 1