Description of problem:
Large projects can take a long time to push to/pull from Zanata. We should add a simple resume feature, so that we don't have to start the whole process again in case of a problem.
When processing is interrupted (perhaps by a network time-out), we can tell the user something like this:
"Operation failed. To retry from the last document, please add the option --resume-from <document name>" Where <document name> is the document where the error occurred.
This will require a consistent order of processing, so we should impose a total ordering on the set of documents and locales to push/pull. Alphabetical sorting should be fine.
We should support multi-module Maven projects too, so we may need the ability to resume from a particular module too. (Maven's -rf option might suffice.)
Implemented alphabetical sorting, parameter for resume position and message on failure giving the parameter to add to the command to resume from the point of failure. Yes to test with maven modules.
Added support for maven modules.
For both module and non-module push and pull, if there is a server error while a document is being processed, one or two options are output near the end of the console log that can be used in the command line to resume from the document that was being processed.
Server version: 2.2-SNAPSHOT (20130226-1241)
Client version: 2.0.2-SNAPSHOT
Client timestamp: 20130226-1436
API version: 2.1.1-SNAPSHOT
API timestamp: 20130226-0847
Closing VERIFIED bugs for Zanata versions <= 3.1.