Github messages for voidlinux
 help / color / mirror / Atom feed
From: TeddyDD <TeddyDD@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] stern: update to 1.22.0.
Date: Thu, 29 Sep 2022 18:23:05 +0200	[thread overview]
Message-ID: <20220929162305.Wbo5NoLdeBSZEoGs2p6aMWc8kdBH9ZB5rmt5Vwjm71w@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-39531@inbox.vuxu.org>

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

There is an updated 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: 1419 bytes --]

From b45af254af4880f573024e0eb2a161e1686c9af9 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..5dc73c959f2d 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() {
+	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
+}
+

  reply	other threads:[~2022-09-29 16:23 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-09-29 16:21 [PR PATCH] " TeddyDD
2022-09-29 16:23 ` TeddyDD [this message]
2022-09-29 16:25 ` [PR PATCH] [Updated] " TeddyDD
2022-09-30 18:22 ` TeddyDD
2022-09-30 18:24 ` TeddyDD
2022-10-01 22:58 ` [PR PATCH] [Merged]: " leahneukirchen

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=20220929162305.Wbo5NoLdeBSZEoGs2p6aMWc8kdBH9ZB5rmt5Vwjm71w@z \
    --to=teddydd@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).