Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] stern: update to 1.22.0.
@ 2022-09-29 16:21 TeddyDD
  2022-09-29 16:23 ` [PR PATCH] [Updated] " TeddyDD
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: TeddyDD @ 2022-09-29 16:21 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1178 bytes --]

There is a new pull request by TeddyDD against master on the void-packages repository

https://github.com/TeddyDD/void-packages-1 update-stern
https://github.com/void-linux/void-packages/pull/39531

stern: update to 1.22.0.
Added completions

#### Testing the changes
- I tested the changes in this PR: **YES**
<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**|**NO**
-->

<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### 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/39531.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-update-stern-39531.patch --]
[-- Type: text/x-diff, Size: 1425 bytes --]

From 6c92deff6bde10faa82631c9d7c200f494287a5a Mon Sep 17 00:00:00 2001
From: Daniel Lewan <vision360.daniel@gmail.com>
Date: Thu, 29 Sep 2022 18:21:15 +0200
Subject: [PATCH] stern: update to 1.22.0.

---
 srcpkgs/stern/template | 22 ++++++++++++++++++++--
 1 file changed, 20 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/stern/template b/srcpkgs/stern/template
index 1efac280670f..34fb26da71a4 100644
--- a/srcpkgs/stern/template
+++ b/srcpkgs/stern/template
@@ -1,15 +1,33 @@
 # Template file for 'stern'
 pkgname=stern
-version=1.21.0
+version=1.22.0
 revision=1
 build_style=go
+build_helper=qemu
 go_import_path="github.com/stern/stern"
 short_desc="Multi pod and container log tailing for Kubernetes"
 maintainer="Kyle Nusbaum <knusbaum+void@sdf.org>"
 license="Apache-2.0"
 homepage="https://github.com/stern/stern"
 distfiles="https://github.com/stern/stern/archive/v${version}.tar.gz"
-checksum=0ccf1375ee3c20508c37de288a46faa6b0e4dffb3a3749f4b699a30f95e861be
+checksum=3726e3c6a0e8c2828bce7b67f9ee94ddbedcfbeeecf9e6ab42e23873e3f54161
 
 # fix: collect2: fatal error: cannot find 'ld'
 LDFLAGS="-fuse-ld=bfd"
+
+post_build() {
+	local cli=$(find "$GOPATH"/bin -name stern)
+	for shell in bash fish zsh
+	do
+		vtargetrun "$cli" --completion "$shell" >"completion.$shell"
+	done
+}
+
+post_install() {
+	for shell in bash fish zsh
+	do
+		vcompletion "completion.$shell" "$shell"
+	done
+	vlicense LICENSE
+}
+

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

end of thread, other threads:[~2022-10-01 22:58 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-09-29 16:21 [PR PATCH] stern: update to 1.22.0 TeddyDD
2022-09-29 16:23 ` [PR PATCH] [Updated] " TeddyDD
2022-09-29 16:25 ` TeddyDD
2022-09-30 18:22 ` TeddyDD
2022-09-30 18:24 ` TeddyDD
2022-10-01 22:58 ` [PR PATCH] [Merged]: " leahneukirchen

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