3be27275aa4ddab8d2092aab51f4d255febb9dbf: docs: fix formatting of `sops` command examples default tip @
Connor Sheehan <sheehan@mozilla.com> - Thu, 13 Jun 2019 13:52:12 -0400 - rev 7069
Push 3522 by cosheehan@mozilla.com at Thu, 13 Jun 2019 17:52:22 +0000
docs: fix formatting of `sops` command examples The missing `:` causes Sphinx to improperly format the command line examples.
b53f77f17586070e9896b7390210e0a8eb08edcb: format-source: enable compatibility with Mercurial 5.0 (Bug 1545236) r=andi
Connor Sheehan <sheehan@mozilla.com> - Thu, 13 Jun 2019 14:52:33 +0000 - rev 7068
Push 3521 by cosheehan@mozilla.com at Thu, 13 Jun 2019 15:00:50 +0000
format-source: enable compatibility with Mercurial 5.0 (Bug 1545236) r=andi format-source was never made compatible with Mercurial 5.0, since the extension was disabled on Firefox developer machines. Now that we plan to use the extension for a JavaScript reformat using `prettier`, the extension will need to be compatible with newer versions of Mercurial. In this commit we apply compatibility patches from upstream `format-source`[0] to enable 5.0 compatibility, with some modifications. Rather than perform a stack inspection to check for the correct function signature to use, we look at the version of Mercurial being run and call `cmdutil.add` with the correct signature for each version. We also define a single function with a conditional inside instead of a global conditional with two separate function definitions. -- [0] https://bitbucket.org/octobus/format-source/commits/e526ce24a5e874c2174c5fc6abda7c7163a18e26 Differential Revision: https://phabricator.services.mozilla.com/D34884
6b4c5f3ae71923ceb572b83704a0f41d6158221d: py3: global replace `iteritems()` with `items()` (Bug 1541166) r=lars
Connor Sheehan <sheehan@mozilla.com> - Tue, 11 Jun 2019 14:41:28 +0000 - rev 7067
Push 3520 by cosheehan@mozilla.com at Wed, 12 Jun 2019 14:40:33 +0000
py3: global replace `iteritems()` with `items()` (Bug 1541166) r=lars `iteritems()` doesn't exist in Py3, with `items()` instead returning a generator by default. This commit switches all instances of the old `iteritems` method with `items`. In all cases except one, we were evaluating the full list of items regardless of the generator based function call, and the instance where we were only returned a small number of items, so I don't expect any performance hit here while we are still on Python 2. The same operation has been performed for `iterkeys()` and `keys()`, but only a single instance was found and is included in this commit. There are still some instances of `iteritems` in the repo, in the `third_party` directory of vendored libraries. These will be handled in bug 1557783. Differential Revision: https://phabricator.services.mozilla.com/D34193
3ba369fc91d0e52ef37dc34a4b34f04dac8e88b8: testing: fix tests regressed by 2d01795bd96a
Connor Sheehan <sheehan@mozilla.com> - Mon, 10 Jun 2019 11:24:54 -0400 - rev 7066
Push 3519 by cosheehan@mozilla.com at Mon, 10 Jun 2019 19:30:59 +0000
testing: fix tests regressed by 2d01795bd96a A few tests were not updated with the addition of `cinnabarclone`. This commit fixes them.
af428d1296fc88753277378b40b35e6bd542ff1a: ansible/ius-repo: install from most recent available repo (Bug 1557772) r=glob
Connor Sheehan <sheehan@mozilla.com> - Mon, 10 Jun 2019 05:51:59 +0000 - rev 7065
Push 3518 by cosheehan@mozilla.com at Mon, 10 Jun 2019 14:17:00 +0000
ansible/ius-repo: install from most recent available repo (Bug 1557772) r=glob The outdated IUS repo was identified as the source of the failure in the attached bug. Installing from the latest fixes the docker build issues. Differential Revision: https://phabricator.services.mozilla.com/D34239
2d01795bd96a6dbffafbeeff73c89345e409f51b: Bug 1550183 - Deploy the cinnabarclone extension to the mercurial servers. r=sheehan
Mike Hommey <mh@glandium.org> - Fri, 07 Jun 2019 00:13:48 +0000 - rev 7064
Push 3517 by mh@glandium.org at Fri, 07 Jun 2019 00:14:24 +0000
Bug 1550183 - Deploy the cinnabarclone extension to the mercurial servers. r=sheehan The extension comes from https://github.com/glandium/git-cinnabar/blob/master/mercurial/cinnabarclone.py and has been tested with all mercurial versions from 1.9 to 5.0. Differential Revision: https://phabricator.services.mozilla.com/D30421
8fe882f771b278ec45edb94ed175f023700b875c: ansible: assign aliases to hosts in Ansible inventory
Connor Sheehan <sheehan@mozilla.com> - Thu, 06 Jun 2019 15:13:17 -0400 - rev 7063
Push 3516 by cosheehan@mozilla.com at Thu, 06 Jun 2019 19:13:56 +0000
ansible: assign aliases to hosts in Ansible inventory This will allow us to use Ansible to run commands on specific hosts without using the IP addresses.
25dcf375258b59ff10514dc0ff32847f271079e1: pushlog: send `templateutil.date` to template layer instead of raw hg date data (Bug 1556018) r=lars
Connor Sheehan <sheehan@mozilla.com> - Thu, 06 Jun 2019 15:58:10 +0000 - rev 7062
Push 3515 by cosheehan@mozilla.com at Thu, 06 Jun 2019 16:52:00 +0000
pushlog: send `templateutil.date` to template layer instead of raw hg date data (Bug 1556018) r=lars See the bug description for more details. This commit passes the raw Mercurial date tuple into a `templateutil.date` object. This will enable the correct behaviour when displaying the raw output of `pushdate`, and allow formatting with date template keywords and functions. The `showfmt` keyword argument is taken verbatim from the default `date` template keyword[0]. [0] https://www.mercurial-scm.org/repo/hg-committed/file/bfd65b5e070b/mercurial/templatekw.py#l225 Differential Revision: https://phabricator.services.mozilla.com/D33309
cd14589c85434ad8000aa77ae54cf8f89d286628: ansible/hg-web: upgrade to Mercurial 5.0.1 (Bug 1557070) r=glob
Connor Sheehan <sheehan@mozilla.com> - Thu, 06 Jun 2019 06:14:15 +0000 - rev 7061
Push 3514 by cosheehan@mozilla.com at Thu, 06 Jun 2019 13:27:26 +0000
ansible/hg-web: upgrade to Mercurial 5.0.1 (Bug 1557070) r=glob This commit upgrades Mercurial to 5.0.1 in all virtual environments on hgweb. Depends on D33853 Differential Revision: https://phabricator.services.mozilla.com/D33855
55f71016659ced04fcd3c662b5b359384ded97a2: ansible/hg-ssh: upgrade to Mercurial 5.0.1 (Bug 1557070) r=glob
Connor Sheehan <sheehan@mozilla.com> - Thu, 06 Jun 2019 06:14:13 +0000 - rev 7060
Push 3514 by cosheehan@mozilla.com at Thu, 06 Jun 2019 13:27:26 +0000
ansible/hg-ssh: upgrade to Mercurial 5.0.1 (Bug 1557070) r=glob This commit upgrades Mercurial to 5.0.1 on hgssh in all virtual environments. This commit should be deployed first in the upgrade process. Depends on D33852 Differential Revision: https://phabricator.services.mozilla.com/D33853
541dd5aba62d54a87419e6efa487255a33a30977: testing: upgrade to Mercurial 5.0 in testing and miscellaneous locations (Bug 1557070) r=glob
Connor Sheehan <sheehan@mozilla.com> - Thu, 06 Jun 2019 06:14:11 +0000 - rev 7059
Push 3514 by cosheehan@mozilla.com at Thu, 06 Jun 2019 13:27:26 +0000
testing: upgrade to Mercurial 5.0 in testing and miscellaneous locations (Bug 1557070) r=glob This commit upgrades to Mercurial 5.0 in all locations that do not run on hg.mozilla.org (testing, docs and deploy environments). Depends on D33851 Differential Revision: https://phabricator.services.mozilla.com/D33852
25a0f6ca4c3bcb8c4a930ae6aa2cb5aa2b99e519: hg50: mark many extensions as compatible with Mercurial 5.0 (Bug 1557070) r=glob
Connor Sheehan <sheehan@mozilla.com> - Thu, 06 Jun 2019 06:13:14 +0000 - rev 7058
Push 3514 by cosheehan@mozilla.com at Thu, 06 Jun 2019 13:27:26 +0000
hg50: mark many extensions as compatible with Mercurial 5.0 (Bug 1557070) r=glob No changes needed to get these extensions passing under 5.0. Depends on D33850 Differential Revision: https://phabricator.services.mozilla.com/D33851
4b32cf190f59fb9b7ab02698b859d8d11ca3d1db: hgtemplates: run `test-template-sync.t` against Mercurial 5.0.1 (Bug 1557070) r=glob
Connor Sheehan <sheehan@mozilla.com> - Thu, 06 Jun 2019 06:13:07 +0000 - rev 7057
Push 3514 by cosheehan@mozilla.com at Thu, 06 Jun 2019 13:27:26 +0000
hgtemplates: run `test-template-sync.t` against Mercurial 5.0.1 (Bug 1557070) r=glob This version should always match the version running on hg.mo, which means it needs to be bumped during the upgrade. Running this test should tell us if we have any outstanding template upgrades to perform, and since it passes without issue, we don't need to make any template changes. Depends on D33849 Differential Revision: https://phabricator.services.mozilla.com/D33850
df232910b2131438a7f1ce1eb645b7fc2dfc329a: hghooks: enable test compatibility under Mercurial 5.0 (Bug 1557070) r=glob
Connor Sheehan <sheehan@mozilla.com> - Thu, 06 Jun 2019 06:13:00 +0000 - rev 7056
Push 3514 by cosheehan@mozilla.com at Thu, 06 Jun 2019 13:27:26 +0000
hghooks: enable test compatibility under Mercurial 5.0 (Bug 1557070) r=glob Tests are passing without any changes, with the exception of a single test which fails due to a changed API used by a helper script. This commit updates the helper script to use the new APIs and marks the `hghooks` extension as compatible with 5.0. Depends on D33848 Differential Revision: https://phabricator.services.mozilla.com/D33849
cca19bee710d51785c6f3733df75221d6856f71d: hgmo: mark as compatible with Mercurial 5.0 (Bug 1557070) r=glob
Connor Sheehan <sheehan@mozilla.com> - Thu, 06 Jun 2019 06:12:43 +0000 - rev 7055
Push 3514 by cosheehan@mozilla.com at Thu, 06 Jun 2019 13:27:26 +0000
hgmo: mark as compatible with Mercurial 5.0 (Bug 1557070) r=glob Only a minor test change needed for passing tests. The test in question is related to wire protocol version two, which can arguably be removed anyways. Depends on D33847 Differential Revision: https://phabricator.services.mozilla.com/D33848
465163f8a58a5f24545dc345cab03a3e43ab2022: overlay: rename `copied` keyword argument to `copysource` under 5.0+ (Bug 1557070) r=glob
Connor Sheehan <sheehan@mozilla.com> - Thu, 06 Jun 2019 06:12:26 +0000 - rev 7054
Push 3514 by cosheehan@mozilla.com at Thu, 06 Jun 2019 13:27:26 +0000
overlay: rename `copied` keyword argument to `copysource` under 5.0+ (Bug 1557070) r=glob Also mark as compatible with Mercurial 5.0. Depends on D33846 Differential Revision: https://phabricator.services.mozilla.com/D33847
0461ff7338e8a3a19f093027cd1cd56d4e1e8cd7: pushlog: add new output to `test-pull-obsolete.t` (Bug 1557070) r=glob
Connor Sheehan <sheehan@mozilla.com> - Thu, 06 Jun 2019 06:12:14 +0000 - rev 7053
Push 3514 by cosheehan@mozilla.com at Thu, 06 Jun 2019 13:27:26 +0000
pushlog: add new output to `test-pull-obsolete.t` (Bug 1557070) r=glob Also mark as compatible with Mercurial 5.0 Differential Revision: https://phabricator.services.mozilla.com/D33846
06c086758a987744678268a101627b1e3f39dbf7: hgext: remove `wireprotocache` extension (Bug 1557143) r=glob
Connor Sheehan <sheehan@mozilla.com> - Thu, 06 Jun 2019 03:43:20 +0000 - rev 7052
Push 3513 by cosheehan@mozilla.com at Thu, 06 Jun 2019 13:26:21 +0000
hgext: remove `wireprotocache` extension (Bug 1557143) r=glob This extension was to be used as a caching module for wire protocol version two command responses, in a similar fashion to the caching layer used in front of remotefilelog. With the wire protocol work on hold indefinitely, we can remove this half-completed extension. Differential Revision: https://phabricator.services.mozilla.com/D33864
b03eb039bfcc0b3ca314259085ea1e6284147f75: pushlog: fix tests regressed by 8edc6d00a988
Connor Sheehan <sheehan@mozilla.com> - Wed, 05 Jun 2019 17:43:28 -0400 - rev 7051
Push 3512 by cosheehan@mozilla.com at Wed, 05 Jun 2019 21:52:17 +0000
pushlog: fix tests regressed by 8edc6d00a988 Simply adds the new CSS classes to the test output, and adds a new patch file to the `hgtemplates/.patches` directory.
66ab2b86fdc2750d921bd11c24fab5892f5eeceb: testing: upgrade to Mercurial 5.0.1 in testing (Bug 1557070)
Connor Sheehan <sheehan@mozilla.com> - Wed, 05 Jun 2019 11:33:45 -0400 - rev 7050
Push 3511 by cosheehan@mozilla.com at Wed, 05 Jun 2019 15:34:12 +0000
testing: upgrade to Mercurial 5.0.1 in testing (Bug 1557070)
(0) -3000 -1000 -300 -100 -50 -20 tip