From: zdykstra <zdykstra@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: [PR PATCH] prometheus: update to 2.48.1.
Date: Thu, 28 Dec 2023 04:19:39 +0100 [thread overview]
Message-ID: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-47935@inbox.vuxu.org> (raw)
[-- Attachment #1: Type: text/plain, Size: 817 bytes --]
There is a new pull request by zdykstra against master on the void-packages repository
https://github.com/zdykstra/void-packages prometheus-2.48.1
https://github.com/void-linux/void-packages/pull/47935
prometheus: update to 2.48.1.
#### Testing the changes
- I tested the changes in this PR: **YES**
The current version of Prometheus in the repos has missing version information. Pointing it to github.com/prometheus/common sets things correctly:
```
# prometheus --version
prometheus, version 2.48.1 (branch: 2.48.1, revision: 2.48.1)
build user: VoidLinux
build date: 20231228-02:47:53
go version: go1.21.5
platform: linux/amd64
tags: netgo,builtinassets
```
A patch file from https://github.com/void-linux/void-packages/pull/47935.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-prometheus-2.48.1-47935.patch --]
[-- Type: text/x-diff, Size: 1884 bytes --]
From 8a4e236c12a4269ebbc2c06b8fc05b535c59202f Mon Sep 17 00:00:00 2001
From: Zach Dykstra <dykstra.zachary@gmail.com>
Date: Wed, 27 Dec 2023 20:47:53 -0600
Subject: [PATCH] prometheus: update to 2.48.1.
---
srcpkgs/prometheus/template | 15 ++++++++-------
1 file changed, 8 insertions(+), 7 deletions(-)
diff --git a/srcpkgs/prometheus/template b/srcpkgs/prometheus/template
index ca5a48fcee0c4..eba88add44f5d 100644
--- a/srcpkgs/prometheus/template
+++ b/srcpkgs/prometheus/template
@@ -1,14 +1,15 @@
# Template file for 'prometheus'
pkgname=prometheus
-version=2.43.0
-revision=3
+version=2.48.1
+revision=1
build_style=go
go_import_path="github.com/prometheus/prometheus"
go_package="github.com/prometheus/prometheus/cmd/prometheus github.com/prometheus/prometheus/cmd/promtool"
-go_ldflags="-X ${go_import_path}/version.Version=${version}
- -X ${go_import_path}/version.Revision=${version}
- -X ${go_import_path}/version.Branch=${version}
- -X ${go_import_path}/version.BuildUser=VoidLinux"
+go_ldflags="-X github.com/prometheus/common/version.Version=${version}
+ -X github.com/prometheus/common/version.Revision=${version}
+ -X github.com/prometheus/common/version.Branch=${version}
+ -X github.com/prometheus/common/version.BuildDate=$(date -u "+%Y%m%d-%H:%M:%S")
+ -X github.com/prometheus/common/version.BuildUser=VoidLinux"
go_build_tags="netgo,builtinassets"
hostmakedepends="yarn"
conf_files="/etc/prometheus/prometheus.yml"
@@ -18,7 +19,7 @@ license="Apache-2.0, MIT"
homepage="https://prometheus.io/"
changelog="https://raw.githubusercontent.com/prometheus/prometheus/master/CHANGELOG.md"
distfiles="https://github.com/prometheus/prometheus/archive/v${version}.tar.gz"
-checksum=0cd8860e5f10d0ecb35d20d23252ddc459e8319882dc163bf71b723e3bcafd71
+checksum=59383d09f7a2a97461a7d3df4fd387d0a59229125bf52e8da2b075faa8cbdf81
system_accounts="_prometheus"
next reply other threads:[~2023-12-28 3:19 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-12-28 3:19 zdykstra [this message]
2024-01-03 16:36 ` [PR REVIEW] " Duncaen
2024-01-03 16:57 ` zdykstra
2024-01-03 16:57 ` [PR PATCH] [Updated] " zdykstra
2024-01-15 16:09 ` zdykstra
2024-01-15 18:13 ` [PR PATCH] [Updated] prometheus: update to 2.49.0 zdykstra
2024-01-29 15:24 ` [PR PATCH] [Merged]: " ahesford
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-47935@inbox.vuxu.org \
--to=zdykstra@users.noreply.github.com \
--cc=ml@inbox.vuxu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).