stable

Clone or download

Read-only

Generate users.xml

This task is part of story #8528 create nonexistant user account at import time During project export process, we collect users that are part of the xml export and generate a dedicated file users.xml with following information for each user: <user> <id>567</id> <username>achille</username> <realname><![CDATA[achille]]></realname> <email><![CDATA[achille@example.com]]></email> <ldapid></ldapid> </user> Those information are ignored during export for now. You can see them either with -x option or by extracting the generated archive. Change-Id: If491192d2e401f1592f39fbb52271d607f9814f2

Modified Files

Name
M plugins/tracker/include/Tracker/Tracker.class.php +9 −2 Go to diff View file
M plugins/tracker/include/trackerPlugin.class.php +4 −1 Go to diff View file
M plugins/tracker/tests/Artifact/XMLExportTest.php +1 −1 Go to diff View file
M plugins/tracker/tests/Tracker/XML/Exporter/ChangesetValue/ChangesetValueOpenListXMLExporterTest.php +3 −3 Go to diff View file
M plugins/tracker/tests/Tracker/XML/Exporter/ChangesetXMLExporterTest.php +5 −1 Go to diff View file
M plugins/tracker/tests/Tracker_ArtifactTest.php +1 −1 Go to diff View file
M plugins/tracker/tests/Tracker_Artifact_Changeset_CommentTest.php +2 −2 Go to diff View file
M src/common/autoload.php +3 −2 Go to diff View file
A src/common/user/XML/UserXMLExportedCollection.php +84 −0 Go to diff View file
M src/common/user/XML/UserXMLExporter.class.php +9 −2 Go to diff View file
A src/common/xml/resources/users.rnc +13 −0 Go to diff View file
A src/common/xml/resources/users.rng +26 −0 Go to diff View file
M src/etc/local.inc.dist +1 −0 Go to diff View file
M src/utils/export_project_xml.php +13 −3 Go to diff View file
M tests/simpletest/common/project/ProjectXMLExporterTest.php +2 −2 Go to diff View file
A tests/simpletest/common/user/XML/UserXMLExportedCollectionTest.php +101 −0 Go to diff View file
M tests/simpletest/common/user/XML/UserXMLExporterTest.php +33 −2 Go to diff View file