Bug 724851 - copyTrans should not be invoked when doing the first push.
Summary: copyTrans should not be invoked when doing the first push.
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Zanata
Classification: Retired
Component: Component-Persistence
Version: 1.3-alpha-1
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: ---
Assignee: zanata-dev-internal
QA Contact: Ding-Yi Chen
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-07-22 01:19 UTC by Ding-Yi Chen
Modified: 2012-01-27 02:13 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2012-01-27 02:13:11 UTC
Embargoed:


Attachments (Terms of Use)

Description Ding-Yi Chen 2011-07-22 01:19:11 UTC
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):
1.4-SNAPSHOT (20110722-0601)

How reproducible:
Always

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.
  
Actual results:
copyTrans was invoked.

Expected results:
copyTrans should be suppress for initial run.

Comment 1 Sean Flanigan 2011-09-07 04:32:42 UTC
Assigning to Scrum product owner for prioritisation.

Comment 2 Sean Flanigan 2012-01-27 02:13:11 UTC
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" 
for Python.


Note You need to log in before you can comment on or make changes to this bug.