Dorel Luca
1ff59cb7a3
Backed out changeset 7558c8821a07 (bug 1654103) for multiple failures. CLOSED TREE
2020-10-22 03:51:06 +03:00
Dorel Luca
26941cf2f5
Backed out changeset 94ec15429e21 (bug 1672023) for Backout conflicts with Bug 1654103. CLOSED TREE
2020-10-22 03:43:01 +03:00
Ricky Stewart
8b352f1843
Bug 1672023 - Remove excluded files from `black.yml` r=sylvestre,perftest-reviewers,geckoview-reviewers,agi
...
These files were omitted from the original patch because reformatting them required some manual intervention in order to avoid breaking unit tests. Generally the `noqa` lines were already there and just needed to be moved from one line to another (due to the reformatting by `black`), but sometimes `black` saw fit to move a bunch of stuff all onto one line, requiring me to introduce new `noqa` lines.
Besides the autoformat by `black` and some manual fixups, this patch contains no other changes.
# ignore-this-changeset
Differential Revision: https://phabricator.services.mozilla.com/D94052
2020-10-21 21:29:30 +00:00
Ricky Stewart
50762dacab
Bug 1654103: Standardize on Black for Python code in `mozilla-central`. r=remote-protocol-reviewers,marionette-reviewers,webdriver-reviewers,perftest-reviewers,devtools-backward-compat-reviewers,jgilbert,preferences-reviewers,sylvestre,maja_zf,webcompat-reviewers,denschub,ntim,whimboo,sparky
...
Allow-list all Python code in tree for use with the black linter, and re-format all code in-tree accordingly.
To produce this patch I did all of the following:
1. Make changes to tools/lint/black.yml to remove include: stanza and update list of source extensions.
2. Run ./mach lint --linter black --fix
3. Make some ad-hoc manual updates to python/mozbuild/mozbuild/test/configure/test_configure.py -- it has some hard-coded line numbers that the reformat breaks.
4. Add a set of exclusions to black.yml. These will be deleted in a follow-up bug (1672023).
# ignore-this-changeset
Differential Revision: https://phabricator.services.mozilla.com/D94045
2020-10-21 21:27:27 +00:00
Tom Prince
204d796929
Bug 1651731: [lint] Python and shell files without `#!` should not be executable; r=linter-reviewers,perftest-reviewers,geckoview-reviewers,agi,sylvestre,sparky
...
Differential Revision: https://phabricator.services.mozilla.com/D82954
2020-07-09 20:29:18 +00:00
Simon Fraser
e75d5918a7
Bug 1392914 Remove updatev2.manifest r=mhowell
...
I've left the mention of updatev2.manifest in list_files and list_dirs for now, similar to how v1 has been left.
Differential Revision: https://phabricator.services.mozilla.com/D80011
2020-06-18 07:42:21 +00:00
Chris AtLee
212d6bc5f7
Bug 1643810: Use -T1 -7e for update generation r=sfraser
...
Differential Revision: https://phabricator.services.mozilla.com/D78808
2020-06-16 13:58:47 +00:00
Simon Fraser
65cbd9e05b
Bug 1643625 Clear up references to MAR_OLD_FORMAT in packaging tools r=nthomas
...
I think we don't need these checks any more.
Differential Revision: https://phabricator.services.mozilla.com/D78480
2020-06-11 22:23:10 +00:00
Razvan Maries
ef73a88351
Backed out changeset 37a5223eda5f (bug 1643625) for Rpk bustages. CLOSED TREE
2020-06-09 18:30:01 +03:00
Simon Fraser
1422db5e20
Bug 1643625 Clear up references to MAR_OLD_FORMAT in packaging tools r=nthomas
...
I think we don't need these checks any more.
Differential Revision: https://phabricator.services.mozilla.com/D78480
2020-06-09 11:53:26 +00:00
Adam Gashlin
e34730166a
Bug 1643188 - Require MOZ_PRODUCT_VERSION and MAR_CHANNEL_ID for update scripts. r=sfraser
...
Differential Revision: https://phabricator.services.mozilla.com/D78209
2020-06-05 08:58:53 +00:00
Adam Gashlin
c0a419ebb4
Bug 1643211 - Don't use BCJ on patches. r=sfraser
...
Differential Revision: https://phabricator.services.mozilla.com/D78213
2020-06-07 23:15:45 +00:00
Mark Smith
9b6b44fb8b
Bug 1641329 - Add -q option to MAR generation scripts r=nthomas
...
Differential Revision: https://phabricator.services.mozilla.com/D77138
2020-05-29 13:18:46 +00:00
Simon Fraser
7223242d99
Bug 1635321 update-packaging race condition fixes r=nthomas
...
conflicts with D75072, we should choose which we prefer based on bash version availability
Differential Revision: https://phabricator.services.mozilla.com/D75285
2020-05-15 03:22:08 +00:00
Simon Fraser
815925ab00
Bug 1632531 - Ensure unique working directory for parallel use. r=mtabara
...
Bug 1632531 Refactor funsize/partials to remove unused code, add safer checks
Differential Revision: https://phabricator.services.mozilla.com/D72162
2020-04-23 21:37:44 +00:00
Masatoshi Kimura
7276b36871
Bug 1590693 - Unship empty chrome.manifest files. r=glandium
...
Bug 1295542 added empty chrome.manifest files to prevent malware from abusing
them. This workaround is no longer necessary because Firefox stopped reading
chrome.manifest outside omni.ja since bug 1543761.
Differential Revision: https://phabricator.services.mozilla.com/D55954
--HG--
extra : moz-landing-system : lando
2019-12-12 11:13:42 +00:00
Nick Thomas
dfd9f2dd17
Bug 1578497 - Overwrite notarization ticket on each partial update instead of patching, so pkgs can be updated, r=bhearsum
...
Differential Revision: https://phabricator.services.mozilla.com/D47576
--HG--
extra : moz-landing-system : lando
2019-10-01 02:42:10 +00:00
Chris AtLee
4a7ce514be
Bug 1540276: Migrate authenticode signing to autograph r=Callek,mshal
...
Differential Revision: https://phabricator.services.mozilla.com/D47114
--HG--
extra : moz-landing-system : lando
2019-09-30 13:57:32 +00:00
Tom Prince
0cd3337d90
Bug 1458385: Package mar and mbsdiff as a toolchain; r=glandium
...
Differential Revision: https://phabricator.services.mozilla.com/D24229
--HG--
extra : moz-landing-system : lando
2019-07-11 16:40:13 +00:00
Tom Prince
2208f1c2cf
Bug 1458385: Generate MARs with the appropriate channel-id explicitly; r=nthomas
...
Rather than relying on the mar-channel-id set in the `mar` binary, set the channel
explicitly from taskcluster. This allows us to re-use the `mar` binary between
builds/channels.
Differential Revision: https://phabricator.services.mozilla.com/D37481
--HG--
extra : moz-landing-system : lando
2019-07-11 16:40:13 +00:00
Daniel Varga
6d6f6dadce
Backed out 4 changesets (bug 1458385) for nightly updates fail. a=backout
...
Backed out changeset 09338587b68e (bug 1458385)
Backed out changeset f7791b680d46 (bug 1458385)
Backed out changeset cc06a7beb3d1 (bug 1458385)
Backed out changeset 3b10487587c3 (bug 1458385)
2019-04-10 21:09:46 +03:00
Tom Prince
b4e1868e59
Bug 1458385: Package mar and mbsdiff as a toolchain; r=glandium
...
Differential Revision: https://phabricator.services.mozilla.com/D24229
--HG--
extra : moz-landing-system : lando
2019-04-06 05:49:31 +00:00
Oana Pop Rus
d9ec36d04f
Backed out 3 changesets (bug 1458385) for windows partial bustages. a=backout
...
Backed out changeset 8036c03c3b51 (bug 1458385)
Backed out changeset 99fa5539c2bd (bug 1458385)
Backed out changeset 9a5f255979c2 (bug 1458385)
2019-03-28 15:13:13 +02:00
Tom Prince
fbb8603385
Bug 1458385: Package mar and mbsdiff as a toolchain; r=glandium
...
Differential Revision: https://phabricator.services.mozilla.com/D24229
--HG--
extra : moz-landing-system : lando
2019-03-27 22:30:44 +00:00
Chris Manchester
3d131be6a9
Bug 1507631 - Remove mentions of MOZ_SIGN_CMD from the build system. r=nalexander
...
Differential Revision: https://phabricator.services.mozilla.com/D16754
--HG--
extra : moz-landing-system : lando
2019-01-16 22:46:38 +00:00
Tom Prince
afa141b26c
Bug 1514124: [win64-aarch64] Pass the architecture to mar generation, so that it can pass the appropriate arch flag to xz; r=aki,Callek
...
XZ supports rewritting addresses in executable code, which is architechture
specific. The updater is compiled with support for the target architecture
only, so we can't always compress updates passing `--x86` to XZ. This threads
the architecture through to the repackage steps, so we can pass the appropraite
flags to the update packaging scripts.
Differential Revision: https://phabricator.services.mozilla.com/D14601
--HG--
extra : moz-landing-system : lando
2018-12-17 21:45:09 +00:00
Tom Prince
4db579141b
Backed out 3 changesets (bug 1439860
, bug 1441867, bug 1446110) for breaking update packaging for thunderbird.
...
Backed out changeset 4d434313555a (bug 1446110)
Backed out changeset 0476c309909b (bug 1441867)
Backed out changeset 40237ca354be (bug 1439860
)
--HG--
extra : rebase_source : 3c67b6e3af0589eae97784227c05b9e2ca9b6994
2018-04-05 13:48:38 -06:00
Bogdan Tara
4785e99532
Merge inbound to mozilla-central. a=merge
2018-03-17 12:29:57 +02:00
Sylvestre Ledru
b5f9522581
Bug 1438839 - Finish the flake8 fixes on tools/ r=ahal
...
MozReview-Commit-ID: F9c4laxe8Pt
--HG--
extra : rebase_source : ed304bcf485a448e863b9bbc82427ae5a88ea2c2
extra : histedit_source : 2c8e0beefee259fe7a31e0436e7a94519a3e05ae
2018-03-15 11:31:12 +01:00
Sylvestre Ledru
a0ab39f145
Bug 1438839 - Fix the remaining flake8 issues by hand r=ahal
...
MozReview-Commit-ID: Fv1MZIpCL8Z
--HG--
extra : rebase_source : 804567a78a5696997e2aa511814a4f8ff22d9c31
extra : histedit_source : 88401e831d81708b6ed6122666ba9fa8c1de23d5
2018-03-15 11:34:03 +01:00
Sylvestre Ledru
ef5ad1811f
Bug 1438839 - autopep8 -i --max-line-length 99 on the tools/ r=ahal
...
MozReview-Commit-ID: KSKbctxjxl0
--HG--
extra : rebase_source : feebd58ff005750face884035f85a55e0ff638c8
extra : histedit_source : 5d7464caeb41bad25bc99d3b2e32ea5285464499
2018-03-15 11:32:42 +01:00
Tom Prince
3267308b01
Bug 1446110: [update-packaging] Specify prefix for temporary files; r=bhearsum
...
Thunderbird is currently still building on macOS, where `mktemp` requires an
argument.
MozReview-Commit-ID: DCoZAYA6tTI
--HG--
extra : rebase_source : 48775eba4f934fd244a74da615bc7754370b504e
2018-03-15 14:10:59 -06:00
Simon Fraser
197753c5ed
Bug 1441867 Fix stat call for udpate packaging r=bhearsum
...
MozReview-Commit-ID: LNRHy5fzVsQ
--HG--
extra : rebase_source : 5d9896707cd648a4785bca7b898984907d17e892
2018-02-28 15:37:08 +00:00
Julien Cristau
4bd4017197
Bug 1441484 - fix error handling in make_incremental_updates. r=bhearsum
...
MozReview-Commit-ID: 4jpZqMW0yYX
--HG--
extra : rebase_source : 60963d642b37a127510e6d9dfad5bd556fc5d3b0
2018-02-27 10:36:15 +01:00
Simon Fraser
b2f9f6fd8b
Bug 1439860
update-packaging linting fixes and shell style updates r=bhearsum
...
MozReview-Commit-ID: 2vMbmonkVwD
--HG--
extra : rebase_source : 05e49e5c3013c0dd726c93f5e48e1b81879b97a9
2018-02-21 11:54:21 +00:00
Sylvestre Ledru
c9e386cafc
Bug 1438790 - Remove dead code generatesnippet.py r=Callek
...
MozReview-Commit-ID: D7lJJbMl8cV
--HG--
extra : rebase_source : 6730cd077cf1134767c5e2d706fb8b5ef6649955
2018-02-16 11:24:49 +01:00
Narcis Beleuzu
49a6cb8875
Backed out 3 changesets (bug 1438839) for linting failure on split-profile.py. CLOSED TREE
...
Backed out changeset 41c11bf05828 (bug 1438839)
Backed out changeset 40fda8b55cf9 (bug 1438839)
Backed out changeset 37a3c981a785 (bug 1438839)
2018-03-13 10:10:16 +02:00
Sylvestre Ledru
482b8f35cc
Bug 1438839 - Fix the remaining flake8 issues by hand r=ahal
...
MozReview-Commit-ID: Fv1MZIpCL8Z
--HG--
extra : rebase_source : ba62df5928d7d882d135c7d51c4b4175c483fd0a
2018-02-27 14:04:50 +01:00
Sylvestre Ledru
a5176f006e
Bug 1438839 - autopep8 -i --max-line-length 99 on the tools/ r=ahal
...
MozReview-Commit-ID: KSKbctxjxl0
--HG--
extra : rebase_source : ddce23f3e728e29aab4dbccd616ca8e9f31c0817
2018-02-26 23:29:32 +01:00
Sylvestre Ledru
84f063bdfa
Bug 1424294 - Also manage spaces in filename in tools/update-packaging/common.sh r=bhearsum
...
MozReview-Commit-ID: 4hrr59gEeEM
--HG--
extra : rebase_source : de4731a04f794757a06cd782f85ab9993a7206a2
2017-12-08 15:21:07 +01:00
Sylvestre Ledru
06be3310e3
Bug 1407285 - Support spaces in MOZ_MACBUNDLE_NAME and in various Makefile and tools r=glandium
...
MozReview-Commit-ID: Eda1qiPCTJ0
--HG--
extra : rebase_source : 1766fd1c1b78244161efce0b6db8b58dd2ec2009
2017-11-28 23:21:54 +01:00
Sebastian Hengst
8faace1526
Backed out changeset 9fff8b2fcf78 (bug 1407285) for L10n bustage. r=backout a=backout
2017-12-05 01:28:11 +02:00
Sylvestre Ledru
250a624c2a
Bug 1407285 - Support spaces in MOZ_MACBUNDLE_NAME and in various Makefile and tools r=glandium
...
MozReview-Commit-ID: Eda1qiPCTJ0
--HG--
extra : rebase_source : c85c5e8bfb5a0f0dc673ea0b6fce1ac1162d9497
2017-11-28 23:21:54 +01:00
Axel Hecht
fcebba4388
bug 1385227, generate full update from l10n-stage directly, r=rail
...
For regular builds, we build the mar from an unpackaged exe on windows.
For repacks, we just built that from our l10n-stage directory,
don't unpack again.
MozReview-Commit-ID: 8gQ9G23RgzB
--HG--
extra : rebase_source : b3eb944a0cf423a4b0e22d8884fc90780a3bb109
extra : source : 84091f931dff9e1253b0cfa96b4197255a94ddb2
2017-08-22 15:27:51 +02:00
Tom Prince
d360c9785d
Bug 1410769: Use SHA-1 signing when MAR_OLD_FORMAT is set; r=nalexander,rstrong
...
MozReview-Commit-ID: DFjcozLqskI
--HG--
extra : rebase_source : c23b6578552c65dea6a4b3b7184e683702117a6f
extra : source : d021fb9c48dc615e5cc621f8f27181e2e5e63243
2017-10-22 21:46:41 -06:00
Tom Prince
106f7e2a00
Bug 1405068: Don't use Cwd::abs_path in unwrap_full_update.pl. r=bhearsum
...
It is broken on the version of perl on the legacy buildbots, which is the only
place that this branch of the code runs.
MozReview-Commit-ID: 1Urw6mNOEHf
--HG--
extra : rebase_source : d599484b0f2062b7e3178e761c80b620624852a3
2017-10-02 12:25:05 -06:00
Tom Prince
031841670d
Bug 1405068: Don't use a shell for running subcommands in unwrap_full_update.pl. r=bhearsum
...
MozReview-Commit-ID: JDhndUIhOT1
--HG--
extra : rebase_source : 5e072046f53127c04ee60292247139c2e1c0ac19
2017-10-02 12:21:55 -06:00
Tom Prince
bed30dcd29
Bug 1405068: Look for xz.exe at the root of a checkout when making incremental updates. r=bhearsum
...
MozReview-Commit-ID: 8R5kY8cntMc
--HG--
extra : rebase_source : fbe8d80519a8d46fea989bdefb7b2b1436a1a5f5
2017-10-02 11:59:36 -06:00
Axel Hecht
4383c6ecf6
Backout revision e95f8bd7b519 and 84091f931dff (bug 1385227) for breaking Beta release automation.
...
--HG--
extra : rebase_source : 512c7603f1c600d9cd4ba4b17007ee9a9480e365
extra : histedit_source : be31be1ade27d0df5a25badc2def1a59f2a9c2fd%2Ca0db2bfd6e59dab72fb8c58063ea7592cfeb430e
2017-09-16 11:04:13 +02:00
Axel Hecht
0951bf52a9
bug 1385227, generate full update from l10n-stage directly, r=rail
...
For regular builds, we build the mar from an unpackaged exe on windows.
For repacks, we just built that from our l10n-stage directory,
don't unpack again.
MozReview-Commit-ID: 8gQ9G23RgzB
--HG--
extra : rebase_source : 3d9289cee054737c136b304682563d59aeaecb6a
2017-08-22 15:27:51 +02:00