From iphoneyukh at gmail.com Mon May 18 15:43:33 2015 From: iphoneyukh at gmail.com (Luca Perino) Date: Mon, 18 May 2015 17:43:33 +0200 Subject: [zanata-devel] batch mode - mac Message-ID: <16C360E4-08BC-4F79-8032-590F9698901D@gmail.com> Hi, i want to push a file to server and i?m running the following command on a Mac Teminal zanata-cli push -B -l en --file-types "txt" --merge-type ?auto" After some time Zanata show me: [INFO] Found source documents: [INFO] Localizable.txt This will overwrite existing documents on the server. Are you sure (y/n)? asking me to enter y/n. I want to automatize the script and i can?t answer. I?ve set -B (also tried ?batch-mode) but always, it prompts to me the questions. How can i disable the prompt? Any help? Thanks, Luca -------------- next part -------------- An HTML attachment was scrubbed... URL: From pahuang at redhat.com Mon May 18 23:41:23 2015 From: pahuang at redhat.com (Patrick Huang) Date: Mon, 18 May 2015 19:41:23 -0400 (EDT) Subject: [zanata-devel] batch mode - mac In-Reply-To: <16C360E4-08BC-4F79-8032-590F9698901D@gmail.com> References: <16C360E4-08BC-4F79-8032-590F9698901D@gmail.com> Message-ID: <1101362878.1135481.1431992483001.JavaMail.zimbra@redhat.com> Hi Luca, In order to get the batch mode working in CLI client, you need to place the -B right after zanata-cli and before push command. Same goes with -e option to enable error trace and -X to enable debug logging. So it will be like: zanata-cli -B push -l en --file-types "txt" --merge-type ?auto" merge type is auto by default so you can drop it if you want. This behavior is a limitation of the library(args4j) we use. There are 2 bugs https://bugzilla.redhat.com/show_bug.cgi?id=1003444 https://bugzilla.redhat.com/show_bug.cgi?id=1030139 for this problem but since there is workaround available we haven't looked into it yet. Patrick Huang Senior Software Engineer Engineering - Internationalisation Red Hat ----- Original Message ----- > From: "Luca Perino" > To: zanata-devel at redhat.com > Sent: Tuesday, May 19, 2015 1:43:33 AM > Subject: [zanata-devel] batch mode - mac > Hi, > i want to push a file to server and i?m running the following command on a > Mac Teminal > > zanata-cli push -B -l en --file-types "txt" --merge-type ?auto" > > After some time Zanata show me: > > [INFO] Found source documents: > > > [INFO] Localizable.txt > > > This will overwrite existing documents on the server. > > > Are you sure (y/n)? > > asking me to enter y/n. > I want to automatize the script and i can?t answer. > I?ve set -B (also tried ?batch-mode) but always, it prompts to me the > questions. > How can i disable the prompt? > Any help? > Thanks, > Luca > _______________________________________________ > zanata-devel mailing list > zanata-devel at redhat.com > https://www.redhat.com/mailman/listinfo/zanata-devel -------------- next part -------------- An HTML attachment was scrubbed... URL: From iphoneyukh at gmail.com Tue May 19 07:24:16 2015 From: iphoneyukh at gmail.com (Luca Perino) Date: Tue, 19 May 2015 09:24:16 +0200 Subject: [zanata-devel] batch mode - mac In-Reply-To: <1101362878.1135481.1431992483001.JavaMail.zimbra@redhat.com> References: <16C360E4-08BC-4F79-8032-590F9698901D@gmail.com> <1101362878.1135481.1431992483001.JavaMail.zimbra@redhat.com> Message-ID: <1544D173-6E28-4F1F-B096-477CC31CBB54@gmail.com> Works, thanks a lot. > On 19 May 2015, at 01:41, Patrick Huang wrote: > > Hi Luca, > > In order to get the batch mode working in CLI client, you need to place the -B right after zanata-cli and before push command. Same goes with -e option to enable error trace and -X to enable debug logging. So it will be like: > zanata-cli -B push -l en --file-types "txt" --merge-type ?auto" > > merge type is auto by default so you can drop it if you want. > > This behavior is a limitation of the library(args4j) we use. There are 2 bugs https://bugzilla.redhat.com/show_bug.cgi?id=1003444 https://bugzilla.redhat.com/show_bug.cgi?id=1030139 for this problem but since there is workaround available we haven't looked into it yet. > > Patrick Huang > Senior Software Engineer > Engineering - Internationalisation > Red Hat > > From: "Luca Perino" > To: zanata-devel at redhat.com > Sent: Tuesday, May 19, 2015 1:43:33 AM > Subject: [zanata-devel] batch mode - mac > > Hi, > > i want to push a file to server and i?m running the following command on a Mac Teminal > > zanata-cli push -B -l en --file-types "txt" --merge-type ?auto" > > > After some time Zanata show me: > [INFO] Found source documents: > [INFO] Localizable.txt > This will overwrite existing documents on the server. > > Are you sure (y/n)? > > asking me to enter y/n. > I want to automatize the script and i can?t answer. > I?ve set -B (also tried ?batch-mode) but always, it prompts to me the questions. > > > How can i disable the prompt? > Any help? > > > Thanks, > Luca > > > > _______________________________________________ > zanata-devel mailing list > zanata-devel at redhat.com > https://www.redhat.com/mailman/listinfo/zanata-devel > -------------- next part -------------- An HTML attachment was scrubbed... URL: From sflaniga at redhat.com Fri May 29 04:05:09 2015 From: sflaniga at redhat.com (Sean Flanigan) Date: Fri, 29 May 2015 14:05:09 +1000 Subject: [zanata-devel] A note on ReviewNinja Message-ID: <5567E575.9040504@redhat.com> We're mainly using ReviewNinja to get notifications, *not* to manage the review process. (The way it manages "issues" doesn't work for our setup: https://github.com/reviewninja/review.ninja/issues/902) If you connect your GitHub account to ReviewNinja, it can email you when new pull requests are created, or existing pull requests are updated (eg new commits). At this stage, no-one's changing our pull request review process. PS If you haven't got it, you should try David's greasemonkey script for managing checkbox items in review comments: http://userscripts-mirror.org/scripts/show/455500 -- Sean Flanigan Principal Software Engineer Localisation Tools Engineering Red Hat -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 213 bytes Desc: OpenPGP digital signature URL: