rucio / containers

Containers for Rucio
Apache License 2.0
8 stars 54 forks source link

rucio-dev: Upgrade git from version 1.8 to 2.36 #200

Closed akselaase closed 1 year ago

akselaase commented 1 year ago

Upgrade git from version 1.8 to 2.36 by installing the package git236 instead of git.

Motivation

rucio/rucio#5765 needs git >= 2.18 for the git worktree feature. It's also nice for developers to have a more up to date version, for instance the VSCode extension GitLens requires git >= 2.7.2.

mlassnig commented 1 year ago

hmm, wouldn't it be better just to use the IUS repository? it has git 2.36 prepackaged.

yum install -y epel-release
yum remove -y git
rpm -U https://repo.ius.io/ius-release-el7.rpm
yum install -y git236
akselaase commented 1 year ago

Didn't know, but yes

mlassnig commented 1 year ago

More info here: https://ius.io/ & https://ius.io/setup

akselaase commented 1 year ago

Thanks @mlassnig, that was easier.