2e47e9307f501e0df7c45496c529f883c5754c50: configwizard: remove unused import of `mercurial.ui`
Connor Sheehan <sheehan@mozilla.com> - Fri, 21 Jan 2022 17:44:47 -0500 - rev 7791
Push 3905 by cosheehan@mozilla.com at Fri, 21 Jan 2022 23:19:53 +0000
configwizard: remove unused import of `mercurial.ui`
f8a8ceecfa0185c39fb237402cba7c669559eded: testing: re-add cinnabar cloning to `test-runner*` image build (Bug 1748903)
Connor Sheehan <sheehan@mozilla.com> - Thu, 20 Jan 2022 10:40:55 -0500 - rev 7790
Push 3904 by cosheehan@mozilla.com at Thu, 20 Jan 2022 16:33:40 +0000
testing: re-add cinnabar cloning to `test-runner*` image build (Bug 1748903) We removed this since we don't need to build the cinnabar helper for testing any more, but we still need the `cinnabarclone.py` file from the repo for some tests.
726b67073b637fe3107552f577955a9d7e7f59fa: ansible/hg-web: update logourl from dead MDN link to Firefox source docs (Bug 1750947)
Connor Sheehan <sheehan@mozilla.com> - Wed, 19 Jan 2022 10:27:42 -0500 - rev 7789
Push 3903 by cosheehan@mozilla.com at Wed, 19 Jan 2022 15:30:36 +0000
ansible/hg-web: update logourl from dead MDN link to Firefox source docs (Bug 1750947)
7d54c862c69e8bb845fba3f4577b28a36575330f: hgmo: deal with API change in mercurial 6.0 r=sheehan
Julien Cristau <jcristau@mozilla.com> - Wed, 19 Jan 2022 15:07:12 +0000 - rev 7788
Push 3902 by cosheehan@mozilla.com at Wed, 19 Jan 2022 15:09:20 +0000
hgmo: deal with API change in mercurial 6.0 r=sheehan mercurial.bookmarks.bmupdatefromremote got a new keyword argument "mode" in https://www.mercurial-scm.org/repo/hg/rev/4d2ab365699e. It looks like with 6.0 we might actually be able to drop the hgmo.replacebookmarks option and replace it with the new "path.*:bookmarks.mode=mirror", but for now let's just not crash. Differential Revision: https://phabricator.services.mozilla.com/D136327
9822fcf4b1178d219b7d7a386dda02a11facf55b: scraper: pass values to `In` as a set instead of individually
Connor Sheehan <sheehan@mozilla.com> - Tue, 18 Jan 2022 11:13:29 -0500 - rev 7787
Push 3901 by cosheehan@mozilla.com at Tue, 18 Jan 2022 16:13:40 +0000
scraper: pass values to `In` as a set instead of individually The function signature is `In(container, msg=None)`, so `ipv4Prefix` is being considered the single value in the container, and `ipv6Prefix` is being mapped to `msg`.
c8bfdccd86193d25635966ea75448ae5c45fbfd6: scraper: use correct prefix object key
Connor Sheehan <sheehan@mozilla.com> - Tue, 18 Jan 2022 11:01:40 -0500 - rev 7786
Push 3900 by cosheehan@mozilla.com at Tue, 18 Jan 2022 16:01:50 +0000
scraper: use correct prefix object key In AWS this is `region`, but for GCP we need to use `scope`.
3b42cf3ac20b8ede97de0beb7113b3e041fb1c45: scraper: switch allowable file sizes for gcp/aws
Connor Sheehan <sheehan@mozilla.com> - Tue, 18 Jan 2022 10:54:13 -0500 - rev 7785
Push 3899 by cosheehan@mozilla.com at Tue, 18 Jan 2022 15:54:23 +0000
scraper: switch allowable file sizes for gcp/aws
d3420fe700a5d214325cf7b2d9c16f85cbe8a5af: scraper: make minimum allowable file size smaller
Connor Sheehan <sheehan@mozilla.com> - Tue, 18 Jan 2022 10:46:37 -0500 - rev 7784
Push 3898 by cosheehan@mozilla.com at Tue, 18 Jan 2022 15:46:50 +0000
scraper: make minimum allowable file size smaller
5de78ee055e4bd407e204c5feef94dd7b0d05ac6: deploy: check return value of `sops` and raise if the command failed (Bug 1750773)
Connor Sheehan <sheehan@mozilla.com> - Tue, 18 Jan 2022 10:37:34 -0500 - rev 7783
Push 3897 by cosheehan@mozilla.com at Tue, 18 Jan 2022 15:38:24 +0000
deploy: check return value of `sops` and raise if the command failed (Bug 1750773) I've noticed that `sops` can fail due to gcloud authentication errors, usually requiring me to login with the application default. When this happens, the deployment should fail instead of continue. Use `check_call` instead of `call` to run `sops` so failures aren't silently ignored.
ec1fbbbf531cb56a0c556785a5fe94c59660adaa: pushlog: add a newline to the exception logging output
Connor Sheehan <sheehan@mozilla.com> - Sat, 15 Jan 2022 12:57:07 -0500 - rev 7782
Push 3896 by cosheehan@mozilla.com at Tue, 18 Jan 2022 15:27:48 +0000
pushlog: add a newline to the exception logging output
ecca42926cacaa5ff31023fdbde9deb1c12b6dce: requirements: bump versions in `requirements-tools-py3.txt` (Bug 1749810) r=mhentges
Connor Sheehan <sheehan@mozilla.com> - Tue, 18 Jan 2022 15:21:33 +0000 - rev 7781
Push 3895 by cosheehan@mozilla.com at Tue, 18 Jan 2022 15:23:54 +0000
requirements: bump versions in `requirements-tools-py3.txt` (Bug 1749810) r=mhentges Depends on D135904 Differential Revision: https://phabricator.services.mozilla.com/D136188
484841ad8174a21bb519022811a706c76bf3d534: clonebundles: parse gcp IP ranges from `cloud.json` instead of DNS (Bug 1749810) r=mhentges
Connor Sheehan <sheehan@mozilla.com> - Tue, 18 Jan 2022 15:21:33 +0000 - rev 7780
Push 3895 by cosheehan@mozilla.com at Tue, 18 Jan 2022 15:23:54 +0000
clonebundles: parse gcp IP ranges from `cloud.json` instead of DNS (Bug 1749810) r=mhentges This commit moves the GCP clonebundles preference code from using DNS and assuming all requests are coming from `us-central1`, to using `cloud.json` and serving a region-specific bundle where appropriate. We remove the recursive DNS query code from the IP scraper and replace it with a copy of the AWS IP scraper function, with GCP specific variables, JSON keys and IP object schema. We change the `hgmo` extensions clonebundle manifest parsing code to read the object as a JSON file conforming to the schema and pass the parsed region value as the filter, instead of the hard-coded `us-central1`. We update the `hgrc` template to reflect the new file being `.json` instead of `.txt`, and replace the old format test file with a sample `cloud.json`. We also update the GCP IP address in `test-clonebundles.t` to an IP within a network in the test file. Since the DNS code has been removed, `dnspython` is removed as a dependency of `requirements-tools-py3`. We add a new `voluptuous` checker to assert all required GCP regions are present in the JSON file. At this time this only includes the existing `us-central1`, with more regions to be added in a separate bug. Differential Revision: https://phabricator.services.mozilla.com/D135904
b9d4895f4dac16a806e55c53992453fed99ea2e7: hooks/format: call `mach` with `python3` directly instead of through `sh` (Bug 1749681) r=firefox-build-system-reviewers,glandium
Connor Sheehan <sheehan@mozilla.com> - Wed, 12 Jan 2022 23:38:27 +0000 - rev 7779
Push 3894 by cosheehan@mozilla.com at Wed, 12 Jan 2022 23:40:34 +0000
hooks/format: call `mach` with `python3` directly instead of through `sh` (Bug 1749681) r=firefox-build-system-reviewers,glandium Previously `mach` was both valid shell and valid Python. After all the recent `mach` work, the need to have `mach` run as a shell script is gone and the hack has been removed, leaving `mach` as a pure-Python script. Nice! We took advantage of this hack when running the commit hook extensions on Windows, though I can't remember exactly why. In any case we can move to calling `mach` via `python3` directly instead of passing through `sh`. Differential Revision: https://phabricator.services.mozilla.com/D135751
afba7cb3772910f2d7a4a96fa0be21521ff06221: hghooks: add tests for wip commit message checker (Bug 1749747)
Connor Sheehan <sheehan@mozilla.com> - Wed, 12 Jan 2022 14:31:48 -0500 - rev 7778
Push 3893 by cosheehan@mozilla.com at Wed, 12 Jan 2022 20:26:50 +0000
hghooks: add tests for wip commit message checker (Bug 1749747)
354aaa43211a4eafa9a13192f10a09d1a7f381f0: Bug 1749747 - Don't allow commit messages starting with WIP. r=sheehan
Tom Schuster <evilpies@gmail.com> - Wed, 12 Jan 2022 20:20:18 +0000 - rev 7777
Push 3892 by cosheehan@mozilla.com at Wed, 12 Jan 2022 20:22:25 +0000
Bug 1749747 - Don't allow commit messages starting with WIP. r=sheehan Differential Revision: https://phabricator.services.mozilla.com/D135712
534f9ee2ff2b9c12df802fb14f0fed7c16dd5b6c: testing: stop installing and building git cinnabar (Bug 1748903)
Connor Sheehan <sheehan@mozilla.com> - Thu, 06 Jan 2022 14:45:24 -0500 - rev 7776
Push 3891 by cosheehan@mozilla.com at Thu, 06 Jan 2022 19:45:36 +0000
testing: stop installing and building git cinnabar (Bug 1748903) The tests which required cinnabar have been removed from v-c-t, so we no longer need to build it as part of our test image.
b74da44d6dab7ec9f4317304fa3c0ab134d399ad: cleanup: remove Vagrant-related files (Bug 1748897)
Connor Sheehan <sheehan@mozilla.com> - Thu, 06 Jan 2022 14:20:06 -0500 - rev 7775
Push 3890 by cosheehan@mozilla.com at Thu, 06 Jan 2022 19:25:43 +0000
cleanup: remove Vagrant-related files (Bug 1748897) This file is unused now and we require Docker to run tests.
fab622940e475fb807da6aa72601d6aba30cfe41: testing: install Mercurial 6.0.1 in test image
Connor Sheehan <sheehan@mozilla.com> - Thu, 06 Jan 2022 14:06:48 -0500 - rev 7774
Push 3889 by cosheehan@mozilla.com at Thu, 06 Jan 2022 19:07:04 +0000
testing: install Mercurial 6.0.1 in test image
69882eb1b7b93f309c61ef122742710f433141ed: Bug 1744838: Remove `ui.interface = text` if curses is available r=sheehan
Mitchell Hentges <mhentges@mozilla.com> - Wed, 05 Jan 2022 15:39:45 +0000 - rev 7773
Push 3888 by cosheehan@mozilla.com at Wed, 05 Jan 2022 15:41:52 +0000
Bug 1744838: Remove `ui.interface = text` if curses is available r=sheehan Also, re-running `configwizard` should set/remove `ui.interface` according to whether `curses` can be imported in the current Python environment. Merges `_checkcurses()` into `_checktweakdefaults()` since `tweakdefaults` enables `ui.interface = curses` itself. Differential Revision: https://phabricator.services.mozilla.com/D135093
e1e937e72fccc595f898e9782026f9f9bba99228: Bug 1744141: Normcase paths in `_checkevolve()` r=sheehan
Mitchell Hentges <mhentges@mozilla.com> - Fri, 03 Dec 2021 16:07:08 +0000 - rev 7772
Push 3887 by cosheehan@mozilla.com at Fri, 03 Dec 2021 16:09:12 +0000
Bug 1744141: Normcase paths in `_checkevolve()` r=sheehan `normpath()` cleans up slash inconsistencies and redundant references, while `normcase()` handles slashes (again) and casing inconsistencies. Differential Revision: https://phabricator.services.mozilla.com/D132744
(0) -3000 -1000 -300 -100 -50 -20 +20 +50 tip