FS#58317 - [gitlab-gitaly] source checksum does not match

Attached to Project: Community Packages
Opened by Erich Eckner (deepthought) - Monday, 23 April 2018, 09:48 GMT
Last edited by Sven-Hendrik Haase (Svenstaro) - Monday, 23 April 2018, 19:43 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Sven-Hendrik Haase (Svenstaro)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:

==> Validating source files with sha512sums...
gitlab-gitaly-0.97.0.tar.gz ... FAILED
gitlab-gitaly.service ... Passed
==> ERROR: One or more files did not pass the validity check!

Additional info:
* package version(s)
gitlab-gitaly 0.97.0-1 (git revision b9baac0e0d7b45097f0e333f5c0c15b2dc6f2831)

Steps to reproduce:
> git checkout b9baac0e0d7b45097f0e333f5c0c15b2dc6f2831
> cd gitlab-gitaly/repos/community-x86_64
> makepkg --verifysource
This task depends upon

Closed by  Sven-Hendrik Haase (Svenstaro)
Monday, 23 April 2018, 19:43 GMT
Reason for closing:  Fixed
Comment by Ruslan Garipov (ruslangaripov) - Monday, 23 April 2018, 15:59 GMT
It's GitLab's known issue: [Downloading archive.tar.gz ignores ref argument](https://gitlab.com/gitlab-org/gitlab-ce/issues/45586). My own ticket, which is "duplicating" the first one, shows the problem with SHA hashes (https://gitlab.com/gitlab-org/gitlab-ce/issues/45665) more clearly.

It looks like the fix is merged into the master, but not available in a version branch.

Moreover, I believe all gitlab packages for Arch Linux must eventually change tarball URLs, because:

> Even though we're fixing it, I'd suggest updating your code to use the API URL, to future-proof against any further changes - since the non-API URL using ?ref is being marked as deprecated in 10.7, I suspect it will be removed within a few releases anyway.

And all the packages have to be rebuilt after that I believe, because, for example, gitlab-10.7.0-2 that I had installed today, ended up with 10.7.0-pre version on my server.
Comment by Sven-Hendrik Haase (Svenstaro) - Monday, 23 April 2018, 18:53 GMT
Ok thanks for the heads-up.

Loading...