Red Hat Bugzilla – Bug 724851
copyTrans should not be invoked when doing the first push.
Last modified: 2012-01-26 21:13:11 EST
Description of problem:
When push the content of a new project, the copyTrans is not needed.
However, copyTrans was invoked even for the initial push. Consequently, the pushing is very slow.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Prepare a new project, say, anaconda, http://git.fedorahosted.org/git/?p=anaconda.git
2. Start pushing anaconda
3. From server side, monitor the output of server log.
copyTrans was invoked.
copyTrans should be suppress for initial run.
Assigning to Scrum product owner for prioritisation.
The current implementation of copyTrans copies suitable translations from any matching document, across all projects and versions.
Thus, even in a new project, it is possible to find matches, especially if the document has been pushed to a different project at some point.
You can disable the copyTrans feature when pushing like this:
mvn zanata:push -Dzanata.copyTrans=false
for Maven, or
zanata push --no-copytrans"