ansible: upgrade Mercurial in hgweb virtualenvs to 4.2 (
bug 1360007); r?glob
We've loosened our Mercurial upgrade policy to allow taking the
initial X.Y release 2 weeks after release provided it looks stable.
There haven't been any major changes to the stable branch of the
Mercurial repo related to the 4.2 release. So I think it is stable
enough to go out on the hgweb servers.
Both hg-dev and hg-reviewboard were updated because we'll need to
update templates and the 4.2 templates aren't compatible with 4.1.
This is a bit unfortunate. But it should be relatively low risk.
There's a slight chance we'll break the reviewboard server extension.
But we have tests for that and tests are happy with this commit, so
everything should be fine.
The system package and virtualenvs for tools and replication are still
on 4.1. We'll upgrade those to 4.2 once we upgrade the rest of the
world to 4.2.
MozReview-Commit-ID: HcCEc7oqRCk
--- a/ansible/roles/hg-reviewboard/files/requirements-hgweb.txt
+++ b/ansible/roles/hg-reviewboard/files/requirements-hgweb.txt
@@ -1,15 +1,15 @@
# We need RBTools in the hgweb venv because we support pushing via HTTP.
# This is different from hg.mozilla.org's configuration.
--find-links https://downloads.reviewboard.org/releases/RBTools/0.7/
-Mercurial==4.1.2 \
- --hash=sha256:09415253fb409a77e19b9951532a3c22c4e07e74bab80652527064617daab194
+Mercurial==4.2 \
+ --hash=sha256:23a412308fc9c2b354a0e91a89588a4af2af061b47da80bc4233ccb0cceef47d
mod-wsgi==4.5.14 \
--hash=sha256:8e6d0ccdea6872b71da2ba0fe5d46ca38a6219becc521dcdc4516992c9fe3247
Pygments==2.1.1 \
--hash=sha256:05aee25c433d6155defbfbcb6c2e2b0ebf29d28138604867b62a304bd6bbb41d
python-ldap==2.4.20 \
--- a/ansible/roles/hg-web/files/requirements-hgweb.txt
+++ b/ansible/roles/hg-web/files/requirements-hgweb.txt
@@ -1,11 +1,11 @@
ipaddress==1.0.16 \
--hash=sha256:935712800ce4760701d89ad677666cd52691fd2f6f0b340c8b4239a3c17988a5
-Mercurial==4.1.2 \
- --hash=sha256:09415253fb409a77e19b9951532a3c22c4e07e74bab80652527064617daab194
+Mercurial==4.2 \
+ --hash=sha256:23a412308fc9c2b354a0e91a89588a4af2af061b47da80bc4233ccb0cceef47d
mod-wsgi==4.5.14 \
--hash=sha256:8e6d0ccdea6872b71da2ba0fe5d46ca38a6219becc521dcdc4516992c9fe3247
Pygments==2.1.1 \
--hash=sha256:05aee25c433d6155defbfbcb6c2e2b0ebf29d28138604867b62a304bd6bbb41d