import_export: properly import activity/comments authors in MR andi issues
According to @jameslopez about how comments/activity are recreated on import, it is needed to be administrator of the gitlab instance during the import to have the activity/comments properly assigned to the correct users
I believe this is the expected behaviour, unless the following is met:
- The user importing has to be an admin of the instance
- Exported members have either the same e-mail address or username in both instances.
Note that without 2, there's no other way to map users between instances i.e. We don't know User1 is now User6.
The fact that you see that the original author is root in the new instance, with a note left that reads By other user..., means that either conditions 1 or 2 weren't met.
If one of the conditions is not met, then there will be the mention:
By XXX on 2016-11-30T09:39:17 (imported from GitLab project) under the activity:
Is there any reason for it to be like that? It would be great if the activity was properly assigned to the right user, all the information is there…
Furthermore, you can notice that the
By XXX on 2016-11-30T09:39:17 (imported from GitLab project) is duplicated… should I open another issue for that?