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

94 Коммитов

Автор SHA1 Сообщение Дата
Joe Crawford c327d6178a Bug 1899633 Correct straight quotes related to Chat Fluent Migrations. r=rjl
Differential Revision: https://phabricator.services.mozilla.com/D212068

--HG--
extra : moz-landing-system : lando
2024-06-06 16:27:56 +00:00
Rob Lemley 8c2c07408b Bug 1896934 - Change Rustfmt to fail orange when formatting is needed. r=thunderbird-reviewers,babolivier
Differential Revision: https://phabricator.services.mozilla.com/D210845

--HG--
extra : moz-landing-system : lando
2024-05-28 22:28:19 +00:00
Magnus Melin 3560699c63 Bug 1898890 - Port bug 1898558 - Switch the license linter to use an exclusion list for tests that is defined in the yaml rather than in the linter itself. r=aleca
With this, `./mach commlint -l license` works like its m-c counterpart.

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

--HG--
extra : moz-landing-system : lando
2024-05-27 22:03:19 +00:00
Joe Crawford d6c690b195 Bug 1889422 - Chat Fluent Migrations - Properties Files. r=rjl
Differential Revision: https://phabricator.services.mozilla.com/D207068

--HG--
extra : amend_source : 121e9c5e237f09f0bd5aaef80401bb69d6b92fe0
2024-05-15 10:22:31 +12:00
Rob Lemley a72cc4da54 Bug 1893665 - Enable codespell on in-tree docs. r=aleca
With assist from Martin Giger <martin@humanoids.be>

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

--HG--
extra : amend_source : 6d0e63a647f5284f36ffa7de14fcd5e63eafc0a6
2024-05-01 16:00:47 -07:00
Magnus Melin 9846308b14 Bug 1893331 - remove account provisioner. r=freaktechnik
Differential Revision: https://phabricator.services.mozilla.com/D208861

--HG--
extra : amend_source : 71d7139a8f328eea2733f4ba20b04ed93f1a9fa3
2024-04-29 15:36:31 -07:00
Rob Lemley 8e4b06bd9c Bug 1888431 - Port bug 1888321: Rename Rust's .cargo/config.in to config.toml.in. r=dandarnell
Differential Revision: https://phabricator.services.mozilla.com/D206020

--HG--
rename : rust/.cargo/config.in => rust/.cargo/config.toml.in
extra : amend_source : 0d9ebc3b9e5775149e58fab8966a7146d759ad0f
2024-04-02 12:03:29 +02:00
Magnus Melin b45d6d3277 Bug 1886051 - Port to Thunderbird - Cleanup old macOS signing config. rs=bustage-fix
--HG--
extra : amend_source : 7f4a616458b96415de80ae098f8d7900d8548e64
2024-03-23 13:37:16 +02:00
Magnus Melin bf0cc3ae17 Bug 1824260 - Update outdated .jsm references. r=freaktechnik
Update outdated .jsm references in the tree.

Depends on D204766

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

--HG--
extra : rebase_source : cdf8c1367702bb00c51a750cc712e156db65d371
extra : amend_source : 5f2256fc97ae8f3de2086ffbe99acde9fdef0473
2024-03-21 19:44:49 +02:00
Magnus Melin 8aa3e4cdc2 Bug 1824260 - esmify Ical.jsm. r=aleca,leftmostcat
Differential Revision: https://phabricator.services.mozilla.com/D204763

--HG--
rename : calendar/base/modules/Ical.jsm => calendar/base/modules/Ical.sys.mjs
rename : calendar/base/src/calICSService-worker.js => calendar/base/src/CalICSService.worker.mjs
extra : rebase_source : f5dc549aa0f7ca19b3d8bcffdb447a0b536d4995
extra : amend_source : 04f2309e0e818a907e16367557a7024cd3063826
2024-03-21 19:43:48 +02:00
Daniel Darnell f9ebb47196 Bug 1869063 - Add Rust linter rustfmt. r=rjl
Differential Revision: https://phabricator.services.mozilla.com/D201964

--HG--
extra : moz-landing-system : lando
2024-03-14 07:12:00 +00:00
Daniel Darnell a0bc09a88c Backed out changeset f60f6e442a7f (bug 1869063) for causing build bustage. r=backout 2024-03-13 17:02:20 -07:00
Daniel Darnell a23ca95c36 Bug 1869063 - Add Rust linter rustfmt. r=rjl
Differential Revision: https://phabricator.services.mozilla.com/D201964

--HG--
extra : amend_source : 0e4e7f480d00e9005213c78ede0094393625a79e
2024-03-13 16:41:45 -07:00
Rob Lemley 1452d8f1e1 Bug 1877808 - Port bug 1877101: Inline hg_repo_setup from m-c l10n_lint. r=dandarnell
As requested in bug 1877101 comment 2. Eventually the strings repos will
move to Github.

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

--HG--
extra : moz-landing-system : lando
2024-02-04 22:01:03 +00:00
Daniel Darnell 7b850f5cde Bug 1874930 - Port bug 1874607: Remove support for xul files from the file permissions and license linters. r=rjl
Differential Revision: https://phabricator.services.mozilla.com/D198718

--HG--
extra : amend_source : 059bc513c8f56cfcae9324ffe978fe0c7510adb3
2024-01-16 18:52:12 +00:00
Rob Lemley 4d16ffb274 Bug 1869653 - Checksum upstream inputs to tb-rust vendor. r=ikey
Provides a quick check to see if comm/third_party/rust is in sync with upstream.

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

--HG--
extra : moz-landing-system : lando
2024-01-02 18:22:44 +00:00
Rob Lemley 2deb321659 Bug 1869405 - Ensure vendored Rust code and associated generated files are not linted. r=ikey
Differential Revision: https://phabricator.services.mozilla.com/D196102

--HG--
extra : rebase_source : 3cc65b7b7518afaeb2d5ae26ce0aaa1f9e618cb0
extra : histedit_source : 343877af30d665ea39291f17bba3920a93b44b52
2023-12-11 20:32:03 +00:00
Rob Lemley 9e2790ddf3 Bug 1869405 - mach commlint should not use unconfigured linters. r=dandarnell
This change will ensure that `mach commlint` only presents linters with config
files in /comm/tools/lint as valid. There is no fallback to using configs in
/tools/lint.

Originally mach commlint was set up to use linter config files from /tools/lint
(mozilla-central) as a fallback when a linter had no file in /comm/tools/lint.

Thunderbird's needs have evolved since, and using linter configs from gecko cause
more problems than useful feedback, mostly due to missing path excludes.

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

--HG--
extra : amend_source : 57490f4ed2869df09ee834586cde6d5a3aa7419d
extra : histedit_source : 5244b076909ee856b240a88fac334df6d2f5a7bd
2023-12-12 11:16:29 -05:00
Rob Lemley 1a1b581207 Bug 1867131 - Port bug 1789033: Check file-perm and file-whitespace on YAML files. r=aleca
Drive-by adding TOML files since they will soon exist.

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

--HG--
extra : moz-landing-system : lando
2023-11-29 05:23:05 +00:00
Rob Lemley 0a96dd6aad Bug 1867075 - Remove irrelevant paths from l10n linters. r=dandarnell
Fixes a bogus warning about l10n.yml not being supported.

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

--HG--
extra : moz-landing-system : lando
2023-11-29 05:20:37 +00:00
Rob Lemley f44350be06 Bug 1860861 - Port bug 1858715: Remove pdfviewer strings from linter and l10n_merge jobs; use viewer.ftl. r=aleca
Differential Revision: https://phabricator.services.mozilla.com/D191780

--HG--
extra : amend_source : c5efe5655547846dd7e86ca9f4be2ca2dc753895
2023-10-26 10:37:57 +01:00
Rob Lemley cdaa82f474 Bug 1845794 - Expose beta brand strings. r=aleca
Fix for strings build failure on beta.

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

--HG--
extra : amend_source : 4e1904e48c8d1678ebce51d0a4f7f7941a0ac049
extra : histedit_source : 3e56dee1ea9f5fe58023caee29ecc3173ea13cae
2023-10-24 17:35:19 +01:00
Daniel Darnell 2820fab618 Bug 1853891 - Port bug 1593072: Use different entitlement files for child processes and other resources. r=darktrojan
Differential Revision: https://phabricator.services.mozilla.com/D188680

--HG--
rename : build/macosx/hardenedruntime/developer.entitlements.xml => build/macosx/hardenedruntime/v1/developer/browser.xml
rename : build/macosx/hardenedruntime/production.entitlements.xml => build/macosx/hardenedruntime/v1/production/browser.xml
extra : amend_source : 93cf7e9e69132659ba67a944171c658fabe3e907
2023-09-20 06:12:41 +00:00
Alessandro Castellani 10d2c6692d No Bug - Remove eslint Services.jsm rule after bug 1780695. rs=bustagefix DONTBUILD 2023-07-10 19:55:33 -07:00
Magnus Melin a8cce56ff0 Bug 1834662 - Port Convert ExtensionsUI.jsm strings to Fluent to Thunderbird. r=john.bieling
Depends on: D179183

This is syncing a lot of semi-forked code.

Differential Revision: https://phabricator.services.mozilla.com/D179035
2023-05-30 11:19:51 +00:00
Rob Lemley 8721bb93fc Bug 1835311 - Port bug 1831872: Remove sync strings from l10n configurations. r=darktrojan
Differential Revision: https://phabricator.services.mozilla.com/D179223
2023-05-26 14:48:39 +00:00
Rob Lemley 4237aaecd2 Bug 1832130 - Port bug 1508369: Add stylelint to mach commlint. r=aleca
Differential Revision: https://phabricator.services.mozilla.com/D178832

--HG--
rename : .eslintignore => .stylelintignore
extra : moz-landing-system : lando
2023-05-24 18:49:33 +00:00
Alessandro Castellani 36c5fa782a Bug 1831101 - Follow up: Fix black lint. rs=bustage-fix DONTBUILD
--HG--
extra : amend_source : fd4b56cd11c4e02e3e5a554fc946118053a71b47
2023-05-10 17:16:10 -07:00
Rob Lemley 2b226a774c Bug 1831101 - Port bug 1829618: Format JSON files with Prettier (config update). r=dandarnell
Depends on D177275

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

--HG--
extra : moz-landing-system : lando
2023-05-10 22:02:33 +00:00
Rob Lemley abcec1eac4 Bug 1831588 - Teach ESLint to ignore paths from ThirdPartyPaths.txt. r=aleca
Copy code from m-c's .eslintrc.js that reads ThirdPartyPaths.txt (and Generated.txt)
and adds the contents to ignorePatterns.
Since those files are prefixed with "comm/", ESLint needs to drop the prefix
because `commlint -l eslint` always runs from ``$topsrcdir/comm` so that the
correct .eslintignore and .prettierignore files are found.

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

--HG--
extra : moz-landing-system : lando
2023-05-06 09:40:40 +00:00
Rob Lemley 6a92e861a5 Bug 1828777 - Port bug 1828418: [fluent-lint] Read brands from Fluent files. r=dandarnell
Differential Revision: https://phabricator.services.mozilla.com/D175818

--HG--
extra : amend_source : 63ceb5629d3f69dcef71ebf8f1dfaeb21690e518
2023-04-18 23:42:16 +00:00
Rob Lemley 5b3b9429cd Bug 1825109 - Exclude timezones.properties from codespell lint. r=leftmostcat
It makes more sense to exclude the Timezones file than to exclude the word "nome"
since it actually is a semi-common misspelling of "none" and codespell should
reflect`that in a future release rather than suggesting "gnome."

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

--HG--
extra : moz-landing-system : lando
2023-04-04 16:52:50 +00:00
Rob Lemley 261f8c676a Bug 1825109 - Add "nome" to codespell exclusions. r=leftmostcat
Codespell was updated to 2.2.4 in bug 1824421. Among its changes is the addition
of "nome" as a misspelling of "gnome". https://github.com/codespell-project/codespell/pull/2675

Nome, Alaska is a real place though and is listed in the IANA "friendly" timezone
names list as of version 2023a.

Exclude list is now sorted as well.

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

--HG--
extra : amend_source : f0667d13aeeebbce0ca31d8239a95d0c9c77eca5
2023-03-29 21:04:07 +11:00
Rob Lemley f7037c98e3 Bug 1816956 - Vendor tb-fluent-migrate into comm/third_party/python. r=dandarnell
This is the forked fluent.migrate that is used to run Thunderbird Fluent
string migrations.

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

--HG--
extra : amend_source : f92e3e68430a789e025b2de05cdf53368cfc5bfe
2023-03-25 20:17:12 +11:00
Rob Lemley ffca7da7ce Backed out 2 changesets (bug 1816956) - incorrect file content. r=backout a=rjl DONTBUILD
Backed out changeset 4450f0adaf4f (bug 1816956)
Backed out changeset 6623231564b7 (bug 1816956)
2023-03-21 18:27:32 -04:00
Rob Lemley e835aafeac Bug 1816956 - Vendor tb-fluent-migrate into comm/third_party/python. r=dandarnell
This is the forked fluent.migrate that is used to run Thunderbird Fluent
string migrations.

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

--HG--
extra : moz-landing-system : lando
2023-03-21 21:54:56 +00:00
Rob Lemley 80e34c14b9 Bug 1822061 - Port bug 1811850: Replace isort linter with ruff. r=dandarnell
This will trigger some sorting changes due to lack of support in ruff for isort's
custom classifications.

Depends on D172728

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

--HG--
extra : moz-landing-system : lando
2023-03-20 22:40:28 +00:00
Rob Lemley e077c7d362 Bug 1822061 - Port bug 1811850: Replace flake8 linter with ruff. r=dandarnell
Depends on D172592

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

--HG--
rename : tools/lint/flake8.yml => tools/lint/ruff.yml
extra : moz-landing-system : lando
2023-03-20 22:40:28 +00:00
Rob Lemley 9fdc5a9016 Bug 1809653 - Shellcheck fixes for smime data-generation scripts. r=kaie
Changes as suggested by "shellcheck" linter.

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

--HG--
extra : amend_source : 405ad1ae053d37e671766ed5e6831c682c1118b1
2023-03-14 20:30:38 +11:00
Ping Chen 936387d0f8 Bug 1813034 - Port bug 1811633: Use our own asn1js bundle without depending on m-c. r=freaktechnik
Differential Revision: https://phabricator.services.mozilla.com/D168737

--HG--
extra : amend_source : 42ed69fa269b522a338ad3f936d697e5f380dbf4
2023-02-09 21:39:19 +11:00
Rob Lemley d3b64c3e4e Backed out changeset ca8189b2fb42 (Bug 1813034). r=mkmelin
Differential Revision: https://phabricator.services.mozilla.com/D169003

--HG--
extra : amend_source : efa11abd0dbda85fa48faaa572d3e04f0e441a45
2023-02-09 21:37:34 +11:00
Ping Chen 43bda0c863 Bug 1813034 - Port bug 1811633: Use our own asn1js bundle without depending on m-c. r=freaktechnik
Differential Revision: https://phabricator.services.mozilla.com/D168354

--HG--
extra : rebase_source : 06352c9e48ff4594cd7b9accd50122429ff51656
2023-01-31 23:04:24 +00:00
Rob Lemley 36a071513a Bug 1808341 - Port bug 1808288: Run file-whitespace linter on more file types. r=mkmelin
Triggered by D165849, sync'd file list with m-c.

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

--HG--
extra : amend_source : 7fb5fefe8773bc1f379c2e01ad733f5df913b2c2
2023-01-05 15:42:47 +11:00
Rob Lemley 0883ca1609 Bug 1808341 - Enable file-perm linter on more file types. r=mkmelin
Roll-up of bugs 1808288, 1802290, 1808351.

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

--HG--
extra : amend_source : ae9f279ae9a628717308b9f56eaac12d8c53cdc8
2023-01-05 15:42:22 +11:00
Rob Lemley 2f9e5d0e6b Bug 1799496 - Fix l10n linter to use new strings repos. r=freaktechnik
Requires bug 1806157 on mozilla-central.

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

--HG--
extra : amend_source : 4b38a3fd06fe29d7e4793953c959bec09674f829
2023-01-04 09:41:21 +11:00
Rob Lemley 0a3539e523 Bug 1803829 - Reformat Python files to standard line length of 99 via black. r=aleca
Differential Revision: https://phabricator.services.mozilla.com/D164734

--HG--
extra : moz-landing-system : lando
2022-12-19 21:10:10 +00:00
Rob Lemley 3105a1a7dc Bug 1799140 - Fix isort lint warnings. r=aleca
Differential Revision: https://phabricator.services.mozilla.com/D164906

--HG--
extra : moz-landing-system : lando
2022-12-19 21:10:08 +00:00
Rob Lemley c7727718bf Bug 1803829 - Run black linter with line length 99. r=aleca
This aligns black with flake8. A mass-reformat will be needed in a follow-up.

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

--HG--
extra : moz-landing-system : lando
2022-12-19 21:10:08 +00:00
Rob Lemley fe5eb927cc Bug 1803830 - Port bug 1803510: Separate isort into its own linter. r=mkmelin
Differential Revision: https://phabricator.services.mozilla.com/D164729

--HG--
extra : rebase_source : 38d4b592c215370e041a6c44270972cec9611706
2022-12-17 21:35:35 +11:00
Rob Lemley 9385c66c25 Bug 1799489 - Exclude S/MIME test data-gen scripts from shellcheck. r=dandarnell
Can revisit later, in the meantime these scripts are not critical build scripts
or anything.

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

--HG--
extra : moz-landing-system : lando
2022-11-16 22:29:04 +00:00