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. See: https://github.com/zanata/zanata-client/commit/9bd09bd81c1a62da8863f80f50406b8913706c8b
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. See: https://github.com/zanata/zanata-client/commit/8e882f971925829b32f801060eb994fe9dfa935b
Verified with: 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.