Bug 1505579 - Upgrade Docker images to Mercurial 4.8; r=sheehan
☠☠ backed out by 5dca9c949ba4 ☠ ☠
authorGregory Szorc <gps@mozilla.com>
Fri, 09 Nov 2018 03:53:26 +0000
changeset 508524 5c22ecb14543f7aebae1435416f8b127fd6f51df
parent 508523 60e0ab5a32d0fa44b5d4089d15888bf023ef1d38
child 508525 5ef83bfaf2bb736224682ae84dbe7a8c60ca5fb6
push id1905
push userffxbld-merge
push dateMon, 21 Jan 2019 12:33:13 +0000
treeherdermozilla-release@c2fca1944d8c [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerssheehan
bugs1505579
milestone65.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1505579 - Upgrade Docker images to Mercurial 4.8; r=sheehan We need to run Mercurial 4.8 so we can start using SQLite storage and wire protocol version 2 for partial clones. Differential Revision: https://phabricator.services.mozilla.com/D11399
taskcluster/ci/packages/kind.yml
taskcluster/docker/recipes/install-mercurial.sh
--- a/taskcluster/ci/packages/kind.yml
+++ b/taskcluster/ci/packages/kind.yml
@@ -107,34 +107,34 @@ jobs:
 
   deb7-mercurial:
     description: "Modern Mercurial for Debian wheezy"
     treeherder:
       symbol: Deb7(hg)
     run:
       using: debian-package
       tarball:
-        url: https://www.mercurial-scm.org/release/mercurial-4.7.1.tar.gz
-        sha256: 8503383c1c31842576516b803d07564216470887ca6388719e4c4089663b410c
+        url: https://www.mercurial-scm.org/release/mercurial-4.8.tar.gz
+        sha256: c56b403ad3b83ea91f3758c6df25b9f77deb4affada6c63160b3d325dc923f03
       pre-build-command: >-
         cp -r contrib/packaging/debian debian &&
         sed -i -e "s/__VERSION__/$(awk -F\" '$2 {print $2}' mercurial/__version__.py)-1.deb7moz1/" \
                -e "s/__DATE__/$(date --rfc-2822)/" \
                -e "s/__CODENAME__/wheezy/" debian/changelog
 
   deb9-mercurial:
     description: "Modern Mercurial for Debian stretch"
     treeherder:
       symbol: Deb9(hg)
     run:
       using: debian-package
       dist: stretch
       tarball:
-        url: https://www.mercurial-scm.org/release/mercurial-4.7.1.tar.gz
-        sha256: 8503383c1c31842576516b803d07564216470887ca6388719e4c4089663b410c
+        url: https://www.mercurial-scm.org/release/mercurial-4.8.tar.gz
+        sha256: c56b403ad3b83ea91f3758c6df25b9f77deb4affada6c63160b3d325dc923f03
       pre-build-command: >-
         cp -r contrib/packaging/debian debian &&
         sed -i -e "s/__VERSION__/$(awk -F\" '$2 {print $2}' mercurial/__version__.py)-1.deb9moz1/" \
                -e "s/__DATE__/$(date --rfc-2822)/" \
                -e "s/__CODENAME__/stretch/" debian/changelog
 
   deb7-git:
     description: "Modern git for Debian wheezy"
--- a/taskcluster/docker/recipes/install-mercurial.sh
+++ b/taskcluster/docker/recipes/install-mercurial.sh
@@ -11,23 +11,23 @@ set -e
 if [ -f /etc/lsb-release ]; then
     # Disabled so linting works on Mac
     # shellcheck disable=SC1091
     . /etc/lsb-release
 
     if [ "${DISTRIB_ID}" = "Ubuntu" ] && [[ "${DISTRIB_RELEASE}" = "16.04" || "${DISTRIB_RELEASE}" = "17.10" || "${DISTRIB_RELEASE}" = "18.04" ]]
     then
         HG_DEB=1
-        HG_DIGEST=cbc3eafbc7598c7eafee81f4fb95f8d58dea5fede0fca6a04334eaa29667b9b464e3070fa24be91276d7294ba4629d7b7a648cbf969256289e9a28f5da684d09
-        HG_SIZE=250774
-        HG_FILENAME=mercurial_4.7.1_amd64.deb
+        HG_DIGEST=eca872b1e0007f6dee40013d41ba3e17fe636500051304b69720a14aacab298ebed2999ff2433cf462f8931ef9c1d3bbac8544374056a76348da738c186dcc20
+        HG_SIZE=278406
+        HG_FILENAME=mercurial_4.8_amd64.deb
 
-        HG_COMMON_DIGEST=15f9c72dba116d33c2d60831bc17cd714d66b830089aebe547c846b910dbc929200f7863e167a8dade67c77c4347b8e967e6da505c2fdffa4faaa7143eccdfd8
-        HG_COMMON_SIZE=2315652
-        HG_COMMON_FILENAME=mercurial-common_4.7.1_all.deb
+        HG_COMMON_DIGEST=ba4d267aba2c3fe02e9cd9227b9a910e4e287971ff5ebd60b238e11ce97d82b2316b9d43f54d3f2384e9947a7a7f403c982329fe6ca6309bdfb8ba91ac345f48
+        HG_COMMON_SIZE=2435262
+        HG_COMMON_FILENAME=mercurial-common_4.8_all.deb
     elif [ "${DISTRIB_ID}" = "Ubuntu" ] && [ "${DISTRIB_RELEASE}" = "12.04" ]
     then
         echo "Ubuntu 12.04 not supported"
         exit 1
     fi
 
     CERT_PATH=/etc/ssl/certs/ca-certificates.crt
 
@@ -101,25 +101,25 @@ tooltool_fetch <<EOF
 ]
 EOF
 
     rpm -i ${HG_FILENAME}
 elif [ -n "${PIP_PATH}" ]; then
 tooltool_fetch <<EOF
 [
   {
-    "size": 6480135,
-    "digest": "04d3f97dd4a0f36c6f6d639d8eccc7e4f29b2dc211fa69e7fc17dae0eb954f2ddaaf04f70facc6b968a166db7c07ed80792575d7a27e80bc0c1a43fc38b5e536",
+    "size": 6865809,
+    "digest": "83be5119355da6e43635a8ada3c152420314e72c4a7b98717ac8b5feb628f3ce96c0ca137cb4a624d441e4f800d9ca78ada3351ca403815c06ab151cc720077d",
     "algorithm": "sha512",
-    "filename": "mercurial-4.7.1.tar.gz"
+    "filename": "mercurial-4.8.tar.gz"
   }
 ]
 EOF
 
-   ${PIP_PATH} install mercurial-4.7.1.tar.gz
+   ${PIP_PATH} install mercurial-4.8.tar.gz
 else
     echo "Do not know how to install Mercurial on this OS"
     exit 1
 fi
 
 chmod 644 /usr/local/mercurial/robustcheckout.py
 
 cat >/etc/mercurial/hgrc.d/cacerts.rc <<EOF