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

55 Коммитов

Автор SHA1 Сообщение Дата
Dzmitry Malyshau 785a7cfbc2 Bug 1596126 - Github synchronization for gfx/wgpu r=Callek,tomprince
This change introduces a "github-sync" component into tools,
which aims to support synchronizing both wgpu and WebRender with github.
~~It also features a "cargo test" job for standalone wgpu (bug  1596127)~~

The code is ported from "gfx/wr/scripts/wrupdater" folder. Changes are:
  1. remove explicit WR parts and make them configurable by command line params
  2. detect "mozilla-xxx" tags and use them in addition to the commits

As a follow up, wrupdater will be removed in favor of github-sync.

Status:
  - [x] get the CI test job working
  - [x] get @kats to fork "wgpu" github for "moz-gfx" bot
  - [x] remove the wgpu testing CI job (into separate PR)
  - [x] create new secret and reference it

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

--HG--
extra : moz-landing-system : lando
2019-12-28 02:44:59 +00:00
Sylvestre Ledru 038bd866b5 Bug 1601612 - Fix some py2/py3 lints with a newer version of Python r=marco
Differential Revision: https://phabricator.services.mozilla.com/D57509

--HG--
extra : moz-landing-system : lando
2019-12-17 19:17:43 +00:00
Edwin Takahashi af0fda47bc Bug 1559977 - Remove tools/rb from py3/py2 linter exclusion list r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D35238

--HG--
extra : moz-landing-system : lando
2019-10-15 20:58:35 +00:00
Andrew Halberstadt d3eae4b83c Bug 1580280 - [mozlint] Run |mach lint| with Python 3 and drop support for Python 2 r=mars
Differential Revision: https://phabricator.services.mozilla.com/D45441

--HG--
extra : moz-landing-system : lando
2019-09-30 15:09:41 +00:00
Oana Pop Rus 4b9792db7c Backed out changeset 371641b1010b (bug 1580280) for lints failure on a CLOSED TREE 2019-09-26 00:18:33 +03:00
Andrew Halberstadt fdc7d0afac Bug 1580280 - [mozlint] Run |mach lint| with Python 3 and drop support for Python 2 r=mars
Differential Revision: https://phabricator.services.mozilla.com/D45441

--HG--
extra : moz-landing-system : lando
2019-09-25 20:03:14 +00:00
Tarek Ziadé 5dd9d5bcd0 Bug 1562870 - generate conditioned profiles r=gbrown,bc,aerickson
Generates "conditioned" profiles.

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

--HG--
extra : moz-landing-system : lando
2019-09-16 19:44:35 +00:00
Edwin Takahashi c481d253a3 Bug 1559975 - remove tools/profiler from python2 and python3 linter exclusion list r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D36435

--HG--
extra : moz-landing-system : lando
2019-09-13 09:04:26 +00:00
Edwin Takahashi 485156be18 Bug 1559975 - fix python2 and python3 linter errors for client.py r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D40523

--HG--
extra : moz-landing-system : lando
2019-09-11 21:06:34 +00:00
Barret Rennie 1ab6ec337d Bug 1563090 - Add a visual metrics treeherder task r=nalexander,tomprince
This new task fetches the visualmetrics.py script from the
github.com/mozilla/browsertime repository and runs it in parallel for the
specified jobs. Jobs are specified in a JSON blob passed through to the task in
an environment variable. A follow up patch specifies a command line argument to
make this configuration available to `./mach try {fuzzy|chooser}`

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

--HG--
extra : moz-landing-system : lando
2019-09-04 16:42:31 +00:00
Narcis Beleuzu 3fca079bae Backed out 2 changesets (bug 1563090) for Linting failure on run-visual-metrics.py . CLOSED TREE
Backed out changeset 1b2389663474 (bug 1563090)
Backed out changeset 9071c90b2e84 (bug 1563090)
2019-09-04 19:03:58 +03:00
Barret Rennie df8c6f79f1 Bug 1563090 - Add a visual metrics treeherder task r=nalexander,tomprince
This new task fetches the visualmetrics.py script from the
github.com/mozilla/browsertime repository and runs it in parallel for the
specified jobs. Jobs are specified in a JSON blob passed through to the task in
an environment variable. A follow up patch specifies a command line argument to
make this configuration available to `./mach try {fuzzy|chooser}`

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

--HG--
extra : moz-landing-system : lando
2019-09-03 22:05:26 +00:00
Edwin Gao 28467d53d6 Bug 1559975 - fix python2 linter errors for js/xpconnect r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D38135

--HG--
extra : moz-landing-system : lando
2019-07-16 17:49:36 +00:00
Edwin Gao a02acfb096 Bug 1559975 - remove media from python2/3 linter blacklist r=ahal
Changes:
- remove `media` from python2 and python3 linter blacklist due to no errors

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

--HG--
extra : moz-landing-system : lando
2019-07-19 14:53:16 +00:00
Edwin Gao e20d3db72d Bug 1559975 - fix python2 linter errors for testing/tps r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D37779

--HG--
extra : moz-landing-system : lando
2019-07-16 17:49:05 +00:00
Edwin Gao 67bbe2a68a Bug 1559975 - fix python2 linter errors for tools/lint r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D37767

--HG--
extra : moz-landing-system : lando
2019-07-19 15:56:29 +00:00
Edwin Gao 8918aee616 Bug 1559975 - fix python2 linter error for tools/docs r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D37777

--HG--
extra : moz-landing-system : lando
2019-07-19 14:45:24 +00:00
Edwin Gao fb0e9a64d5 Bug 1559975 - fix python2 linter error for tools/jprof/split-profile.py r=ahal
Changes:
- add __future__ import statements

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

--HG--
extra : moz-landing-system : lando
2019-07-16 17:47:33 +00:00
Edwin Gao ae0d488344 Bug 1559975 - fix python2 linter errors in mobile r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D37667

--HG--
extra : moz-landing-system : lando
2019-07-16 17:46:25 +00:00
Edwin Gao bf3cb1ec8b Bug 1559975 - fix python2 linter errors for python/devtools r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D37640

--HG--
extra : moz-landing-system : lando
2019-07-16 17:46:08 +00:00
Edwin Gao 346d648216 Bug 1559975 - fix python2 linter errors for testing/runtimes r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D37615

--HG--
extra : moz-landing-system : lando
2019-07-16 17:46:06 +00:00
Edwin Gao 6ce175cc67 Bug 1559975 - fix python2 linter errors for testing/awsy r=ahal
Changes:
- change how the modules are imported with the `absolute_import` changes
- satisfy python2 linter

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

--HG--
extra : moz-landing-system : lando
2019-07-19 14:37:10 +00:00
Edwin Gao 892c0866e2 Bug 1559975 - fix python2 lint issues in tools/mach_commands.py r=ahal,catlee
Changes:
- add `print_function` to satisfy py2 linter

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

--HG--
extra : moz-landing-system : lando
2019-07-19 14:50:07 +00:00
Justin Wood baa089903e Bug 1559975 - Make config/ lint with 'py2' and 'py3' r=catlee
Depends on D36091

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

--HG--
extra : moz-landing-system : lando
2019-07-08 17:30:34 +00:00
Justin Wood 7a37d64346 Bug 1559975 - Make configure.py lint with 'py2' and 'py3' r=catlee
Depends on D36090

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

--HG--
extra : moz-landing-system : lando
2019-07-08 17:34:09 +00:00
Justin Wood 4b233fe605 Bug 1559975 - Make python/mach lint with 'py2' and 'py3' r=catlee
Depends on D36096

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

--HG--
extra : moz-landing-system : lando
2019-07-05 14:24:58 +00:00
Justin Wood 939e67a089 Bug 1559975 - Make python/mozbuild lint with 'py2' and 'py3' r=catlee
Differential Revision: https://phabricator.services.mozilla.com/D36090

--HG--
extra : moz-landing-system : lando
2019-07-05 14:36:43 +00:00
Chris AtLee 8f13901785 Bug 1559975: Fix python2/3 compat in intl/ r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D35342

--HG--
extra : moz-landing-system : lando
2019-07-05 14:28:18 +00:00
Mihai Tabara e6a44ee1a1 Bug 1559975 - Fix python2 lint issues on testing/firefox-ui r=catlee
Differential Revision: https://phabricator.services.mozilla.com/D35255

--HG--
extra : moz-landing-system : lando
2019-07-05 14:35:42 +00:00
Maliha Islam 2d69e323f1 Bug 1559975 - Make directories python3 compatible r=catlee
Differential Revision: https://phabricator.services.mozilla.com/D35257

--HG--
extra : moz-landing-system : lando
2019-07-02 15:47:34 +00:00
Nick Thomas 1048178580 Bug 1559975 - enable py2 and py3 linting in memory r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D35251

--HG--
extra : moz-landing-system : lando
2019-06-28 18:53:28 +00:00
Marco Castelluccio 52be340076 Bug 1559975 - Add future imports to testing/remotecppunittests.py and testing/runcppunittests.py and remove them from py2 exclusion list r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D35246

--HG--
extra : moz-landing-system : lando
2019-06-28 13:47:57 +00:00
Mihai Alexandru Michis 9852c55d11 Backed out 5 changesets (bug 1559982, bug 1559975) for cpp unit test failures due to unsupported operand type. CLOSED TREE
Backed out changeset 2309aac6cea3 (bug 1559975)
Backed out changeset bf5a6d853abd (bug 1559975)
Backed out changeset 0c36f78c971a (bug 1559975)
Backed out changeset 0560cf7df7dc (bug 1559975)
Backed out changeset 4cb64ca524e7 (bug 1559982)
2019-06-27 02:03:31 +03:00
Marco Castelluccio ed545ba83e Bug 1559975 - Add future imports to testing/remotecppunittests.py and testing/runcppunittests.py and remove them from py2 exclusion list r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D35246

--HG--
extra : moz-landing-system : lando
2019-06-26 15:31:24 +00:00
Andrew Halberstadt 8dbaa4117c Bug 1375861 - [mozlint] Globally exclude paths listed in tools/rewriting/ThirdPartyPaths.txt from our linters, r=sylvestre
Differential Revision: https://phabricator.services.mozilla.com/D9126

--HG--
extra : moz-landing-system : lando
2018-10-18 15:27:59 +00:00
Andrew Halberstadt 21dc8454f4 Bug 1472177 - Run mozversioncontrol tests under python 3 r=gps
This also enables the py2 linter which will help maintain compatibility
with both 2 and 3.

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

--HG--
extra : moz-landing-system : lando
2018-07-24 21:21:46 +00:00
Rob Wood 4af496d7f2 Bug 1454466 - Move raptor in-tree; r=ahal
MozReview-Commit-ID: AkqbROfvmbu

--HG--
extra : rebase_source : bf30030a333852d6d81c4278e91b1ac9fef237fe
2018-04-16 17:15:38 -04:00
Andrew Halberstadt 0515e13234 Bug 1373368 - [lint] Add support-files to all of the lint configs, r=standard8
MozReview-Commit-ID: ChOVmTFTmha

--HG--
extra : rebase_source : 41e4666401cd58b1022aa4eed936987300213b6a
2018-02-16 17:46:46 -05:00
Andrew Halberstadt e04895a098 Bug 1373368 - [mozlint] Raise if a non-existant path is specified in a lint config, r=standard8
Since I left the next two patches to bitrot, I realized that a path I had added
didn't exist anymore. We should definitely error out if non-existant paths are
specified, otherwise the lists will become outdated and it will be possible to
accidentally disable linting on some files.

I discovered a few instances of this already in our existing definitions.

MozReview-Commit-ID: 8jsTKLI0nFE

--HG--
extra : rebase_source : acceb0b129fc472fb456ff527e4c8c52228edd59
2018-03-29 14:50:17 -04:00
Andrew Halberstadt 4c232ca311 Bug 1436792 - [py-compat] Improve error messaging when python is missing, r=jmaher
This patch makes a few changes around error handling:

1) Prints the name of the linter that produced non-json output
2) Changes the 'python not found' error to a warning (as this is not fatal)
3) Makes sure said warning only gets printed once (by moving it to the setup function)

MozReview-Commit-ID: Dkq7CulTs91

--HG--
extra : rebase_source : 5d4bd32a62264a88520c09420f5acd90edcdc740
2018-02-08 14:26:15 -05:00
Andrew Halberstadt aaea466286 Bug 1436725 - [lint] Remove obsolete eslintvalidate files, r=standard8
As the eslintvalidate linters haven't been doing anything but printing
an error message for a month, this is just cleanup.

MozReview-Commit-ID: 5dhrSmEv0Gi

--HG--
extra : rebase_source : 30e588f47a69b152f72d29e6aaab7efbd59fbf09
2018-02-08 09:25:14 -05:00
iceman 5d31e3d10a Bug 1407763 - Enable py2 and py3 compat linters for testing/marionette. r=ahal
MozReview-Commit-ID: 4IYhPPGlJlo

--HG--
extra : rebase_source : a27b89c734082fc8acbc329ded75d7ef87d70dbe
2018-01-17 16:14:43 +01:00
Simon Fraser 537673de00 Bug 1401995 Update funsize to use async, to reduce task time r=jlorenzo
MozReview-Commit-ID: 24IU3pcJseY

--HG--
extra : rebase_source : a2b4d681ee3dbec82a523b39aff6d9e2e69d42f5
2018-01-03 14:42:47 +00:00
Nick Alexander 96a9c22d8b Bug 1409087 - Part 4: Remove browser JUnit 3 tests and build apparatus for {browser,background}.apk. r=Grisha,ted.mielczarek
The browser JUnit 3 test suite has never run in automation, and no
test has been added or updated since 2016.  Half of the existing
"tests" are broken on my local device.  This allows to clean several
Makefile's related to this undeveloped testing approach, which won't
be pursued post-Gradle.

MozReview-Commit-ID: 1EbGMLntuyR

--HG--
extra : rebase_source : b4751f96851a8df61c0333a3e0ade3805b280dfe
2017-11-02 16:03:00 -07:00
Steve Armand fa0b6e7c7e Bug 1397849 - Enable py2 and py3 linter on testing/mozbase. r=ahal
MozReview-Commit-ID: GnaVLhtO4un

--HG--
extra : rebase_source : 8839a423c5db505469b813957649b1605ed5737f
2017-09-25 22:57:18 -04:00
Steve Armand 82b69a173f Bug 1408365 - Enable flake8/py2/py3 linters on python/mozboot. r=ahal
MozReview-Commit-ID: 3koZq509bjP

--HG--
extra : rebase_source : 9accfc2b727fd7c1f4fad97d1a244d62f4fae714
2017-10-13 23:33:00 -04:00
Sebastian Hengst 73fac0091d Backed out changeset dbe60b600dc0 (bug 1397853) for failining linter py-compat at testing/mochitest/runtests.py:2236. r=backout 2017-09-28 14:58:36 +02:00
Steve Armand f8318d16e8 Bug 1397853 - Enable py2 and py3 linter on testing/mochitest. r=ahal
MozReview-Commit-ID: EhkNhyFHDox

--HG--
extra : rebase_source : 5200a985034c7ca0a494bc7d02a4c842e85dec3a
2017-09-24 21:28:25 -04:00
ruby af79c59e2a Bug 1397427 - Enable py2 linter on tools/tryselect, r=ahal
MozReview-Commit-ID: K12XisbVQGq

--HG--
extra : rebase_source : 6a97dda2be81fa45601c2f09486c4a187f177cf5
2017-09-13 11:57:47 +05:30
Steve Armand 5934392346 Bug 1397855 - Enable py2 and py3 linter on testing/xpcshell. r=ahal
MozReview-Commit-ID: CsfIcI1ma7J

--HG--
extra : rebase_source : 53658c33432927f72ddce0999f18c2b7df261f6d
2017-09-07 21:15:35 -04:00