Commit Graph

98 Commits

Author SHA1 Message Date
Ricky Stewart
31b8ca9716 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
612312a64c 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
065d2eb893 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
95b44c982f Backed out changeset 7558c8821a07 (bug 1654103) for multiple failures. CLOSED TREE 2020-10-22 03:51:06 +03:00
Ricky Stewart
43baed3c18 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
6e4a2c666d 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
6c62472264 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
9b7a9aa284 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
945d8dbbd8 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
62d0f0bd43 Bug 1605275: [taskgraph] Use worker aliases for beetmover and balrog workers; r=Callek
Differential Revision: https://phabricator.services.mozilla.com/D60780
2020-01-23 16:54:13 +00:00
Ricky Stewart
02945d3f8a Bug 1524639: [taskgraph] Enforce unicode strings in schemas r=tomprince
Differential Revision: https://phabricator.services.mozilla.com/D18376
2020-01-21 17:12:08 +00:00
Razvan Maries
1b1233c4a4 Backed out changeset a57aed49dc58 (bug 1524639) for beetmover bustages. a=backout 2020-01-16 14:04:31 +02:00
Ricky Stewart
16061a0a81 Bug 1524639: [taskgraph] Enforce unicode strings in schemas r=tomprince
Differential Revision: https://phabricator.services.mozilla.com/D18376
2020-01-15 20:33:20 +00:00
Mihai Tabara
cd6773f1f5 Bug 1537713 - switch Devedition to declarative artifacts.r=sfraser a=release
Switch Devedition to declarative artifacts

Differential Revision: https://phabricator.services.mozilla.com/D45259
2019-09-11 15:46:14 +00:00
Johan Lorenzo
b9373b7ad7 Bug 1551738: Let should_use_artifact_map() not depend on the project anymore r=tomprince
Differential Revision: https://phabricator.services.mozilla.com/D31492
2019-05-20 01:32:38 +00:00
Justin Wood
6d0a6b14b6 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
2019-03-29 17:34:17 +02:00
Johan Lorenzo
4b556d9c89 Bug 1450019 - Upload snap to archive.m.o r=mtabara
Upload snap to archive.m.o

Differential Revision: https://phabricator.services.mozilla.com/D24209
2019-03-27 08:17:17 +00:00
Andreea Pavel
d5cb188a2c 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
c92272364a Bug 1450019 - Upload snap to archive.m.o r=mtabara
Upload snap to archive.m.o

Differential Revision: https://phabricator.services.mozilla.com/D24209
2019-03-27 06:42:10 +00:00
Mihai Tabara
e1bfabd0ac 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
1242b722ee Bug 1524639: [taksgraph] Simplify dependency creation in single_dep transforms; r=aki
Differential Revision: https://phabricator.services.mozilla.com/D18747
2019-02-05 23:21:39 +00:00
Tom Prince
ad636eac4d Bug 1524639: [taskgraph] Add a helper to Schema to allow referencing downstream schema entries; r=dustin
Differential Revision: https://phabricator.services.mozilla.com/D18377
2019-02-04 22:42:00 +00:00
David Major
bfbe4889e6 Bug 1512822 - Remove "MSVC" from the name of AArch64 builds r=tomprince
Differential Revision: https://phabricator.services.mozilla.com/D17024
2019-01-24 15:02:06 +00:00
Justin Wood
e6dc1fbe05 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
2019-01-02 21:53:25 +00:00
Dustin J. Mitchell
b8a734353a 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.
2018-09-25 20:26:55 +00:00
Sebastian Hengst
e6609388b4 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)
2018-12-20 12:43:22 +02:00
Razvan Maries
521c2bbb44 Merge mozilla-inbound to mozilla-central a=merge 2018-12-20 07:04:06 +02:00
Tom Prince
6f4e7032d1 Bug 1514407: [win64-aarch64] Add windows aarch64 nightly builds; r=aki
Differential Revision: https://phabricator.services.mozilla.com/D14659
2018-12-17 21:17:35 +00:00
Margareta Eliza Balazs
c18ee639c6 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
cbf07b0cc0 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
2018-12-18 17:22:40 +00:00
Simon Fraser
b515c345cc Bug 1466714 - declarative artifacts in-tree work for Fennec. r=mtabara 2018-11-28 11:13:52 +00:00
Dustin J. Mitchell
bd391cec23 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.
2018-09-25 20:26:55 +00:00
Tom Prince
1b5387cfd8 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
2018-11-20 23:44:12 +00:00
Narcis Beleuzu
87aec3eb00 Backed out changeset e947694d0ed7 (bug 1507898) for Linting failure. CLOSED TREE 2018-11-21 00:29:17 +02:00
Tom Prince
e6b2bfdab7 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
2018-11-20 22:09:34 +00:00
Tom Prince
c7cde5a4ee 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
2018-10-24 22:41:38 +00:00
Tom Prince
24b2d0346d 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
2018-10-10 23:08:18 +00:00
Jim Chen
bb48f8e837 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
25d3abf06a 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
2018-08-08 20:57:00 +00:00
Chris AtLee
2873f87ade Bug 733530: Use .tar.gz for test archives r=gps
Differential Revision: https://phabricator.services.mozilla.com/D1743
2018-08-01 16:00:03 +00:00
Roland Mutter Michael
ee53021d76 Bug 1467555 - Make Android single-locale nightlies tier-2. r=Callek 2018-07-21 21:30:12 -04:00
Christian Holler
8af1bb95f9 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
8245a830c3 Backed out changeset 9c75cab2e322 (bug 733530) for breaking artifact builds 2018-07-04 14:50:22 +03:00
Chris AtLee
49625724f4 Bug 733530: Use .tar.gz for test archives r=gps
Differential Revision: https://phabricator.services.mozilla.com/D1743
2018-07-03 18:33:02 +00:00
Lisa Guo
576f2bceda Bug 1443873 - update beetmover in-tree payload to include buildhub. r=mtabara a=release 2018-06-18 18:45:22 +03:00
Tom Prince
316752c1a7 Bug 1456234: [release] Use release platforms for source; r=aki
Differential Revision: https://phabricator.services.mozilla.com/D1055
2018-04-26 21:24:58 -06:00
Chris AtLee
58c6989f39 Bug 1403548: Enable nightly asan reportor builds and updates r=Callek
MozReview-Commit-ID: 2X03vU5bO32
2018-04-19 09:28:59 -04:00
Dorel Luca
3e53f977f7 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
ae8ef4e45c Bug 1403548: Enable nightly asan reportor builds and updates r=Callek
MozReview-Commit-ID: 2X03vU5bO32
2018-04-19 09:28:59 -04:00
Johan Lorenzo
f3679f66b4 Bug 1455143 - Stop beetmoving deleted testing artifacts r=gps,mtabara
MozReview-Commit-ID: L10NmJH7s2A
2018-04-20 16:13:43 +02:00