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

8 Коммитов

Автор SHA1 Сообщение Дата
Axel Hecht 068dc3fde6 Bug 1492070, update mach command for compare-locales, #firefox-build-system-reviewers r=firefox-build-system-reviewers,ted
Differential Revision: https://phabricator.services.mozilla.com/D11902

--HG--
extra : moz-landing-system : lando
2018-12-03 12:08:31 +00:00
Nick Alexander 866aa38d6d Bug 1496293 - Let Fennec single-locale repacks run |mach compare-locales|. r=gbrown
This is follow-up to Bug 1291335, which inadvertently prevented Fennec
single-locale repacks from running |mach compare-locales|, since the
command was incorrectly considered part of the `testing` category.

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

--HG--
extra : moz-landing-system : lando
2018-10-10 15:10:55 +00:00
Axel Hecht 3dc36a71a4 bug 1382005, update compare-locales to 2.1, r=glandium
Vendor new dependency for compare-locales, python-fluent.
This is the 0.4.2 release of python-fluent.

Also, make mach command a bare minimum wrapper.

The compare-locales mach command used to own a couple of defaults
and opinions.
Now that those opinions and defaults are in the Makefiles, this
command can be much simpler. As a side effect, this should
make the thunderbird port easier, where none of the mach defaults
worked.

Update l10n.mk for compare-locales 2.x:

The command line interface is different now, with positional arguments.
Also, the l10n config file isn't a default anymore (that never worked
for thunderbird).
And the merge dir is now the parent of the locale dir, much like
we already anticipated in the code.

MozReview-Commit-ID: DxVVKyVSt5y

--HG--
extra : rebase_source : 7c591fea8c7d9ecef615fb56f9359d4f1bd4b340
2017-09-18 18:31:24 +02:00
Axel Hecht d112ca24fa bug 1370506, update the docs, r=glandium
Mostly removals, but also adding docs on how to create a
multilingual package right now.

I think I'd like to take another pass at those docs in a follow-up.

MozReview-Commit-ID: Dkw4MJ5DLyb

--HG--
extra : rebase_source : 4f79499e376cf6ddd23169a1c4525ed6b551a740
2017-06-16 13:14:28 +02:00
Axel Hecht c92e5dfc1e bug 1370176, generic configuration for l10n, r=flod,gps
The current way to configure compare-locales has a lot of
assumptions that make our l10n system really stubborn.

The generic configuration is independent of python, and uses
toml files for configuration. They're still modular, but
there's only one file format.

See http://moz-l10n-config.readthedocs.io/en/latest/fileformat.html
for the specification.

Also fixes a few nits in filter.py, where we compared the
entity key as bool, which is false if we pass in ''.
Explicitly compare as "entity is None" to be precise about
when we're checking files.

MozReview-Commit-ID: 5TmfobaImF4

--HG--
extra : rebase_source : 84e56eb2076e74f79677df9e0368811579c1f173
2017-06-05 10:28:33 +02:00
Wes Kocher 3c7545e844 Backed out changeset 91ddd0674124 (bug 1370176) for build bustage a=backout CLOSED TREE
MozReview-Commit-ID: IiyTf0EQtAw
2017-06-09 08:59:49 -07:00
Axel Hecht 8c3bd3e2ac bug 1370176, generic configuration for l10n, r=flod,gps
The current way to configure compare-locales has a lot of
assumptions that make our l10n system really stubborn.

The generic configuration is independent of python, and uses
toml files for configuration. They're still modular, but
there's only one file format.

See http://moz-l10n-config.readthedocs.io/en/latest/fileformat.html
for the specification.

Also fixes a few nits in filter.py, where we compared the
entity key as bool, which is false if we pass in ''.
Explicitly compare as "entity is None" to be precise about
when we're checking files.

MozReview-Commit-ID: 5TmfobaImF4

--HG--
extra : rebase_source : 7c6feee0aa178315cc69fd6e8c7938365193224c
2017-06-05 10:28:33 +02:00
Andrew Halberstadt 5af47c56e4 Bug 1346025 - Move 'python/compare-locales' documentation and mach command to 'tools/compare-locales', r=Pike
MozReview-Commit-ID: bkrH4YAD7S

--HG--
rename : python/compare-locales/docs/glossary.rst => tools/compare-locales/docs/glossary.rst
rename : python/compare-locales/docs/index.rst => tools/compare-locales/docs/index.rst
rename : python/compare-locales/mach_commands.py => tools/compare-locales/mach_commands.py
extra : rebase_source : f1e86ef137a4f7765c5f4917121707bea900646c
2017-06-06 10:00:51 -04:00