* [PR PATCH] grafana: update to 10.0.3
@ 2023-07-30 9:13 MeganerdNL
2023-08-05 14:11 ` MeganerdNL
` (3 more replies)
0 siblings, 4 replies; 5+ messages in thread
From: MeganerdNL @ 2023-07-30 9:13 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1005 bytes --]
There is a new pull request by MeganerdNL against master on the void-packages repository
https://github.com/MeganerdNL/void-packages grafana-10.0.3
https://github.com/void-linux/void-packages/pull/45322
grafana: update to 10.0.3
#### Testing the changes
- I tested the changes in this PR: **YES**
#### Local build testing
- I built this PR locally for my native architecture, (x86-64-glibc)
- I built this PR locally for these architectures:
- armv6l-glibc
Grafana is on a rather old version on Void Linux - the 8 series.
Going to the 9 series has no breaking changes as far as I can see.
Going to the 10 series has some: https://grafana.com/docs/grafana/latest/breaking-changes/breaking-changes-v10-0/ but nothing too fancy imho.
One notable change is a new executable _grafana_ which will deprecate _grafana-cli_ **and** _grafana-server_. For now they are included all 3 for compatibility.
A patch file from https://github.com/void-linux/void-packages/pull/45322.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-grafana-10.0.3-45322.patch --]
[-- Type: text/x-diff, Size: 2461 bytes --]
From c11c399b93af926780a2fce8a80faac36814cb51 Mon Sep 17 00:00:00 2001
From: MeganerdNL <meganerd@meganerd.nl>
Date: Sat, 29 Jul 2023 14:15:41 +0200
Subject: [PATCH] grafana: update to 10.0.3
---
srcpkgs/grafana/files/grafana/run | 3 +--
srcpkgs/grafana/template | 10 +++++-----
2 files changed, 6 insertions(+), 7 deletions(-)
diff --git a/srcpkgs/grafana/files/grafana/run b/srcpkgs/grafana/files/grafana/run
index f1d961e83f484..70113906b4b97 100755
--- a/srcpkgs/grafana/files/grafana/run
+++ b/srcpkgs/grafana/files/grafana/run
@@ -1,4 +1,3 @@
#!/bin/sh
exec 2>&1
-
-exec chpst -u _grafana:_grafana grafana-server -homepath /usr/share/grafana/ -config /etc/grafana/grafana.ini 2>&1
+exec chpst -u _grafana:_grafana grafana server -homepath /usr/share/grafana/ -config /etc/grafana/grafana.ini 2>&1
diff --git a/srcpkgs/grafana/template b/srcpkgs/grafana/template
index 4f1340bcca407..75db1925d8285 100644
--- a/srcpkgs/grafana/template
+++ b/srcpkgs/grafana/template
@@ -1,10 +1,10 @@
# Template file for 'grafana'
pkgname=grafana
-version=8.5.24
+version=10.0.3
revision=1
build_style=go
go_import_path=github.com/grafana/grafana
-go_package="${go_import_path}/pkg/cmd/grafana-cli ${go_import_path}/pkg/cmd/grafana-server"
+go_package="${go_import_path}/pkg/cmd/grafana-cli ${go_import_path}/pkg/cmd/grafana-server ${go_import_path}/pkg/cmd/grafana"
hostmakedepends="tar make"
short_desc="Open platform for beautiful analytics and monitoring"
maintainer="Michael Aldridge <maldridge@voidlinux.org>"
@@ -12,8 +12,8 @@ license="Apache-2.0"
homepage="https://grafana.com"
distfiles="https://dl.grafana.com/oss/release/grafana-${version}.linux-amd64.tar.gz
https://github.com/grafana/grafana/archive/v${version}.tar.gz"
-checksum="ff088012f356bcece24e5c89f924fed83a3b63736ec2cc9bc2a66341bf8fe00c
-9332fea516f617e6f9b418f28154f4f8f162c2abb3b739cc6ae7fedac21ddc41"
+checksum="daeb7eee1327b6d407cdaaf1a234ec9d8e2ae5a6d085e0fd3d8c606214eb6032
+9c1a1e3a9133abe4140aabad0d968f43ec2b3b14309f0dff80da367220bf58ff"
system_accounts="_grafana"
_grafana_homedir="/var/lib/grafana"
@@ -35,7 +35,7 @@ pre_build() {
do_install() {
# only install grafana binaries - GOPATH/bin contains eg. wire used at
# buildtime, which we don't want in the package
- for f in ${GOPATH}/bin/grafana-* ${GOPATH}/bin/*/grafana-*; do
+ for f in ${GOPATH}/bin/grafana* ${GOPATH}/bin/*/grafana*; do
if [ -f "$f" ] && [ -x "$f" ]; then
vbin "$f"
fi
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: grafana: update to 10.0.3
2023-07-30 9:13 [PR PATCH] grafana: update to 10.0.3 MeganerdNL
@ 2023-08-05 14:11 ` MeganerdNL
2023-08-07 12:37 ` TinfoilSubmarine
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: MeganerdNL @ 2023-08-05 14:11 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 198 bytes --]
New comment by MeganerdNL on void-packages repository
https://github.com/void-linux/void-packages/pull/45322#issuecomment-1666516710
Comment:
@the-maldridge could you review as maintainer? Thanks
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: grafana: update to 10.0.3
2023-07-30 9:13 [PR PATCH] grafana: update to 10.0.3 MeganerdNL
2023-08-05 14:11 ` MeganerdNL
@ 2023-08-07 12:37 ` TinfoilSubmarine
2023-08-07 13:35 ` TinfoilSubmarine
2023-08-09 20:26 ` [PR PATCH] [Merged]: " Duncaen
3 siblings, 0 replies; 5+ messages in thread
From: TinfoilSubmarine @ 2023-08-07 12:37 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 205 bytes --]
New comment by TinfoilSubmarine on void-packages repository
https://github.com/void-linux/void-packages/pull/45322#issuecomment-1667779504
Comment:
Built and running on my machine with no issues so far.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: grafana: update to 10.0.3
2023-07-30 9:13 [PR PATCH] grafana: update to 10.0.3 MeganerdNL
2023-08-05 14:11 ` MeganerdNL
2023-08-07 12:37 ` TinfoilSubmarine
@ 2023-08-07 13:35 ` TinfoilSubmarine
2023-08-09 20:26 ` [PR PATCH] [Merged]: " Duncaen
3 siblings, 0 replies; 5+ messages in thread
From: TinfoilSubmarine @ 2023-08-07 13:35 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 220 bytes --]
New comment by TinfoilSubmarine on void-packages repository
https://github.com/void-linux/void-packages/pull/45322#issuecomment-1667779504
Comment:
Built and running on my machine with no issues so far (x86_64-glibc).
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PR PATCH] [Merged]: grafana: update to 10.0.3
2023-07-30 9:13 [PR PATCH] grafana: update to 10.0.3 MeganerdNL
` (2 preceding siblings ...)
2023-08-07 13:35 ` TinfoilSubmarine
@ 2023-08-09 20:26 ` Duncaen
3 siblings, 0 replies; 5+ messages in thread
From: Duncaen @ 2023-08-09 20:26 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 841 bytes --]
There's a merged pull request on the void-packages repository
grafana: update to 10.0.3
https://github.com/void-linux/void-packages/pull/45322
Description:
#### Testing the changes
- I tested the changes in this PR: **YES**
#### Local build testing
- I built this PR locally for my native architecture, (x86_64-glibc)
- I built this PR locally for these architectures:
- armv6l-glibc
Grafana is on a rather old version on Void Linux - the 8 series.
Going to the 9 series has no breaking changes as far as I can see.
Going to the 10 series has some: https://grafana.com/docs/grafana/latest/breaking-changes/breaking-changes-v10-0/ but nothing too fancy imho.
One notable change is a new executable _grafana_ which will deprecate _grafana-cli_ **and** _grafana-server_. For now they are included all 3 for compatibility.
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2023-08-09 20:26 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-07-30 9:13 [PR PATCH] grafana: update to 10.0.3 MeganerdNL
2023-08-05 14:11 ` MeganerdNL
2023-08-07 12:37 ` TinfoilSubmarine
2023-08-07 13:35 ` TinfoilSubmarine
2023-08-09 20:26 ` [PR PATCH] [Merged]: " Duncaen
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).