Closed Bug 385193 Opened 19 years ago Closed 19 years ago

Improve python implementation of compare-locales

Categories

(Mozilla Localizations :: Infrastructure, defect)

x86
Windows XP
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: Pike, Unassigned)

Details

Attachments

(1 file)

I have a few improvements to compare-locales: - ignore keys in the statistics, that makes those numbers much more useful. - make the compare-locales script useful again. It wasn't actually used in my web-facing tool so far, now it compares a given set of localizations and outputs the result to stdout, including the newly good stats. - add compare-packs, that script is a modification of the previous one to deal with language packs. We'll need this to assess the status of new language packs, for example ones submitted on AMO. - added more comments to the code, and did some python sugar, i.e., removed uses of has_key
Attachment #269085 - Flags: review?(rcampbell)
Comment on attachment 269085 [details] [diff] [review] improvements to compare-locales, new compare-packs looks reasonable to me. I assume you've tested it locally and it works.
Attachment #269085 - Flags: review?(rcampbell) → review+
Sure did, thanks for review. Landed and FIXED.
Status: NEW → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
Component: Testing → Infrastructure
Product: Core → Mozilla Localizations
QA Contact: testing → infrastructure
Version: Trunk → unspecified
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: