Package Details: smartgit 21.2.4-1

Git Clone URL: https://aur.archlinux.org/smartgit.git (read-only, click to copy)
Package Base: smartgit
Description: Git client with Hg and SVN support.
Upstream URL: http://www.syntevo.com/smartgit
Keywords: git hg svn vcs
Licenses: custom
Replaces: smartgithg
Submitter: alyst
Maintainer: alyst (muflone)
Last Packager: muflone
Votes: 179
Popularity: 0.003463
First Submitted: 2014-11-17 17:04 (UTC)
Last Updated: 2022-09-21 21:10 (UTC)

Latest Comments

1 2 3 4 5 6 .. 12 Next › Last »

ellipse55 commented on 2021-10-21 15:28 (UTC) (edited on 2021-10-21 15:30 (UTC) by ellipse55)

When Pamac asks if you want to edit build files, answer yes and replace b38b7ba2a7fe2e272f32d6f423d953890c6e7840 with 114375a1516ac06e5bb8ef260ceb266ef4019a4e (the manually calculated SHA provided by sez11a) and then save. By doing this, the installation worked fine (on Manjaro).

alyst commented on 2021-10-21 13:27 (UTC)

If you have problems with SHA1 checks, try removing the .tar.gz archive you downloaded from Syntevo and use the latest PKGBUILD.

sez11a commented on 2021-10-21 13:23 (UTC)

I'm having the same problem. When I calculate the sha1sum value manually, it's not the value you posted; it's 114375a1516ac06e5bb8ef260ceb266ef4019a4e.

newsboost commented on 2021-10-21 11:45 (UTC)

@cedricroijakkers: I don't understand you have this problem. I just upgradeded yesterday to "aur/smartgit 21.1.2-2 (+178 1.78) (Installed)" with no problems. Today, after reading you had problems I went to https://www.syntevo.com/downloads/smartgit/smartgit-linux-21_1_2.tar.gz and calculated the SHA1-value of the .gz-file. It is "b38b7ba2a7fe2e272f32d6f423d953890c6e7840" just as in the pkgbuild. So I don't understand it, if you have problems?

cedricroijakkers commented on 2021-10-21 07:22 (UTC)

Looks like you have a checksum error in the latest version:

==> ERROR: One or more files did not pass the validity check! error: failed to download sources for 'smartgit-21.1.2-2': error: packages failed to build: smartgit-21.1.2-2

simonzack commented on 2021-10-21 01:42 (UTC)

@Ovsyanka That's a good idea. An alternative is like the other packages, to create a custom JRE package for SmartGit, which becomes an optional install for SmartGit.

newsboost commented on 2021-10-20 18:13 (UTC)

@alyst: Thanks a lot of updating pkgbuild. I don't like messing with sha-values myself and prefer that kind of things are dealt with from the aur-repo, especially because other people should be in the same boat when things like this happen. About the reason for changing sha-values: I hope it doesn't happen too often, sorry I cannot help but thanks for quickly fixing it and hopefully it'll stay working now for a long time.

@ovsyanka: Thanks for the temporary workaround with pkgbuild but luckily I didn't have to do this and things are solved now, from my point of view.

Ovsyanka commented on 2021-10-20 17:02 (UTC)

@newsboost I can't figure out that too. Looks like at the time this package was updated smartgit-linux-21_1_2.tar.gz on the site had different hash. And some time later the archive was changed.

Somehow I have 21.1.2-1 installed, but I can't find it's smartgit-linux-21_1_2.tar.gz in my yay cache so I can't prove the case.

I think @alyst (as packager) could verify my assumption and ask Smartgit devs why the hash was changed. If they admit that they changed the archive - then the packager should just update the hash. If they didn't change it then something strange is going on and should be investigated.

All this based on my understanding of the process, I am not specialist, so correct me if I am wrong.

If you want to update before this question will be sorted out you can change the hash for smartgit-linux-21_1_2.tar.gz to actual one "b38b7ba2a7fe2e272f32d6f423d953890c6e7840" in PKGBUILD before installation.

@simonzack About the JRE. In my opinion it would be appropriate to have two packages of smartgit - bundled with JRE and without it.

alyst commented on 2021-10-20 17:01 (UTC)

I always take the SHA1 from Syntevo website, but sometimes they silently update the package (and SHA1) without updating the version number. I've just updated the PKGBUILD to use the most recent .tar.gz.

newsboost commented on 2021-10-20 16:11 (UTC) (edited on 2021-10-20 16:12 (UTC) by newsboost)

hmm, ok @SapmoC: A different SHA-1 value. But what is the solution? I get this (see below), when I tried to upgrade today?

:: (1/1) Parsing SRCINFO: smartgit
==> Making package: smartgit 21.1.2-1 (Wed 20 Oct 2021 06:05:03 PM CEST)
==> Retrieving sources...
  -> Downloading smartgit-linux-21_1_2.tar.gz...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100 94.2M  100 94.2M    0     0  34.5M      0  0:00:02  0:00:02 --:--:-- 34.5M
  -> Found smartgit.desktop
==> Validating source files with sha1sums...
    smartgit-linux-21_1_2.tar.gz ... FAILED
    smartgit.desktop ... Passed
==> ERROR: One or more files did not pass the validity check!
 -> error downloading sources: smartgit
     context: exit status 1


==> Making package: smartgit 21.1.2-1 (Wed 20 Oct 2021 06:05:06 PM CEST)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Found smartgit-linux-21_1_2.tar.gz
  -> Found smartgit.desktop
==> Validating source files with sha1sums...
    smartgit-linux-21_1_2.tar.gz ... FAILED
    smartgit.desktop ... Passed
==> ERROR: One or more files did not pass the validity check!
 -> error making: smartgit

I see people discussing a java-issue, but not an installation issue? Validity check failed, sounds like a SHA-1 problem, why does this check fail and what is the solution (sorry for asking if it's obvious to everyone but me, I'm not used to these failed upgrades)?