FS#56044 - [gitlab-shell] Version mismatch

Attached to Project: Community Packages
Opened by Adrien Oliva (yapbreak) - Thursday, 19 October 2017, 09:57 GMT
Last edited by Sven-Hendrik Haase (Svenstaro) - Saturday, 21 October 2017, 15:14 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Sven-Hendrik Haase (Svenstaro)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

(I open this bug in Gitlab-shell, but it is maybe more related to gitlab package itself)

Description:

I recently do a full system update and I was unable to push tags on my Gitlab installation.
After a conversation with Gitlab team (see ticket https://gitlab.com/gitlab-org/gitlab-ce/issues/39273), Gitlab CE version 10.0.4 is incompatible with Gitlab-shell 5.9.4. It require a version 5.9.3 max to work.
Since 5.9.3 does not exists in pacman (at least, I did not found in Arch Live repository), I downgrade to version 5.9.0 and everything seems to work fine.


Additional info:

Here is the list of all gitlab related package installed on my system:

community/gitlab 10.0.4-1 [installed]
Project management and code hosting application
community/gitlab-gitaly 0.47.0-2 [installed]
Speed up Git access using caching
community/gitlab-runner 10.0.2-1 [installed]
The official GitLab CI runner written in Go
community/gitlab-shell 1:5.9.4-1 [installed: 1:5.9.0-1]
Git management software
community/gitlab-workhorse 3.2.0-2 [installed]
HTTP server to unload Git HTTP traffic from GitLab Rails app (Unicorn)



Steps to reproduce:

Install gitlab with its dependencies with the latest available package, try to push a tag. It fail with a stack trace.
This task depends upon

Closed by  Sven-Hendrik Haase (Svenstaro)
Saturday, 21 October 2017, 15:14 GMT
Reason for closing:  Fixed
Additional comments about closing:  Downgraded gitlab-shell
Comment by José Olívio da Mota Pedrosa (jomp16) - Saturday, 21 October 2017, 14:32 GMT
That sorta explains the issue that I was receiving when pushing commits to master branch, either with HTTP or SSH. When a branch is protected, Gitlab verifies that I have permission to push, but it fails somehow and giving "gitlab: api is not accessible". I found the issue with the error: https://gitlab.com/gitlab-org/gitlab-ce/issues/39152.

I exported the gitlab-shell package, changed it to 5.9.3 (since the maintainer pushed from 5.9.0 to 5.9.4 directly) and rebuilt it, now everything works again.

I don't know the Arch's policy of downgrading a package without causing issues with everyone. But we should downgrade. The current package isn't compatible with current Gitlab version.
Comment by Sven-Hendrik Haase (Svenstaro) - Saturday, 21 October 2017, 15:11 GMT
Yes, I was about to downgrade this.

Loading...