Page MenuHomePhabricator

Extended export.php's capabilities to allow exporting everything with a single invocation
Closed, ResolvedPublic

Description

The strong synchronization work added warnings to export.php. Currently repong needs to call export.php twice per group to handle special cases such as message documentation and British English. This causes those warnings to appear twice in the output of automatic exports.

By extending export.php with new command line parameters, we can avoid calling it twice. This avoid showing warnings twice, and potentially let us simplify code in repong. This should not have a major impact in performance (in either direction).

This is a follow-up to T182433: Implement a stronger synchronization in RepoNG and Translate

Outcome

The output log from automatic translation exports is now shorter simpler and thus easier to review.

Event Timeline

Nikerabbit triaged this task as Medium priority.
Nikerabbit updated the task description. (Show Details)

Change 705674 had a related patch set uploaded (by Nikerabbit; author: Nikerabbit):

[translatewiki@master] repong: Use single export command

https://gerrit.wikimedia.org/r/705674

Change 705672 had a related patch set uploaded (by Nikerabbit; author: Nikerabbit):

[mediawiki/extensions/Translate@master] ExportTranslationsMaintenanceScript: Add --always-export-languages

https://gerrit.wikimedia.org/r/705672

Change 705673 had a related patch set uploaded (by Nikerabbit; author: Nikerabbit):

[mediawiki/extensions/Translate@master] ExportTranslationsMaintenanceScript: Add --skip-source-language

https://gerrit.wikimedia.org/r/705673

Change 705672 merged by jenkins-bot:

[mediawiki/extensions/Translate@master] ExportTranslationsMaintenanceScript: Add --always-export-languages

https://gerrit.wikimedia.org/r/705672

Change 705673 merged by jenkins-bot:

[mediawiki/extensions/Translate@master] ExportTranslationsMaintenanceScript: Add --skip-source-language

https://gerrit.wikimedia.org/r/705673

Change 705674 merged by jenkins-bot:

[translatewiki@master] repong: Use single export command

https://gerrit.wikimedia.org/r/705674

Change 708765 had a related patch set uploaded (by Nikerabbit; author: Nikerabbit):

[mediawiki/extensions/Translate@master] ExportTranslationsMaintenanceScript: Avoid creating empty files

https://gerrit.wikimedia.org/r/708765

Change 708765 merged by jenkins-bot:

[mediawiki/extensions/Translate@master] ExportTranslationsMaintenanceScript: Avoid creating empty files

https://gerrit.wikimedia.org/r/708765