You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@devlake.apache.org by GitBox <gi...@apache.org> on 2022/11/24 11:24:27 UTC

[GitHub] [incubator-devlake] klesh commented on a diff in pull request #3801: feat: add new table ref_commits for the refdiff plugin

klesh commented on code in PR #3801:
URL: https://github.com/apache/incubator-devlake/pull/3801#discussion_r1031400148


##########
models/domainlayer/code/commits_diff.go:
##########
@@ -28,11 +28,22 @@ func (CommitsDiff) TableName() string {
 	return "commits_diffs"
 }
 
-type FinishedCommitsDiffs struct {
+type RefCommit struct {

Review Comment:
   If one needs to know which `commit-sha` a `ref` is pointing to, one should use the `refs` table.
   This table is designed to store the pairs that are filtered by the `refdiff` tag regex.



-- 
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: commits-unsubscribe@devlake.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org