stable

Clone or download

Read-only

request #11780 import xml project should be a tuleap CLI command

how to test : tuleap import-project-xml -u admin -i <path_project.zip> --automap no-email,create:S --name new_project Expected result : A new project has been created with the archive you have imported Edit : A new CLI Command is created. This code just uses old code in import_project_xml.php Now, when we call import_project_xml.php, it calls the CLI command 'import-project-XML' Edit : Add InvalidArgumentExceptions in the options of CLI command Change-Id: I6ceac6cff9f02f30257a74c29119c49ddd0c8729

Modified Files

Name
A src/common/CLI/Command/ImportProjectXMLCommand.php +326 −0 Go to diff View file
M src/common/autoload.php +3 −5 Go to diff View file
M src/utils/import_project_xml.php +14 −313 Go to diff View file
M src/utils/tuleap.php +4 −0 Go to diff View file