Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] Update package `gitlab-runner`
@ 2022-06-27 11:42 TheGejr
  2022-07-02 23:17 ` gitlab-runner: update to 15.1.0 classabbyamp
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: TheGejr @ 2022-06-27 11:42 UTC (permalink / raw)
  To: ml

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

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

https://github.com/TheGejr/void-packages master
https://github.com/void-linux/void-packages/pull/37705

Update package `gitlab-runner`
#### Testing the changes
- I tested the changes in this PR: **YES**
- Please note, I have **not** tested the update pattern.

#### Local build testing
- I built this PR locally for my native architecture, x86_64-2.32


A patch file from https://github.com/void-linux/void-packages/pull/37705.patch is attached

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

From a963db86debf0186a372b7c96080563cdbdf86f2 Mon Sep 17 00:00:00 2001
From: Malte Gejr <maltegejr.korup@gmail.com>
Date: Mon, 27 Jun 2022 13:17:39 +0200
Subject: [PATCH 1/3] Removed non existent class

The class `prepend-left-4` is no longer in use on Gitlab.
I have also removed a `\K` from the pattern as no `K` appears in the HTML
---
 srcpkgs/gitlab-runner/update | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/gitlab-runner/update b/srcpkgs/gitlab-runner/update
index c846b50c8c8b..2a50bcfd163c 100644
--- a/srcpkgs/gitlab-runner/update
+++ b/srcpkgs/gitlab-runner/update
@@ -1,3 +1,3 @@
 site="https://gitlab.com/gitlab-org/gitlab-runner/tags"
-pattern="<a class=\"item-title ref-name prepend-left-4\" href=\".*\">v\K.*(?=</a>)"
+pattern="<a class=\"item-title ref-name\" href=\".*\">v.*(?=</a>)"
 ignore="*rc*"

From 23fc1358f8598803b2a032752d2a1ef5eb0ecccd Mon Sep 17 00:00:00 2001
From: Malte Gejr <maltegejr.korup@gmail.com>
Date: Mon, 27 Jun 2022 13:23:33 +0200
Subject: [PATCH 2/3] Updated to latest version

---
 srcpkgs/gitlab-runner/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/gitlab-runner/template b/srcpkgs/gitlab-runner/template
index c242c70a9ad8..8a5c9fd6459b 100644
--- a/srcpkgs/gitlab-runner/template
+++ b/srcpkgs/gitlab-runner/template
@@ -1,6 +1,6 @@
 # Template file for 'gitlab-runner'
 pkgname=gitlab-runner
-version=13.1.0
+version=15.1.0
 revision=1
 wrksrc="${pkgname}-v${version}"
 build_style=go

From bfd1582658ae44acfc150191463236eb2c628770 Mon Sep 17 00:00:00 2001
From: Malte Gejr <maltegejr.korup@gmail.com>
Date: Mon, 27 Jun 2022 13:36:35 +0200
Subject: [PATCH 3/3] Updated checksum

Verified package with `xbps-src` and `xi`
---
 srcpkgs/gitlab-runner/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/gitlab-runner/template b/srcpkgs/gitlab-runner/template
index 8a5c9fd6459b..c79af7de41df 100644
--- a/srcpkgs/gitlab-runner/template
+++ b/srcpkgs/gitlab-runner/template
@@ -10,7 +10,7 @@ maintainer="Christian Poulwey <christian.poulwey@t-online.de>"
 license="MIT"
 homepage="https://docs.gitlab.com/runner/"
 distfiles="https://gitlab.com/gitlab-org/gitlab-runner/-/archive/v${version}/gitlab-runner-v${version}.tar.gz"
-checksum=36b720a1d47f32f8e28bcf951bb322f31aa8aeedf214b8386d33344161e0daf9
+checksum=b65ca751e433fd32f186d3d59f617216f3509c5f8b7089ede25aa39e40ec43f4
 
 post_install() {
 	vsv gitlab-runner

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

* Re: gitlab-runner: update to 15.1.0
  2022-06-27 11:42 [PR PATCH] Update package `gitlab-runner` TheGejr
@ 2022-07-02 23:17 ` classabbyamp
  2022-07-03 10:38 ` paper42
                   ` (6 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: classabbyamp @ 2022-07-02 23:17 UTC (permalink / raw)
  To: ml

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

New comment by classabbyamp on void-packages repository

https://github.com/void-linux/void-packages/pull/37705#issuecomment-1172977057

Comment:
this should be a single commit with the message `gitlab-runner: update to 15.1.0.`

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

* Re: gitlab-runner: update to 15.1.0
  2022-06-27 11:42 [PR PATCH] Update package `gitlab-runner` TheGejr
  2022-07-02 23:17 ` gitlab-runner: update to 15.1.0 classabbyamp
@ 2022-07-03 10:38 ` paper42
  2022-07-06 11:35 ` [PR PATCH] [Updated] " TheGejr
                   ` (5 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: paper42 @ 2022-07-03 10:38 UTC (permalink / raw)
  To: ml

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

New comment by paper42 on void-packages repository

https://github.com/void-linux/void-packages/pull/37705#issuecomment-1173056246

Comment:
> Please note, I have not tested the update pattern.

You can easily test it by adding XBPS_UPDATE_CHECK_VERBOSE=yes to etc/conf

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

* Re: [PR PATCH] [Updated] gitlab-runner: update to 15.1.0
  2022-06-27 11:42 [PR PATCH] Update package `gitlab-runner` TheGejr
  2022-07-02 23:17 ` gitlab-runner: update to 15.1.0 classabbyamp
  2022-07-03 10:38 ` paper42
@ 2022-07-06 11:35 ` TheGejr
  2022-07-06 11:44 ` TheGejr
                   ` (4 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: TheGejr @ 2022-07-06 11:35 UTC (permalink / raw)
  To: ml

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

There is an updated pull request by TheGejr against master on the void-packages repository

https://github.com/TheGejr/void-packages master
https://github.com/void-linux/void-packages/pull/37705

gitlab-runner: update to 15.1.0
#### Testing the changes
- I tested the changes in this PR: **YES**
- Please note, I have **not** tested the update pattern.

#### Local build testing
- I built this PR locally for my native architecture, x86_64-2.32


A patch file from https://github.com/void-linux/void-packages/pull/37705.patch is attached

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

From 467d76963651de22d4c40e2c7926d1dd1a3176b4 Mon Sep 17 00:00:00 2001
From: Malte Gejr <maltegejr.korup@gmail.com>
Date: Mon, 27 Jun 2022 13:17:39 +0200
Subject: [PATCH] gitlab-runner: update to 15.1.0.

---
 srcpkgs/gitlab-runner/template | 4 ++--
 srcpkgs/gitlab-runner/update   | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/gitlab-runner/template b/srcpkgs/gitlab-runner/template
index c242c70a9ad8..c79af7de41df 100644
--- a/srcpkgs/gitlab-runner/template
+++ b/srcpkgs/gitlab-runner/template
@@ -1,6 +1,6 @@
 # Template file for 'gitlab-runner'
 pkgname=gitlab-runner
-version=13.1.0
+version=15.1.0
 revision=1
 wrksrc="${pkgname}-v${version}"
 build_style=go
@@ -10,7 +10,7 @@ maintainer="Christian Poulwey <christian.poulwey@t-online.de>"
 license="MIT"
 homepage="https://docs.gitlab.com/runner/"
 distfiles="https://gitlab.com/gitlab-org/gitlab-runner/-/archive/v${version}/gitlab-runner-v${version}.tar.gz"
-checksum=36b720a1d47f32f8e28bcf951bb322f31aa8aeedf214b8386d33344161e0daf9
+checksum=b65ca751e433fd32f186d3d59f617216f3509c5f8b7089ede25aa39e40ec43f4
 
 post_install() {
 	vsv gitlab-runner
diff --git a/srcpkgs/gitlab-runner/update b/srcpkgs/gitlab-runner/update
index c846b50c8c8b..2a50bcfd163c 100644
--- a/srcpkgs/gitlab-runner/update
+++ b/srcpkgs/gitlab-runner/update
@@ -1,3 +1,3 @@
 site="https://gitlab.com/gitlab-org/gitlab-runner/tags"
-pattern="<a class=\"item-title ref-name prepend-left-4\" href=\".*\">v\K.*(?=</a>)"
+pattern="<a class=\"item-title ref-name\" href=\".*\">v.*(?=</a>)"
 ignore="*rc*"

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

* Re: gitlab-runner: update to 15.1.0
  2022-06-27 11:42 [PR PATCH] Update package `gitlab-runner` TheGejr
                   ` (2 preceding siblings ...)
  2022-07-06 11:35 ` [PR PATCH] [Updated] " TheGejr
@ 2022-07-06 11:44 ` TheGejr
  2022-07-06 12:06 ` TheGejr
                   ` (3 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: TheGejr @ 2022-07-06 11:44 UTC (permalink / raw)
  To: ml

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

New comment by TheGejr on void-packages repository

https://github.com/void-linux/void-packages/pull/37705#issuecomment-1176121231

Comment:
@classabbyamp The commits have now been squashed.

@paper42 I've tested the update pattern, it seems to work. However since it's my first time changing `update` I'm unsure of what output is expected.
Is the output expected to be just a version number (like `15.1.0`) or is the current output alright `found version <a class="item-title ref-name" href="/gitlab-org/gitlab-runner/-/tags/v15.1.0">v15.1.0`

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

* Re: gitlab-runner: update to 15.1.0
  2022-06-27 11:42 [PR PATCH] Update package `gitlab-runner` TheGejr
                   ` (3 preceding siblings ...)
  2022-07-06 11:44 ` TheGejr
@ 2022-07-06 12:06 ` TheGejr
  2022-07-06 12:32 ` [PR PATCH] [Updated] " TheGejr
                   ` (2 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: TheGejr @ 2022-07-06 12:06 UTC (permalink / raw)
  To: ml

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

New comment by TheGejr on void-packages repository

https://github.com/void-linux/void-packages/pull/37705#issuecomment-1176121231

Comment:
@classabbyamp The commits have now been squashed.

@paper42 ~I've tested the update pattern, it seems to work. However since it's my first time changing `update` I'm unsure of what output is expected.
Is the output expected to be just a version number (like `15.1.0`) or is the current output alright `found version <a class="item-title ref-name" href="/gitlab-org/gitlab-runner/-/tags/v15.1.0">v15.1.0`~
Never mind I figured it - currently working to fix the `update pattern` to give the version number in the correct format.

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

* Re: [PR PATCH] [Updated] gitlab-runner: update to 15.1.0
  2022-06-27 11:42 [PR PATCH] Update package `gitlab-runner` TheGejr
                   ` (4 preceding siblings ...)
  2022-07-06 12:06 ` TheGejr
@ 2022-07-06 12:32 ` TheGejr
  2022-07-06 12:33 ` TheGejr
  2022-07-16 15:37 ` [PR PATCH] [Merged]: " sgn
  7 siblings, 0 replies; 9+ messages in thread
From: TheGejr @ 2022-07-06 12:32 UTC (permalink / raw)
  To: ml

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

There is an updated pull request by TheGejr against master on the void-packages repository

https://github.com/TheGejr/void-packages master
https://github.com/void-linux/void-packages/pull/37705

gitlab-runner: update to 15.1.0
#### Testing the changes
- I tested the changes in this PR: **YES**
- Please note, I have **not** tested the update pattern.

#### Local build testing
- I built this PR locally for my native architecture, x86_64-2.32


A patch file from https://github.com/void-linux/void-packages/pull/37705.patch is attached

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

From a9bd1d77ddbb8fd06576e640c65869d665338a49 Mon Sep 17 00:00:00 2001
From: Malte Gejr <maltegejr.korup@gmail.com>
Date: Mon, 27 Jun 2022 13:17:39 +0200
Subject: [PATCH] gitlab-runner: update to 15.1.0.

---
 srcpkgs/gitlab-runner/template | 4 ++--
 srcpkgs/gitlab-runner/update   | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/srcpkgs/gitlab-runner/template b/srcpkgs/gitlab-runner/template
index c242c70a9ad8..c79af7de41df 100644
--- a/srcpkgs/gitlab-runner/template
+++ b/srcpkgs/gitlab-runner/template
@@ -1,6 +1,6 @@
 # Template file for 'gitlab-runner'
 pkgname=gitlab-runner
-version=13.1.0
+version=15.1.0
 revision=1
 wrksrc="${pkgname}-v${version}"
 build_style=go
@@ -10,7 +10,7 @@ maintainer="Christian Poulwey <christian.poulwey@t-online.de>"
 license="MIT"
 homepage="https://docs.gitlab.com/runner/"
 distfiles="https://gitlab.com/gitlab-org/gitlab-runner/-/archive/v${version}/gitlab-runner-v${version}.tar.gz"
-checksum=36b720a1d47f32f8e28bcf951bb322f31aa8aeedf214b8386d33344161e0daf9
+checksum=b65ca751e433fd32f186d3d59f617216f3509c5f8b7089ede25aa39e40ec43f4
 
 post_install() {
 	vsv gitlab-runner
diff --git a/srcpkgs/gitlab-runner/update b/srcpkgs/gitlab-runner/update
index c846b50c8c8b..f6561bccc099 100644
--- a/srcpkgs/gitlab-runner/update
+++ b/srcpkgs/gitlab-runner/update
@@ -1,3 +1,3 @@
-site="https://gitlab.com/gitlab-org/gitlab-runner/tags"
-pattern="<a class=\"item-title ref-name prepend-left-4\" href=\".*\">v\K.*(?=</a>)"
+site="https://gitlab.com/gitlab-org/gitlab-runner/-/tags?format=atom"
+pattern="(?<=<title>v).*(?=<\/title>)"
 ignore="*rc*"

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

* Re: gitlab-runner: update to 15.1.0
  2022-06-27 11:42 [PR PATCH] Update package `gitlab-runner` TheGejr
                   ` (5 preceding siblings ...)
  2022-07-06 12:32 ` [PR PATCH] [Updated] " TheGejr
@ 2022-07-06 12:33 ` TheGejr
  2022-07-16 15:37 ` [PR PATCH] [Merged]: " sgn
  7 siblings, 0 replies; 9+ messages in thread
From: TheGejr @ 2022-07-06 12:33 UTC (permalink / raw)
  To: ml

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

New comment by TheGejr on void-packages repository

https://github.com/void-linux/void-packages/pull/37705#issuecomment-1176167390

Comment:
The update pattern is now working as expected.

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

* Re: [PR PATCH] [Merged]: gitlab-runner: update to 15.1.0
  2022-06-27 11:42 [PR PATCH] Update package `gitlab-runner` TheGejr
                   ` (6 preceding siblings ...)
  2022-07-06 12:33 ` TheGejr
@ 2022-07-16 15:37 ` sgn
  7 siblings, 0 replies; 9+ messages in thread
From: sgn @ 2022-07-16 15:37 UTC (permalink / raw)
  To: ml

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

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

gitlab-runner: update to 15.1.0
https://github.com/void-linux/void-packages/pull/37705

Description:
#### Testing the changes
- I tested the changes in this PR: **YES**
- Please note, I have **not** tested the update pattern.

#### 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
  - [x] aarch64
  - [x] armv7l-musl
  - [x] armv7l
  - [x] i686-musl
  - [x] i686
  - [x] x86_64-musl

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

end of thread, other threads:[~2022-07-16 15:37 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-06-27 11:42 [PR PATCH] Update package `gitlab-runner` TheGejr
2022-07-02 23:17 ` gitlab-runner: update to 15.1.0 classabbyamp
2022-07-03 10:38 ` paper42
2022-07-06 11:35 ` [PR PATCH] [Updated] " TheGejr
2022-07-06 11:44 ` TheGejr
2022-07-06 12:06 ` TheGejr
2022-07-06 12:32 ` [PR PATCH] [Updated] " TheGejr
2022-07-06 12:33 ` TheGejr
2022-07-16 15:37 ` [PR PATCH] [Merged]: " sgn

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