Git dependency documentation when updating from sources
Problem to solve
- Update documentation from sources has missing git minimum version
Further details
According to theses:
- Release 11.11 announce: https://about.gitlab.com/2019/05/22/gitlab-11-11-released/#git-2.21.0-or-greater-required
- Issue: gitlab-org/gitlab-ce#54255
- Merge request: omnibus-gitlab!3220 (merged)
- Install doc from sources: https://gitlab.com/gitlab-org/gitlab-ce/blob/master/doc/install/installation.md#1-packages-and-dependencies
Proposal
- Update doc should mention git version needed (2.21 for gitlab 11.11), maybe a part like this:
6. Update git
NOTE: GitLab 11.11 and higher only supports Git 2.21.x and newer, and dropped support for older versions. Be sure to upgrade your installation if necessary.
# Make sure Git is version 2.21.0 or higher git --version # Remove packaged Git sudo apt-get remove git-core # Install dependencies sudo apt-get install -y libcurl4-openssl-dev libexpat1-dev gettext libz-dev libssl-dev build-essential # Download and compile pcre2 from source curl --silent --show-error --location https://ftp.pcre.org/pub/pcre/pcre2-10.33.tar.gz --output pcre2.tar.gz tar -xzf pcre2.tar.gz cd pcre2-10.33 chmod +x configure ./configure --prefix=/usr --enable-jit make make install # Download and compile from source cd /tmp curl --remote-name --location --progress https://www.kernel.org/pub/software/scm/git/git-2.21.0.tar.gz echo '85eca51c7404da75e353eba587f87fea9481ba41e162206a6f70ad8118147bee git-2.21.0.tar.gz' | shasum -a256 -c - && tar -xzf git-2.21.0.tar.gz cd git-2.21.0/ ./configure --with-libpcre make prefix=/usr/local all # Install into /usr/local/bin sudo make prefix=/usr/local install # When editing config/gitlab.yml (Step 5), change the git -> bin_path to /usr/local/bin/git
Who can address the issue
Other links/references
Edited by Æx