Bug 716789 - RFE: "project create" from command-line should auto-create the zanata.xml file
Summary: RFE: "project create" from command-line should auto-create the zanata.xml file
Keywords:
Status: CLOSED WORKSFORME
Alias: None
Product: Fedora
Classification: Fedora
Component: zanata-util
Version: 18
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
Assignee: Ding-Yi Chen
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-06-27 05:05 UTC by Jared MORGAN
Modified: 2015-08-10 01:22 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-11-06 02:40:11 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 730237 0 high CLOSED RFE: As a gettext-based project maintainer I don't want to have to worry about locale mapping when importing a package t... 2021-02-22 00:41:40 UTC

Internal Links: 730237

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.


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