You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@devlake.apache.org by zh...@apache.org on 2022/11/29 13:33:28 UTC

[incubator-devlake] branch release-v0.14 updated: fix: set DomainTypes of ExtractApiPrReviewCommentsMeta and CollectApiPrReviewCommentsMeta to CODEREVIEW (#3812) (#3818)

This is an automated email from the ASF dual-hosted git repository.

zhangliang2022 pushed a commit to branch release-v0.14
in repository https://gitbox.apache.org/repos/asf/incubator-devlake.git


The following commit(s) were added to refs/heads/release-v0.14 by this push:
     new 555ee5a22 fix: set DomainTypes of ExtractApiPrReviewCommentsMeta and CollectApiPrReviewCommentsMeta to CODEREVIEW (#3812) (#3818)
555ee5a22 is described below

commit 555ee5a225d0818b2ba54eeaec9afdd14c6a455a
Author: mindlesscloud <li...@merico.dev>
AuthorDate: Tue Nov 29 21:33:23 2022 +0800

    fix: set DomainTypes of ExtractApiPrReviewCommentsMeta and CollectApiPrReviewCommentsMeta to CODEREVIEW (#3812) (#3818)
---
 plugins/github/tasks/pr_review_comment_collector.go | 2 +-
 plugins/github/tasks/pr_review_comment_extractor.go | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/plugins/github/tasks/pr_review_comment_collector.go b/plugins/github/tasks/pr_review_comment_collector.go
index f8d883549..58c51725e 100644
--- a/plugins/github/tasks/pr_review_comment_collector.go
+++ b/plugins/github/tasks/pr_review_comment_collector.go
@@ -110,5 +110,5 @@ var CollectApiPrReviewCommentsMeta = core.SubTaskMeta{
 	EntryPoint:       CollectPrReviewComments,
 	EnabledByDefault: true,
 	Description:      "Collect pr review comments data from Github api",
-	DomainTypes:      []string{core.DOMAIN_TYPE_CODE},
+	DomainTypes:      []string{core.DOMAIN_TYPE_CODE_REVIEW},
 }
diff --git a/plugins/github/tasks/pr_review_comment_extractor.go b/plugins/github/tasks/pr_review_comment_extractor.go
index 0307f7204..fb4175ced 100644
--- a/plugins/github/tasks/pr_review_comment_extractor.go
+++ b/plugins/github/tasks/pr_review_comment_extractor.go
@@ -38,7 +38,7 @@ var ExtractApiPrReviewCommentsMeta = core.SubTaskMeta{
 	EnabledByDefault: true,
 	Description: "Extract raw comment data  into tool layer table github_pull_request_comments" +
 		"and github_issue_comments",
-	DomainTypes: []string{core.DOMAIN_TYPE_CODE},
+	DomainTypes: []string{core.DOMAIN_TYPE_CODE_REVIEW},
 }
 
 func ExtractApiPrReviewComments(taskCtx core.SubTaskContext) errors.Error {