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)
L20n
Python Library
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: flod, Assigned: stas)
Details
Attachments
(1 file)
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.
| Assignee | ||
Comment 1•7 years ago
|
||
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.
Updated•7 years ago
|
Attachment #8939837 -
Flags: review?(l10n) → review+
| Assignee | ||
Comment 2•7 years ago
|
||
Landed in https://github.com/projectfluent/python-fluent/commit/44b12039c34eb31c6a717ceafeca8c96bd0eb34f
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•