Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] github-cli: update to 2.17.0
@ 2022-10-05 12:13 tranzystorek-io
  2022-10-05 21:33 ` [PR PATCH] [Merged]: " classabbyamp
  0 siblings, 1 reply; 2+ messages in thread
From: tranzystorek-io @ 2022-10-05 12:13 UTC (permalink / raw)
  To: ml

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

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

https://github.com/tranzystorek-io/void-packages gh
https://github.com/void-linux/void-packages/pull/39735

github-cli: update to 2.17.0
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **briefly**

<!--
#### 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/39735.patch is attached

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

From 7764a96ab2dcbc787c167ff322acf56ad2e9eff9 Mon Sep 17 00:00:00 2001
From: Marcin Puc <tranzystorek.io@protonmail.com>
Date: Wed, 5 Oct 2022 14:12:55 +0200
Subject: [PATCH] github-cli: update to 2.17.0

---
 srcpkgs/github-cli/template | 16 ++++++----------
 1 file changed, 6 insertions(+), 10 deletions(-)

diff --git a/srcpkgs/github-cli/template b/srcpkgs/github-cli/template
index 7b7db9b4e88f..88ffda6520ba 100644
--- a/srcpkgs/github-cli/template
+++ b/srcpkgs/github-cli/template
@@ -1,6 +1,6 @@
 # Template file for 'github-cli'
 pkgname=github-cli
-version=2.16.1
+version=2.17.0
 revision=1
 wrksrc="cli-${version}"
 build_style=go
@@ -13,7 +13,7 @@ license="MIT"
 homepage="https://cli.github.com"
 changelog="https://github.com/cli/cli/releases"
 distfiles="https://github.com/cli/cli/archive/refs/tags/v${version}.tar.gz"
-checksum=ed42d919d22b33c60d7c4243ac37cc1127e342817e563038aeba2e2a3f93ed81
+checksum=0e8db6dbb148a899db45f4dc8165644f6361d9bd6d088aa7633368b3baedbe54
 
 pre_build() {
 	local _date
@@ -23,19 +23,15 @@ pre_build() {
 	fi
 }
 
-post_build() {
-	CGO_ENABLED=0 GOARCH="" go run script/build.go manpages
-	gh=$(find $GOPATH/bin -name gh)
-	for shell in bash fish zsh; do
-		vtargetrun $gh completion -s $shell > github-cli.$shell
-	done
-}
-
 post_install() {
 	vlicense LICENSE
 
+	CGO_ENABLED=0 GOARCH="" go run script/build.go manpages
 	vcopy share/man usr/share
+
+	GH="${DESTDIR}/usr/bin/gh"
 	for shell in bash fish zsh; do
+		vtargetrun ${GH} completion -s $shell > github-cli.$shell
 		vcompletion github-cli.$shell $shell gh
 	done
 }

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

* Re: [PR PATCH] [Merged]: github-cli: update to 2.17.0
  2022-10-05 12:13 [PR PATCH] github-cli: update to 2.17.0 tranzystorek-io
@ 2022-10-05 21:33 ` classabbyamp
  0 siblings, 0 replies; 2+ messages in thread
From: classabbyamp @ 2022-10-05 21:33 UTC (permalink / raw)
  To: ml

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

There's a merged pull request on the void-packages repository

github-cli: update to 2.17.0
https://github.com/void-linux/void-packages/pull/39735

Description:
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **briefly**

<!--
#### 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
-->


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

end of thread, other threads:[~2022-10-05 21:33 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-10-05 12:13 [PR PATCH] github-cli: update to 2.17.0 tranzystorek-io
2022-10-05 21:33 ` [PR PATCH] [Merged]: " classabbyamp

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