New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
gitlab: 12.7.6 -> 12.8.1 #81556
gitlab: 12.7.6 -> 12.8.1 #81556
Conversation
@GrahamcOfBorg test gitlab |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Deployed this on a NixOS machine without any problems 👍
In order to build gitaly, this locally overrides the version of libgit2, since gitaly is not compatible with the latest version.
This is left over from when gitlab-shell had a ruby part and a go part. The ruby part is now gone, so let's call the go part gitlab-shell.
The way ruby loads gems and keeps track of their paths seems to not always work very well when the gems are accessed through symlinks. Ruby will then complain that the same files are loaded multiple times; it relies on the file's full path to determine whether the file is loaded or not. This adds an option to simply copy all gem files into the environment instead, which gets rid of this issue, but may instead result in major file duplication.
This fixes issue NixOS#79374, where gitaly prints warning messages on the client side when running push or fetch.
I just added a fix for #79374. It touches the @GrahamcOfBorg test gitlab |
I deployed the new version and can confirm it fixes #79374 too. Thanks! |
I also ran nix-review to make sure the changes do bundlerEnv do not create problems for other ruby applications. |
Motivation for this change
Update GitLab to the latest version.
https://about.gitlab.com/releases/2020/02/22/gitlab-12-8-released/
https://about.gitlab.com/releases/2020/02/24/gitlab-12-8-1-released/
This is basically #81057 with fixes and minor additions. I can't add anything to that PR, so I opened this instead.
This still suffers from #79374.
Things done
sandbox
innix.conf
on non-NixOS linux)nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
./result/bin/
)nix path-info -S
before and after)