Package Details: git-review 2.4.0-2

Git Clone URL: https://aur.archlinux.org/git-review.git (read-only, click to copy)
Package Base: git-review
Description: Tool to submit code to Gerrit
Upstream URL: https://opendev.org/opendev/git-review
Licenses: Apache
Submitter: arojas
Maintainer: mistersmee
Last Packager: mistersmee
Votes: 6
Popularity: 1.30
First Submitted: 2022-04-01 17:30 (UTC)
Last Updated: 2024-04-12 16:18 (UTC)

Latest Comments

1 2 Next › Last »

mistersmee commented on 2024-04-12 16:18 (UTC)

@lucaswerkmeister, I can't reproduce your problem, it downloads fine here for me, but I guess I can switch to get the source from git tags, shouldn't be a difference in the overall package.

lucaswerkmeister commented on 2024-04-12 13:44 (UTC)

I haven’t been able to download the 2.4.0 tarball from Gitea since the 2.4.0 release came out (both when building the package and when trying to open it manually); getting the sources from Git instead seems to work:

diff --git a/PKGBUILD b/PKGBUILD
index c31b17afc0..ef41a67d75 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -13,9 +13,9 @@ license=('APACHE')
 depends=('git' 'python-requests')
 makedepends=('python-pbr' 'python-build' 'python-installer' 'python-setuptools' 'python-wheel')
 #checkdepends=('java-runtime=11' 'libcups' 'openssh' 'procps-ng' 'python-stestr' 'python-mock')
-source=("$pkgname-$pkgver.tar.gz::https://opendev.org/opendev/git-review/archive/$pkgver.tar.gz"
+source=("git+https://opendev.org/opendev/git-review.git#commit=b65c3c201c0a495f19cc4757f969119f8a65385a"  # 2.4.0 tag
         'https://gerrit-releases.storage.googleapis.com/gerrit-3.4.4.war')
-sha512sums=('acbfde06a03776494f1506355d837111305c45cd9424aed4b852ebb5c496a83184eb7d515425b48317d9e0858021f8bd78b6c2184fc1d4655d00ca2ade244532'
+sha512sums=('SKIP'
             'bb7d54585d16a3a4c2660d1e4cdfe193164f4f18e24a2d5df147936023a237332b1c1e1e21198c2f4216935e37fd3dc1494a0c1aa41c6dcf6b966f19c9f976ce')

 prepare() {

mistersmee commented on 2023-07-28 13:26 (UTC)

@bkazmierczak, @buovjaga, Noted, and they have been disabled since the last pkgrel bump, i.e. 2.3.1-3.

bkazmierczak commented on 2023-07-28 13:15 (UTC)

@mistersmee I agree with @buovjaga on this. The tests take a significant amount of time and load the CPU to the point older machines are unusable while an upgrade is ongoing.

mistersmee commented on 2023-05-25 07:46 (UTC)

@buovjaga, you can disable them, if you want to, of course, by commenting the corresponding lines out of the PKGBUILD before building, but I don't think it's a good idea to remove them, the tests have been there since before I started maintaining this package and probably there for a good reason.

buovjaga commented on 2023-05-25 07:15 (UTC)

Is it necessary to run the tests as part of the build? It's quite expensive as they run for a couple of hours and leave behind dozens of hanging Gerrit instances that take 100% of CPU.

lucaswerkmeister commented on 2023-05-20 19:05 (UTC)

I just ran into the same Python version issue – IMHO it would be useful to bump the pkgrel, to trigger a package rebuild for all users.

buovjaga commented on 2023-05-11 14:16 (UTC)

Thanks, clean build worked. Sorry for the noise.

mistersmee commented on 2023-05-11 12:11 (UTC)

@buovjaga, you most likely need to rebuild the package. Python got a major update from 3.10 to 3.11 a few days ago, and the git-review package is likely still in the 3.10 environment/directory on your system, while the rest of the packages and everything is in the 3.11 directory.

buovjaga commented on 2023-05-11 11:42 (UTC)

Something seems to have changed as I now get

Traceback (most recent call last):
  File "/usr/bin/git-review", line 6, in <module>
    from git_review.cmd import main
ModuleNotFoundError: No module named 'git_review'

when I run it. It worked a couple of months ago. What's up with that?