Commit graph

98 commits

Author SHA1 Message Date
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
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
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
da997b746b Bug 1649356: [taskgraph] Don't have unused depname key in release transforms; r=Callek
We don't ever set `depname` in any of the kinds that use these transforms.
Since we don't apply default values in schemas, `Required(..., default=...)`
behaves equivalently to `Optional(...)`, so we can just remove these options.

Differential Revision: https://phabricator.services.mozilla.com/D81654
2020-06-30 14:08:27 +00:00
Justin Wood
6c368aa658 Bug 1617481 - Remove most of nightly attribute from taskcluster/taskgraph. r=aki
We leave the nightly index in place for now in order to support Geckodriver until Bug 1577110 sticks.

Differential Revision: https://phabricator.services.mozilla.com/D74510
2020-05-21 16:31:04 +00:00
Narcis Beleuzu
da52584dcb Backed out 13 changesets (bug 1636637, bug 1623355, bug 1636635, bug 1617481) buid signing failures. CLOSED TREE
Backed out changeset 1b340fa71d16 (bug 1617481)
Backed out changeset 607d65d6e48a (bug 1617481)
Backed out changeset d3b4ed0caa09 (bug 1636637)
Backed out changeset bff6ecc8bb12 (bug 1636637)
Backed out changeset 12774c2e7cfc (bug 1636635)
Backed out changeset f94e3f8179a5 (bug 1623355)
Backed out changeset 001eb6623a75 (bug 1623355)
Backed out changeset 87331010321a (bug 1623355)
Backed out changeset fd76f6bc0797 (bug 1623355)
Backed out changeset b4ffd5ccbfc7 (bug 1623355)
Backed out changeset 888df247ba6e (bug 1623355)
Backed out changeset dc3076515342 (bug 1623355)
Backed out changeset de5f01ae37fa (bug 1623355)
2020-05-18 21:37:31 +03:00
Justin Wood
00c6b05b37 Bug 1617481 - Remove most of nightly attribute from taskcluster/taskgraph. r=aki
We leave the nightly index in place for now in order to support Geckodriver until Bug 1577110 sticks.

Differential Revision: https://phabricator.services.mozilla.com/D74510
2020-05-18 14:41:58 +00:00
Tom Prince
c697547b5f Bug 1605275: [taskgraph] Use worker aliases for beetmover and balrog workers; r=Callek
Differential Revision: https://phabricator.services.mozilla.com/D60780

--HG--
extra : moz-landing-system : lando
2020-01-23 16:54:13 +00:00
Ricky Stewart
0fa8a98bdb Bug 1524639: [taskgraph] Enforce unicode strings in schemas r=tomprince
Differential Revision: https://phabricator.services.mozilla.com/D18376

--HG--
extra : moz-landing-system : lando
2020-01-21 17:12:08 +00:00
Razvan Maries
ffc90b2ec8 Backed out changeset a57aed49dc58 (bug 1524639) for beetmover bustages. a=backout 2020-01-16 14:04:31 +02:00
Ricky Stewart
fecc988cc6 Bug 1524639: [taskgraph] Enforce unicode strings in schemas r=tomprince
Differential Revision: https://phabricator.services.mozilla.com/D18376

--HG--
extra : moz-landing-system : lando
2020-01-15 20:33:20 +00:00
Mihai Tabara
cfc233eac3 Bug 1537713 - switch Devedition to declarative artifacts.r=sfraser a=release
Switch Devedition to declarative artifacts

Differential Revision: https://phabricator.services.mozilla.com/D45259

--HG--
extra : moz-landing-system : lando
2019-09-11 15:46:14 +00:00
Johan Lorenzo
dc2a0a1019 Bug 1551738: Let should_use_artifact_map() not depend on the project anymore r=tomprince
Differential Revision: https://phabricator.services.mozilla.com/D31492

--HG--
extra : moz-landing-system : lando
2019-05-20 01:32:38 +00:00
Justin Wood
2bd8f5efb5 Bug 1540132 - Fix updates by telling release properties to ignore the '-shippable' suffix. r=tomprince a=ccoroiu
Reviewers: tomprince

Reviewed By: tomprince

Bug #: 1540132

Differential Revision: https://phabricator.services.mozilla.com/D25397

--HG--
extra : histedit_source : 35d49695513c2440e4e12acf3305d3a74ddbe1a7
2019-03-29 17:34:17 +02:00
Johan Lorenzo
b45f3de16a Bug 1450019 - Upload snap to archive.m.o r=mtabara
Upload snap to archive.m.o

Differential Revision: https://phabricator.services.mozilla.com/D24209

--HG--
extra : moz-landing-system : lando
2019-03-27 08:17:17 +00:00
Andreea Pavel
b305d1e13b Backed out changeset 2609a881de00 (bug 1450019) for failing gecko decision task on a CLOSED TREE 2019-03-27 08:59:55 +02:00
Johan Lorenzo
83c01531d3 Bug 1450019 - Upload snap to archive.m.o r=mtabara
Upload snap to archive.m.o

Differential Revision: https://phabricator.services.mozilla.com/D24209

--HG--
extra : moz-landing-system : lando
2019-03-27 06:42:10 +00:00
Mihai Tabara
d161f56fd0 Bug 1527206 - roll-out declarative artifacts for Fennec beta and release. r=sfraser a=release 2019-03-18 13:25:16 +00:00
Tom Prince
606dad6b9c Bug 1524639: [taksgraph] Simplify dependency creation in single_dep transforms; r=aki
Differential Revision: https://phabricator.services.mozilla.com/D18747

--HG--
extra : moz-landing-system : lando
2019-02-05 23:21:39 +00:00
Tom Prince
ff1ba692a9 Bug 1524639: [taskgraph] Add a helper to Schema to allow referencing downstream schema entries; r=dustin
Differential Revision: https://phabricator.services.mozilla.com/D18377

--HG--
extra : moz-landing-system : lando
2019-02-04 22:42:00 +00:00
David Major
aba5821724 Bug 1512822 - Remove "MSVC" from the name of AArch64 builds r=tomprince
Differential Revision: https://phabricator.services.mozilla.com/D17024

--HG--
extra : moz-landing-system : lando
2019-01-24 15:02:06 +00:00
Justin Wood
720b949436 Bug 1485861 - Define many treeherder symbols based on the parent task. r=aki
This changes a bunch of symbols, notably:
* Group name BMR-L10n(*) ==> BMR(*)
* Group name BM-L10n(*) ==> BM(*)
* Groups the BMR symbol itself for en-US Nightly [so BMR ==> BMR(N)]
* Groups the BM symbol itself for en-US Nightly [so BM ==> BM(N)]
* Changes Source Signing fron symbol Bs to Srcs
* Groups Source signing beetmoving as BM(Srcs) instead of symbol BM-S
* Balrog complete update submission changes from c-Up(N) to c-Up(Ns) [Fennec Only]
* Beetmover en-US changes from symbol BM-S to BM(Ns) [used in Fennec]
* Beetmover Checksums (en-US) changes from BMcs(N) => BMcs(Ns) [fennec]
* Checksums signing (en-US, fennec) changes from cs(N) => cs(Ns)
* [Asan] Balrog changed [c-UP(N) ==> c-UP(BoR)]
* [Asan] signing changed from Ns to BoRs
* [Asan] checksums signing changed from cs(N) to cs(BoR)
* [Asan] Change generated source uploading from Ugs ==> UgsBoR

Differential Revision: https://phabricator.services.mozilla.com/D4178

--HG--
extra : moz-landing-system : lando
2019-01-02 21:53:25 +00:00
Dustin J. Mitchell
536dc55522 Bug 1492664 - add {artifact-reference: ..}; r=tomprince
This provides an easy way to encode an artifact URL in static data such as
taskcluster/ci/nightly-l10n/kind.yml, without knowing in advance the format of
the URL.

--HG--
extra : rebase_source : 5b5229d96aad2916b1b3c8e72045c1d461fc1c02
extra : source : 9c35dd209c6b407bc3a45ce7b4c27272ef1bb486
2018-09-25 20:26:55 +00:00
Sebastian Hengst
767c971623 Backed out 21 changesets (bug 1492664) for breaking cron task for nightlies. a=backout
Backed out changeset a7d50dbb2c8e (bug 1492664)
Backed out changeset 2d876c4ece8b (bug 1492664)
Backed out changeset c82285d253de (bug 1492664)
Backed out changeset bf6d089640eb (bug 1492664)
Backed out changeset d9a7f2ce49c3 (bug 1492664)
Backed out changeset 06c466ab4323 (bug 1492664)
Backed out changeset c1ea4a10cc8d (bug 1492664)
Backed out changeset 4c63a04fdd47 (bug 1492664)
Backed out changeset 742b038bb1dd (bug 1492664)
Backed out changeset 911b4b0fb683 (bug 1492664)
Backed out changeset 870c8cec99e5 (bug 1492664)
Backed out changeset 77699b51336b (bug 1492664)
Backed out changeset 29f33f22fd8b (bug 1492664)
Backed out changeset e7f305408708 (bug 1492664)
Backed out changeset 335a92b1f424 (bug 1492664)
Backed out changeset c566f1c8dcdf (bug 1492664)
Backed out changeset c77ae59aba41 (bug 1492664)
Backed out changeset 9c35dd209c6b (bug 1492664)
Backed out changeset a972d6b4434e (bug 1492664)
Backed out changeset 5ea6f03f845e (bug 1492664)
Backed out changeset 0699d3873e44 (bug 1492664)

--HG--
extra : histedit_source : 5cb1f7e50f25d4a875c1a58c86b7dce902e1a89c%2C20f1ab1a843b612cfcc67cf5c6ff745d65abf076
2018-12-20 12:43:22 +02:00
Razvan Maries
f658ebcbab Merge mozilla-inbound to mozilla-central a=merge 2018-12-20 07:04:06 +02:00
Tom Prince
243a40c5b1 Bug 1514407: [win64-aarch64] Add windows aarch64 nightly builds; r=aki
Differential Revision: https://phabricator.services.mozilla.com/D14659

--HG--
extra : moz-landing-system : lando
2018-12-17 21:17:35 +00:00
Margareta Eliza Balazs
2e5e28f518 Backed out 16 changesets (bug 1492664) for breaking developer artifact builds, requested by standard8 a=backout
Backed out changeset 31e500489665 (bug 1492664)
Backed out changeset f4945658d45f (bug 1492664)
Backed out changeset 6d17291b8b92 (bug 1492664)
Backed out changeset 90f3faa36137 (bug 1492664)
Backed out changeset 0b229b00818a (bug 1492664)
Backed out changeset 5eb2c77d70a9 (bug 1492664)
Backed out changeset e1ebad5d89c5 (bug 1492664)
Backed out changeset 3017e5890739 (bug 1492664)
Backed out changeset c8b7e620eabf (bug 1492664)
Backed out changeset d3dfbd848236 (bug 1492664)
Backed out changeset 5c92bb5ac895 (bug 1492664)
Backed out changeset fb7cfca6ebc3 (bug 1492664)
Backed out changeset 0c4101230d4d (bug 1492664)
Backed out changeset b93a0fcc86f3 (bug 1492664)
Backed out changeset 6dc9522ee0bf (bug 1492664)
Backed out changeset 85d7f8b330eb (bug 1492664)
2018-12-19 11:45:29 +02:00
Dustin J. Mitchell
a63677c332 Bug 1492664 - add {artifact-reference: ..} r=tomprince
This provides an easy way to encode an artifact URL in static data such as
taskcluster/ci/nightly-l10n/kind.yml.  This could be used in
mozharness_test.py, for example, as well -- but other code (such as to support
backfilling) expects `task-reference` there.  To avoid breaking such subtle
bits, those can continue using `task-reference` with URLs generated based on
TASKCLUSTER_ROOT_URL.

Differential Revision: https://phabricator.services.mozilla.com/D14197

--HG--
extra : moz-landing-system : lando
2018-12-18 17:22:40 +00:00
Simon Fraser
9582b26afc Bug 1466714 - declarative artifacts in-tree work for Fennec. r=mtabara 2018-11-28 11:13:52 +00:00
Dustin J. Mitchell
e860ab8925 Bug 1492664 - add {artifact-reference: ..}; r=tomprince
This provides an easy way to encode an artifact URL in static data such as
taskcluster/ci/nightly-l10n/kind.yml, without knowing in advance the format of
the URL.

--HG--
extra : rebase_source : 25c99d392e9b71c514f236379a816fae971e161a
2018-09-25 20:26:55 +00:00
Tom Prince
becc9482f9 Bug 1507898: [taskgraph] Factor out schema validation in transformations; r=dustin
Most jobs include at least one transform that verifies the input of all the
tasks against a schema. This code is duplicated in each transform. Refactor it,
so that we only need one copy of the logic.

Differential Revision: https://phabricator.services.mozilla.com/D12165

--HG--
extra : moz-landing-system : lando
2018-11-20 23:44:12 +00:00
Narcis Beleuzu
8a7fef1076 Backed out changeset e947694d0ed7 (bug 1507898) for Linting failure. CLOSED TREE 2018-11-21 00:29:17 +02:00
Tom Prince
4d5bceb588 Bug 1507898: [taskgraph] Factor out schema validation in transformations; r=dustin
Most jobs include at least one transform that verifies the input of all the
tasks against a schema. This code is duplicated in each transform. Refactor it,
so that we only need one copy of the logic.

Differential Revision: https://phabricator.services.mozilla.com/D12165

--HG--
extra : moz-landing-system : lando
2018-11-20 22:09:34 +00:00
Tom Prince
af51107381 Bug 1501776: [taskgraph] Make single_dep use primary-dependency to match multi_dep; r=aki
To make switching between `single_dep` and `multi_dep` easier, change
the `dependent-task` to `primary-dependency`.

Differential Revision: https://phabricator.services.mozilla.com/D9722

--HG--
extra : moz-landing-system : lando
2018-10-24 22:41:38 +00:00
Tom Prince
d9d6f34977 Bug 1498019: [release] Don't set shipping phase based on target_tasks; r=aki
The phase of a task doesn't depend on which phase graph it is being generated in.

Differential Revision: https://phabricator.services.mozilla.com/D8303

--HG--
extra : moz-landing-system : lando
2018-10-10 23:08:18 +00:00
Jim Chen
343650bb80 Bug 1480834 - 7. Add Android x86-64 tasks; r=nalexander r=dustin r=jlorenzo
Add tasks for building Android for x86-64.

Differential Revision: https://phabricator.services.mozilla.com/D5604
2018-09-13 12:09:26 -04:00
Justin Wood
48b3246876 Bug 1481018 - While here Remove unused beetmover defines, that are only a source of confusion. r=tomprince
This beetmover transform is only relevant for Fennec and *-Source platforms at this time.

Differential Revision: https://phabricator.services.mozilla.com/D2754

--HG--
extra : moz-landing-system : lando
2018-08-08 20:57:00 +00:00
Chris AtLee
182e3f8445 Bug 733530: Use .tar.gz for test archives r=gps
Differential Revision: https://phabricator.services.mozilla.com/D1743

--HG--
extra : moz-landing-system : lando
2018-08-01 16:00:03 +00:00
Roland Mutter Michael
d024714803 Bug 1467555 - Make Android single-locale nightlies tier-2. r=Callek
--HG--
extra : rebase_source : 99ce0a742de3a0e65defe988c412b382033e998b
2018-07-21 21:30:12 -04:00
Christian Holler
37f45cc5e9 Bug 1473259 - Windows updates for ASan reporter nightly build. r=catlee
MozReview-Commit-ID: 6DQD5DnzyqB
2018-07-03 23:41:31 +02:00
Bogdan Tara
6eafe1c00b Backed out changeset 9c75cab2e322 (bug 733530) for breaking artifact builds 2018-07-04 14:50:22 +03:00
Chris AtLee
8745339529 Bug 733530: Use .tar.gz for test archives r=gps
Differential Revision: https://phabricator.services.mozilla.com/D1743

--HG--
extra : moz-landing-system : lando
2018-07-03 18:33:02 +00:00
Lisa Guo
2aea743d55 Bug 1443873 - update beetmover in-tree payload to include buildhub. r=mtabara a=release
--HG--
extra : rebase_source : dd4131d9a6411975fefd2981ac6041af05c0c2fc
extra : source : ed0b4efd4f93f47a8e71934bed013a1a06822fd7
2018-06-18 18:45:22 +03:00
Tom Prince
72bd9cbbd3 Bug 1456234: [release] Use release platforms for source; r=aki
Differential Revision: https://phabricator.services.mozilla.com/D1055

--HG--
extra : rebase_source : 3ac38ac3b178a8f0d738295d8385643945aa3fb1
2018-04-26 21:24:58 -06:00
Chris AtLee
96d067df95 Bug 1403548: Enable nightly asan reportor builds and updates r=Callek
MozReview-Commit-ID: 2X03vU5bO32

--HG--
extra : rebase_source : 70d25b081ed874d4f88944e05f40764f948a45a7
2018-04-19 09:28:59 -04:00
Dorel Luca
b78d790273 Backed out changeset a63caceffcee (bug 1403548) for liniting failure on builds/worker/checkouts/gecko/taskcluster/taskgraph/transforms/beetmover_repackage.py. CLOSED TREE 2018-04-26 00:07:21 +03:00
Chris AtLee
a8def10cc3 Bug 1403548: Enable nightly asan reportor builds and updates r=Callek
MozReview-Commit-ID: 2X03vU5bO32

--HG--
extra : rebase_source : d4b6672eae5b378ac5a5d80d7f14d193d201f517
2018-04-19 09:28:59 -04:00
Johan Lorenzo
489364e307 Bug 1455143 - Stop beetmoving deleted testing artifacts r=gps,mtabara
MozReview-Commit-ID: L10NmJH7s2A

--HG--
extra : rebase_source : ffa89550eabfc367bae0d5e1794bc28d628b1d41
2018-04-20 16:13:43 +02:00