stable
Clone or download
Read-only
This is part of story #14927 Import issue history The aim of these refactorings is to ease the readability and the maintainability of the whole feature. Currently, we only have two states (initial and current). In next commits, there will be multiple states based on history. Having this collection will ease the manipulation of states and their XML export. In addition, some classes have been renamed or splitted to have more epxlicit and meaningful names and responsibilities. Change-Id: Ic0f6f0f9651b01a6496cd9ad49f416688751548f
Modified Files
Name | ||||
---|---|---|---|---|
A | plugins/tracker/include/Tracker/Creation/JiraImporter/Import/Artifact/Changelog/Snapshot/CurrentSnapshotBuilder.php | +58 | −0 | Go to diff View file |
R | plugins/tracker/include/Tracker/Creation/JiraImporter/Import/Artifact/Changelog/Snapshot/InitialSnapshotDataGenerator.php | Go to diff View file | ||
A | plugins/tracker/include/Tracker/Creation/JiraImporter/Import/Artifact/Changelog/Snapshot/IssueSnapshotCollectionBuilder.php | +77 | −0 | Go to diff View file |
M | plugins/tracker/include/Tracker/Creation/JiraImporter/Import/Artifact/Changelog/Snapshot/Snapshot.php | +42 | −26 | Go to diff View file |
M | plugins/tracker/include/Tracker/Creation/JiraImporter/Import/Artifact/DataChangesetXMLExporter.php | +32 | −87 | Go to diff View file |
M | plugins/tracker/include/Tracker/Creation/JiraImporter/Import/JiraXmlExporter.php | +11 | −6 | Go to diff View file |
M | plugins/tracker/tests/unit/Tracker/Creation/JiraImporter/Import/Artifact/ArtifactsXMLExporterTest.php | +23 | −18 | Go to diff View file |
A | plugins/tracker/tests/unit/Tracker/Creation/JiraImporter/Import/Artifact/Changelog/Snapshot/CurrentSnapshotBuilderTest.php | +109 | −0 | Go to diff View file |
R | plugins/tracker/tests/unit/Tracker/Creation/JiraImporter/Import/Artifact/Changelog/Snapshot/InitialSnapshotDataGeneratorTest.php | Go to diff View file | ||
M | plugins/tracker/tests/unit/Tracker/Creation/JiraImporter/Import/Artifact/FieldChangeXMLExporterTest.php | +87 | −68 | Go to diff View file |