Closed Bug 1428000 Opened 7 years ago Closed 7 years ago

Migration should only annotate files affected by the current migration

Categories

(L20n :: Python Library, enhancement)

enhancement
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: flod, Assigned: stas)

Details

Attachments

(1 file)

54 bytes, text/x-github-pull-request
Pike
: review+
Details | Review
Currently, migration annotates the entire repository (to the point that we find errors in /mail or /suite files). This has quite an impact on migration time for older locales, e.g. it or pl. We should blame only the files we're interested in, and that should result in faster migrations.
Attached file Pull Request
The speed-up is massive: running the bug 1411012 migration on the Italian repo used to take ~25 seconds on my machine. After this patch it's down to 0.7 seconds. Running the migration on all locales (without pull/push) now takes less than 2 minutes, compared to 30 minutes before the patch.
Assignee: nobody → stas
Status: NEW → ASSIGNED
Attachment #8939837 - Flags: review?(l10n)
Attachment #8939837 - Flags: review?(l10n) → review+
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Depends on: 1435183
No longer depends on: 1435183
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: