* [PR PATCH] pgmetrics: update to 1.16.0.
@ 2023-10-05 13:12 tsndqst
2024-01-04 1:46 ` github-actions
` (3 more replies)
0 siblings, 4 replies; 5+ messages in thread
From: tsndqst @ 2023-10-05 13:12 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 744 bytes --]
There is a new pull request by tsndqst against master on the void-packages repository
https://github.com/tsndqst/void-packages pgmetrics-ldflags
https://github.com/void-linux/void-packages/pull/46445
pgmetrics: update to 1.16.0.
I changed the template so now pgmetrics shows the version string.
```
$ pgmetrics -V
pgmetrics 1.16.0
```
#### Testing the changes
- I tested the changes in this PR: **YES**
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
- aarch64-musl
- armv7l
- armv6l-musl
-->
A patch file from https://github.com/void-linux/void-packages/pull/46445.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-pgmetrics-ldflags-46445.patch --]
[-- Type: text/x-diff, Size: 1207 bytes --]
From cce3b3db96b5ca65eca5c15b3909ed8eb395294e Mon Sep 17 00:00:00 2001
From: Tim Sandquist <tim.sandquist@gmail.com>
Date: Thu, 9 Mar 2023 20:35:48 -0600
Subject: [PATCH] pgmetrics: update to 1.16.0.
---
srcpkgs/pgmetrics/template | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/srcpkgs/pgmetrics/template b/srcpkgs/pgmetrics/template
index 38a107da98648..8f32a4d37e230 100644
--- a/srcpkgs/pgmetrics/template
+++ b/srcpkgs/pgmetrics/template
@@ -1,16 +1,17 @@
# Template file for 'pgmetrics'
pkgname=pgmetrics
-version=1.15.0
-revision=2
+version=1.16.0
+revision=1
build_style=go
go_import_path="github.com/rapidloop/pgmetrics"
go_package="./cmd/pgmetrics"
+go_ldflags="-X main.version=${version} -extldflags '-static'"
short_desc="Collect and display statistics from running Postgresql"
maintainer="Gerardo Di iorio <arete74@gmail.com>"
license="Apache-2.0"
homepage="https://pgmetrics.io"
distfiles="https://github.com/rapidloop/pgmetrics/archive/refs/tags/v${version}.tar.gz"
-checksum=2975c4c5fbc8ebffeeb4afa0fd783bef60b3034c8d882d7e6d630ed5af803018
+checksum=59c9c32be979071bb029bf21e4cfe7c8fd81f5ff8c8967e7e67fe30f3c4aa23e
post_install() {
vdoc README.md
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: pgmetrics: update to 1.16.0.
2023-10-05 13:12 [PR PATCH] pgmetrics: update to 1.16.0 tsndqst
@ 2024-01-04 1:46 ` github-actions
2024-01-04 2:37 ` [PR PATCH] [Updated] " tsndqst
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: github-actions @ 2024-01-04 1:46 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 305 bytes --]
New comment by github-actions[bot] on void-packages repository
https://github.com/void-linux/void-packages/pull/46445#issuecomment-1876198221
Comment:
Pull Requests become stale 90 days after last activity and are closed 14 days after that. If this pull request is still relevant bump it or assign it.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PR PATCH] [Updated] pgmetrics: update to 1.16.0.
2023-10-05 13:12 [PR PATCH] pgmetrics: update to 1.16.0 tsndqst
2024-01-04 1:46 ` github-actions
@ 2024-01-04 2:37 ` tsndqst
2024-04-05 1:45 ` github-actions
2024-04-19 1:45 ` [PR PATCH] [Closed]: " github-actions
3 siblings, 0 replies; 5+ messages in thread
From: tsndqst @ 2024-01-04 2:37 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 749 bytes --]
There is an updated pull request by tsndqst against master on the void-packages repository
https://github.com/tsndqst/void-packages pgmetrics-ldflags
https://github.com/void-linux/void-packages/pull/46445
pgmetrics: update to 1.16.0.
I changed the template so now pgmetrics shows the version string.
```
$ pgmetrics -V
pgmetrics 1.16.0
```
#### Testing the changes
- I tested the changes in this PR: **YES**
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
- aarch64-musl
- armv7l
- armv6l-musl
-->
A patch file from https://github.com/void-linux/void-packages/pull/46445.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-pgmetrics-ldflags-46445.patch --]
[-- Type: text/x-diff, Size: 886 bytes --]
From c5921d22ef88aadc9cb12327e49a69cfe7eaca95 Mon Sep 17 00:00:00 2001
From: Tim Sandquist <tim.sandquist@gmail.com>
Date: Thu, 9 Mar 2023 20:35:48 -0600
Subject: [PATCH] pgmetrics: set version via go_ldflags
---
srcpkgs/pgmetrics/template | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/srcpkgs/pgmetrics/template b/srcpkgs/pgmetrics/template
index fcd6f02711209..47fc91c8f4177 100644
--- a/srcpkgs/pgmetrics/template
+++ b/srcpkgs/pgmetrics/template
@@ -1,10 +1,11 @@
# Template file for 'pgmetrics'
pkgname=pgmetrics
version=1.16.0
-revision=1
+revision=2
build_style=go
go_import_path="github.com/rapidloop/pgmetrics"
go_package="./cmd/pgmetrics"
+go_ldflags="-X main.version=${version} -extldflags '-static'"
short_desc="Collect and display statistics from running Postgresql"
maintainer="Gerardo Di iorio <arete74@gmail.com>"
license="Apache-2.0"
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: pgmetrics: update to 1.16.0.
2023-10-05 13:12 [PR PATCH] pgmetrics: update to 1.16.0 tsndqst
2024-01-04 1:46 ` github-actions
2024-01-04 2:37 ` [PR PATCH] [Updated] " tsndqst
@ 2024-04-05 1:45 ` github-actions
2024-04-19 1:45 ` [PR PATCH] [Closed]: " github-actions
3 siblings, 0 replies; 5+ messages in thread
From: github-actions @ 2024-04-05 1:45 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 305 bytes --]
New comment by github-actions[bot] on void-packages repository
https://github.com/void-linux/void-packages/pull/46445#issuecomment-2038602710
Comment:
Pull Requests become stale 90 days after last activity and are closed 14 days after that. If this pull request is still relevant bump it or assign it.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PR PATCH] [Closed]: pgmetrics: update to 1.16.0.
2023-10-05 13:12 [PR PATCH] pgmetrics: update to 1.16.0 tsndqst
` (2 preceding siblings ...)
2024-04-05 1:45 ` github-actions
@ 2024-04-19 1:45 ` github-actions
3 siblings, 0 replies; 5+ messages in thread
From: github-actions @ 2024-04-19 1:45 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 638 bytes --]
There's a closed pull request on the void-packages repository
pgmetrics: update to 1.16.0.
https://github.com/void-linux/void-packages/pull/46445
Description:
I changed the template so now pgmetrics shows the version string.
```
$ pgmetrics -V
pgmetrics 1.16.0
```
Instead of
```
$ pgmetrics -V
pgmetrics devel
```
#### Testing the changes
- I tested the changes in this PR: **YES**
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
- aarch64-musl
- armv7l
- armv6l-musl
-->
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2024-04-19 1:45 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-10-05 13:12 [PR PATCH] pgmetrics: update to 1.16.0 tsndqst
2024-01-04 1:46 ` github-actions
2024-01-04 2:37 ` [PR PATCH] [Updated] " tsndqst
2024-04-05 1:45 ` github-actions
2024-04-19 1:45 ` [PR PATCH] [Closed]: " github-actions
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).