Bug 1030139 - zanata-cli does not respond to batch flag (-B or --batch-mode)
Summary: zanata-cli does not respond to batch flag (-B or --batch-mode)
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Zanata
Classification: Retired
Component: Component-zanata-client
Version: development
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
: ---
Assignee: Damian Jansen
QA Contact: Zanata-QA Mailling List
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-11-14 01:46 UTC by David Mason
Modified: 2015-07-29 02:46 UTC (History)
2 users (show)

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


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1003444 0 unspecified CLOSED zanata java client's subcommands do not respect -e or -X option 2021-02-22 00:41:40 UTC

Internal Links: 1003444

Description David Mason 2013-11-14 01:46:28 UTC
Description of problem:
When running zanata-cli push, adding -B or --batch-mode does not prevent the confirmation prompt "are you suer (y/n)?" being displayed and pausing client execution. This makes the client useless in automated jobs.

Version-Release number of selected component (if applicable):


How reproducible:
Always

Steps to Reproduce:
1. prepeare zanata.xml for any project
2. run zanata-cli push -B with appropriate source and target directories

Actual results:
command pauses with the prompt "are you sure (y/n)?"


Expected results:
command runs to completion then terminates.


Additional info:

Comment 1 David Mason 2013-11-14 02:50:48 UTC
The -B option works if positioned before the sub-command, e.g. zanata-cli -B push.

This appears similar to behaviour of the -e and -X option as noted in https://bugzilla.redhat.com/show_bug.cgi?id=1003444

Comment 2 Ding-Yi Chen 2014-12-17 23:52:53 UTC
It looks like a duplicate of 1003444.

David, thanks for point this out.

*** This bug has been marked as a duplicate of bug 1003444 ***

Comment 3 David Mason 2014-12-18 23:14:26 UTC
Re-opening because this is not a duplicate of bug 1003444 - that bug does not mention the -B flag at all, and the fix may not necessarily be the same.

Comment 4 Zanata Migrator 2015-07-29 02:46:39 UTC
Migrated; check JIRA for bug status: http://zanata.atlassian.net/browse/ZNTA-186


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