Skip to content

Commit

Permalink
fix: gitlab issue assignees are not being converted
Browse files Browse the repository at this point in the history
  • Loading branch information
klesh committed Sep 12, 2024
1 parent 387ed8e commit 6c144fa
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion backend/plugins/gitlab/tasks/issue_assignee_convertor.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ var ConvertIssueAssigneeMeta = plugin.SubTaskMeta{
Description: "Convert tool layer table _tool_gitlab_issue_assignees into domain layer table issue_assignees",
DomainTypes: []string{plugin.DOMAIN_TYPE_TICKET},
DependencyTables: []string{models.GitlabIssueAssignee{}.TableName()},
Dependencies: []*plugin.SubTaskMeta{&ExtractApiIssuesMeta},
Dependencies: []*plugin.SubTaskMeta{&ConvertIssuesMeta},
}

func ConvertIssueAssignee(subtaskCtx plugin.SubTaskContext) errors.Error {
Expand Down
2 changes: 1 addition & 1 deletion backend/plugins/gitlab/tasks/mr_assignee_convertor.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ var ConvertMrAssigneesMeta = plugin.SubTaskMeta{
EnabledByDefault: true,
Description: "Convert tool layer table gitlab_assignees into domain layer table pull_request_assignees",
DomainTypes: []string{plugin.DOMAIN_TYPE_CODE_REVIEW},
Dependencies: []*plugin.SubTaskMeta{&ExtractApiMergeRequestDetailsMeta},
Dependencies: []*plugin.SubTaskMeta{&ConvertApiMergeRequestsMeta},
}

func ConvertMrAssignees(subtaskCtx plugin.SubTaskContext) errors.Error {
Expand Down
2 changes: 1 addition & 1 deletion backend/plugins/gitlab/tasks/mr_commit_convertor.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ var ConvertApiMrCommitsMeta = plugin.SubTaskMeta{
EnabledByDefault: true,
Description: "Add domain layer PullRequestCommit according to GitlabMrCommit",
DomainTypes: []string{plugin.DOMAIN_TYPE_CODE_REVIEW},
Dependencies: []*plugin.SubTaskMeta{&ConvertMrCommentMeta},
Dependencies: []*plugin.SubTaskMeta{&ConvertApiMergeRequestsMeta},
}

func ConvertApiMergeRequestsCommits(subtaskCtx plugin.SubTaskContext) errors.Error {
Expand Down
2 changes: 1 addition & 1 deletion backend/plugins/gitlab/tasks/mr_label_convertor.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ var ConvertMrLabelsMeta = plugin.SubTaskMeta{
EnabledByDefault: true,
Description: "Convert tool layer table gitlab_mr_labels into domain layer table pull_request_labels",
DomainTypes: []string{plugin.DOMAIN_TYPE_CODE_REVIEW},
Dependencies: []*plugin.SubTaskMeta{&ConvertIssueLabelsMeta},
Dependencies: []*plugin.SubTaskMeta{&ConvertApiMergeRequestsMeta},
}

func ConvertMrLabels(subtaskCtx plugin.SubTaskContext) errors.Error {
Expand Down
2 changes: 1 addition & 1 deletion backend/plugins/gitlab/tasks/mr_reviewer_convertor.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ var ConvertMrReviewersMeta = plugin.SubTaskMeta{
EnabledByDefault: true,
Description: "Convert tool layer table gitlab_reviewers into domain layer table pull_request_reviewers",
DomainTypes: []string{plugin.DOMAIN_TYPE_CODE_REVIEW},
Dependencies: []*plugin.SubTaskMeta{&ExtractApiMergeRequestDetailsMeta},
Dependencies: []*plugin.SubTaskMeta{&ConvertApiMergeRequestsMeta},
}

func ConvertMrReviewers(subtaskCtx plugin.SubTaskContext) errors.Error {
Expand Down

0 comments on commit 6c144fa

Please sign in to comment.