* Re: glab: update to 1.22.0.
2022-08-09 8:19 [PR PATCH] glab: update to 1.22.0 TheGejr
@ 2022-08-09 13:02 ` icp1994
2022-08-11 10:25 ` [PR PATCH] [Updated] " TheGejr
` (4 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: icp1994 @ 2022-08-09 13:02 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 423 bytes --]
New comment by icp1994 on void-packages repository
https://github.com/void-linux/void-packages/pull/38549#issuecomment-1209354002
Comment:
The upstream is being being [adopted by and transitioned to GitLab](https://github.com/profclems/glab/issues/983). Probably better to update the `homepage` and `distfiles` now as the [release is also available](https://gitlab.com/gitlab-org/cli/-/releases/v1.22.0) in the new host.
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PR PATCH] [Updated] glab: update to 1.22.0.
2022-08-09 8:19 [PR PATCH] glab: update to 1.22.0 TheGejr
2022-08-09 13:02 ` icp1994
@ 2022-08-11 10:25 ` TheGejr
2022-08-11 10:26 ` TheGejr
` (3 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: TheGejr @ 2022-08-11 10:25 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 759 bytes --]
There is an updated pull request by TheGejr against master on the void-packages repository
https://github.com/TheGejr/void-packages glab
https://github.com/void-linux/void-packages/pull/38549
glab: update to 1.22.0.
#### 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 (if supported. mark crossbuilds):
- [x] aarch64-musl (crossbuilds)
- [x] aarch64 (crossbuilds)
- [x] armv7l-musl (crossbuilds)
- [x] armv7l (crossbuilds)
- [x] i686-musl (crossbuilds)
- [x] x86_64-musl (crossbuilds)
A patch file from https://github.com/void-linux/void-packages/pull/38549.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-glab-38549.patch --]
[-- Type: text/x-diff, Size: 1759 bytes --]
From 046a1517a15c3e230caefea2ab1284750b2b90a4 Mon Sep 17 00:00:00 2001
From: Malte Gejr <maltegejr.korup@gmail.com>
Date: Tue, 9 Aug 2022 10:15:45 +0200
Subject: [PATCH] glab: update to 1.22.0.
---
srcpkgs/glab/template | 11 +++++++----
srcpkgs/glab/update | 3 +++
2 files changed, 10 insertions(+), 4 deletions(-)
create mode 100644 srcpkgs/glab/update
diff --git a/srcpkgs/glab/template b/srcpkgs/glab/template
index 93a65d57a0e2..3de125b19628 100644
--- a/srcpkgs/glab/template
+++ b/srcpkgs/glab/template
@@ -1,7 +1,9 @@
# Template file for 'glab'
pkgname=glab
-version=1.18.1
+_basename=cli
+version=1.22.0
revision=1
+wrksrc=$_basename-v$version
build_style=go
go_ldflags="-X main.version=$version"
go_import_path=github.com/profclems/glab
@@ -9,9 +11,10 @@ go_package="${go_import_path}/cmd/glab"
short_desc="Command line tool bringing GitLab's features to your command line"
maintainer="Enno Boland <gottox@voidlinux.org>"
license="MIT"
-homepage="https://github.com/profclems/glab"
-distfiles="https://github.com/profclems/glab/archive/v$version.tar.gz"
-checksum=ce10c93268eb58fa6d277ebd4ed6de254e4365a1a332122f597e295cc11496c3
+homepage="https://gitlab.com/gitlab-org/cli"
+#distfiles="https://github.com/profclems/glab/archive/v$version.tar.gz"
+distfiles="https://gitlab.com/gitlab-org/cli/-/archive/v$version/cli-v$version.tar.gz"
+checksum=4d9bceb6818c8bf9f681119dae3a65f1c895fa21e9da6b38e8f88d245f524e10
post_install() {
vlicense LICENSE
diff --git a/srcpkgs/glab/update b/srcpkgs/glab/update
new file mode 100644
index 000000000000..608e9bf8698f
--- /dev/null
+++ b/srcpkgs/glab/update
@@ -0,0 +1,3 @@
+site="https://gitlab.com/gitlab-org/cli/-/tags?format=atom"
+pattern="(?<=<title>v).*(?=<\/title>)"
+ignore="*pre*"
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: glab: update to 1.22.0.
2022-08-09 8:19 [PR PATCH] glab: update to 1.22.0 TheGejr
2022-08-09 13:02 ` icp1994
2022-08-11 10:25 ` [PR PATCH] [Updated] " TheGejr
@ 2022-08-11 10:26 ` TheGejr
2022-08-13 19:40 ` [PR REVIEW] " classabbyamp
` (2 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: TheGejr @ 2022-08-11 10:26 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 259 bytes --]
New comment by TheGejr on void-packages repository
https://github.com/void-linux/void-packages/pull/38549#issuecomment-1211805802
Comment:
The upstream has been changed to GitLab. `homepage`, `distfiles` and the `update pattern` has been updated to GitLab.
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PR REVIEW] glab: update to 1.22.0.
2022-08-09 8:19 [PR PATCH] glab: update to 1.22.0 TheGejr
` (2 preceding siblings ...)
2022-08-11 10:26 ` TheGejr
@ 2022-08-13 19:40 ` classabbyamp
2022-08-21 18:42 ` [PR PATCH] [Updated] " classabbyamp
2022-08-21 18:46 ` [PR PATCH] [Merged]: " classabbyamp
5 siblings, 0 replies; 7+ messages in thread
From: classabbyamp @ 2022-08-13 19:40 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 244 bytes --]
New review comment by classabbyamp on void-packages repository
https://github.com/void-linux/void-packages/pull/38549#discussion_r945183002
Comment:
```suggestion
version=1.22.0
revision=1
wrksrc=cli-v$version
```
only used in one place
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PR PATCH] [Updated] glab: update to 1.22.0.
2022-08-09 8:19 [PR PATCH] glab: update to 1.22.0 TheGejr
` (3 preceding siblings ...)
2022-08-13 19:40 ` [PR REVIEW] " classabbyamp
@ 2022-08-21 18:42 ` classabbyamp
2022-08-21 18:46 ` [PR PATCH] [Merged]: " classabbyamp
5 siblings, 0 replies; 7+ messages in thread
From: classabbyamp @ 2022-08-21 18:42 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 764 bytes --]
There is an updated pull request by classabbyamp against master on the void-packages repository
https://github.com/TheGejr/void-packages glab
https://github.com/void-linux/void-packages/pull/38549
glab: update to 1.22.0.
#### 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 (if supported. mark crossbuilds):
- [x] aarch64-musl (crossbuilds)
- [x] aarch64 (crossbuilds)
- [x] armv7l-musl (crossbuilds)
- [x] armv7l (crossbuilds)
- [x] i686-musl (crossbuilds)
- [x] x86_64-musl (crossbuilds)
A patch file from https://github.com/void-linux/void-packages/pull/38549.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-glab-38549.patch --]
[-- Type: text/x-diff, Size: 1660 bytes --]
From d54d515ba59cf615265d1e02a9d1616505b2dbd1 Mon Sep 17 00:00:00 2001
From: Malte Gejr <maltegejr.korup@gmail.com>
Date: Tue, 9 Aug 2022 10:15:45 +0200
Subject: [PATCH] glab: update to 1.22.0.
---
srcpkgs/glab/template | 9 +++++----
srcpkgs/glab/update | 3 +++
2 files changed, 8 insertions(+), 4 deletions(-)
create mode 100644 srcpkgs/glab/update
diff --git a/srcpkgs/glab/template b/srcpkgs/glab/template
index 93a65d57a0e2..b050f7bebb65 100644
--- a/srcpkgs/glab/template
+++ b/srcpkgs/glab/template
@@ -1,7 +1,8 @@
# Template file for 'glab'
pkgname=glab
-version=1.18.1
+version=1.22.0
revision=1
+wrksrc="cli-v$version"
build_style=go
go_ldflags="-X main.version=$version"
go_import_path=github.com/profclems/glab
@@ -9,9 +10,9 @@ go_package="${go_import_path}/cmd/glab"
short_desc="Command line tool bringing GitLab's features to your command line"
maintainer="Enno Boland <gottox@voidlinux.org>"
license="MIT"
-homepage="https://github.com/profclems/glab"
-distfiles="https://github.com/profclems/glab/archive/v$version.tar.gz"
-checksum=ce10c93268eb58fa6d277ebd4ed6de254e4365a1a332122f597e295cc11496c3
+homepage="https://gitlab.com/gitlab-org/cli"
+distfiles="https://gitlab.com/gitlab-org/cli/-/archive/v$version/cli-v$version.tar.gz"
+checksum=4d9bceb6818c8bf9f681119dae3a65f1c895fa21e9da6b38e8f88d245f524e10
post_install() {
vlicense LICENSE
diff --git a/srcpkgs/glab/update b/srcpkgs/glab/update
new file mode 100644
index 000000000000..608e9bf8698f
--- /dev/null
+++ b/srcpkgs/glab/update
@@ -0,0 +1,3 @@
+site="https://gitlab.com/gitlab-org/cli/-/tags?format=atom"
+pattern="(?<=<title>v).*(?=<\/title>)"
+ignore="*pre*"
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PR PATCH] [Merged]: glab: update to 1.22.0.
2022-08-09 8:19 [PR PATCH] glab: update to 1.22.0 TheGejr
` (4 preceding siblings ...)
2022-08-21 18:42 ` [PR PATCH] [Updated] " classabbyamp
@ 2022-08-21 18:46 ` classabbyamp
5 siblings, 0 replies; 7+ messages in thread
From: classabbyamp @ 2022-08-21 18:46 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 606 bytes --]
There's a merged pull request on the void-packages repository
glab: update to 1.22.0.
https://github.com/void-linux/void-packages/pull/38549
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 (if supported. mark crossbuilds):
- [x] aarch64-musl (crossbuilds)
- [x] aarch64 (crossbuilds)
- [x] armv7l-musl (crossbuilds)
- [x] armv7l (crossbuilds)
- [x] i686-musl (crossbuilds)
- [x] x86_64-musl (crossbuilds)
^ permalink raw reply [flat|nested] 7+ messages in thread