This utility script for l10n migrations was added six years ago in bug 1294186,
but is no longer necessary or used. For clarity, it should be removed.
Differential Revision: https://phabricator.services.mozilla.com/D164049
Changing a linter's `support-files` causes that linter to
run against the entire tree. This is to avoid introducing
a regression in files that weren't touched, which would
be confusing for developers who trusted `--outgoing` to
catch their regressions.
Turn this behaviour off when `--fix` is passed as a linter
argument so these regressions aren't also fixed tree-wide.
Move the logic for tree-wide linting into a function
`should_lint_entire_tree` and add tests for the behaviour
in `test_roller.py`.
Differential Revision: https://phabricator.services.mozilla.com/D164761
manifest.json has character limits for name (45) and description (132).
Language packs now use:
name: Language: {native_name} ({english_name})
description: {app} Language Pack for {native_name} ({locale_code}) – {english_name}
The English name is omitted if identical to the native name, and it's omitted from the name if the resulting name exceeds the character limit.
Longer name or description are always truncated.
Differential Revision: https://phabricator.services.mozilla.com/D164535
If we want to use individual-files for a lot of files, all
of which are going the same place, it is very verbose and
repetitive. Create an alternate, mutually-exclusive way of
specifying individual-files in a moz.yaml
Differential Revision: https://phabricator.services.mozilla.com/D163969
- make sure the patch files are sorted before we apply them
- strip trailing slashes from the repo url before we add more
- Allow the individual-files action to be used by individual-files
Differential Revision: https://phabricator.services.mozilla.com/D163968
Switches from `buildconfig.substs` to `bootstrap_toolchain` for the repackage job
Refactors mozpack/dmg to not depend on the environment; Moves path resolution of tools up to `mozbuild.action.{make_dmg|unpack_dmg}`
Update syntax to python 3.7+
Differential Revision: https://phabricator.services.mozilla.com/D163129
The JSON data added here is derived from mozIntl.sys.mjs for the native names,
and Intl.DisplayNames for the English names. Once it becomes possible to
synchronously import JSON from JS code, this data should be merged with that
used by mozIntl.sys.mjs.
Differential Revision: https://phabricator.services.mozilla.com/D163049
Switches from `buildconfig.substs` to `bootstrap_toolchain` for the repackage job
Refactors mozpack/dmg to not depend on the environment; Moves path resolution of tools up to `mozbuild.action.{make_dmg|unpack_dmg}`
Update syntax to python 3.7+
Differential Revision: https://phabricator.services.mozilla.com/D163129
According to Transvision, this is barely localized (only two locales set
a non-default width, and they all do it to just slightly more than
usual).
So standardize the initial size on that (800x500), remove the
localization, and remove the minimum size constraint, which wasn't there
before the regressing bug.
Differential Revision: https://phabricator.services.mozilla.com/D163511
Now that we depend on modern versions of python 3, we shouldn't have SNI
problems anymore. OTOH, the S3 address somehow causes certificate
problems on some setups (similar to bug 1787993), while the original
address doesn't, so this is all for the better.
Differential Revision: https://phabricator.services.mozilla.com/D163170
We don't check for pkg-config on some platforms (Windows, OSX, Android).
On those platforms, calling 'pkg_check_modules' will not work. Adding
the same 'when' used for the 'pkg_config' check to all the options that
end up calling 'pkg_check_modules' effectively disables them, and prevents
'pkg_check_modules' from being called.
Differential Revision: https://phabricator.services.mozilla.com/D150649