Bug 716789

Summary: RFE: "project create" from command-line should auto-create the zanata.xml file
Product: [Fedora] Fedora Reporter: Jared MORGAN <jmorgan>
Component: zanata-utilAssignee: Ding-Yi Chen <dchen>
Status: CLOSED WORKSFORME QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 18CC: dchen, mmurray, zanata-bugs
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-11-06 02:40:11 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Jared MORGAN 2011-06-27 05:05:58 UTC
When you use the command line to create a new project, the zanata project create command should also create the zanata.xml file, and give you a choice of where you want to put it.

You could give users the choice of where they want the zanata.xml file to reside as well.

For example, if the user was not executing the command in the SVN book repo they want to import, they could initially specify the path that the file should be saved into.

If they wanted the file to be saved into the pwd, they could press Enter and the file would be saved there by default.

Doing this from the command line would mean you wouldn't have to go to the web console and save the file using the GUI.

Comment 1 Sean Flanigan 2011-09-07 04:33:17 UTC
Assigning to Scrum product owner for prioritisation.

Comment 2 Ding-Yi Chen 2012-11-06 02:34:42 UTC
Hi Jared,

At present stage, zanata-python-client won't generate

Comment 3 Ding-Yi Chen 2012-11-06 02:40:11 UTC
Hi Jared,

Zanata-python-client won't generate the zanata.xml, however, I developed zanata-util just for the chore like this.

You may use 

zanata_zanata_xml_make -p <projectType> -z <zanataXmlFile> <ZanataServerUrl> [Project] [Version] 

to generate zanata.xml.

I therefore close this bug as WORKSFORME, however, please feel free to reopen this bug if you insist that this function should be built in zanata-python-client.