bfa83a22e019b28d6b3835622b200b661b4a27fe: ansible/hg-ssh: add `mozilla-esr102` to bundle repos (Bug 1766878)
Connor Sheehan <sheehan@mozilla.com> - Mon, 02 May 2022 11:19:56 -0400 - rev 7835
Push
3934 by cosheehan@mozilla.com at Mon, 02 May 2022 21:48:10 +0000
ansible/hg-ssh: add `mozilla-esr102` to bundle repos (
Bug 1766878)
10afb0fe622294d6f2bb5ccdf56d9b98afc426ec: ansible: add `mozilla-esr102` to mirror filters (Bug 1766878)
Connor Sheehan <sheehan@mozilla.com> - Mon, 02 May 2022 11:18:55 -0400 - rev 7834
Push
3934 by cosheehan@mozilla.com at Mon, 02 May 2022 21:48:10 +0000
ansible: add `mozilla-esr102` to mirror filters (
Bug 1766878)
8ee42dcd562b6042ccf79c4e04311fde8198b7ef: pushlog: guard against `_getconn` returning `None`
Connor Sheehan <sheehan@mozilla.com> - Fri, 22 Apr 2022 14:03:23 -0400 - rev 7833
Push
3933 by cosheehan@mozilla.com at Fri, 22 Apr 2022 18:04:24 +0000
pushlog: guard against `_getconn` returning `None`
`_getconn` can return `None` in certain scenarios,
so callers should guard against this case instead of
throwing `AttributeError`.
846242daf620f7bb117767354d7baf325f05b2c0: configwizard: encode output when printing new hgrc to screen (Bug 1751287)
Connor Sheehan <sheehan@mozilla.com> - Thu, 21 Apr 2022 15:52:21 -0400 - rev 7832
Push
3932 by cosheehan@mozilla.com at Fri, 22 Apr 2022 00:42:03 +0000
configwizard: encode output when printing new hgrc to screen (
Bug 1751287)
Also add a new test showing the expected output.
c3d47262f22af1427f5f1827759b936151bdd1b6: testing: remove unused imports in `hgmo.py`
Connor Sheehan <sheehan@mozilla.com> - Fri, 25 Mar 2022 12:51:31 -0400 - rev 7831
Push
3931 by cosheehan@mozilla.com at Thu, 07 Apr 2022 15:25:13 +0000
testing: remove unused imports in `hgmo.py`
014cc57d40281c5b5228cddcf98ecf06100bf3bb: testing: remove unused `timeout` kwarg in `AdvancedURLInterceptor`
Connor Sheehan <sheehan@mozilla.com> - Mon, 04 Apr 2022 11:02:03 -0400 - rev 7830
Push
3931 by cosheehan@mozilla.com at Thu, 07 Apr 2022 15:25:13 +0000
testing: remove unused `timeout` kwarg in `AdvancedURLInterceptor`
f6883d32876ce0b7215707ed6595416509513f29: testing: install Mercurial 6.1.1 in test suite
Connor Sheehan <sheehan@mozilla.com> - Wed, 06 Apr 2022 10:52:24 -0400 - rev 7829
Push
3930 by cosheehan@mozilla.com at Wed, 06 Apr 2022 18:36:25 +0000
testing: install Mercurial 6.1.1 in test suite
9acab8389983185a6bc6bd15d77d06fb756666cd: pycompat: account for `pycompat.bytesio` being removed in 6.2+ hg (Bug 1762417) r=zeid
Connor Sheehan <sheehan@mozilla.com> - Wed, 06 Apr 2022 15:26:46 +0000 - rev 7828
Push
3929 by cosheehan@mozilla.com at Wed, 06 Apr 2022 15:28:50 +0000
pycompat: account for `pycompat.bytesio` being removed in 6.2+ hg (
Bug 1762417) r=zeid
Use `io.BytesIO` in testing specific modules for Py3 only code (hooks
in this case) and add a function to paper over the differences on
`configwizard` where we may still need to run on Py2 in some cases.
Differential Revision:
https://phabricator.services.mozilla.com/D142686
0739c51de7e7abc9d9cee76885a38c036460672f: robustcheckout: use pre-Py3.9 `with` syntax for multiple context managers (Bug 1762487)
Connor Sheehan <sheehan@mozilla.com> - Fri, 01 Apr 2022 09:04:43 -0400 - rev 7827
Push
3928 by cosheehan@mozilla.com at Fri, 01 Apr 2022 13:05:19 +0000
robustcheckout: use pre-Py3.9 `with` syntax for multiple context managers (
Bug 1762487)
Using `with (cm1, cm2, cm3):` is supported only on Python 3.9+.
Remove the parenthesis to fix `robustcheckout` on earlier versions
of Python.
5021aa0da05a97d27987d7d0a28ad30e0e0cea7d: configwizard: add a Python version check step (Bug 1742634) r=mhentges
Connor Sheehan <sheehan@mozilla.com> - Tue, 29 Mar 2022 18:36:10 +0000 - rev 7826
Push
3927 by cosheehan@mozilla.com at Tue, 29 Mar 2022 18:38:16 +0000
configwizard: add a Python version check step (
Bug 1742634) r=mhentges
Adds a step to configwizard to detect if the interpreter running
Mercurial is Python 2. If it is, print a warning recommending upgrading
to Python 3.
Differential Revision:
https://phabricator.services.mozilla.com/D138156
45d4f1eb99f2d6e7d518e4e629cd24cb083eb2c0: Bug 1761540 - whitelist_releng: remove rthijssen r=sheehan
Andrew Erickson <aerickson@gmail.com> - Fri, 25 Mar 2022 19:26:32 +0000 - rev 7825
Push
3926 by cosheehan@mozilla.com at Fri, 25 Mar 2022 19:28:36 +0000
Bug 1761540 - whitelist_releng: remove rthijssen r=sheehan
departed, doing security ACL audit
Differential Revision:
https://phabricator.services.mozilla.com/D142113
d12758bbe1648bc0681e4fdaae199d339bffe4f1: vcsreplicator: send heads message as part of `replicatesync` (Bug 1757183) r=zeid
Connor Sheehan <sheehan@mozilla.com> - Fri, 25 Mar 2022 17:02:22 +0000 - rev 7824
Push
3925 by cosheehan@mozilla.com at Fri, 25 Mar 2022 17:04:27 +0000
vcsreplicator: send heads message as part of `replicatesync` (
Bug 1757183) r=zeid
Adds a call to `sendheadsmessage` as part of `replicatesync`. Adds a flag
to control whether the heads message is sent.
Differential Revision:
https://phabricator.services.mozilla.com/D142101
da3a30302b6937ab2059a3292346d0c75b012632: terraform: add hgbundler access rule and ACL for GCS bundle bucket (Bug 1760180)
Connor Sheehan <sheehan@mozilla.com> - Thu, 17 Mar 2022 16:56:39 -0400 - rev 7823
Push
3924 by cosheehan@mozilla.com at Fri, 18 Mar 2022 15:59:25 +0000
terraform: add hgbundler access rule and ACL for GCS bundle bucket (
Bug 1760180)
These rules were overlooked when I added a new GCS bucket for
us-west1 in GCP. Add an admin ACL for the hgbundler user and
an `objectViewer` ACL for `allUsers` to grant public read
access. Rename the generic `hgbundler-*` rules to be specific
to `us-central1`, and update the state via `terrraform state mv`.
4351c386f60d19e6753bf25268ed523aa1fa62db: bundles: add bundles to new `us-west1` GCS bucket (Bug 1749820) r=mhentges
Connor Sheehan <sheehan@mozilla.com> - Wed, 16 Mar 2022 16:16:35 +0000 - rev 7822
Push
3923 by cosheehan@mozilla.com at Wed, 16 Mar 2022 16:18:50 +0000
bundles: add bundles to new `us-west1` GCS bucket (
Bug 1749820) r=mhentges
Adds a new `us-west1` Google cloud storage bucket to Terraform with
the same configuration as the `us-central1` bucket, and adds an
entry to the list of GCS buckets in `generate_hg_s3_bundles.py`
so bundles are added to the new bucket on the next iteration.
Differential Revision:
https://phabricator.services.mozilla.com/D141246
5646efda4b958c92bc9ebf26db79a6f8c7f9c555: Bug 1759755 - Update IPC peers (add :handyman, remove :froydnj). r=sheehan
Jed Davis <jld@mozilla.com> - Tue, 15 Mar 2022 21:45:59 +0000 - rev 7821
Push
3922 by cosheehan@mozilla.com at Tue, 15 Mar 2022 21:48:17 +0000
Bug 1759755 - Update IPC peers (add :handyman, remove :froydnj). r=sheehan
Differential Revision:
https://phabricator.services.mozilla.com/D141152
8ea35ccff251a9483417b4bbd92e863bd0451bb5: pushlog: move db commit and close to different stages of Mercurial transaction (Bug 1735633) r=zeid
Connor Sheehan <sheehan@mozilla.com> - Mon, 14 Mar 2022 14:21:26 +0000 - rev 7820
Push
3921 by cosheehan@mozilla.com at Mon, 14 Mar 2022 14:23:31 +0000
pushlog: move db commit and close to different stages of Mercurial transaction (
Bug 1735633) r=zeid
Moves sqlite `commit` and `close` calls to different Mercurial transaction
hooks. Moving `commmit` to the `finalize` step should cause pushlog database
failures to reject the push without committing the Mercurial transaction.
Interestingly there is a Mercurial extension in the core hg repo that implements
sqlite storage for Mercurial and this extension uses `addfinalize` as the
transaction commit callback.
We also add `rollback` to the `abort` Mercurial transaction step as we
simply close the connection at the moment.
Differential Revision:
https://phabricator.services.mozilla.com/D140157
aae9881e338ab59a00077dc1084a82f0b1502999: testing: remove unused imports in `vcttesting/util.py` (Bug 1757984) r=mhentges
Connor Sheehan <sheehan@mozilla.com> - Mon, 14 Mar 2022 14:00:05 +0000 - rev 7819
Push
3920 by cosheehan@mozilla.com at Mon, 14 Mar 2022 14:02:08 +0000
testing: remove unused imports in `vcttesting/util.py` (
Bug 1757984) r=mhentges
Depends on D140415
Differential Revision:
https://phabricator.services.mozilla.com/D140416
1c06f362183c65917e6d554fd90b6a957402c665: testing: use `-u` Python flag to control output buffering (Bug 1757984) r=mhentges
Connor Sheehan <sheehan@mozilla.com> - Mon, 14 Mar 2022 14:00:05 +0000 - rev 7818
Push
3920 by cosheehan@mozilla.com at Mon, 14 Mar 2022 14:02:08 +0000
testing: use `-u` Python flag to control output buffering (
Bug 1757984) r=mhentges
Depends on D140414
Differential Revision:
https://phabricator.services.mozilla.com/D140415
5409968de1d35e5c15c6fd1b83143a3dd403e9ab: testing: remove Py2 only Mercurials (Bug 1757984) r=mhentges
Connor Sheehan <sheehan@mozilla.com> - Mon, 14 Mar 2022 14:00:05 +0000 - rev 7817
Push
3920 by cosheehan@mozilla.com at Mon, 14 Mar 2022 14:02:08 +0000
testing: remove Py2 only Mercurials (
Bug 1757984) r=mhentges
Depends on D140413
Differential Revision:
https://phabricator.services.mozilla.com/D140414
cda59ec92ae2ba18ccad9bd080c394c619d89f54: py3: remove Py3 compatibility shims where appropriate (Bug 1757984) r=mhentges
Connor Sheehan <sheehan@mozilla.com> - Mon, 14 Mar 2022 14:00:04 +0000 - rev 7816
Push
3920 by cosheehan@mozilla.com at Mon, 14 Mar 2022 14:02:08 +0000
py3: remove Py3 compatibility shims where appropriate (
Bug 1757984) r=mhentges
We can't remove all the Py3 compatibility shims yet, but we can remove shims
for some Py3-only testing code, and any server-only code.
Depends on D140412
Differential Revision:
https://phabricator.services.mozilla.com/D140413