abeizn commented on code in PR #2407:
URL: https://github.com/apache/incubator-devlake/pull/2407#discussion_r913445379


##########
plugins/gitlab/tasks/commit_convertor.go:
##########
@@ -74,14 +74,14 @@ func ConvertApiCommits(taskCtx core.SubTaskContext) error {
                        commit.Message = gitlabCommit.Message
                        commit.Additions = gitlabCommit.Additions
                        commit.Deletions = gitlabCommit.Deletions
-                       commit.AuthorId = 
userDidGen.Generate(data.Options.ConnectionId, gitlabCommit.AuthorName)
+                       commit.AuthorId = gitlabCommit.AuthorEmail
                        commit.AuthorName = gitlabCommit.AuthorName
                        commit.AuthorEmail = gitlabCommit.AuthorEmail
                        commit.AuthoredDate = gitlabCommit.AuthoredDate
                        commit.CommitterName = gitlabCommit.CommitterName
                        commit.CommitterEmail = gitlabCommit.CommitterEmail
                        commit.CommittedDate = gitlabCommit.CommittedDate
-                       commit.CommitterId = 
userDidGen.Generate(data.Options.ConnectionId, gitlabCommit.AuthorName)
+                       commit.CommitterId = gitlabCommit.CommitterEmail

Review Comment:
   same problem



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to