stable

Clone or download

Read-only

[refactoring] Stop passing TrackerImporterUser everywhere

part of: story #15066 Map Jira users with Tuleap user Goal: $forge_user is passed everywhere during the creation of the different snapshots. Since we mostly need it to default on this user when we can't identify the current Jira user on Tuleap, it can be injected directly in the concerned classes. -- no functional change expected -- Change-Id: Id01fa07ad4a2ecfad505ce65f83c23b9ad4d3658

Modified Files

Name
M plugins/tracker/include/Tracker/Creation/JiraImporter/FromJiraTrackerCreator.php +2 −0 Go to diff View file
M plugins/tracker/include/Tracker/Creation/JiraImporter/Import/Artifact/ArtifactsXMLExporter.php +0 −5 Go to diff View file
M plugins/tracker/include/Tracker/Creation/JiraImporter/Import/Artifact/Changelog/ListFieldChangeInitialValueRetriever.php +2 −4 Go to diff View file
M plugins/tracker/include/Tracker/Creation/JiraImporter/Import/Artifact/DataChangesetXMLExporter.php +0 −3 Go to diff View file
M plugins/tracker/include/Tracker/Creation/JiraImporter/Import/Artifact/JiraAuthorRetriever.php +20 −14 Go to diff View file
M plugins/tracker/include/Tracker/Creation/JiraImporter/Import/Artifact/JiraUserOnTuleapCache.php +11 −1 Go to diff View file
M plugins/tracker/include/Tracker/Creation/JiraImporter/Import/Artifact/Snapshot/ChangelogSnapshotBuilder.php +2 −5 Go to diff View file
M plugins/tracker/include/Tracker/Creation/JiraImporter/Import/Artifact/Snapshot/CurrentSnapshotBuilder.php +3 −6 Go to diff View file
M plugins/tracker/include/Tracker/Creation/JiraImporter/Import/Artifact/Snapshot/InitialSnapshotBuilder.php +5 −7 Go to diff View file
M plugins/tracker/include/Tracker/Creation/JiraImporter/Import/Artifact/Snapshot/IssueSnapshotCollectionBuilder.php +3 −6 Go to diff View file
M plugins/tracker/include/Tracker/Creation/JiraImporter/Import/JiraXmlExporter.php +15 −3 Go to diff View file
M plugins/tracker/include/Tracker/Creation/JiraImporter/JiraRunner.php +1 −0 Go to diff View file
M plugins/tracker/include/trackerPlugin.php +12 −2 Go to diff View file
M plugins/tracker/tests/unit/Tracker/Creation/JiraImporter/Import/Artifact/ArtifactsXMLExporterTest.php +8 −3 Go to diff View file
M plugins/tracker/tests/unit/Tracker/Creation/JiraImporter/Import/Artifact/Changelog/ListFieldChangeInitialValueRetrieverTest.php +3 −3 Go to diff View file
M plugins/tracker/tests/unit/Tracker/Creation/JiraImporter/Import/Artifact/JiraAuthorRetrieverTest.php +10 −14 Go to diff View file
M plugins/tracker/tests/unit/Tracker/Creation/JiraImporter/Import/Artifact/Snapshot/ChangelogSnapshotBuilderTest.php +2 −3 Go to diff View file
M plugins/tracker/tests/unit/Tracker/Creation/JiraImporter/Import/Artifact/Snapshot/CurrentSnapshotBuilderTest.php +2 −2 Go to diff View file
M plugins/tracker/tests/unit/Tracker/Creation/JiraImporter/Import/Artifact/Snapshot/IssueSnapshotCollectionBuilderTest.php +0 −2 Go to diff View file