Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] git-review: update to 2.2.0.
@ 2022-03-14 17:08 spacedog
  2022-03-14 17:19 ` [PR REVIEW] " paper42
                   ` (9 more replies)
  0 siblings, 10 replies; 11+ messages in thread
From: spacedog @ 2022-03-14 17:08 UTC (permalink / raw)
  To: ml

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

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

https://github.com/spacedog/void-packages git-review
https://github.com/void-linux/void-packages/pull/36138

git-review: update to 2.2.0.
Signed-off-by: Anton Baranov <abaranov@linuxfoundation.org>

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




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

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

From 78c4304326eca1164cea54e1c143763144af124e Mon Sep 17 00:00:00 2001
From: Anton Baranov <abaranov@linuxfoundation.org>
Date: Fri, 11 Mar 2022 13:59:15 -0500
Subject: [PATCH] git-review: update to 2.2.0.

Signed-off-by: Anton Baranov <abaranov@linuxfoundation.org>
---
 srcpkgs/git-review/template | 15 ++++++++++++---
 1 file changed, 12 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/git-review/template b/srcpkgs/git-review/template
index 8f97599d2408..d0a76802c407 100644
--- a/srcpkgs/git-review/template
+++ b/srcpkgs/git-review/template
@@ -1,13 +1,22 @@
 # Template file for 'git-review'
 pkgname=git-review
-version=1.28.0
-revision=6
+version=2.2.0
+revision=1
 build_style=python3-module
 hostmakedepends="python3-setuptools python3-pbr"
 depends="python3-requests"
+checkdepends="python3-pip python3-wheel openjdk-jre openssh git tox procps-ng which"
 short_desc="Git command for submitting branches to Gerrit"
 maintainer="Orphaned <orphan@voidlinux.org>"
 license="Apache-2.0"
 homepage="https://git.openstack.org/cgit/openstack-infra/git-review/"
 distfiles="${PYPI_SITE}/g/${pkgname}/${pkgname}-${version}.tar.gz"
-checksum=8e3aabb7b9484063e49c2504d137609401e32ad5128ff2a5cf43e98d5d3dc15a
+checksum=fd97a00e5c15173eb097cef8e8b7915df96d878ad11eb62cb44983642b8f3a63
+
+do_check () {
+  # Don't run gerrit tests using java in chroot
+  # mkdir -p ~/.ssh && echo -e "Host *\n  HostkeyAlgorithms +ssh-rsa\n  PubkeyAcceptedAlgorithms +ssh-rsa" > ~/.ssh/config
+  # tox -e py3 -vv --skip-missing-interpreters=false
+  # Run only linters tests
+  tox -e linters
+}

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

* Re: [PR REVIEW] git-review: update to 2.2.0
  2022-03-14 17:08 [PR PATCH] git-review: update to 2.2.0 spacedog
@ 2022-03-14 17:19 ` paper42
  2022-03-14 17:19 ` paper42
                   ` (8 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: paper42 @ 2022-03-14 17:19 UTC (permalink / raw)
  To: ml

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

New review comment by paper42 on void-packages repository

https://github.com/void-linux/void-packages/pull/36138#discussion_r826199390

Comment:
Lint tests are useless to us.

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

* Re: [PR REVIEW] git-review: update to 2.2.0
  2022-03-14 17:08 [PR PATCH] git-review: update to 2.2.0 spacedog
  2022-03-14 17:19 ` [PR REVIEW] " paper42
@ 2022-03-14 17:19 ` paper42
  2022-03-14 17:58 ` [PR PATCH] [Updated] " spacedog
                   ` (7 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: paper42 @ 2022-03-14 17:19 UTC (permalink / raw)
  To: ml

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

New review comment by paper42 on void-packages repository

https://github.com/void-linux/void-packages/pull/36138#discussion_r826200249

Comment:
`pip` in checkdepends just downloads every dependency in the required version which defeats the purpose of tests.

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

* Re: [PR PATCH] [Updated] git-review: update to 2.2.0
  2022-03-14 17:08 [PR PATCH] git-review: update to 2.2.0 spacedog
  2022-03-14 17:19 ` [PR REVIEW] " paper42
  2022-03-14 17:19 ` paper42
@ 2022-03-14 17:58 ` spacedog
  2022-03-14 17:59 ` spacedog
                   ` (6 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: spacedog @ 2022-03-14 17:58 UTC (permalink / raw)
  To: ml

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

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

https://github.com/spacedog/void-packages git-review
https://github.com/void-linux/void-packages/pull/36138

git-review: update to 2.2.0
Signed-off-by: Anton Baranov <abaranov@linuxfoundation.org>

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




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

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

From 78c4304326eca1164cea54e1c143763144af124e Mon Sep 17 00:00:00 2001
From: Anton Baranov <abaranov@linuxfoundation.org>
Date: Fri, 11 Mar 2022 13:59:15 -0500
Subject: [PATCH 1/2] git-review: update to 2.2.0.

Signed-off-by: Anton Baranov <abaranov@linuxfoundation.org>
---
 srcpkgs/git-review/template | 15 ++++++++++++---
 1 file changed, 12 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/git-review/template b/srcpkgs/git-review/template
index 8f97599d2408..d0a76802c407 100644
--- a/srcpkgs/git-review/template
+++ b/srcpkgs/git-review/template
@@ -1,13 +1,22 @@
 # Template file for 'git-review'
 pkgname=git-review
-version=1.28.0
-revision=6
+version=2.2.0
+revision=1
 build_style=python3-module
 hostmakedepends="python3-setuptools python3-pbr"
 depends="python3-requests"
+checkdepends="python3-pip python3-wheel openjdk-jre openssh git tox procps-ng which"
 short_desc="Git command for submitting branches to Gerrit"
 maintainer="Orphaned <orphan@voidlinux.org>"
 license="Apache-2.0"
 homepage="https://git.openstack.org/cgit/openstack-infra/git-review/"
 distfiles="${PYPI_SITE}/g/${pkgname}/${pkgname}-${version}.tar.gz"
-checksum=8e3aabb7b9484063e49c2504d137609401e32ad5128ff2a5cf43e98d5d3dc15a
+checksum=fd97a00e5c15173eb097cef8e8b7915df96d878ad11eb62cb44983642b8f3a63
+
+do_check () {
+  # Don't run gerrit tests using java in chroot
+  # mkdir -p ~/.ssh && echo -e "Host *\n  HostkeyAlgorithms +ssh-rsa\n  PubkeyAcceptedAlgorithms +ssh-rsa" > ~/.ssh/config
+  # tox -e py3 -vv --skip-missing-interpreters=false
+  # Run only linters tests
+  tox -e linters
+}

From c85483c0ba55c0b9810cd121480a5ef47398e621 Mon Sep 17 00:00:00 2001
From: Anton Baranov <abaranov@linuxfoundation.org>
Date: Mon, 14 Mar 2022 12:56:38 -0400
Subject: [PATCH 2/2] git-review: fix tests

Signed-off-by: Anton Baranov <abaranov@linuxfoundation.org>
---
 srcpkgs/git-review/template | 10 ++++------
 1 file changed, 4 insertions(+), 6 deletions(-)

diff --git a/srcpkgs/git-review/template b/srcpkgs/git-review/template
index d0a76802c407..0c59e8fd4703 100644
--- a/srcpkgs/git-review/template
+++ b/srcpkgs/git-review/template
@@ -5,7 +5,7 @@ revision=1
 build_style=python3-module
 hostmakedepends="python3-setuptools python3-pbr"
 depends="python3-requests"
-checkdepends="python3-pip python3-wheel openjdk-jre openssh git tox procps-ng which"
+checkdepends="openjdk-jre openssh git tox procps-ng which"
 short_desc="Git command for submitting branches to Gerrit"
 maintainer="Orphaned <orphan@voidlinux.org>"
 license="Apache-2.0"
@@ -14,9 +14,7 @@ distfiles="${PYPI_SITE}/g/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=fd97a00e5c15173eb097cef8e8b7915df96d878ad11eb62cb44983642b8f3a63
 
 do_check () {
-  # Don't run gerrit tests using java in chroot
-  # mkdir -p ~/.ssh && echo -e "Host *\n  HostkeyAlgorithms +ssh-rsa\n  PubkeyAcceptedAlgorithms +ssh-rsa" > ~/.ssh/config
-  # tox -e py3 -vv --skip-missing-interpreters=false
-  # Run only linters tests
-  tox -e linters
+  mkdir -p ~/.ssh && echo -e "Host *\n  HostkeyAlgorithms +ssh-rsa\n  PubkeyAcceptedAlgorithms +ssh-rsa" > ~/.ssh/config
+  tox -e py3 -vv --skip-missing-interpreters=false
+
 }

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

* Re: git-review: update to 2.2.0
  2022-03-14 17:08 [PR PATCH] git-review: update to 2.2.0 spacedog
                   ` (2 preceding siblings ...)
  2022-03-14 17:58 ` [PR PATCH] [Updated] " spacedog
@ 2022-03-14 17:59 ` spacedog
  2022-03-14 18:19 ` [PR PATCH] [Updated] " spacedog
                   ` (5 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: spacedog @ 2022-03-14 17:59 UTC (permalink / raw)
  To: ml

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

New comment by spacedog on void-packages repository

https://github.com/void-linux/void-packages/pull/36138#issuecomment-1067123683

Comment:
I enabled gerrit tests using java

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

* Re: [PR PATCH] [Updated] git-review: update to 2.2.0
  2022-03-14 17:08 [PR PATCH] git-review: update to 2.2.0 spacedog
                   ` (3 preceding siblings ...)
  2022-03-14 17:59 ` spacedog
@ 2022-03-14 18:19 ` spacedog
  2022-03-15 13:20 ` spacedog
                   ` (4 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: spacedog @ 2022-03-14 18:19 UTC (permalink / raw)
  To: ml

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

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

https://github.com/spacedog/void-packages git-review
https://github.com/void-linux/void-packages/pull/36138

git-review: update to 2.2.0
Signed-off-by: Anton Baranov <abaranov@linuxfoundation.org>

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




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

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

From 78c4304326eca1164cea54e1c143763144af124e Mon Sep 17 00:00:00 2001
From: Anton Baranov <abaranov@linuxfoundation.org>
Date: Fri, 11 Mar 2022 13:59:15 -0500
Subject: [PATCH 1/4] git-review: update to 2.2.0.

Signed-off-by: Anton Baranov <abaranov@linuxfoundation.org>
---
 srcpkgs/git-review/template | 15 ++++++++++++---
 1 file changed, 12 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/git-review/template b/srcpkgs/git-review/template
index 8f97599d2408..d0a76802c407 100644
--- a/srcpkgs/git-review/template
+++ b/srcpkgs/git-review/template
@@ -1,13 +1,22 @@
 # Template file for 'git-review'
 pkgname=git-review
-version=1.28.0
-revision=6
+version=2.2.0
+revision=1
 build_style=python3-module
 hostmakedepends="python3-setuptools python3-pbr"
 depends="python3-requests"
+checkdepends="python3-pip python3-wheel openjdk-jre openssh git tox procps-ng which"
 short_desc="Git command for submitting branches to Gerrit"
 maintainer="Orphaned <orphan@voidlinux.org>"
 license="Apache-2.0"
 homepage="https://git.openstack.org/cgit/openstack-infra/git-review/"
 distfiles="${PYPI_SITE}/g/${pkgname}/${pkgname}-${version}.tar.gz"
-checksum=8e3aabb7b9484063e49c2504d137609401e32ad5128ff2a5cf43e98d5d3dc15a
+checksum=fd97a00e5c15173eb097cef8e8b7915df96d878ad11eb62cb44983642b8f3a63
+
+do_check () {
+  # Don't run gerrit tests using java in chroot
+  # mkdir -p ~/.ssh && echo -e "Host *\n  HostkeyAlgorithms +ssh-rsa\n  PubkeyAcceptedAlgorithms +ssh-rsa" > ~/.ssh/config
+  # tox -e py3 -vv --skip-missing-interpreters=false
+  # Run only linters tests
+  tox -e linters
+}

From c85483c0ba55c0b9810cd121480a5ef47398e621 Mon Sep 17 00:00:00 2001
From: Anton Baranov <abaranov@linuxfoundation.org>
Date: Mon, 14 Mar 2022 12:56:38 -0400
Subject: [PATCH 2/4] git-review: fix tests

Signed-off-by: Anton Baranov <abaranov@linuxfoundation.org>
---
 srcpkgs/git-review/template | 10 ++++------
 1 file changed, 4 insertions(+), 6 deletions(-)

diff --git a/srcpkgs/git-review/template b/srcpkgs/git-review/template
index d0a76802c407..0c59e8fd4703 100644
--- a/srcpkgs/git-review/template
+++ b/srcpkgs/git-review/template
@@ -5,7 +5,7 @@ revision=1
 build_style=python3-module
 hostmakedepends="python3-setuptools python3-pbr"
 depends="python3-requests"
-checkdepends="python3-pip python3-wheel openjdk-jre openssh git tox procps-ng which"
+checkdepends="openjdk-jre openssh git tox procps-ng which"
 short_desc="Git command for submitting branches to Gerrit"
 maintainer="Orphaned <orphan@voidlinux.org>"
 license="Apache-2.0"
@@ -14,9 +14,7 @@ distfiles="${PYPI_SITE}/g/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=fd97a00e5c15173eb097cef8e8b7915df96d878ad11eb62cb44983642b8f3a63
 
 do_check () {
-  # Don't run gerrit tests using java in chroot
-  # mkdir -p ~/.ssh && echo -e "Host *\n  HostkeyAlgorithms +ssh-rsa\n  PubkeyAcceptedAlgorithms +ssh-rsa" > ~/.ssh/config
-  # tox -e py3 -vv --skip-missing-interpreters=false
-  # Run only linters tests
-  tox -e linters
+  mkdir -p ~/.ssh && echo -e "Host *\n  HostkeyAlgorithms +ssh-rsa\n  PubkeyAcceptedAlgorithms +ssh-rsa" > ~/.ssh/config
+  tox -e py3 -vv --skip-missing-interpreters=false
+
 }

From 41ed7dbad92539149e623f1140e439e9d62268b6 Mon Sep 17 00:00:00 2001
From: Anton Baranov <abaranov@linuxfoundation.org>
Date: Mon, 14 Mar 2022 13:12:41 -0400
Subject: [PATCH 3/4] Fix: Lint template errors

Signed-off-by: Anton Baranov <abaranov@linuxfoundation.org>
---
 srcpkgs/git-review/template | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/git-review/template b/srcpkgs/git-review/template
index 0c59e8fd4703..fc766eda8d0d 100644
--- a/srcpkgs/git-review/template
+++ b/srcpkgs/git-review/template
@@ -14,7 +14,6 @@ distfiles="${PYPI_SITE}/g/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=fd97a00e5c15173eb097cef8e8b7915df96d878ad11eb62cb44983642b8f3a63
 
 do_check () {
-  mkdir -p ~/.ssh && echo -e "Host *\n  HostkeyAlgorithms +ssh-rsa\n  PubkeyAcceptedAlgorithms +ssh-rsa" > ~/.ssh/config
-  tox -e py3 -vv --skip-missing-interpreters=false
-
+         mkdir -p ~/.ssh && echo -e "Host *\n  HostkeyAlgorithms +ssh-rsa\n  PubkeyAcceptedAlgorithms +ssh-rsa" > ~/.ssh/config
+         tox -e py3 -vv --skip-missing-interpreters=false
 }

From 91a4a4c6c5e0a7d6b471e5be48d6e464c2d53c93 Mon Sep 17 00:00:00 2001
From: Anton Baranov <abaranov@linuxfoundation.org>
Date: Mon, 14 Mar 2022 13:18:41 -0400
Subject: [PATCH 4/4] Chore: Install su command

Signed-off-by: Anton Baranov <abaranov@linuxfoundation.org>
---
 srcpkgs/git-review/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/git-review/template b/srcpkgs/git-review/template
index fc766eda8d0d..0fd6a7d4fa28 100644
--- a/srcpkgs/git-review/template
+++ b/srcpkgs/git-review/template
@@ -5,7 +5,7 @@ revision=1
 build_style=python3-module
 hostmakedepends="python3-setuptools python3-pbr"
 depends="python3-requests"
-checkdepends="openjdk-jre openssh git tox procps-ng which"
+checkdepends="openjdk-jre openssh git tox procps-ng which util-linux"
 short_desc="Git command for submitting branches to Gerrit"
 maintainer="Orphaned <orphan@voidlinux.org>"
 license="Apache-2.0"

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

* Re: [PR PATCH] [Updated] git-review: update to 2.2.0
  2022-03-14 17:08 [PR PATCH] git-review: update to 2.2.0 spacedog
                   ` (4 preceding siblings ...)
  2022-03-14 18:19 ` [PR PATCH] [Updated] " spacedog
@ 2022-03-15 13:20 ` spacedog
  2022-03-15 14:47 ` spacedog
                   ` (3 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: spacedog @ 2022-03-15 13:20 UTC (permalink / raw)
  To: ml

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

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

https://github.com/spacedog/void-packages git-review
https://github.com/void-linux/void-packages/pull/36138

git-review: update to 2.2.0
Signed-off-by: Anton Baranov <abaranov@linuxfoundation.org>

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




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

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

From 78c4304326eca1164cea54e1c143763144af124e Mon Sep 17 00:00:00 2001
From: Anton Baranov <abaranov@linuxfoundation.org>
Date: Fri, 11 Mar 2022 13:59:15 -0500
Subject: [PATCH 1/5] git-review: update to 2.2.0.

Signed-off-by: Anton Baranov <abaranov@linuxfoundation.org>
---
 srcpkgs/git-review/template | 15 ++++++++++++---
 1 file changed, 12 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/git-review/template b/srcpkgs/git-review/template
index 8f97599d2408..d0a76802c407 100644
--- a/srcpkgs/git-review/template
+++ b/srcpkgs/git-review/template
@@ -1,13 +1,22 @@
 # Template file for 'git-review'
 pkgname=git-review
-version=1.28.0
-revision=6
+version=2.2.0
+revision=1
 build_style=python3-module
 hostmakedepends="python3-setuptools python3-pbr"
 depends="python3-requests"
+checkdepends="python3-pip python3-wheel openjdk-jre openssh git tox procps-ng which"
 short_desc="Git command for submitting branches to Gerrit"
 maintainer="Orphaned <orphan@voidlinux.org>"
 license="Apache-2.0"
 homepage="https://git.openstack.org/cgit/openstack-infra/git-review/"
 distfiles="${PYPI_SITE}/g/${pkgname}/${pkgname}-${version}.tar.gz"
-checksum=8e3aabb7b9484063e49c2504d137609401e32ad5128ff2a5cf43e98d5d3dc15a
+checksum=fd97a00e5c15173eb097cef8e8b7915df96d878ad11eb62cb44983642b8f3a63
+
+do_check () {
+  # Don't run gerrit tests using java in chroot
+  # mkdir -p ~/.ssh && echo -e "Host *\n  HostkeyAlgorithms +ssh-rsa\n  PubkeyAcceptedAlgorithms +ssh-rsa" > ~/.ssh/config
+  # tox -e py3 -vv --skip-missing-interpreters=false
+  # Run only linters tests
+  tox -e linters
+}

From c85483c0ba55c0b9810cd121480a5ef47398e621 Mon Sep 17 00:00:00 2001
From: Anton Baranov <abaranov@linuxfoundation.org>
Date: Mon, 14 Mar 2022 12:56:38 -0400
Subject: [PATCH 2/5] git-review: fix tests

Signed-off-by: Anton Baranov <abaranov@linuxfoundation.org>
---
 srcpkgs/git-review/template | 10 ++++------
 1 file changed, 4 insertions(+), 6 deletions(-)

diff --git a/srcpkgs/git-review/template b/srcpkgs/git-review/template
index d0a76802c407..0c59e8fd4703 100644
--- a/srcpkgs/git-review/template
+++ b/srcpkgs/git-review/template
@@ -5,7 +5,7 @@ revision=1
 build_style=python3-module
 hostmakedepends="python3-setuptools python3-pbr"
 depends="python3-requests"
-checkdepends="python3-pip python3-wheel openjdk-jre openssh git tox procps-ng which"
+checkdepends="openjdk-jre openssh git tox procps-ng which"
 short_desc="Git command for submitting branches to Gerrit"
 maintainer="Orphaned <orphan@voidlinux.org>"
 license="Apache-2.0"
@@ -14,9 +14,7 @@ distfiles="${PYPI_SITE}/g/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=fd97a00e5c15173eb097cef8e8b7915df96d878ad11eb62cb44983642b8f3a63
 
 do_check () {
-  # Don't run gerrit tests using java in chroot
-  # mkdir -p ~/.ssh && echo -e "Host *\n  HostkeyAlgorithms +ssh-rsa\n  PubkeyAcceptedAlgorithms +ssh-rsa" > ~/.ssh/config
-  # tox -e py3 -vv --skip-missing-interpreters=false
-  # Run only linters tests
-  tox -e linters
+  mkdir -p ~/.ssh && echo -e "Host *\n  HostkeyAlgorithms +ssh-rsa\n  PubkeyAcceptedAlgorithms +ssh-rsa" > ~/.ssh/config
+  tox -e py3 -vv --skip-missing-interpreters=false
+
 }

From 41ed7dbad92539149e623f1140e439e9d62268b6 Mon Sep 17 00:00:00 2001
From: Anton Baranov <abaranov@linuxfoundation.org>
Date: Mon, 14 Mar 2022 13:12:41 -0400
Subject: [PATCH 3/5] Fix: Lint template errors

Signed-off-by: Anton Baranov <abaranov@linuxfoundation.org>
---
 srcpkgs/git-review/template | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/git-review/template b/srcpkgs/git-review/template
index 0c59e8fd4703..fc766eda8d0d 100644
--- a/srcpkgs/git-review/template
+++ b/srcpkgs/git-review/template
@@ -14,7 +14,6 @@ distfiles="${PYPI_SITE}/g/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=fd97a00e5c15173eb097cef8e8b7915df96d878ad11eb62cb44983642b8f3a63
 
 do_check () {
-  mkdir -p ~/.ssh && echo -e "Host *\n  HostkeyAlgorithms +ssh-rsa\n  PubkeyAcceptedAlgorithms +ssh-rsa" > ~/.ssh/config
-  tox -e py3 -vv --skip-missing-interpreters=false
-
+         mkdir -p ~/.ssh && echo -e "Host *\n  HostkeyAlgorithms +ssh-rsa\n  PubkeyAcceptedAlgorithms +ssh-rsa" > ~/.ssh/config
+         tox -e py3 -vv --skip-missing-interpreters=false
 }

From 91a4a4c6c5e0a7d6b471e5be48d6e464c2d53c93 Mon Sep 17 00:00:00 2001
From: Anton Baranov <abaranov@linuxfoundation.org>
Date: Mon, 14 Mar 2022 13:18:41 -0400
Subject: [PATCH 4/5] Chore: Install su command

Signed-off-by: Anton Baranov <abaranov@linuxfoundation.org>
---
 srcpkgs/git-review/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/git-review/template b/srcpkgs/git-review/template
index fc766eda8d0d..0fd6a7d4fa28 100644
--- a/srcpkgs/git-review/template
+++ b/srcpkgs/git-review/template
@@ -5,7 +5,7 @@ revision=1
 build_style=python3-module
 hostmakedepends="python3-setuptools python3-pbr"
 depends="python3-requests"
-checkdepends="openjdk-jre openssh git tox procps-ng which"
+checkdepends="openjdk-jre openssh git tox procps-ng which util-linux"
 short_desc="Git command for submitting branches to Gerrit"
 maintainer="Orphaned <orphan@voidlinux.org>"
 license="Apache-2.0"

From d51f125633e0ab8ffda789fa9d8d140c7c671a68 Mon Sep 17 00:00:00 2001
From: Anton Baranov <abaranov@linuxfoundation.org>
Date: Tue, 15 Mar 2022 08:16:19 -0400
Subject: [PATCH 5/5] Fix: xlint errors

Signed-off-by: Anton Baranov <abaranov@linuxfoundation.org>
---
 srcpkgs/git-review/template | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/git-review/template b/srcpkgs/git-review/template
index 0fd6a7d4fa28..d4ab4a5b23cb 100644
--- a/srcpkgs/git-review/template
+++ b/srcpkgs/git-review/template
@@ -13,7 +13,7 @@ homepage="https://git.openstack.org/cgit/openstack-infra/git-review/"
 distfiles="${PYPI_SITE}/g/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=fd97a00e5c15173eb097cef8e8b7915df96d878ad11eb62cb44983642b8f3a63
 
-do_check () {
-         mkdir -p ~/.ssh && echo -e "Host *\n  HostkeyAlgorithms +ssh-rsa\n  PubkeyAcceptedAlgorithms +ssh-rsa" > ~/.ssh/config
-         tox -e py3 -vv --skip-missing-interpreters=false
+do_check() {
+	mkdir -p ~/.ssh && echo -e "Host *\n  HostkeyAlgorithms +ssh-rsa\n  PubkeyAcceptedAlgorithms +ssh-rsa" > ~/.ssh/config
+	tox -e py3 -vv --skip-missing-interpreters=false
 }

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

* Re: [PR PATCH] [Updated] git-review: update to 2.2.0
  2022-03-14 17:08 [PR PATCH] git-review: update to 2.2.0 spacedog
                   ` (5 preceding siblings ...)
  2022-03-15 13:20 ` spacedog
@ 2022-03-15 14:47 ` spacedog
  2022-03-15 19:45 ` spacedog
                   ` (2 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: spacedog @ 2022-03-15 14:47 UTC (permalink / raw)
  To: ml

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

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

https://github.com/spacedog/void-packages git-review
https://github.com/void-linux/void-packages/pull/36138

git-review: update to 2.2.0
Signed-off-by: Anton Baranov <abaranov@linuxfoundation.org>

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




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

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

From 78c4304326eca1164cea54e1c143763144af124e Mon Sep 17 00:00:00 2001
From: Anton Baranov <abaranov@linuxfoundation.org>
Date: Fri, 11 Mar 2022 13:59:15 -0500
Subject: [PATCH 1/6] git-review: update to 2.2.0.

Signed-off-by: Anton Baranov <abaranov@linuxfoundation.org>
---
 srcpkgs/git-review/template | 15 ++++++++++++---
 1 file changed, 12 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/git-review/template b/srcpkgs/git-review/template
index 8f97599d2408..d0a76802c407 100644
--- a/srcpkgs/git-review/template
+++ b/srcpkgs/git-review/template
@@ -1,13 +1,22 @@
 # Template file for 'git-review'
 pkgname=git-review
-version=1.28.0
-revision=6
+version=2.2.0
+revision=1
 build_style=python3-module
 hostmakedepends="python3-setuptools python3-pbr"
 depends="python3-requests"
+checkdepends="python3-pip python3-wheel openjdk-jre openssh git tox procps-ng which"
 short_desc="Git command for submitting branches to Gerrit"
 maintainer="Orphaned <orphan@voidlinux.org>"
 license="Apache-2.0"
 homepage="https://git.openstack.org/cgit/openstack-infra/git-review/"
 distfiles="${PYPI_SITE}/g/${pkgname}/${pkgname}-${version}.tar.gz"
-checksum=8e3aabb7b9484063e49c2504d137609401e32ad5128ff2a5cf43e98d5d3dc15a
+checksum=fd97a00e5c15173eb097cef8e8b7915df96d878ad11eb62cb44983642b8f3a63
+
+do_check () {
+  # Don't run gerrit tests using java in chroot
+  # mkdir -p ~/.ssh && echo -e "Host *\n  HostkeyAlgorithms +ssh-rsa\n  PubkeyAcceptedAlgorithms +ssh-rsa" > ~/.ssh/config
+  # tox -e py3 -vv --skip-missing-interpreters=false
+  # Run only linters tests
+  tox -e linters
+}

From c85483c0ba55c0b9810cd121480a5ef47398e621 Mon Sep 17 00:00:00 2001
From: Anton Baranov <abaranov@linuxfoundation.org>
Date: Mon, 14 Mar 2022 12:56:38 -0400
Subject: [PATCH 2/6] git-review: fix tests

Signed-off-by: Anton Baranov <abaranov@linuxfoundation.org>
---
 srcpkgs/git-review/template | 10 ++++------
 1 file changed, 4 insertions(+), 6 deletions(-)

diff --git a/srcpkgs/git-review/template b/srcpkgs/git-review/template
index d0a76802c407..0c59e8fd4703 100644
--- a/srcpkgs/git-review/template
+++ b/srcpkgs/git-review/template
@@ -5,7 +5,7 @@ revision=1
 build_style=python3-module
 hostmakedepends="python3-setuptools python3-pbr"
 depends="python3-requests"
-checkdepends="python3-pip python3-wheel openjdk-jre openssh git tox procps-ng which"
+checkdepends="openjdk-jre openssh git tox procps-ng which"
 short_desc="Git command for submitting branches to Gerrit"
 maintainer="Orphaned <orphan@voidlinux.org>"
 license="Apache-2.0"
@@ -14,9 +14,7 @@ distfiles="${PYPI_SITE}/g/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=fd97a00e5c15173eb097cef8e8b7915df96d878ad11eb62cb44983642b8f3a63
 
 do_check () {
-  # Don't run gerrit tests using java in chroot
-  # mkdir -p ~/.ssh && echo -e "Host *\n  HostkeyAlgorithms +ssh-rsa\n  PubkeyAcceptedAlgorithms +ssh-rsa" > ~/.ssh/config
-  # tox -e py3 -vv --skip-missing-interpreters=false
-  # Run only linters tests
-  tox -e linters
+  mkdir -p ~/.ssh && echo -e "Host *\n  HostkeyAlgorithms +ssh-rsa\n  PubkeyAcceptedAlgorithms +ssh-rsa" > ~/.ssh/config
+  tox -e py3 -vv --skip-missing-interpreters=false
+
 }

From 41ed7dbad92539149e623f1140e439e9d62268b6 Mon Sep 17 00:00:00 2001
From: Anton Baranov <abaranov@linuxfoundation.org>
Date: Mon, 14 Mar 2022 13:12:41 -0400
Subject: [PATCH 3/6] Fix: Lint template errors

Signed-off-by: Anton Baranov <abaranov@linuxfoundation.org>
---
 srcpkgs/git-review/template | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/git-review/template b/srcpkgs/git-review/template
index 0c59e8fd4703..fc766eda8d0d 100644
--- a/srcpkgs/git-review/template
+++ b/srcpkgs/git-review/template
@@ -14,7 +14,6 @@ distfiles="${PYPI_SITE}/g/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=fd97a00e5c15173eb097cef8e8b7915df96d878ad11eb62cb44983642b8f3a63
 
 do_check () {
-  mkdir -p ~/.ssh && echo -e "Host *\n  HostkeyAlgorithms +ssh-rsa\n  PubkeyAcceptedAlgorithms +ssh-rsa" > ~/.ssh/config
-  tox -e py3 -vv --skip-missing-interpreters=false
-
+         mkdir -p ~/.ssh && echo -e "Host *\n  HostkeyAlgorithms +ssh-rsa\n  PubkeyAcceptedAlgorithms +ssh-rsa" > ~/.ssh/config
+         tox -e py3 -vv --skip-missing-interpreters=false
 }

From 91a4a4c6c5e0a7d6b471e5be48d6e464c2d53c93 Mon Sep 17 00:00:00 2001
From: Anton Baranov <abaranov@linuxfoundation.org>
Date: Mon, 14 Mar 2022 13:18:41 -0400
Subject: [PATCH 4/6] Chore: Install su command

Signed-off-by: Anton Baranov <abaranov@linuxfoundation.org>
---
 srcpkgs/git-review/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/git-review/template b/srcpkgs/git-review/template
index fc766eda8d0d..0fd6a7d4fa28 100644
--- a/srcpkgs/git-review/template
+++ b/srcpkgs/git-review/template
@@ -5,7 +5,7 @@ revision=1
 build_style=python3-module
 hostmakedepends="python3-setuptools python3-pbr"
 depends="python3-requests"
-checkdepends="openjdk-jre openssh git tox procps-ng which"
+checkdepends="openjdk-jre openssh git tox procps-ng which util-linux"
 short_desc="Git command for submitting branches to Gerrit"
 maintainer="Orphaned <orphan@voidlinux.org>"
 license="Apache-2.0"

From d51f125633e0ab8ffda789fa9d8d140c7c671a68 Mon Sep 17 00:00:00 2001
From: Anton Baranov <abaranov@linuxfoundation.org>
Date: Tue, 15 Mar 2022 08:16:19 -0400
Subject: [PATCH 5/6] Fix: xlint errors

Signed-off-by: Anton Baranov <abaranov@linuxfoundation.org>
---
 srcpkgs/git-review/template | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/git-review/template b/srcpkgs/git-review/template
index 0fd6a7d4fa28..d4ab4a5b23cb 100644
--- a/srcpkgs/git-review/template
+++ b/srcpkgs/git-review/template
@@ -13,7 +13,7 @@ homepage="https://git.openstack.org/cgit/openstack-infra/git-review/"
 distfiles="${PYPI_SITE}/g/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=fd97a00e5c15173eb097cef8e8b7915df96d878ad11eb62cb44983642b8f3a63
 
-do_check () {
-         mkdir -p ~/.ssh && echo -e "Host *\n  HostkeyAlgorithms +ssh-rsa\n  PubkeyAcceptedAlgorithms +ssh-rsa" > ~/.ssh/config
-         tox -e py3 -vv --skip-missing-interpreters=false
+do_check() {
+	mkdir -p ~/.ssh && echo -e "Host *\n  HostkeyAlgorithms +ssh-rsa\n  PubkeyAcceptedAlgorithms +ssh-rsa" > ~/.ssh/config
+	tox -e py3 -vv --skip-missing-interpreters=false
 }

From 095ff8ca19cc2871e8b348d301d0c4f5731d225e Mon Sep 17 00:00:00 2001
From: Anton Baranov <abaranov@linuxfoundation.org>
Date: Tue, 15 Mar 2022 09:47:01 -0400
Subject: [PATCH 6/6] Chore: Remove su - part

Signed-off-by: Anton Baranov <abaranov@linuxfoundation.org>
---
 srcpkgs/git-review/template | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/git-review/template b/srcpkgs/git-review/template
index d4ab4a5b23cb..98e958b900ff 100644
--- a/srcpkgs/git-review/template
+++ b/srcpkgs/git-review/template
@@ -5,7 +5,7 @@ revision=1
 build_style=python3-module
 hostmakedepends="python3-setuptools python3-pbr"
 depends="python3-requests"
-checkdepends="openjdk-jre openssh git tox procps-ng which util-linux"
+checkdepends="openjdk-jre openssh git tox procps-ng which"
 short_desc="Git command for submitting branches to Gerrit"
 maintainer="Orphaned <orphan@voidlinux.org>"
 license="Apache-2.0"
@@ -14,6 +14,9 @@ distfiles="${PYPI_SITE}/g/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=fd97a00e5c15173eb097cef8e8b7915df96d878ad11eb62cb44983642b8f3a63
 
 do_check() {
+	# Remove su - part
+	sed -i '/f.write(GOLDEN_SITE_VER)/a \        utils.run_cmd("sed", "-i", "s/su - $GERRIT_USER -s//", self._dir("gsite", "bin", "gerrit.sh"))' git_review/tests/__init__.py
+
 	mkdir -p ~/.ssh && echo -e "Host *\n  HostkeyAlgorithms +ssh-rsa\n  PubkeyAcceptedAlgorithms +ssh-rsa" > ~/.ssh/config
 	tox -e py3 -vv --skip-missing-interpreters=false
 }

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

* Re: [PR PATCH] [Updated] git-review: update to 2.2.0
  2022-03-14 17:08 [PR PATCH] git-review: update to 2.2.0 spacedog
                   ` (6 preceding siblings ...)
  2022-03-15 14:47 ` spacedog
@ 2022-03-15 19:45 ` spacedog
  2022-06-29  2:14 ` github-actions
  2022-07-14  2:14 ` [PR PATCH] [Closed]: " github-actions
  9 siblings, 0 replies; 11+ messages in thread
From: spacedog @ 2022-03-15 19:45 UTC (permalink / raw)
  To: ml

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

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

https://github.com/spacedog/void-packages git-review
https://github.com/void-linux/void-packages/pull/36138

git-review: update to 2.2.0
Signed-off-by: Anton Baranov <abaranov@linuxfoundation.org>

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




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

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

From 78c4304326eca1164cea54e1c143763144af124e Mon Sep 17 00:00:00 2001
From: Anton Baranov <abaranov@linuxfoundation.org>
Date: Fri, 11 Mar 2022 13:59:15 -0500
Subject: [PATCH 1/7] git-review: update to 2.2.0.

Signed-off-by: Anton Baranov <abaranov@linuxfoundation.org>
---
 srcpkgs/git-review/template | 15 ++++++++++++---
 1 file changed, 12 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/git-review/template b/srcpkgs/git-review/template
index 8f97599d2408..d0a76802c407 100644
--- a/srcpkgs/git-review/template
+++ b/srcpkgs/git-review/template
@@ -1,13 +1,22 @@
 # Template file for 'git-review'
 pkgname=git-review
-version=1.28.0
-revision=6
+version=2.2.0
+revision=1
 build_style=python3-module
 hostmakedepends="python3-setuptools python3-pbr"
 depends="python3-requests"
+checkdepends="python3-pip python3-wheel openjdk-jre openssh git tox procps-ng which"
 short_desc="Git command for submitting branches to Gerrit"
 maintainer="Orphaned <orphan@voidlinux.org>"
 license="Apache-2.0"
 homepage="https://git.openstack.org/cgit/openstack-infra/git-review/"
 distfiles="${PYPI_SITE}/g/${pkgname}/${pkgname}-${version}.tar.gz"
-checksum=8e3aabb7b9484063e49c2504d137609401e32ad5128ff2a5cf43e98d5d3dc15a
+checksum=fd97a00e5c15173eb097cef8e8b7915df96d878ad11eb62cb44983642b8f3a63
+
+do_check () {
+  # Don't run gerrit tests using java in chroot
+  # mkdir -p ~/.ssh && echo -e "Host *\n  HostkeyAlgorithms +ssh-rsa\n  PubkeyAcceptedAlgorithms +ssh-rsa" > ~/.ssh/config
+  # tox -e py3 -vv --skip-missing-interpreters=false
+  # Run only linters tests
+  tox -e linters
+}

From c85483c0ba55c0b9810cd121480a5ef47398e621 Mon Sep 17 00:00:00 2001
From: Anton Baranov <abaranov@linuxfoundation.org>
Date: Mon, 14 Mar 2022 12:56:38 -0400
Subject: [PATCH 2/7] git-review: fix tests

Signed-off-by: Anton Baranov <abaranov@linuxfoundation.org>
---
 srcpkgs/git-review/template | 10 ++++------
 1 file changed, 4 insertions(+), 6 deletions(-)

diff --git a/srcpkgs/git-review/template b/srcpkgs/git-review/template
index d0a76802c407..0c59e8fd4703 100644
--- a/srcpkgs/git-review/template
+++ b/srcpkgs/git-review/template
@@ -5,7 +5,7 @@ revision=1
 build_style=python3-module
 hostmakedepends="python3-setuptools python3-pbr"
 depends="python3-requests"
-checkdepends="python3-pip python3-wheel openjdk-jre openssh git tox procps-ng which"
+checkdepends="openjdk-jre openssh git tox procps-ng which"
 short_desc="Git command for submitting branches to Gerrit"
 maintainer="Orphaned <orphan@voidlinux.org>"
 license="Apache-2.0"
@@ -14,9 +14,7 @@ distfiles="${PYPI_SITE}/g/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=fd97a00e5c15173eb097cef8e8b7915df96d878ad11eb62cb44983642b8f3a63
 
 do_check () {
-  # Don't run gerrit tests using java in chroot
-  # mkdir -p ~/.ssh && echo -e "Host *\n  HostkeyAlgorithms +ssh-rsa\n  PubkeyAcceptedAlgorithms +ssh-rsa" > ~/.ssh/config
-  # tox -e py3 -vv --skip-missing-interpreters=false
-  # Run only linters tests
-  tox -e linters
+  mkdir -p ~/.ssh && echo -e "Host *\n  HostkeyAlgorithms +ssh-rsa\n  PubkeyAcceptedAlgorithms +ssh-rsa" > ~/.ssh/config
+  tox -e py3 -vv --skip-missing-interpreters=false
+
 }

From 41ed7dbad92539149e623f1140e439e9d62268b6 Mon Sep 17 00:00:00 2001
From: Anton Baranov <abaranov@linuxfoundation.org>
Date: Mon, 14 Mar 2022 13:12:41 -0400
Subject: [PATCH 3/7] Fix: Lint template errors

Signed-off-by: Anton Baranov <abaranov@linuxfoundation.org>
---
 srcpkgs/git-review/template | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/git-review/template b/srcpkgs/git-review/template
index 0c59e8fd4703..fc766eda8d0d 100644
--- a/srcpkgs/git-review/template
+++ b/srcpkgs/git-review/template
@@ -14,7 +14,6 @@ distfiles="${PYPI_SITE}/g/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=fd97a00e5c15173eb097cef8e8b7915df96d878ad11eb62cb44983642b8f3a63
 
 do_check () {
-  mkdir -p ~/.ssh && echo -e "Host *\n  HostkeyAlgorithms +ssh-rsa\n  PubkeyAcceptedAlgorithms +ssh-rsa" > ~/.ssh/config
-  tox -e py3 -vv --skip-missing-interpreters=false
-
+         mkdir -p ~/.ssh && echo -e "Host *\n  HostkeyAlgorithms +ssh-rsa\n  PubkeyAcceptedAlgorithms +ssh-rsa" > ~/.ssh/config
+         tox -e py3 -vv --skip-missing-interpreters=false
 }

From 91a4a4c6c5e0a7d6b471e5be48d6e464c2d53c93 Mon Sep 17 00:00:00 2001
From: Anton Baranov <abaranov@linuxfoundation.org>
Date: Mon, 14 Mar 2022 13:18:41 -0400
Subject: [PATCH 4/7] Chore: Install su command

Signed-off-by: Anton Baranov <abaranov@linuxfoundation.org>
---
 srcpkgs/git-review/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/git-review/template b/srcpkgs/git-review/template
index fc766eda8d0d..0fd6a7d4fa28 100644
--- a/srcpkgs/git-review/template
+++ b/srcpkgs/git-review/template
@@ -5,7 +5,7 @@ revision=1
 build_style=python3-module
 hostmakedepends="python3-setuptools python3-pbr"
 depends="python3-requests"
-checkdepends="openjdk-jre openssh git tox procps-ng which"
+checkdepends="openjdk-jre openssh git tox procps-ng which util-linux"
 short_desc="Git command for submitting branches to Gerrit"
 maintainer="Orphaned <orphan@voidlinux.org>"
 license="Apache-2.0"

From d51f125633e0ab8ffda789fa9d8d140c7c671a68 Mon Sep 17 00:00:00 2001
From: Anton Baranov <abaranov@linuxfoundation.org>
Date: Tue, 15 Mar 2022 08:16:19 -0400
Subject: [PATCH 5/7] Fix: xlint errors

Signed-off-by: Anton Baranov <abaranov@linuxfoundation.org>
---
 srcpkgs/git-review/template | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/git-review/template b/srcpkgs/git-review/template
index 0fd6a7d4fa28..d4ab4a5b23cb 100644
--- a/srcpkgs/git-review/template
+++ b/srcpkgs/git-review/template
@@ -13,7 +13,7 @@ homepage="https://git.openstack.org/cgit/openstack-infra/git-review/"
 distfiles="${PYPI_SITE}/g/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=fd97a00e5c15173eb097cef8e8b7915df96d878ad11eb62cb44983642b8f3a63
 
-do_check () {
-         mkdir -p ~/.ssh && echo -e "Host *\n  HostkeyAlgorithms +ssh-rsa\n  PubkeyAcceptedAlgorithms +ssh-rsa" > ~/.ssh/config
-         tox -e py3 -vv --skip-missing-interpreters=false
+do_check() {
+	mkdir -p ~/.ssh && echo -e "Host *\n  HostkeyAlgorithms +ssh-rsa\n  PubkeyAcceptedAlgorithms +ssh-rsa" > ~/.ssh/config
+	tox -e py3 -vv --skip-missing-interpreters=false
 }

From 095ff8ca19cc2871e8b348d301d0c4f5731d225e Mon Sep 17 00:00:00 2001
From: Anton Baranov <abaranov@linuxfoundation.org>
Date: Tue, 15 Mar 2022 09:47:01 -0400
Subject: [PATCH 6/7] Chore: Remove su - part

Signed-off-by: Anton Baranov <abaranov@linuxfoundation.org>
---
 srcpkgs/git-review/template | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/git-review/template b/srcpkgs/git-review/template
index d4ab4a5b23cb..98e958b900ff 100644
--- a/srcpkgs/git-review/template
+++ b/srcpkgs/git-review/template
@@ -5,7 +5,7 @@ revision=1
 build_style=python3-module
 hostmakedepends="python3-setuptools python3-pbr"
 depends="python3-requests"
-checkdepends="openjdk-jre openssh git tox procps-ng which util-linux"
+checkdepends="openjdk-jre openssh git tox procps-ng which"
 short_desc="Git command for submitting branches to Gerrit"
 maintainer="Orphaned <orphan@voidlinux.org>"
 license="Apache-2.0"
@@ -14,6 +14,9 @@ distfiles="${PYPI_SITE}/g/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=fd97a00e5c15173eb097cef8e8b7915df96d878ad11eb62cb44983642b8f3a63
 
 do_check() {
+	# Remove su - part
+	sed -i '/f.write(GOLDEN_SITE_VER)/a \        utils.run_cmd("sed", "-i", "s/su - $GERRIT_USER -s//", self._dir("gsite", "bin", "gerrit.sh"))' git_review/tests/__init__.py
+
 	mkdir -p ~/.ssh && echo -e "Host *\n  HostkeyAlgorithms +ssh-rsa\n  PubkeyAcceptedAlgorithms +ssh-rsa" > ~/.ssh/config
 	tox -e py3 -vv --skip-missing-interpreters=false
 }

From 7de9f0809d97b5e1aa8f01ea15ca823250ff45e6 Mon Sep 17 00:00:00 2001
From: Anton Baranov <abaranov@linuxfoundation.org>
Date: Tue, 15 Mar 2022 14:45:31 -0400
Subject: [PATCH 7/7] Fix: home variable

Signed-off-by: Anton Baranov <abaranov@linuxfoundation.org>
---
 srcpkgs/git-review/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/git-review/template b/srcpkgs/git-review/template
index 98e958b900ff..531498ff41a2 100644
--- a/srcpkgs/git-review/template
+++ b/srcpkgs/git-review/template
@@ -17,6 +17,6 @@ do_check() {
 	# Remove su - part
 	sed -i '/f.write(GOLDEN_SITE_VER)/a \        utils.run_cmd("sed", "-i", "s/su - $GERRIT_USER -s//", self._dir("gsite", "bin", "gerrit.sh"))' git_review/tests/__init__.py
 
-	mkdir -p ~/.ssh && echo -e "Host *\n  HostkeyAlgorithms +ssh-rsa\n  PubkeyAcceptedAlgorithms +ssh-rsa" > ~/.ssh/config
+	mkdir -p $HOME/.ssh && echo -e "HostkeyAlgorithms +ssh-rsa\nPubkeyAcceptedAlgorithms +ssh-rsa" >> $HOME/.ssh/config
 	tox -e py3 -vv --skip-missing-interpreters=false
 }

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

* Re: git-review: update to 2.2.0
  2022-03-14 17:08 [PR PATCH] git-review: update to 2.2.0 spacedog
                   ` (7 preceding siblings ...)
  2022-03-15 19:45 ` spacedog
@ 2022-06-29  2:14 ` github-actions
  2022-07-14  2:14 ` [PR PATCH] [Closed]: " github-actions
  9 siblings, 0 replies; 11+ messages in thread
From: github-actions @ 2022-06-29  2:14 UTC (permalink / raw)
  To: ml

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

New comment by github-actions[bot] on void-packages repository

https://github.com/void-linux/void-packages/pull/36138#issuecomment-1169458403

Comment:
Pull Requests become stale 90 days after last activity and are closed 14 days after that.  If this pull request is still relevant bump it or assign it.

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

* Re: [PR PATCH] [Closed]: git-review: update to 2.2.0
  2022-03-14 17:08 [PR PATCH] git-review: update to 2.2.0 spacedog
                   ` (8 preceding siblings ...)
  2022-06-29  2:14 ` github-actions
@ 2022-07-14  2:14 ` github-actions
  9 siblings, 0 replies; 11+ messages in thread
From: github-actions @ 2022-07-14  2:14 UTC (permalink / raw)
  To: ml

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

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

git-review: update to 2.2.0
https://github.com/void-linux/void-packages/pull/36138

Description:
Signed-off-by: Anton Baranov <abaranov@linuxfoundation.org>

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




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

end of thread, other threads:[~2022-07-14  2:14 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-03-14 17:08 [PR PATCH] git-review: update to 2.2.0 spacedog
2022-03-14 17:19 ` [PR REVIEW] " paper42
2022-03-14 17:19 ` paper42
2022-03-14 17:58 ` [PR PATCH] [Updated] " spacedog
2022-03-14 17:59 ` spacedog
2022-03-14 18:19 ` [PR PATCH] [Updated] " spacedog
2022-03-15 13:20 ` spacedog
2022-03-15 14:47 ` spacedog
2022-03-15 19:45 ` spacedog
2022-06-29  2:14 ` github-actions
2022-07-14  2:14 ` [PR PATCH] [Closed]: " github-actions

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