Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] prometheus: update to 2.48.1.
@ 2023-12-28  3:19 zdykstra
  2024-01-03 16:36 ` [PR REVIEW] " Duncaen
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: zdykstra @ 2023-12-28  3:19 UTC (permalink / raw)
  To: ml

[-- 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"
 

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2024-01-29 15:24 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-12-28  3:19 [PR PATCH] prometheus: update to 2.48.1 zdykstra
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

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).