Your message dated Wed, 20 Jan 2021 00:48:01 +0530
with message-id <[email protected]>
and subject line closing old bug
has caused the Debian Bug report #964097,
regarding gitlab: "git push" fails with a stacktrace in gitlab code due to
outdated ruby version
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
964097: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=964097
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: gitlab
Version: 13.1.1-1+fto10+1
Severity: important
Dear Maintainer,
After upgrade to above mentioned version, `git push`es started to fail
on my repositories (while `git pull`s continued working).
Investigating the issue I noticed that there were stack traces logged
into /var/log/gitlab/exceptions_json.log every time I tried pushing.
The stack traces pointed to lib/gitlab/gl_repository/identifier.rb:52,
where apparently a string is converted to an integer. The excetion
message reads "wrong number of arguments (given 3, expected 1..2)".
According to the documentation of ruby, there were only two arguments
to `Integer` in 2.5.1
(https://ruby-doc.org/core-2.5.1/Kernel.html#method-i-Integer), while
there was a third one added later (e.g. present in 2.7). However,
since my system is based on buster, I have ruby 2.5.1 installed.
I could work around my issue by removing the third `exception: false`
parameter to `Integer` in
/usr/share/gitlab/lib/gitlab/gl_repository/identifier.rb:52.
Since there is no newer ruby version available in backports or
fasttrack, I'd prefer to stick to the stable version. What solution
can you recommend? Do you need any more information?
Relevant package versions:
gitlab: 13.1.1-1+fto10+1
gitlab-common: 13.1.0+dfsg-1~bpo10+1
gitaly: 13.1.0+dfsg-1~bpo10+1
gitlab-shell: 13.3.0+debian-1~bpo10+1
Best,
Maximilian
--- End Message ---
--- Begin Message ---
We already switched to ruby 2.7 in fasttrack.
--- End Message ---