Closed Bug 1757407 Opened 2 years ago Closed 2 years ago

Move l10nregistry to mozilla-central

Categories

(Core :: Internationalization, enhancement)

enhancement

Tracking

()

RESOLVED FIXED
100 Branch
Tracking Status
firefox100 --- fixed

People

(Reporter: dminor, Assigned: dminor)

Details

Attachments

(7 files, 1 obsolete file)

Currently l10nregistry development occurs at https://github.com/mozilla/l10nregistry-rs. We plan to move development to mozilla-central to make development and the code review process easier. The code seems quite specific to Mozilla's needs and there are not any external users that we currently know about.

This is a copy of git revision 9da98c6e5325a5f2997191727eaa82c0ebc2004c from
https://github.com/mozilla/l10nregistry-rs.

This moves tokio to dev-dependencies to make it clear it is only used for
testing. It also comments out criterion to avoid vendoring it into
mozilla-central. It brings in duplicated crates and large test files.

Depends on D139851

Unfortunately, the dependencies of l10nregistry-rs require tokio 1.0. This
allows this third duplicated instance. I think it makes more sense to try to
move the other uses in tree to a more modern version than to try to downgrade
the version of tokio required by l10nregistry-rs and dependencies.

Depends on D139853

I opened a pull request to point to m-c here: https://github.com/mozilla/l10nregistry-rs/pull/22

This is code written by Mozilla employees but licensed under dual Apache2 / MIT
license and originally hosted on GitHub. Rather than try to create a text that
will pass the license lint, just exclude it from linting.

Depends on D139854

Attachment #9265740 - Attachment is obsolete: true
Attachment #9265739 - Attachment description: Bug 1757407 - Tidy up Cargo.toml; r=#platform-i18n-reviewers! → Bug 1757407 - Comment out criterion in l10nregistry-rs Cargo.toml; r=#platform-i18n-reviewers!
Pushed by dminor@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/fc2744795e74
Exclude l10registry-rs from license lint; r=platform-i18n-reviewers,gregtatum,sylvestre
https://hg.mozilla.org/integration/autoland/rev/5d0c56d4836f
Add l10nregistry-rs to mozilla-central; r=platform-i18n-reviewers,gregtatum,jfkthame,flod
https://hg.mozilla.org/integration/autoland/rev/c4fb7d16f70d
Point to in-tree version of l10nregistry-rs; r=platform-i18n-reviewers,gregtatum
https://hg.mozilla.org/integration/autoland/rev/e082a4fab3bb
Comment out criterion in l10nregistry-rs Cargo.toml; r=platform-i18n-reviewers,gregtatum
https://hg.mozilla.org/integration/autoland/rev/60a0adaef217
Allow a third duplicated instance of tokio; r=firefox-build-system-reviewers,glandium
https://hg.mozilla.org/integration/autoland/rev/de4c5921e901
Re-run mach vendor rust; r=platform-i18n-reviewers,gregtatum
https://hg.mozilla.org/integration/autoland/rev/7d025f17c479
Add l10nregistry to RUST_TESTS; r=platform-i18n-reviewers,gregtatum
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: