Closed Bug 1478613 Opened 6 years ago Closed 6 years ago

compare_locales.paths could use a split

Categories

(Localization Infrastructure and Tools :: compare-locales, enhancement)

enhancement
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: Pike, Assigned: Pike)

Details

Attachments

(9 files)

compare_locales.paths has become quite big and unwieldy, let's split that up a little.

I've got a couple of things I'd like to change there, doing the refactor first will be nice.

I'll take some minor fixups of other wip branches along for the ride, 'cause they'd be naughty to rebase.
Comment on attachment 8995243 [details]
bug 1478613, expose remaining variables in matcher regex,

https://reviewboard.mozilla.org/r/259720/#review266922
Attachment #8995243 - Flags: review?(stas) → review+
Comment on attachment 8995244 [details]
bug 1478613, extract path variable expansion into Matcher,

https://reviewboard.mozilla.org/r/259722/#review266924
Attachment #8995244 - Flags: review?(stas) → review+
Comment on attachment 8995245 [details]
bug 1478613, make paths a module,

https://reviewboard.mozilla.org/r/259724/#review266926
Attachment #8995245 - Flags: review?(stas) → review+
Comment on attachment 8995246 [details]
bug 1478613, refactor paths.Matcher,

https://reviewboard.mozilla.org/r/259726/#review266928
Attachment #8995246 - Flags: review?(stas) → review+
Comment on attachment 8995247 [details]
bug 1478613, refactor paths.ProjectConfig,

https://reviewboard.mozilla.org/r/259728/#review266930
Attachment #8995247 - Flags: review?(stas) → review+
Comment on attachment 8995248 [details]
bug 1478613, refactor ini config loading classes,

https://reviewboard.mozilla.org/r/259730/#review266932
Attachment #8995248 - Flags: review?(stas) → review+
Comment on attachment 8995249 [details]
bug 1478613, refactor paths.ProjectFiles,

https://reviewboard.mozilla.org/r/259732/#review266934
Attachment #8995249 - Flags: review?(stas) → review+
Comment on attachment 8995250 [details]
bug 1478613, refactor paths.TOMLParser,

https://reviewboard.mozilla.org/r/259734/#review266936
Attachment #8995250 - Flags: review?(stas) → review+
Comment on attachment 8995251 [details]
bug 1478613, refactor tests for compare_locales.paths,

https://reviewboard.mozilla.org/r/259736/#review266938
Attachment #8995251 - Flags: review?(stas) → review+
As far as I could tell, these changes look good. That said, I'm not familiar with this code and I'd prefer not to be on the review path for it. In the future, please feel free to land without a review. If you'd still like another pair of eyes to glance over the patch (which makes sense), please submit a single patch. I don't see much value in having a queue this long for a change that is semantically atomic. Thanks!
https://hg.mozilla.org/l10n/compare-locales/pushloghtml?changeset=81145ff9253f, landed.
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: