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:26:59 UTC

[incubator-devlake] branch cherry-pick-pr#3812 created (now 7311d9650)

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

zhangliang2022 pushed a change to branch cherry-pick-pr#3812
in repository https://gitbox.apache.org/repos/asf/incubator-devlake.git


      at 7311d9650 fix: set DomainTypes of ExtractApiPrReviewCommentsMeta and CollectApiPrReviewCommentsMeta to CODEREVIEW (#3812)

This branch includes the following new commits:

     new 7311d9650 fix: set DomainTypes of ExtractApiPrReviewCommentsMeta and CollectApiPrReviewCommentsMeta to CODEREVIEW (#3812)

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



[incubator-devlake] 01/01: fix: set DomainTypes of ExtractApiPrReviewCommentsMeta and CollectApiPrReviewCommentsMeta to CODEREVIEW (#3812)

Posted by zh...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

zhangliang2022 pushed a commit to branch cherry-pick-pr#3812
in repository https://gitbox.apache.org/repos/asf/incubator-devlake.git

commit 7311d965004fffc944f1ffcc997732cd1965c91a
Author: mindlesscloud <li...@merico.dev>
AuthorDate: Tue Nov 29 20:49:15 2022 +0800

    fix: set DomainTypes of ExtractApiPrReviewCommentsMeta and CollectApiPrReviewCommentsMeta to CODEREVIEW (#3812)
---
 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 {