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

66 Коммитов

Автор SHA1 Сообщение Дата
Sylvestre Ledru 6b55606d5a Bug 1762037 - Update the lint docker image from Ubuntu 18.04 to Debian 11 r=linter-reviewers,ahal
Differential Revision: https://phabricator.services.mozilla.com/D142376
2022-07-20 20:31:14 +00:00
Mark Banner fbbe33b4ea Bug 1762571 - Upgrade NodeJS to v12 for the build system and v16 for tests. r=firefox-build-system-reviewers,glandium
Differential Revision: https://phabricator.services.mozilla.com/D147173
2022-07-07 22:08:59 +00:00
Iulian Moraru eaae7245b9 Backed out 3 changesets (bug 1762571) for causing xpcshell failures on test_trr_httpssvc_wrap.js. CLOSED TREE
Backed out changeset 9e6eb444acb4 (bug 1762571)
Backed out changeset f24051722cee (bug 1762571)
Backed out changeset 0ead2f6d0582 (bug 1762571)
2022-06-30 18:43:06 +03:00
Mark Banner 72f5384587 Bug 1762571 - Upgrade NodeJS to v12 for the build system and v16 for tests. r=firefox-build-system-reviewers,glandium
Differential Revision: https://phabricator.services.mozilla.com/D147173
2022-06-30 13:23:24 +00:00
Iulian Moraru a8bbd6fe08 Backed out 2 changesets (bug 1762038, bug 1762037) for causing py3 failures. CLOSED TREE
Backed out changeset 3aa4f53b5325 (bug 1762038)
Backed out changeset 275ed0b3da7b (bug 1762037)
2022-06-08 03:09:30 +03:00
Sylvestre Ledru 011dd8edbf Bug 1762037 - Update the lint docker image from Ubuntu 18.04 to Debian 11 r=linter-reviewers,ahal
Differential Revision: https://phabricator.services.mozilla.com/D142376
2022-06-07 22:14:30 +00:00
Mike Hommey ec1c37e463 Bug 1719607 - Derive the lint docker image from ubuntu1804-base. r=taskgraph-reviewers,bhearsum
Manually install some packages that were installed automatically somehow
and may matter.
Don't install packages already installed as part of the base image.

Differential Revision: https://phabricator.services.mozilla.com/D119366
2021-07-08 22:15:39 +00:00
Mike Hommey dc5646ba96 Bug 1708592 - Install rustfmt and clippy via a toolchain artifact. r=sylvestre
This will tie the version used for CI lints to the version of rust used
for builds on CI.

Bonus point: we can now have rustfmt and clippy on Windows and mac,
which allows to run the corresponding mozlint unit tests on those
platforms.

Differential Revision: https://phabricator.services.mozilla.com/D113905
2021-04-30 21:09:12 +00:00
Mark Banner dae9d6efad Bug 1498604 - Make './mach doc' use jsdoc installed into node_modules rather than the system. r=mossop,ahal
Differential Revision: https://phabricator.services.mozilla.com/D111652
2021-04-14 13:35:20 +00:00
Alexandru Michis a2ac402751 Backed out changeset 53d4fb9f562f (bug 1498604) for causing doc generate failures.
CLOSED TREE
2021-04-14 02:22:56 +03:00
Mark Banner 6bdee38462 Bug 1498604 - Make './mach doc' use jsdoc installed into node_modules rather than the system. r=mossop,ahal
Differential Revision: https://phabricator.services.mozilla.com/D111652
2021-04-13 19:59:37 +00:00
Mike Hommey b6d915dd07 Bug 1692383 - Upgrade python-zstandard to 0.15.1. r=firefox-build-system-reviewers,mhentges
As far as I can tell, we don't use zstandard from python2. As the last
version supporting python2 is 0.14.1, drop installing the python2
version.

Differential Revision: https://phabricator.services.mozilla.com/D105075
2021-02-17 00:53:38 +00:00
Ricky Stewart 1f935a2867 Bug 1660548 - Don't globally install Python packages for linting r=ahal
`flake8`, `black`, and `pylint` are all installed in `virtualenv`s when running `mach lint`, so installing these packages globally on image setup isn't necessary.

Differential Revision: https://phabricator.services.mozilla.com/D87904
2020-08-21 21:03:28 +00:00
Chris AtLee 676e2f71c7 Bug 1555560: Run black format check in automation; r=ahal,sylvestre
Differential Revision: https://phabricator.services.mozilla.com/D33126
2020-07-08 22:08:06 +00:00
Mihai Alexandru Michis 5f385df474 Backed out 2 changesets (bug 1555560) for causing multiple lint failures.
CLOSED TREE

Backed out changeset bd9460ac6e48 (bug 1555560)
Backed out changeset f2896032ced6 (bug 1555560)
2020-07-09 01:04:18 +03:00
Chris AtLee 92897f1567 Bug 1555560: Run black format check in automation; r=ahal,sylvestre
Differential Revision: https://phabricator.services.mozilla.com/D33126
2020-07-08 20:44:41 +00:00
Sylvestre Ledru 25fd29ad52 Bug 1623024 - mozlint: Add pylint to the CI r=linter-reviewers,ahal
Depends on D79076

Differential Revision: https://phabricator.services.mozilla.com/D79099
2020-06-18 20:05:02 +00:00
Sylvestre Ledru e9674f79d4 Bug 1645829 - mozlint: Show the version of rustc r=linter-reviewers,ahal
Also, make a change to force the installation of a more recent version
of clippy & rustfmt until we have a proper fix

Differential Revision: https://phabricator.services.mozilla.com/D79735
2020-06-16 18:52:50 +00:00
Chris AtLee b34b110320 Bug 1637381: Install zstandard on linting images on a CLOSED TREE
Differential Revision: https://phabricator.services.mozilla.com/D76348
2020-05-21 17:31:01 +00:00
Axel Hecht ae0ed9bfbd Bug 1629893, add graphviz to lint image to fix docs, r=sylvestre
The `sphinx.ext.graphviz` extension requires `dot` to be installed.
That's default on rtd, which is why we use it in the docs.
Adding this to the lint image as we use that for document building,
and it shouldn't hurt.

Differential Revision: https://phabricator.services.mozilla.com/D72395
2020-04-24 16:25:59 +00:00
Simon Fraser dfdd97e607 Bug 1621658 Update |mach try fuzzy| fzf version check r=ahal
Add filename support for plain display

Update fzf version in tests

Update tooltool url for fzf

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

--HG--
extra : moz-landing-system : lando
2020-03-12 12:56:35 +00:00
Sylvestre Ledru 186dd63672 Bug 1578058 - Add clippy in the mozlint docker image r=ahal
Depends on D58250

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

--HG--
extra : moz-landing-system : lando
2020-02-12 21:11:38 +00:00
Sylvestre Ledru bcfbf745f9 Bug 1604973 - Install iproute2 in the mozlint docker image r=jmaher
Fix a test which calls the ip address
testing/mozbase/moznetwork/tests/test_moznetwork.py

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

--HG--
extra : moz-landing-system : lando
2019-12-26 18:09:43 +00:00
Sylvestre Ledru a6c5a7a57c Bug 1601612 - Ride along: move the image from 16.04 to 18.04 r=ahal
Needed to have Python 3.7 to avoid a bug in sphinx-js

Depends on D56168

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

--HG--
extra : moz-landing-system : lando
2019-12-17 07:54:31 +00:00
Razvan Maries c98dba73a9 Backed out 5 changesets (bug 1601612, bug 1601578) for Lint failure. CLOSED TREE
Backed out changeset c5b62adb19f1 (bug 1601612)
Backed out changeset 67431d96c78f (bug 1601612)
Backed out changeset 22099810071a (bug 1601612)
Backed out changeset 457049dcb9b4 (bug 1601612)
Backed out changeset 45277ab0d639 (bug 1601578)
2019-12-17 09:49:51 +02:00
Sylvestre Ledru d28cd2116b Bug 1601612 - Ride along: move the image from 16.04 to 18.04 r=ahal
Needed to have Python 3.7 to avoid a bug in sphinx-js

Depends on D56168

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

--HG--
extra : moz-landing-system : lando
2019-12-15 16:27:34 +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
Sylvestre Ledru 3176c749f5 Bug 1554406 - Install rustfmt in the CI r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D32570

--HG--
extra : moz-landing-system : lando
2019-06-03 19:59:17 +00:00
Jason Laster 7c335e3b2b Bug 1496341 - Run debugger tests on try. r=loganfsmyth,ahal
Differential Revision: https://phabricator.services.mozilla.com/D21217

--HG--
extra : moz-landing-system : lando
2019-02-28 14:18:59 +00:00
Sylvestre Ledru 274ecb9460 Bug 1460402 - Update the CI to use codespell with pip instead of the apt packages (too old) r=ahal
MozReview-Commit-ID: 9QkTPyP7izS

--HG--
extra : rebase_source : 155b8b64b3aac06682f9b4191293974d7b9cd844
2018-05-09 21:57:36 +02:00
Dorel Luca a5bc0b3f70 Backed out 4 changesets (bug 1460402) for lint failure on intl/locales/en-US/hyphenation/hyph_en_US.dic. CLOSED TREE
Backed out changeset c2e8fbd72ca6 (bug 1460402)
Backed out changeset 3676e913dbff (bug 1460402)
Backed out changeset bb12ffd4b96e (bug 1460402)
Backed out changeset 3e50885329c4 (bug 1460402)
2018-05-11 00:47:34 +03:00
Sylvestre Ledru 4f1403c359 Bug 1460402 - Update the CI to use codespell with pip instead of the apt packages (too old) r=ahal
MozReview-Commit-ID: 9QkTPyP7izS

--HG--
extra : rebase_source : 4784a5af43e806f2ec017fe16d930b3845fe2dde
2018-05-09 21:57:36 +02:00
Dorel Luca 74bbb3c1eb Backed out 4 changesets (bug 1460402) for breaking taskcluster images. CLOSED TREE
Backed out changeset 5b40f3f18f42 (bug 1460402)
Backed out changeset 17526c61b995 (bug 1460402)
Backed out changeset e1caff997e5a (bug 1460402)
Backed out changeset 06ceda084d69 (bug 1460402)
2018-05-10 23:54:38 +03:00
Sylvestre Ledru a7f37d6509 Bug 1460402 - Update the CI to use codespell with pip instead of the apt packages (too old) r=ahal
MozReview-Commit-ID: 9QkTPyP7izS

--HG--
extra : rebase_source : 23d87e6b352378aa41e8c539ce8640da68fe604c
2018-05-09 21:57:36 +02:00
Gregory Szorc 5d87fc997f Bug 1459737 - Move run-task into taskcluster/scripts; r=dustin
In preparation for making it usable on Windows, after which point
having it in a directory with "docker" in it doesn't make much sense.

MozReview-Commit-ID: Hgu0buFyJwF

--HG--
rename : taskcluster/docker/recipes/run-task => taskcluster/scripts/run-task
extra : rebase_source : 3c0b502d28b5aad54bd04069efbfda88e25bbb20
2018-05-04 17:23:31 -07:00
Sylvestre Ledru 8238fab711 Bug 1433410 - Add codespell support for mach lint r=ahal
MozReview-Commit-ID: Ii6QjPMN0Ks

--HG--
extra : rebase_source : 854dc0994e9e204c5c5f9f25a4e956c9f51001d0
2018-01-27 10:35:31 +01:00
shindli 4615d385bd Backed out changeset e414096f1c3b (bug 1433410) for yaml lint failures in tools/lint/codespell.yml:12:81 on a CLOSED TREE 2018-01-27 01:20:16 +02:00
Sylvestre Ledru 904937e12f Bug 1433410 - Add codespell support for mach lint r=ahal
MozReview-Commit-ID: Ii6QjPMN0Ks

--HG--
extra : rebase_source : f5aec5f35d5f882132fb09fe094dc2cfc41b1392
2018-01-26 23:58:29 +01:00
Simon Fraser 0307838ca3 Bug 1432767 Lint compliance for lint system setup r=ahal
MozReview-Commit-ID: IDZYEIGI283

--HG--
extra : rebase_source : f68622602822a96efff0c66ce2c59975dd59164e
2018-01-24 12:57:25 +00:00
Simon Fraser 7ab95eccbd Bug 1432517 Add shellcheck support for mach lint r=ahal
MozReview-Commit-ID: 1Mzg6y3JKbn

--HG--
extra : rebase_source : ceb32257265952e173ff83434395acfabb001cb4
2018-01-23 16:32:04 +00:00
Mike Hommey 5983078334 Bug 1429996 - Revert partial backout of changeset 22587e6ef7ca from bug 1429669. r=me 2018-01-18 18:54:43 +09:00
Mike Hommey 08c0116191 Partially backout changeset 22587e6ef7ca from bug 1429669 on a CLOSED TREE. r=me
Because Ubuntu 16.04 changed in a way that busts gl3 tests and we can't
update the desktop1604-test image anymore.

--HG--
extra : amend_source : bfa07f9f77990dd6915b8c92d218227436bc6fc4
2018-01-12 10:45:35 +09:00
Mike Hommey 5f8431c3b1 Bug 1429669 - Separate mercurial conf from install-mercurial.sh. r=dustin
The install-mercurial.sh script currently installs a global mercurial
configuration after installing mercurial manually. In order to share
that configuration with docker images installing a mercurial package
through packages tasks, we move it to a separate file.

We however keep the part setting web.cacerts in install-mercurial.sh,
since it uses a path depending on what kind of environment the script is
run. Moreover, the instructions that come with mercurial to build
Debian packages come with web.cacerts set to the right path already, so
it's not needed in that case anyways.

At the same time, use multiple files in /etc/mercurial/hgrc.d/ instead
of a single /etc/mercurial/hgrc file.

--HG--
extra : rebase_source : 8140d8243cf012489025afe058f467c72224c891
2018-01-11 14:01:31 +09:00
Gregory Szorc f22a8ae72d Backed out changeset 15a9e149f2db (bug 1426445) for build bustage
CLOSED TREE

--HG--
extra : amend_source : 12ae596b4067fd7ce93125880924e6a9e2a4125a
2018-01-05 15:18:12 -08:00
Tom Prince 9ad7a74167 Bug 1426445: Add sanity check that worker uid/gid is 1000 in run-task; r=dustin,gps
MozReview-Commit-ID: 7T7rQpLhJIN

--HG--
extra : rebase_source : f8dff72bc22242fe12080b2e517b8a8a4b4e27c4
2018-01-02 14:22:36 -07:00
Robert Helmer 42315c18f8 Bug 1389341 - add basic support for sphinx-js to mach doc r=gps
MozReview-Commit-ID: FIzWD8tnjYi

--HG--
extra : rebase_source : 655ea46cffefda77f0908924fdbbb8d17212654a
2017-09-14 13:17:09 -07:00
Andrew Halberstadt 3c2a0965ed Bug 1391019 - Move tools/lint/flake_/__init__.py to tools/lint/python/flake8.py, r=gps
This will allow us keep python related linting files in the same place.

MozReview-Commit-ID: ABtq9dnPo9T

--HG--
rename : tools/lint/flake8_/__init__.py => tools/lint/python/__init__.py
rename : tools/lint/flake8_/__init__.py => tools/lint/python/flake8.py
rename : tools/lint/flake8_/flake8_requirements.txt => tools/lint/python/flake8_requirements.txt
extra : rebase_source : 2568bc0bf8f4adbf8e0be73a54d5da068a8d81b0
2017-08-31 10:06:08 -04:00
Dustin J. Mitchell 8f96075410 Bug 1390968: add a py(3) job; r=gps
MozReview-Commit-ID: 1BkOEvPKjSD

--HG--
extra : rebase_source : 5b330030b5961cf8557a33346c2b8b7208aaf99c
2017-08-28 20:55:55 +00:00