Граф коммитов

194 Коммитов

Автор SHA1 Сообщение Дата
Robin Steuber dbd6c96f18 Bug 1848414 - On update, don't overwrite existing ChannelPrefs or UpdateSettings Frameworks r=bhearsum,nalexander
Differential Revision: https://phabricator.services.mozilla.com/D198898
2024-02-21 18:50:35 +00:00
Logan Rosen 141305b4e4 Bug 1677775 - reformat .mozbuild files with Black r=linter-reviewers,geckoview-reviewers,firefox-build-system-reviewers,ahal,glandium,owlish,sylvestre
#ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D193007
2023-12-08 04:26:45 +00:00
Julien Cristau 40e11b8360 Bug 1837939 - update-packaging: quote filenames that can contain spaces. r=releng-reviewers,bhearsum DONTBUILD
Bug 1837329 added a new "Media Plugin Helper" that caused errors in repack logs
(though as far as I can tell had no effect on the mar files themselves).

Differential Revision: https://phabricator.services.mozilla.com/D180669
2023-06-12 13:14:53 +00:00
Julien Cristau ae9dd1db3c Backed out changeset a4d8b4c3d321 (bug 1804303) as it is no longer necessary. r=bhearsum DONTBUILD
We needed one nightly build that updates channel-prefs.js.  Now that
it's done, and a watershed is in place, we can restore mar file
generation to its normal logic.

Differential Revision: https://phabricator.services.mozilla.com/D167036
2023-01-17 15:40:12 +00:00
Julien Cristau c8b15ed4a6 Bug 1804303 - force update to channel-prefs.js on mac. r=bhearsum DONTBUILD
The channel-prefs.js file is normally excluded from updates, both so QA
can edit it for testing, and to enable shipping release candidates to
the beta channel.  However, that means any change to the file contents
we ship risk invalidating the package's signature for users with
preexisting installs.  Such a change happened in bug 1576546, so we're
now forcing an update to the file on macOS to make sure users get the
current, correctly signed, contents.

Differential Revision: https://phabricator.services.mozilla.com/D166190
2023-01-16 09:39:56 +00:00
Nick Alexander dc28c12fdd Bug 1744325 - Remove outdated `update-packaging` cruft. r=bhearsum,firefox-build-system-reviewers,glandium
None of this is used now that `funsize` generates update MARs.  It
might have even been possible to remove this in Bug 1173459, years
ago.

Differential Revision: https://phabricator.services.mozilla.com/D132836
2021-12-10 17:31:08 +00:00
Simon Fraser 08f4bf1a3b Bug 1643195 Remove nonfunctional make_incremental_updates.py r=aki
Differential Revision: https://phabricator.services.mozilla.com/D78710
2021-02-17 21:43:39 +00:00
Ricky Stewart 210585edd2 Bug 1672023 - Remove excluded files from `black.yml`
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

Depends on D94045
2020-10-26 18:21:44 +00:00
Ricky Stewart 02a7b4ebdf Bug 1654103: Standardize on Black for Python code in `mozilla-central`.
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. Make some ad-hoc manual updates to `testing/marionette/client/setup.py`, `testing/marionette/harness/setup.py`, and `testing/firefox-ui/harness/setup.py`, which have hard-coded regexes that break after the reformat.

5. 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-26 18:34:53 +00:00
Bogdan Tara da1098d4aa Backed out 10 changesets (bug 1654103, bug 1672023, bug 1518999) for PanZoomControllerTest.touchEventForResult gv-junit failures CLOSED TREE
Backed out changeset ff3fb0b4a512 (bug 1672023)
Backed out changeset e7834b600201 (bug 1654103)
Backed out changeset 807893ca8069 (bug 1518999)
Backed out changeset 13e6b92440e9 (bug 1518999)
Backed out changeset 8b2ac5a6c98a (bug 1518999)
Backed out changeset 575748295752 (bug 1518999)
Backed out changeset 65f07ce7b39b (bug 1518999)
Backed out changeset 4bb80556158d (bug 1518999)
Backed out changeset 8ac8461d7bd7 (bug 1518999)
Backed out changeset e8ba13ee17f5 (bug 1518999)
2020-10-24 03:36:18 +03:00
Ricky Stewart fe80718d67 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-23 20:40:44 +00:00
Ricky Stewart c0cea3b0fa 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. Make some ad-hoc manual updates to `testing/marionette/client/setup.py`, `testing/marionette/harness/setup.py`, and `testing/firefox-ui/harness/setup.py`, which have hard-coded regexes that break after the reformat.

5. 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-23 20:40:42 +00:00
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