stable
Forked from tuleap/stable
Clone or download
Read-only
story #8572: Add project creation using XML
Use XML (which must be valid using a Relax-NG schema) to construct a ProjectCreationData object that will be used for project creation. Enable project creation when running import_project_xml.php without a project flag (-p). Add integration test that check that the project is created. Change-Id: I4cf77283503ad8d40ba8e5194e52b927ae3ba2ea
Modified Files
Name | ||||
---|---|---|---|---|
M | src/common/project/ProjectCreationData.class.php | +94 | −0 | Go to diff View file |
M | src/common/project/ProjectXMLImporter.class.php | +26 | −13 | Go to diff View file |
M | src/common/project/ProjectXMLImporterZipArchive.php | +8 | −4 | Go to diff View file |
A | src/common/xml/resources/project.rnc | +31 | −0 | Go to diff View file |
A | src/common/xml/resources/project.rng | +52 | −0 | Go to diff View file |
M | src/utils/import_project_xml.php | +2 | −2 | Go to diff View file |
A | tests/integration/ProjectImportTest.php | +88 | −0 | Go to diff View file |
A | tests/integration/_fixtures/fake_project.xml | +24 | −0 | Go to diff View file |
M | tests/simpletest/common/project/XMLImportZipArchiveTest.php | +2 | −2 | Go to diff View file |