Closed Bug 1877101 Opened 1 year ago Closed 1 year ago

Support git repositories in l10n lint

Categories

(Developer Infrastructure :: Lint and Formatting, enhancement)

enhancement

Tracking

(firefox124 fixed)

RESOLVED FIXED
Tracking Status
firefox124 --- fixed

People

(Reporter: eemeli, Assigned: eemeli)

References

Details

Attachments

(1 file)

As the localization repositories are migrating to git, l10n lint will need to also support git and not only hg repos.

Type: task → enhancement

Adds a CLI option --l10n-git that uses the firefox-l10n-source git repo instead of the gecko-strings hg repo when linting localization files.

When we complete the migration, the option and mercurial repo support should be removed.

Assignee: nobody → earo
Status: NEW → ASSIGNED

Rob, note that the eventual default switch to git (probably as bug 1877100) may require you to inline strings_repo_setup() in your l10n_lint.py. To play it safe, you could do that already.

As l10n_lint.py is the only user of mozversioncontrol.repoupdate, we should also consider whether it makes sense to keep that as a generic thing, or inline it in the script.

Flags: needinfo?(rob)
See Also: → 1877808
Pushed by earo@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/67dbb5d0b1aa Add git source support to l10n lint. r=bolsson,flod,linter-reviewers,sylvestre
Status: ASSIGNED → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Flags: needinfo?(rob)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: