You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@devlake.apache.org by "coldgust (via GitHub)" <gi...@apache.org> on 2023/04/02 08:58:53 UTC

[GitHub] [incubator-devlake] coldgust opened a new pull request, #4841: feat(domain): add issue_assignees domain table

coldgust opened a new pull request, #4841:
URL: https://github.com/apache/incubator-devlake/pull/4841

   ### Summary
   Add `issue_assignees` table to support multiple assignees for issues. And update `teambition` plugin to collect data to the table.
   Since I don't have test accounts for other plugins, it make some difficulties to update all plugins. Feel sorry about for not complete the whole task.
   
   ### Does this close any open issues?
   part of #4738 
   
   ### Screenshots
   Include any relevant screenshots here.
   
   ### Other Information
   Any other information that is important to this PR.
   


-- 
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


[GitHub] [incubator-devlake] coldgust commented on pull request #4841: feat(domain): add issue_assignees domain table

Posted by "coldgust (via GitHub)" <gi...@apache.org>.
coldgust commented on PR #4841:
URL: https://github.com/apache/incubator-devlake/pull/4841#issuecomment-1542276054

   Hi @mindlesscloud , I will try to complete other plugins.


-- 
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


[GitHub] [incubator-devlake] mindlesscloud commented on pull request #4841: feat(domain): add issue_assignees domain table

Posted by "mindlesscloud (via GitHub)" <gi...@apache.org>.
mindlesscloud commented on PR #4841:
URL: https://github.com/apache/incubator-devlake/pull/4841#issuecomment-1539271643

   Hi @coldgust, big thanks for your contribution, would you consider completing other plugins?


-- 
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


[GitHub] [incubator-devlake] mindlesscloud merged pull request #4841: feat(domain): add issue_assignees domain table

Posted by "mindlesscloud (via GitHub)" <gi...@apache.org>.
mindlesscloud merged PR #4841:
URL: https://github.com/apache/incubator-devlake/pull/4841


-- 
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


[GitHub] [incubator-devlake] mindlesscloud commented on a diff in pull request #4841: feat(domain): add issue_assignees domain table

Posted by "mindlesscloud (via GitHub)" <gi...@apache.org>.
mindlesscloud commented on code in PR #4841:
URL: https://github.com/apache/incubator-devlake/pull/4841#discussion_r1188033672


##########
backend/core/models/migrationscripts/20230402_add_issue_assignee.go:
##########
@@ -0,0 +1,52 @@
+/*
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements.  See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You under the Apache License, Version 2.0
+(the "License"); you may not use this file except in compliance with
+the License.  You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+*/
+
+package migrationscripts
+
+import (
+	"github.com/apache/incubator-devlake/core/context"
+	"github.com/apache/incubator-devlake/core/errors"
+	"github.com/apache/incubator-devlake/core/models/common"
+	"github.com/apache/incubator-devlake/helpers/migrationhelper"
+)
+
+type addIssueAssignee20230402 struct {
+	IssueId      string `gorm:"primaryKey;type:varchar(255)"`
+	AssigneeId   string `gorm:"primaryKey;type:varchar(255)"`
+	AssigneeName string `gorm:"type:varchar(255)"`
+
+	common.NoPKModel

Review Comment:
   It's a good practice to refer to the `archived.NoPKModel` instead of `common.NoPKModel`, as the code under the `common` package could be modified over time.



-- 
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


[GitHub] [incubator-devlake] Startrekzky commented on pull request #4841: feat(domain): add issue_assignees domain table

Posted by "Startrekzky (via GitHub)" <gi...@apache.org>.
Startrekzky commented on PR #4841:
URL: https://github.com/apache/incubator-devlake/pull/4841#issuecomment-1519295650

   Hi @coldgust , thanks for the PR. We're in the QA stage of releasing v0.17 now and will look at it after the v0.17 branch is frozen.


-- 
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