Bug 1146177 - Pushing partial source .pot documents shouldn't delete the entries not present in the file
Summary: Pushing partial source .pot documents shouldn't delete the entries not presen...
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Zanata
Classification: Retired
Component: Component-zanata-client
Version: 3.3
Hardware: Unspecified
OS: Linux
unspecified
medium
Target Milestone: ---
: ---
Assignee: Damian Jansen
QA Contact: Zanata-QA Mailling List
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-09-24 16:39 UTC by Thiago
Modified: 2015-07-29 02:50 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2015-07-29 02:50:13 UTC
Embargoed:


Attachments (Terms of Use)

Description Thiago 2014-09-24 16:39:37 UTC
User-Agent:       Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/33.0.1750.154 Safari/537.36
Build Identifier: 

Importing big .pot source documents with msgctxt takes a long time to complete. The current set of documents I'm using are taking more than half an hour to complete.

**** Currently there is no way of PUSHing only the delta to the source documents. The PUSH process acts like a synchronization, deleting server entries that are not present in the .pot files. ****

This makes the process slower and more server/database intensive, when integrating with Continuous Integration environments. It might also generate more unnecessary historical data in the database, causing it to grow too fast in a continuous integration environment.



Reproducible: Always

Steps to Reproduce:
1. Using zanata-cli, push an example.pot file with 2 entries
2. Using zanata-cli, push a second example.pot (same filename/document), with a third distinct entry (the ones from the first file are not there).
3. In Zanata website, open this document for translation in any language.
Actual Results:  
The first 2 entries imported with the first file are not available

Expected Results:  
All 3 imported entries should be available

If this is not default, there should be an --option to avoid deleting source document messages.

Comment 1 Zanata Migrator 2015-07-29 02:50:13 UTC
Migrated; check JIRA for bug status: http://zanata.atlassian.net/browse/ZNTA-223


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