summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMike Frysinger <vapier@google.com>2024-03-20 12:59:32 -0400
committerLUCI <gerrit-scoped@luci-project-accounts.iam.gserviceaccount.com>2024-03-20 19:49:44 +0000
commit3762b17e983e8c910d9aaa6f010c2a7eb9b97695 (patch)
tree5710f5be790b367356079060787d077e300219af
parentae419e1e018a7f668deb69c98fa615f65e660932 (diff)
downloadgit-repo-3762b17e983e8c910d9aaa6f010c2a7eb9b97695.tar.gz
git: raise hard version to 1.7.9
Debian 6 Squeeze went EOL in Feb 2016. We don't need to carry support for that anymore as there have been 6 major releases since. That means we can bump the required git version from 1.7.2 to 1.7.9. Ubuntu Precise shipped with the latter. git-1.7.2 was released in 2010 while git-1.7.9 was released in 2012. So that shouldn't be a problem either. And we've been warning people using git versions older than 1.9.1 for 3 years now that they need to upgrade. Change-Id: I7712f110ea158297b489b8379b112c6700b21a46 Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/415097 Reviewed-by: Josip Sokcevic <sokcevic@google.com> Tested-by: Mike Frysinger <vapier@google.com> Commit-Queue: Mike Frysinger <vapier@google.com>
-rwxr-xr-xrepo7
-rw-r--r--requirements.json6
2 files changed, 6 insertions, 7 deletions
diff --git a/repo b/repo
index adcfb6eb..98fd5f74 100755
--- a/repo
+++ b/repo
@@ -124,7 +124,7 @@ if not REPO_REV:
124BUG_URL = "https://issues.gerritcodereview.com/issues/new?component=1370071" 124BUG_URL = "https://issues.gerritcodereview.com/issues/new?component=1370071"
125 125
126# increment this whenever we make important changes to this script 126# increment this whenever we make important changes to this script
127VERSION = (2, 42) 127VERSION = (2, 45)
128 128
129# increment this if the MAINTAINER_KEYS block is modified 129# increment this if the MAINTAINER_KEYS block is modified
130KEYRING_VERSION = (2, 3) 130KEYRING_VERSION = (2, 3)
@@ -210,9 +210,8 @@ GIT = "git" # our git command
210# NB: The version of git that the repo launcher requires may be much older than 210# NB: The version of git that the repo launcher requires may be much older than
211# the version of git that the main repo source tree requires. Keeping this at 211# the version of git that the main repo source tree requires. Keeping this at
212# an older version also makes it easier for users to upgrade/rollback as needed. 212# an older version also makes it easier for users to upgrade/rollback as needed.
213# 213# See requirements.json for versions.
214# git-1.7 is in (EOL) Ubuntu Precise. 214MIN_GIT_VERSION = (1, 7, 9) # minimum supported git version
215MIN_GIT_VERSION = (1, 7, 2) # minimum supported git version
216repodir = ".repo" # name of repo's private directory 215repodir = ".repo" # name of repo's private directory
217S_repo = "repo" # special repo repository 216S_repo = "repo" # special repo repository
218S_manifests = "manifests" # special manifest repository 217S_manifests = "manifests" # special manifest repository
diff --git a/requirements.json b/requirements.json
index cb55cd25..a4413417 100644
--- a/requirements.json
+++ b/requirements.json
@@ -46,12 +46,12 @@
46 46
47 # Supported git versions. 47 # Supported git versions.
48 # 48 #
49 # git-1.7.2 is in Debian Squeeze.
50 # git-1.7.9 is in Ubuntu Precise. 49 # git-1.7.9 is in Ubuntu Precise.
51 # git-1.9.1 is in Ubuntu Trusty.
52 # git-1.7.10 is in Debian Wheezy. 50 # git-1.7.10 is in Debian Wheezy.
51 # git-1.9.1 is in Ubuntu Trusty.
52 # git-2.1.4 is in Debian Jessie.
53 "git": { 53 "git": {
54 "hard": [1, 7, 2], 54 "hard": [1, 7, 9],
55 "soft": [1, 9, 1] 55 "soft": [1, 9, 1]
56 } 56 }
57} 57}