chore: remove the incubator prefix (#9093)
* chore: remove incubator prefix
* fix: linting
* fix: mockery
diff --git a/.licenserc.yaml b/.licenserc.yaml
index 0014d19..1ccd948 100644
--- a/.licenserc.yaml
+++ b/.licenserc.yaml
@@ -52,5 +52,6 @@
- "config-ui/.yarn/**/*"
- "config-ui/yarn.lock"
- ".github/ISSUE_TEMPLATE/*.md"
+ - "**/.tool-versions"
comment: on-failure
diff --git a/LICENSE b/LICENSE
index 65ff7d6..8558cbd 100644
--- a/LICENSE
+++ b/LICENSE
@@ -203,10 +203,10 @@
--------------------------------------------------------------------------------
The following icon is using Feather Icons with the MIT license:
-incubator-devlake/config-ui/src/images/icons/api.svg
-incubator-devlake/config-ui/src/images/icons/dashboard.svg
-incubator-devlake/config-ui/src/images/icons/file.svg
-incubator-devlake/config-ui/src/images/icons/clear.svg
+devlake/config-ui/src/images/icons/api.svg
+devlake/config-ui/src/images/icons/dashboard.svg
+devlake/config-ui/src/images/icons/file.svg
+devlake/config-ui/src/images/icons/clear.svg
https://feathericons.com/
diff --git a/backend/.mockery.core.yml b/backend/.mockery.core.yml
index 352a9ab..23a6eb8 100644
--- a/backend/.mockery.core.yml
+++ b/backend/.mockery.core.yml
@@ -35,4 +35,4 @@
template-data:
unroll-variadic: false
packages:
- github.com/apache/incubator-devlake/core:
+ github.com/apache/devlake/core:
diff --git a/backend/.mockery.helpers.yml b/backend/.mockery.helpers.yml
index ef703c5..b4b8ea8 100644
--- a/backend/.mockery.helpers.yml
+++ b/backend/.mockery.helpers.yml
@@ -32,4 +32,4 @@
template-data:
unroll-variadic: false
packages:
- github.com/apache/incubator-devlake/helpers:
+ github.com/apache/devlake/helpers:
diff --git a/backend/DevelopmentManual.md b/backend/DevelopmentManual.md
index 5662882..1043c7d 100644
--- a/backend/DevelopmentManual.md
+++ b/backend/DevelopmentManual.md
@@ -134,11 +134,11 @@
There are three types of test strategies:
1. Unit-tests: these are component level tests that mock dependencies. They typically exist next to the source file they're testing.
2. E2E-tests: these test plugin extractor and convertor subtasks by using faked data to simulate the result of data collection.
-3. Integration-tests: these test the entire DevLake server as a whole. A [Go Client](https://github.com/apache/incubator-devlake/blob/main/backend/test/helper/api.go) ([example initialization](https://github.com/apache/incubator-devlake/blob/main/backend/test/helper/client_factory.go))
+3. Integration-tests: these test the entire DevLake server as a whole. A [Go Client](https://github.com/apache/devlake/blob/main/backend/test/helper/api.go) ([example initialization](https://github.com/apache/devlake/blob/main/backend/test/helper/client_factory.go))
has been written to either interact with an existing DevLake server (via its APIs) or spin up an in-memory instance of DevLake for the purpose of testing (note you need to have
-a separate database instance running). We have some integration tests written for some of our plugins (see [this](https://github.com/apache/incubator-devlake/tree/main/backend/test/e2e/manual)), which is the best
+a separate database instance running). We have some integration tests written for some of our plugins (see [this](https://github.com/apache/devlake/tree/main/backend/test/e2e/manual)), which is the best
source to learn how to write these tests and interact with the client. Note that the in-memory DevLake instance directly compiles the
-plugins you specify and in doing so saves a significant amount of time and overhead ([example](https://github.com/apache/incubator-devlake/blob/d717d2aa897742ab4789b9a44e9e5a4c1e28adcf/backend/test/e2e/manual/gitlab/gitlab_test.go#L62)).
+plugins you specify and in doing so saves a significant amount of time and overhead ([example](https://github.com/apache/devlake/blob/d717d2aa897742ab4789b9a44e9e5a4c1e28adcf/backend/test/e2e/manual/gitlab/gitlab_test.go#L62)).
We highly encourage you to leverage the Go client to perform quick tests as you write either framework-level or plugin code.
diff --git a/backend/core/context/basic_res.go b/backend/core/context/basic_res.go
index 8165d2e..45969b0 100644
--- a/backend/core/context/basic_res.go
+++ b/backend/core/context/basic_res.go
@@ -18,9 +18,9 @@
package context
import (
- "github.com/apache/incubator-devlake/core/config"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/log"
+ "github.com/apache/devlake/core/config"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/log"
)
// BasicRes defines a set of fundamental resources that needed pretty much everywhere in our system
diff --git a/backend/core/dal/dal.go b/backend/core/dal/dal.go
index d2ffe50..3b3eab9 100644
--- a/backend/core/dal/dal.go
+++ b/backend/core/dal/dal.go
@@ -22,7 +22,7 @@
"fmt"
"reflect"
- "github.com/apache/incubator-devlake/core/errors"
+ "github.com/apache/devlake/core/errors"
)
const (
diff --git a/backend/core/dal/identifier.go b/backend/core/dal/identifier.go
index 710d94e..9f17aa6 100644
--- a/backend/core/dal/identifier.go
+++ b/backend/core/dal/identifier.go
@@ -21,7 +21,7 @@
"fmt"
"regexp"
- "github.com/apache/incubator-devlake/core/errors"
+ "github.com/apache/devlake/core/errors"
)
// validIdentifierRegex matches valid SQL identifiers: alphanumeric, underscores, and dots (for schema.table)
diff --git a/backend/core/domain_tables_info_test.go b/backend/core/domain_tables_info_test.go
index 68f93ce..512c807 100644
--- a/backend/core/domain_tables_info_test.go
+++ b/backend/core/domain_tables_info_test.go
@@ -20,8 +20,8 @@
import (
"testing"
- "github.com/apache/incubator-devlake/core/models/domainlayer/domaininfo"
- "github.com/apache/incubator-devlake/helpers/unithelper"
+ "github.com/apache/devlake/core/models/domainlayer/domaininfo"
+ "github.com/apache/devlake/helpers/unithelper"
)
func Test_GetDomainTablesInfo(t *testing.T) {
diff --git a/backend/core/migration/linter/main.go b/backend/core/migration/linter/main.go
index 11aae87..0e0c401 100644
--- a/backend/core/migration/linter/main.go
+++ b/backend/core/migration/linter/main.go
@@ -140,16 +140,16 @@
"allowed-pkg",
"a",
[]string{
- "github.com/apache/incubator-devlake/core/config",
- "github.com/apache/incubator-devlake/core/context",
- "github.com/apache/incubator-devlake/core/dal",
- "github.com/apache/incubator-devlake/core/errors",
- "github.com/apache/incubator-devlake/helpers/migrationhelper",
- "github.com/apache/incubator-devlake/core/models/migrationscripts/archived",
- "github.com/apache/incubator-devlake/core/plugin",
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api",
+ "github.com/apache/devlake/core/config",
+ "github.com/apache/devlake/core/context",
+ "github.com/apache/devlake/core/dal",
+ "github.com/apache/devlake/core/errors",
+ "github.com/apache/devlake/helpers/migrationhelper",
+ "github.com/apache/devlake/core/models/migrationscripts/archived",
+ "github.com/apache/devlake/core/plugin",
+ "github.com/apache/devlake/helpers/pluginhelper/api",
},
- "package that allowed to be used in a migration script. e.g.: github.com/apache/incubator-devlake/core/context",
+ "package that allowed to be used in a migration script. e.g.: github.com/apache/devlake/core/context",
)
cmd.Run = func(cmd *cobra.Command, args []string) {
diff --git a/backend/core/migration/migrator.go b/backend/core/migration/migrator.go
index d60c9b8..d854035 100644
--- a/backend/core/migration/migrator.go
+++ b/backend/core/migration/migrator.go
@@ -19,10 +19,10 @@
import (
"fmt"
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- core "github.com/apache/incubator-devlake/core/log"
- "github.com/apache/incubator-devlake/core/plugin"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ core "github.com/apache/devlake/core/log"
+ "github.com/apache/devlake/core/plugin"
"sort"
"sync"
)
diff --git a/backend/core/migration/migrator_test.go b/backend/core/migration/migrator_test.go
index db662c4..284abcb 100644
--- a/backend/core/migration/migrator_test.go
+++ b/backend/core/migration/migrator_test.go
@@ -18,13 +18,13 @@
package migration
import (
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- plugin "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/unithelper"
- "github.com/apache/incubator-devlake/impls/context"
- mockdal "github.com/apache/incubator-devlake/mocks/core/dal"
- mockplugin "github.com/apache/incubator-devlake/mocks/core/plugin"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ plugin "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/unithelper"
+ "github.com/apache/devlake/impls/context"
+ mockdal "github.com/apache/devlake/mocks/core/dal"
+ mockplugin "github.com/apache/devlake/mocks/core/plugin"
"testing"
"time"
diff --git a/backend/core/models/api_key.go b/backend/core/models/api_key.go
index 6484e78..f87014d 100644
--- a/backend/core/models/api_key.go
+++ b/backend/core/models/api_key.go
@@ -18,7 +18,7 @@
package models
import (
- "github.com/apache/incubator-devlake/core/models/common"
+ "github.com/apache/devlake/core/models/common"
"time"
)
diff --git a/backend/core/models/blueprint.go b/backend/core/models/blueprint.go
index a9b86d6..3c7dde2 100644
--- a/backend/core/models/blueprint.go
+++ b/backend/core/models/blueprint.go
@@ -20,7 +20,7 @@
import (
"time"
- "github.com/apache/incubator-devlake/core/models/common"
+ "github.com/apache/devlake/core/models/common"
)
const (
diff --git a/backend/core/models/common/base.go b/backend/core/models/common/base.go
index 6f3678f..f859970 100644
--- a/backend/core/models/common/base.go
+++ b/backend/core/models/common/base.go
@@ -20,7 +20,7 @@
import (
"time"
- "github.com/apache/incubator-devlake/core/dal"
+ "github.com/apache/devlake/core/dal"
)
const (
diff --git a/backend/core/models/common/cst_time_test.go b/backend/core/models/common/cst_time_test.go
index 97eace6..7624246 100644
--- a/backend/core/models/common/cst_time_test.go
+++ b/backend/core/models/common/cst_time_test.go
@@ -22,7 +22,7 @@
"testing"
"time"
- "github.com/apache/incubator-devlake/core/errors"
+ "github.com/apache/devlake/core/errors"
"github.com/stretchr/testify/assert"
)
diff --git a/backend/core/models/domainlayer/code/commit.go b/backend/core/models/domainlayer/code/commit.go
index ad8fe1b..79e3203 100644
--- a/backend/core/models/domainlayer/code/commit.go
+++ b/backend/core/models/domainlayer/code/commit.go
@@ -20,8 +20,8 @@
import (
"time"
- "github.com/apache/incubator-devlake/core/models/common"
- "github.com/apache/incubator-devlake/core/models/domainlayer"
+ "github.com/apache/devlake/core/models/common"
+ "github.com/apache/devlake/core/models/domainlayer"
)
type Commit struct {
diff --git a/backend/core/models/domainlayer/code/commit_parent.go b/backend/core/models/domainlayer/code/commit_parent.go
index ebdb888..fe45c91 100644
--- a/backend/core/models/domainlayer/code/commit_parent.go
+++ b/backend/core/models/domainlayer/code/commit_parent.go
@@ -18,7 +18,7 @@
package code
import (
- "github.com/apache/incubator-devlake/core/models/common"
+ "github.com/apache/devlake/core/models/common"
)
type CommitParent struct {
diff --git a/backend/core/models/domainlayer/code/pull_request.go b/backend/core/models/domainlayer/code/pull_request.go
index d659a5f..e8517e7 100644
--- a/backend/core/models/domainlayer/code/pull_request.go
+++ b/backend/core/models/domainlayer/code/pull_request.go
@@ -19,10 +19,10 @@
import (
"fmt"
- "github.com/apache/incubator-devlake/core/models/domainlayer/ticket"
+ "github.com/apache/devlake/core/models/domainlayer/ticket"
"time"
- "github.com/apache/incubator-devlake/core/models/domainlayer"
+ "github.com/apache/devlake/core/models/domainlayer"
)
const (
diff --git a/backend/core/models/domainlayer/code/pull_request_assignees.go b/backend/core/models/domainlayer/code/pull_request_assignees.go
index 662ec9f..d64330a 100644
--- a/backend/core/models/domainlayer/code/pull_request_assignees.go
+++ b/backend/core/models/domainlayer/code/pull_request_assignees.go
@@ -18,7 +18,7 @@
package code
import (
- "github.com/apache/incubator-devlake/core/models/common"
+ "github.com/apache/devlake/core/models/common"
)
type PullRequestAssignee struct {
diff --git a/backend/core/models/domainlayer/code/pull_request_comment.go b/backend/core/models/domainlayer/code/pull_request_comment.go
index bfe0db1..b9a424b 100644
--- a/backend/core/models/domainlayer/code/pull_request_comment.go
+++ b/backend/core/models/domainlayer/code/pull_request_comment.go
@@ -20,7 +20,7 @@
import (
"time"
- "github.com/apache/incubator-devlake/core/models/domainlayer"
+ "github.com/apache/devlake/core/models/domainlayer"
)
type PullRequestComment struct {
diff --git a/backend/core/models/domainlayer/code/pull_request_commit.go b/backend/core/models/domainlayer/code/pull_request_commit.go
index af82d72..48a56a7 100644
--- a/backend/core/models/domainlayer/code/pull_request_commit.go
+++ b/backend/core/models/domainlayer/code/pull_request_commit.go
@@ -20,7 +20,7 @@
import (
"time"
- "github.com/apache/incubator-devlake/core/models/common"
+ "github.com/apache/devlake/core/models/common"
)
type PullRequestCommit struct {
diff --git a/backend/core/models/domainlayer/code/pull_request_labels.go b/backend/core/models/domainlayer/code/pull_request_labels.go
index fba67da..99914bb 100644
--- a/backend/core/models/domainlayer/code/pull_request_labels.go
+++ b/backend/core/models/domainlayer/code/pull_request_labels.go
@@ -18,7 +18,7 @@
package code
import (
- "github.com/apache/incubator-devlake/core/models/common"
+ "github.com/apache/devlake/core/models/common"
)
// Please note that Issue Labels can also apply to Pull Requests.
diff --git a/backend/core/models/domainlayer/code/pull_request_reviewers.go b/backend/core/models/domainlayer/code/pull_request_reviewers.go
index 8d99664..016e615 100644
--- a/backend/core/models/domainlayer/code/pull_request_reviewers.go
+++ b/backend/core/models/domainlayer/code/pull_request_reviewers.go
@@ -18,7 +18,7 @@
package code
import (
- "github.com/apache/incubator-devlake/core/models/common"
+ "github.com/apache/devlake/core/models/common"
)
type PullRequestReviewer struct {
diff --git a/backend/core/models/domainlayer/code/ref.go b/backend/core/models/domainlayer/code/ref.go
index 906eec4..981ccf1 100644
--- a/backend/core/models/domainlayer/code/ref.go
+++ b/backend/core/models/domainlayer/code/ref.go
@@ -20,7 +20,7 @@
import (
"time"
- "github.com/apache/incubator-devlake/core/models/domainlayer"
+ "github.com/apache/devlake/core/models/domainlayer"
)
type Ref struct {
diff --git a/backend/core/models/domainlayer/code/refs_pr_cherry_pick.go b/backend/core/models/domainlayer/code/refs_pr_cherry_pick.go
index 408dd01..fa96bfe 100644
--- a/backend/core/models/domainlayer/code/refs_pr_cherry_pick.go
+++ b/backend/core/models/domainlayer/code/refs_pr_cherry_pick.go
@@ -18,7 +18,7 @@
package code
import (
- "github.com/apache/incubator-devlake/core/models/common"
+ "github.com/apache/devlake/core/models/common"
)
// multi pk
diff --git a/backend/core/models/domainlayer/code/repo.go b/backend/core/models/domainlayer/code/repo.go
index f6ad9fa..dfcde63 100644
--- a/backend/core/models/domainlayer/code/repo.go
+++ b/backend/core/models/domainlayer/code/repo.go
@@ -18,8 +18,8 @@
package code
import (
- "github.com/apache/incubator-devlake/core/models/domainlayer"
- "github.com/apache/incubator-devlake/core/plugin"
+ "github.com/apache/devlake/core/models/domainlayer"
+ "github.com/apache/devlake/core/plugin"
"time"
)
diff --git a/backend/core/models/domainlayer/code/repo_commit.go b/backend/core/models/domainlayer/code/repo_commit.go
index 66ad668..41e007b 100644
--- a/backend/core/models/domainlayer/code/repo_commit.go
+++ b/backend/core/models/domainlayer/code/repo_commit.go
@@ -18,7 +18,7 @@
package code
import (
- "github.com/apache/incubator-devlake/core/models/common"
+ "github.com/apache/devlake/core/models/common"
)
type RepoCommit struct {
diff --git a/backend/core/models/domainlayer/codequality/cq_file_metrics.go b/backend/core/models/domainlayer/codequality/cq_file_metrics.go
index dc06923..2ed87b4 100644
--- a/backend/core/models/domainlayer/codequality/cq_file_metrics.go
+++ b/backend/core/models/domainlayer/codequality/cq_file_metrics.go
@@ -18,7 +18,7 @@
package codequality
import (
- "github.com/apache/incubator-devlake/core/models/domainlayer"
+ "github.com/apache/devlake/core/models/domainlayer"
)
type CqFileMetrics struct {
diff --git a/backend/core/models/domainlayer/codequality/cq_issue_code_blocks.go b/backend/core/models/domainlayer/codequality/cq_issue_code_blocks.go
index c522fc5..ec2d434 100644
--- a/backend/core/models/domainlayer/codequality/cq_issue_code_blocks.go
+++ b/backend/core/models/domainlayer/codequality/cq_issue_code_blocks.go
@@ -17,7 +17,7 @@
package codequality
-import "github.com/apache/incubator-devlake/core/models/domainlayer"
+import "github.com/apache/devlake/core/models/domainlayer"
type CqIssueCodeBlock struct {
domainlayer.DomainEntity
diff --git a/backend/core/models/domainlayer/codequality/cq_issues.go b/backend/core/models/domainlayer/codequality/cq_issues.go
index 4441eb1..279787a 100644
--- a/backend/core/models/domainlayer/codequality/cq_issues.go
+++ b/backend/core/models/domainlayer/codequality/cq_issues.go
@@ -18,8 +18,8 @@
package codequality
import (
- "github.com/apache/incubator-devlake/core/models/common"
- "github.com/apache/incubator-devlake/core/models/domainlayer"
+ "github.com/apache/devlake/core/models/common"
+ "github.com/apache/devlake/core/models/domainlayer"
)
type CqIssue struct {
diff --git a/backend/core/models/domainlayer/codequality/cq_project_metrics_history.go b/backend/core/models/domainlayer/codequality/cq_project_metrics_history.go
index 90f64ce..56367c6 100644
--- a/backend/core/models/domainlayer/codequality/cq_project_metrics_history.go
+++ b/backend/core/models/domainlayer/codequality/cq_project_metrics_history.go
@@ -20,7 +20,7 @@
import (
"time"
- "github.com/apache/incubator-devlake/core/models/domainlayer"
+ "github.com/apache/devlake/core/models/domainlayer"
)
type CqProjectMetricsHistory struct {
diff --git a/backend/core/models/domainlayer/codequality/cq_projects.go b/backend/core/models/domainlayer/codequality/cq_projects.go
index d0f0be4..5a488a2 100644
--- a/backend/core/models/domainlayer/codequality/cq_projects.go
+++ b/backend/core/models/domainlayer/codequality/cq_projects.go
@@ -18,9 +18,9 @@
package codequality
import (
- "github.com/apache/incubator-devlake/core/models/common"
- "github.com/apache/incubator-devlake/core/models/domainlayer"
- "github.com/apache/incubator-devlake/core/plugin"
+ "github.com/apache/devlake/core/models/common"
+ "github.com/apache/devlake/core/models/domainlayer"
+ "github.com/apache/devlake/core/plugin"
)
var _ plugin.Scope = (*CqProject)(nil)
diff --git a/backend/core/models/domainlayer/crossdomain/account.go b/backend/core/models/domainlayer/crossdomain/account.go
index e8ae63a..fa3d893 100644
--- a/backend/core/models/domainlayer/crossdomain/account.go
+++ b/backend/core/models/domainlayer/crossdomain/account.go
@@ -20,7 +20,7 @@
import (
"time"
- "github.com/apache/incubator-devlake/core/models/domainlayer"
+ "github.com/apache/devlake/core/models/domainlayer"
)
type Account struct {
diff --git a/backend/core/models/domainlayer/crossdomain/board_repo.go b/backend/core/models/domainlayer/crossdomain/board_repo.go
index fd5d125..abf6c7e 100644
--- a/backend/core/models/domainlayer/crossdomain/board_repo.go
+++ b/backend/core/models/domainlayer/crossdomain/board_repo.go
@@ -18,7 +18,7 @@
package crossdomain
import (
- "github.com/apache/incubator-devlake/core/models/common"
+ "github.com/apache/devlake/core/models/common"
)
type BoardRepo struct {
diff --git a/backend/core/models/domainlayer/crossdomain/issue_commit.go b/backend/core/models/domainlayer/crossdomain/issue_commit.go
index 29cb6b8..253a647 100644
--- a/backend/core/models/domainlayer/crossdomain/issue_commit.go
+++ b/backend/core/models/domainlayer/crossdomain/issue_commit.go
@@ -18,7 +18,7 @@
package crossdomain
import (
- "github.com/apache/incubator-devlake/core/models/common"
+ "github.com/apache/devlake/core/models/common"
)
type IssueCommit struct {
diff --git a/backend/core/models/domainlayer/crossdomain/issue_repo_commits.go b/backend/core/models/domainlayer/crossdomain/issue_repo_commits.go
index 911c984..7c9bd24 100644
--- a/backend/core/models/domainlayer/crossdomain/issue_repo_commits.go
+++ b/backend/core/models/domainlayer/crossdomain/issue_repo_commits.go
@@ -18,7 +18,7 @@
package crossdomain
import (
- "github.com/apache/incubator-devlake/core/models/common"
+ "github.com/apache/devlake/core/models/common"
)
type IssueRepoCommit struct {
diff --git a/backend/core/models/domainlayer/crossdomain/project_incident_deployment_relationship.go b/backend/core/models/domainlayer/crossdomain/project_incident_deployment_relationship.go
index 755741c..72996ff 100644
--- a/backend/core/models/domainlayer/crossdomain/project_incident_deployment_relationship.go
+++ b/backend/core/models/domainlayer/crossdomain/project_incident_deployment_relationship.go
@@ -18,7 +18,7 @@
package crossdomain
import (
- "github.com/apache/incubator-devlake/core/models/domainlayer"
+ "github.com/apache/devlake/core/models/domainlayer"
)
type ProjectIncidentDeploymentRelationship struct {
diff --git a/backend/core/models/domainlayer/crossdomain/project_mapping.go b/backend/core/models/domainlayer/crossdomain/project_mapping.go
index 8834cd8..0a9acca 100644
--- a/backend/core/models/domainlayer/crossdomain/project_mapping.go
+++ b/backend/core/models/domainlayer/crossdomain/project_mapping.go
@@ -18,7 +18,7 @@
package crossdomain
import (
- "github.com/apache/incubator-devlake/core/models/common"
+ "github.com/apache/devlake/core/models/common"
)
type ProjectMapping struct {
diff --git a/backend/core/models/domainlayer/crossdomain/project_pr_metric.go b/backend/core/models/domainlayer/crossdomain/project_pr_metric.go
index 3ddafb2..e96e062 100644
--- a/backend/core/models/domainlayer/crossdomain/project_pr_metric.go
+++ b/backend/core/models/domainlayer/crossdomain/project_pr_metric.go
@@ -20,7 +20,7 @@
import (
"time"
- "github.com/apache/incubator-devlake/core/models/domainlayer"
+ "github.com/apache/devlake/core/models/domainlayer"
)
type ProjectPrMetric struct {
diff --git a/backend/core/models/domainlayer/crossdomain/pull_request_issue.go b/backend/core/models/domainlayer/crossdomain/pull_request_issue.go
index a336b4c..beab3ff 100644
--- a/backend/core/models/domainlayer/crossdomain/pull_request_issue.go
+++ b/backend/core/models/domainlayer/crossdomain/pull_request_issue.go
@@ -18,7 +18,7 @@
package crossdomain
import (
- "github.com/apache/incubator-devlake/core/models/common"
+ "github.com/apache/devlake/core/models/common"
)
type PullRequestIssue struct {
diff --git a/backend/core/models/domainlayer/crossdomain/refs_issues_diff.go b/backend/core/models/domainlayer/crossdomain/refs_issues_diff.go
index c62c3f7..2d6f171 100644
--- a/backend/core/models/domainlayer/crossdomain/refs_issues_diff.go
+++ b/backend/core/models/domainlayer/crossdomain/refs_issues_diff.go
@@ -18,7 +18,7 @@
package crossdomain
import (
- "github.com/apache/incubator-devlake/core/models/common"
+ "github.com/apache/devlake/core/models/common"
)
type RefsIssuesDiffs struct {
diff --git a/backend/core/models/domainlayer/crossdomain/team.go b/backend/core/models/domainlayer/crossdomain/team.go
index 96772b3..7db2b5a 100644
--- a/backend/core/models/domainlayer/crossdomain/team.go
+++ b/backend/core/models/domainlayer/crossdomain/team.go
@@ -18,7 +18,7 @@
package crossdomain
import (
- "github.com/apache/incubator-devlake/core/models/domainlayer"
+ "github.com/apache/devlake/core/models/domainlayer"
)
type Team struct {
diff --git a/backend/core/models/domainlayer/crossdomain/team_user.go b/backend/core/models/domainlayer/crossdomain/team_user.go
index d0687c1..a212721 100644
--- a/backend/core/models/domainlayer/crossdomain/team_user.go
+++ b/backend/core/models/domainlayer/crossdomain/team_user.go
@@ -18,7 +18,7 @@
package crossdomain
import (
- "github.com/apache/incubator-devlake/core/models/common"
+ "github.com/apache/devlake/core/models/common"
)
type TeamUser struct {
diff --git a/backend/core/models/domainlayer/crossdomain/user.go b/backend/core/models/domainlayer/crossdomain/user.go
index b41a4d4..2401e18 100644
--- a/backend/core/models/domainlayer/crossdomain/user.go
+++ b/backend/core/models/domainlayer/crossdomain/user.go
@@ -18,7 +18,7 @@
package crossdomain
import (
- "github.com/apache/incubator-devlake/core/models/domainlayer"
+ "github.com/apache/devlake/core/models/domainlayer"
)
type User struct {
diff --git a/backend/core/models/domainlayer/crossdomain/user_account.go b/backend/core/models/domainlayer/crossdomain/user_account.go
index d2838e9..9fe5397 100644
--- a/backend/core/models/domainlayer/crossdomain/user_account.go
+++ b/backend/core/models/domainlayer/crossdomain/user_account.go
@@ -18,7 +18,7 @@
package crossdomain
import (
- "github.com/apache/incubator-devlake/core/models/common"
+ "github.com/apache/devlake/core/models/common"
)
type UserAccount struct {
diff --git a/backend/core/models/domainlayer/devops/cicd_deployment.go b/backend/core/models/domainlayer/devops/cicd_deployment.go
index e1f9049..b29351f 100644
--- a/backend/core/models/domainlayer/devops/cicd_deployment.go
+++ b/backend/core/models/domainlayer/devops/cicd_deployment.go
@@ -18,7 +18,7 @@
package devops
import (
- "github.com/apache/incubator-devlake/core/models/domainlayer"
+ "github.com/apache/devlake/core/models/domainlayer"
)
type CICDDeployment struct {
diff --git a/backend/core/models/domainlayer/devops/cicd_deployment_commit.go b/backend/core/models/domainlayer/devops/cicd_deployment_commit.go
index 3bcce44..e1b1c98 100644
--- a/backend/core/models/domainlayer/devops/cicd_deployment_commit.go
+++ b/backend/core/models/domainlayer/devops/cicd_deployment_commit.go
@@ -18,7 +18,7 @@
package devops
import (
- "github.com/apache/incubator-devlake/core/models/domainlayer"
+ "github.com/apache/devlake/core/models/domainlayer"
)
type CicdDeploymentCommit struct {
diff --git a/backend/core/models/domainlayer/devops/cicd_pipeline.go b/backend/core/models/domainlayer/devops/cicd_pipeline.go
index 2ac969b..aaac0b4 100644
--- a/backend/core/models/domainlayer/devops/cicd_pipeline.go
+++ b/backend/core/models/domainlayer/devops/cicd_pipeline.go
@@ -22,7 +22,7 @@
"github.com/spf13/cast"
- "github.com/apache/incubator-devlake/core/models/domainlayer"
+ "github.com/apache/devlake/core/models/domainlayer"
)
type CICDPipeline struct {
diff --git a/backend/core/models/domainlayer/devops/cicd_pipeline_commmit.go b/backend/core/models/domainlayer/devops/cicd_pipeline_commmit.go
index bbf8f18..eb87667 100644
--- a/backend/core/models/domainlayer/devops/cicd_pipeline_commmit.go
+++ b/backend/core/models/domainlayer/devops/cicd_pipeline_commmit.go
@@ -18,7 +18,7 @@
package devops
import (
- "github.com/apache/incubator-devlake/core/models/common"
+ "github.com/apache/devlake/core/models/common"
)
type CiCDPipelineCommit struct {
diff --git a/backend/core/models/domainlayer/devops/cicd_release.go b/backend/core/models/domainlayer/devops/cicd_release.go
index d494278..7378c23 100644
--- a/backend/core/models/domainlayer/devops/cicd_release.go
+++ b/backend/core/models/domainlayer/devops/cicd_release.go
@@ -18,7 +18,7 @@
package devops
import (
- "github.com/apache/incubator-devlake/core/models/domainlayer"
+ "github.com/apache/devlake/core/models/domainlayer"
"time"
)
diff --git a/backend/core/models/domainlayer/devops/cicd_scope.go b/backend/core/models/domainlayer/devops/cicd_scope.go
index 5bfc7b6..ba0a766 100644
--- a/backend/core/models/domainlayer/devops/cicd_scope.go
+++ b/backend/core/models/domainlayer/devops/cicd_scope.go
@@ -20,8 +20,8 @@
import (
"time"
- "github.com/apache/incubator-devlake/core/models/domainlayer"
- plugin "github.com/apache/incubator-devlake/core/plugin"
+ "github.com/apache/devlake/core/models/domainlayer"
+ plugin "github.com/apache/devlake/core/plugin"
)
var _ plugin.Scope = (*CicdScope)(nil)
diff --git a/backend/core/models/domainlayer/devops/cicd_task.go b/backend/core/models/domainlayer/devops/cicd_task.go
index a32d062..2e5b732 100644
--- a/backend/core/models/domainlayer/devops/cicd_task.go
+++ b/backend/core/models/domainlayer/devops/cicd_task.go
@@ -18,7 +18,7 @@
package devops
import (
- "github.com/apache/incubator-devlake/core/models/domainlayer"
+ "github.com/apache/devlake/core/models/domainlayer"
)
const (
diff --git a/backend/core/models/domainlayer/didgen/domain_id_generator.go b/backend/core/models/domainlayer/didgen/domain_id_generator.go
index f8aca54..56e82d7 100644
--- a/backend/core/models/domainlayer/didgen/domain_id_generator.go
+++ b/backend/core/models/domainlayer/didgen/domain_id_generator.go
@@ -21,9 +21,9 @@
"fmt"
"reflect"
- "github.com/apache/incubator-devlake/core/errors"
- plugin "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/impls/dalgorm"
+ "github.com/apache/devlake/core/errors"
+ plugin "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/impls/dalgorm"
)
type DomainIdGenerator struct {
diff --git a/backend/core/models/domainlayer/didgen/domain_id_generator_test.go b/backend/core/models/domainlayer/didgen/domain_id_generator_test.go
index 1841f78..fdec8ab 100644
--- a/backend/core/models/domainlayer/didgen/domain_id_generator_test.go
+++ b/backend/core/models/domainlayer/didgen/domain_id_generator_test.go
@@ -19,8 +19,8 @@
import (
"context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
"testing"
"github.com/stretchr/testify/assert"
@@ -45,7 +45,7 @@
}
func (f *FooPlugin) RootPkgPath() string {
- return "github.com/apache/incubator-devlake"
+ return "github.com/apache/devlake"
}
func (f *FooPlugin) ApiResources() map[string]map[string]plugin.ApiResourceHandler {
diff --git a/backend/core/models/domainlayer/domaininfo/domaininfo.go b/backend/core/models/domainlayer/domaininfo/domaininfo.go
index b88289e..9ec05e7 100644
--- a/backend/core/models/domainlayer/domaininfo/domaininfo.go
+++ b/backend/core/models/domainlayer/domaininfo/domaininfo.go
@@ -18,13 +18,13 @@
package domaininfo
import (
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/models/domainlayer/code"
- "github.com/apache/incubator-devlake/core/models/domainlayer/codequality"
- "github.com/apache/incubator-devlake/core/models/domainlayer/crossdomain"
- "github.com/apache/incubator-devlake/core/models/domainlayer/devops"
- "github.com/apache/incubator-devlake/core/models/domainlayer/qa"
- "github.com/apache/incubator-devlake/core/models/domainlayer/ticket"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/models/domainlayer/code"
+ "github.com/apache/devlake/core/models/domainlayer/codequality"
+ "github.com/apache/devlake/core/models/domainlayer/crossdomain"
+ "github.com/apache/devlake/core/models/domainlayer/devops"
+ "github.com/apache/devlake/core/models/domainlayer/qa"
+ "github.com/apache/devlake/core/models/domainlayer/ticket"
)
func GetDomainTablesInfo() []dal.Tabler {
diff --git a/backend/core/models/domainlayer/domainlayer.go b/backend/core/models/domainlayer/domainlayer.go
index f11570d..e20d7db 100644
--- a/backend/core/models/domainlayer/domainlayer.go
+++ b/backend/core/models/domainlayer/domainlayer.go
@@ -18,7 +18,7 @@
package domainlayer
import (
- "github.com/apache/incubator-devlake/core/models/common"
+ "github.com/apache/devlake/core/models/common"
)
type DomainEntity struct {
diff --git a/backend/core/models/domainlayer/qa/qa_api.go b/backend/core/models/domainlayer/qa/qa_api.go
index faae195..4703d45 100644
--- a/backend/core/models/domainlayer/qa/qa_api.go
+++ b/backend/core/models/domainlayer/qa/qa_api.go
@@ -20,7 +20,7 @@
import (
"time"
- "github.com/apache/incubator-devlake/core/models/domainlayer"
+ "github.com/apache/devlake/core/models/domainlayer"
)
// QaApi represents a QA API in the domain layer
diff --git a/backend/core/models/domainlayer/qa/qa_project.go b/backend/core/models/domainlayer/qa/qa_project.go
index 09f0274..4d2f666 100644
--- a/backend/core/models/domainlayer/qa/qa_project.go
+++ b/backend/core/models/domainlayer/qa/qa_project.go
@@ -18,7 +18,7 @@
package qa
import (
- "github.com/apache/incubator-devlake/core/models/domainlayer"
+ "github.com/apache/devlake/core/models/domainlayer"
)
// QaProject represents a QA project in the domain layer
diff --git a/backend/core/models/domainlayer/qa/qa_test_case.go b/backend/core/models/domainlayer/qa/qa_test_case.go
index ed6dcb1..c2ef72b 100644
--- a/backend/core/models/domainlayer/qa/qa_test_case.go
+++ b/backend/core/models/domainlayer/qa/qa_test_case.go
@@ -20,7 +20,7 @@
import (
"time"
- "github.com/apache/incubator-devlake/core/models/domainlayer"
+ "github.com/apache/devlake/core/models/domainlayer"
)
// QaTestCase represents a QA test case in the domain layer
diff --git a/backend/core/models/domainlayer/qa/qa_test_case_execution.go b/backend/core/models/domainlayer/qa/qa_test_case_execution.go
index aaf237b..d3357de 100644
--- a/backend/core/models/domainlayer/qa/qa_test_case_execution.go
+++ b/backend/core/models/domainlayer/qa/qa_test_case_execution.go
@@ -20,7 +20,7 @@
import (
"time"
- "github.com/apache/incubator-devlake/core/models/domainlayer"
+ "github.com/apache/devlake/core/models/domainlayer"
)
// QaTestCaseExecution represents a QA test case execution in the domain layer
diff --git a/backend/core/models/domainlayer/ticket/board.go b/backend/core/models/domainlayer/ticket/board.go
index 0d7babe..4868d9f 100644
--- a/backend/core/models/domainlayer/ticket/board.go
+++ b/backend/core/models/domainlayer/ticket/board.go
@@ -18,9 +18,9 @@
package ticket
import (
- "github.com/apache/incubator-devlake/core/models/common"
- "github.com/apache/incubator-devlake/core/models/domainlayer"
- plugin "github.com/apache/incubator-devlake/core/plugin"
+ "github.com/apache/devlake/core/models/common"
+ "github.com/apache/devlake/core/models/domainlayer"
+ plugin "github.com/apache/devlake/core/plugin"
"time"
)
diff --git a/backend/core/models/domainlayer/ticket/board_issue.go b/backend/core/models/domainlayer/ticket/board_issue.go
index ac565a2..522a79e 100644
--- a/backend/core/models/domainlayer/ticket/board_issue.go
+++ b/backend/core/models/domainlayer/ticket/board_issue.go
@@ -18,7 +18,7 @@
package ticket
import (
- "github.com/apache/incubator-devlake/core/models/common"
+ "github.com/apache/devlake/core/models/common"
)
type BoardIssue struct {
diff --git a/backend/core/models/domainlayer/ticket/incident.go b/backend/core/models/domainlayer/ticket/incident.go
index 3f71575..a1e0366 100644
--- a/backend/core/models/domainlayer/ticket/incident.go
+++ b/backend/core/models/domainlayer/ticket/incident.go
@@ -18,7 +18,7 @@
package ticket
import (
- "github.com/apache/incubator-devlake/core/models/domainlayer"
+ "github.com/apache/devlake/core/models/domainlayer"
"time"
)
diff --git a/backend/core/models/domainlayer/ticket/incident_assginee.go b/backend/core/models/domainlayer/ticket/incident_assginee.go
index d4e16c9..1688f97 100644
--- a/backend/core/models/domainlayer/ticket/incident_assginee.go
+++ b/backend/core/models/domainlayer/ticket/incident_assginee.go
@@ -17,7 +17,7 @@
package ticket
-import "github.com/apache/incubator-devlake/core/models/common"
+import "github.com/apache/devlake/core/models/common"
type IncidentAssignee struct {
IncidentId string `gorm:"primaryKey;type:varchar(255)"`
diff --git a/backend/core/models/domainlayer/ticket/issue.go b/backend/core/models/domainlayer/ticket/issue.go
index 1f8a95b..f58ac80 100644
--- a/backend/core/models/domainlayer/ticket/issue.go
+++ b/backend/core/models/domainlayer/ticket/issue.go
@@ -20,7 +20,7 @@
import (
"time"
- "github.com/apache/incubator-devlake/core/models/domainlayer"
+ "github.com/apache/devlake/core/models/domainlayer"
)
type Issue struct {
diff --git a/backend/core/models/domainlayer/ticket/issue_assignee.go b/backend/core/models/domainlayer/ticket/issue_assignee.go
index 1ad9824..b72f23c 100644
--- a/backend/core/models/domainlayer/ticket/issue_assignee.go
+++ b/backend/core/models/domainlayer/ticket/issue_assignee.go
@@ -17,7 +17,7 @@
package ticket
-import "github.com/apache/incubator-devlake/core/models/common"
+import "github.com/apache/devlake/core/models/common"
type IssueAssignee struct {
IssueId string `gorm:"primaryKey;type:varchar(255)"`
diff --git a/backend/core/models/domainlayer/ticket/issue_changelog.go b/backend/core/models/domainlayer/ticket/issue_changelog.go
index 92ab027..27be308 100644
--- a/backend/core/models/domainlayer/ticket/issue_changelog.go
+++ b/backend/core/models/domainlayer/ticket/issue_changelog.go
@@ -18,7 +18,7 @@
package ticket
import (
- "github.com/apache/incubator-devlake/core/models/domainlayer"
+ "github.com/apache/devlake/core/models/domainlayer"
"time"
)
diff --git a/backend/core/models/domainlayer/ticket/issue_comment.go b/backend/core/models/domainlayer/ticket/issue_comment.go
index d510022..1cdea2d 100644
--- a/backend/core/models/domainlayer/ticket/issue_comment.go
+++ b/backend/core/models/domainlayer/ticket/issue_comment.go
@@ -20,7 +20,7 @@
import (
"time"
- "github.com/apache/incubator-devlake/core/models/domainlayer"
+ "github.com/apache/devlake/core/models/domainlayer"
)
type IssueComment struct {
diff --git a/backend/core/models/domainlayer/ticket/issue_custom_array_fields.go b/backend/core/models/domainlayer/ticket/issue_custom_array_fields.go
index 16b7844..eb55f36 100644
--- a/backend/core/models/domainlayer/ticket/issue_custom_array_fields.go
+++ b/backend/core/models/domainlayer/ticket/issue_custom_array_fields.go
@@ -17,7 +17,7 @@
package ticket
-import "github.com/apache/incubator-devlake/core/models/common"
+import "github.com/apache/devlake/core/models/common"
type IssueCustomArrayField struct {
IssueId string `gorm:"primaryKey;type:varchar(255)"`
diff --git a/backend/core/models/domainlayer/ticket/issue_label.go b/backend/core/models/domainlayer/ticket/issue_label.go
index 183efc3..fb7e3f1 100644
--- a/backend/core/models/domainlayer/ticket/issue_label.go
+++ b/backend/core/models/domainlayer/ticket/issue_label.go
@@ -18,7 +18,7 @@
package ticket
import (
- "github.com/apache/incubator-devlake/core/models/common"
+ "github.com/apache/devlake/core/models/common"
)
// Please note that Issue Labels can also apply to Pull Requests.
diff --git a/backend/core/models/domainlayer/ticket/issue_relationship.go b/backend/core/models/domainlayer/ticket/issue_relationship.go
index b7ad071..7816b4e 100644
--- a/backend/core/models/domainlayer/ticket/issue_relationship.go
+++ b/backend/core/models/domainlayer/ticket/issue_relationship.go
@@ -17,7 +17,7 @@
package ticket
-import "github.com/apache/incubator-devlake/core/models/common"
+import "github.com/apache/devlake/core/models/common"
type IssueRelationship struct {
SourceIssueId string `gorm:"primaryKey;type:varchar(255);index"`
diff --git a/backend/core/models/domainlayer/ticket/sprint.go b/backend/core/models/domainlayer/ticket/sprint.go
index 47d1c2b..c70cac3 100644
--- a/backend/core/models/domainlayer/ticket/sprint.go
+++ b/backend/core/models/domainlayer/ticket/sprint.go
@@ -20,8 +20,8 @@
import (
"time"
- "github.com/apache/incubator-devlake/core/models/common"
- "github.com/apache/incubator-devlake/core/models/domainlayer"
+ "github.com/apache/devlake/core/models/common"
+ "github.com/apache/devlake/core/models/domainlayer"
)
var (
diff --git a/backend/core/models/domainlayer/ticket/worklog.go b/backend/core/models/domainlayer/ticket/worklog.go
index 239133d..a795b8b 100644
--- a/backend/core/models/domainlayer/ticket/worklog.go
+++ b/backend/core/models/domainlayer/ticket/worklog.go
@@ -18,7 +18,7 @@
package ticket
import (
- "github.com/apache/incubator-devlake/core/models/domainlayer"
+ "github.com/apache/devlake/core/models/domainlayer"
"time"
)
diff --git a/backend/core/models/dynamic_tabler.go b/backend/core/models/dynamic_tabler.go
index bd3c6c4..40186fe 100644
--- a/backend/core/models/dynamic_tabler.go
+++ b/backend/core/models/dynamic_tabler.go
@@ -21,9 +21,9 @@
"encoding/json"
"reflect"
- "github.com/apache/incubator-devlake/core/errors"
+ "github.com/apache/devlake/core/errors"
- "github.com/apache/incubator-devlake/core/dal"
+ "github.com/apache/devlake/core/dal"
)
// DynamicTabler is a core.Tabler that wraps a runtime (anonymously) generated data-model. Due to limitations of
diff --git a/backend/core/models/migrationscripts/20220406_add_frame_tables.go b/backend/core/models/migrationscripts/20220406_add_frame_tables.go
index 11e2a8e..e89a31f 100644
--- a/backend/core/models/migrationscripts/20220406_add_frame_tables.go
+++ b/backend/core/models/migrationscripts/20220406_add_frame_tables.go
@@ -18,11 +18,11 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/migrationhelper"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/migrationhelper"
)
var _ plugin.MigrationScript = (*addFrameworkTables)(nil)
diff --git a/backend/core/models/migrationscripts/20220505_rename_pipeline_step_to_stage.go b/backend/core/models/migrationscripts/20220505_rename_pipeline_step_to_stage.go
index 1abe918..4ce4c2e 100644
--- a/backend/core/models/migrationscripts/20220505_rename_pipeline_step_to_stage.go
+++ b/backend/core/models/migrationscripts/20220505_rename_pipeline_step_to_stage.go
@@ -18,9 +18,9 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
)
var _ plugin.MigrationScript = (*renamePipelineStepToStage)(nil)
diff --git a/backend/core/models/migrationscripts/20220601_add_subtasks_to_task_table.go b/backend/core/models/migrationscripts/20220601_add_subtasks_to_task_table.go
index 859b07e..869f300 100644
--- a/backend/core/models/migrationscripts/20220601_add_subtasks_to_task_table.go
+++ b/backend/core/models/migrationscripts/20220601_add_subtasks_to_task_table.go
@@ -19,9 +19,9 @@
import (
"encoding/json"
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
)
var _ plugin.MigrationScript = (*addSubtaskToTaskTable)(nil)
diff --git a/backend/core/models/migrationscripts/20220616_add_blueprint_mode.go b/backend/core/models/migrationscripts/20220616_add_blueprint_mode.go
index 6a07025..2941740 100644
--- a/backend/core/models/migrationscripts/20220616_add_blueprint_mode.go
+++ b/backend/core/models/migrationscripts/20220616_add_blueprint_mode.go
@@ -18,10 +18,10 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
)
var _ plugin.MigrationScript = (*addBlueprintMode)(nil)
diff --git a/backend/core/models/migrationscripts/20220622_rename_tasks_to_plan.go b/backend/core/models/migrationscripts/20220622_rename_tasks_to_plan.go
index cdf42a4..b398100 100644
--- a/backend/core/models/migrationscripts/20220622_rename_tasks_to_plan.go
+++ b/backend/core/models/migrationscripts/20220622_rename_tasks_to_plan.go
@@ -19,9 +19,9 @@
import (
"encoding/json"
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
)
var _ plugin.MigrationScript = (*renameTasksToPlan)(nil)
diff --git a/backend/core/models/migrationscripts/20220707_reset_domain_tables.go b/backend/core/models/migrationscripts/20220707_reset_domain_tables.go
index c4bb28f..0cab372 100644
--- a/backend/core/models/migrationscripts/20220707_reset_domain_tables.go
+++ b/backend/core/models/migrationscripts/20220707_reset_domain_tables.go
@@ -18,11 +18,11 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/migrationhelper"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/migrationhelper"
)
var _ plugin.MigrationScript = (*resetDomainTables)(nil)
diff --git a/backend/core/models/migrationscripts/20220711_add_subtasks_table.go b/backend/core/models/migrationscripts/20220711_add_subtasks_table.go
index 3d745e3..51e99bc 100644
--- a/backend/core/models/migrationscripts/20220711_add_subtasks_table.go
+++ b/backend/core/models/migrationscripts/20220711_add_subtasks_table.go
@@ -18,10 +18,10 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- commonArchived "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
- "github.com/apache/incubator-devlake/core/plugin"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ commonArchived "github.com/apache/devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/plugin"
"time"
)
diff --git a/backend/core/models/migrationscripts/20220722_commitfile_component.go b/backend/core/models/migrationscripts/20220722_commitfile_component.go
index 14dcb06..f94b9c7 100644
--- a/backend/core/models/migrationscripts/20220722_commitfile_component.go
+++ b/backend/core/models/migrationscripts/20220722_commitfile_component.go
@@ -18,11 +18,11 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/migrationhelper"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/migrationhelper"
)
var _ plugin.MigrationScript = (*addCommitFileComponent)(nil)
diff --git a/backend/core/models/migrationscripts/20220725_add_project_mapping_table.go b/backend/core/models/migrationscripts/20220725_add_project_mapping_table.go
index 51073de..7ba5a5d 100644
--- a/backend/core/models/migrationscripts/20220725_add_project_mapping_table.go
+++ b/backend/core/models/migrationscripts/20220725_add_project_mapping_table.go
@@ -18,10 +18,10 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
- "github.com/apache/incubator-devlake/core/plugin"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/plugin"
)
var _ plugin.MigrationScript = (*addProjectMapping)(nil)
diff --git a/backend/core/models/migrationscripts/20220727_remove_notes.go b/backend/core/models/migrationscripts/20220727_remove_notes.go
index bf17314..0da3bb3 100644
--- a/backend/core/models/migrationscripts/20220727_remove_notes.go
+++ b/backend/core/models/migrationscripts/20220727_remove_notes.go
@@ -18,10 +18,10 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
- "github.com/apache/incubator-devlake/core/plugin"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/plugin"
)
var _ plugin.MigrationScript = (*removeNotes)(nil)
diff --git a/backend/core/models/migrationscripts/20220729_rename_columns_of_pull_request_issues.go b/backend/core/models/migrationscripts/20220729_rename_columns_of_pull_request_issues.go
index 6dd79b7..6358fb0 100644
--- a/backend/core/models/migrationscripts/20220729_rename_columns_of_pull_request_issues.go
+++ b/backend/core/models/migrationscripts/20220729_rename_columns_of_pull_request_issues.go
@@ -18,9 +18,9 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
)
var _ plugin.MigrationScript = (*renameColumnsOfPullRequestIssue)(nil)
diff --git a/backend/core/models/migrationscripts/20220801_add_nopkmodel_to_commit_parent.go b/backend/core/models/migrationscripts/20220801_add_nopkmodel_to_commit_parent.go
index 6e2b48c..9d5fca1 100644
--- a/backend/core/models/migrationscripts/20220801_add_nopkmodel_to_commit_parent.go
+++ b/backend/core/models/migrationscripts/20220801_add_nopkmodel_to_commit_parent.go
@@ -18,10 +18,10 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
- "github.com/apache/incubator-devlake/core/plugin"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/plugin"
)
var _ plugin.MigrationScript = (*addNoPKModelToCommitParent)(nil)
diff --git a/backend/core/models/migrationscripts/20220818_add_cicd_tables.go b/backend/core/models/migrationscripts/20220818_add_cicd_tables.go
index a2cf8db..5195101 100644
--- a/backend/core/models/migrationscripts/20220818_add_cicd_tables.go
+++ b/backend/core/models/migrationscripts/20220818_add_cicd_tables.go
@@ -18,11 +18,11 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/migrationhelper"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/migrationhelper"
"time"
)
diff --git a/backend/core/models/migrationscripts/20220826_rename_columns_of_pr_comment_issue_comment.go b/backend/core/models/migrationscripts/20220826_rename_columns_of_pr_comment_issue_comment.go
index 09bea22..98bdd44 100644
--- a/backend/core/models/migrationscripts/20220826_rename_columns_of_pr_comment_issue_comment.go
+++ b/backend/core/models/migrationscripts/20220826_rename_columns_of_pr_comment_issue_comment.go
@@ -18,9 +18,9 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
)
var _ plugin.MigrationScript = (*renameColumnsOfPrCommentIssueComment)(nil)
diff --git a/backend/core/models/migrationscripts/20220829_modify_tables_for_dora.go b/backend/core/models/migrationscripts/20220829_modify_tables_for_dora.go
index d0d3fbe..7ebc466 100644
--- a/backend/core/models/migrationscripts/20220829_modify_tables_for_dora.go
+++ b/backend/core/models/migrationscripts/20220829_modify_tables_for_dora.go
@@ -18,10 +18,10 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/migrationhelper"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/migrationhelper"
)
var _ plugin.MigrationScript = (*modifyTablesForDora)(nil)
diff --git a/backend/core/models/migrationscripts/20220830_add_type_field_in_board.go b/backend/core/models/migrationscripts/20220830_add_type_field_in_board.go
index 188a66e..1162c55 100644
--- a/backend/core/models/migrationscripts/20220830_add_type_field_in_board.go
+++ b/backend/core/models/migrationscripts/20220830_add_type_field_in_board.go
@@ -18,9 +18,9 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
)
var _ plugin.MigrationScript = (*addTypeToBoard)(nil)
diff --git a/backend/core/models/migrationscripts/20220903_encrypt_blueprint.go b/backend/core/models/migrationscripts/20220903_encrypt_blueprint.go
index 187e9b8..9bb7fd6 100644
--- a/backend/core/models/migrationscripts/20220903_encrypt_blueprint.go
+++ b/backend/core/models/migrationscripts/20220903_encrypt_blueprint.go
@@ -18,11 +18,11 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/migrationhelper"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/migrationhelper"
)
var _ plugin.MigrationScript = (*encryptBlueprint)(nil)
diff --git a/backend/core/models/migrationscripts/20220904_encrypt_pipeline.go b/backend/core/models/migrationscripts/20220904_encrypt_pipeline.go
index 48b64ae..2ea496b 100644
--- a/backend/core/models/migrationscripts/20220904_encrypt_pipeline.go
+++ b/backend/core/models/migrationscripts/20220904_encrypt_pipeline.go
@@ -18,11 +18,11 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/migrationhelper"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/migrationhelper"
)
var _ plugin.MigrationScript = (*encryptPipeline)(nil)
diff --git a/backend/core/models/migrationscripts/20220905_modify_cicd_pipeline.go b/backend/core/models/migrationscripts/20220905_modify_cicd_pipeline.go
index 204b421..f33259d 100644
--- a/backend/core/models/migrationscripts/20220905_modify_cicd_pipeline.go
+++ b/backend/core/models/migrationscripts/20220905_modify_cicd_pipeline.go
@@ -18,10 +18,10 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
- "github.com/apache/incubator-devlake/core/plugin"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/plugin"
)
var _ plugin.MigrationScript = (*modifyCicdPipeline)(nil)
diff --git a/backend/core/models/migrationscripts/20220908_modify_cicd_tasks.go b/backend/core/models/migrationscripts/20220908_modify_cicd_tasks.go
index 84b8eea..9621740 100644
--- a/backend/core/models/migrationscripts/20220908_modify_cicd_tasks.go
+++ b/backend/core/models/migrationscripts/20220908_modify_cicd_tasks.go
@@ -18,9 +18,9 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
)
var _ plugin.MigrationScript = (*modifyCICDTasks)(nil)
diff --git a/backend/core/models/migrationscripts/20220913_add_origin_value_for_pr.go b/backend/core/models/migrationscripts/20220913_add_origin_value_for_pr.go
index 652babe..888b802 100644
--- a/backend/core/models/migrationscripts/20220913_add_origin_value_for_pr.go
+++ b/backend/core/models/migrationscripts/20220913_add_origin_value_for_pr.go
@@ -18,9 +18,9 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
)
var _ plugin.MigrationScript = (*addOriginChangeValueForPr)(nil)
diff --git a/backend/core/models/migrationscripts/20220913_add_raw_data_origin_to_board_repos.go b/backend/core/models/migrationscripts/20220913_add_raw_data_origin_to_board_repos.go
index 5e92aa2..b24044a 100644
--- a/backend/core/models/migrationscripts/20220913_add_raw_data_origin_to_board_repos.go
+++ b/backend/core/models/migrationscripts/20220913_add_raw_data_origin_to_board_repos.go
@@ -18,10 +18,10 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
- "github.com/apache/incubator-devlake/core/plugin"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/plugin"
)
var _ plugin.MigrationScript = (*addRawDataOriginToBoardRepos)(nil)
diff --git a/backend/core/models/migrationscripts/20220913_fix_commitfile_id_toolong.go b/backend/core/models/migrationscripts/20220913_fix_commitfile_id_toolong.go
index 5ce5969..c0295e9 100644
--- a/backend/core/models/migrationscripts/20220913_fix_commitfile_id_toolong.go
+++ b/backend/core/models/migrationscripts/20220913_fix_commitfile_id_toolong.go
@@ -20,11 +20,11 @@
import (
"crypto/sha256"
"encoding/hex"
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/migrationhelper"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/migrationhelper"
"strings"
)
diff --git a/backend/core/models/migrationscripts/20220915_rename_pipeline_commits.go b/backend/core/models/migrationscripts/20220915_rename_pipeline_commits.go
index 8065c21..3f231e3 100644
--- a/backend/core/models/migrationscripts/20220915_rename_pipeline_commits.go
+++ b/backend/core/models/migrationscripts/20220915_rename_pipeline_commits.go
@@ -18,10 +18,10 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
- "github.com/apache/incubator-devlake/core/plugin"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/plugin"
)
var _ plugin.MigrationScript = (*renamePipelineCommits)(nil)
diff --git a/backend/core/models/migrationscripts/20220918_commit_line_change.go b/backend/core/models/migrationscripts/20220918_commit_line_change.go
index d6dcdc4..f8913f4 100644
--- a/backend/core/models/migrationscripts/20220918_commit_line_change.go
+++ b/backend/core/models/migrationscripts/20220918_commit_line_change.go
@@ -18,10 +18,10 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
- "github.com/apache/incubator-devlake/core/plugin"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/plugin"
)
var _ plugin.MigrationScript = (*commitLineChange)(nil)
diff --git a/backend/core/models/migrationscripts/20220927_add_snapshot.go b/backend/core/models/migrationscripts/20220927_add_snapshot.go
index 02f06d9..7dd7746 100644
--- a/backend/core/models/migrationscripts/20220927_add_snapshot.go
+++ b/backend/core/models/migrationscripts/20220927_add_snapshot.go
@@ -18,10 +18,10 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
- "github.com/apache/incubator-devlake/core/plugin"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/plugin"
)
var _ plugin.MigrationScript = (*addRepoSnapshot)(nil)
diff --git a/backend/core/models/migrationscripts/20220929_change_leadtimeminutes_to_int64.go b/backend/core/models/migrationscripts/20220929_change_leadtimeminutes_to_int64.go
index 6bed920..47fc693 100644
--- a/backend/core/models/migrationscripts/20220929_change_leadtimeminutes_to_int64.go
+++ b/backend/core/models/migrationscripts/20220929_change_leadtimeminutes_to_int64.go
@@ -18,11 +18,11 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/migrationhelper"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/migrationhelper"
)
var _ plugin.MigrationScript = (*changeLeadTimeMinutesToInt64)(nil)
@@ -40,7 +40,7 @@
func (script *changeLeadTimeMinutesToInt64) Up(basicRes context.BasicRes) errors.Error {
// Yes, issues.lead_time_minutes might be negative, we ought to change the type
// for the column from `uint` to `int64`
- // related issue: https://github.com/apache/incubator-devlake/issues/3224
+ // related issue: https://github.com/apache/devlake/issues/3224
db := basicRes.GetDal()
return migrationhelper.ChangeColumnsType[issues20220929](
basicRes,
diff --git a/backend/core/models/migrationscripts/20221101_add_collector_state.go b/backend/core/models/migrationscripts/20221101_add_collector_state.go
index 1a0d4aa..ac9171a 100644
--- a/backend/core/models/migrationscripts/20221101_add_collector_state.go
+++ b/backend/core/models/migrationscripts/20221101_add_collector_state.go
@@ -20,9 +20,9 @@
import (
"encoding/json"
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- commonArchived "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ commonArchived "github.com/apache/devlake/core/models/migrationscripts/archived"
)
type createCollectorState struct{}
diff --git a/backend/core/models/migrationscripts/20221107_add_skip_on_fail.go b/backend/core/models/migrationscripts/20221107_add_skip_on_fail.go
index 18d0e6a..eb5d7a3 100644
--- a/backend/core/models/migrationscripts/20221107_add_skip_on_fail.go
+++ b/backend/core/models/migrationscripts/20221107_add_skip_on_fail.go
@@ -18,10 +18,10 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/migrationhelper"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/migrationhelper"
)
var _ plugin.MigrationScript = (*addSkipOnFail)(nil)
diff --git a/backend/core/models/migrationscripts/20221107_remove_cicd_pipeline_relation.go b/backend/core/models/migrationscripts/20221107_remove_cicd_pipeline_relation.go
index 4bcb2e8..11f624b 100644
--- a/backend/core/models/migrationscripts/20221107_remove_cicd_pipeline_relation.go
+++ b/backend/core/models/migrationscripts/20221107_remove_cicd_pipeline_relation.go
@@ -18,8 +18,8 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
)
type removeCicdPipelineRelation struct{}
diff --git a/backend/core/models/migrationscripts/20221109_add_project_tables.go b/backend/core/models/migrationscripts/20221109_add_project_tables.go
index 04b90a1..b0bacb9 100644
--- a/backend/core/models/migrationscripts/20221109_add_project_tables.go
+++ b/backend/core/models/migrationscripts/20221109_add_project_tables.go
@@ -18,11 +18,11 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/migrationhelper"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/migrationhelper"
)
var _ plugin.MigrationScript = (*addProjectTables)(nil)
diff --git a/backend/core/models/migrationscripts/20221109_modify_commits_diffs.go b/backend/core/models/migrationscripts/20221109_modify_commits_diffs.go
index aba49d9..a2a12ac 100644
--- a/backend/core/models/migrationscripts/20221109_modify_commits_diffs.go
+++ b/backend/core/models/migrationscripts/20221109_modify_commits_diffs.go
@@ -18,10 +18,10 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/migrationhelper"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/migrationhelper"
)
var _ plugin.MigrationScript = (*modifyCommitsDiffs)(nil)
diff --git a/backend/core/models/migrationscripts/20221109_rename_project_metrics.go b/backend/core/models/migrationscripts/20221109_rename_project_metrics.go
index 206a2e6..b3668f9 100644
--- a/backend/core/models/migrationscripts/20221109_rename_project_metrics.go
+++ b/backend/core/models/migrationscripts/20221109_rename_project_metrics.go
@@ -18,9 +18,9 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
)
var _ plugin.MigrationScript = (*renameProjectMetrics)(nil)
diff --git a/backend/core/models/migrationscripts/20221111_add_project_pr_metric.go b/backend/core/models/migrationscripts/20221111_add_project_pr_metric.go
index 1ed1f9c..158f3f1 100644
--- a/backend/core/models/migrationscripts/20221111_add_project_pr_metric.go
+++ b/backend/core/models/migrationscripts/20221111_add_project_pr_metric.go
@@ -18,10 +18,10 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
- "github.com/apache/incubator-devlake/helpers/migrationhelper"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/helpers/migrationhelper"
)
type addProjectPrMetric struct{}
diff --git a/backend/core/models/migrationscripts/20221115_add_labels.go b/backend/core/models/migrationscripts/20221115_add_labels.go
index 3125a65..ca72c76 100644
--- a/backend/core/models/migrationscripts/20221115_add_labels.go
+++ b/backend/core/models/migrationscripts/20221115_add_labels.go
@@ -18,9 +18,9 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/helpers/migrationhelper"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/helpers/migrationhelper"
"time"
)
diff --git a/backend/core/models/migrationscripts/20221117_add_project_to_blueprint.go b/backend/core/models/migrationscripts/20221117_add_project_to_blueprint.go
index b391ecc..b9799de 100644
--- a/backend/core/models/migrationscripts/20221117_add_project_to_blueprint.go
+++ b/backend/core/models/migrationscripts/20221117_add_project_to_blueprint.go
@@ -18,10 +18,10 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
)
var _ plugin.MigrationScript = (*addProjectToBluePrint)(nil)
diff --git a/backend/core/models/migrationscripts/20221120_add_project_issue_metric.go b/backend/core/models/migrationscripts/20221120_add_project_issue_metric.go
index 621881d..59837cc 100644
--- a/backend/core/models/migrationscripts/20221120_add_project_issue_metric.go
+++ b/backend/core/models/migrationscripts/20221120_add_project_issue_metric.go
@@ -18,10 +18,10 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
- "github.com/apache/incubator-devlake/helpers/migrationhelper"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/helpers/migrationhelper"
)
type addProjectIssueMetric struct{}
diff --git a/backend/core/models/migrationscripts/20221125_add_collector_state.go b/backend/core/models/migrationscripts/20221125_add_collector_state.go
index f44bc0f..26417ae 100644
--- a/backend/core/models/migrationscripts/20221125_add_collector_state.go
+++ b/backend/core/models/migrationscripts/20221125_add_collector_state.go
@@ -18,10 +18,10 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
- "github.com/apache/incubator-devlake/helpers/migrationhelper"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/helpers/migrationhelper"
)
type addCollectorMeta20221125 struct{}
diff --git a/backend/core/models/migrationscripts/20221201_add_enable_to_project_metric.go b/backend/core/models/migrationscripts/20221201_add_enable_to_project_metric.go
index 39f8900..66e944f 100644
--- a/backend/core/models/migrationscripts/20221201_add_enable_to_project_metric.go
+++ b/backend/core/models/migrationscripts/20221201_add_enable_to_project_metric.go
@@ -18,10 +18,10 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
)
var _ plugin.MigrationScript = (*addProjectTables)(nil)
diff --git a/backend/core/models/migrationscripts/20221201_add_project_pr_metric.go b/backend/core/models/migrationscripts/20221201_add_project_pr_metric.go
index b4c8960..ba9b56b 100644
--- a/backend/core/models/migrationscripts/20221201_add_project_pr_metric.go
+++ b/backend/core/models/migrationscripts/20221201_add_project_pr_metric.go
@@ -18,10 +18,10 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
- "github.com/apache/incubator-devlake/helpers/migrationhelper"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/helpers/migrationhelper"
)
type renameFiledsInProjectPrMetric struct{}
diff --git a/backend/core/models/migrationscripts/20221207_add_cicd_scope_drop_builds_jobs.go b/backend/core/models/migrationscripts/20221207_add_cicd_scope_drop_builds_jobs.go
index 438991e..c35b0d7 100644
--- a/backend/core/models/migrationscripts/20221207_add_cicd_scope_drop_builds_jobs.go
+++ b/backend/core/models/migrationscripts/20221207_add_cicd_scope_drop_builds_jobs.go
@@ -18,10 +18,10 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
- "github.com/apache/incubator-devlake/helpers/migrationhelper"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/helpers/migrationhelper"
)
type addCicdScopeDropBuildsJobs struct{}
diff --git a/backend/core/models/migrationscripts/20221215_add_original_project_to_issues.go b/backend/core/models/migrationscripts/20221215_add_original_project_to_issues.go
index ef4f21a..f1d4c21 100644
--- a/backend/core/models/migrationscripts/20221215_add_original_project_to_issues.go
+++ b/backend/core/models/migrationscripts/20221215_add_original_project_to_issues.go
@@ -18,9 +18,9 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/helpers/migrationhelper"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/helpers/migrationhelper"
)
type issue20221215 struct {
diff --git a/backend/core/models/migrationscripts/20221221_add_error_name.go b/backend/core/models/migrationscripts/20221221_add_error_name.go
index 615c70a..49c1d5b 100644
--- a/backend/core/models/migrationscripts/20221221_add_error_name.go
+++ b/backend/core/models/migrationscripts/20221221_add_error_name.go
@@ -18,9 +18,9 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/helpers/migrationhelper"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/helpers/migrationhelper"
)
type pipeline20221221 struct {
diff --git a/backend/core/models/migrationscripts/20221221_encrypt_task.go b/backend/core/models/migrationscripts/20221221_encrypt_task.go
index 118ba94..10665aa 100644
--- a/backend/core/models/migrationscripts/20221221_encrypt_task.go
+++ b/backend/core/models/migrationscripts/20221221_encrypt_task.go
@@ -19,12 +19,12 @@
import (
"encoding/json"
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
- "github.com/apache/incubator-devlake/core/plugin"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/plugin"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/helpers/migrationhelper"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/helpers/migrationhelper"
)
var _ plugin.MigrationScript = (*encryptTask221221)(nil)
diff --git a/backend/core/models/migrationscripts/20221230_add_original_type_to_issue.go b/backend/core/models/migrationscripts/20221230_add_original_type_to_issue.go
index 6570bcf..d5fd128 100644
--- a/backend/core/models/migrationscripts/20221230_add_original_type_to_issue.go
+++ b/backend/core/models/migrationscripts/20221230_add_original_type_to_issue.go
@@ -18,9 +18,9 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
)
var _ plugin.MigrationScript = (*addOriginalTypeToIssue221230)(nil)
diff --git a/backend/core/models/migrationscripts/20230208_add_code_quality.go b/backend/core/models/migrationscripts/20230208_add_code_quality.go
index 67b5707..739a416 100644
--- a/backend/core/models/migrationscripts/20230208_add_code_quality.go
+++ b/backend/core/models/migrationscripts/20230208_add_code_quality.go
@@ -18,10 +18,10 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
- "github.com/apache/incubator-devlake/helpers/migrationhelper"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/helpers/migrationhelper"
)
type addCodeQuality struct{}
diff --git a/backend/core/models/migrationscripts/20230213_add_time_after_to_collector_state.go b/backend/core/models/migrationscripts/20230213_add_time_after_to_collector_state.go
index 882e8a5..7057764 100644
--- a/backend/core/models/migrationscripts/20230213_add_time_after_to_collector_state.go
+++ b/backend/core/models/migrationscripts/20230213_add_time_after_to_collector_state.go
@@ -20,9 +20,9 @@
import (
"time"
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/helpers/migrationhelper"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/helpers/migrationhelper"
)
type collectorLatestState20230213 struct {
diff --git a/backend/core/models/migrationscripts/20230214_issue_storypoint_to_float.go b/backend/core/models/migrationscripts/20230214_issue_storypoint_to_float.go
index 439422f..b0d8223 100644
--- a/backend/core/models/migrationscripts/20230214_issue_storypoint_to_float.go
+++ b/backend/core/models/migrationscripts/20230214_issue_storypoint_to_float.go
@@ -18,11 +18,11 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/migrationhelper"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/migrationhelper"
)
var _ plugin.MigrationScript = (*modifyIssueStorypointToFloat64)(nil)
diff --git a/backend/core/models/migrationscripts/20230222_add_commit_sha_index.go b/backend/core/models/migrationscripts/20230222_add_commit_sha_index.go
index 7ad079a..e452478 100644
--- a/backend/core/models/migrationscripts/20230222_add_commit_sha_index.go
+++ b/backend/core/models/migrationscripts/20230222_add_commit_sha_index.go
@@ -18,10 +18,10 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/migrationhelper"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/migrationhelper"
)
var _ plugin.MigrationScript = (*addCommitShaIndex)(nil)
diff --git a/backend/core/models/migrationscripts/20230222_add_host_namespace_reponame.go b/backend/core/models/migrationscripts/20230222_add_host_namespace_reponame.go
index b1f9c12..fec2051 100644
--- a/backend/core/models/migrationscripts/20230222_add_host_namespace_reponame.go
+++ b/backend/core/models/migrationscripts/20230222_add_host_namespace_reponame.go
@@ -18,10 +18,10 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/migrationhelper"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/migrationhelper"
)
var _ plugin.MigrationScript = (*addHostNamespaceRepoName)(nil)
diff --git a/backend/core/models/migrationscripts/20230223_remove_createddateafter_from_collector_state.go b/backend/core/models/migrationscripts/20230223_remove_createddateafter_from_collector_state.go
index db5fc27..1c20b4b 100644
--- a/backend/core/models/migrationscripts/20230223_remove_createddateafter_from_collector_state.go
+++ b/backend/core/models/migrationscripts/20230223_remove_createddateafter_from_collector_state.go
@@ -21,9 +21,9 @@
"encoding/json"
"fmt"
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
)
type blueprint20230223 struct {
diff --git a/backend/core/models/migrationscripts/20230402_add_issue_assignee.go b/backend/core/models/migrationscripts/20230402_add_issue_assignee.go
index d6c8ae2..a11fd44 100644
--- a/backend/core/models/migrationscripts/20230402_add_issue_assignee.go
+++ b/backend/core/models/migrationscripts/20230402_add_issue_assignee.go
@@ -18,10 +18,10 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
- "github.com/apache/incubator-devlake/helpers/migrationhelper"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/helpers/migrationhelper"
)
type addIssueAssignee20230402 struct {
diff --git a/backend/core/models/migrationscripts/20230405_rename_tap_collector_state.go b/backend/core/models/migrationscripts/20230405_rename_tap_collector_state.go
index e9a895d..2318c07 100644
--- a/backend/core/models/migrationscripts/20230405_rename_tap_collector_state.go
+++ b/backend/core/models/migrationscripts/20230405_rename_tap_collector_state.go
@@ -18,9 +18,9 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
)
var _ plugin.MigrationScript = (*renameCollectorTapStateTable)(nil)
diff --git a/backend/core/models/migrationscripts/20230406_rename_cicd_pipeline_commits_repo_url.go b/backend/core/models/migrationscripts/20230406_rename_cicd_pipeline_commits_repo_url.go
index 83b8ca7..35a3923 100644
--- a/backend/core/models/migrationscripts/20230406_rename_cicd_pipeline_commits_repo_url.go
+++ b/backend/core/models/migrationscripts/20230406_rename_cicd_pipeline_commits_repo_url.go
@@ -18,9 +18,9 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
)
var _ plugin.MigrationScript = (*renameCicdPipelineRepoToRepoUrl)(nil)
diff --git a/backend/core/models/migrationscripts/20230416_rename_project_pr_metrict_deployment_id.go b/backend/core/models/migrationscripts/20230416_rename_project_pr_metrict_deployment_id.go
index b7fdd5d..54de457 100644
--- a/backend/core/models/migrationscripts/20230416_rename_project_pr_metrict_deployment_id.go
+++ b/backend/core/models/migrationscripts/20230416_rename_project_pr_metrict_deployment_id.go
@@ -18,9 +18,9 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
)
var _ plugin.MigrationScript = (*renameDeploymentIdForPrProjectMetric)(nil)
diff --git a/backend/core/models/migrationscripts/20230419_add_commit_authored_date_in_pr_commits.go b/backend/core/models/migrationscripts/20230419_add_commit_authored_date_in_pr_commits.go
index d455de9..4463de5 100644
--- a/backend/core/models/migrationscripts/20230419_add_commit_authored_date_in_pr_commits.go
+++ b/backend/core/models/migrationscripts/20230419_add_commit_authored_date_in_pr_commits.go
@@ -20,10 +20,10 @@
import (
"time"
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/migrationhelper"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/migrationhelper"
)
var _ plugin.MigrationScript = (*addCommitAuthoredDate)(nil)
diff --git a/backend/core/models/migrationscripts/20230426_add_cicd_deployment_commits.go b/backend/core/models/migrationscripts/20230426_add_cicd_deployment_commits.go
index 293c5aa..74de55b 100644
--- a/backend/core/models/migrationscripts/20230426_add_cicd_deployment_commits.go
+++ b/backend/core/models/migrationscripts/20230426_add_cicd_deployment_commits.go
@@ -18,11 +18,11 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/migrationhelper"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/migrationhelper"
)
var _ plugin.MigrationScript = (*addCicdDeploymentCommits)(nil)
diff --git a/backend/core/models/migrationscripts/20230508_add_original_status_to_pull_request.go b/backend/core/models/migrationscripts/20230508_add_original_status_to_pull_request.go
index aa28bef..9f8fa01 100644
--- a/backend/core/models/migrationscripts/20230508_add_original_status_to_pull_request.go
+++ b/backend/core/models/migrationscripts/20230508_add_original_status_to_pull_request.go
@@ -18,9 +18,9 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
)
var _ plugin.MigrationScript = (*addOriginalStatusToPullRequest20230508)(nil)
diff --git a/backend/core/models/migrationscripts/20230511_add_calendar_months.go b/backend/core/models/migrationscripts/20230511_add_calendar_months.go
index 626282e..2a86d52 100644
--- a/backend/core/models/migrationscripts/20230511_add_calendar_months.go
+++ b/backend/core/models/migrationscripts/20230511_add_calendar_months.go
@@ -20,9 +20,9 @@
import (
"time"
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/helpers/migrationhelper"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/helpers/migrationhelper"
)
type addCalendarMonths struct{}
diff --git a/backend/core/models/migrationscripts/20230516_change_pull_request_id_type_in_prcomments.go b/backend/core/models/migrationscripts/20230516_change_pull_request_id_type_in_prcomments.go
index 6157ec0..8ec28f2 100644
--- a/backend/core/models/migrationscripts/20230516_change_pull_request_id_type_in_prcomments.go
+++ b/backend/core/models/migrationscripts/20230516_change_pull_request_id_type_in_prcomments.go
@@ -18,11 +18,11 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/migrationhelper"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/migrationhelper"
)
var _ plugin.MigrationScript = (*modifyPrLabelsAndComments)(nil)
diff --git a/backend/core/models/migrationscripts/20230516_rename_finished_commits_diffs.go b/backend/core/models/migrationscripts/20230516_rename_finished_commits_diffs.go
index 5c672dc..c1b4620 100644
--- a/backend/core/models/migrationscripts/20230516_rename_finished_commits_diffs.go
+++ b/backend/core/models/migrationscripts/20230516_rename_finished_commits_diffs.go
@@ -18,9 +18,9 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
)
var _ plugin.MigrationScript = (*renameFinishedCommitsDiffs)(nil)
diff --git a/backend/core/models/migrationscripts/20230517_add_updated_date_to_issue_comments.go b/backend/core/models/migrationscripts/20230517_add_updated_date_to_issue_comments.go
index e59da1a..62c02c9 100644
--- a/backend/core/models/migrationscripts/20230517_add_updated_date_to_issue_comments.go
+++ b/backend/core/models/migrationscripts/20230517_add_updated_date_to_issue_comments.go
@@ -20,9 +20,9 @@
import (
"time"
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
)
var _ plugin.MigrationScript = (*addUpdatedDateToIssueComments)(nil)
diff --git a/backend/core/models/migrationscripts/20230725_add_api_key_tables.go b/backend/core/models/migrationscripts/20230725_add_api_key_tables.go
index c681970..6ef9588 100644
--- a/backend/core/models/migrationscripts/20230725_add_api_key_tables.go
+++ b/backend/core/models/migrationscripts/20230725_add_api_key_tables.go
@@ -18,11 +18,11 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/migrationhelper"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/migrationhelper"
"time"
)
diff --git a/backend/core/models/migrationscripts/20230728_tasks_use_json.go b/backend/core/models/migrationscripts/20230728_tasks_use_json.go
index df30486..fca1f9e 100644
--- a/backend/core/models/migrationscripts/20230728_tasks_use_json.go
+++ b/backend/core/models/migrationscripts/20230728_tasks_use_json.go
@@ -20,11 +20,11 @@
import (
"encoding/json"
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/migrationhelper"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/migrationhelper"
)
var _ plugin.MigrationScript = (*tasksUsesJSON)(nil)
diff --git a/backend/core/models/migrationscripts/20230816_add_issue_relationship_table.go b/backend/core/models/migrationscripts/20230816_add_issue_relationship_table.go
index 15c83aa..8a2b9f9 100644
--- a/backend/core/models/migrationscripts/20230816_add_issue_relationship_table.go
+++ b/backend/core/models/migrationscripts/20230816_add_issue_relationship_table.go
@@ -18,10 +18,10 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
- "github.com/apache/incubator-devlake/helpers/migrationhelper"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/helpers/migrationhelper"
)
type addIssueRelationship struct{}
diff --git a/backend/core/models/migrationscripts/20230821_modify_cicd_pipelines_to_text.go b/backend/core/models/migrationscripts/20230821_modify_cicd_pipelines_to_text.go
index d45a9d9..63831b7 100644
--- a/backend/core/models/migrationscripts/20230821_modify_cicd_pipelines_to_text.go
+++ b/backend/core/models/migrationscripts/20230821_modify_cicd_pipelines_to_text.go
@@ -18,11 +18,11 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/migrationhelper"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/migrationhelper"
)
var _ plugin.MigrationScript = (*modifyCicdPipelinesToText)(nil)
diff --git a/backend/core/models/migrationscripts/20230822_drop_tap_state.go b/backend/core/models/migrationscripts/20230822_drop_tap_state.go
index 55d9537..8da1a08 100644
--- a/backend/core/models/migrationscripts/20230822_drop_tap_state.go
+++ b/backend/core/models/migrationscripts/20230822_drop_tap_state.go
@@ -18,9 +18,9 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
)
var _ plugin.MigrationScript = (*dropTapStateTable)(nil)
diff --git a/backend/core/models/migrationscripts/20230829_normalize_bp_settings.go b/backend/core/models/migrationscripts/20230829_normalize_bp_settings.go
index 5b5fc04..227ce19 100644
--- a/backend/core/models/migrationscripts/20230829_normalize_bp_settings.go
+++ b/backend/core/models/migrationscripts/20230829_normalize_bp_settings.go
@@ -21,12 +21,12 @@
"encoding/json"
"time"
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/migrationhelper"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/migrationhelper"
)
var _ plugin.MigrationScript = (*normalizeBpSettings)(nil)
diff --git a/backend/core/models/migrationscripts/20230831_add_cicd_deployments_table.go b/backend/core/models/migrationscripts/20230831_add_cicd_deployments_table.go
index f40c490..5c1de91 100644
--- a/backend/core/models/migrationscripts/20230831_add_cicd_deployments_table.go
+++ b/backend/core/models/migrationscripts/20230831_add_cicd_deployments_table.go
@@ -18,11 +18,11 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/migrationhelper"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/migrationhelper"
"time"
)
diff --git a/backend/core/models/migrationscripts/20230911_add_sync_policy.go b/backend/core/models/migrationscripts/20230911_add_sync_policy.go
index c9e91bf..cf22540 100644
--- a/backend/core/models/migrationscripts/20230911_add_sync_policy.go
+++ b/backend/core/models/migrationscripts/20230911_add_sync_policy.go
@@ -20,9 +20,9 @@
import (
"time"
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/helpers/migrationhelper"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/helpers/migrationhelper"
)
type addSyncPolicyToBlueprint struct {
diff --git a/backend/core/models/migrationscripts/20230921_add_issue_custom_array_fields.go b/backend/core/models/migrationscripts/20230921_add_issue_custom_array_fields.go
index 378f76e..c5432cd 100644
--- a/backend/core/models/migrationscripts/20230921_add_issue_custom_array_fields.go
+++ b/backend/core/models/migrationscripts/20230921_add_issue_custom_array_fields.go
@@ -18,10 +18,10 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
- "github.com/apache/incubator-devlake/helpers/migrationhelper"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/helpers/migrationhelper"
)
type addIssueCustomArrayField struct{}
diff --git a/backend/core/models/migrationscripts/20231103_remove_position_from_pull_request_comments.go b/backend/core/models/migrationscripts/20231103_remove_position_from_pull_request_comments.go
index eecd407..7ac2f10 100644
--- a/backend/core/models/migrationscripts/20231103_remove_position_from_pull_request_comments.go
+++ b/backend/core/models/migrationscripts/20231103_remove_position_from_pull_request_comments.go
@@ -18,9 +18,9 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/migrationscripts/archived"
)
type removePositionFromPullRequestComments struct{}
diff --git a/backend/core/models/migrationscripts/20231115_change_duration_sec_to_float64.go b/backend/core/models/migrationscripts/20231115_change_duration_sec_to_float64.go
index 69adb2a..32a070e 100644
--- a/backend/core/models/migrationscripts/20231115_change_duration_sec_to_float64.go
+++ b/backend/core/models/migrationscripts/20231115_change_duration_sec_to_float64.go
@@ -18,11 +18,11 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/migrationhelper"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/migrationhelper"
)
var _ plugin.MigrationScript = (*changeDurationSecToFloat64)(nil)
diff --git a/backend/core/models/migrationscripts/20231116_add_original_status_and_result_to_devops_tables.go b/backend/core/models/migrationscripts/20231116_add_original_status_and_result_to_devops_tables.go
index 77cc500..399c875 100644
--- a/backend/core/models/migrationscripts/20231116_add_original_status_and_result_to_devops_tables.go
+++ b/backend/core/models/migrationscripts/20231116_add_original_status_and_result_to_devops_tables.go
@@ -18,9 +18,9 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
)
var _ plugin.MigrationScript = (*addOriginalStatusAndResultToDevOpsTables)(nil)
diff --git a/backend/core/models/migrationscripts/20231122_add_some_date_field_in_devops_tables.go b/backend/core/models/migrationscripts/20231122_add_some_date_field_in_devops_tables.go
index 2322309..65e9691 100644
--- a/backend/core/models/migrationscripts/20231122_add_some_date_field_in_devops_tables.go
+++ b/backend/core/models/migrationscripts/20231122_add_some_date_field_in_devops_tables.go
@@ -18,10 +18,10 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/migrationhelper"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/migrationhelper"
"time"
)
diff --git a/backend/core/models/migrationscripts/20231127_add_commit_msg_to_cicd_deployment_commits.go b/backend/core/models/migrationscripts/20231127_add_commit_msg_to_cicd_deployment_commits.go
index 7de7765..a25f807 100644
--- a/backend/core/models/migrationscripts/20231127_add_commit_msg_to_cicd_deployment_commits.go
+++ b/backend/core/models/migrationscripts/20231127_add_commit_msg_to_cicd_deployment_commits.go
@@ -18,9 +18,9 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
)
var _ plugin.MigrationScript = (*addCommitMsgtoDeploymentCommit)(nil)
diff --git a/backend/core/models/migrationscripts/20231128_add_queued_duration_sec_field_in_devops_tables.go b/backend/core/models/migrationscripts/20231128_add_queued_duration_sec_field_in_devops_tables.go
index e1e8a2b..215d58e 100644
--- a/backend/core/models/migrationscripts/20231128_add_queued_duration_sec_field_in_devops_tables.go
+++ b/backend/core/models/migrationscripts/20231128_add_queued_duration_sec_field_in_devops_tables.go
@@ -18,10 +18,10 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/migrationhelper"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/migrationhelper"
)
var _ plugin.MigrationScript = (*addSomeDateFieldsToDevopsTables)(nil)
diff --git a/backend/core/models/migrationscripts/20231205_modify_issue_original_type_length.go b/backend/core/models/migrationscripts/20231205_modify_issue_original_type_length.go
index ab2df6a..787ab4c 100644
--- a/backend/core/models/migrationscripts/20231205_modify_issue_original_type_length.go
+++ b/backend/core/models/migrationscripts/20231205_modify_issue_original_type_length.go
@@ -18,9 +18,9 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
)
var _ plugin.MigrationScript = (*modifyIssueOriginalTypeLength)(nil)
diff --git a/backend/core/models/migrationscripts/20231208_add_commit_msg_to_cicd_pipeline_commits.go b/backend/core/models/migrationscripts/20231208_add_commit_msg_to_cicd_pipeline_commits.go
index 22261b4..e1ee459 100644
--- a/backend/core/models/migrationscripts/20231208_add_commit_msg_to_cicd_pipeline_commits.go
+++ b/backend/core/models/migrationscripts/20231208_add_commit_msg_to_cicd_pipeline_commits.go
@@ -18,9 +18,9 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
)
var _ plugin.MigrationScript = (*addCommitMsgtoPipelineCommit)(nil)
diff --git a/backend/core/models/migrationscripts/20240115_modify_issue_leadtimeminutes_to_uint.go b/backend/core/models/migrationscripts/20240115_modify_issue_leadtimeminutes_to_uint.go
index 77c02d1..e0cbaa4 100644
--- a/backend/core/models/migrationscripts/20240115_modify_issue_leadtimeminutes_to_uint.go
+++ b/backend/core/models/migrationscripts/20240115_modify_issue_leadtimeminutes_to_uint.go
@@ -18,11 +18,11 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/migrationhelper"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/migrationhelper"
)
var _ plugin.MigrationScript = (*modifyIssueLeadTimeMinutesToUint)(nil)
diff --git a/backend/core/models/migrationscripts/20240116_modify_fileds_sort.go b/backend/core/models/migrationscripts/20240116_modify_fileds_sort.go
index c2359f8..f81b07a 100644
--- a/backend/core/models/migrationscripts/20240116_modify_fileds_sort.go
+++ b/backend/core/models/migrationscripts/20240116_modify_fileds_sort.go
@@ -20,8 +20,8 @@
import (
"net/url"
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
)
type modfiyFieldsSort struct{}
diff --git a/backend/core/models/migrationscripts/20240117_add_urgency_to_issues.go b/backend/core/models/migrationscripts/20240117_add_urgency_to_issues.go
index b5f41d3..4efd004 100644
--- a/backend/core/models/migrationscripts/20240117_add_urgency_to_issues.go
+++ b/backend/core/models/migrationscripts/20240117_add_urgency_to_issues.go
@@ -18,9 +18,9 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
)
var _ plugin.MigrationScript = (*addUrgencyToIssues)(nil)
diff --git a/backend/core/models/migrationscripts/20240124_modify_refs_id_length.go b/backend/core/models/migrationscripts/20240124_modify_refs_id_length.go
index 6d10150..3c37d97 100644
--- a/backend/core/models/migrationscripts/20240124_modify_refs_id_length.go
+++ b/backend/core/models/migrationscripts/20240124_modify_refs_id_length.go
@@ -20,12 +20,12 @@
import (
"time"
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/migrationhelper"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/migrationhelper"
)
var _ plugin.MigrationScript = (*modifyRefsIdLength)(nil)
diff --git a/backend/core/models/migrationscripts/20240129_add_original_environment.go b/backend/core/models/migrationscripts/20240129_add_original_environment.go
index ebc10d8..fb6c07e 100644
--- a/backend/core/models/migrationscripts/20240129_add_original_environment.go
+++ b/backend/core/models/migrationscripts/20240129_add_original_environment.go
@@ -18,9 +18,9 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
"net/url"
)
diff --git a/backend/core/models/migrationscripts/20240308_add_subtaskname_to_deployment.go b/backend/core/models/migrationscripts/20240308_add_subtaskname_to_deployment.go
index 7bac0c3..520dd86 100644
--- a/backend/core/models/migrationscripts/20240308_add_subtaskname_to_deployment.go
+++ b/backend/core/models/migrationscripts/20240308_add_subtaskname_to_deployment.go
@@ -18,9 +18,9 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
)
var _ plugin.MigrationScript = (*addSubtabknameToDeployment)(nil)
diff --git a/backend/core/models/migrationscripts/20240318_add_devlake_store.go b/backend/core/models/migrationscripts/20240318_add_devlake_store.go
index e338fd8..c29870e 100644
--- a/backend/core/models/migrationscripts/20240318_add_devlake_store.go
+++ b/backend/core/models/migrationscripts/20240318_add_devlake_store.go
@@ -21,9 +21,9 @@
"encoding/json"
"time"
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
)
var _ plugin.MigrationScript = (*addStore)(nil)
diff --git a/backend/core/models/migrationscripts/20240322_add_field_to_subtasks.go b/backend/core/models/migrationscripts/20240322_add_field_to_subtasks.go
index 0dfb7b6..76e8b63 100644
--- a/backend/core/models/migrationscripts/20240322_add_field_to_subtasks.go
+++ b/backend/core/models/migrationscripts/20240322_add_field_to_subtasks.go
@@ -18,9 +18,9 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
)
var _ plugin.MigrationScript = (*addSubtaskField)(nil)
diff --git a/backend/core/models/migrationscripts/20240410_add_display_title_and_url_to_deployment.go b/backend/core/models/migrationscripts/20240410_add_display_title_and_url_to_deployment.go
index 66876cb..3bf063b 100644
--- a/backend/core/models/migrationscripts/20240410_add_display_title_and_url_to_deployment.go
+++ b/backend/core/models/migrationscripts/20240410_add_display_title_and_url_to_deployment.go
@@ -18,10 +18,10 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/migrationhelper"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/migrationhelper"
)
var _ plugin.MigrationScript = (*addDisplayTitleAndUrl)(nil)
diff --git a/backend/core/models/migrationscripts/20240424_add_subtask_states.go b/backend/core/models/migrationscripts/20240424_add_subtask_states.go
index b17723e..91378f5 100644
--- a/backend/core/models/migrationscripts/20240424_add_subtask_states.go
+++ b/backend/core/models/migrationscripts/20240424_add_subtask_states.go
@@ -20,9 +20,9 @@
import (
"time"
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
)
var _ plugin.MigrationScript = (*addSubtaskStates)(nil)
diff --git a/backend/core/models/migrationscripts/20240514_add_cicd_release.go b/backend/core/models/migrationscripts/20240514_add_cicd_release.go
index 9f6d22f..ebccd6d 100644
--- a/backend/core/models/migrationscripts/20240514_add_cicd_release.go
+++ b/backend/core/models/migrationscripts/20240514_add_cicd_release.go
@@ -18,12 +18,12 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/models/migrationscripts/archived"
"time"
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
)
var _ plugin.MigrationScript = (*addCicdRelease)(nil)
diff --git a/backend/core/models/migrationscripts/20240515_add_commit_sha_to_cicd_release.go b/backend/core/models/migrationscripts/20240515_add_commit_sha_to_cicd_release.go
index 58afad5..b485f82 100644
--- a/backend/core/models/migrationscripts/20240515_add_commit_sha_to_cicd_release.go
+++ b/backend/core/models/migrationscripts/20240515_add_commit_sha_to_cicd_release.go
@@ -18,10 +18,10 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/migrationhelper"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/migrationhelper"
)
var _ plugin.MigrationScript = (*addCommitShaToCicdRelease)(nil)
diff --git a/backend/core/models/migrationscripts/20240521_modify_cicd_deployment_commits_repo_url_length.go b/backend/core/models/migrationscripts/20240521_modify_cicd_deployment_commits_repo_url_length.go
index ac376cf..18bf1f1 100644
--- a/backend/core/models/migrationscripts/20240521_modify_cicd_deployment_commits_repo_url_length.go
+++ b/backend/core/models/migrationscripts/20240521_modify_cicd_deployment_commits_repo_url_length.go
@@ -18,9 +18,9 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
)
var _ plugin.MigrationScript = (*modifyCicdDeploymentCommitsRepoUrlLength)(nil)
diff --git a/backend/core/models/migrationscripts/20240521_modify_cicd_pipeline_commits_repo_url_length.go b/backend/core/models/migrationscripts/20240521_modify_cicd_pipeline_commits_repo_url_length.go
index 6b6716d..f91a915 100644
--- a/backend/core/models/migrationscripts/20240521_modify_cicd_pipeline_commits_repo_url_length.go
+++ b/backend/core/models/migrationscripts/20240521_modify_cicd_pipeline_commits_repo_url_length.go
@@ -18,9 +18,9 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
)
var _ plugin.MigrationScript = (*modifyCicdPipelineCommitsRepoUrlLength)(nil)
diff --git a/backend/core/models/migrationscripts/20240523_update_issue_key_type_in_pull_request_issues.go b/backend/core/models/migrationscripts/20240523_update_issue_key_type_in_pull_request_issues.go
index f0399d5..920b11d 100644
--- a/backend/core/models/migrationscripts/20240523_update_issue_key_type_in_pull_request_issues.go
+++ b/backend/core/models/migrationscripts/20240523_update_issue_key_type_in_pull_request_issues.go
@@ -18,10 +18,10 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/migrationhelper"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/migrationhelper"
)
var _ plugin.MigrationScript = (*addCommitShaToCicdRelease)(nil)
diff --git a/backend/core/models/migrationscripts/20240523_update_plugin_option_in_project_metric_settings.go b/backend/core/models/migrationscripts/20240523_update_plugin_option_in_project_metric_settings.go
index 94fb29e..6b36724 100644
--- a/backend/core/models/migrationscripts/20240523_update_plugin_option_in_project_metric_settings.go
+++ b/backend/core/models/migrationscripts/20240523_update_plugin_option_in_project_metric_settings.go
@@ -19,11 +19,11 @@
import (
"encoding/json"
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/migrationhelper"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/migrationhelper"
)
var _ plugin.MigrationScript = (*addCommitShaToCicdRelease)(nil)
diff --git a/backend/core/models/migrationscripts/20240531_add_pr_assignees_and_reviewers.go b/backend/core/models/migrationscripts/20240531_add_pr_assignees_and_reviewers.go
index d7cbd9f..361f7f6 100644
--- a/backend/core/models/migrationscripts/20240531_add_pr_assignees_and_reviewers.go
+++ b/backend/core/models/migrationscripts/20240531_add_pr_assignees_and_reviewers.go
@@ -18,10 +18,10 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
- "github.com/apache/incubator-devlake/helpers/migrationhelper"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/helpers/migrationhelper"
)
type addPrAssigneeAndReviewer struct{}
diff --git a/backend/core/models/migrationscripts/20240603_add_pull_request_id_index_for_pr_comments_table.go b/backend/core/models/migrationscripts/20240603_add_pull_request_id_index_for_pr_comments_table.go
index 9e6d7b6..8447db6 100644
--- a/backend/core/models/migrationscripts/20240603_add_pull_request_id_index_for_pr_comments_table.go
+++ b/backend/core/models/migrationscripts/20240603_add_pull_request_id_index_for_pr_comments_table.go
@@ -18,9 +18,9 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/helpers/migrationhelper"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/helpers/migrationhelper"
)
type addPullRequestIdIndexToPullRequestComments struct{}
diff --git a/backend/core/models/migrationscripts/20240603_add_pull_request_id_index_for_pr_commits_table.go b/backend/core/models/migrationscripts/20240603_add_pull_request_id_index_for_pr_commits_table.go
index ddf381e..1672970 100644
--- a/backend/core/models/migrationscripts/20240603_add_pull_request_id_index_for_pr_commits_table.go
+++ b/backend/core/models/migrationscripts/20240603_add_pull_request_id_index_for_pr_commits_table.go
@@ -18,8 +18,8 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
"net/url"
"strings"
)
diff --git a/backend/core/models/migrationscripts/20240607_modify_pr_assignees_and_reviewers_id.go b/backend/core/models/migrationscripts/20240607_modify_pr_assignees_and_reviewers_id.go
index 3d144d3..1240ed5 100644
--- a/backend/core/models/migrationscripts/20240607_modify_pr_assignees_and_reviewers_id.go
+++ b/backend/core/models/migrationscripts/20240607_modify_pr_assignees_and_reviewers_id.go
@@ -18,10 +18,10 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
- "github.com/apache/incubator-devlake/helpers/migrationhelper"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/helpers/migrationhelper"
)
type modifyPrAssigneeAndReviewerId struct{}
diff --git a/backend/core/models/migrationscripts/20240621_init_incidents_and_incident_assignees.go b/backend/core/models/migrationscripts/20240621_init_incidents_and_incident_assignees.go
index d982751..2bc043f 100644
--- a/backend/core/models/migrationscripts/20240621_init_incidents_and_incident_assignees.go
+++ b/backend/core/models/migrationscripts/20240621_init_incidents_and_incident_assignees.go
@@ -18,10 +18,10 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
- "github.com/apache/incubator-devlake/helpers/migrationhelper"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/helpers/migrationhelper"
)
type initIncidentRelatedTables struct{}
diff --git a/backend/core/models/migrationscripts/20240621_rename_project_issue_metrics.go b/backend/core/models/migrationscripts/20240621_rename_project_issue_metrics.go
index 76fe3db..cef7aa8 100644
--- a/backend/core/models/migrationscripts/20240621_rename_project_issue_metrics.go
+++ b/backend/core/models/migrationscripts/20240621_rename_project_issue_metrics.go
@@ -18,9 +18,9 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/migrationscripts/archived"
)
type renameProjectIssueMetrics struct{}
diff --git a/backend/core/models/migrationscripts/20240710_add_changes_to_pr.go b/backend/core/models/migrationscripts/20240710_add_changes_to_pr.go
index 8d8816f..7df9764 100644
--- a/backend/core/models/migrationscripts/20240710_add_changes_to_pr.go
+++ b/backend/core/models/migrationscripts/20240710_add_changes_to_pr.go
@@ -18,9 +18,9 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
)
var _ plugin.MigrationScript = (*addChangesToPr)(nil)
diff --git a/backend/core/models/migrationscripts/20240710_add_merge_by_to_pr.go b/backend/core/models/migrationscripts/20240710_add_merge_by_to_pr.go
index ab24d9e..5f7dc09 100644
--- a/backend/core/models/migrationscripts/20240710_add_merge_by_to_pr.go
+++ b/backend/core/models/migrationscripts/20240710_add_merge_by_to_pr.go
@@ -18,9 +18,9 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
)
var _ plugin.MigrationScript = (*addMergedByToPr)(nil)
diff --git a/backend/core/models/migrationscripts/20240725_add_is_draft_to_pr.go b/backend/core/models/migrationscripts/20240725_add_is_draft_to_pr.go
index 62552fe..f98f6a0 100644
--- a/backend/core/models/migrationscripts/20240725_add_is_draft_to_pr.go
+++ b/backend/core/models/migrationscripts/20240725_add_is_draft_to_pr.go
@@ -18,9 +18,9 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
)
var _ plugin.MigrationScript = (*addIsDraftToPr)(nil)
diff --git a/backend/core/models/migrationscripts/20240731_add_datefields_to_project_pr_metrics.go b/backend/core/models/migrationscripts/20240731_add_datefields_to_project_pr_metrics.go
index cfc5a92..4aab77d 100644
--- a/backend/core/models/migrationscripts/20240731_add_datefields_to_project_pr_metrics.go
+++ b/backend/core/models/migrationscripts/20240731_add_datefields_to_project_pr_metrics.go
@@ -20,9 +20,9 @@
import (
"time"
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
)
var _ plugin.MigrationScript = (*addDateFieldsToProjectPrMetric)(nil)
diff --git a/backend/core/models/migrationscripts/20240731_add_table_scope_id_to_incidents.go b/backend/core/models/migrationscripts/20240731_add_table_scope_id_to_incidents.go
index a9d4b7f..d88af6e 100644
--- a/backend/core/models/migrationscripts/20240731_add_table_scope_id_to_incidents.go
+++ b/backend/core/models/migrationscripts/20240731_add_table_scope_id_to_incidents.go
@@ -18,9 +18,9 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
)
var _ plugin.MigrationScript = (*addTableScopeIdToIncident)(nil)
diff --git a/backend/core/models/migrationscripts/20240801_add_assignee_id_to_incidents.go b/backend/core/models/migrationscripts/20240801_add_assignee_id_to_incidents.go
index 7fdc29a..995a416 100644
--- a/backend/core/models/migrationscripts/20240801_add_assignee_id_to_incidents.go
+++ b/backend/core/models/migrationscripts/20240801_add_assignee_id_to_incidents.go
@@ -18,9 +18,9 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
)
var _ plugin.MigrationScript = (*addAssigneeToIncident)(nil)
diff --git a/backend/core/models/migrationscripts/20240813_add_is_subtask_to_issue.go b/backend/core/models/migrationscripts/20240813_add_is_subtask_to_issue.go
index 28270fe..2747f90 100644
--- a/backend/core/models/migrationscripts/20240813_add_is_subtask_to_issue.go
+++ b/backend/core/models/migrationscripts/20240813_add_is_subtask_to_issue.go
@@ -18,9 +18,9 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
)
var _ plugin.MigrationScript = (*addIsSubtaskToIssue)(nil)
diff --git a/backend/core/models/migrationscripts/20240813_change_issue_component_type.go b/backend/core/models/migrationscripts/20240813_change_issue_component_type.go
index 8f7a2f2..45e9912 100644
--- a/backend/core/models/migrationscripts/20240813_change_issue_component_type.go
+++ b/backend/core/models/migrationscripts/20240813_change_issue_component_type.go
@@ -18,9 +18,9 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
)
var _ plugin.MigrationScript = (*changeIssueComponentType)(nil)
diff --git a/backend/core/models/migrationscripts/20240813_increase_project_key_length.go b/backend/core/models/migrationscripts/20240813_increase_project_key_length.go
index 609b3d7..dea6849 100644
--- a/backend/core/models/migrationscripts/20240813_increase_project_key_length.go
+++ b/backend/core/models/migrationscripts/20240813_increase_project_key_length.go
@@ -18,9 +18,9 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
)
var _ plugin.MigrationScript = (*increaseProjectKeyLength)(nil)
diff --git a/backend/core/models/migrationscripts/20240906_add_is_child_to_cicd_pipelines.go b/backend/core/models/migrationscripts/20240906_add_is_child_to_cicd_pipelines.go
index 3cf14e8..89cc0ca 100644
--- a/backend/core/models/migrationscripts/20240906_add_is_child_to_cicd_pipelines.go
+++ b/backend/core/models/migrationscripts/20240906_add_is_child_to_cicd_pipelines.go
@@ -18,9 +18,9 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
)
var _ plugin.MigrationScript = (*addIsChildToCicdPipeline)(nil)
diff --git a/backend/core/models/migrationscripts/20240919_increase_cq_issue_component_length.go b/backend/core/models/migrationscripts/20240919_increase_cq_issue_component_length.go
index aa1483e..175ef39 100644
--- a/backend/core/models/migrationscripts/20240919_increase_cq_issue_component_length.go
+++ b/backend/core/models/migrationscripts/20240919_increase_cq_issue_component_length.go
@@ -18,9 +18,9 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
)
var _ plugin.MigrationScript = (*increaseCqIssueComponentLength)(nil)
diff --git a/backend/core/models/migrationscripts/20241010_add_ca_issue_impacts.go b/backend/core/models/migrationscripts/20241010_add_ca_issue_impacts.go
index 307df01..a322201 100644
--- a/backend/core/models/migrationscripts/20241010_add_ca_issue_impacts.go
+++ b/backend/core/models/migrationscripts/20241010_add_ca_issue_impacts.go
@@ -18,10 +18,10 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
- "github.com/apache/incubator-devlake/core/plugin"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/plugin"
)
var _ plugin.MigrationScript = (*addCqIssueImpacts)(nil)
diff --git a/backend/core/models/migrationscripts/20250303_add_due_date_to_issues.go b/backend/core/models/migrationscripts/20250303_add_due_date_to_issues.go
index ae6f12e..952ac83 100644
--- a/backend/core/models/migrationscripts/20250303_add_due_date_to_issues.go
+++ b/backend/core/models/migrationscripts/20250303_add_due_date_to_issues.go
@@ -20,9 +20,9 @@
import (
"time"
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
)
var _ plugin.MigrationScript = (*addDueDateToIssues)(nil)
diff --git a/backend/core/models/migrationscripts/20250421_create_qa_tables.go b/backend/core/models/migrationscripts/20250421_create_qa_tables.go
index cd73817..5688faa 100644
--- a/backend/core/models/migrationscripts/20250421_create_qa_tables.go
+++ b/backend/core/models/migrationscripts/20250421_create_qa_tables.go
@@ -20,10 +20,10 @@
import (
"time"
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
- "github.com/apache/incubator-devlake/core/plugin"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/plugin"
)
var _ plugin.MigrationScript = (*createQaTables)(nil)
diff --git a/backend/core/models/migrationscripts/20250527_extend_field_size_for_cq.go b/backend/core/models/migrationscripts/20250527_extend_field_size_for_cq.go
index e1c0328..95b0d36 100644
--- a/backend/core/models/migrationscripts/20250527_extend_field_size_for_cq.go
+++ b/backend/core/models/migrationscripts/20250527_extend_field_size_for_cq.go
@@ -18,9 +18,9 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
)
var _ plugin.MigrationScript = (*extendFieldSizeForCq)(nil)
diff --git a/backend/core/models/migrationscripts/20250710_issue_fix_version.go b/backend/core/models/migrationscripts/20250710_issue_fix_version.go
index 91bc71f..b2ab4b6 100644
--- a/backend/core/models/migrationscripts/20250710_issue_fix_version.go
+++ b/backend/core/models/migrationscripts/20250710_issue_fix_version.go
@@ -18,9 +18,9 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
)
var _ plugin.MigrationScript = (*addIssueFixVerion)(nil)
diff --git a/backend/core/models/migrationscripts/20250813_add_pipeline_priority.go b/backend/core/models/migrationscripts/20250813_add_pipeline_priority.go
index 8697fb6..492bdd9 100644
--- a/backend/core/models/migrationscripts/20250813_add_pipeline_priority.go
+++ b/backend/core/models/migrationscripts/20250813_add_pipeline_priority.go
@@ -18,10 +18,10 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/migrationhelper"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/migrationhelper"
)
var _ plugin.MigrationScript = (*addPipelinePriority)(nil)
diff --git a/backend/core/models/migrationscripts/20251022_fix_null_priority.go b/backend/core/models/migrationscripts/20251022_fix_null_priority.go
index 8b3dda0..927f878 100644
--- a/backend/core/models/migrationscripts/20251022_fix_null_priority.go
+++ b/backend/core/models/migrationscripts/20251022_fix_null_priority.go
@@ -18,10 +18,10 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
)
var _ plugin.MigrationScript = (*fixNullPriority)(nil)
diff --git a/backend/core/models/migrationscripts/20260217_modify_cicd_deployments_to_text.go b/backend/core/models/migrationscripts/20260217_modify_cicd_deployments_to_text.go
index 348099c..d4de3f7 100644
--- a/backend/core/models/migrationscripts/20260217_modify_cicd_deployments_to_text.go
+++ b/backend/core/models/migrationscripts/20260217_modify_cicd_deployments_to_text.go
@@ -18,11 +18,11 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/migrationhelper"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/migrationhelper"
)
var _ plugin.MigrationScript = (*modifyCicdDeploymentsToText)(nil)
diff --git a/backend/core/models/migrationscripts/20260313_add_is_invalid_to_qa_test_case_executions.go b/backend/core/models/migrationscripts/20260313_add_is_invalid_to_qa_test_case_executions.go
index ce7656e..5f2fb97 100644
--- a/backend/core/models/migrationscripts/20260313_add_is_invalid_to_qa_test_case_executions.go
+++ b/backend/core/models/migrationscripts/20260313_add_is_invalid_to_qa_test_case_executions.go
@@ -18,9 +18,9 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
)
var _ plugin.MigrationScript = (*addIsInvalidToQaTestCaseExecution)(nil)
diff --git a/backend/core/models/migrationscripts/20260317_increase_cq_issues_project_key_length.go b/backend/core/models/migrationscripts/20260317_increase_cq_issues_project_key_length.go
index 223a2b6..5983066 100644
--- a/backend/core/models/migrationscripts/20260317_increase_cq_issues_project_key_length.go
+++ b/backend/core/models/migrationscripts/20260317_increase_cq_issues_project_key_length.go
@@ -18,9 +18,9 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
)
var _ plugin.MigrationScript = (*increaseCqIssuesProjectKeyLength)(nil)
diff --git a/backend/core/models/migrationscripts/20260426_add_auth_sessions.go b/backend/core/models/migrationscripts/20260426_add_auth_sessions.go
index 7e6eab8..1d9aad0 100644
--- a/backend/core/models/migrationscripts/20260426_add_auth_sessions.go
+++ b/backend/core/models/migrationscripts/20260426_add_auth_sessions.go
@@ -20,10 +20,10 @@
import (
"time"
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/migrationhelper"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/migrationhelper"
)
var _ plugin.MigrationScript = (*addAuthSessions)(nil)
diff --git a/backend/core/models/migrationscripts/20260629_change_issue_component_to_text.go b/backend/core/models/migrationscripts/20260629_change_issue_component_to_text.go
index 94d965d..e70adbe 100644
--- a/backend/core/models/migrationscripts/20260629_change_issue_component_to_text.go
+++ b/backend/core/models/migrationscripts/20260629_change_issue_component_to_text.go
@@ -18,9 +18,9 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
)
var _ plugin.MigrationScript = (*changeIssueComponentToText)(nil)
diff --git a/backend/core/models/migrationscripts/20260629_change_issue_component_to_text_test.go b/backend/core/models/migrationscripts/20260629_change_issue_component_to_text_test.go
index 482c42b..23d7818 100644
--- a/backend/core/models/migrationscripts/20260629_change_issue_component_to_text_test.go
+++ b/backend/core/models/migrationscripts/20260629_change_issue_component_to_text_test.go
@@ -20,9 +20,9 @@
import (
"testing"
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
)
type modifyColumnTypeCall struct {
diff --git a/backend/core/models/migrationscripts/20260701_change_cq_issue_code_blocks_component_to_text.go b/backend/core/models/migrationscripts/20260701_change_cq_issue_code_blocks_component_to_text.go
index b84d1d9..3015ace 100644
--- a/backend/core/models/migrationscripts/20260701_change_cq_issue_code_blocks_component_to_text.go
+++ b/backend/core/models/migrationscripts/20260701_change_cq_issue_code_blocks_component_to_text.go
@@ -18,9 +18,9 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
)
var _ plugin.MigrationScript = (*changeCqIssueCodeBlocksComponentToText)(nil)
diff --git a/backend/core/models/migrationscripts/20260707_add_cq_project_metrics_history.go b/backend/core/models/migrationscripts/20260707_add_cq_project_metrics_history.go
index de66ae8..b1c15ea 100644
--- a/backend/core/models/migrationscripts/20260707_add_cq_project_metrics_history.go
+++ b/backend/core/models/migrationscripts/20260707_add_cq_project_metrics_history.go
@@ -18,10 +18,10 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
- "github.com/apache/incubator-devlake/helpers/migrationhelper"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/helpers/migrationhelper"
)
type addCqProjectMetricsHistory struct{}
diff --git a/backend/core/models/migrationscripts/20260720_add_is_bot_to_accounts.go b/backend/core/models/migrationscripts/20260720_add_is_bot_to_accounts.go
index 6830e18..22e2848 100644
--- a/backend/core/models/migrationscripts/20260720_add_is_bot_to_accounts.go
+++ b/backend/core/models/migrationscripts/20260720_add_is_bot_to_accounts.go
@@ -18,9 +18,9 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
)
var _ plugin.MigrationScript = (*addIsBotToAccounts)(nil)
diff --git a/backend/core/models/migrationscripts/20260722_add_sprint_velocity_fields.go b/backend/core/models/migrationscripts/20260722_add_sprint_velocity_fields.go
index 369b70b..bc8aca3 100644
--- a/backend/core/models/migrationscripts/20260722_add_sprint_velocity_fields.go
+++ b/backend/core/models/migrationscripts/20260722_add_sprint_velocity_fields.go
@@ -18,9 +18,9 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
)
var _ plugin.MigrationScript = (*addSprintVelocityFields)(nil)
diff --git a/backend/core/models/migrationscripts/20260818_add_blueprint_id_index_to_pipelines.go b/backend/core/models/migrationscripts/20260818_add_blueprint_id_index_to_pipelines.go
index 8b54146..138aa68 100644
--- a/backend/core/models/migrationscripts/20260818_add_blueprint_id_index_to_pipelines.go
+++ b/backend/core/models/migrationscripts/20260818_add_blueprint_id_index_to_pipelines.go
@@ -18,9 +18,9 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/helpers/migrationhelper"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/helpers/migrationhelper"
)
type addBlueprintIdIndexToPipelines struct{}
diff --git a/backend/core/models/migrationscripts/20260819_expand_text_columns.go b/backend/core/models/migrationscripts/20260819_expand_text_columns.go
index 6f8d396..8e31e38 100644
--- a/backend/core/models/migrationscripts/20260819_expand_text_columns.go
+++ b/backend/core/models/migrationscripts/20260819_expand_text_columns.go
@@ -18,9 +18,9 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
)
var _ plugin.MigrationScript = (*expandDomainTextColumns)(nil)
diff --git a/backend/core/models/migrationscripts/20260819_expand_text_columns_test.go b/backend/core/models/migrationscripts/20260819_expand_text_columns_test.go
index 3269f04..69bf07f 100644
--- a/backend/core/models/migrationscripts/20260819_expand_text_columns_test.go
+++ b/backend/core/models/migrationscripts/20260819_expand_text_columns_test.go
@@ -21,9 +21,9 @@
"reflect"
"testing"
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
)
type domainTextColumnCall struct {
diff --git a/backend/core/models/migrationscripts/register.go b/backend/core/models/migrationscripts/register.go
index dd015b9..620a02a 100644
--- a/backend/core/models/migrationscripts/register.go
+++ b/backend/core/models/migrationscripts/register.go
@@ -18,7 +18,7 @@
package migrationscripts
import (
- plugin "github.com/apache/incubator-devlake/core/plugin"
+ plugin "github.com/apache/devlake/core/plugin"
)
// All return all the migration scripts of framework
diff --git a/backend/core/models/notification.go b/backend/core/models/notification.go
index 6c62447..26496af 100644
--- a/backend/core/models/notification.go
+++ b/backend/core/models/notification.go
@@ -18,7 +18,7 @@
package models
import (
- "github.com/apache/incubator-devlake/core/models/common"
+ "github.com/apache/devlake/core/models/common"
)
type NotificationType string
diff --git a/backend/core/models/pipeline.go b/backend/core/models/pipeline.go
index a3c0dca..7b535c9 100644
--- a/backend/core/models/pipeline.go
+++ b/backend/core/models/pipeline.go
@@ -20,7 +20,7 @@
import (
"time"
- "github.com/apache/incubator-devlake/core/models/common"
+ "github.com/apache/devlake/core/models/common"
)
type GenericPipelineTask[T any] struct {
diff --git a/backend/core/models/project.go b/backend/core/models/project.go
index 99c6178..8041c6b 100644
--- a/backend/core/models/project.go
+++ b/backend/core/models/project.go
@@ -21,7 +21,7 @@
"encoding/json"
"time"
- "github.com/apache/incubator-devlake/core/models/common"
+ "github.com/apache/devlake/core/models/common"
)
type BaseProject struct {
diff --git a/backend/core/models/task.go b/backend/core/models/task.go
index 34be9ef..7712c1b 100644
--- a/backend/core/models/task.go
+++ b/backend/core/models/task.go
@@ -20,7 +20,7 @@
import (
"time"
- "github.com/apache/incubator-devlake/core/models/common"
+ "github.com/apache/devlake/core/models/common"
)
const (
diff --git a/backend/core/plugin/api_client.go b/backend/core/plugin/api_client.go
index f35679b..0b8988e 100644
--- a/backend/core/plugin/api_client.go
+++ b/backend/core/plugin/api_client.go
@@ -21,7 +21,7 @@
"net/http"
"net/url"
- "github.com/apache/incubator-devlake/core/errors"
+ "github.com/apache/devlake/core/errors"
)
// ApiAsyncCallback FIXME ...
diff --git a/backend/core/plugin/hub.go b/backend/core/plugin/hub.go
index 3feca22..d043600 100644
--- a/backend/core/plugin/hub.go
+++ b/backend/core/plugin/hub.go
@@ -22,8 +22,8 @@
"strings"
"sync"
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
)
// Allowing plugin to know each other
diff --git a/backend/core/plugin/plugin_api.go b/backend/core/plugin/plugin_api.go
index f9195d2..31025a0 100644
--- a/backend/core/plugin/plugin_api.go
+++ b/backend/core/plugin/plugin_api.go
@@ -18,9 +18,9 @@
package plugin
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/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/common"
"net/http"
"net/url"
)
diff --git a/backend/core/plugin/plugin_blueprint.go b/backend/core/plugin/plugin_blueprint.go
index 35c36b3..68ea493 100644
--- a/backend/core/plugin/plugin_blueprint.go
+++ b/backend/core/plugin/plugin_blueprint.go
@@ -20,8 +20,8 @@
import (
"encoding/json"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models"
)
/*
@@ -36,7 +36,7 @@
"plugin": "github",
"connectionId": 123,
"scopes": [
- { "id": null, "name": "apache/incubator-devlake" }
+ { "id": null, "name": "apache/devlake" }
]
}
]
@@ -44,18 +44,18 @@
step 2: call plugin PluginBlueprintV200.MakePipelinePlan with
[
- { "id": "1", "name": "apache/incubator-devlake" }
+ { "id": "1", "name": "apache/devlake" }
]
plugin would return PipelinePlan like the following json, and config-ui should use scopeName for displaying
[
[
- { "plugin": "github", "options": { "scopeId": "1", "scopeName": "apache/incubator-devlake" } }
+ { "plugin": "github", "options": { "scopeId": "1", "scopeName": "apache/devlake" } }
]
]
and []Scope for project_mapping:
[
- &Repo{ "id": "github:GithubRepo:1:1", "name": "apache/incubator-devlake" },
- &Board{ "id": "github:GithubRepo:1:1", "name": "apache/incubator-devlake" }
+ &Repo{ "id": "github:GithubRepo:1:1", "name": "apache/devlake" },
+ &Board{ "id": "github:GithubRepo:1:1", "name": "apache/devlake" }
]
step 3: framework should maintain the project_mapping table based on the []Scope array
diff --git a/backend/core/plugin/plugin_datasource.go b/backend/core/plugin/plugin_datasource.go
index d40bfc9..efe01b9 100644
--- a/backend/core/plugin/plugin_datasource.go
+++ b/backend/core/plugin/plugin_datasource.go
@@ -23,9 +23,9 @@
"net/http"
- "github.com/apache/incubator-devlake/core/dal"
+ "github.com/apache/devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
+ "github.com/apache/devlake/core/errors"
"github.com/go-playground/validator/v10"
)
diff --git a/backend/core/plugin/plugin_init.go b/backend/core/plugin/plugin_init.go
index 4dfbf6c..42f7821 100644
--- a/backend/core/plugin/plugin_init.go
+++ b/backend/core/plugin/plugin_init.go
@@ -18,8 +18,8 @@
package plugin
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
)
// PluginInit Implement this interface if plugin needed some initialization
diff --git a/backend/core/plugin/plugin_meta.go b/backend/core/plugin/plugin_meta.go
index d300e1f..4047f7e 100644
--- a/backend/core/plugin/plugin_meta.go
+++ b/backend/core/plugin/plugin_meta.go
@@ -17,7 +17,7 @@
package plugin
-import "github.com/apache/incubator-devlake/core/dal"
+import "github.com/apache/devlake/core/dal"
// PluginMeta is the Minimal features a plugin should comply, should be implemented by all plugins
type PluginMeta interface {
diff --git a/backend/core/plugin/plugin_metric.go b/backend/core/plugin/plugin_metric.go
index 98f750c..982bef7 100644
--- a/backend/core/plugin/plugin_metric.go
+++ b/backend/core/plugin/plugin_metric.go
@@ -18,7 +18,7 @@
package plugin
import (
- "github.com/apache/incubator-devlake/core/errors"
+ "github.com/apache/devlake/core/errors"
)
type PluginMetric interface {
diff --git a/backend/core/plugin/plugin_migration.go b/backend/core/plugin/plugin_migration.go
index 3b51b25..2b2c6d0 100644
--- a/backend/core/plugin/plugin_migration.go
+++ b/backend/core/plugin/plugin_migration.go
@@ -18,8 +18,8 @@
package plugin
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
)
// MigrationScript upgrades database to a newer version
diff --git a/backend/core/plugin/plugin_model.go b/backend/core/plugin/plugin_model.go
index c43547d..82a1a86 100644
--- a/backend/core/plugin/plugin_model.go
+++ b/backend/core/plugin/plugin_model.go
@@ -17,7 +17,7 @@
package plugin
-import "github.com/apache/incubator-devlake/core/dal"
+import "github.com/apache/devlake/core/dal"
type PluginModel interface {
// This method returns all models of the current plugin
diff --git a/backend/core/plugin/plugin_task.go b/backend/core/plugin/plugin_task.go
index e3eea47..6529be9 100644
--- a/backend/core/plugin/plugin_task.go
+++ b/backend/core/plugin/plugin_task.go
@@ -20,9 +20,9 @@
import (
"context"
- corecontext "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models"
+ corecontext "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models"
)
type ProgressType int
diff --git a/backend/core/plugin/plugin_utils.go b/backend/core/plugin/plugin_utils.go
index ac8e209..de34a94 100644
--- a/backend/core/plugin/plugin_utils.go
+++ b/backend/core/plugin/plugin_utils.go
@@ -27,8 +27,8 @@
"fmt"
"io"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/utils"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/utils"
)
const EncodeKeyEnvStr = "ENCRYPTION_SECRET"
diff --git a/backend/core/plugin/plugin_utils_test.go b/backend/core/plugin/plugin_utils_test.go
index 9a8f516..4c0a30c 100644
--- a/backend/core/plugin/plugin_utils_test.go
+++ b/backend/core/plugin/plugin_utils_test.go
@@ -24,7 +24,7 @@
"encoding/base64"
"testing"
- "github.com/apache/incubator-devlake/core/errors"
+ "github.com/apache/devlake/core/errors"
"github.com/stretchr/testify/assert"
)
diff --git a/backend/core/runner/basic_res.go b/backend/core/runner/basic_res.go
index 7694d13..bc88223 100644
--- a/backend/core/runner/basic_res.go
+++ b/backend/core/runner/basic_res.go
@@ -19,13 +19,13 @@
import (
"fmt"
- "github.com/apache/incubator-devlake/core/config"
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/log"
- "github.com/apache/incubator-devlake/core/plugin"
- contextimpl "github.com/apache/incubator-devlake/impls/context"
- "github.com/apache/incubator-devlake/impls/dalgorm"
- "github.com/apache/incubator-devlake/impls/logruslog"
+ "github.com/apache/devlake/core/config"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/log"
+ "github.com/apache/devlake/core/plugin"
+ contextimpl "github.com/apache/devlake/impls/context"
+ "github.com/apache/devlake/impls/dalgorm"
+ "github.com/apache/devlake/impls/logruslog"
"gorm.io/gorm"
"sync"
)
diff --git a/backend/core/runner/db.go b/backend/core/runner/db.go
index 8b1f6fc..01081a4 100644
--- a/backend/core/runner/db.go
+++ b/backend/core/runner/db.go
@@ -28,10 +28,10 @@
"strings"
"time"
- "github.com/apache/incubator-devlake/core/config"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/log"
+ "github.com/apache/devlake/core/config"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/log"
tlsMysql "github.com/go-sql-driver/mysql"
"gorm.io/driver/mysql"
"gorm.io/driver/postgres"
diff --git a/backend/core/runner/directrun.go b/backend/core/runner/directrun.go
index 47c4407..4abc3da 100644
--- a/backend/core/runner/directrun.go
+++ b/backend/core/runner/directrun.go
@@ -28,9 +28,9 @@
"syscall"
"time"
- "github.com/apache/incubator-devlake/core/models"
- "github.com/apache/incubator-devlake/core/models/migrationscripts"
- "github.com/apache/incubator-devlake/core/plugin"
+ "github.com/apache/devlake/core/models"
+ "github.com/apache/devlake/core/models/migrationscripts"
+ "github.com/apache/devlake/core/plugin"
"github.com/spf13/cobra"
)
diff --git a/backend/core/runner/loader.go b/backend/core/runner/loader.go
index c454aec..f05a786 100644
--- a/backend/core/runner/loader.go
+++ b/backend/core/runner/loader.go
@@ -25,12 +25,12 @@
"strings"
"sync"
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/server/services/remote"
- "github.com/apache/incubator-devlake/server/services/remote/bridge"
- "github.com/apache/incubator-devlake/server/services/remote/models"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/server/services/remote"
+ "github.com/apache/devlake/server/services/remote/bridge"
+ "github.com/apache/devlake/server/services/remote/models"
)
// LoadPlugins load plugins from local directory
diff --git a/backend/core/runner/migration.go b/backend/core/runner/migration.go
index b77b3a2..7edccdc 100644
--- a/backend/core/runner/migration.go
+++ b/backend/core/runner/migration.go
@@ -18,10 +18,10 @@
package runner
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/migration"
- "github.com/apache/incubator-devlake/core/plugin"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/migration"
+ "github.com/apache/devlake/core/plugin"
"sync"
)
diff --git a/backend/core/runner/run_pipeline.go b/backend/core/runner/run_pipeline.go
index 7df1d99..f86a67d 100644
--- a/backend/core/runner/run_pipeline.go
+++ b/backend/core/runner/run_pipeline.go
@@ -21,10 +21,10 @@
gocontext "context"
"time"
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models"
)
// RunPipeline FIXME ...
diff --git a/backend/core/runner/run_task.go b/backend/core/runner/run_task.go
index 961725b..cde7d07 100644
--- a/backend/core/runner/run_task.go
+++ b/backend/core/runner/run_task.go
@@ -23,18 +23,18 @@
"strings"
"time"
- "github.com/apache/incubator-devlake/core/models/common"
+ "github.com/apache/devlake/core/models/common"
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/log"
- "github.com/apache/incubator-devlake/core/models"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/core/utils"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- contextimpl "github.com/apache/incubator-devlake/impls/context"
- "github.com/apache/incubator-devlake/impls/logruslog"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/log"
+ "github.com/apache/devlake/core/models"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/core/utils"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ contextimpl "github.com/apache/devlake/impls/context"
+ "github.com/apache/devlake/impls/logruslog"
)
// RunTask FIXME ...
diff --git a/backend/core/utils/io.go b/backend/core/utils/io.go
index 12d56f4..d826e99 100644
--- a/backend/core/utils/io.go
+++ b/backend/core/utils/io.go
@@ -22,7 +22,7 @@
"compress/gzip"
"context"
"fmt"
- "github.com/apache/incubator-devlake/core/errors"
+ "github.com/apache/devlake/core/errors"
"github.com/viant/afs"
"os"
"path/filepath"
diff --git a/backend/core/utils/ipc.go b/backend/core/utils/ipc.go
index f8bb156..5991a18 100644
--- a/backend/core/utils/ipc.go
+++ b/backend/core/utils/ipc.go
@@ -27,7 +27,7 @@
"sync"
"syscall"
- "github.com/apache/incubator-devlake/core/errors"
+ "github.com/apache/devlake/core/errors"
)
// ProcessResponse wraps output of a process
diff --git a/backend/core/utils/json.go b/backend/core/utils/json.go
index 1505dd8..c9ff65f 100644
--- a/backend/core/utils/json.go
+++ b/backend/core/utils/json.go
@@ -22,7 +22,7 @@
"fmt"
"reflect"
- "github.com/apache/incubator-devlake/core/errors"
+ "github.com/apache/devlake/core/errors"
)
type JsonObject = map[string]any
diff --git a/backend/core/utils/network_helper.go b/backend/core/utils/network_helper.go
index aba0845..959d7ad 100644
--- a/backend/core/utils/network_helper.go
+++ b/backend/core/utils/network_helper.go
@@ -22,7 +22,7 @@
"net"
"time"
- "github.com/apache/incubator-devlake/core/errors"
+ "github.com/apache/devlake/core/errors"
)
// CheckDNS FIXME ...
diff --git a/backend/core/utils/network_helper_test.go b/backend/core/utils/network_helper_test.go
index a46d409..1d94601 100644
--- a/backend/core/utils/network_helper_test.go
+++ b/backend/core/utils/network_helper_test.go
@@ -21,21 +21,6 @@
"testing"
)
-func TestCheckDNS(t *testing.T) {
- var hostname = "baidu.com"
- var err = CheckDNS(hostname)
- if err != nil {
- t.Error(err)
- }
-
- var invalidHostname = "baidu.abc"
- err = CheckDNS(invalidHostname)
- t.Log(err)
- if err == nil {
- t.Errorf("Expected %s, Got nil", "failed")
- }
-}
-
func TestResolvePort(t *testing.T) {
port, err := ResolvePort("80", "https")
if err != nil {
diff --git a/backend/core/utils/strconv.go b/backend/core/utils/strconv.go
index 6d65bf7..d9093c4 100644
--- a/backend/core/utils/strconv.go
+++ b/backend/core/utils/strconv.go
@@ -18,7 +18,7 @@
package utils
import (
- "github.com/apache/incubator-devlake/core/errors"
+ "github.com/apache/devlake/core/errors"
"strconv"
"time"
)
diff --git a/backend/core/utils/strings.go b/backend/core/utils/strings.go
index d08aa04..67a0cfb 100644
--- a/backend/core/utils/strings.go
+++ b/backend/core/utils/strings.go
@@ -22,7 +22,7 @@
"math/big"
"strings"
- "github.com/apache/incubator-devlake/core/errors"
+ "github.com/apache/devlake/core/errors"
)
const letterBytes = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789"
diff --git a/backend/core/utils/strings_test.go b/backend/core/utils/strings_test.go
index 0abfe44..56b7a42 100644
--- a/backend/core/utils/strings_test.go
+++ b/backend/core/utils/strings_test.go
@@ -20,7 +20,7 @@
import (
"testing"
- "github.com/apache/incubator-devlake/core/errors"
+ "github.com/apache/devlake/core/errors"
"github.com/stretchr/testify/assert"
)
diff --git a/backend/go.mod b/backend/go.mod
index 6b46bc0..20eba96 100644
--- a/backend/go.mod
+++ b/backend/go.mod
@@ -1,4 +1,4 @@
-module github.com/apache/incubator-devlake
+module github.com/apache/devlake
go 1.26
diff --git a/backend/helpers/apikeyhelper/apikeyhelper.go b/backend/helpers/apikeyhelper/apikeyhelper.go
index 6d2678d..b4a8925 100644
--- a/backend/helpers/apikeyhelper/apikeyhelper.go
+++ b/backend/helpers/apikeyhelper/apikeyhelper.go
@@ -21,14 +21,14 @@
"crypto/hmac"
"crypto/sha256"
"fmt"
- "github.com/apache/incubator-devlake/core/config"
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/log"
- "github.com/apache/incubator-devlake/core/models"
- common "github.com/apache/incubator-devlake/core/models/common"
- "github.com/apache/incubator-devlake/core/utils"
+ "github.com/apache/devlake/core/config"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/log"
+ "github.com/apache/devlake/core/models"
+ common "github.com/apache/devlake/core/models/common"
+ "github.com/apache/devlake/core/utils"
"github.com/spf13/viper"
"regexp"
"strings"
diff --git a/backend/helpers/dbhelper/txhelper.go b/backend/helpers/dbhelper/txhelper.go
index c9101f4..812f25f 100644
--- a/backend/helpers/dbhelper/txhelper.go
+++ b/backend/helpers/dbhelper/txhelper.go
@@ -21,11 +21,11 @@
"fmt"
"time"
- "github.com/apache/incubator-devlake/core/log"
+ "github.com/apache/devlake/core/log"
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
)
// TxHelper is a helper for transaction management
diff --git a/backend/helpers/e2ehelper/data_flow_tester.go b/backend/helpers/e2ehelper/data_flow_tester.go
index 5a2163e..3c0697b 100644
--- a/backend/helpers/e2ehelper/data_flow_tester.go
+++ b/backend/helpers/e2ehelper/data_flow_tester.go
@@ -33,19 +33,19 @@
"github.com/spf13/cast"
- "github.com/apache/incubator-devlake/core/config"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/log"
- "github.com/apache/incubator-devlake/core/models"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/core/runner"
- "github.com/apache/incubator-devlake/core/utils"
- "github.com/apache/incubator-devlake/helpers/pluginhelper"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- contextimpl "github.com/apache/incubator-devlake/impls/context"
- "github.com/apache/incubator-devlake/impls/dalgorm"
- "github.com/apache/incubator-devlake/impls/logruslog"
+ "github.com/apache/devlake/core/config"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/log"
+ "github.com/apache/devlake/core/models"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/core/runner"
+ "github.com/apache/devlake/core/utils"
+ "github.com/apache/devlake/helpers/pluginhelper"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ contextimpl "github.com/apache/devlake/impls/context"
+ "github.com/apache/devlake/impls/dalgorm"
+ "github.com/apache/devlake/impls/logruslog"
"github.com/spf13/viper"
"github.com/stretchr/testify/assert"
diff --git a/backend/helpers/e2ehelper/data_flow_tester_test.go b/backend/helpers/e2ehelper/data_flow_tester_test.go
index f716636..e3dd725 100644
--- a/backend/helpers/e2ehelper/data_flow_tester_test.go
+++ b/backend/helpers/e2ehelper/data_flow_tester_test.go
@@ -18,11 +18,11 @@
package e2ehelper
import (
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/models/common"
- plugin "github.com/apache/incubator-devlake/core/plugin"
- gitlabModels "github.com/apache/incubator-devlake/plugins/gitlab/models"
- "github.com/apache/incubator-devlake/plugins/gitlab/tasks"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/models/common"
+ plugin "github.com/apache/devlake/core/plugin"
+ gitlabModels "github.com/apache/devlake/plugins/gitlab/models"
+ "github.com/apache/devlake/plugins/gitlab/tasks"
"testing"
"github.com/stretchr/testify/assert"
diff --git a/backend/helpers/e2ehelper/migration_db.go b/backend/helpers/e2ehelper/migration_db.go
index 3d7fe2d..d091c4e 100644
--- a/backend/helpers/e2ehelper/migration_db.go
+++ b/backend/helpers/e2ehelper/migration_db.go
@@ -23,11 +23,11 @@
"strings"
"testing"
- "github.com/apache/incubator-devlake/core/config"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/core/runner"
- "github.com/apache/incubator-devlake/impls/dalgorm"
- "github.com/apache/incubator-devlake/impls/logruslog"
+ "github.com/apache/devlake/core/config"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/core/runner"
+ "github.com/apache/devlake/impls/dalgorm"
+ "github.com/apache/devlake/impls/logruslog"
"gorm.io/gorm"
)
diff --git a/backend/helpers/migrationhelper/migrationhelper.go b/backend/helpers/migrationhelper/migrationhelper.go
index 93186e6..9e98c9f 100644
--- a/backend/helpers/migrationhelper/migrationhelper.go
+++ b/backend/helpers/migrationhelper/migrationhelper.go
@@ -25,11 +25,11 @@
"reflect"
"strings"
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
)
// AutoMigrateTables runs AutoMigrate for multiple tables
diff --git a/backend/helpers/migrationhelper/migrationhelper_test.go b/backend/helpers/migrationhelper/migrationhelper_test.go
index 7962100..1fcf19f 100644
--- a/backend/helpers/migrationhelper/migrationhelper_test.go
+++ b/backend/helpers/migrationhelper/migrationhelper_test.go
@@ -18,13 +18,13 @@
import (
"crypto/sha256"
"encoding/hex"
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/unithelper"
- mockcontext "github.com/apache/incubator-devlake/mocks/core/context"
- mockdal "github.com/apache/incubator-devlake/mocks/core/dal"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/unithelper"
+ mockcontext "github.com/apache/devlake/mocks/core/context"
+ mockdal "github.com/apache/devlake/mocks/core/dal"
"reflect"
"testing"
diff --git a/backend/helpers/oidchelper/config.go b/backend/helpers/oidchelper/config.go
index 9d1b8ae..6f0a4f0 100644
--- a/backend/helpers/oidchelper/config.go
+++ b/backend/helpers/oidchelper/config.go
@@ -23,8 +23,8 @@
"strings"
"time"
- "github.com/apache/incubator-devlake/core/config"
- "github.com/apache/incubator-devlake/core/context"
+ "github.com/apache/devlake/core/config"
+ "github.com/apache/devlake/core/context"
)
const (
diff --git a/backend/helpers/oidchelper/config_test.go b/backend/helpers/oidchelper/config_test.go
index 3fe92a1..c74d47c 100644
--- a/backend/helpers/oidchelper/config_test.go
+++ b/backend/helpers/oidchelper/config_test.go
@@ -23,10 +23,10 @@
"github.com/spf13/viper"
- "github.com/apache/incubator-devlake/core/config"
- corectx "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/log"
+ "github.com/apache/devlake/core/config"
+ corectx "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/log"
)
func TestParseScopes(t *testing.T) {
diff --git a/backend/helpers/pluginhelper/api/api_async_client.go b/backend/helpers/pluginhelper/api/api_async_client.go
index c926c33..079f893 100644
--- a/backend/helpers/pluginhelper/api/api_async_client.go
+++ b/backend/helpers/pluginhelper/api/api_async_client.go
@@ -26,10 +26,10 @@
"net/url"
"time"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/log"
- plugin "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/core/utils"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/log"
+ plugin "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/core/utils"
)
// HttpMinStatusRetryCode is which status will retry
diff --git a/backend/helpers/pluginhelper/api/api_client.go b/backend/helpers/pluginhelper/api/api_client.go
index 9e731f3..9249c06 100644
--- a/backend/helpers/pluginhelper/api/api_client.go
+++ b/backend/helpers/pluginhelper/api/api_client.go
@@ -35,12 +35,12 @@
"time"
"unicode/utf8"
- "github.com/apache/incubator-devlake/core/plugin"
+ "github.com/apache/devlake/core/plugin"
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/log"
- "github.com/apache/incubator-devlake/core/utils"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/log"
+ "github.com/apache/devlake/core/utils"
)
// ErrIgnoreAndContinue is a error which should be ignored
diff --git a/backend/helpers/pluginhelper/api/api_client_test.go b/backend/helpers/pluginhelper/api/api_client_test.go
index d0c9647..3b876c9 100644
--- a/backend/helpers/pluginhelper/api/api_client_test.go
+++ b/backend/helpers/pluginhelper/api/api_client_test.go
@@ -20,8 +20,8 @@
import (
"testing"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/impls/logruslog"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/impls/logruslog"
"github.com/stretchr/testify/assert"
)
diff --git a/backend/helpers/pluginhelper/api/api_collector.go b/backend/helpers/pluginhelper/api/api_collector.go
index c34fb7d..db0d0a1 100644
--- a/backend/helpers/pluginhelper/api/api_collector.go
+++ b/backend/helpers/pluginhelper/api/api_collector.go
@@ -28,10 +28,10 @@
"text/template"
"time"
- "github.com/apache/incubator-devlake/core/plugin"
+ "github.com/apache/devlake/core/plugin"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
)
var _ plugin.SubTask = (*ApiCollector)(nil)
@@ -299,7 +299,7 @@
totalPages, err := collector.args.GetTotalPages(res, collector.args)
if err != nil {
// Some APIs might or might not return total pages/records based on total number of records
- // check https://github.com/apache/incubator-devlake/issues/8187 for details
+ // check https://github.com/apache/devlake/issues/8187 for details
if err == ErrUndetermined {
collector.fetchPagesUndetermined(reqData, true)
return nil
diff --git a/backend/helpers/pluginhelper/api/api_collector_func.go b/backend/helpers/pluginhelper/api/api_collector_func.go
index cc5bcb5..2448f1d 100644
--- a/backend/helpers/pluginhelper/api/api_collector_func.go
+++ b/backend/helpers/pluginhelper/api/api_collector_func.go
@@ -20,7 +20,7 @@
import (
"encoding/json"
"fmt"
- "github.com/apache/incubator-devlake/core/errors"
+ "github.com/apache/devlake/core/errors"
"io"
"net/http"
)
diff --git a/backend/helpers/pluginhelper/api/api_collector_stateful.go b/backend/helpers/pluginhelper/api/api_collector_stateful.go
index 985392f..d2b9e82 100644
--- a/backend/helpers/pluginhelper/api/api_collector_stateful.go
+++ b/backend/helpers/pluginhelper/api/api_collector_stateful.go
@@ -23,8 +23,8 @@
"net/url"
"time"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
)
// StatefulApiCollector runs multiple collectors as a single subtask and maintains the state of the collector
diff --git a/backend/helpers/pluginhelper/api/api_collector_test.go b/backend/helpers/pluginhelper/api/api_collector_test.go
index e957dd7..8cacfbe 100644
--- a/backend/helpers/pluginhelper/api/api_collector_test.go
+++ b/backend/helpers/pluginhelper/api/api_collector_test.go
@@ -24,11 +24,11 @@
"net/url"
"testing"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/unithelper"
- mockdal "github.com/apache/incubator-devlake/mocks/core/dal"
- mockapi "github.com/apache/incubator-devlake/mocks/helpers/pluginhelper/api"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/unithelper"
+ mockdal "github.com/apache/devlake/mocks/core/dal"
+ mockapi "github.com/apache/devlake/mocks/helpers/pluginhelper/api"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/mock"
diff --git a/backend/helpers/pluginhelper/api/api_extractor.go b/backend/helpers/pluginhelper/api/api_extractor.go
index 6cd5c4b..7746263 100644
--- a/backend/helpers/pluginhelper/api/api_extractor.go
+++ b/backend/helpers/pluginhelper/api/api_extractor.go
@@ -20,10 +20,10 @@
import (
"reflect"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/common"
- plugin "github.com/apache/incubator-devlake/core/plugin"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/common"
+ plugin "github.com/apache/devlake/core/plugin"
)
// ApiExtractorArgs FIXME ...
diff --git a/backend/helpers/pluginhelper/api/api_extractor_stateful.go b/backend/helpers/pluginhelper/api/api_extractor_stateful.go
index 0e47478..a8b0eb3 100644
--- a/backend/helpers/pluginhelper/api/api_extractor_stateful.go
+++ b/backend/helpers/pluginhelper/api/api_extractor_stateful.go
@@ -21,10 +21,10 @@
"encoding/json"
"reflect"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/common"
- plugin "github.com/apache/incubator-devlake/core/plugin"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/common"
+ plugin "github.com/apache/devlake/core/plugin"
)
// StatefulApiExtractorArgs is a struct that contains the arguments for a stateful api extractor
diff --git a/backend/helpers/pluginhelper/api/api_ratelimit_calc.go b/backend/helpers/pluginhelper/api/api_ratelimit_calc.go
index 4f447b3..ac092d4 100644
--- a/backend/helpers/pluginhelper/api/api_ratelimit_calc.go
+++ b/backend/helpers/pluginhelper/api/api_ratelimit_calc.go
@@ -18,7 +18,7 @@
package api
import (
- "github.com/apache/incubator-devlake/core/errors"
+ "github.com/apache/devlake/core/errors"
"net/http"
"time"
)
diff --git a/backend/helpers/pluginhelper/api/api_rawdata.go b/backend/helpers/pluginhelper/api/api_rawdata.go
index 5e9bb78..3d432d7 100644
--- a/backend/helpers/pluginhelper/api/api_rawdata.go
+++ b/backend/helpers/pluginhelper/api/api_rawdata.go
@@ -23,8 +23,8 @@
"reflect"
"time"
- "github.com/apache/incubator-devlake/core/errors"
- plugin "github.com/apache/incubator-devlake/core/plugin"
+ "github.com/apache/devlake/core/errors"
+ plugin "github.com/apache/devlake/core/plugin"
)
// RawData is raw data structure in DB storage
diff --git a/backend/helpers/pluginhelper/api/apihelperabstract/validate.go b/backend/helpers/pluginhelper/api/apihelperabstract/validate.go
index 0740873..b14b24d 100644
--- a/backend/helpers/pluginhelper/api/apihelperabstract/validate.go
+++ b/backend/helpers/pluginhelper/api/apihelperabstract/validate.go
@@ -17,7 +17,7 @@
package apihelperabstract
-import "github.com/apache/incubator-devlake/core/errors"
+import "github.com/apache/devlake/core/errors"
type ComplexValidate interface {
Validate() errors.Error
diff --git a/backend/helpers/pluginhelper/api/batch_save.go b/backend/helpers/pluginhelper/api/batch_save.go
index 42a71c1..812ad82 100644
--- a/backend/helpers/pluginhelper/api/batch_save.go
+++ b/backend/helpers/pluginhelper/api/batch_save.go
@@ -23,10 +23,10 @@
"strings"
"sync"
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/log"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/log"
)
// BatchSave performs multiple records persistence of a specific type in one sql query to improve the performance
diff --git a/backend/helpers/pluginhelper/api/batch_save_divider.go b/backend/helpers/pluginhelper/api/batch_save_divider.go
index 393bbcc..04d2e1d 100644
--- a/backend/helpers/pluginhelper/api/batch_save_divider.go
+++ b/backend/helpers/pluginhelper/api/batch_save_divider.go
@@ -21,11 +21,11 @@
"fmt"
"reflect"
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/log"
- "github.com/apache/incubator-devlake/core/models/common"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/log"
+ "github.com/apache/devlake/core/models/common"
)
// BatchSaveDivider creates and caches BatchSave, this is helpful when dealing with massive amount of data records
diff --git a/backend/helpers/pluginhelper/api/batch_save_divider_test.go b/backend/helpers/pluginhelper/api/batch_save_divider_test.go
index 8d26916..52eb9b8 100644
--- a/backend/helpers/pluginhelper/api/batch_save_divider_test.go
+++ b/backend/helpers/pluginhelper/api/batch_save_divider_test.go
@@ -22,10 +22,10 @@
"testing"
"time"
- "github.com/apache/incubator-devlake/core/models/common"
- "github.com/apache/incubator-devlake/helpers/unithelper"
- mockcontext "github.com/apache/incubator-devlake/mocks/core/context"
- mockdal "github.com/apache/incubator-devlake/mocks/core/dal"
+ "github.com/apache/devlake/core/models/common"
+ "github.com/apache/devlake/helpers/unithelper"
+ mockcontext "github.com/apache/devlake/mocks/core/context"
+ mockdal "github.com/apache/devlake/mocks/core/dal"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/mock"
diff --git a/backend/helpers/pluginhelper/api/collector_state_manager.go b/backend/helpers/pluginhelper/api/collector_state_manager.go
index b977b12..690cf1d 100644
--- a/backend/helpers/pluginhelper/api/collector_state_manager.go
+++ b/backend/helpers/pluginhelper/api/collector_state_manager.go
@@ -20,10 +20,10 @@
import (
"time"
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models"
)
// CollectorStateManager manages the state of the collector. It is used to determine whether
diff --git a/backend/helpers/pluginhelper/api/collector_state_manager_test.go b/backend/helpers/pluginhelper/api/collector_state_manager_test.go
index f42eecd..dae2c1c 100644
--- a/backend/helpers/pluginhelper/api/collector_state_manager_test.go
+++ b/backend/helpers/pluginhelper/api/collector_state_manager_test.go
@@ -21,11 +21,11 @@
"testing"
"time"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models"
- "github.com/apache/incubator-devlake/helpers/unithelper"
- mockcontext "github.com/apache/incubator-devlake/mocks/core/context"
- mockdal "github.com/apache/incubator-devlake/mocks/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models"
+ "github.com/apache/devlake/helpers/unithelper"
+ mockcontext "github.com/apache/devlake/mocks/core/context"
+ mockdal "github.com/apache/devlake/mocks/core/dal"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/mock"
)
diff --git a/backend/helpers/pluginhelper/api/config_util.go b/backend/helpers/pluginhelper/api/config_util.go
index 74f0ef6..be3bb04 100644
--- a/backend/helpers/pluginhelper/api/config_util.go
+++ b/backend/helpers/pluginhelper/api/config_util.go
@@ -19,8 +19,8 @@
import (
"fmt"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/utils"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/utils"
"reflect"
"github.com/go-playground/validator/v10"
diff --git a/backend/helpers/pluginhelper/api/config_util_test.go b/backend/helpers/pluginhelper/api/config_util_test.go
index 85185a7..998529d 100644
--- a/backend/helpers/pluginhelper/api/config_util_test.go
+++ b/backend/helpers/pluginhelper/api/config_util_test.go
@@ -18,7 +18,7 @@
package api
import (
- "github.com/apache/incubator-devlake/core/config"
+ "github.com/apache/devlake/core/config"
"testing"
"github.com/stretchr/testify/assert"
diff --git a/backend/helpers/pluginhelper/api/connection.go b/backend/helpers/pluginhelper/api/connection.go
index 2965972..a3dbc16 100644
--- a/backend/helpers/pluginhelper/api/connection.go
+++ b/backend/helpers/pluginhelper/api/connection.go
@@ -21,7 +21,7 @@
"fmt"
"strings"
- "github.com/apache/incubator-devlake/core/models/common"
+ "github.com/apache/devlake/core/models/common"
)
// BaseConnection defines basic properties that every connection should have
diff --git a/backend/helpers/pluginhelper/api/connection_auths.go b/backend/helpers/pluginhelper/api/connection_auths.go
index d617035..dd38574 100644
--- a/backend/helpers/pluginhelper/api/connection_auths.go
+++ b/backend/helpers/pluginhelper/api/connection_auths.go
@@ -24,8 +24,8 @@
"reflect"
"strings"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
"github.com/go-playground/validator/v10"
)
@@ -171,7 +171,7 @@
continue
}
// case 2: embed origin Authenticator, e.g. GithubAppKey from
- // https://github.com/apache/incubator-devlake/blob/16f97a1a7605d5ce7cf391bbec1270eec7c77b6e/backend/plugins/github/models/connection.go#L41
+ // https://github.com/apache/devlake/blob/16f97a1a7605d5ce7cf391bbec1270eec7c77b6e/backend/plugins/github/models/connection.go#L41
// skip the error if the field doesn't belong to the current authMethod
shouldInclude := true
t := connType
diff --git a/backend/helpers/pluginhelper/api/connection_helper.go b/backend/helpers/pluginhelper/api/connection_helper.go
index d9630f8..0a9b8d6 100644
--- a/backend/helpers/pluginhelper/api/connection_helper.go
+++ b/backend/helpers/pluginhelper/api/connection_helper.go
@@ -22,15 +22,15 @@
"fmt"
"strconv"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/services"
- "github.com/apache/incubator-devlake/server/api/shared"
+ "github.com/apache/devlake/helpers/pluginhelper/services"
+ "github.com/apache/devlake/server/api/shared"
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/log"
- "github.com/apache/incubator-devlake/core/models"
- "github.com/apache/incubator-devlake/core/plugin"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/log"
+ "github.com/apache/devlake/core/models"
+ "github.com/apache/devlake/core/plugin"
"github.com/go-playground/validator/v10"
)
diff --git a/backend/helpers/pluginhelper/api/data_convertor.go b/backend/helpers/pluginhelper/api/data_convertor.go
index faf88ec..cac441f 100644
--- a/backend/helpers/pluginhelper/api/data_convertor.go
+++ b/backend/helpers/pluginhelper/api/data_convertor.go
@@ -18,9 +18,9 @@
package api
import (
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- plugin "github.com/apache/incubator-devlake/core/plugin"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ plugin "github.com/apache/devlake/core/plugin"
"reflect"
)
diff --git a/backend/helpers/pluginhelper/api/data_convertor_stateful.go b/backend/helpers/pluginhelper/api/data_convertor_stateful.go
index f742df8..bb5a585 100644
--- a/backend/helpers/pluginhelper/api/data_convertor_stateful.go
+++ b/backend/helpers/pluginhelper/api/data_convertor_stateful.go
@@ -20,9 +20,9 @@
import (
"reflect"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- plugin "github.com/apache/incubator-devlake/core/plugin"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ plugin "github.com/apache/devlake/core/plugin"
)
type StatefulDataConverterArgs[InputType any] struct {
diff --git a/backend/helpers/pluginhelper/api/data_enricher.go b/backend/helpers/pluginhelper/api/data_enricher.go
index 0024b75..b8924f8 100644
--- a/backend/helpers/pluginhelper/api/data_enricher.go
+++ b/backend/helpers/pluginhelper/api/data_enricher.go
@@ -22,10 +22,10 @@
"regexp"
"strings"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/common"
- plugin "github.com/apache/incubator-devlake/core/plugin"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/common"
+ plugin "github.com/apache/devlake/core/plugin"
)
// DataEnrichHandler Accepts row from the Input and produces arbitrary records.
diff --git a/backend/helpers/pluginhelper/api/ds_connection_api_helper.go b/backend/helpers/pluginhelper/api/ds_connection_api_helper.go
index 27eeb43..db427f3 100644
--- a/backend/helpers/pluginhelper/api/ds_connection_api_helper.go
+++ b/backend/helpers/pluginhelper/api/ds_connection_api_helper.go
@@ -20,12 +20,12 @@
import (
"strconv"
- "github.com/apache/incubator-devlake/server/api/shared"
+ "github.com/apache/devlake/server/api/shared"
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/srvhelper"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/srvhelper"
)
// DsConnectionApiHelper
diff --git a/backend/helpers/pluginhelper/api/ds_helper.go b/backend/helpers/pluginhelper/api/ds_helper.go
index 0b14356..8ab5d4b 100644
--- a/backend/helpers/pluginhelper/api/ds_helper.go
+++ b/backend/helpers/pluginhelper/api/ds_helper.go
@@ -20,9 +20,9 @@
import (
"reflect"
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/srvhelper"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/srvhelper"
)
var noScopeConfig = reflect.TypeOf(new(srvhelper.NoScopeConfig))
diff --git a/backend/helpers/pluginhelper/api/ds_remote_api_proxy_api.go b/backend/helpers/pluginhelper/api/ds_remote_api_proxy_api.go
index b0c4b04..d9efa42 100644
--- a/backend/helpers/pluginhelper/api/ds_remote_api_proxy_api.go
+++ b/backend/helpers/pluginhelper/api/ds_remote_api_proxy_api.go
@@ -25,9 +25,9 @@
"strings"
"sync"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/log"
- "github.com/apache/incubator-devlake/core/plugin"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/log"
+ "github.com/apache/devlake/core/plugin"
)
// DsRemoteApiProxyHelper is a helper to proxy api request to remote servers
diff --git a/backend/helpers/pluginhelper/api/ds_remote_api_scope_list_helper.go b/backend/helpers/pluginhelper/api/ds_remote_api_scope_list_helper.go
index 83fef06..11c09cf 100644
--- a/backend/helpers/pluginhelper/api/ds_remote_api_scope_list_helper.go
+++ b/backend/helpers/pluginhelper/api/ds_remote_api_scope_list_helper.go
@@ -21,9 +21,9 @@
"encoding/base64"
"encoding/json"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api/models"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api/models"
)
const (
diff --git a/backend/helpers/pluginhelper/api/ds_remote_api_scope_search_helper.go b/backend/helpers/pluginhelper/api/ds_remote_api_scope_search_helper.go
index cb870c7..6cfb055 100644
--- a/backend/helpers/pluginhelper/api/ds_remote_api_scope_search_helper.go
+++ b/backend/helpers/pluginhelper/api/ds_remote_api_scope_search_helper.go
@@ -18,10 +18,10 @@
package api
import (
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api/models"
- "github.com/apache/incubator-devlake/helpers/utils"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api/models"
+ "github.com/apache/devlake/helpers/utils"
)
type DsSearchRemoteScopes[C plugin.ToolLayerApiConnection, S plugin.ToolLayerScope] func(
diff --git a/backend/helpers/pluginhelper/api/ds_scope_api_helper.go b/backend/helpers/pluginhelper/api/ds_scope_api_helper.go
index eb0b8af..60d8e2a 100644
--- a/backend/helpers/pluginhelper/api/ds_scope_api_helper.go
+++ b/backend/helpers/pluginhelper/api/ds_scope_api_helper.go
@@ -20,13 +20,13 @@
import (
"fmt"
- "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/core/plugin"
- serviceHelper "github.com/apache/incubator-devlake/helpers/pluginhelper/services"
- "github.com/apache/incubator-devlake/helpers/srvhelper"
- "github.com/apache/incubator-devlake/server/api/shared"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/common"
+ "github.com/apache/devlake/core/plugin"
+ serviceHelper "github.com/apache/devlake/helpers/pluginhelper/services"
+ "github.com/apache/devlake/helpers/srvhelper"
+ "github.com/apache/devlake/server/api/shared"
)
type ScopeRefDoc = serviceHelper.BlueprintProjectPairs
diff --git a/backend/helpers/pluginhelper/api/ds_scope_config_api_helper.go b/backend/helpers/pluginhelper/api/ds_scope_config_api_helper.go
index c93144e..a41bc09 100644
--- a/backend/helpers/pluginhelper/api/ds_scope_config_api_helper.go
+++ b/backend/helpers/pluginhelper/api/ds_scope_config_api_helper.go
@@ -18,11 +18,11 @@
package api
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/srvhelper"
- "github.com/apache/incubator-devlake/server/api/shared"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/srvhelper"
+ "github.com/apache/devlake/server/api/shared"
)
// DsScopeConfigApiHelper
diff --git a/backend/helpers/pluginhelper/api/enrich_with_regex.go b/backend/helpers/pluginhelper/api/enrich_with_regex.go
index b31fce7..cf56637 100644
--- a/backend/helpers/pluginhelper/api/enrich_with_regex.go
+++ b/backend/helpers/pluginhelper/api/enrich_with_regex.go
@@ -21,7 +21,7 @@
"fmt"
"regexp"
- "github.com/apache/incubator-devlake/core/errors"
+ "github.com/apache/devlake/core/errors"
)
// RegexEnricher process value with regex pattern
diff --git a/backend/helpers/pluginhelper/api/graphql_async_client.go b/backend/helpers/pluginhelper/api/graphql_async_client.go
index 61a1c9f..d67e78d 100644
--- a/backend/helpers/pluginhelper/api/graphql_async_client.go
+++ b/backend/helpers/pluginhelper/api/graphql_async_client.go
@@ -24,10 +24,10 @@
"sync"
"time"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/log"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/core/utils"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/log"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/core/utils"
"github.com/merico-ai/graphql"
)
diff --git a/backend/helpers/pluginhelper/api/graphql_collector.go b/backend/helpers/pluginhelper/api/graphql_collector.go
index 28a5b2b..2601e4e 100644
--- a/backend/helpers/pluginhelper/api/graphql_collector.go
+++ b/backend/helpers/pluginhelper/api/graphql_collector.go
@@ -25,9 +25,9 @@
"strings"
"time"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- plugin "github.com/apache/incubator-devlake/core/plugin"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ plugin "github.com/apache/devlake/core/plugin"
"github.com/merico-ai/graphql"
)
diff --git a/backend/helpers/pluginhelper/api/issue_repo_commit_convertor.go b/backend/helpers/pluginhelper/api/issue_repo_commit_convertor.go
index 3ed842e..3b2ee56 100644
--- a/backend/helpers/pluginhelper/api/issue_repo_commit_convertor.go
+++ b/backend/helpers/pluginhelper/api/issue_repo_commit_convertor.go
@@ -18,7 +18,7 @@
package api
import (
- "github.com/apache/incubator-devlake/core/models/domainlayer/crossdomain"
+ "github.com/apache/devlake/core/models/domainlayer/crossdomain"
"net/url"
"path"
"regexp"
diff --git a/backend/helpers/pluginhelper/api/issue_repo_commit_convertor_test.go b/backend/helpers/pluginhelper/api/issue_repo_commit_convertor_test.go
index 183080b..842ffcf 100644
--- a/backend/helpers/pluginhelper/api/issue_repo_commit_convertor_test.go
+++ b/backend/helpers/pluginhelper/api/issue_repo_commit_convertor_test.go
@@ -18,7 +18,7 @@
package api
import (
- "github.com/apache/incubator-devlake/core/models/domainlayer/crossdomain"
+ "github.com/apache/devlake/core/models/domainlayer/crossdomain"
"reflect"
"regexp"
"testing"
@@ -47,7 +47,7 @@
"bitbucket cloud",
args{
repoPatterns: []*regexp.Regexp{regexp.MustCompile(`https://bitbucket.org/(?P<namespace>[^/]+)/(?P<repo_name>[^/]+)/commits/(?P<commit_sha>\w{40})`)},
- commitUrl: "https://bitbucket.org/mynamespace/incubator-devlake/commits/fef8d697fbb9a2b336be6fa2e2848f585c86a622",
+ commitUrl: "https://bitbucket.org/mynamespace/devlake/commits/fef8d697fbb9a2b336be6fa2e2848f585c86a622",
},
"fef8d697fbb9a2b336be6fa2e2848f585c86a622",
},
@@ -55,7 +55,7 @@
"GitHub",
args{
repoPatterns: []*regexp.Regexp{regexp.MustCompile(`https://github.com/(?P<namespace>[^/]+)/(?P<repo_name>[^/]+)/commit/(?P<commit_sha>\w{40})`)},
- commitUrl: "https://github.com/apache/incubator-devlake/commit/a7c6550b6a273af36e9850291a52601d3dca367c",
+ commitUrl: "https://github.com/apache/devlake/commit/a7c6550b6a273af36e9850291a52601d3dca367c",
},
"a7c6550b6a273af36e9850291a52601d3dca367c",
},
@@ -129,15 +129,15 @@
args{
item: &crossdomain.IssueRepoCommit{IssueId: "abc123", CommitSha: "fef8d697fbb9a2b336be6fa2e2848f585c86a622"},
repoPatterns: []*regexp.Regexp{regexp.MustCompile(`https://bitbucket.org/(?P<namespace>[^/]+)/(?P<repo_name>[^/]+)/commits/(?P<commit_sha>\w{40})`)},
- commitUrl: "https://bitbucket.org/mynamespace/incubator-devlake/commits/fef8d697fbb9a2b336be6fa2e2848f585c86a622",
+ commitUrl: "https://bitbucket.org/mynamespace/devlake/commits/fef8d697fbb9a2b336be6fa2e2848f585c86a622",
},
&crossdomain.IssueRepoCommit{
IssueId: "abc123",
CommitSha: "fef8d697fbb9a2b336be6fa2e2848f585c86a622",
- RepoUrl: "https://bitbucket.org/mynamespace/incubator-devlake.git",
+ RepoUrl: "https://bitbucket.org/mynamespace/devlake.git",
Host: "bitbucket.org",
Namespace: "mynamespace",
- RepoName: "incubator-devlake",
+ RepoName: "devlake",
},
},
{
@@ -145,15 +145,15 @@
args{
item: &crossdomain.IssueRepoCommit{IssueId: "abc123", CommitSha: "a7c6550b6a273af36e9850291a52601d3dca367c"},
repoPatterns: []*regexp.Regexp{regexp.MustCompile(`https://github.com/(?P<namespace>[^/]+)/(?P<repo_name>[^/]+)/commit/(?P<commit_sha>\w{40})`)},
- commitUrl: "https://github.com/apache/incubator-devlake/commit/a7c6550b6a273af36e9850291a52601d3dca367c",
+ commitUrl: "https://github.com/apache/devlake/commit/a7c6550b6a273af36e9850291a52601d3dca367c",
},
&crossdomain.IssueRepoCommit{
IssueId: "abc123",
CommitSha: "a7c6550b6a273af36e9850291a52601d3dca367c",
- RepoUrl: "https://github.com/apache/incubator-devlake.git",
+ RepoUrl: "https://github.com/apache/devlake.git",
Host: "github.com",
Namespace: "apache",
- RepoName: "incubator-devlake",
+ RepoName: "devlake",
},
},
{
diff --git a/backend/helpers/pluginhelper/api/iterator.go b/backend/helpers/pluginhelper/api/iterator.go
index 6f991eb..ae40f28 100644
--- a/backend/helpers/pluginhelper/api/iterator.go
+++ b/backend/helpers/pluginhelper/api/iterator.go
@@ -21,8 +21,8 @@
"reflect"
"time"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
)
// Iterator FIXME ...
diff --git a/backend/helpers/pluginhelper/api/mapstructure.go b/backend/helpers/pluginhelper/api/mapstructure.go
index 8a1a348..c422fb7 100644
--- a/backend/helpers/pluginhelper/api/mapstructure.go
+++ b/backend/helpers/pluginhelper/api/mapstructure.go
@@ -23,9 +23,9 @@
"reflect"
"time"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models"
- "github.com/apache/incubator-devlake/core/models/common"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models"
+ "github.com/apache/devlake/core/models/common"
"github.com/go-playground/validator/v10"
"github.com/go-viper/mapstructure/v2"
diff --git a/backend/helpers/pluginhelper/api/mapstructure_test.go b/backend/helpers/pluginhelper/api/mapstructure_test.go
index ac2f106..b3d6c6c 100644
--- a/backend/helpers/pluginhelper/api/mapstructure_test.go
+++ b/backend/helpers/pluginhelper/api/mapstructure_test.go
@@ -22,7 +22,7 @@
"fmt"
"testing"
- "github.com/apache/incubator-devlake/core/errors"
+ "github.com/apache/devlake/core/errors"
"github.com/stretchr/testify/assert"
)
diff --git a/backend/helpers/pluginhelper/api/misc_helpers.go b/backend/helpers/pluginhelper/api/misc_helpers.go
index e7315ce..73d1cc3 100644
--- a/backend/helpers/pluginhelper/api/misc_helpers.go
+++ b/backend/helpers/pluginhelper/api/misc_helpers.go
@@ -18,9 +18,9 @@
package api
import (
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models"
)
// CallDB wraps DB calls with this signature, and handles the case if the struct is wrapped in a models.DynamicTabler.
diff --git a/backend/helpers/pluginhelper/api/model_api_helper.go b/backend/helpers/pluginhelper/api/model_api_helper.go
index 809192a..1d4d147 100644
--- a/backend/helpers/pluginhelper/api/model_api_helper.go
+++ b/backend/helpers/pluginhelper/api/model_api_helper.go
@@ -21,13 +21,13 @@
"fmt"
"net/http"
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/log"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/srvhelper"
- "github.com/apache/incubator-devlake/helpers/utils"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/log"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/srvhelper"
+ "github.com/apache/devlake/helpers/utils"
"github.com/go-playground/validator/v10"
)
diff --git a/backend/helpers/pluginhelper/api/models/ds_remote_api_scope_list_entry.go b/backend/helpers/pluginhelper/api/models/ds_remote_api_scope_list_entry.go
index 4ee8323..10f5cda 100644
--- a/backend/helpers/pluginhelper/api/models/ds_remote_api_scope_list_entry.go
+++ b/backend/helpers/pluginhelper/api/models/ds_remote_api_scope_list_entry.go
@@ -17,7 +17,7 @@
package models
-import "github.com/apache/incubator-devlake/core/plugin"
+import "github.com/apache/devlake/core/plugin"
type DsRemoteApiScopeListEntry[S plugin.ToolLayerScope] struct {
Type string `json:"type"`
diff --git a/backend/helpers/pluginhelper/api/pipeline_plan.go b/backend/helpers/pluginhelper/api/pipeline_plan.go
index 67cd424..00bd54a 100644
--- a/backend/helpers/pluginhelper/api/pipeline_plan.go
+++ b/backend/helpers/pluginhelper/api/pipeline_plan.go
@@ -22,11 +22,11 @@
"strconv"
"strings"
- "github.com/apache/incubator-devlake/core/config"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models"
- plugin "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/core/utils"
+ "github.com/apache/devlake/core/config"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models"
+ plugin "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/core/utils"
)
// MakePipelinePlanSubtasks generates subtasks list based on sub-task meta information and entities wanted by user
diff --git a/backend/helpers/pluginhelper/api/pipeline_plan_test.go b/backend/helpers/pluginhelper/api/pipeline_plan_test.go
index a3dc6b0..81d2556 100644
--- a/backend/helpers/pluginhelper/api/pipeline_plan_test.go
+++ b/backend/helpers/pluginhelper/api/pipeline_plan_test.go
@@ -18,7 +18,7 @@
package api
import (
- plugin "github.com/apache/incubator-devlake/core/plugin"
+ plugin "github.com/apache/devlake/core/plugin"
"testing"
"github.com/stretchr/testify/assert"
diff --git a/backend/helpers/pluginhelper/api/reflection_helper.go b/backend/helpers/pluginhelper/api/reflection_helper.go
index a768f16..a527038 100644
--- a/backend/helpers/pluginhelper/api/reflection_helper.go
+++ b/backend/helpers/pluginhelper/api/reflection_helper.go
@@ -18,7 +18,7 @@
package api
import (
- "github.com/apache/incubator-devlake/core/models"
+ "github.com/apache/devlake/core/models"
"reflect"
)
diff --git a/backend/helpers/pluginhelper/api/remote_api_helper.go b/backend/helpers/pluginhelper/api/remote_api_helper.go
index a1b73af..ff3ed78 100644
--- a/backend/helpers/pluginhelper/api/remote_api_helper.go
+++ b/backend/helpers/pluginhelper/api/remote_api_helper.go
@@ -27,11 +27,11 @@
"net/url"
"strconv"
- "github.com/apache/incubator-devlake/core/log"
+ "github.com/apache/devlake/core/log"
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
"github.com/go-playground/validator/v10"
)
diff --git a/backend/helpers/pluginhelper/api/scope_config_helper.go b/backend/helpers/pluginhelper/api/scope_config_helper.go
index e1da762..347bfb1 100644
--- a/backend/helpers/pluginhelper/api/scope_config_helper.go
+++ b/backend/helpers/pluginhelper/api/scope_config_helper.go
@@ -18,17 +18,17 @@
package api
import (
- "github.com/apache/incubator-devlake/core/models/common"
+ "github.com/apache/devlake/core/models/common"
"net/http"
"reflect"
"strconv"
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/log"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api/apihelperabstract"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/log"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api/apihelperabstract"
"github.com/go-playground/validator/v10"
)
diff --git a/backend/helpers/pluginhelper/api/scope_db_helper.go b/backend/helpers/pluginhelper/api/scope_db_helper.go
index 0a3d0e2..b9e22f2 100644
--- a/backend/helpers/pluginhelper/api/scope_db_helper.go
+++ b/backend/helpers/pluginhelper/api/scope_db_helper.go
@@ -21,10 +21,10 @@
"fmt"
"reflect"
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
)
type ScopeDatabaseHelper[Conn any, Scope plugin.ToolLayerScope, Tr any] interface {
diff --git a/backend/helpers/pluginhelper/api/scope_generic_helper.go b/backend/helpers/pluginhelper/api/scope_generic_helper.go
index 895f342..ee4d86b 100644
--- a/backend/helpers/pluginhelper/api/scope_generic_helper.go
+++ b/backend/helpers/pluginhelper/api/scope_generic_helper.go
@@ -24,16 +24,16 @@
"strings"
"time"
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/log"
- "github.com/apache/incubator-devlake/core/models"
- "github.com/apache/incubator-devlake/core/models/common"
- "github.com/apache/incubator-devlake/core/models/domainlayer/domaininfo"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/dbhelper"
- serviceHelper "github.com/apache/incubator-devlake/helpers/pluginhelper/services"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/log"
+ "github.com/apache/devlake/core/models"
+ "github.com/apache/devlake/core/models/common"
+ "github.com/apache/devlake/core/models/domainlayer/domaininfo"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/dbhelper"
+ serviceHelper "github.com/apache/devlake/helpers/pluginhelper/services"
"github.com/go-playground/validator/v10"
)
diff --git a/backend/helpers/pluginhelper/api/scope_helper.go b/backend/helpers/pluginhelper/api/scope_helper.go
index 935280e..f2e8002 100644
--- a/backend/helpers/pluginhelper/api/scope_helper.go
+++ b/backend/helpers/pluginhelper/api/scope_helper.go
@@ -20,10 +20,10 @@
import (
"net/http"
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/server/api/shared"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/server/api/shared"
"github.com/go-playground/validator/v10"
)
diff --git a/backend/helpers/pluginhelper/api/scope_helper_test.go b/backend/helpers/pluginhelper/api/scope_helper_test.go
index 8956ad0..f4dfa42 100644
--- a/backend/helpers/pluginhelper/api/scope_helper_test.go
+++ b/backend/helpers/pluginhelper/api/scope_helper_test.go
@@ -24,11 +24,11 @@
"testing"
"time"
- "github.com/apache/incubator-devlake/core/models/common"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/unithelper"
- mockcontext "github.com/apache/incubator-devlake/mocks/core/context"
- mockdal "github.com/apache/incubator-devlake/mocks/core/dal"
+ "github.com/apache/devlake/core/models/common"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/unithelper"
+ mockcontext "github.com/apache/devlake/mocks/core/context"
+ mockdal "github.com/apache/devlake/mocks/core/dal"
"github.com/go-playground/validator/v10"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/mock"
diff --git a/backend/helpers/pluginhelper/api/subtask_state_manager.go b/backend/helpers/pluginhelper/api/subtask_state_manager.go
index ff1c8d7..1f9183f 100644
--- a/backend/helpers/pluginhelper/api/subtask_state_manager.go
+++ b/backend/helpers/pluginhelper/api/subtask_state_manager.go
@@ -23,11 +23,11 @@
"strings"
"time"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/core/utils"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/core/utils"
)
// SubtaskCommonArgs is a struct that contains the common arguments for a subtask
diff --git a/backend/helpers/pluginhelper/api/subtask_state_manager_test.go b/backend/helpers/pluginhelper/api/subtask_state_manager_test.go
index f4ba733..eac054a 100644
--- a/backend/helpers/pluginhelper/api/subtask_state_manager_test.go
+++ b/backend/helpers/pluginhelper/api/subtask_state_manager_test.go
@@ -22,10 +22,10 @@
"testing"
"time"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models"
- mockdal "github.com/apache/incubator-devlake/mocks/core/dal"
- mockplugin "github.com/apache/incubator-devlake/mocks/core/plugin"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models"
+ mockdal "github.com/apache/devlake/mocks/core/dal"
+ mockplugin "github.com/apache/devlake/mocks/core/plugin"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/mock"
)
diff --git a/backend/helpers/pluginhelper/api/worker_scheduler.go b/backend/helpers/pluginhelper/api/worker_scheduler.go
index 74d1c3f..7e64ec1 100644
--- a/backend/helpers/pluginhelper/api/worker_scheduler.go
+++ b/backend/helpers/pluginhelper/api/worker_scheduler.go
@@ -24,8 +24,8 @@
"sync/atomic"
"time"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/log"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/log"
"github.com/panjf2000/ants/v2"
)
diff --git a/backend/helpers/pluginhelper/api/worker_scheduler_test.go b/backend/helpers/pluginhelper/api/worker_scheduler_test.go
index 077ae3b..e25c69b 100644
--- a/backend/helpers/pluginhelper/api/worker_scheduler_test.go
+++ b/backend/helpers/pluginhelper/api/worker_scheduler_test.go
@@ -22,8 +22,8 @@
"testing"
"time"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/helpers/unithelper"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/helpers/unithelper"
"github.com/stretchr/testify/assert"
)
diff --git a/backend/helpers/pluginhelper/csv_file_iterator.go b/backend/helpers/pluginhelper/csv_file_iterator.go
index 2f8c409..868ff73 100644
--- a/backend/helpers/pluginhelper/csv_file_iterator.go
+++ b/backend/helpers/pluginhelper/csv_file_iterator.go
@@ -22,7 +22,7 @@
"io"
"os"
- "github.com/apache/incubator-devlake/core/errors"
+ "github.com/apache/devlake/core/errors"
)
// CsvFileIterator make iterating rows from csv file easier, it reads tuple from csv file and turn it into
diff --git a/backend/helpers/pluginhelper/csv_file_writer.go b/backend/helpers/pluginhelper/csv_file_writer.go
index 472e546..c9887e0 100644
--- a/backend/helpers/pluginhelper/csv_file_writer.go
+++ b/backend/helpers/pluginhelper/csv_file_writer.go
@@ -19,7 +19,7 @@
import (
"encoding/csv"
- "github.com/apache/incubator-devlake/core/errors"
+ "github.com/apache/devlake/core/errors"
"os"
"path/filepath"
)
diff --git a/backend/helpers/pluginhelper/services/blueprint_helper.go b/backend/helpers/pluginhelper/services/blueprint_helper.go
index aae0535..b257691 100644
--- a/backend/helpers/pluginhelper/services/blueprint_helper.go
+++ b/backend/helpers/pluginhelper/services/blueprint_helper.go
@@ -20,11 +20,11 @@
import (
"fmt"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models"
- "github.com/apache/incubator-devlake/core/models/common"
- "github.com/apache/incubator-devlake/impls/logruslog"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models"
+ "github.com/apache/devlake/core/models/common"
+ "github.com/apache/devlake/impls/logruslog"
)
type BlueprintManager struct {
diff --git a/backend/helpers/pluginhelper/subtaskmeta/sorter/interface.go b/backend/helpers/pluginhelper/subtaskmeta/sorter/interface.go
index 61a51f5..bb204a0 100644
--- a/backend/helpers/pluginhelper/subtaskmeta/sorter/interface.go
+++ b/backend/helpers/pluginhelper/subtaskmeta/sorter/interface.go
@@ -18,8 +18,8 @@
package sorter
import (
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
)
type SubTaskMetaSorter interface {
diff --git a/backend/helpers/pluginhelper/subtaskmeta/sorter/subtask.go b/backend/helpers/pluginhelper/subtaskmeta/sorter/subtask.go
index a3873b8..f37708a 100644
--- a/backend/helpers/pluginhelper/subtaskmeta/sorter/subtask.go
+++ b/backend/helpers/pluginhelper/subtaskmeta/sorter/subtask.go
@@ -20,9 +20,9 @@
import (
"fmt"
- "github.com/apache/incubator-devlake/core/errors"
+ "github.com/apache/devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
+ "github.com/apache/devlake/core/plugin"
)
type DependencySorter struct {
diff --git a/backend/helpers/pluginhelper/subtaskmeta/sorter/subtask_test.go b/backend/helpers/pluginhelper/subtaskmeta/sorter/subtask_test.go
index 0bf43bc..fa9c919 100644
--- a/backend/helpers/pluginhelper/subtaskmeta/sorter/subtask_test.go
+++ b/backend/helpers/pluginhelper/subtaskmeta/sorter/subtask_test.go
@@ -21,7 +21,7 @@
"reflect"
"testing"
- "github.com/apache/incubator-devlake/core/plugin"
+ "github.com/apache/devlake/core/plugin"
)
func Test_topologicalSort(t *testing.T) {
diff --git a/backend/helpers/pluginhelper/subtaskmeta/sorter/table.go b/backend/helpers/pluginhelper/subtaskmeta/sorter/table.go
index 9468b5c..d87cb22 100644
--- a/backend/helpers/pluginhelper/subtaskmeta/sorter/table.go
+++ b/backend/helpers/pluginhelper/subtaskmeta/sorter/table.go
@@ -18,8 +18,8 @@
package sorter
import (
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
)
type TableSorter struct {
diff --git a/backend/helpers/pluginhelper/subtaskmeta/sorter/table_test.go b/backend/helpers/pluginhelper/subtaskmeta/sorter/table_test.go
index 4503d1e..ac590a1 100644
--- a/backend/helpers/pluginhelper/subtaskmeta/sorter/table_test.go
+++ b/backend/helpers/pluginhelper/subtaskmeta/sorter/table_test.go
@@ -18,8 +18,8 @@
package sorter
import (
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
"reflect"
"testing"
)
diff --git a/backend/helpers/srvhelper/connection_service_helper.go b/backend/helpers/srvhelper/connection_service_helper.go
index 7244e27..c0e3454 100644
--- a/backend/helpers/srvhelper/connection_service_helper.go
+++ b/backend/helpers/srvhelper/connection_service_helper.go
@@ -20,11 +20,11 @@
import (
"reflect"
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models"
- "github.com/apache/incubator-devlake/core/plugin"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models"
+ "github.com/apache/devlake/core/plugin"
)
// ConnectionSrvHelper
diff --git a/backend/helpers/srvhelper/dsrefs.go b/backend/helpers/srvhelper/dsrefs.go
index afb7bd4..b4e8aa7 100644
--- a/backend/helpers/srvhelper/dsrefs.go
+++ b/backend/helpers/srvhelper/dsrefs.go
@@ -18,7 +18,7 @@
package srvhelper
import (
- "github.com/apache/incubator-devlake/core/models"
+ "github.com/apache/devlake/core/models"
)
type DsRefs struct {
diff --git a/backend/helpers/srvhelper/model_service_helper.go b/backend/helpers/srvhelper/model_service_helper.go
index 0ca9482..105676d 100644
--- a/backend/helpers/srvhelper/model_service_helper.go
+++ b/backend/helpers/srvhelper/model_service_helper.go
@@ -21,12 +21,12 @@
"fmt"
"time"
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/log"
- "github.com/apache/incubator-devlake/core/models"
- "github.com/apache/incubator-devlake/helpers/dbhelper"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/log"
+ "github.com/apache/devlake/core/models"
+ "github.com/apache/devlake/helpers/dbhelper"
"github.com/go-playground/validator/v10"
)
diff --git a/backend/helpers/srvhelper/scope_config_service_helper.go b/backend/helpers/srvhelper/scope_config_service_helper.go
index 67cbc61..6adafd1 100644
--- a/backend/helpers/srvhelper/scope_config_service_helper.go
+++ b/backend/helpers/srvhelper/scope_config_service_helper.go
@@ -21,11 +21,11 @@
"fmt"
"strings"
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models"
- "github.com/apache/incubator-devlake/core/plugin"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models"
+ "github.com/apache/devlake/core/plugin"
)
// NoScopeConfig is a placeholder for plugins that don't have any scope configuration yet
diff --git a/backend/helpers/srvhelper/scope_service_helper.go b/backend/helpers/srvhelper/scope_service_helper.go
index e5d4671..082a327 100644
--- a/backend/helpers/srvhelper/scope_service_helper.go
+++ b/backend/helpers/srvhelper/scope_service_helper.go
@@ -23,12 +23,12 @@
"sort"
"strings"
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models"
- "github.com/apache/incubator-devlake/core/models/domainlayer/domaininfo"
- "github.com/apache/incubator-devlake/core/plugin"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models"
+ "github.com/apache/devlake/core/models/domainlayer/domaininfo"
+ "github.com/apache/devlake/core/plugin"
)
type ScopePagination struct {
diff --git a/backend/helpers/srvhelper/scope_service_helper_test.go b/backend/helpers/srvhelper/scope_service_helper_test.go
index 54d7979..0d10842 100644
--- a/backend/helpers/srvhelper/scope_service_helper_test.go
+++ b/backend/helpers/srvhelper/scope_service_helper_test.go
@@ -20,8 +20,8 @@
import (
"testing"
- "github.com/apache/incubator-devlake/core/models/common"
- "github.com/apache/incubator-devlake/core/plugin"
+ "github.com/apache/devlake/core/models/common"
+ "github.com/apache/devlake/core/plugin"
"github.com/magiconair/properties/assert"
)
diff --git a/backend/helpers/unithelper/dummy_baesres.go b/backend/helpers/unithelper/dummy_basicres.go
similarity index 90%
rename from backend/helpers/unithelper/dummy_baesres.go
rename to backend/helpers/unithelper/dummy_basicres.go
index 346c515..1bc458f 100644
--- a/backend/helpers/unithelper/dummy_baesres.go
+++ b/backend/helpers/unithelper/dummy_basicres.go
@@ -18,8 +18,8 @@
package unithelper
import (
- mockcontext "github.com/apache/incubator-devlake/mocks/core/context"
- mockdal "github.com/apache/incubator-devlake/mocks/core/dal"
+ mockcontext "github.com/apache/devlake/mocks/core/context"
+ mockdal "github.com/apache/devlake/mocks/core/dal"
"github.com/stretchr/testify/mock"
)
diff --git a/backend/helpers/unithelper/dummy_logger.go b/backend/helpers/unithelper/dummy_logger.go
index ea1d840..ef9b78d 100644
--- a/backend/helpers/unithelper/dummy_logger.go
+++ b/backend/helpers/unithelper/dummy_logger.go
@@ -18,7 +18,7 @@
package unithelper
import (
- mocklog "github.com/apache/incubator-devlake/mocks/core/log"
+ mocklog "github.com/apache/devlake/mocks/core/log"
"github.com/stretchr/testify/mock"
)
diff --git a/backend/helpers/unithelper/dummy_subtaskcontext.go b/backend/helpers/unithelper/dummy_subtaskcontext.go
index 0fc9664..1f31811 100644
--- a/backend/helpers/unithelper/dummy_subtaskcontext.go
+++ b/backend/helpers/unithelper/dummy_subtaskcontext.go
@@ -18,8 +18,8 @@
package unithelper
import (
- "github.com/apache/incubator-devlake/core/dal"
- mockplugin "github.com/apache/incubator-devlake/mocks/core/plugin"
+ "github.com/apache/devlake/core/dal"
+ mockplugin "github.com/apache/devlake/mocks/core/plugin"
"github.com/stretchr/testify/mock"
)
diff --git a/backend/helpers/unithelper/table_info_checker.go b/backend/helpers/unithelper/table_info_checker.go
index 27ba975..4e6fcf1 100644
--- a/backend/helpers/unithelper/table_info_checker.go
+++ b/backend/helpers/unithelper/table_info_checker.go
@@ -30,8 +30,8 @@
"golang.org/x/exp/slices"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
)
type TableInfoChecker struct {
diff --git a/backend/helpers/utils/field.go b/backend/helpers/utils/field.go
index 9a6278d..615663b 100644
--- a/backend/helpers/utils/field.go
+++ b/backend/helpers/utils/field.go
@@ -22,7 +22,7 @@
"regexp"
"time"
- "github.com/apache/incubator-devlake/core/models/common"
+ "github.com/apache/devlake/core/models/common"
)
// GetTimeFieldFromMap retrieves a time field from a map.
diff --git a/backend/helpers/utils/mapstructure.go b/backend/helpers/utils/mapstructure.go
index 4b96841..16f0d47 100644
--- a/backend/helpers/utils/mapstructure.go
+++ b/backend/helpers/utils/mapstructure.go
@@ -22,10 +22,10 @@
"reflect"
"time"
- "github.com/apache/incubator-devlake/core/models"
- "github.com/apache/incubator-devlake/core/models/common"
+ "github.com/apache/devlake/core/models"
+ "github.com/apache/devlake/core/models/common"
- "github.com/apache/incubator-devlake/core/errors"
+ "github.com/apache/devlake/core/errors"
"github.com/go-playground/validator/v10"
"github.com/go-viper/mapstructure/v2"
diff --git a/backend/helpers/utils/mapstructure_test.go b/backend/helpers/utils/mapstructure_test.go
index 755dea4..6690cf4 100644
--- a/backend/helpers/utils/mapstructure_test.go
+++ b/backend/helpers/utils/mapstructure_test.go
@@ -24,8 +24,8 @@
"testing"
"time"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/common"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/common"
"github.com/stretchr/testify/assert"
)
diff --git a/backend/impls/context/default_basic_res.go b/backend/impls/context/default_basic_res.go
index 1ee4976..587a5be 100644
--- a/backend/impls/context/default_basic_res.go
+++ b/backend/impls/context/default_basic_res.go
@@ -18,10 +18,10 @@
package context
import (
- "github.com/apache/incubator-devlake/core/config"
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/log"
+ "github.com/apache/devlake/core/config"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/log"
)
// DefaultBasicRes offers a common implementation for the BasisRes interface
diff --git a/backend/impls/context/default_exec_context.go b/backend/impls/context/default_exec_context.go
index 2d372f5..de94372 100644
--- a/backend/impls/context/default_exec_context.go
+++ b/backend/impls/context/default_exec_context.go
@@ -19,8 +19,8 @@
import (
gocontext "context"
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/plugin"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/plugin"
"sync"
"sync/atomic"
)
diff --git a/backend/impls/context/default_subtask_context.go b/backend/impls/context/default_subtask_context.go
index 518644c..dd64383 100644
--- a/backend/impls/context/default_subtask_context.go
+++ b/backend/impls/context/default_subtask_context.go
@@ -21,9 +21,9 @@
gocontext "context"
"time"
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/models"
- "github.com/apache/incubator-devlake/core/plugin"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/models"
+ "github.com/apache/devlake/core/plugin"
)
// DefaultSubTaskContext is default implementation
diff --git a/backend/impls/context/default_task_context.go b/backend/impls/context/default_task_context.go
index f6d67c9..dad31bf 100644
--- a/backend/impls/context/default_task_context.go
+++ b/backend/impls/context/default_task_context.go
@@ -22,10 +22,10 @@
"fmt"
"time"
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models"
- "github.com/apache/incubator-devlake/core/plugin"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models"
+ "github.com/apache/devlake/core/plugin"
)
// DefaultTaskContext is TaskContext default implementation
diff --git a/backend/impls/dalgorm/dalgorm.go b/backend/impls/dalgorm/dalgorm.go
index bf5538d..2d21939 100644
--- a/backend/impls/dalgorm/dalgorm.go
+++ b/backend/impls/dalgorm/dalgorm.go
@@ -24,10 +24,10 @@
"regexp"
"strings"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models"
- "github.com/apache/incubator-devlake/core/utils"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models"
+ "github.com/apache/devlake/core/utils"
"gorm.io/gorm"
"gorm.io/gorm/clause"
diff --git a/backend/impls/dalgorm/dalgorm_transaction.go b/backend/impls/dalgorm/dalgorm_transaction.go
index 9ba88c9..16dec5a 100644
--- a/backend/impls/dalgorm/dalgorm_transaction.go
+++ b/backend/impls/dalgorm/dalgorm_transaction.go
@@ -20,8 +20,8 @@
import (
"fmt"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
)
// DalgormTransaction represents a gorm transaction which using the same underlying
diff --git a/backend/impls/dalgorm/db_mapper.go b/backend/impls/dalgorm/db_mapper.go
index 147a4de..ea009fe 100644
--- a/backend/impls/dalgorm/db_mapper.go
+++ b/backend/impls/dalgorm/db_mapper.go
@@ -20,7 +20,7 @@
import (
"reflect"
- "github.com/apache/incubator-devlake/core/models/common"
+ "github.com/apache/devlake/core/models/common"
"gorm.io/gorm/schema"
)
diff --git a/backend/impls/dalgorm/encdec_serializer.go b/backend/impls/dalgorm/encdec_serializer.go
index fdaf775..745979f 100644
--- a/backend/impls/dalgorm/encdec_serializer.go
+++ b/backend/impls/dalgorm/encdec_serializer.go
@@ -23,8 +23,8 @@
"fmt"
"reflect"
- "github.com/apache/incubator-devlake/core/models"
- "github.com/apache/incubator-devlake/core/plugin"
+ "github.com/apache/devlake/core/models"
+ "github.com/apache/devlake/core/plugin"
"gorm.io/gorm/schema"
)
diff --git a/backend/impls/logruslog/init.go b/backend/impls/logruslog/init.go
index 0fdb76f..1775df9 100644
--- a/backend/impls/logruslog/init.go
+++ b/backend/impls/logruslog/init.go
@@ -23,9 +23,9 @@
"strings"
"time"
- "github.com/apache/incubator-devlake/core/config"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/log"
+ "github.com/apache/devlake/core/config"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/log"
"github.com/sirupsen/logrus"
)
diff --git a/backend/impls/logruslog/logger.go b/backend/impls/logruslog/logger.go
index 88287c9..6c54759 100644
--- a/backend/impls/logruslog/logger.go
+++ b/backend/impls/logruslog/logger.go
@@ -22,8 +22,8 @@
"regexp"
"strings"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/log"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/log"
"github.com/sirupsen/logrus"
)
diff --git a/backend/impls/logruslog/stream.go b/backend/impls/logruslog/stream.go
index aa6770f..adfcc2f 100644
--- a/backend/impls/logruslog/stream.go
+++ b/backend/impls/logruslog/stream.go
@@ -18,7 +18,7 @@
package logruslog
import (
- "github.com/apache/incubator-devlake/core/errors"
+ "github.com/apache/devlake/core/errors"
"io"
"os"
"path/filepath"
diff --git a/backend/impls/logruslog/utils.go b/backend/impls/logruslog/utils.go
index 43960e9..7506ac4 100644
--- a/backend/impls/logruslog/utils.go
+++ b/backend/impls/logruslog/utils.go
@@ -19,8 +19,8 @@
import (
"fmt"
- "github.com/apache/incubator-devlake/core/log"
- "github.com/apache/incubator-devlake/core/models"
+ "github.com/apache/devlake/core/log"
+ "github.com/apache/devlake/core/models"
"os"
"path/filepath"
)
diff --git a/backend/plugins/ae/ae.go b/backend/plugins/ae/ae.go
index 4d0d4a2..7648d69 100644
--- a/backend/plugins/ae/ae.go
+++ b/backend/plugins/ae/ae.go
@@ -18,8 +18,8 @@
package main // must be main for plugin entry point
import (
- "github.com/apache/incubator-devlake/core/runner"
- "github.com/apache/incubator-devlake/plugins/ae/impl"
+ "github.com/apache/devlake/core/runner"
+ "github.com/apache/devlake/plugins/ae/impl"
"github.com/spf13/cobra"
)
diff --git a/backend/plugins/ae/api/connection.go b/backend/plugins/ae/api/connection.go
index cc3a388..e1b3f07 100644
--- a/backend/plugins/ae/api/connection.go
+++ b/backend/plugins/ae/api/connection.go
@@ -21,11 +21,11 @@
"context"
"net/http"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/ae/models"
- _ "github.com/apache/incubator-devlake/server/api/shared"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/ae/models"
+ _ "github.com/apache/devlake/server/api/shared"
)
type ApiMeResponse struct {
diff --git a/backend/plugins/ae/api/init.go b/backend/plugins/ae/api/init.go
index 1da6ff4..7fa3654 100644
--- a/backend/plugins/ae/api/init.go
+++ b/backend/plugins/ae/api/init.go
@@ -18,9 +18,9 @@
package api
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
"github.com/go-playground/validator/v10"
)
diff --git a/backend/plugins/ae/e2e/commit_test.go b/backend/plugins/ae/e2e/commit_test.go
index 2643179..5620d8a 100644
--- a/backend/plugins/ae/e2e/commit_test.go
+++ b/backend/plugins/ae/e2e/commit_test.go
@@ -18,11 +18,11 @@
package e2e
import (
- "github.com/apache/incubator-devlake/core/models/domainlayer/code"
- "github.com/apache/incubator-devlake/helpers/e2ehelper"
- "github.com/apache/incubator-devlake/plugins/ae/impl"
- "github.com/apache/incubator-devlake/plugins/ae/models"
- "github.com/apache/incubator-devlake/plugins/ae/tasks"
+ "github.com/apache/devlake/core/models/domainlayer/code"
+ "github.com/apache/devlake/helpers/e2ehelper"
+ "github.com/apache/devlake/plugins/ae/impl"
+ "github.com/apache/devlake/plugins/ae/models"
+ "github.com/apache/devlake/plugins/ae/tasks"
"testing"
)
diff --git a/backend/plugins/ae/e2e/project_test.go b/backend/plugins/ae/e2e/project_test.go
index 61f75cf..164f8a0 100644
--- a/backend/plugins/ae/e2e/project_test.go
+++ b/backend/plugins/ae/e2e/project_test.go
@@ -18,10 +18,10 @@
package e2e
import (
- "github.com/apache/incubator-devlake/helpers/e2ehelper"
- "github.com/apache/incubator-devlake/plugins/ae/impl"
- "github.com/apache/incubator-devlake/plugins/ae/models"
- "github.com/apache/incubator-devlake/plugins/ae/tasks"
+ "github.com/apache/devlake/helpers/e2ehelper"
+ "github.com/apache/devlake/plugins/ae/impl"
+ "github.com/apache/devlake/plugins/ae/models"
+ "github.com/apache/devlake/plugins/ae/tasks"
"testing"
)
diff --git a/backend/plugins/ae/impl/impl.go b/backend/plugins/ae/impl/impl.go
index 907975e..d96374e 100644
--- a/backend/plugins/ae/impl/impl.go
+++ b/backend/plugins/ae/impl/impl.go
@@ -20,15 +20,15 @@
import (
"fmt"
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/ae/api"
- "github.com/apache/incubator-devlake/plugins/ae/models"
- "github.com/apache/incubator-devlake/plugins/ae/models/migrationscripts"
- "github.com/apache/incubator-devlake/plugins/ae/tasks"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/ae/api"
+ "github.com/apache/devlake/plugins/ae/models"
+ "github.com/apache/devlake/plugins/ae/models/migrationscripts"
+ "github.com/apache/devlake/plugins/ae/tasks"
)
var _ interface {
@@ -118,7 +118,7 @@
}
func (p AE) RootPkgPath() string {
- return "github.com/apache/incubator-devlake/plugins/ae"
+ return "github.com/apache/devlake/plugins/ae"
}
func (p AE) MigrationScripts() []plugin.MigrationScript {
diff --git a/backend/plugins/ae/models/commit.go b/backend/plugins/ae/models/commit.go
index f99ef2e..254da40 100644
--- a/backend/plugins/ae/models/commit.go
+++ b/backend/plugins/ae/models/commit.go
@@ -18,7 +18,7 @@
package models
import (
- "github.com/apache/incubator-devlake/core/models/common"
+ "github.com/apache/devlake/core/models/common"
)
type AECommit struct {
diff --git a/backend/plugins/ae/models/connection.go b/backend/plugins/ae/models/connection.go
index ca3d457..9d59223 100644
--- a/backend/plugins/ae/models/connection.go
+++ b/backend/plugins/ae/models/connection.go
@@ -27,9 +27,9 @@
"strings"
"time"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/utils"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/utils"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
)
type AeAppKey helper.AppKey
diff --git a/backend/plugins/ae/models/migrationscripts/20220714_add_init_tables.go b/backend/plugins/ae/models/migrationscripts/20220714_add_init_tables.go
index 51060c9..2dde8c4 100644
--- a/backend/plugins/ae/models/migrationscripts/20220714_add_init_tables.go
+++ b/backend/plugins/ae/models/migrationscripts/20220714_add_init_tables.go
@@ -18,12 +18,12 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/config"
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/migrationhelper"
- "github.com/apache/incubator-devlake/plugins/ae/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/config"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/migrationhelper"
+ "github.com/apache/devlake/plugins/ae/models/migrationscripts/archived"
)
type addInitTables20220714 struct{}
diff --git a/backend/plugins/ae/models/migrationscripts/archived/commit.go b/backend/plugins/ae/models/migrationscripts/archived/commit.go
index 24dd325..c382ef6 100644
--- a/backend/plugins/ae/models/migrationscripts/archived/commit.go
+++ b/backend/plugins/ae/models/migrationscripts/archived/commit.go
@@ -18,7 +18,7 @@
package archived
import (
- "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/models/migrationscripts/archived"
)
type AECommit struct {
diff --git a/backend/plugins/ae/models/migrationscripts/archived/project.go b/backend/plugins/ae/models/migrationscripts/archived/project.go
index 784b36b..8ed3626 100644
--- a/backend/plugins/ae/models/migrationscripts/archived/project.go
+++ b/backend/plugins/ae/models/migrationscripts/archived/project.go
@@ -18,7 +18,7 @@
package archived
import (
- "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/models/migrationscripts/archived"
"time"
)
diff --git a/backend/plugins/ae/models/migrationscripts/register.go b/backend/plugins/ae/models/migrationscripts/register.go
index a8697e0..3e49cee 100644
--- a/backend/plugins/ae/models/migrationscripts/register.go
+++ b/backend/plugins/ae/models/migrationscripts/register.go
@@ -18,7 +18,7 @@
package migrationscripts
import (
- plugin "github.com/apache/incubator-devlake/core/plugin"
+ plugin "github.com/apache/devlake/core/plugin"
)
// All return all the migration scripts
diff --git a/backend/plugins/ae/models/project.go b/backend/plugins/ae/models/project.go
index 104fab3..b489ef8 100644
--- a/backend/plugins/ae/models/project.go
+++ b/backend/plugins/ae/models/project.go
@@ -18,7 +18,7 @@
package models
import (
- "github.com/apache/incubator-devlake/core/models/common"
+ "github.com/apache/devlake/core/models/common"
"time"
)
diff --git a/backend/plugins/ae/tasks/api_client.go b/backend/plugins/ae/tasks/api_client.go
index 3cf0266..b117a71 100644
--- a/backend/plugins/ae/tasks/api_client.go
+++ b/backend/plugins/ae/tasks/api_client.go
@@ -18,10 +18,10 @@
package tasks
import (
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/ae/models"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/ae/models"
)
// CreateApiClient creates a new asynchronize API Client for AE
diff --git a/backend/plugins/ae/tasks/commits_collector.go b/backend/plugins/ae/tasks/commits_collector.go
index 9346d0e..f730800 100644
--- a/backend/plugins/ae/tasks/commits_collector.go
+++ b/backend/plugins/ae/tasks/commits_collector.go
@@ -20,9 +20,9 @@
import (
"encoding/json"
"fmt"
- "github.com/apache/incubator-devlake/core/errors"
- plugin "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/core/errors"
+ plugin "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
"io"
"net/http"
"net/url"
diff --git a/backend/plugins/ae/tasks/commits_convertor.go b/backend/plugins/ae/tasks/commits_convertor.go
index 6001865..adf223f 100644
--- a/backend/plugins/ae/tasks/commits_convertor.go
+++ b/backend/plugins/ae/tasks/commits_convertor.go
@@ -18,10 +18,10 @@
package tasks
import (
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- plugin "github.com/apache/incubator-devlake/core/plugin"
- aeModels "github.com/apache/incubator-devlake/plugins/ae/models"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ plugin "github.com/apache/devlake/core/plugin"
+ aeModels "github.com/apache/devlake/plugins/ae/models"
)
// NOTE: This only works on Commits in the Domain layer. You need to run Github or Gitlab collection and Domain layer enrichemnt first.
diff --git a/backend/plugins/ae/tasks/commits_extractor.go b/backend/plugins/ae/tasks/commits_extractor.go
index 29ef7df..061572b 100644
--- a/backend/plugins/ae/tasks/commits_extractor.go
+++ b/backend/plugins/ae/tasks/commits_extractor.go
@@ -19,10 +19,10 @@
import (
"encoding/json"
- "github.com/apache/incubator-devlake/core/errors"
- plugin "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/ae/models"
+ "github.com/apache/devlake/core/errors"
+ plugin "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/ae/models"
)
type ApiCommitsResponse []AeApiCommit
diff --git a/backend/plugins/ae/tasks/project_collector.go b/backend/plugins/ae/tasks/project_collector.go
index 34905cb..2d33ca6 100644
--- a/backend/plugins/ae/tasks/project_collector.go
+++ b/backend/plugins/ae/tasks/project_collector.go
@@ -19,9 +19,9 @@
import (
"encoding/json"
- "github.com/apache/incubator-devlake/core/errors"
- plugin "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/core/errors"
+ plugin "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
"io"
"net/http"
)
diff --git a/backend/plugins/ae/tasks/project_extractor.go b/backend/plugins/ae/tasks/project_extractor.go
index 90ef6d1..90bbe19 100644
--- a/backend/plugins/ae/tasks/project_extractor.go
+++ b/backend/plugins/ae/tasks/project_extractor.go
@@ -19,10 +19,10 @@
import (
"encoding/json"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/ae/models"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/ae/models"
"strconv"
"time"
)
diff --git a/backend/plugins/ae/tasks/task_data.go b/backend/plugins/ae/tasks/task_data.go
index 3a93353..ddf3d0d 100644
--- a/backend/plugins/ae/tasks/task_data.go
+++ b/backend/plugins/ae/tasks/task_data.go
@@ -18,7 +18,7 @@
package tasks
import (
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
)
type AeOptions struct {
diff --git a/backend/plugins/argocd/api/blueprint_v200.go b/backend/plugins/argocd/api/blueprint_v200.go
index 77e724d..05c5abd 100644
--- a/backend/plugins/argocd/api/blueprint_v200.go
+++ b/backend/plugins/argocd/api/blueprint_v200.go
@@ -18,17 +18,17 @@
package api
import (
- "github.com/apache/incubator-devlake/core/errors"
- coreModels "github.com/apache/incubator-devlake/core/models"
- "github.com/apache/incubator-devlake/core/models/domainlayer"
- "github.com/apache/incubator-devlake/core/models/domainlayer/devops"
- "github.com/apache/incubator-devlake/core/models/domainlayer/didgen"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/core/utils"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/helpers/srvhelper"
- "github.com/apache/incubator-devlake/plugins/argocd/models"
- "github.com/apache/incubator-devlake/plugins/argocd/tasks"
+ "github.com/apache/devlake/core/errors"
+ coreModels "github.com/apache/devlake/core/models"
+ "github.com/apache/devlake/core/models/domainlayer"
+ "github.com/apache/devlake/core/models/domainlayer/devops"
+ "github.com/apache/devlake/core/models/domainlayer/didgen"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/core/utils"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/helpers/srvhelper"
+ "github.com/apache/devlake/plugins/argocd/models"
+ "github.com/apache/devlake/plugins/argocd/tasks"
)
func MakeDataSourcePipelinePlanV200(
diff --git a/backend/plugins/argocd/api/connection_api.go b/backend/plugins/argocd/api/connection_api.go
index 5ed3706..0abe194 100644
--- a/backend/plugins/argocd/api/connection_api.go
+++ b/backend/plugins/argocd/api/connection_api.go
@@ -23,11 +23,11 @@
"net/http"
"net/url"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/argocd/models"
- "github.com/apache/incubator-devlake/server/api/shared"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/argocd/models"
+ "github.com/apache/devlake/server/api/shared"
)
type ArgocdTestConnResponse struct {
diff --git a/backend/plugins/argocd/api/init.go b/backend/plugins/argocd/api/init.go
index f61e7f9..7fbbe90 100644
--- a/backend/plugins/argocd/api/init.go
+++ b/backend/plugins/argocd/api/init.go
@@ -18,10 +18,10 @@
package api
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/argocd/models"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/argocd/models"
"github.com/go-playground/validator/v10"
)
diff --git a/backend/plugins/argocd/api/remote_api.go b/backend/plugins/argocd/api/remote_api.go
index e34e709..b99d5c2 100644
--- a/backend/plugins/argocd/api/remote_api.go
+++ b/backend/plugins/argocd/api/remote_api.go
@@ -20,11 +20,11 @@
import (
"net/url"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- dsmodels "github.com/apache/incubator-devlake/helpers/pluginhelper/api/models"
- "github.com/apache/incubator-devlake/plugins/argocd/models"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ dsmodels "github.com/apache/devlake/helpers/pluginhelper/api/models"
+ "github.com/apache/devlake/plugins/argocd/models"
)
type ArgocdRemotePagination struct {
diff --git a/backend/plugins/argocd/api/scope_api.go b/backend/plugins/argocd/api/scope_api.go
index 53d0036..6850f39 100644
--- a/backend/plugins/argocd/api/scope_api.go
+++ b/backend/plugins/argocd/api/scope_api.go
@@ -20,8 +20,8 @@
import (
"strconv"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
)
// PutScopes create or update argocd applications
diff --git a/backend/plugins/argocd/api/scope_config_api.go b/backend/plugins/argocd/api/scope_config_api.go
index 5b75993..81f20c8 100644
--- a/backend/plugins/argocd/api/scope_config_api.go
+++ b/backend/plugins/argocd/api/scope_config_api.go
@@ -18,8 +18,8 @@
package api
import (
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
)
// CreateScopeConfig create scope config for ArgoCD
diff --git a/backend/plugins/argocd/argocd.go b/backend/plugins/argocd/argocd.go
index 8a51d84..19472f0 100644
--- a/backend/plugins/argocd/argocd.go
+++ b/backend/plugins/argocd/argocd.go
@@ -18,8 +18,8 @@
package main
import (
- "github.com/apache/incubator-devlake/core/runner"
- "github.com/apache/incubator-devlake/plugins/argocd/impl"
+ "github.com/apache/devlake/core/runner"
+ "github.com/apache/devlake/plugins/argocd/impl"
"github.com/spf13/cobra"
)
diff --git a/backend/plugins/argocd/impl/impl.go b/backend/plugins/argocd/impl/impl.go
index 77f2696..4ada3f3 100644
--- a/backend/plugins/argocd/impl/impl.go
+++ b/backend/plugins/argocd/impl/impl.go
@@ -18,15 +18,15 @@
package impl
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- coreModels "github.com/apache/incubator-devlake/core/models"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/plugins/argocd/api"
- "github.com/apache/incubator-devlake/plugins/argocd/models"
- "github.com/apache/incubator-devlake/plugins/argocd/models/migrationscripts"
- "github.com/apache/incubator-devlake/plugins/argocd/tasks"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ coreModels "github.com/apache/devlake/core/models"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/plugins/argocd/api"
+ "github.com/apache/devlake/plugins/argocd/models"
+ "github.com/apache/devlake/plugins/argocd/models/migrationscripts"
+ "github.com/apache/devlake/plugins/argocd/tasks"
)
var _ interface {
@@ -64,7 +64,7 @@
}
func (p ArgoCD) RootPkgPath() string {
- return "github.com/apache/incubator-devlake/plugins/argocd"
+ return "github.com/apache/devlake/plugins/argocd"
}
func (p ArgoCD) Init(basicRes context.BasicRes) errors.Error {
diff --git a/backend/plugins/argocd/models/application.go b/backend/plugins/argocd/models/application.go
index ad7c887..6853ed5 100644
--- a/backend/plugins/argocd/models/application.go
+++ b/backend/plugins/argocd/models/application.go
@@ -20,8 +20,8 @@
import (
"time"
- "github.com/apache/incubator-devlake/core/models/common"
- "github.com/apache/incubator-devlake/core/plugin"
+ "github.com/apache/devlake/core/models/common"
+ "github.com/apache/devlake/core/plugin"
)
var _ plugin.ToolLayerScope = (*ArgocdApplication)(nil)
diff --git a/backend/plugins/argocd/models/application_test.go b/backend/plugins/argocd/models/application_test.go
index 1bd8343..13837b9 100644
--- a/backend/plugins/argocd/models/application_test.go
+++ b/backend/plugins/argocd/models/application_test.go
@@ -20,7 +20,7 @@
import (
"testing"
- "github.com/apache/incubator-devlake/core/models/common"
+ "github.com/apache/devlake/core/models/common"
"github.com/stretchr/testify/assert"
)
diff --git a/backend/plugins/argocd/models/connection.go b/backend/plugins/argocd/models/connection.go
index a2c0111..9f9b72f 100644
--- a/backend/plugins/argocd/models/connection.go
+++ b/backend/plugins/argocd/models/connection.go
@@ -18,8 +18,8 @@
package models
import (
- "github.com/apache/incubator-devlake/core/utils"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/core/utils"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
)
type ArgocdConn struct {
diff --git a/backend/plugins/argocd/models/connection_test.go b/backend/plugins/argocd/models/connection_test.go
index e7130af..f352340 100644
--- a/backend/plugins/argocd/models/connection_test.go
+++ b/backend/plugins/argocd/models/connection_test.go
@@ -20,7 +20,7 @@
import (
"testing"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
"github.com/stretchr/testify/assert"
)
diff --git a/backend/plugins/argocd/models/migrationscripts/20250101_add_init_tables.go b/backend/plugins/argocd/models/migrationscripts/20250101_add_init_tables.go
index 00e334c..f6b261b 100644
--- a/backend/plugins/argocd/models/migrationscripts/20250101_add_init_tables.go
+++ b/backend/plugins/argocd/models/migrationscripts/20250101_add_init_tables.go
@@ -18,11 +18,11 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/migrationhelper"
- "github.com/apache/incubator-devlake/plugins/argocd/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/migrationhelper"
+ "github.com/apache/devlake/plugins/argocd/models/migrationscripts/archived"
)
type addInitTables struct{}
diff --git a/backend/plugins/argocd/models/migrationscripts/20251102_add_image_support.go b/backend/plugins/argocd/models/migrationscripts/20251102_add_image_support.go
index 7392d32..15423ff 100644
--- a/backend/plugins/argocd/models/migrationscripts/20251102_add_image_support.go
+++ b/backend/plugins/argocd/models/migrationscripts/20251102_add_image_support.go
@@ -18,11 +18,11 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/migrationhelper"
- "github.com/apache/incubator-devlake/plugins/argocd/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/migrationhelper"
+ "github.com/apache/devlake/plugins/argocd/models/migrationscripts/archived"
)
var _ plugin.MigrationScript = (*addImageSupportArtifacts)(nil)
diff --git a/backend/plugins/argocd/models/migrationscripts/20260331_add_repo_url_to_sync_operations.go b/backend/plugins/argocd/models/migrationscripts/20260331_add_repo_url_to_sync_operations.go
index 5acdc54..506339a 100644
--- a/backend/plugins/argocd/models/migrationscripts/20260331_add_repo_url_to_sync_operations.go
+++ b/backend/plugins/argocd/models/migrationscripts/20260331_add_repo_url_to_sync_operations.go
@@ -18,9 +18,9 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
)
var _ plugin.MigrationScript = (*addRepoURLToSyncOperations)(nil)
diff --git a/backend/plugins/argocd/models/migrationscripts/archived/models.go b/backend/plugins/argocd/models/migrationscripts/archived/models.go
index 2526c15..6fbf0cd 100644
--- a/backend/plugins/argocd/models/migrationscripts/archived/models.go
+++ b/backend/plugins/argocd/models/migrationscripts/archived/models.go
@@ -20,7 +20,7 @@
import (
"time"
- "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/models/migrationscripts/archived"
)
type ArgocdConnection struct {
diff --git a/backend/plugins/argocd/models/migrationscripts/register.go b/backend/plugins/argocd/models/migrationscripts/register.go
index 9ed9242..089c036 100644
--- a/backend/plugins/argocd/models/migrationscripts/register.go
+++ b/backend/plugins/argocd/models/migrationscripts/register.go
@@ -18,7 +18,7 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/plugin"
+ "github.com/apache/devlake/core/plugin"
)
func All() []plugin.MigrationScript {
diff --git a/backend/plugins/argocd/models/revision_image.go b/backend/plugins/argocd/models/revision_image.go
index 7b1080f..adb0b2b 100644
--- a/backend/plugins/argocd/models/revision_image.go
+++ b/backend/plugins/argocd/models/revision_image.go
@@ -17,7 +17,7 @@
package models
-import "github.com/apache/incubator-devlake/core/models/common"
+import "github.com/apache/devlake/core/models/common"
// ArgocdRevisionImage captures the container images observed for a given
// Argo CD application revision. It enables historical lookups so that
diff --git a/backend/plugins/argocd/models/scope_config.go b/backend/plugins/argocd/models/scope_config.go
index 5d20420..b3e9965 100644
--- a/backend/plugins/argocd/models/scope_config.go
+++ b/backend/plugins/argocd/models/scope_config.go
@@ -18,7 +18,7 @@
package models
import (
- "github.com/apache/incubator-devlake/core/models/common"
+ "github.com/apache/devlake/core/models/common"
)
type ArgocdScopeConfig struct {
diff --git a/backend/plugins/argocd/models/sync_operation.go b/backend/plugins/argocd/models/sync_operation.go
index ea8838c..2198723 100644
--- a/backend/plugins/argocd/models/sync_operation.go
+++ b/backend/plugins/argocd/models/sync_operation.go
@@ -20,7 +20,7 @@
import (
"time"
- "github.com/apache/incubator-devlake/core/models/common"
+ "github.com/apache/devlake/core/models/common"
)
type ArgocdSyncOperation struct {
diff --git a/backend/plugins/argocd/tasks/api_client.go b/backend/plugins/argocd/tasks/api_client.go
index 8ddcd08..8e0107c 100644
--- a/backend/plugins/argocd/tasks/api_client.go
+++ b/backend/plugins/argocd/tasks/api_client.go
@@ -18,10 +18,10 @@
package tasks
import (
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/argocd/models"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/argocd/models"
)
func NewArgocdApiClient(taskCtx plugin.TaskContext, connection *models.ArgocdConnection) (*api.ApiAsyncClient, errors.Error) {
diff --git a/backend/plugins/argocd/tasks/application_collector.go b/backend/plugins/argocd/tasks/application_collector.go
index 67ffabf..133f418 100644
--- a/backend/plugins/argocd/tasks/application_collector.go
+++ b/backend/plugins/argocd/tasks/application_collector.go
@@ -22,10 +22,10 @@
"net/http"
"net/url"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/argocd/models"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/argocd/models"
)
const RAW_APPLICATION_TABLE = "argocd_api_applications"
diff --git a/backend/plugins/argocd/tasks/application_convertor.go b/backend/plugins/argocd/tasks/application_convertor.go
index bc10f06..aa763aa 100644
--- a/backend/plugins/argocd/tasks/application_convertor.go
+++ b/backend/plugins/argocd/tasks/application_convertor.go
@@ -22,14 +22,14 @@
"reflect"
"strings"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/domainlayer"
- "github.com/apache/incubator-devlake/core/models/domainlayer/devops"
- "github.com/apache/incubator-devlake/core/models/domainlayer/didgen"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/argocd/models"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/domainlayer"
+ "github.com/apache/devlake/core/models/domainlayer/devops"
+ "github.com/apache/devlake/core/models/domainlayer/didgen"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/argocd/models"
)
var ConvertApplicationsMeta = plugin.SubTaskMeta{
diff --git a/backend/plugins/argocd/tasks/application_convertor_test.go b/backend/plugins/argocd/tasks/application_convertor_test.go
index f33c749..bbf3903 100644
--- a/backend/plugins/argocd/tasks/application_convertor_test.go
+++ b/backend/plugins/argocd/tasks/application_convertor_test.go
@@ -21,7 +21,7 @@
"testing"
"time"
- "github.com/apache/incubator-devlake/plugins/argocd/models"
+ "github.com/apache/devlake/plugins/argocd/models"
"github.com/stretchr/testify/assert"
)
diff --git a/backend/plugins/argocd/tasks/application_extractor.go b/backend/plugins/argocd/tasks/application_extractor.go
index 1c78999..33ac3d7 100644
--- a/backend/plugins/argocd/tasks/application_extractor.go
+++ b/backend/plugins/argocd/tasks/application_extractor.go
@@ -21,10 +21,10 @@
"encoding/json"
"time"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/argocd/models"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/argocd/models"
)
var _ plugin.SubTaskEntryPoint = ExtractApplications
diff --git a/backend/plugins/argocd/tasks/register.go b/backend/plugins/argocd/tasks/register.go
index 2d55669..f0d029f 100644
--- a/backend/plugins/argocd/tasks/register.go
+++ b/backend/plugins/argocd/tasks/register.go
@@ -18,12 +18,12 @@
package tasks
import (
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/domainlayer/devops"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/argocd/models"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/domainlayer/devops"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/argocd/models"
)
func CollectDataTaskMetas() []plugin.SubTaskMeta {
diff --git a/backend/plugins/argocd/tasks/sync_operation_collector.go b/backend/plugins/argocd/tasks/sync_operation_collector.go
index 6f58a16..bac7e5e 100644
--- a/backend/plugins/argocd/tasks/sync_operation_collector.go
+++ b/backend/plugins/argocd/tasks/sync_operation_collector.go
@@ -23,10 +23,10 @@
"net/http"
"net/url"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/argocd/models"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/argocd/models"
)
const RAW_SYNC_OPERATION_TABLE = "argocd_api_sync_operations"
diff --git a/backend/plugins/argocd/tasks/sync_operation_convertor.go b/backend/plugins/argocd/tasks/sync_operation_convertor.go
index e577b7a..debf6c5 100644
--- a/backend/plugins/argocd/tasks/sync_operation_convertor.go
+++ b/backend/plugins/argocd/tasks/sync_operation_convertor.go
@@ -23,14 +23,14 @@
"regexp"
"time"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/domainlayer"
- "github.com/apache/incubator-devlake/core/models/domainlayer/devops"
- "github.com/apache/incubator-devlake/core/models/domainlayer/didgen"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/argocd/models"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/domainlayer"
+ "github.com/apache/devlake/core/models/domainlayer/devops"
+ "github.com/apache/devlake/core/models/domainlayer/didgen"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/argocd/models"
)
var _ plugin.SubTaskEntryPoint = ConvertSyncOperations
diff --git a/backend/plugins/argocd/tasks/sync_operation_convertor_test.go b/backend/plugins/argocd/tasks/sync_operation_convertor_test.go
index 91048a7..d905d1c 100644
--- a/backend/plugins/argocd/tasks/sync_operation_convertor_test.go
+++ b/backend/plugins/argocd/tasks/sync_operation_convertor_test.go
@@ -20,9 +20,9 @@
import (
"testing"
- "github.com/apache/incubator-devlake/core/models/domainlayer/devops"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/argocd/models"
+ "github.com/apache/devlake/core/models/domainlayer/devops"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/argocd/models"
"github.com/stretchr/testify/assert"
)
diff --git a/backend/plugins/argocd/tasks/sync_operation_extractor.go b/backend/plugins/argocd/tasks/sync_operation_extractor.go
index 6ea7f78..5138bbb 100644
--- a/backend/plugins/argocd/tasks/sync_operation_extractor.go
+++ b/backend/plugins/argocd/tasks/sync_operation_extractor.go
@@ -23,12 +23,12 @@
"strings"
"time"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/common"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/argocd/models"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/common"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/argocd/models"
)
var _ plugin.SubTaskEntryPoint = ExtractSyncOperations
diff --git a/backend/plugins/argocd/tasks/task_data.go b/backend/plugins/argocd/tasks/task_data.go
index 7a5df54..81b491a 100644
--- a/backend/plugins/argocd/tasks/task_data.go
+++ b/backend/plugins/argocd/tasks/task_data.go
@@ -20,9 +20,9 @@
import (
"time"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/argocd/models"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/argocd/models"
)
type ArgocdTaskData struct {
diff --git a/backend/plugins/argocd/tasks/task_data_test.go b/backend/plugins/argocd/tasks/task_data_test.go
index fa8718c..e04b6b1 100644
--- a/backend/plugins/argocd/tasks/task_data_test.go
+++ b/backend/plugins/argocd/tasks/task_data_test.go
@@ -20,7 +20,7 @@
import (
"testing"
- "github.com/apache/incubator-devlake/core/errors"
+ "github.com/apache/devlake/core/errors"
"github.com/stretchr/testify/assert"
)
diff --git a/backend/plugins/asana/api/blueprint_v200.go b/backend/plugins/asana/api/blueprint_v200.go
index 2820593..cc30547 100644
--- a/backend/plugins/asana/api/blueprint_v200.go
+++ b/backend/plugins/asana/api/blueprint_v200.go
@@ -18,18 +18,18 @@
package api
import (
- "github.com/apache/incubator-devlake/core/models/domainlayer/ticket"
+ "github.com/apache/devlake/core/models/domainlayer/ticket"
- "github.com/apache/incubator-devlake/plugins/asana/models"
- "github.com/apache/incubator-devlake/plugins/asana/tasks"
+ "github.com/apache/devlake/plugins/asana/models"
+ "github.com/apache/devlake/plugins/asana/tasks"
- "github.com/apache/incubator-devlake/core/errors"
- coreModels "github.com/apache/incubator-devlake/core/models"
- "github.com/apache/incubator-devlake/core/models/domainlayer/didgen"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/core/utils"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/helpers/srvhelper"
+ "github.com/apache/devlake/core/errors"
+ coreModels "github.com/apache/devlake/core/models"
+ "github.com/apache/devlake/core/models/domainlayer/didgen"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/core/utils"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/helpers/srvhelper"
)
func MakePipelinePlanV200(
diff --git a/backend/plugins/asana/api/connection_api.go b/backend/plugins/asana/api/connection_api.go
index 6d69c8c..e3947dc 100644
--- a/backend/plugins/asana/api/connection_api.go
+++ b/backend/plugins/asana/api/connection_api.go
@@ -21,11 +21,11 @@
"context"
"net/http"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/asana/models"
- "github.com/apache/incubator-devlake/server/api/shared"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/asana/models"
+ "github.com/apache/devlake/server/api/shared"
)
type AsanaTestConnResponse struct {
diff --git a/backend/plugins/asana/api/init.go b/backend/plugins/asana/api/init.go
index d13865b..8b73d5b 100644
--- a/backend/plugins/asana/api/init.go
+++ b/backend/plugins/asana/api/init.go
@@ -18,10 +18,10 @@
package api
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/asana/models"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/asana/models"
"github.com/go-playground/validator/v10"
)
diff --git a/backend/plugins/asana/api/remote_api.go b/backend/plugins/asana/api/remote_api.go
index 0245cb6..3128590 100644
--- a/backend/plugins/asana/api/remote_api.go
+++ b/backend/plugins/asana/api/remote_api.go
@@ -22,11 +22,11 @@
"net/url"
"strings"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- dsmodels "github.com/apache/incubator-devlake/helpers/pluginhelper/api/models"
- "github.com/apache/incubator-devlake/plugins/asana/models"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ dsmodels "github.com/apache/devlake/helpers/pluginhelper/api/models"
+ "github.com/apache/devlake/plugins/asana/models"
)
type AsanaRemotePagination struct {
diff --git a/backend/plugins/asana/api/scope_api.go b/backend/plugins/asana/api/scope_api.go
index afbc848..2f66706 100644
--- a/backend/plugins/asana/api/scope_api.go
+++ b/backend/plugins/asana/api/scope_api.go
@@ -18,10 +18,10 @@
package api
import (
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/asana/models"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/asana/models"
)
type PutScopesReqBody api.PutScopesReqBody[models.AsanaProject]
diff --git a/backend/plugins/asana/api/scope_config_api.go b/backend/plugins/asana/api/scope_config_api.go
index d7e5b54..6ec13dc 100644
--- a/backend/plugins/asana/api/scope_config_api.go
+++ b/backend/plugins/asana/api/scope_config_api.go
@@ -18,8 +18,8 @@
package api
import (
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
)
func PostScopeConfig(input *plugin.ApiResourceInput) (*plugin.ApiResourceOutput, errors.Error) {
diff --git a/backend/plugins/asana/api/swagger.go b/backend/plugins/asana/api/swagger.go
index 43897ad..fc1e8db 100644
--- a/backend/plugins/asana/api/swagger.go
+++ b/backend/plugins/asana/api/swagger.go
@@ -18,7 +18,7 @@
package api
import (
- "github.com/apache/incubator-devlake/plugins/asana/tasks"
+ "github.com/apache/devlake/plugins/asana/tasks"
)
type AsanaTaskOptions tasks.AsanaOptions
diff --git a/backend/plugins/asana/asana.go b/backend/plugins/asana/asana.go
index 4bfbbf5..c3650ec 100644
--- a/backend/plugins/asana/asana.go
+++ b/backend/plugins/asana/asana.go
@@ -18,8 +18,8 @@
package main
import (
- "github.com/apache/incubator-devlake/core/runner"
- "github.com/apache/incubator-devlake/plugins/asana/impl"
+ "github.com/apache/devlake/core/runner"
+ "github.com/apache/devlake/plugins/asana/impl"
"github.com/spf13/cobra"
)
diff --git a/backend/plugins/asana/e2e/project_test.go b/backend/plugins/asana/e2e/project_test.go
index 3fbc630..872b036 100644
--- a/backend/plugins/asana/e2e/project_test.go
+++ b/backend/plugins/asana/e2e/project_test.go
@@ -20,12 +20,12 @@
import (
"testing"
- "github.com/apache/incubator-devlake/core/models/common"
- "github.com/apache/incubator-devlake/core/models/domainlayer/ticket"
- "github.com/apache/incubator-devlake/helpers/e2ehelper"
- "github.com/apache/incubator-devlake/plugins/asana/impl"
- "github.com/apache/incubator-devlake/plugins/asana/models"
- "github.com/apache/incubator-devlake/plugins/asana/tasks"
+ "github.com/apache/devlake/core/models/common"
+ "github.com/apache/devlake/core/models/domainlayer/ticket"
+ "github.com/apache/devlake/helpers/e2ehelper"
+ "github.com/apache/devlake/plugins/asana/impl"
+ "github.com/apache/devlake/plugins/asana/models"
+ "github.com/apache/devlake/plugins/asana/tasks"
)
func TestAsanaProjectDataFlow(t *testing.T) {
diff --git a/backend/plugins/asana/e2e/task_test.go b/backend/plugins/asana/e2e/task_test.go
index 5687ceb..2996dce 100644
--- a/backend/plugins/asana/e2e/task_test.go
+++ b/backend/plugins/asana/e2e/task_test.go
@@ -20,11 +20,11 @@
import (
"testing"
- "github.com/apache/incubator-devlake/core/models/common"
- "github.com/apache/incubator-devlake/helpers/e2ehelper"
- "github.com/apache/incubator-devlake/plugins/asana/impl"
- "github.com/apache/incubator-devlake/plugins/asana/models"
- "github.com/apache/incubator-devlake/plugins/asana/tasks"
+ "github.com/apache/devlake/core/models/common"
+ "github.com/apache/devlake/helpers/e2ehelper"
+ "github.com/apache/devlake/plugins/asana/impl"
+ "github.com/apache/devlake/plugins/asana/models"
+ "github.com/apache/devlake/plugins/asana/tasks"
)
func TestAsanaTaskDataFlow(t *testing.T) {
diff --git a/backend/plugins/asana/impl/impl.go b/backend/plugins/asana/impl/impl.go
index 42ac786..a249c08 100644
--- a/backend/plugins/asana/impl/impl.go
+++ b/backend/plugins/asana/impl/impl.go
@@ -20,16 +20,16 @@
import (
"fmt"
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- coreModels "github.com/apache/incubator-devlake/core/models"
- "github.com/apache/incubator-devlake/core/plugin"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/asana/api"
- "github.com/apache/incubator-devlake/plugins/asana/models"
- "github.com/apache/incubator-devlake/plugins/asana/models/migrationscripts"
- "github.com/apache/incubator-devlake/plugins/asana/tasks"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ coreModels "github.com/apache/devlake/core/models"
+ "github.com/apache/devlake/core/plugin"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/asana/api"
+ "github.com/apache/devlake/plugins/asana/models"
+ "github.com/apache/devlake/plugins/asana/models/migrationscripts"
+ "github.com/apache/devlake/plugins/asana/tasks"
)
var _ interface {
@@ -140,7 +140,7 @@
}
func (p Asana) RootPkgPath() string {
- return "github.com/apache/incubator-devlake/plugins/asana"
+ return "github.com/apache/devlake/plugins/asana"
}
func (p Asana) MigrationScripts() []plugin.MigrationScript {
diff --git a/backend/plugins/asana/models/connection.go b/backend/plugins/asana/models/connection.go
index 349a69b..3a7dfd2 100644
--- a/backend/plugins/asana/models/connection.go
+++ b/backend/plugins/asana/models/connection.go
@@ -21,9 +21,9 @@
"fmt"
"net/http"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/utils"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/utils"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
)
// AsanaConn holds the essential information to connect to the Asana API
diff --git a/backend/plugins/asana/models/custom_field.go b/backend/plugins/asana/models/custom_field.go
index aabade0..68544f1 100644
--- a/backend/plugins/asana/models/custom_field.go
+++ b/backend/plugins/asana/models/custom_field.go
@@ -18,7 +18,7 @@
package models
import (
- "github.com/apache/incubator-devlake/core/models/common"
+ "github.com/apache/devlake/core/models/common"
)
// AsanaCustomField represents a custom field definition
diff --git a/backend/plugins/asana/models/membership.go b/backend/plugins/asana/models/membership.go
index 572e246..26ed733 100644
--- a/backend/plugins/asana/models/membership.go
+++ b/backend/plugins/asana/models/membership.go
@@ -18,7 +18,7 @@
package models
import (
- "github.com/apache/incubator-devlake/core/models/common"
+ "github.com/apache/devlake/core/models/common"
)
// AsanaProjectMembership links users to projects with their role
diff --git a/backend/plugins/asana/models/migrationscripts/20250203_add_init_tables.go b/backend/plugins/asana/models/migrationscripts/20250203_add_init_tables.go
index a2dae69..b2b85a7 100644
--- a/backend/plugins/asana/models/migrationscripts/20250203_add_init_tables.go
+++ b/backend/plugins/asana/models/migrationscripts/20250203_add_init_tables.go
@@ -18,10 +18,10 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/helpers/migrationhelper"
- "github.com/apache/incubator-devlake/plugins/asana/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/helpers/migrationhelper"
+ "github.com/apache/devlake/plugins/asana/models/migrationscripts/archived"
)
type addInitTables struct{}
diff --git a/backend/plugins/asana/models/migrationscripts/20250212_add_missing_tables.go b/backend/plugins/asana/models/migrationscripts/20250212_add_missing_tables.go
index 35c482d..8ac1929 100644
--- a/backend/plugins/asana/models/migrationscripts/20250212_add_missing_tables.go
+++ b/backend/plugins/asana/models/migrationscripts/20250212_add_missing_tables.go
@@ -18,10 +18,10 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/helpers/migrationhelper"
- "github.com/apache/incubator-devlake/plugins/asana/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/helpers/migrationhelper"
+ "github.com/apache/devlake/plugins/asana/models/migrationscripts/archived"
)
type addMissingTables struct{}
diff --git a/backend/plugins/asana/models/migrationscripts/20250212_add_scope_config_issue_type_fields.go b/backend/plugins/asana/models/migrationscripts/20250212_add_scope_config_issue_type_fields.go
index e092290..7b3b32f 100644
--- a/backend/plugins/asana/models/migrationscripts/20250212_add_scope_config_issue_type_fields.go
+++ b/backend/plugins/asana/models/migrationscripts/20250212_add_scope_config_issue_type_fields.go
@@ -18,9 +18,9 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
)
var _ plugin.MigrationScript = (*addScopeConfigIssueTypeFields)(nil)
diff --git a/backend/plugins/asana/models/migrationscripts/20250212_add_task_transformation_fields.go b/backend/plugins/asana/models/migrationscripts/20250212_add_task_transformation_fields.go
index c8706d3..4d13418 100644
--- a/backend/plugins/asana/models/migrationscripts/20250212_add_task_transformation_fields.go
+++ b/backend/plugins/asana/models/migrationscripts/20250212_add_task_transformation_fields.go
@@ -18,9 +18,9 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
)
var _ plugin.MigrationScript = (*addTaskTransformationFields)(nil)
diff --git a/backend/plugins/asana/models/migrationscripts/20250212_add_user_photo_url.go b/backend/plugins/asana/models/migrationscripts/20250212_add_user_photo_url.go
index fc87c9f..3108e3e 100644
--- a/backend/plugins/asana/models/migrationscripts/20250212_add_user_photo_url.go
+++ b/backend/plugins/asana/models/migrationscripts/20250212_add_user_photo_url.go
@@ -18,9 +18,9 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
)
var _ plugin.MigrationScript = (*addUserPhotoUrl)(nil)
diff --git a/backend/plugins/asana/models/migrationscripts/20250219_add_connection_id_to_scope_configs.go b/backend/plugins/asana/models/migrationscripts/20250219_add_connection_id_to_scope_configs.go
index dff72ee..9bc5255 100644
--- a/backend/plugins/asana/models/migrationscripts/20250219_add_connection_id_to_scope_configs.go
+++ b/backend/plugins/asana/models/migrationscripts/20250219_add_connection_id_to_scope_configs.go
@@ -18,9 +18,9 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
)
var _ plugin.MigrationScript = (*addConnectionIdToAsanaScopeConfigs)(nil)
diff --git a/backend/plugins/asana/models/migrationscripts/20260509000001_encrypt_connection_token.go b/backend/plugins/asana/models/migrationscripts/20260509000001_encrypt_connection_token.go
index fee89ca..6849acc 100644
--- a/backend/plugins/asana/models/migrationscripts/20260509000001_encrypt_connection_token.go
+++ b/backend/plugins/asana/models/migrationscripts/20260509000001_encrypt_connection_token.go
@@ -20,10 +20,10 @@
import (
"fmt"
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
)
type asanaConnectionTokenPlain struct {
diff --git a/backend/plugins/asana/models/migrationscripts/archived/models.go b/backend/plugins/asana/models/migrationscripts/archived/models.go
index 1551cad..3368d5e 100644
--- a/backend/plugins/asana/models/migrationscripts/archived/models.go
+++ b/backend/plugins/asana/models/migrationscripts/archived/models.go
@@ -20,7 +20,7 @@
import (
"time"
- "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/models/migrationscripts/archived"
)
type AsanaConnection struct {
diff --git a/backend/plugins/asana/models/migrationscripts/register.go b/backend/plugins/asana/models/migrationscripts/register.go
index 753f192..76d3a99 100644
--- a/backend/plugins/asana/models/migrationscripts/register.go
+++ b/backend/plugins/asana/models/migrationscripts/register.go
@@ -18,7 +18,7 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/plugin"
+ "github.com/apache/devlake/core/plugin"
)
// All return all the migration scripts
diff --git a/backend/plugins/asana/models/project.go b/backend/plugins/asana/models/project.go
index 498bcd9..89b7c75 100644
--- a/backend/plugins/asana/models/project.go
+++ b/backend/plugins/asana/models/project.go
@@ -18,8 +18,8 @@
package models
import (
- "github.com/apache/incubator-devlake/core/models/common"
- "github.com/apache/incubator-devlake/core/plugin"
+ "github.com/apache/devlake/core/models/common"
+ "github.com/apache/devlake/core/plugin"
)
var _ plugin.ToolLayerScope = (*AsanaProject)(nil)
diff --git a/backend/plugins/asana/models/scope_config.go b/backend/plugins/asana/models/scope_config.go
index 560e645..4f75b24 100644
--- a/backend/plugins/asana/models/scope_config.go
+++ b/backend/plugins/asana/models/scope_config.go
@@ -18,7 +18,7 @@
package models
import (
- "github.com/apache/incubator-devlake/core/models/common"
+ "github.com/apache/devlake/core/models/common"
)
type AsanaScopeConfig struct {
diff --git a/backend/plugins/asana/models/section.go b/backend/plugins/asana/models/section.go
index 3ebc17b..6b45826 100644
--- a/backend/plugins/asana/models/section.go
+++ b/backend/plugins/asana/models/section.go
@@ -18,7 +18,7 @@
package models
import (
- "github.com/apache/incubator-devlake/core/models/common"
+ "github.com/apache/devlake/core/models/common"
)
type AsanaSection struct {
diff --git a/backend/plugins/asana/models/story.go b/backend/plugins/asana/models/story.go
index 41386a4..e057957 100644
--- a/backend/plugins/asana/models/story.go
+++ b/backend/plugins/asana/models/story.go
@@ -20,7 +20,7 @@
import (
"time"
- "github.com/apache/incubator-devlake/core/models/common"
+ "github.com/apache/devlake/core/models/common"
)
// AsanaStory represents comments and system-generated stories on tasks
diff --git a/backend/plugins/asana/models/tag.go b/backend/plugins/asana/models/tag.go
index 2ab2955..d8bdbd9 100644
--- a/backend/plugins/asana/models/tag.go
+++ b/backend/plugins/asana/models/tag.go
@@ -18,7 +18,7 @@
package models
import (
- "github.com/apache/incubator-devlake/core/models/common"
+ "github.com/apache/devlake/core/models/common"
)
type AsanaTag struct {
diff --git a/backend/plugins/asana/models/task.go b/backend/plugins/asana/models/task.go
index fce6bd9..705a217 100644
--- a/backend/plugins/asana/models/task.go
+++ b/backend/plugins/asana/models/task.go
@@ -20,7 +20,7 @@
import (
"time"
- "github.com/apache/incubator-devlake/core/models/common"
+ "github.com/apache/devlake/core/models/common"
)
type AsanaTask struct {
diff --git a/backend/plugins/asana/models/team.go b/backend/plugins/asana/models/team.go
index 1488a0f..5543b51 100644
--- a/backend/plugins/asana/models/team.go
+++ b/backend/plugins/asana/models/team.go
@@ -18,7 +18,7 @@
package models
import (
- "github.com/apache/incubator-devlake/core/models/common"
+ "github.com/apache/devlake/core/models/common"
)
type AsanaTeam struct {
diff --git a/backend/plugins/asana/models/user.go b/backend/plugins/asana/models/user.go
index 9268119..f9a4302 100644
--- a/backend/plugins/asana/models/user.go
+++ b/backend/plugins/asana/models/user.go
@@ -18,7 +18,7 @@
package models
import (
- "github.com/apache/incubator-devlake/core/models/common"
+ "github.com/apache/devlake/core/models/common"
)
type AsanaUser struct {
diff --git a/backend/plugins/asana/models/workspace.go b/backend/plugins/asana/models/workspace.go
index 101c249..944ad8a 100644
--- a/backend/plugins/asana/models/workspace.go
+++ b/backend/plugins/asana/models/workspace.go
@@ -18,7 +18,7 @@
package models
import (
- "github.com/apache/incubator-devlake/core/models/common"
+ "github.com/apache/devlake/core/models/common"
)
type AsanaWorkspace struct {
diff --git a/backend/plugins/asana/tasks/api_client.go b/backend/plugins/asana/tasks/api_client.go
index 25abd42..85ef859 100644
--- a/backend/plugins/asana/tasks/api_client.go
+++ b/backend/plugins/asana/tasks/api_client.go
@@ -18,10 +18,10 @@
package tasks
import (
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/asana/models"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/asana/models"
)
func CreateApiClient(taskCtx plugin.TaskContext, connection *models.AsanaConnection) (*api.ApiAsyncClient, errors.Error) {
diff --git a/backend/plugins/asana/tasks/project_collector.go b/backend/plugins/asana/tasks/project_collector.go
index 5ae69a6..69574df 100644
--- a/backend/plugins/asana/tasks/project_collector.go
+++ b/backend/plugins/asana/tasks/project_collector.go
@@ -21,10 +21,10 @@
"encoding/json"
"net/http"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/asana/models"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/asana/models"
)
const rawProjectTable = "asana_projects"
diff --git a/backend/plugins/asana/tasks/project_convertor.go b/backend/plugins/asana/tasks/project_convertor.go
index cd6f895..66e0ab0 100644
--- a/backend/plugins/asana/tasks/project_convertor.go
+++ b/backend/plugins/asana/tasks/project_convertor.go
@@ -20,14 +20,14 @@
import (
"reflect"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/domainlayer"
- "github.com/apache/incubator-devlake/core/models/domainlayer/didgen"
- "github.com/apache/incubator-devlake/core/models/domainlayer/ticket"
- "github.com/apache/incubator-devlake/core/plugin"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/asana/models"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/domainlayer"
+ "github.com/apache/devlake/core/models/domainlayer/didgen"
+ "github.com/apache/devlake/core/models/domainlayer/ticket"
+ "github.com/apache/devlake/core/plugin"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/asana/models"
)
var _ plugin.SubTaskEntryPoint = ConvertProject
diff --git a/backend/plugins/asana/tasks/project_extractor.go b/backend/plugins/asana/tasks/project_extractor.go
index dba73b8..1392a61 100644
--- a/backend/plugins/asana/tasks/project_extractor.go
+++ b/backend/plugins/asana/tasks/project_extractor.go
@@ -20,10 +20,10 @@
import (
"encoding/json"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/asana/models"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/asana/models"
)
var _ plugin.SubTaskEntryPoint = ExtractProject
diff --git a/backend/plugins/asana/tasks/section_collector.go b/backend/plugins/asana/tasks/section_collector.go
index 782f47a..1ceff66 100644
--- a/backend/plugins/asana/tasks/section_collector.go
+++ b/backend/plugins/asana/tasks/section_collector.go
@@ -21,10 +21,10 @@
"encoding/json"
"net/http"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/asana/models"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/asana/models"
)
const rawSectionTable = "asana_sections"
diff --git a/backend/plugins/asana/tasks/section_extractor.go b/backend/plugins/asana/tasks/section_extractor.go
index 3c6e90a..2ad701c 100644
--- a/backend/plugins/asana/tasks/section_extractor.go
+++ b/backend/plugins/asana/tasks/section_extractor.go
@@ -20,10 +20,10 @@
import (
"encoding/json"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/asana/models"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/asana/models"
)
var _ plugin.SubTaskEntryPoint = ExtractSection
diff --git a/backend/plugins/asana/tasks/story_collector.go b/backend/plugins/asana/tasks/story_collector.go
index 7fa8896..f689c9f 100644
--- a/backend/plugins/asana/tasks/story_collector.go
+++ b/backend/plugins/asana/tasks/story_collector.go
@@ -23,11 +23,11 @@
"net/url"
"reflect"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/asana/models"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/asana/models"
)
const rawStoryTable = "asana_stories"
diff --git a/backend/plugins/asana/tasks/story_convertor.go b/backend/plugins/asana/tasks/story_convertor.go
index f5df43b..758c24f 100644
--- a/backend/plugins/asana/tasks/story_convertor.go
+++ b/backend/plugins/asana/tasks/story_convertor.go
@@ -20,14 +20,14 @@
import (
"reflect"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/domainlayer"
- "github.com/apache/incubator-devlake/core/models/domainlayer/didgen"
- "github.com/apache/incubator-devlake/core/models/domainlayer/ticket"
- "github.com/apache/incubator-devlake/core/plugin"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/asana/models"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/domainlayer"
+ "github.com/apache/devlake/core/models/domainlayer/didgen"
+ "github.com/apache/devlake/core/models/domainlayer/ticket"
+ "github.com/apache/devlake/core/plugin"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/asana/models"
)
var _ plugin.SubTaskEntryPoint = ConvertStory
diff --git a/backend/plugins/asana/tasks/story_extractor.go b/backend/plugins/asana/tasks/story_extractor.go
index e0240f2..459e60a 100644
--- a/backend/plugins/asana/tasks/story_extractor.go
+++ b/backend/plugins/asana/tasks/story_extractor.go
@@ -21,10 +21,10 @@
"encoding/json"
"time"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/asana/models"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/asana/models"
)
var _ plugin.SubTaskEntryPoint = ExtractStory
diff --git a/backend/plugins/asana/tasks/subtask_collector.go b/backend/plugins/asana/tasks/subtask_collector.go
index a2f22cd..73218dc 100644
--- a/backend/plugins/asana/tasks/subtask_collector.go
+++ b/backend/plugins/asana/tasks/subtask_collector.go
@@ -23,11 +23,11 @@
"net/url"
"reflect"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/asana/models"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/asana/models"
)
const rawSubtaskTable = "asana_subtasks"
diff --git a/backend/plugins/asana/tasks/subtask_extractor.go b/backend/plugins/asana/tasks/subtask_extractor.go
index 0e0b310..440cc30 100644
--- a/backend/plugins/asana/tasks/subtask_extractor.go
+++ b/backend/plugins/asana/tasks/subtask_extractor.go
@@ -21,10 +21,10 @@
"encoding/json"
"time"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/asana/models"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/asana/models"
)
var _ plugin.SubTaskEntryPoint = ExtractSubtask
diff --git a/backend/plugins/asana/tasks/tag_collector.go b/backend/plugins/asana/tasks/tag_collector.go
index 0f3d218..01d3b18 100644
--- a/backend/plugins/asana/tasks/tag_collector.go
+++ b/backend/plugins/asana/tasks/tag_collector.go
@@ -23,11 +23,11 @@
"net/url"
"reflect"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/asana/models"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/asana/models"
)
const rawTagTable = "asana_tags"
diff --git a/backend/plugins/asana/tasks/tag_extractor.go b/backend/plugins/asana/tasks/tag_extractor.go
index 3e7db18..92e3a19 100644
--- a/backend/plugins/asana/tasks/tag_extractor.go
+++ b/backend/plugins/asana/tasks/tag_extractor.go
@@ -20,10 +20,10 @@
import (
"encoding/json"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/asana/models"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/asana/models"
)
var _ plugin.SubTaskEntryPoint = ExtractTag
diff --git a/backend/plugins/asana/tasks/task_collector.go b/backend/plugins/asana/tasks/task_collector.go
index 8e1b72c..e21b30c 100644
--- a/backend/plugins/asana/tasks/task_collector.go
+++ b/backend/plugins/asana/tasks/task_collector.go
@@ -22,10 +22,10 @@
"net/http"
"net/url"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/asana/models"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/asana/models"
)
const rawTaskTable = "asana_tasks"
diff --git a/backend/plugins/asana/tasks/task_convertor.go b/backend/plugins/asana/tasks/task_convertor.go
index 7c981b5..8a27f16 100644
--- a/backend/plugins/asana/tasks/task_convertor.go
+++ b/backend/plugins/asana/tasks/task_convertor.go
@@ -22,14 +22,14 @@
"regexp"
"strings"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/domainlayer"
- "github.com/apache/incubator-devlake/core/models/domainlayer/didgen"
- "github.com/apache/incubator-devlake/core/models/domainlayer/ticket"
- "github.com/apache/incubator-devlake/core/plugin"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/asana/models"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/domainlayer"
+ "github.com/apache/devlake/core/models/domainlayer/didgen"
+ "github.com/apache/devlake/core/models/domainlayer/ticket"
+ "github.com/apache/devlake/core/plugin"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/asana/models"
)
var _ plugin.SubTaskEntryPoint = ConvertTask
diff --git a/backend/plugins/asana/tasks/task_data.go b/backend/plugins/asana/tasks/task_data.go
index b6c8283..ef01bb7 100644
--- a/backend/plugins/asana/tasks/task_data.go
+++ b/backend/plugins/asana/tasks/task_data.go
@@ -18,9 +18,9 @@
package tasks
import (
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/asana/models"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/asana/models"
)
func CreateRawDataSubTaskArgs(taskCtx plugin.SubTaskContext, rawTable string) (*api.RawDataSubTaskArgs, *AsanaTaskData) {
diff --git a/backend/plugins/asana/tasks/task_extractor.go b/backend/plugins/asana/tasks/task_extractor.go
index 11ce45a..6291ae6 100644
--- a/backend/plugins/asana/tasks/task_extractor.go
+++ b/backend/plugins/asana/tasks/task_extractor.go
@@ -21,10 +21,10 @@
"encoding/json"
"time"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/asana/models"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/asana/models"
)
var _ plugin.SubTaskEntryPoint = ExtractTask
diff --git a/backend/plugins/asana/tasks/user_collector.go b/backend/plugins/asana/tasks/user_collector.go
index 9b1649a..bcfc985 100644
--- a/backend/plugins/asana/tasks/user_collector.go
+++ b/backend/plugins/asana/tasks/user_collector.go
@@ -22,10 +22,10 @@
"net/http"
"net/url"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/asana/models"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/asana/models"
)
const rawUserTable = "asana_users"
diff --git a/backend/plugins/asana/tasks/user_convertor.go b/backend/plugins/asana/tasks/user_convertor.go
index 4d9f3da..8bc3e00 100644
--- a/backend/plugins/asana/tasks/user_convertor.go
+++ b/backend/plugins/asana/tasks/user_convertor.go
@@ -20,14 +20,14 @@
import (
"reflect"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/domainlayer"
- "github.com/apache/incubator-devlake/core/models/domainlayer/crossdomain"
- "github.com/apache/incubator-devlake/core/models/domainlayer/didgen"
- "github.com/apache/incubator-devlake/core/plugin"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/asana/models"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/domainlayer"
+ "github.com/apache/devlake/core/models/domainlayer/crossdomain"
+ "github.com/apache/devlake/core/models/domainlayer/didgen"
+ "github.com/apache/devlake/core/plugin"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/asana/models"
)
var _ plugin.SubTaskEntryPoint = ConvertUser
diff --git a/backend/plugins/asana/tasks/user_extractor.go b/backend/plugins/asana/tasks/user_extractor.go
index 763c5a2..bddf43f 100644
--- a/backend/plugins/asana/tasks/user_extractor.go
+++ b/backend/plugins/asana/tasks/user_extractor.go
@@ -20,10 +20,10 @@
import (
"encoding/json"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/asana/models"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/asana/models"
)
var _ plugin.SubTaskEntryPoint = ExtractUser
diff --git a/backend/plugins/azuredevops_go/api/azuredevops/client.go b/backend/plugins/azuredevops_go/api/azuredevops/client.go
index 207967f..355f5b9 100644
--- a/backend/plugins/azuredevops_go/api/azuredevops/client.go
+++ b/backend/plugins/azuredevops_go/api/azuredevops/client.go
@@ -27,10 +27,10 @@
"strings"
"time"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/azuredevops_go/models"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/azuredevops_go/models"
)
const apiVersion = "7.1"
diff --git a/backend/plugins/azuredevops_go/api/azuredevops/client_onprem_test.go b/backend/plugins/azuredevops_go/api/azuredevops/client_onprem_test.go
index b2b7668..4753d19 100644
--- a/backend/plugins/azuredevops_go/api/azuredevops/client_onprem_test.go
+++ b/backend/plugins/azuredevops_go/api/azuredevops/client_onprem_test.go
@@ -18,8 +18,8 @@
package azuredevops
import (
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/azuredevops_go/models"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/azuredevops_go/models"
"testing"
)
diff --git a/backend/plugins/azuredevops_go/api/azuredevops/client_test.go b/backend/plugins/azuredevops_go/api/azuredevops/client_test.go
index 6b184e8..630df05 100644
--- a/backend/plugins/azuredevops_go/api/azuredevops/client_test.go
+++ b/backend/plugins/azuredevops_go/api/azuredevops/client_test.go
@@ -20,8 +20,8 @@
import (
"bytes"
"fmt"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/azuredevops_go/models"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/azuredevops_go/models"
"github.com/rogpeppe/go-internal/txtar"
"io"
"net/http"
diff --git a/backend/plugins/azuredevops_go/api/blueprint_v200.go b/backend/plugins/azuredevops_go/api/blueprint_v200.go
index 3cd4acb..22880ac 100644
--- a/backend/plugins/azuredevops_go/api/blueprint_v200.go
+++ b/backend/plugins/azuredevops_go/api/blueprint_v200.go
@@ -22,18 +22,18 @@
"golang.org/x/exp/slices"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/utils"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/utils"
- coreModels "github.com/apache/incubator-devlake/core/models"
- "github.com/apache/incubator-devlake/core/models/domainlayer/code"
- "github.com/apache/incubator-devlake/core/models/domainlayer/devops"
- "github.com/apache/incubator-devlake/core/models/domainlayer/didgen"
- "github.com/apache/incubator-devlake/core/models/domainlayer/ticket"
- "github.com/apache/incubator-devlake/core/plugin"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/helpers/srvhelper"
- "github.com/apache/incubator-devlake/plugins/azuredevops_go/models"
+ coreModels "github.com/apache/devlake/core/models"
+ "github.com/apache/devlake/core/models/domainlayer/code"
+ "github.com/apache/devlake/core/models/domainlayer/devops"
+ "github.com/apache/devlake/core/models/domainlayer/didgen"
+ "github.com/apache/devlake/core/models/domainlayer/ticket"
+ "github.com/apache/devlake/core/plugin"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/helpers/srvhelper"
+ "github.com/apache/devlake/plugins/azuredevops_go/models"
)
func MakePipelinePlanV200(
diff --git a/backend/plugins/azuredevops_go/api/blueprint_v200_test.go b/backend/plugins/azuredevops_go/api/blueprint_v200_test.go
index fd40353..ce45e38 100644
--- a/backend/plugins/azuredevops_go/api/blueprint_v200_test.go
+++ b/backend/plugins/azuredevops_go/api/blueprint_v200_test.go
@@ -23,15 +23,15 @@
"strings"
"testing"
- coreModels "github.com/apache/incubator-devlake/core/models"
- mockplugin "github.com/apache/incubator-devlake/mocks/core/plugin"
+ coreModels "github.com/apache/devlake/core/models"
+ mockplugin "github.com/apache/devlake/mocks/core/plugin"
- "github.com/apache/incubator-devlake/core/models/common"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/helpers/srvhelper"
- "github.com/apache/incubator-devlake/plugins/azuredevops_go/models"
- "github.com/apache/incubator-devlake/plugins/azuredevops_go/tasks"
+ "github.com/apache/devlake/core/models/common"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/helpers/srvhelper"
+ "github.com/apache/devlake/plugins/azuredevops_go/models"
+ "github.com/apache/devlake/plugins/azuredevops_go/tasks"
"github.com/stretchr/testify/assert"
)
@@ -43,7 +43,7 @@
func mockAzuredevopsPlugin(t *testing.T) {
mockMeta := mockplugin.NewPluginMeta(t)
- mockMeta.On("RootPkgPath").Return("github.com/apache/incubator-devlake/plugins/azuredevops_go")
+ mockMeta.On("RootPkgPath").Return("github.com/apache/devlake/plugins/azuredevops_go")
mockMeta.On("Name").Return("dummy").Maybe()
err := plugin.RegisterPlugin("azuredevops_go", mockMeta)
assert.Equal(t, err, nil)
diff --git a/backend/plugins/azuredevops_go/api/connection_api.go b/backend/plugins/azuredevops_go/api/connection_api.go
index 8112350..4f1d708 100644
--- a/backend/plugins/azuredevops_go/api/connection_api.go
+++ b/backend/plugins/azuredevops_go/api/connection_api.go
@@ -22,12 +22,12 @@
"fmt"
"net/http"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/azuredevops_go/api/azuredevops"
- "github.com/apache/incubator-devlake/plugins/azuredevops_go/models"
- "github.com/apache/incubator-devlake/server/api/shared"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/azuredevops_go/api/azuredevops"
+ "github.com/apache/devlake/plugins/azuredevops_go/models"
+ "github.com/apache/devlake/server/api/shared"
)
type AzuredevopsTestConnResponse struct {
diff --git a/backend/plugins/azuredevops_go/api/init.go b/backend/plugins/azuredevops_go/api/init.go
index 0401e2b..fd53711 100644
--- a/backend/plugins/azuredevops_go/api/init.go
+++ b/backend/plugins/azuredevops_go/api/init.go
@@ -18,10 +18,10 @@
package api
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/azuredevops_go/models"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/azuredevops_go/models"
"github.com/go-playground/validator/v10"
)
diff --git a/backend/plugins/azuredevops_go/api/remote_api.go b/backend/plugins/azuredevops_go/api/remote_api.go
index aa5aa12..e2d3d96 100644
--- a/backend/plugins/azuredevops_go/api/remote_api.go
+++ b/backend/plugins/azuredevops_go/api/remote_api.go
@@ -18,10 +18,10 @@
package api
import (
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- dsmodels "github.com/apache/incubator-devlake/helpers/pluginhelper/api/models"
- _ "github.com/apache/incubator-devlake/plugins/azuredevops_go/models" // Keep imports for API docs generation
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ dsmodels "github.com/apache/devlake/helpers/pluginhelper/api/models"
+ _ "github.com/apache/devlake/plugins/azuredevops_go/models" // Keep imports for API docs generation
)
var _ dsmodels.DsRemoteApiScopeSearchParams // Keep imports for API docs generation
diff --git a/backend/plugins/azuredevops_go/api/remote_helper.go b/backend/plugins/azuredevops_go/api/remote_helper.go
index ba3fa87..6da6890 100644
--- a/backend/plugins/azuredevops_go/api/remote_helper.go
+++ b/backend/plugins/azuredevops_go/api/remote_helper.go
@@ -20,17 +20,18 @@
import (
"context"
"fmt"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- dsmodels "github.com/apache/incubator-devlake/helpers/pluginhelper/api/models"
- "github.com/apache/incubator-devlake/plugins/azuredevops_go/api/azuredevops"
- "github.com/apache/incubator-devlake/plugins/azuredevops_go/models"
- "golang.org/x/exp/slices"
- "golang.org/x/sync/errgroup"
"strconv"
"strings"
"sync"
+
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ dsmodels "github.com/apache/devlake/helpers/pluginhelper/api/models"
+ "github.com/apache/devlake/plugins/azuredevops_go/api/azuredevops"
+ "github.com/apache/devlake/plugins/azuredevops_go/models"
+ "golang.org/x/exp/slices"
+ "golang.org/x/sync/errgroup"
)
const (
@@ -254,8 +255,8 @@
isPrivate, _ := strconv.ParseBool(v.Properties.IsPrivate)
// IDs must not contain URL reserved characters (e.g., "/"), as this breaks the routing in the scope API.
- // Accessing /plugins/azuredevops_go/connections/<id>/apache/incubator-devlake results in a 404 error, where
- // "apache/incubator-devlake" is the repository ID returned by ADOs sourceProviders API.
+ // Accessing /plugins/azuredevops_go/connections/<id>/apache/devlake results in a 404 error, where
+ // "apache/devlake" is the repository ID returned by ADOs sourceProviders API.
// Therefore, we are creating our own ID, by combining the Service Connection and the External ID
remoteId := fmt.Sprintf("%s-%s", v.Properties.ConnectedServiceId, v.Properties.ExternalId)
diff --git a/backend/plugins/azuredevops_go/api/scope_api.go b/backend/plugins/azuredevops_go/api/scope_api.go
index f7e1688..8939800 100644
--- a/backend/plugins/azuredevops_go/api/scope_api.go
+++ b/backend/plugins/azuredevops_go/api/scope_api.go
@@ -18,10 +18,10 @@
package api
import (
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/azuredevops_go/models"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/azuredevops_go/models"
)
type PutScopesReqBody api.PutScopesReqBody[models.AzuredevopsRepo]
diff --git a/backend/plugins/azuredevops_go/api/scope_config_api.go b/backend/plugins/azuredevops_go/api/scope_config_api.go
index 6294cb5..92e3ef3 100644
--- a/backend/plugins/azuredevops_go/api/scope_config_api.go
+++ b/backend/plugins/azuredevops_go/api/scope_config_api.go
@@ -18,8 +18,8 @@
package api
import (
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
)
// PostScopeConfig create scope config for Azure DevOps
diff --git a/backend/plugins/azuredevops_go/api/swagger.go b/backend/plugins/azuredevops_go/api/swagger.go
index ec968ef..24e809c 100644
--- a/backend/plugins/azuredevops_go/api/swagger.go
+++ b/backend/plugins/azuredevops_go/api/swagger.go
@@ -18,7 +18,7 @@
package api
import (
- "github.com/apache/incubator-devlake/plugins/azuredevops_go/tasks"
+ "github.com/apache/devlake/plugins/azuredevops_go/tasks"
)
type AzuredevopsTaskOptions tasks.AzuredevopsOptions
diff --git a/backend/plugins/azuredevops_go/azuredevops.go b/backend/plugins/azuredevops_go/azuredevops.go
index d91e9d3..3262852 100644
--- a/backend/plugins/azuredevops_go/azuredevops.go
+++ b/backend/plugins/azuredevops_go/azuredevops.go
@@ -18,8 +18,8 @@
package main // must be main for plugin entry point
import (
- "github.com/apache/incubator-devlake/core/runner"
- "github.com/apache/incubator-devlake/plugins/azuredevops_go/impl"
+ "github.com/apache/devlake/core/runner"
+ "github.com/apache/devlake/plugins/azuredevops_go/impl"
"github.com/spf13/cobra"
)
diff --git a/backend/plugins/azuredevops_go/e2e/build_test.go b/backend/plugins/azuredevops_go/e2e/build_test.go
index 887abbb..779cb1c 100644
--- a/backend/plugins/azuredevops_go/e2e/build_test.go
+++ b/backend/plugins/azuredevops_go/e2e/build_test.go
@@ -18,15 +18,15 @@
package e2e
import (
- "github.com/apache/incubator-devlake/core/models/common"
+ "github.com/apache/devlake/core/models/common"
"testing"
- "github.com/apache/incubator-devlake/core/models/domainlayer/devops"
- "github.com/apache/incubator-devlake/helpers/e2ehelper"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/azuredevops_go/impl"
- "github.com/apache/incubator-devlake/plugins/azuredevops_go/models"
- "github.com/apache/incubator-devlake/plugins/azuredevops_go/tasks"
+ "github.com/apache/devlake/core/models/domainlayer/devops"
+ "github.com/apache/devlake/helpers/e2ehelper"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/azuredevops_go/impl"
+ "github.com/apache/devlake/plugins/azuredevops_go/models"
+ "github.com/apache/devlake/plugins/azuredevops_go/tasks"
)
func TestAzuredevopsBuildDataFlow(t *testing.T) {
diff --git a/backend/plugins/azuredevops_go/e2e/pr_commit_test.go b/backend/plugins/azuredevops_go/e2e/pr_commit_test.go
index 4c84366..85c75a3 100644
--- a/backend/plugins/azuredevops_go/e2e/pr_commit_test.go
+++ b/backend/plugins/azuredevops_go/e2e/pr_commit_test.go
@@ -20,12 +20,12 @@
import (
"testing"
- "github.com/apache/incubator-devlake/core/models/common"
- "github.com/apache/incubator-devlake/core/models/domainlayer/code"
- "github.com/apache/incubator-devlake/helpers/e2ehelper"
- "github.com/apache/incubator-devlake/plugins/azuredevops_go/impl"
- "github.com/apache/incubator-devlake/plugins/azuredevops_go/models"
- "github.com/apache/incubator-devlake/plugins/azuredevops_go/tasks"
+ "github.com/apache/devlake/core/models/common"
+ "github.com/apache/devlake/core/models/domainlayer/code"
+ "github.com/apache/devlake/helpers/e2ehelper"
+ "github.com/apache/devlake/plugins/azuredevops_go/impl"
+ "github.com/apache/devlake/plugins/azuredevops_go/models"
+ "github.com/apache/devlake/plugins/azuredevops_go/tasks"
)
func TestAzuredevopsRrCommitDataFlow(t *testing.T) {
diff --git a/backend/plugins/azuredevops_go/e2e/pr_test.go b/backend/plugins/azuredevops_go/e2e/pr_test.go
index 3631f7e..bc57083 100644
--- a/backend/plugins/azuredevops_go/e2e/pr_test.go
+++ b/backend/plugins/azuredevops_go/e2e/pr_test.go
@@ -18,14 +18,14 @@
package e2e
import (
- "github.com/apache/incubator-devlake/core/models/domainlayer/code"
+ "github.com/apache/devlake/core/models/domainlayer/code"
"testing"
- "github.com/apache/incubator-devlake/core/models/common"
- "github.com/apache/incubator-devlake/helpers/e2ehelper"
- "github.com/apache/incubator-devlake/plugins/azuredevops_go/impl"
- "github.com/apache/incubator-devlake/plugins/azuredevops_go/models"
- "github.com/apache/incubator-devlake/plugins/azuredevops_go/tasks"
+ "github.com/apache/devlake/core/models/common"
+ "github.com/apache/devlake/helpers/e2ehelper"
+ "github.com/apache/devlake/plugins/azuredevops_go/impl"
+ "github.com/apache/devlake/plugins/azuredevops_go/models"
+ "github.com/apache/devlake/plugins/azuredevops_go/tasks"
)
func TestAzuredevopsPRDataFlow(t *testing.T) {
diff --git a/backend/plugins/azuredevops_go/e2e/repo_test.go b/backend/plugins/azuredevops_go/e2e/repo_test.go
index 53ffe51..9812a64 100644
--- a/backend/plugins/azuredevops_go/e2e/repo_test.go
+++ b/backend/plugins/azuredevops_go/e2e/repo_test.go
@@ -18,15 +18,15 @@
package e2e
import (
- "github.com/apache/incubator-devlake/core/models/common"
- "github.com/apache/incubator-devlake/core/models/domainlayer/devops"
+ "github.com/apache/devlake/core/models/common"
+ "github.com/apache/devlake/core/models/domainlayer/devops"
"testing"
- "github.com/apache/incubator-devlake/core/models/domainlayer/code"
- "github.com/apache/incubator-devlake/helpers/e2ehelper"
- "github.com/apache/incubator-devlake/plugins/azuredevops_go/impl"
- "github.com/apache/incubator-devlake/plugins/azuredevops_go/models"
- "github.com/apache/incubator-devlake/plugins/azuredevops_go/tasks"
+ "github.com/apache/devlake/core/models/domainlayer/code"
+ "github.com/apache/devlake/helpers/e2ehelper"
+ "github.com/apache/devlake/plugins/azuredevops_go/impl"
+ "github.com/apache/devlake/plugins/azuredevops_go/models"
+ "github.com/apache/devlake/plugins/azuredevops_go/tasks"
)
func TestAzureDevopsRepoDataFlow(t *testing.T) {
diff --git a/backend/plugins/azuredevops_go/e2e/timeline_records_test.go b/backend/plugins/azuredevops_go/e2e/timeline_records_test.go
index 6766516..63e96df 100644
--- a/backend/plugins/azuredevops_go/e2e/timeline_records_test.go
+++ b/backend/plugins/azuredevops_go/e2e/timeline_records_test.go
@@ -20,12 +20,12 @@
import (
"testing"
- "github.com/apache/incubator-devlake/core/models/domainlayer/devops"
- "github.com/apache/incubator-devlake/helpers/e2ehelper"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/azuredevops_go/impl"
- "github.com/apache/incubator-devlake/plugins/azuredevops_go/models"
- "github.com/apache/incubator-devlake/plugins/azuredevops_go/tasks"
+ "github.com/apache/devlake/core/models/domainlayer/devops"
+ "github.com/apache/devlake/helpers/e2ehelper"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/azuredevops_go/impl"
+ "github.com/apache/devlake/plugins/azuredevops_go/models"
+ "github.com/apache/devlake/plugins/azuredevops_go/tasks"
)
func TestAzuredevopsTimelineDataFlow(t *testing.T) {
diff --git a/backend/plugins/azuredevops_go/impl/impl.go b/backend/plugins/azuredevops_go/impl/impl.go
index 44cc01e..0d1b862 100644
--- a/backend/plugins/azuredevops_go/impl/impl.go
+++ b/backend/plugins/azuredevops_go/impl/impl.go
@@ -21,20 +21,20 @@
"fmt"
"time"
- coreModels "github.com/apache/incubator-devlake/core/models"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/subtaskmeta/sorter"
- "github.com/apache/incubator-devlake/plugins/azuredevops_go/tasks"
+ coreModels "github.com/apache/devlake/core/models"
+ "github.com/apache/devlake/helpers/pluginhelper/subtaskmeta/sorter"
+ "github.com/apache/devlake/plugins/azuredevops_go/tasks"
- "github.com/apache/incubator-devlake/core/models/domainlayer/devops"
+ "github.com/apache/devlake/core/models/domainlayer/devops"
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/azuredevops_go/api"
- "github.com/apache/incubator-devlake/plugins/azuredevops_go/models"
- "github.com/apache/incubator-devlake/plugins/azuredevops_go/models/migrationscripts"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/azuredevops_go/api"
+ "github.com/apache/devlake/plugins/azuredevops_go/models"
+ "github.com/apache/devlake/plugins/azuredevops_go/models/migrationscripts"
)
var _ interface {
@@ -193,7 +193,7 @@
}
func (p Azuredevops) RootPkgPath() string {
- return "github.com/apache/incubator-devlake/plugins/azuredevops"
+ return "github.com/apache/devlake/plugins/azuredevops"
}
func (p Azuredevops) MigrationScripts() []plugin.MigrationScript {
diff --git a/backend/plugins/azuredevops_go/models/build.go b/backend/plugins/azuredevops_go/models/build.go
index 7dd6da8..ba395b9 100644
--- a/backend/plugins/azuredevops_go/models/build.go
+++ b/backend/plugins/azuredevops_go/models/build.go
@@ -18,7 +18,7 @@
package models
import (
- "github.com/apache/incubator-devlake/core/models/common"
+ "github.com/apache/devlake/core/models/common"
"time"
)
diff --git a/backend/plugins/azuredevops_go/models/commit.go b/backend/plugins/azuredevops_go/models/commit.go
index 00327a2..ca7fbdd 100644
--- a/backend/plugins/azuredevops_go/models/commit.go
+++ b/backend/plugins/azuredevops_go/models/commit.go
@@ -18,7 +18,7 @@
package models
import (
- "github.com/apache/incubator-devlake/core/models/common"
+ "github.com/apache/devlake/core/models/common"
"time"
)
diff --git a/backend/plugins/azuredevops_go/models/connection.go b/backend/plugins/azuredevops_go/models/connection.go
index a2af72b..f693cd2 100644
--- a/backend/plugins/azuredevops_go/models/connection.go
+++ b/backend/plugins/azuredevops_go/models/connection.go
@@ -20,10 +20,10 @@
import (
"encoding/base64"
"fmt"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/core/utils"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/core/utils"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
"net/http"
"strings"
)
diff --git a/backend/plugins/azuredevops_go/models/migrationscripts/20240211_add_init_tables.go b/backend/plugins/azuredevops_go/models/migrationscripts/20240211_add_init_tables.go
index 1240fd8..a7ead60 100644
--- a/backend/plugins/azuredevops_go/models/migrationscripts/20240211_add_init_tables.go
+++ b/backend/plugins/azuredevops_go/models/migrationscripts/20240211_add_init_tables.go
@@ -18,10 +18,10 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/helpers/migrationhelper"
- "github.com/apache/incubator-devlake/plugins/azuredevops_go/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/helpers/migrationhelper"
+ "github.com/apache/devlake/plugins/azuredevops_go/models/migrationscripts/archived"
)
type addInitTables struct {
diff --git a/backend/plugins/azuredevops_go/models/migrationscripts/20240413_add_remote_repo_support.go b/backend/plugins/azuredevops_go/models/migrationscripts/20240413_add_remote_repo_support.go
index d9c5146..49fed97 100644
--- a/backend/plugins/azuredevops_go/models/migrationscripts/20240413_add_remote_repo_support.go
+++ b/backend/plugins/azuredevops_go/models/migrationscripts/20240413_add_remote_repo_support.go
@@ -18,10 +18,10 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/helpers/migrationhelper"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/helpers/migrationhelper"
)
type extendRepoTable struct{}
diff --git a/backend/plugins/azuredevops_go/models/migrationscripts/20260722_add_endpoint_to_azuredevops.go b/backend/plugins/azuredevops_go/models/migrationscripts/20260722_add_endpoint_to_azuredevops.go
index ae71e06..2778d1c 100644
--- a/backend/plugins/azuredevops_go/models/migrationscripts/20260722_add_endpoint_to_azuredevops.go
+++ b/backend/plugins/azuredevops_go/models/migrationscripts/20260722_add_endpoint_to_azuredevops.go
@@ -18,9 +18,9 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/helpers/migrationhelper"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/helpers/migrationhelper"
)
type addEndpointToAzuredevops struct{}
diff --git a/backend/plugins/azuredevops_go/models/migrationscripts/20260726_add_username_to_azuredevops.go b/backend/plugins/azuredevops_go/models/migrationscripts/20260726_add_username_to_azuredevops.go
index c35ad48..18c87e9 100644
--- a/backend/plugins/azuredevops_go/models/migrationscripts/20260726_add_username_to_azuredevops.go
+++ b/backend/plugins/azuredevops_go/models/migrationscripts/20260726_add_username_to_azuredevops.go
@@ -18,9 +18,9 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/helpers/migrationhelper"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/helpers/migrationhelper"
)
type addUsernameToAzuredevops struct{}
diff --git a/backend/plugins/azuredevops_go/models/migrationscripts/archived/build.go b/backend/plugins/azuredevops_go/models/migrationscripts/archived/build.go
index a9a14bf..e8ff36d 100644
--- a/backend/plugins/azuredevops_go/models/migrationscripts/archived/build.go
+++ b/backend/plugins/azuredevops_go/models/migrationscripts/archived/build.go
@@ -18,7 +18,7 @@
package archived
import (
- "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/models/migrationscripts/archived"
"time"
)
diff --git a/backend/plugins/azuredevops_go/models/migrationscripts/archived/commit.go b/backend/plugins/azuredevops_go/models/migrationscripts/archived/commit.go
index 5fb3fef..8b20a24 100644
--- a/backend/plugins/azuredevops_go/models/migrationscripts/archived/commit.go
+++ b/backend/plugins/azuredevops_go/models/migrationscripts/archived/commit.go
@@ -18,7 +18,7 @@
package archived
import (
- "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/models/migrationscripts/archived"
"time"
)
diff --git a/backend/plugins/azuredevops_go/models/migrationscripts/archived/connection.go b/backend/plugins/azuredevops_go/models/migrationscripts/archived/connection.go
index 9bbeb0a..dd4b938 100644
--- a/backend/plugins/azuredevops_go/models/migrationscripts/archived/connection.go
+++ b/backend/plugins/azuredevops_go/models/migrationscripts/archived/connection.go
@@ -18,7 +18,7 @@
package archived
import (
- "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/models/migrationscripts/archived"
)
type AzuredevopsConnection struct {
diff --git a/backend/plugins/azuredevops_go/models/migrationscripts/archived/pr.go b/backend/plugins/azuredevops_go/models/migrationscripts/archived/pr.go
index e0aa2ad..efd1e14 100644
--- a/backend/plugins/azuredevops_go/models/migrationscripts/archived/pr.go
+++ b/backend/plugins/azuredevops_go/models/migrationscripts/archived/pr.go
@@ -18,7 +18,7 @@
package archived
import (
- "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/models/migrationscripts/archived"
"time"
)
diff --git a/backend/plugins/azuredevops_go/models/migrationscripts/archived/pr_commit.go b/backend/plugins/azuredevops_go/models/migrationscripts/archived/pr_commit.go
index 9a9491a..9a74aea 100644
--- a/backend/plugins/azuredevops_go/models/migrationscripts/archived/pr_commit.go
+++ b/backend/plugins/azuredevops_go/models/migrationscripts/archived/pr_commit.go
@@ -18,7 +18,7 @@
package archived
import (
- "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/models/migrationscripts/archived"
"time"
)
diff --git a/backend/plugins/azuredevops_go/models/migrationscripts/archived/pr_label.go b/backend/plugins/azuredevops_go/models/migrationscripts/archived/pr_label.go
index b4bedfe..7b9c50e 100644
--- a/backend/plugins/azuredevops_go/models/migrationscripts/archived/pr_label.go
+++ b/backend/plugins/azuredevops_go/models/migrationscripts/archived/pr_label.go
@@ -17,7 +17,7 @@
package archived
-import "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
+import "github.com/apache/devlake/core/models/migrationscripts/archived"
type AzuredevopsPrLabel struct {
archived.NoPKModel
diff --git a/backend/plugins/azuredevops_go/models/migrationscripts/archived/repo.go b/backend/plugins/azuredevops_go/models/migrationscripts/archived/repo.go
index fba779c..7f8b760 100644
--- a/backend/plugins/azuredevops_go/models/migrationscripts/archived/repo.go
+++ b/backend/plugins/azuredevops_go/models/migrationscripts/archived/repo.go
@@ -17,7 +17,7 @@
package archived
-import "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
+import "github.com/apache/devlake/core/models/migrationscripts/archived"
type AzuredevopsRepo struct {
archived.NoPKModel
diff --git a/backend/plugins/azuredevops_go/models/migrationscripts/archived/repo_commit.go b/backend/plugins/azuredevops_go/models/migrationscripts/archived/repo_commit.go
index d963b66..98dc033 100644
--- a/backend/plugins/azuredevops_go/models/migrationscripts/archived/repo_commit.go
+++ b/backend/plugins/azuredevops_go/models/migrationscripts/archived/repo_commit.go
@@ -18,7 +18,7 @@
package archived
import (
- "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/models/migrationscripts/archived"
)
type AzuredevopsRepoCommit struct {
diff --git a/backend/plugins/azuredevops_go/models/migrationscripts/archived/scope_config.go b/backend/plugins/azuredevops_go/models/migrationscripts/archived/scope_config.go
index fc0502e..31d32cb 100644
--- a/backend/plugins/azuredevops_go/models/migrationscripts/archived/scope_config.go
+++ b/backend/plugins/azuredevops_go/models/migrationscripts/archived/scope_config.go
@@ -20,7 +20,7 @@
import (
"encoding/json"
- "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/models/migrationscripts/archived"
)
type AzuredevopsScopeConfig struct {
diff --git a/backend/plugins/azuredevops_go/models/migrationscripts/archived/timeline_record.go b/backend/plugins/azuredevops_go/models/migrationscripts/archived/timeline_record.go
index dbfbe50..cd69771 100644
--- a/backend/plugins/azuredevops_go/models/migrationscripts/archived/timeline_record.go
+++ b/backend/plugins/azuredevops_go/models/migrationscripts/archived/timeline_record.go
@@ -18,7 +18,7 @@
package archived
import (
- "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/models/migrationscripts/archived"
"time"
)
diff --git a/backend/plugins/azuredevops_go/models/migrationscripts/archived/user.go b/backend/plugins/azuredevops_go/models/migrationscripts/archived/user.go
index f7e7d3e..374efd1 100644
--- a/backend/plugins/azuredevops_go/models/migrationscripts/archived/user.go
+++ b/backend/plugins/azuredevops_go/models/migrationscripts/archived/user.go
@@ -18,7 +18,7 @@
package archived
import (
- "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/models/migrationscripts/archived"
)
type AzuredevopsUser struct {
diff --git a/backend/plugins/azuredevops_go/models/migrationscripts/register.go b/backend/plugins/azuredevops_go/models/migrationscripts/register.go
index cd08322..a7f7b24 100644
--- a/backend/plugins/azuredevops_go/models/migrationscripts/register.go
+++ b/backend/plugins/azuredevops_go/models/migrationscripts/register.go
@@ -18,7 +18,7 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/plugin"
+ "github.com/apache/devlake/core/plugin"
)
// All return all the migration scripts
diff --git a/backend/plugins/azuredevops_go/models/pr.go b/backend/plugins/azuredevops_go/models/pr.go
index 51f6f93..cbca1f9 100644
--- a/backend/plugins/azuredevops_go/models/pr.go
+++ b/backend/plugins/azuredevops_go/models/pr.go
@@ -18,7 +18,7 @@
package models
import (
- "github.com/apache/incubator-devlake/core/models/common"
+ "github.com/apache/devlake/core/models/common"
"time"
)
diff --git a/backend/plugins/azuredevops_go/models/pr_commit.go b/backend/plugins/azuredevops_go/models/pr_commit.go
index 292f945..27ae527 100644
--- a/backend/plugins/azuredevops_go/models/pr_commit.go
+++ b/backend/plugins/azuredevops_go/models/pr_commit.go
@@ -18,7 +18,7 @@
package models
import (
- "github.com/apache/incubator-devlake/core/models/common"
+ "github.com/apache/devlake/core/models/common"
"time"
)
diff --git a/backend/plugins/azuredevops_go/models/pr_label.go b/backend/plugins/azuredevops_go/models/pr_label.go
index 0f78cb0..4ad2f79 100644
--- a/backend/plugins/azuredevops_go/models/pr_label.go
+++ b/backend/plugins/azuredevops_go/models/pr_label.go
@@ -18,7 +18,7 @@
package models
import (
- "github.com/apache/incubator-devlake/core/models/common"
+ "github.com/apache/devlake/core/models/common"
)
type AzuredevopsPrLabel struct {
diff --git a/backend/plugins/azuredevops_go/models/project.go b/backend/plugins/azuredevops_go/models/project.go
index c4a36b3..894b034 100644
--- a/backend/plugins/azuredevops_go/models/project.go
+++ b/backend/plugins/azuredevops_go/models/project.go
@@ -18,9 +18,9 @@
package models
import (
- "github.com/apache/incubator-devlake/core/plugin"
+ "github.com/apache/devlake/core/plugin"
- "github.com/apache/incubator-devlake/core/models/common"
+ "github.com/apache/devlake/core/models/common"
)
var _ plugin.ToolLayerScope = (*AzuredevopsProject)(nil)
diff --git a/backend/plugins/azuredevops_go/models/repo.go b/backend/plugins/azuredevops_go/models/repo.go
index dd17199..25d6d6f 100644
--- a/backend/plugins/azuredevops_go/models/repo.go
+++ b/backend/plugins/azuredevops_go/models/repo.go
@@ -18,8 +18,8 @@
package models
import (
- "github.com/apache/incubator-devlake/core/models/common"
- "github.com/apache/incubator-devlake/core/plugin"
+ "github.com/apache/devlake/core/models/common"
+ "github.com/apache/devlake/core/plugin"
)
var _ plugin.ToolLayerScope = (*AzuredevopsRepo)(nil)
diff --git a/backend/plugins/azuredevops_go/models/repo_commit.go b/backend/plugins/azuredevops_go/models/repo_commit.go
index a67cb05..743855a 100644
--- a/backend/plugins/azuredevops_go/models/repo_commit.go
+++ b/backend/plugins/azuredevops_go/models/repo_commit.go
@@ -18,7 +18,7 @@
package models
import (
- "github.com/apache/incubator-devlake/core/models/common"
+ "github.com/apache/devlake/core/models/common"
)
type AzuredevopsRepoCommit struct {
diff --git a/backend/plugins/azuredevops_go/models/scope_config.go b/backend/plugins/azuredevops_go/models/scope_config.go
index 0ea0d0b..94115df 100644
--- a/backend/plugins/azuredevops_go/models/scope_config.go
+++ b/backend/plugins/azuredevops_go/models/scope_config.go
@@ -18,8 +18,8 @@
package models
import (
- "github.com/apache/incubator-devlake/core/models/common"
- "github.com/apache/incubator-devlake/core/plugin"
+ "github.com/apache/devlake/core/models/common"
+ "github.com/apache/devlake/core/plugin"
"gorm.io/datatypes"
)
diff --git a/backend/plugins/azuredevops_go/models/timeline_record.go b/backend/plugins/azuredevops_go/models/timeline_record.go
index 0d36be4..6447952 100644
--- a/backend/plugins/azuredevops_go/models/timeline_record.go
+++ b/backend/plugins/azuredevops_go/models/timeline_record.go
@@ -18,7 +18,7 @@
package models
import (
- "github.com/apache/incubator-devlake/core/models/common"
+ "github.com/apache/devlake/core/models/common"
"time"
)
diff --git a/backend/plugins/azuredevops_go/models/user.go b/backend/plugins/azuredevops_go/models/user.go
index 9397da2..e8b779c 100644
--- a/backend/plugins/azuredevops_go/models/user.go
+++ b/backend/plugins/azuredevops_go/models/user.go
@@ -18,7 +18,7 @@
package models
import (
- "github.com/apache/incubator-devlake/core/models/common"
+ "github.com/apache/devlake/core/models/common"
)
type AzuredevopsUser struct {
diff --git a/backend/plugins/azuredevops_go/tasks/account_collector.go b/backend/plugins/azuredevops_go/tasks/account_collector.go
index f326bde..0436c88 100644
--- a/backend/plugins/azuredevops_go/tasks/account_collector.go
+++ b/backend/plugins/azuredevops_go/tasks/account_collector.go
@@ -18,9 +18,9 @@
package tasks
import (
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
)
func init() {
diff --git a/backend/plugins/azuredevops_go/tasks/account_converter.go b/backend/plugins/azuredevops_go/tasks/account_converter.go
index 9f9b5e4..a0ec777 100644
--- a/backend/plugins/azuredevops_go/tasks/account_converter.go
+++ b/backend/plugins/azuredevops_go/tasks/account_converter.go
@@ -18,16 +18,16 @@
package tasks
import (
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/plugins/azuredevops_go/models"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/plugins/azuredevops_go/models"
"reflect"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/domainlayer"
- "github.com/apache/incubator-devlake/core/models/domainlayer/crossdomain"
- "github.com/apache/incubator-devlake/core/models/domainlayer/didgen"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/domainlayer"
+ "github.com/apache/devlake/core/models/domainlayer/crossdomain"
+ "github.com/apache/devlake/core/models/domainlayer/didgen"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
)
func init() {
diff --git a/backend/plugins/azuredevops_go/tasks/account_extractor.go b/backend/plugins/azuredevops_go/tasks/account_extractor.go
index b8b20f9..b6147aa 100644
--- a/backend/plugins/azuredevops_go/tasks/account_extractor.go
+++ b/backend/plugins/azuredevops_go/tasks/account_extractor.go
@@ -20,10 +20,10 @@
import (
"encoding/json"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/azuredevops_go/models"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/azuredevops_go/models"
)
func init() {
diff --git a/backend/plugins/azuredevops_go/tasks/api_client.go b/backend/plugins/azuredevops_go/tasks/api_client.go
index 45baa16..2926fbd 100644
--- a/backend/plugins/azuredevops_go/tasks/api_client.go
+++ b/backend/plugins/azuredevops_go/tasks/api_client.go
@@ -18,10 +18,10 @@
package tasks
import (
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/azuredevops_go/models"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/azuredevops_go/models"
"net/http"
)
diff --git a/backend/plugins/azuredevops_go/tasks/ci_cd_build_collector.go b/backend/plugins/azuredevops_go/tasks/ci_cd_build_collector.go
index 72e9f14..1f0a058 100644
--- a/backend/plugins/azuredevops_go/tasks/ci_cd_build_collector.go
+++ b/backend/plugins/azuredevops_go/tasks/ci_cd_build_collector.go
@@ -19,14 +19,14 @@
import (
"encoding/json"
- "github.com/apache/incubator-devlake/plugins/azuredevops_go/models"
+ "github.com/apache/devlake/plugins/azuredevops_go/models"
"net/url"
"strconv"
"time"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
)
func init() {
diff --git a/backend/plugins/azuredevops_go/tasks/ci_cd_build_converter.go b/backend/plugins/azuredevops_go/tasks/ci_cd_build_converter.go
index f05f2df..944b4dd 100644
--- a/backend/plugins/azuredevops_go/tasks/ci_cd_build_converter.go
+++ b/backend/plugins/azuredevops_go/tasks/ci_cd_build_converter.go
@@ -18,14 +18,14 @@
package tasks
import (
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/domainlayer"
- "github.com/apache/incubator-devlake/core/models/domainlayer/devops"
- "github.com/apache/incubator-devlake/core/models/domainlayer/didgen"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/azuredevops_go/models"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/domainlayer"
+ "github.com/apache/devlake/core/models/domainlayer/devops"
+ "github.com/apache/devlake/core/models/domainlayer/didgen"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/azuredevops_go/models"
"reflect"
)
diff --git a/backend/plugins/azuredevops_go/tasks/ci_cd_build_extractor.go b/backend/plugins/azuredevops_go/tasks/ci_cd_build_extractor.go
index de3a6ec..9d7b8be 100644
--- a/backend/plugins/azuredevops_go/tasks/ci_cd_build_extractor.go
+++ b/backend/plugins/azuredevops_go/tasks/ci_cd_build_extractor.go
@@ -19,10 +19,10 @@
import (
"encoding/json"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/azuredevops_go/models"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/azuredevops_go/models"
)
func init() {
diff --git a/backend/plugins/azuredevops_go/tasks/ci_cd_timeline_records_collector.go b/backend/plugins/azuredevops_go/tasks/ci_cd_timeline_records_collector.go
index 36643d6..389d81a 100644
--- a/backend/plugins/azuredevops_go/tasks/ci_cd_timeline_records_collector.go
+++ b/backend/plugins/azuredevops_go/tasks/ci_cd_timeline_records_collector.go
@@ -18,11 +18,11 @@
package tasks
import (
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/azuredevops_go/models"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/azuredevops_go/models"
"reflect"
)
diff --git a/backend/plugins/azuredevops_go/tasks/ci_cd_timeline_records_converter.go b/backend/plugins/azuredevops_go/tasks/ci_cd_timeline_records_converter.go
index 7dcbdd0..e5272a0 100644
--- a/backend/plugins/azuredevops_go/tasks/ci_cd_timeline_records_converter.go
+++ b/backend/plugins/azuredevops_go/tasks/ci_cd_timeline_records_converter.go
@@ -18,14 +18,14 @@
package tasks
import (
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/domainlayer"
- "github.com/apache/incubator-devlake/core/models/domainlayer/devops"
- "github.com/apache/incubator-devlake/core/models/domainlayer/didgen"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/azuredevops_go/models"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/domainlayer"
+ "github.com/apache/devlake/core/models/domainlayer/devops"
+ "github.com/apache/devlake/core/models/domainlayer/didgen"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/azuredevops_go/models"
"reflect"
"time"
)
diff --git a/backend/plugins/azuredevops_go/tasks/ci_cd_timeline_records_extractor.go b/backend/plugins/azuredevops_go/tasks/ci_cd_timeline_records_extractor.go
index 772915e..398f52c 100644
--- a/backend/plugins/azuredevops_go/tasks/ci_cd_timeline_records_extractor.go
+++ b/backend/plugins/azuredevops_go/tasks/ci_cd_timeline_records_extractor.go
@@ -20,10 +20,10 @@
import (
"encoding/json"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/azuredevops_go/models"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/azuredevops_go/models"
)
func init() {
diff --git a/backend/plugins/azuredevops_go/tasks/commit_collector.go b/backend/plugins/azuredevops_go/tasks/commit_collector.go
index 64a0af9..a82ce9d 100644
--- a/backend/plugins/azuredevops_go/tasks/commit_collector.go
+++ b/backend/plugins/azuredevops_go/tasks/commit_collector.go
@@ -18,9 +18,9 @@
package tasks
import (
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
)
func init() {
diff --git a/backend/plugins/azuredevops_go/tasks/commit_converter.go b/backend/plugins/azuredevops_go/tasks/commit_converter.go
index fdd1bc0..350fd61 100644
--- a/backend/plugins/azuredevops_go/tasks/commit_converter.go
+++ b/backend/plugins/azuredevops_go/tasks/commit_converter.go
@@ -18,13 +18,13 @@
package tasks
import (
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/domainlayer/code"
- "github.com/apache/incubator-devlake/core/models/domainlayer/didgen"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/azuredevops_go/models"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/domainlayer/code"
+ "github.com/apache/devlake/core/models/domainlayer/didgen"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/azuredevops_go/models"
"reflect"
)
diff --git a/backend/plugins/azuredevops_go/tasks/commit_extractor.go b/backend/plugins/azuredevops_go/tasks/commit_extractor.go
index d0fc052..b79faee 100644
--- a/backend/plugins/azuredevops_go/tasks/commit_extractor.go
+++ b/backend/plugins/azuredevops_go/tasks/commit_extractor.go
@@ -19,11 +19,11 @@
import (
"encoding/json"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/common"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/azuredevops_go/models"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/common"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/azuredevops_go/models"
"time"
)
diff --git a/backend/plugins/azuredevops_go/tasks/pr_collector.go b/backend/plugins/azuredevops_go/tasks/pr_collector.go
index e9a306f..3e4df3f 100644
--- a/backend/plugins/azuredevops_go/tasks/pr_collector.go
+++ b/backend/plugins/azuredevops_go/tasks/pr_collector.go
@@ -22,9 +22,9 @@
"net/url"
"time"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
)
func init() {
diff --git a/backend/plugins/azuredevops_go/tasks/pr_commit_collector.go b/backend/plugins/azuredevops_go/tasks/pr_commit_collector.go
index a7a7c00..194fd2f 100644
--- a/backend/plugins/azuredevops_go/tasks/pr_commit_collector.go
+++ b/backend/plugins/azuredevops_go/tasks/pr_commit_collector.go
@@ -18,14 +18,14 @@
package tasks
import (
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
"reflect"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/plugins/azuredevops_go/models"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/plugins/azuredevops_go/models"
)
func init() {
diff --git a/backend/plugins/azuredevops_go/tasks/pr_commit_converter.go b/backend/plugins/azuredevops_go/tasks/pr_commit_converter.go
index 4a89fb2..b25c958 100644
--- a/backend/plugins/azuredevops_go/tasks/pr_commit_converter.go
+++ b/backend/plugins/azuredevops_go/tasks/pr_commit_converter.go
@@ -18,13 +18,13 @@
package tasks
import (
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/domainlayer/code"
- "github.com/apache/incubator-devlake/core/models/domainlayer/didgen"
- "github.com/apache/incubator-devlake/core/plugin"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/azuredevops_go/models"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/domainlayer/code"
+ "github.com/apache/devlake/core/models/domainlayer/didgen"
+ "github.com/apache/devlake/core/plugin"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/azuredevops_go/models"
"reflect"
)
diff --git a/backend/plugins/azuredevops_go/tasks/pr_commit_extractor.go b/backend/plugins/azuredevops_go/tasks/pr_commit_extractor.go
index 6e327f3..b182606 100644
--- a/backend/plugins/azuredevops_go/tasks/pr_commit_extractor.go
+++ b/backend/plugins/azuredevops_go/tasks/pr_commit_extractor.go
@@ -19,10 +19,10 @@
import (
"encoding/json"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/azuredevops_go/models"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/azuredevops_go/models"
)
func init() {
diff --git a/backend/plugins/azuredevops_go/tasks/pr_converter.go b/backend/plugins/azuredevops_go/tasks/pr_converter.go
index c2831a6..56d6483 100644
--- a/backend/plugins/azuredevops_go/tasks/pr_converter.go
+++ b/backend/plugins/azuredevops_go/tasks/pr_converter.go
@@ -18,14 +18,14 @@
package tasks
import (
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/domainlayer"
- "github.com/apache/incubator-devlake/core/models/domainlayer/code"
- "github.com/apache/incubator-devlake/core/models/domainlayer/didgen"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/azuredevops_go/models"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/domainlayer"
+ "github.com/apache/devlake/core/models/domainlayer/code"
+ "github.com/apache/devlake/core/models/domainlayer/didgen"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/azuredevops_go/models"
"reflect"
)
diff --git a/backend/plugins/azuredevops_go/tasks/pr_extractor.go b/backend/plugins/azuredevops_go/tasks/pr_extractor.go
index a80b879..46e1994 100644
--- a/backend/plugins/azuredevops_go/tasks/pr_extractor.go
+++ b/backend/plugins/azuredevops_go/tasks/pr_extractor.go
@@ -19,11 +19,11 @@
import (
"encoding/json"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/common"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/azuredevops_go/models"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/common"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/azuredevops_go/models"
)
func init() {
diff --git a/backend/plugins/azuredevops_go/tasks/pr_label_converter.go b/backend/plugins/azuredevops_go/tasks/pr_label_converter.go
index 9f5177b..b2584df 100644
--- a/backend/plugins/azuredevops_go/tasks/pr_label_converter.go
+++ b/backend/plugins/azuredevops_go/tasks/pr_label_converter.go
@@ -18,13 +18,13 @@
package tasks
import (
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/domainlayer/code"
- "github.com/apache/incubator-devlake/core/models/domainlayer/didgen"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/azuredevops_go/models"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/domainlayer/code"
+ "github.com/apache/devlake/core/models/domainlayer/didgen"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/azuredevops_go/models"
"reflect"
)
diff --git a/backend/plugins/azuredevops_go/tasks/register.go b/backend/plugins/azuredevops_go/tasks/register.go
index 51b12a7..ddff389 100644
--- a/backend/plugins/azuredevops_go/tasks/register.go
+++ b/backend/plugins/azuredevops_go/tasks/register.go
@@ -17,7 +17,7 @@
package tasks
-import "github.com/apache/incubator-devlake/core/plugin"
+import "github.com/apache/devlake/core/plugin"
var SubTaskMetaList []*plugin.SubTaskMeta
diff --git a/backend/plugins/azuredevops_go/tasks/repo_converter.go b/backend/plugins/azuredevops_go/tasks/repo_converter.go
index 8baa005..970ef5b 100644
--- a/backend/plugins/azuredevops_go/tasks/repo_converter.go
+++ b/backend/plugins/azuredevops_go/tasks/repo_converter.go
@@ -18,15 +18,15 @@
package tasks
import (
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/domainlayer"
- "github.com/apache/incubator-devlake/core/models/domainlayer/code"
- "github.com/apache/incubator-devlake/core/models/domainlayer/devops"
- "github.com/apache/incubator-devlake/core/models/domainlayer/didgen"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/azuredevops_go/models"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/domainlayer"
+ "github.com/apache/devlake/core/models/domainlayer/code"
+ "github.com/apache/devlake/core/models/domainlayer/devops"
+ "github.com/apache/devlake/core/models/domainlayer/didgen"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/azuredevops_go/models"
"reflect"
)
diff --git a/backend/plugins/azuredevops_go/tasks/shared.go b/backend/plugins/azuredevops_go/tasks/shared.go
index 3188500..fa1f53e 100644
--- a/backend/plugins/azuredevops_go/tasks/shared.go
+++ b/backend/plugins/azuredevops_go/tasks/shared.go
@@ -25,10 +25,10 @@
"net/http"
"net/url"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/domainlayer/devops"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/domainlayer/devops"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
)
// Build and TimeLine Record State and Result types can be found here:
diff --git a/backend/plugins/azuredevops_go/tasks/shared_test.go b/backend/plugins/azuredevops_go/tasks/shared_test.go
index d46e01d..312d918 100644
--- a/backend/plugins/azuredevops_go/tasks/shared_test.go
+++ b/backend/plugins/azuredevops_go/tasks/shared_test.go
@@ -23,7 +23,7 @@
"net/http"
"testing"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
"github.com/stretchr/testify/assert"
)
diff --git a/backend/plugins/azuredevops_go/tasks/task_data.go b/backend/plugins/azuredevops_go/tasks/task_data.go
index 2ac4791..1bc5420 100644
--- a/backend/plugins/azuredevops_go/tasks/task_data.go
+++ b/backend/plugins/azuredevops_go/tasks/task_data.go
@@ -20,10 +20,10 @@
import (
"time"
- "github.com/apache/incubator-devlake/core/errors"
+ "github.com/apache/devlake/core/errors"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/azuredevops_go/models"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/azuredevops_go/models"
)
type AzuredevopsOptions struct {
diff --git a/backend/plugins/bamboo/api/blueprint_v200.go b/backend/plugins/bamboo/api/blueprint_v200.go
index dd6ce91..24ac744 100644
--- a/backend/plugins/bamboo/api/blueprint_v200.go
+++ b/backend/plugins/bamboo/api/blueprint_v200.go
@@ -18,17 +18,17 @@
package api
import (
- coreModels "github.com/apache/incubator-devlake/core/models"
- "github.com/apache/incubator-devlake/plugins/bamboo/models"
+ coreModels "github.com/apache/devlake/core/models"
+ "github.com/apache/devlake/plugins/bamboo/models"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/utils"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/utils"
- "github.com/apache/incubator-devlake/core/models/domainlayer/devops"
- "github.com/apache/incubator-devlake/core/models/domainlayer/didgen"
- plugin "github.com/apache/incubator-devlake/core/plugin"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/helpers/srvhelper"
+ "github.com/apache/devlake/core/models/domainlayer/devops"
+ "github.com/apache/devlake/core/models/domainlayer/didgen"
+ plugin "github.com/apache/devlake/core/plugin"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/helpers/srvhelper"
)
func MakePipelinePlanV200(
diff --git a/backend/plugins/bamboo/api/connection_api.go b/backend/plugins/bamboo/api/connection_api.go
index 4c142fc..5180335 100644
--- a/backend/plugins/bamboo/api/connection_api.go
+++ b/backend/plugins/bamboo/api/connection_api.go
@@ -21,11 +21,11 @@
"context"
"net/http"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/bamboo/models"
- "github.com/apache/incubator-devlake/server/api/shared"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/bamboo/models"
+ "github.com/apache/devlake/server/api/shared"
)
type BambooTestConnResponse struct {
diff --git a/backend/plugins/bamboo/api/init.go b/backend/plugins/bamboo/api/init.go
index f83ce6e..cc1c7a7 100644
--- a/backend/plugins/bamboo/api/init.go
+++ b/backend/plugins/bamboo/api/init.go
@@ -18,10 +18,10 @@
package api
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/bamboo/models"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/bamboo/models"
"github.com/go-playground/validator/v10"
)
diff --git a/backend/plugins/bamboo/api/remote_api.go b/backend/plugins/bamboo/api/remote_api.go
index e75d0ad..49e270a 100644
--- a/backend/plugins/bamboo/api/remote_api.go
+++ b/backend/plugins/bamboo/api/remote_api.go
@@ -21,11 +21,11 @@
"fmt"
"net/url"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- dsmodels "github.com/apache/incubator-devlake/helpers/pluginhelper/api/models"
- "github.com/apache/incubator-devlake/plugins/bamboo/models"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ dsmodels "github.com/apache/devlake/helpers/pluginhelper/api/models"
+ "github.com/apache/devlake/plugins/bamboo/models"
)
type BambooRemotePagination struct {
diff --git a/backend/plugins/bamboo/api/scope_api.go b/backend/plugins/bamboo/api/scope_api.go
index 0e4c796..07ccb69 100644
--- a/backend/plugins/bamboo/api/scope_api.go
+++ b/backend/plugins/bamboo/api/scope_api.go
@@ -18,10 +18,10 @@
package api
import (
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/bamboo/models"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/bamboo/models"
)
type PutScopesReqBody api.PutScopesReqBody[models.BambooPlan]
diff --git a/backend/plugins/bamboo/api/scope_config_api.go b/backend/plugins/bamboo/api/scope_config_api.go
index c74ac3a..b4c8d9a 100644
--- a/backend/plugins/bamboo/api/scope_config_api.go
+++ b/backend/plugins/bamboo/api/scope_config_api.go
@@ -18,8 +18,8 @@
package api
import (
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
)
// CreateScopeConfig create scope config for Bamboo
diff --git a/backend/plugins/bamboo/api/scope_state_api.go b/backend/plugins/bamboo/api/scope_state_api.go
index f315b59..1482a0a 100644
--- a/backend/plugins/bamboo/api/scope_state_api.go
+++ b/backend/plugins/bamboo/api/scope_state_api.go
@@ -18,8 +18,8 @@
package api
import (
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
)
// GetScopeLatestSyncState get one Bamboo plan's latest sync state
diff --git a/backend/plugins/bamboo/bamboo.go b/backend/plugins/bamboo/bamboo.go
index 625ea54..3e97eb5 100644
--- a/backend/plugins/bamboo/bamboo.go
+++ b/backend/plugins/bamboo/bamboo.go
@@ -18,8 +18,8 @@
package main
import (
- "github.com/apache/incubator-devlake/core/runner"
- "github.com/apache/incubator-devlake/plugins/bamboo/impl"
+ "github.com/apache/devlake/core/runner"
+ "github.com/apache/devlake/plugins/bamboo/impl"
"github.com/spf13/cobra"
)
diff --git a/backend/plugins/bamboo/e2e/deploy_build_test.go b/backend/plugins/bamboo/e2e/deploy_build_test.go
index 380d4e2..5c34d0f 100644
--- a/backend/plugins/bamboo/e2e/deploy_build_test.go
+++ b/backend/plugins/bamboo/e2e/deploy_build_test.go
@@ -21,13 +21,13 @@
"testing"
"time"
- "github.com/apache/incubator-devlake/core/models/common"
- "github.com/apache/incubator-devlake/core/models/domainlayer/devops"
- "github.com/apache/incubator-devlake/helpers/e2ehelper"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/bamboo/impl"
- "github.com/apache/incubator-devlake/plugins/bamboo/models"
- "github.com/apache/incubator-devlake/plugins/bamboo/tasks"
+ "github.com/apache/devlake/core/models/common"
+ "github.com/apache/devlake/core/models/domainlayer/devops"
+ "github.com/apache/devlake/helpers/e2ehelper"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/bamboo/impl"
+ "github.com/apache/devlake/plugins/bamboo/models"
+ "github.com/apache/devlake/plugins/bamboo/tasks"
)
func getFakeAPIClient() *helper.ApiAsyncClient {
diff --git a/backend/plugins/bamboo/e2e/deploy_test.go b/backend/plugins/bamboo/e2e/deploy_test.go
index 49e1ae3..2f9a9ee 100644
--- a/backend/plugins/bamboo/e2e/deploy_test.go
+++ b/backend/plugins/bamboo/e2e/deploy_test.go
@@ -20,10 +20,10 @@
import (
"testing"
- "github.com/apache/incubator-devlake/helpers/e2ehelper"
- "github.com/apache/incubator-devlake/plugins/bamboo/impl"
- "github.com/apache/incubator-devlake/plugins/bamboo/models"
- "github.com/apache/incubator-devlake/plugins/bamboo/tasks"
+ "github.com/apache/devlake/helpers/e2ehelper"
+ "github.com/apache/devlake/plugins/bamboo/impl"
+ "github.com/apache/devlake/plugins/bamboo/models"
+ "github.com/apache/devlake/plugins/bamboo/tasks"
)
func TestBambooDeployDataFlow(t *testing.T) {
diff --git a/backend/plugins/bamboo/e2e/job_build_test.go b/backend/plugins/bamboo/e2e/job_build_test.go
index 7ed7709..50a43a3 100644
--- a/backend/plugins/bamboo/e2e/job_build_test.go
+++ b/backend/plugins/bamboo/e2e/job_build_test.go
@@ -20,13 +20,13 @@
import (
"testing"
- "github.com/apache/incubator-devlake/core/models/common"
- "github.com/apache/incubator-devlake/core/models/domainlayer/devops"
- "github.com/apache/incubator-devlake/helpers/e2ehelper"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/bamboo/impl"
- "github.com/apache/incubator-devlake/plugins/bamboo/models"
- "github.com/apache/incubator-devlake/plugins/bamboo/tasks"
+ "github.com/apache/devlake/core/models/common"
+ "github.com/apache/devlake/core/models/domainlayer/devops"
+ "github.com/apache/devlake/helpers/e2ehelper"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/bamboo/impl"
+ "github.com/apache/devlake/plugins/bamboo/models"
+ "github.com/apache/devlake/plugins/bamboo/tasks"
)
func TestBambooJobBuildDataFlow(t *testing.T) {
diff --git a/backend/plugins/bamboo/e2e/job_test.go b/backend/plugins/bamboo/e2e/job_test.go
index 8d3a29b..813f076 100644
--- a/backend/plugins/bamboo/e2e/job_test.go
+++ b/backend/plugins/bamboo/e2e/job_test.go
@@ -20,10 +20,10 @@
import (
"testing"
- "github.com/apache/incubator-devlake/helpers/e2ehelper"
- "github.com/apache/incubator-devlake/plugins/bamboo/impl"
- "github.com/apache/incubator-devlake/plugins/bamboo/models"
- "github.com/apache/incubator-devlake/plugins/bamboo/tasks"
+ "github.com/apache/devlake/helpers/e2ehelper"
+ "github.com/apache/devlake/plugins/bamboo/impl"
+ "github.com/apache/devlake/plugins/bamboo/models"
+ "github.com/apache/devlake/plugins/bamboo/tasks"
)
func TestBambooJobDataFlow(t *testing.T) {
diff --git a/backend/plugins/bamboo/e2e/plan_build_commits_test.go b/backend/plugins/bamboo/e2e/plan_build_commits_test.go
index edbe7f0..6666003 100644
--- a/backend/plugins/bamboo/e2e/plan_build_commits_test.go
+++ b/backend/plugins/bamboo/e2e/plan_build_commits_test.go
@@ -20,12 +20,12 @@
import (
"testing"
- "github.com/apache/incubator-devlake/core/models/common"
- "github.com/apache/incubator-devlake/core/models/domainlayer/devops"
- "github.com/apache/incubator-devlake/helpers/e2ehelper"
- "github.com/apache/incubator-devlake/plugins/bamboo/impl"
- "github.com/apache/incubator-devlake/plugins/bamboo/models"
- "github.com/apache/incubator-devlake/plugins/bamboo/tasks"
+ "github.com/apache/devlake/core/models/common"
+ "github.com/apache/devlake/core/models/domainlayer/devops"
+ "github.com/apache/devlake/helpers/e2ehelper"
+ "github.com/apache/devlake/plugins/bamboo/impl"
+ "github.com/apache/devlake/plugins/bamboo/models"
+ "github.com/apache/devlake/plugins/bamboo/tasks"
)
func TestBambooPlanBuildCommitsDataFlow(t *testing.T) {
diff --git a/backend/plugins/bamboo/e2e/plan_build_test.go b/backend/plugins/bamboo/e2e/plan_build_test.go
index 67584f8..e6fbaea 100644
--- a/backend/plugins/bamboo/e2e/plan_build_test.go
+++ b/backend/plugins/bamboo/e2e/plan_build_test.go
@@ -20,13 +20,13 @@
import (
"testing"
- "github.com/apache/incubator-devlake/core/models/common"
- "github.com/apache/incubator-devlake/core/models/domainlayer/devops"
- "github.com/apache/incubator-devlake/helpers/e2ehelper"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/bamboo/impl"
- "github.com/apache/incubator-devlake/plugins/bamboo/models"
- "github.com/apache/incubator-devlake/plugins/bamboo/tasks"
+ "github.com/apache/devlake/core/models/common"
+ "github.com/apache/devlake/core/models/domainlayer/devops"
+ "github.com/apache/devlake/helpers/e2ehelper"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/bamboo/impl"
+ "github.com/apache/devlake/plugins/bamboo/models"
+ "github.com/apache/devlake/plugins/bamboo/tasks"
)
func TestBambooPlanBuildDataFlow(t *testing.T) {
diff --git a/backend/plugins/bamboo/e2e/plan_test.go b/backend/plugins/bamboo/e2e/plan_test.go
index dd56670..67e58d8 100644
--- a/backend/plugins/bamboo/e2e/plan_test.go
+++ b/backend/plugins/bamboo/e2e/plan_test.go
@@ -20,12 +20,12 @@
import (
"testing"
- "github.com/apache/incubator-devlake/core/models/common"
- "github.com/apache/incubator-devlake/core/models/domainlayer/devops"
- "github.com/apache/incubator-devlake/helpers/e2ehelper"
- "github.com/apache/incubator-devlake/plugins/bamboo/impl"
- "github.com/apache/incubator-devlake/plugins/bamboo/models"
- "github.com/apache/incubator-devlake/plugins/bamboo/tasks"
+ "github.com/apache/devlake/core/models/common"
+ "github.com/apache/devlake/core/models/domainlayer/devops"
+ "github.com/apache/devlake/helpers/e2ehelper"
+ "github.com/apache/devlake/plugins/bamboo/impl"
+ "github.com/apache/devlake/plugins/bamboo/models"
+ "github.com/apache/devlake/plugins/bamboo/tasks"
)
func TestBambooPlanDataFlow(t *testing.T) {
diff --git a/backend/plugins/bamboo/impl/impl.go b/backend/plugins/bamboo/impl/impl.go
index 96999a7..91b9a3f 100644
--- a/backend/plugins/bamboo/impl/impl.go
+++ b/backend/plugins/bamboo/impl/impl.go
@@ -20,17 +20,17 @@
import (
"fmt"
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- coreModels "github.com/apache/incubator-devlake/core/models"
- "github.com/apache/incubator-devlake/core/models/domainlayer/devops"
- "github.com/apache/incubator-devlake/core/plugin"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/bamboo/api"
- "github.com/apache/incubator-devlake/plugins/bamboo/models"
- "github.com/apache/incubator-devlake/plugins/bamboo/models/migrationscripts"
- "github.com/apache/incubator-devlake/plugins/bamboo/tasks"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ coreModels "github.com/apache/devlake/core/models"
+ "github.com/apache/devlake/core/models/domainlayer/devops"
+ "github.com/apache/devlake/core/plugin"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/bamboo/api"
+ "github.com/apache/devlake/plugins/bamboo/models"
+ "github.com/apache/devlake/plugins/bamboo/models/migrationscripts"
+ "github.com/apache/devlake/plugins/bamboo/tasks"
)
// make sure interface is implemented
@@ -194,7 +194,7 @@
// RootPkgPath information lost when compiled as plugin(.so)
func (p Bamboo) RootPkgPath() string {
- return "github.com/apache/incubator-devlake/plugins/bamboo"
+ return "github.com/apache/devlake/plugins/bamboo"
}
func (p Bamboo) MigrationScripts() []plugin.MigrationScript {
diff --git a/backend/plugins/bamboo/models/connection.go b/backend/plugins/bamboo/models/connection.go
index ca322b3..bc1cdbc 100644
--- a/backend/plugins/bamboo/models/connection.go
+++ b/backend/plugins/bamboo/models/connection.go
@@ -22,10 +22,10 @@
"net/http"
"time"
- "github.com/apache/incubator-devlake/core/plugin"
+ "github.com/apache/devlake/core/plugin"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
)
var _ plugin.ApiConnection = (*BambooConnection)(nil)
diff --git a/backend/plugins/bamboo/models/deploy.go b/backend/plugins/bamboo/models/deploy.go
index 93d2f7b..c8d4bea 100644
--- a/backend/plugins/bamboo/models/deploy.go
+++ b/backend/plugins/bamboo/models/deploy.go
@@ -17,7 +17,7 @@
package models
-import "github.com/apache/incubator-devlake/core/models/common"
+import "github.com/apache/devlake/core/models/common"
type BambooDeployEnvironment struct {
ConnectionId uint64 `json:"connection_id" gorm:"primaryKey"`
diff --git a/backend/plugins/bamboo/models/deploy_build.go b/backend/plugins/bamboo/models/deploy_build.go
index 06a9144..1c7d30a 100644
--- a/backend/plugins/bamboo/models/deploy_build.go
+++ b/backend/plugins/bamboo/models/deploy_build.go
@@ -20,7 +20,7 @@
import (
"time"
- "github.com/apache/incubator-devlake/core/models/common"
+ "github.com/apache/devlake/core/models/common"
)
type BambooDeployBuild struct {
diff --git a/backend/plugins/bamboo/models/job.go b/backend/plugins/bamboo/models/job.go
index f32ac0a..61ecbb4 100644
--- a/backend/plugins/bamboo/models/job.go
+++ b/backend/plugins/bamboo/models/job.go
@@ -18,7 +18,7 @@
package models
import (
- "github.com/apache/incubator-devlake/core/models/common"
+ "github.com/apache/devlake/core/models/common"
)
type BambooJob struct {
diff --git a/backend/plugins/bamboo/models/job_build.go b/backend/plugins/bamboo/models/job_build.go
index 9658bb2..4aef1c6 100644
--- a/backend/plugins/bamboo/models/job_build.go
+++ b/backend/plugins/bamboo/models/job_build.go
@@ -20,7 +20,7 @@
import (
"time"
- "github.com/apache/incubator-devlake/core/models/common"
+ "github.com/apache/devlake/core/models/common"
)
type BambooJobBuild struct {
diff --git a/backend/plugins/bamboo/models/migrationscripts/20230309_add_init_tables.go b/backend/plugins/bamboo/models/migrationscripts/20230309_add_init_tables.go
index cf6c148..c175e5d 100644
--- a/backend/plugins/bamboo/models/migrationscripts/20230309_add_init_tables.go
+++ b/backend/plugins/bamboo/models/migrationscripts/20230309_add_init_tables.go
@@ -18,10 +18,10 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/helpers/migrationhelper"
- "github.com/apache/incubator-devlake/plugins/bamboo/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/helpers/migrationhelper"
+ "github.com/apache/devlake/plugins/bamboo/models/migrationscripts/archived"
)
type addInitTables struct{}
diff --git a/backend/plugins/bamboo/models/migrationscripts/20230322_add_connection_id_to_transformation_rules.go b/backend/plugins/bamboo/models/migrationscripts/20230322_add_connection_id_to_transformation_rules.go
index 95d6377..c59c7e6 100644
--- a/backend/plugins/bamboo/models/migrationscripts/20230322_add_connection_id_to_transformation_rules.go
+++ b/backend/plugins/bamboo/models/migrationscripts/20230322_add_connection_id_to_transformation_rules.go
@@ -18,11 +18,11 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/helpers/migrationhelper"
- "github.com/apache/incubator-devlake/plugins/bamboo/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/helpers/migrationhelper"
+ "github.com/apache/devlake/plugins/bamboo/models/migrationscripts/archived"
)
type addConnectionIdToTransformationRule struct{}
diff --git a/backend/plugins/bamboo/models/migrationscripts/20230419_add_type_and_environment.go b/backend/plugins/bamboo/models/migrationscripts/20230419_add_type_and_environment.go
index e3a71a9..37cb152 100644
--- a/backend/plugins/bamboo/models/migrationscripts/20230419_add_type_and_environment.go
+++ b/backend/plugins/bamboo/models/migrationscripts/20230419_add_type_and_environment.go
@@ -18,9 +18,9 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/helpers/migrationhelper"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/helpers/migrationhelper"
)
type addTypeAndEnvironment struct{}
diff --git a/backend/plugins/bamboo/models/migrationscripts/20230518_scope_config.go b/backend/plugins/bamboo/models/migrationscripts/20230518_scope_config.go
index 847a5a0..73bdacc 100644
--- a/backend/plugins/bamboo/models/migrationscripts/20230518_scope_config.go
+++ b/backend/plugins/bamboo/models/migrationscripts/20230518_scope_config.go
@@ -18,9 +18,9 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/helpers/migrationhelper"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/helpers/migrationhelper"
)
type renameTr2ScopeConfig struct {
diff --git a/backend/plugins/bamboo/models/migrationscripts/20230630_add_raw_param_table_for_scopes.go b/backend/plugins/bamboo/models/migrationscripts/20230630_add_raw_param_table_for_scopes.go
index 7671bde..157fbf4 100644
--- a/backend/plugins/bamboo/models/migrationscripts/20230630_add_raw_param_table_for_scopes.go
+++ b/backend/plugins/bamboo/models/migrationscripts/20230630_add_raw_param_table_for_scopes.go
@@ -21,11 +21,11 @@
"encoding/json"
"fmt"
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/migrationhelper"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/migrationhelper"
)
var _ plugin.MigrationScript = (*addRawParamTableForScope)(nil)
diff --git a/backend/plugins/bamboo/models/migrationscripts/20230725_add_scopeConfigId_to_plan.go b/backend/plugins/bamboo/models/migrationscripts/20230725_add_scopeConfigId_to_plan.go
index dfe34a9..332bdf7 100644
--- a/backend/plugins/bamboo/models/migrationscripts/20230725_add_scopeConfigId_to_plan.go
+++ b/backend/plugins/bamboo/models/migrationscripts/20230725_add_scopeConfigId_to_plan.go
@@ -18,9 +18,9 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
)
var _ plugin.MigrationScript = (*addScopeConfigId)(nil)
diff --git a/backend/plugins/bamboo/models/migrationscripts/20230801_add_env_name_pattern.go b/backend/plugins/bamboo/models/migrationscripts/20230801_add_env_name_pattern.go
index c7fd4b5..d702cc5 100644
--- a/backend/plugins/bamboo/models/migrationscripts/20230801_add_env_name_pattern.go
+++ b/backend/plugins/bamboo/models/migrationscripts/20230801_add_env_name_pattern.go
@@ -18,9 +18,9 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
)
var _ plugin.MigrationScript = (*addEnvNamePattern)(nil)
diff --git a/backend/plugins/bamboo/models/migrationscripts/20230807_add_plan_result_key.go b/backend/plugins/bamboo/models/migrationscripts/20230807_add_plan_result_key.go
index 545c39d..68fd5de 100644
--- a/backend/plugins/bamboo/models/migrationscripts/20230807_add_plan_result_key.go
+++ b/backend/plugins/bamboo/models/migrationscripts/20230807_add_plan_result_key.go
@@ -18,10 +18,10 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/migrationhelper"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/migrationhelper"
)
var _ plugin.MigrationScript = (*addPlanResultKey)(nil)
diff --git a/backend/plugins/bamboo/models/migrationscripts/20230919_rename_tool_bamboo_deploy_builds.go b/backend/plugins/bamboo/models/migrationscripts/20230919_rename_tool_bamboo_deploy_builds.go
index 627af88..8dc6dcc 100644
--- a/backend/plugins/bamboo/models/migrationscripts/20230919_rename_tool_bamboo_deploy_builds.go
+++ b/backend/plugins/bamboo/models/migrationscripts/20230919_rename_tool_bamboo_deploy_builds.go
@@ -18,9 +18,9 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
)
var _ plugin.MigrationScript = (*renameToolBambooDeployBuild20230919)(nil)
diff --git a/backend/plugins/bamboo/models/migrationscripts/20230919_rename_tool_bamboo_deploy_environments.go b/backend/plugins/bamboo/models/migrationscripts/20230919_rename_tool_bamboo_deploy_environments.go
index 8c48bcf..c1662fa 100644
--- a/backend/plugins/bamboo/models/migrationscripts/20230919_rename_tool_bamboo_deploy_environments.go
+++ b/backend/plugins/bamboo/models/migrationscripts/20230919_rename_tool_bamboo_deploy_environments.go
@@ -18,9 +18,9 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
)
var _ plugin.MigrationScript = (*renameToolBambooDeployEnvironments20230919)(nil)
diff --git a/backend/plugins/bamboo/models/migrationscripts/20230920_rename_raw_tables.go b/backend/plugins/bamboo/models/migrationscripts/20230920_rename_raw_tables.go
index 20374ba..78b7714 100644
--- a/backend/plugins/bamboo/models/migrationscripts/20230920_rename_raw_tables.go
+++ b/backend/plugins/bamboo/models/migrationscripts/20230920_rename_raw_tables.go
@@ -18,9 +18,9 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
)
var _ plugin.MigrationScript = (*renameMultiBambooRawTables20230920)(nil)
diff --git a/backend/plugins/bamboo/models/migrationscripts/20231121_add_missing_primary_key.go b/backend/plugins/bamboo/models/migrationscripts/20231121_add_missing_primary_key.go
index 25d5819..11743dc 100644
--- a/backend/plugins/bamboo/models/migrationscripts/20231121_add_missing_primary_key.go
+++ b/backend/plugins/bamboo/models/migrationscripts/20231121_add_missing_primary_key.go
@@ -18,10 +18,10 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
- "github.com/apache/incubator-devlake/core/plugin"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/plugin"
)
var _ plugin.MigrationScript = (*addMissingPrimaryKeyForBambooPlanBuildVcsRevision)(nil)
diff --git a/backend/plugins/bamboo/models/migrationscripts/20231128_add_queued_fields_in_job_builds.go b/backend/plugins/bamboo/models/migrationscripts/20231128_add_queued_fields_in_job_builds.go
index 3a6d1b0..393083b 100644
--- a/backend/plugins/bamboo/models/migrationscripts/20231128_add_queued_fields_in_job_builds.go
+++ b/backend/plugins/bamboo/models/migrationscripts/20231128_add_queued_fields_in_job_builds.go
@@ -18,9 +18,9 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
"time"
)
diff --git a/backend/plugins/bamboo/models/migrationscripts/20240411_add_link_href_to_plan_build.go b/backend/plugins/bamboo/models/migrationscripts/20240411_add_link_href_to_plan_build.go
index 0af6a91..bd363ff 100644
--- a/backend/plugins/bamboo/models/migrationscripts/20240411_add_link_href_to_plan_build.go
+++ b/backend/plugins/bamboo/models/migrationscripts/20240411_add_link_href_to_plan_build.go
@@ -18,9 +18,9 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/helpers/migrationhelper"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/helpers/migrationhelper"
)
type addLinkHrefToBambooPlanBuild struct{}
diff --git a/backend/plugins/bamboo/models/migrationscripts/archived/deploy.go b/backend/plugins/bamboo/models/migrationscripts/archived/deploy.go
index a8e7e16..8171745 100644
--- a/backend/plugins/bamboo/models/migrationscripts/archived/deploy.go
+++ b/backend/plugins/bamboo/models/migrationscripts/archived/deploy.go
@@ -17,7 +17,7 @@
package archived
-import "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
+import "github.com/apache/devlake/core/models/migrationscripts/archived"
type ApiBambooOperations struct {
CanView bool `json:"canView"`
diff --git a/backend/plugins/bamboo/models/migrationscripts/archived/deploy_build.go b/backend/plugins/bamboo/models/migrationscripts/archived/deploy_build.go
index 8b60cbb..4e2a497 100644
--- a/backend/plugins/bamboo/models/migrationscripts/archived/deploy_build.go
+++ b/backend/plugins/bamboo/models/migrationscripts/archived/deploy_build.go
@@ -20,7 +20,7 @@
import (
"time"
- "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/models/migrationscripts/archived"
)
type BambooDeployBuild struct {
diff --git a/backend/plugins/bamboo/models/migrationscripts/archived/job.go b/backend/plugins/bamboo/models/migrationscripts/archived/job.go
index 82a2d42..e0e56fa 100644
--- a/backend/plugins/bamboo/models/migrationscripts/archived/job.go
+++ b/backend/plugins/bamboo/models/migrationscripts/archived/job.go
@@ -18,7 +18,7 @@
package archived
import (
- "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/models/migrationscripts/archived"
)
type BambooJob struct {
diff --git a/backend/plugins/bamboo/models/migrationscripts/archived/job_build.go b/backend/plugins/bamboo/models/migrationscripts/archived/job_build.go
index 37a2529..364dd28 100644
--- a/backend/plugins/bamboo/models/migrationscripts/archived/job_build.go
+++ b/backend/plugins/bamboo/models/migrationscripts/archived/job_build.go
@@ -18,7 +18,7 @@
package archived
import (
- "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/models/migrationscripts/archived"
"time"
)
diff --git a/backend/plugins/bamboo/models/migrationscripts/archived/plan.go b/backend/plugins/bamboo/models/migrationscripts/archived/plan.go
index 91b5b0c..8c24cdf 100644
--- a/backend/plugins/bamboo/models/migrationscripts/archived/plan.go
+++ b/backend/plugins/bamboo/models/migrationscripts/archived/plan.go
@@ -18,7 +18,7 @@
package archived
import (
- "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/models/migrationscripts/archived"
)
type BambooPlan struct {
diff --git a/backend/plugins/bamboo/models/migrationscripts/archived/plan_build.go b/backend/plugins/bamboo/models/migrationscripts/archived/plan_build.go
index e4b2933..0db1234 100644
--- a/backend/plugins/bamboo/models/migrationscripts/archived/plan_build.go
+++ b/backend/plugins/bamboo/models/migrationscripts/archived/plan_build.go
@@ -18,7 +18,7 @@
package archived
import (
- "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/models/migrationscripts/archived"
"time"
)
diff --git a/backend/plugins/bamboo/models/migrationscripts/archived/plan_build_commit.go b/backend/plugins/bamboo/models/migrationscripts/archived/plan_build_commit.go
index 75cbdd0..8f590b2 100644
--- a/backend/plugins/bamboo/models/migrationscripts/archived/plan_build_commit.go
+++ b/backend/plugins/bamboo/models/migrationscripts/archived/plan_build_commit.go
@@ -18,7 +18,7 @@
package archived
import (
- "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/models/migrationscripts/archived"
)
type BambooPlanBuildVcsRevision struct {
diff --git a/backend/plugins/bamboo/models/migrationscripts/archived/project.go b/backend/plugins/bamboo/models/migrationscripts/archived/project.go
index c1d8f48..17ab282 100644
--- a/backend/plugins/bamboo/models/migrationscripts/archived/project.go
+++ b/backend/plugins/bamboo/models/migrationscripts/archived/project.go
@@ -18,7 +18,7 @@
package archived
import (
- "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/models/migrationscripts/archived"
)
type BambooProject struct {
diff --git a/backend/plugins/bamboo/models/migrationscripts/archived/transformation_rule.go b/backend/plugins/bamboo/models/migrationscripts/archived/transformation_rule.go
index 20fed3e..4acad96 100644
--- a/backend/plugins/bamboo/models/migrationscripts/archived/transformation_rule.go
+++ b/backend/plugins/bamboo/models/migrationscripts/archived/transformation_rule.go
@@ -20,7 +20,7 @@
import (
"encoding/json"
- "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/models/migrationscripts/archived"
)
type BambooTransformationRule struct {
diff --git a/backend/plugins/bamboo/models/migrationscripts/register.go b/backend/plugins/bamboo/models/migrationscripts/register.go
index d7ef35c..b16a567 100644
--- a/backend/plugins/bamboo/models/migrationscripts/register.go
+++ b/backend/plugins/bamboo/models/migrationscripts/register.go
@@ -18,7 +18,7 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/plugin"
+ "github.com/apache/devlake/core/plugin"
)
// All return all the migration scripts
diff --git a/backend/plugins/bamboo/models/plan.go b/backend/plugins/bamboo/models/plan.go
index 386fbbb..c1fdaca 100644
--- a/backend/plugins/bamboo/models/plan.go
+++ b/backend/plugins/bamboo/models/plan.go
@@ -20,8 +20,8 @@
import (
"strings"
- "github.com/apache/incubator-devlake/core/models/common"
- "github.com/apache/incubator-devlake/core/plugin"
+ "github.com/apache/devlake/core/models/common"
+ "github.com/apache/devlake/core/plugin"
)
var _ plugin.ToolLayerScope = (*BambooPlan)(nil)
diff --git a/backend/plugins/bamboo/models/plan_build.go b/backend/plugins/bamboo/models/plan_build.go
index 4b0351e..06abc90 100644
--- a/backend/plugins/bamboo/models/plan_build.go
+++ b/backend/plugins/bamboo/models/plan_build.go
@@ -21,7 +21,7 @@
"fmt"
"time"
- "github.com/apache/incubator-devlake/core/models/common"
+ "github.com/apache/devlake/core/models/common"
)
type BambooPlanBuild struct {
diff --git a/backend/plugins/bamboo/models/plan_build_commit.go b/backend/plugins/bamboo/models/plan_build_commit.go
index f1c99ab..bc51c74 100644
--- a/backend/plugins/bamboo/models/plan_build_commit.go
+++ b/backend/plugins/bamboo/models/plan_build_commit.go
@@ -18,7 +18,7 @@
package models
import (
- "github.com/apache/incubator-devlake/core/models/common"
+ "github.com/apache/devlake/core/models/common"
)
type BambooPlanBuildVcsRevision struct {
diff --git a/backend/plugins/bamboo/models/scope_config.go b/backend/plugins/bamboo/models/scope_config.go
index 587ba99..f1d6419 100644
--- a/backend/plugins/bamboo/models/scope_config.go
+++ b/backend/plugins/bamboo/models/scope_config.go
@@ -18,7 +18,7 @@
package models
import (
- "github.com/apache/incubator-devlake/core/models/common"
+ "github.com/apache/devlake/core/models/common"
)
type BambooScopeConfig struct {
diff --git a/backend/plugins/bamboo/tasks/api_client.go b/backend/plugins/bamboo/tasks/api_client.go
index 6efbb21..da70d73 100644
--- a/backend/plugins/bamboo/tasks/api_client.go
+++ b/backend/plugins/bamboo/tasks/api_client.go
@@ -22,10 +22,10 @@
"strconv"
"time"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/bamboo/models"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/bamboo/models"
)
func CreateBambooAsyncApiClient(
diff --git a/backend/plugins/bamboo/tasks/deploy_build_collector.go b/backend/plugins/bamboo/tasks/deploy_build_collector.go
index 2e73d41..3d6b0ef 100644
--- a/backend/plugins/bamboo/tasks/deploy_build_collector.go
+++ b/backend/plugins/bamboo/tasks/deploy_build_collector.go
@@ -24,11 +24,11 @@
"net/url"
"reflect"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/bamboo/models"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/bamboo/models"
)
const RAW_DEPLOY_BUILD_TABLE = "bamboo_api_deploy_builds"
diff --git a/backend/plugins/bamboo/tasks/deploy_build_extractor.go b/backend/plugins/bamboo/tasks/deploy_build_extractor.go
index b5b5798..719511c 100644
--- a/backend/plugins/bamboo/tasks/deploy_build_extractor.go
+++ b/backend/plugins/bamboo/tasks/deploy_build_extractor.go
@@ -20,10 +20,10 @@
import (
"encoding/json"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/bamboo/models"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/bamboo/models"
)
var _ plugin.SubTaskEntryPoint = ExtractDeployBuild
diff --git a/backend/plugins/bamboo/tasks/deploy_build_to_deployment_commit_convertor.go b/backend/plugins/bamboo/tasks/deploy_build_to_deployment_commit_convertor.go
index 9dc4600..56a60f7 100644
--- a/backend/plugins/bamboo/tasks/deploy_build_to_deployment_commit_convertor.go
+++ b/backend/plugins/bamboo/tasks/deploy_build_to_deployment_commit_convertor.go
@@ -26,16 +26,16 @@
"strings"
"time"
- "github.com/apache/incubator-devlake/core/models/common"
+ "github.com/apache/devlake/core/models/common"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/domainlayer"
- "github.com/apache/incubator-devlake/core/models/domainlayer/devops"
- "github.com/apache/incubator-devlake/core/models/domainlayer/didgen"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/bamboo/models"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/domainlayer"
+ "github.com/apache/devlake/core/models/domainlayer/devops"
+ "github.com/apache/devlake/core/models/domainlayer/didgen"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/bamboo/models"
)
var ConvertDeployBuildsToDeploymentCommitsMeta = plugin.SubTaskMeta{
diff --git a/backend/plugins/bamboo/tasks/deploy_build_to_deployment_convertor.go b/backend/plugins/bamboo/tasks/deploy_build_to_deployment_convertor.go
index badf42a..f585a07 100644
--- a/backend/plugins/bamboo/tasks/deploy_build_to_deployment_convertor.go
+++ b/backend/plugins/bamboo/tasks/deploy_build_to_deployment_convertor.go
@@ -22,14 +22,14 @@
"reflect"
"time"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/domainlayer"
- "github.com/apache/incubator-devlake/core/models/domainlayer/devops"
- "github.com/apache/incubator-devlake/core/models/domainlayer/didgen"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/bamboo/models"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/domainlayer"
+ "github.com/apache/devlake/core/models/domainlayer/devops"
+ "github.com/apache/devlake/core/models/domainlayer/didgen"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/bamboo/models"
)
var ConvertDeployBuildsToDeploymentMeta = plugin.SubTaskMeta{
diff --git a/backend/plugins/bamboo/tasks/deploy_collector.go b/backend/plugins/bamboo/tasks/deploy_collector.go
index 697d458..7411f67 100644
--- a/backend/plugins/bamboo/tasks/deploy_collector.go
+++ b/backend/plugins/bamboo/tasks/deploy_collector.go
@@ -20,9 +20,9 @@
import (
"net/http"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
)
const RAW_DEPLOY_TABLE = "bamboo_api_deploys"
diff --git a/backend/plugins/bamboo/tasks/deploy_extractor.go b/backend/plugins/bamboo/tasks/deploy_extractor.go
index fef9787..bbd13c4 100644
--- a/backend/plugins/bamboo/tasks/deploy_extractor.go
+++ b/backend/plugins/bamboo/tasks/deploy_extractor.go
@@ -20,10 +20,10 @@
import (
"encoding/json"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/bamboo/models"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/bamboo/models"
)
var _ plugin.SubTaskEntryPoint = ExtractDeploy
diff --git a/backend/plugins/bamboo/tasks/job_build_collector.go b/backend/plugins/bamboo/tasks/job_build_collector.go
index 48ea626..6cb5c1f 100644
--- a/backend/plugins/bamboo/tasks/job_build_collector.go
+++ b/backend/plugins/bamboo/tasks/job_build_collector.go
@@ -20,11 +20,11 @@
import (
"reflect"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/bamboo/models"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/bamboo/models"
)
const RAW_JOB_BUILD_TABLE = "bamboo_api_job_builds"
diff --git a/backend/plugins/bamboo/tasks/job_build_convertor.go b/backend/plugins/bamboo/tasks/job_build_convertor.go
index 59cec9a..b810bc0 100644
--- a/backend/plugins/bamboo/tasks/job_build_convertor.go
+++ b/backend/plugins/bamboo/tasks/job_build_convertor.go
@@ -21,14 +21,14 @@
"reflect"
"time"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/domainlayer"
- "github.com/apache/incubator-devlake/core/models/domainlayer/devops"
- "github.com/apache/incubator-devlake/core/models/domainlayer/didgen"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/bamboo/models"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/domainlayer"
+ "github.com/apache/devlake/core/models/domainlayer/devops"
+ "github.com/apache/devlake/core/models/domainlayer/didgen"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/bamboo/models"
)
var ConvertJobBuildsMeta = plugin.SubTaskMeta{
diff --git a/backend/plugins/bamboo/tasks/job_build_extractor.go b/backend/plugins/bamboo/tasks/job_build_extractor.go
index 2077aa4..96d7e8b 100644
--- a/backend/plugins/bamboo/tasks/job_build_extractor.go
+++ b/backend/plugins/bamboo/tasks/job_build_extractor.go
@@ -21,11 +21,11 @@
"encoding/json"
"fmt"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/domainlayer/devops"
- "github.com/apache/incubator-devlake/core/plugin"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/bamboo/models"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/domainlayer/devops"
+ "github.com/apache/devlake/core/plugin"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/bamboo/models"
)
var _ plugin.SubTaskEntryPoint = ExtractJobBuild
diff --git a/backend/plugins/bamboo/tasks/job_collector.go b/backend/plugins/bamboo/tasks/job_collector.go
index 8898791..6f51980 100644
--- a/backend/plugins/bamboo/tasks/job_collector.go
+++ b/backend/plugins/bamboo/tasks/job_collector.go
@@ -20,10 +20,10 @@
import (
"encoding/json"
"fmt"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/bamboo/models"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/bamboo/models"
"net/http"
"net/url"
)
diff --git a/backend/plugins/bamboo/tasks/job_extractor.go b/backend/plugins/bamboo/tasks/job_extractor.go
index 35929b9..27be7ef 100644
--- a/backend/plugins/bamboo/tasks/job_extractor.go
+++ b/backend/plugins/bamboo/tasks/job_extractor.go
@@ -20,10 +20,10 @@
import (
"encoding/json"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/bamboo/models"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/bamboo/models"
)
var _ plugin.SubTaskEntryPoint = ExtractJob
diff --git a/backend/plugins/bamboo/tasks/plan_build_collector.go b/backend/plugins/bamboo/tasks/plan_build_collector.go
index 2dfa478..10ce527 100644
--- a/backend/plugins/bamboo/tasks/plan_build_collector.go
+++ b/backend/plugins/bamboo/tasks/plan_build_collector.go
@@ -20,9 +20,9 @@
import (
"fmt"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
)
const RAW_PLAN_BUILD_TABLE = "bamboo_api_plan_builds"
diff --git a/backend/plugins/bamboo/tasks/plan_build_convertor.go b/backend/plugins/bamboo/tasks/plan_build_convertor.go
index c86e8ae..9c4db72 100644
--- a/backend/plugins/bamboo/tasks/plan_build_convertor.go
+++ b/backend/plugins/bamboo/tasks/plan_build_convertor.go
@@ -21,14 +21,14 @@
"reflect"
"time"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/domainlayer"
- "github.com/apache/incubator-devlake/core/models/domainlayer/devops"
- "github.com/apache/incubator-devlake/core/models/domainlayer/didgen"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/bamboo/models"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/domainlayer"
+ "github.com/apache/devlake/core/models/domainlayer/devops"
+ "github.com/apache/devlake/core/models/domainlayer/didgen"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/bamboo/models"
)
var ConvertPlanBuildsMeta = plugin.SubTaskMeta{
diff --git a/backend/plugins/bamboo/tasks/plan_build_extractor.go b/backend/plugins/bamboo/tasks/plan_build_extractor.go
index c5ef6d5..28e1f38 100644
--- a/backend/plugins/bamboo/tasks/plan_build_extractor.go
+++ b/backend/plugins/bamboo/tasks/plan_build_extractor.go
@@ -20,11 +20,11 @@
import (
"encoding/json"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/domainlayer/devops"
- "github.com/apache/incubator-devlake/core/plugin"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/bamboo/models"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/domainlayer/devops"
+ "github.com/apache/devlake/core/plugin"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/bamboo/models"
)
var _ plugin.SubTaskEntryPoint = ExtractPlanBuild
diff --git a/backend/plugins/bamboo/tasks/plan_commit_convertor.go b/backend/plugins/bamboo/tasks/plan_commit_convertor.go
index 13104d8..d3c0a84 100644
--- a/backend/plugins/bamboo/tasks/plan_commit_convertor.go
+++ b/backend/plugins/bamboo/tasks/plan_commit_convertor.go
@@ -20,14 +20,14 @@
import (
"reflect"
- "github.com/apache/incubator-devlake/core/models/domainlayer/devops"
+ "github.com/apache/devlake/core/models/domainlayer/devops"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/domainlayer/didgen"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/bamboo/models"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/domainlayer/didgen"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/bamboo/models"
)
var ConvertPlanVcsMeta = plugin.SubTaskMeta{
diff --git a/backend/plugins/bamboo/tasks/plan_convertor.go b/backend/plugins/bamboo/tasks/plan_convertor.go
index ba04a8c..20f4cf1 100644
--- a/backend/plugins/bamboo/tasks/plan_convertor.go
+++ b/backend/plugins/bamboo/tasks/plan_convertor.go
@@ -18,14 +18,14 @@
package tasks
import (
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/domainlayer"
- "github.com/apache/incubator-devlake/core/models/domainlayer/devops"
- "github.com/apache/incubator-devlake/core/models/domainlayer/didgen"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- bambooModels "github.com/apache/incubator-devlake/plugins/bamboo/models"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/domainlayer"
+ "github.com/apache/devlake/core/models/domainlayer/devops"
+ "github.com/apache/devlake/core/models/domainlayer/didgen"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ bambooModels "github.com/apache/devlake/plugins/bamboo/models"
"reflect"
)
diff --git a/backend/plugins/bamboo/tasks/shared.go b/backend/plugins/bamboo/tasks/shared.go
index fc715aa..17e8a85 100644
--- a/backend/plugins/bamboo/tasks/shared.go
+++ b/backend/plugins/bamboo/tasks/shared.go
@@ -24,10 +24,10 @@
"net/url"
"strings"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/bamboo/models"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/bamboo/models"
)
const (
diff --git a/backend/plugins/bamboo/tasks/task_data.go b/backend/plugins/bamboo/tasks/task_data.go
index c5427ac..d4eaa89 100644
--- a/backend/plugins/bamboo/tasks/task_data.go
+++ b/backend/plugins/bamboo/tasks/task_data.go
@@ -18,9 +18,9 @@
package tasks
import (
- "github.com/apache/incubator-devlake/core/errors"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/bamboo/models"
+ "github.com/apache/devlake/core/errors"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/bamboo/models"
)
type BambooOptions struct {
diff --git a/backend/plugins/bitbucket/api/blueprint_v200.go b/backend/plugins/bitbucket/api/blueprint_v200.go
index 2ee7744..ff20885 100644
--- a/backend/plugins/bitbucket/api/blueprint_v200.go
+++ b/backend/plugins/bitbucket/api/blueprint_v200.go
@@ -21,19 +21,19 @@
"context"
"net/url"
- "github.com/apache/incubator-devlake/core/errors"
- coreModels "github.com/apache/incubator-devlake/core/models"
- "github.com/apache/incubator-devlake/core/models/domainlayer"
- "github.com/apache/incubator-devlake/core/models/domainlayer/code"
- "github.com/apache/incubator-devlake/core/models/domainlayer/devops"
- "github.com/apache/incubator-devlake/core/models/domainlayer/didgen"
- "github.com/apache/incubator-devlake/core/models/domainlayer/ticket"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/core/utils"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/helpers/srvhelper"
- "github.com/apache/incubator-devlake/plugins/bitbucket/models"
- "github.com/apache/incubator-devlake/plugins/bitbucket/tasks"
+ "github.com/apache/devlake/core/errors"
+ coreModels "github.com/apache/devlake/core/models"
+ "github.com/apache/devlake/core/models/domainlayer"
+ "github.com/apache/devlake/core/models/domainlayer/code"
+ "github.com/apache/devlake/core/models/domainlayer/devops"
+ "github.com/apache/devlake/core/models/domainlayer/didgen"
+ "github.com/apache/devlake/core/models/domainlayer/ticket"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/core/utils"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/helpers/srvhelper"
+ "github.com/apache/devlake/plugins/bitbucket/models"
+ "github.com/apache/devlake/plugins/bitbucket/tasks"
)
func MakeDataSourcePipelinePlanV200(
diff --git a/backend/plugins/bitbucket/api/blueprint_v200_test.go b/backend/plugins/bitbucket/api/blueprint_v200_test.go
index cd46dec..385a5d3 100644
--- a/backend/plugins/bitbucket/api/blueprint_v200_test.go
+++ b/backend/plugins/bitbucket/api/blueprint_v200_test.go
@@ -20,19 +20,19 @@
import (
"testing"
- mockplugin "github.com/apache/incubator-devlake/mocks/core/plugin"
+ mockplugin "github.com/apache/devlake/mocks/core/plugin"
- "github.com/apache/incubator-devlake/core/models/common"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/helpers/srvhelper"
- "github.com/apache/incubator-devlake/plugins/bitbucket/models"
+ "github.com/apache/devlake/core/models/common"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/helpers/srvhelper"
+ "github.com/apache/devlake/plugins/bitbucket/models"
"github.com/stretchr/testify/assert"
)
func mockBitbucketPlugin(t *testing.T) {
mockMeta := mockplugin.NewPluginMeta(t)
- mockMeta.On("RootPkgPath").Return("github.com/apache/incubator-devlake/plugins/bitbucket")
+ mockMeta.On("RootPkgPath").Return("github.com/apache/devlake/plugins/bitbucket")
mockMeta.On("Name").Return("dummy").Maybe()
err := plugin.RegisterPlugin("bitbucket", mockMeta)
assert.Equal(t, err, nil)
diff --git a/backend/plugins/bitbucket/api/connection_api.go b/backend/plugins/bitbucket/api/connection_api.go
index 4197814..259f1f1 100644
--- a/backend/plugins/bitbucket/api/connection_api.go
+++ b/backend/plugins/bitbucket/api/connection_api.go
@@ -21,12 +21,12 @@
"context"
"net/http"
- "github.com/apache/incubator-devlake/server/api/shared"
+ "github.com/apache/devlake/server/api/shared"
- "github.com/apache/incubator-devlake/core/errors"
- plugin "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/bitbucket/models"
+ "github.com/apache/devlake/core/errors"
+ plugin "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/bitbucket/models"
)
type BitBucketTestConnResponse struct {
diff --git a/backend/plugins/bitbucket/api/connection_api_test.go b/backend/plugins/bitbucket/api/connection_api_test.go
index 3adaf64..2ca01da 100644
--- a/backend/plugins/bitbucket/api/connection_api_test.go
+++ b/backend/plugins/bitbucket/api/connection_api_test.go
@@ -21,9 +21,9 @@
"net/http"
"testing"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/bitbucket/models"
- "github.com/apache/incubator-devlake/server/api/shared"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/bitbucket/models"
+ "github.com/apache/devlake/server/api/shared"
"github.com/stretchr/testify/assert"
)
diff --git a/backend/plugins/bitbucket/api/init.go b/backend/plugins/bitbucket/api/init.go
index 5e0dcb9..54c18b9 100644
--- a/backend/plugins/bitbucket/api/init.go
+++ b/backend/plugins/bitbucket/api/init.go
@@ -18,10 +18,10 @@
package api
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/bitbucket/models"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/bitbucket/models"
"github.com/go-playground/validator/v10"
)
diff --git a/backend/plugins/bitbucket/api/remote_api.go b/backend/plugins/bitbucket/api/remote_api.go
index 36fa45a..3d6cdc3 100644
--- a/backend/plugins/bitbucket/api/remote_api.go
+++ b/backend/plugins/bitbucket/api/remote_api.go
@@ -23,11 +23,11 @@
"net/http"
"net/url"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- dsmodels "github.com/apache/incubator-devlake/helpers/pluginhelper/api/models"
- "github.com/apache/incubator-devlake/plugins/bitbucket/models"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ dsmodels "github.com/apache/devlake/helpers/pluginhelper/api/models"
+ "github.com/apache/devlake/plugins/bitbucket/models"
)
type BitbucketRemotePagination struct {
diff --git a/backend/plugins/bitbucket/api/remote_api_test.go b/backend/plugins/bitbucket/api/remote_api_test.go
index 26bdbc4..557f3b4 100644
--- a/backend/plugins/bitbucket/api/remote_api_test.go
+++ b/backend/plugins/bitbucket/api/remote_api_test.go
@@ -26,8 +26,8 @@
"github.com/stretchr/testify/assert"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
)
type fakeApiClient struct{ body string }
diff --git a/backend/plugins/bitbucket/api/scope_api.go b/backend/plugins/bitbucket/api/scope_api.go
index 92ce512..94bc2b3 100644
--- a/backend/plugins/bitbucket/api/scope_api.go
+++ b/backend/plugins/bitbucket/api/scope_api.go
@@ -20,10 +20,10 @@
import (
"strings"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/bitbucket/models"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/bitbucket/models"
)
type PutScopesReqBody api.PutScopesReqBody[models.BitbucketRepo]
diff --git a/backend/plugins/bitbucket/api/scope_config_api.go b/backend/plugins/bitbucket/api/scope_config_api.go
index 1e73795..f657e4e 100644
--- a/backend/plugins/bitbucket/api/scope_config_api.go
+++ b/backend/plugins/bitbucket/api/scope_config_api.go
@@ -18,8 +18,8 @@
package api
import (
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
)
// PostScopeConfig create scope config for Bitbucket
diff --git a/backend/plugins/bitbucket/api/scope_duplicates_api.go b/backend/plugins/bitbucket/api/scope_duplicates_api.go
index 0b7e998..d909e1a 100644
--- a/backend/plugins/bitbucket/api/scope_duplicates_api.go
+++ b/backend/plugins/bitbucket/api/scope_duplicates_api.go
@@ -22,9 +22,9 @@
"strconv"
"strings"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
)
// ScopeDuplicateConnection is a connection that shares a repository scope.
diff --git a/backend/plugins/bitbucket/api/scope_duplicates_api_test.go b/backend/plugins/bitbucket/api/scope_duplicates_api_test.go
index 13a31b4..1577ac4 100644
--- a/backend/plugins/bitbucket/api/scope_duplicates_api_test.go
+++ b/backend/plugins/bitbucket/api/scope_duplicates_api_test.go
@@ -21,7 +21,7 @@
"net/url"
"testing"
- "github.com/apache/incubator-devlake/core/plugin"
+ "github.com/apache/devlake/core/plugin"
"github.com/stretchr/testify/assert"
)
diff --git a/backend/plugins/bitbucket/api/scope_state_api.go b/backend/plugins/bitbucket/api/scope_state_api.go
index 2fb4763..74a0701 100644
--- a/backend/plugins/bitbucket/api/scope_state_api.go
+++ b/backend/plugins/bitbucket/api/scope_state_api.go
@@ -18,8 +18,8 @@
package api
import (
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
)
// GetScopeLatestSyncState get one BitBucket repo's latest sync state
diff --git a/backend/plugins/bitbucket/bitbucket.go b/backend/plugins/bitbucket/bitbucket.go
index c578cd3..03fff26 100644
--- a/backend/plugins/bitbucket/bitbucket.go
+++ b/backend/plugins/bitbucket/bitbucket.go
@@ -18,8 +18,8 @@
package main // must be main for plugin entry point
import (
- "github.com/apache/incubator-devlake/core/runner"
- "github.com/apache/incubator-devlake/plugins/bitbucket/impl"
+ "github.com/apache/devlake/core/runner"
+ "github.com/apache/devlake/plugins/bitbucket/impl"
"github.com/spf13/cobra"
)
diff --git a/backend/plugins/bitbucket/e2e/account_test.go b/backend/plugins/bitbucket/e2e/account_test.go
index 8e7a9f7..d546c63 100644
--- a/backend/plugins/bitbucket/e2e/account_test.go
+++ b/backend/plugins/bitbucket/e2e/account_test.go
@@ -18,12 +18,12 @@
package e2e
import (
- "github.com/apache/incubator-devlake/core/models/common"
- "github.com/apache/incubator-devlake/core/models/domainlayer/crossdomain"
- "github.com/apache/incubator-devlake/helpers/e2ehelper"
- "github.com/apache/incubator-devlake/plugins/bitbucket/impl"
- "github.com/apache/incubator-devlake/plugins/bitbucket/models"
- "github.com/apache/incubator-devlake/plugins/bitbucket/tasks"
+ "github.com/apache/devlake/core/models/common"
+ "github.com/apache/devlake/core/models/domainlayer/crossdomain"
+ "github.com/apache/devlake/helpers/e2ehelper"
+ "github.com/apache/devlake/plugins/bitbucket/impl"
+ "github.com/apache/devlake/plugins/bitbucket/models"
+ "github.com/apache/devlake/plugins/bitbucket/tasks"
"testing"
)
diff --git a/backend/plugins/bitbucket/e2e/comment_test.go b/backend/plugins/bitbucket/e2e/comment_test.go
index b282de5..79e44df 100644
--- a/backend/plugins/bitbucket/e2e/comment_test.go
+++ b/backend/plugins/bitbucket/e2e/comment_test.go
@@ -20,12 +20,12 @@
import (
"testing"
- "github.com/apache/incubator-devlake/core/models/domainlayer/code"
- "github.com/apache/incubator-devlake/core/models/domainlayer/ticket"
- "github.com/apache/incubator-devlake/helpers/e2ehelper"
- "github.com/apache/incubator-devlake/plugins/bitbucket/impl"
- "github.com/apache/incubator-devlake/plugins/bitbucket/models"
- "github.com/apache/incubator-devlake/plugins/bitbucket/tasks"
+ "github.com/apache/devlake/core/models/domainlayer/code"
+ "github.com/apache/devlake/core/models/domainlayer/ticket"
+ "github.com/apache/devlake/helpers/e2ehelper"
+ "github.com/apache/devlake/plugins/bitbucket/impl"
+ "github.com/apache/devlake/plugins/bitbucket/models"
+ "github.com/apache/devlake/plugins/bitbucket/tasks"
)
func TestCommentDataFlow(t *testing.T) {
diff --git a/backend/plugins/bitbucket/e2e/deployments_test.go b/backend/plugins/bitbucket/e2e/deployments_test.go
index 8d68a0d..ae8699c 100644
--- a/backend/plugins/bitbucket/e2e/deployments_test.go
+++ b/backend/plugins/bitbucket/e2e/deployments_test.go
@@ -20,12 +20,12 @@
import (
"testing"
- "github.com/apache/incubator-devlake/core/models/domainlayer/devops"
+ "github.com/apache/devlake/core/models/domainlayer/devops"
- "github.com/apache/incubator-devlake/helpers/e2ehelper"
- "github.com/apache/incubator-devlake/plugins/bitbucket/impl"
- "github.com/apache/incubator-devlake/plugins/bitbucket/models"
- "github.com/apache/incubator-devlake/plugins/bitbucket/tasks"
+ "github.com/apache/devlake/helpers/e2ehelper"
+ "github.com/apache/devlake/plugins/bitbucket/impl"
+ "github.com/apache/devlake/plugins/bitbucket/models"
+ "github.com/apache/devlake/plugins/bitbucket/tasks"
)
func TestDeloymentsDataFlow(t *testing.T) {
diff --git a/backend/plugins/bitbucket/e2e/issue_test.go b/backend/plugins/bitbucket/e2e/issue_test.go
index 2013e62..ea4fb60 100644
--- a/backend/plugins/bitbucket/e2e/issue_test.go
+++ b/backend/plugins/bitbucket/e2e/issue_test.go
@@ -20,12 +20,12 @@
import (
"testing"
- "github.com/apache/incubator-devlake/core/models/common"
- "github.com/apache/incubator-devlake/core/models/domainlayer/ticket"
- "github.com/apache/incubator-devlake/helpers/e2ehelper"
- "github.com/apache/incubator-devlake/plugins/bitbucket/impl"
- "github.com/apache/incubator-devlake/plugins/bitbucket/models"
- "github.com/apache/incubator-devlake/plugins/bitbucket/tasks"
+ "github.com/apache/devlake/core/models/common"
+ "github.com/apache/devlake/core/models/domainlayer/ticket"
+ "github.com/apache/devlake/helpers/e2ehelper"
+ "github.com/apache/devlake/plugins/bitbucket/impl"
+ "github.com/apache/devlake/plugins/bitbucket/models"
+ "github.com/apache/devlake/plugins/bitbucket/tasks"
)
func TestIssueDataFlow(t *testing.T) {
diff --git a/backend/plugins/bitbucket/e2e/pipeline_steps_test.go b/backend/plugins/bitbucket/e2e/pipeline_steps_test.go
index 85fa31d..0880fd6 100644
--- a/backend/plugins/bitbucket/e2e/pipeline_steps_test.go
+++ b/backend/plugins/bitbucket/e2e/pipeline_steps_test.go
@@ -20,12 +20,12 @@
import (
"testing"
- "github.com/apache/incubator-devlake/core/models/domainlayer/devops"
- "github.com/apache/incubator-devlake/helpers/e2ehelper"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/bitbucket/impl"
- "github.com/apache/incubator-devlake/plugins/bitbucket/models"
- "github.com/apache/incubator-devlake/plugins/bitbucket/tasks"
+ "github.com/apache/devlake/core/models/domainlayer/devops"
+ "github.com/apache/devlake/helpers/e2ehelper"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/bitbucket/impl"
+ "github.com/apache/devlake/plugins/bitbucket/models"
+ "github.com/apache/devlake/plugins/bitbucket/tasks"
)
func TestBitbucketPipelineStepsDataFlow(t *testing.T) {
diff --git a/backend/plugins/bitbucket/e2e/pipelines_test.go b/backend/plugins/bitbucket/e2e/pipelines_test.go
index 8cffa56..91cd3e4 100644
--- a/backend/plugins/bitbucket/e2e/pipelines_test.go
+++ b/backend/plugins/bitbucket/e2e/pipelines_test.go
@@ -20,13 +20,13 @@
import (
"testing"
- "github.com/apache/incubator-devlake/core/models/domainlayer/devops"
+ "github.com/apache/devlake/core/models/domainlayer/devops"
- "github.com/apache/incubator-devlake/helpers/e2ehelper"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/bitbucket/impl"
- "github.com/apache/incubator-devlake/plugins/bitbucket/models"
- "github.com/apache/incubator-devlake/plugins/bitbucket/tasks"
+ "github.com/apache/devlake/helpers/e2ehelper"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/bitbucket/impl"
+ "github.com/apache/devlake/plugins/bitbucket/models"
+ "github.com/apache/devlake/plugins/bitbucket/tasks"
)
func TestBitbucketPipelineDataFlow(t *testing.T) {
diff --git a/backend/plugins/bitbucket/e2e/pr_commit_test.go b/backend/plugins/bitbucket/e2e/pr_commit_test.go
index 8ab43f7..5075039 100644
--- a/backend/plugins/bitbucket/e2e/pr_commit_test.go
+++ b/backend/plugins/bitbucket/e2e/pr_commit_test.go
@@ -18,12 +18,12 @@
package e2e
import (
- "github.com/apache/incubator-devlake/core/models/common"
- "github.com/apache/incubator-devlake/core/models/domainlayer/code"
- "github.com/apache/incubator-devlake/helpers/e2ehelper"
- "github.com/apache/incubator-devlake/plugins/bitbucket/impl"
- "github.com/apache/incubator-devlake/plugins/bitbucket/models"
- "github.com/apache/incubator-devlake/plugins/bitbucket/tasks"
+ "github.com/apache/devlake/core/models/common"
+ "github.com/apache/devlake/core/models/domainlayer/code"
+ "github.com/apache/devlake/helpers/e2ehelper"
+ "github.com/apache/devlake/plugins/bitbucket/impl"
+ "github.com/apache/devlake/plugins/bitbucket/models"
+ "github.com/apache/devlake/plugins/bitbucket/tasks"
"testing"
)
diff --git a/backend/plugins/bitbucket/e2e/pr_test.go b/backend/plugins/bitbucket/e2e/pr_test.go
index 5c250f0..f84cdcd 100644
--- a/backend/plugins/bitbucket/e2e/pr_test.go
+++ b/backend/plugins/bitbucket/e2e/pr_test.go
@@ -20,11 +20,11 @@
import (
"testing"
- "github.com/apache/incubator-devlake/core/models/domainlayer/code"
- "github.com/apache/incubator-devlake/helpers/e2ehelper"
- "github.com/apache/incubator-devlake/plugins/bitbucket/impl"
- "github.com/apache/incubator-devlake/plugins/bitbucket/models"
- "github.com/apache/incubator-devlake/plugins/bitbucket/tasks"
+ "github.com/apache/devlake/core/models/domainlayer/code"
+ "github.com/apache/devlake/helpers/e2ehelper"
+ "github.com/apache/devlake/plugins/bitbucket/impl"
+ "github.com/apache/devlake/plugins/bitbucket/models"
+ "github.com/apache/devlake/plugins/bitbucket/tasks"
)
func TestPrDataFlow(t *testing.T) {
diff --git a/backend/plugins/bitbucket/e2e/repo_test.go b/backend/plugins/bitbucket/e2e/repo_test.go
index abc7646..8c286aa 100644
--- a/backend/plugins/bitbucket/e2e/repo_test.go
+++ b/backend/plugins/bitbucket/e2e/repo_test.go
@@ -21,15 +21,15 @@
"encoding/json"
"testing"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/domainlayer/code"
- "github.com/apache/incubator-devlake/core/models/domainlayer/devops"
- "github.com/apache/incubator-devlake/core/models/domainlayer/ticket"
- "github.com/apache/incubator-devlake/helpers/e2ehelper"
- "github.com/apache/incubator-devlake/helpers/pluginhelper"
- "github.com/apache/incubator-devlake/plugins/bitbucket/impl"
- "github.com/apache/incubator-devlake/plugins/bitbucket/models"
- "github.com/apache/incubator-devlake/plugins/bitbucket/tasks"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/domainlayer/code"
+ "github.com/apache/devlake/core/models/domainlayer/devops"
+ "github.com/apache/devlake/core/models/domainlayer/ticket"
+ "github.com/apache/devlake/helpers/e2ehelper"
+ "github.com/apache/devlake/helpers/pluginhelper"
+ "github.com/apache/devlake/plugins/bitbucket/impl"
+ "github.com/apache/devlake/plugins/bitbucket/models"
+ "github.com/apache/devlake/plugins/bitbucket/tasks"
"github.com/stretchr/testify/assert"
)
diff --git a/backend/plugins/bitbucket/impl/impl.go b/backend/plugins/bitbucket/impl/impl.go
index 051e9b7..77cb955 100644
--- a/backend/plugins/bitbucket/impl/impl.go
+++ b/backend/plugins/bitbucket/impl/impl.go
@@ -20,17 +20,17 @@
import (
"fmt"
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- coreModels "github.com/apache/incubator-devlake/core/models"
- "github.com/apache/incubator-devlake/core/models/domainlayer/devops"
- "github.com/apache/incubator-devlake/core/plugin"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/bitbucket/api"
- "github.com/apache/incubator-devlake/plugins/bitbucket/models"
- "github.com/apache/incubator-devlake/plugins/bitbucket/models/migrationscripts"
- "github.com/apache/incubator-devlake/plugins/bitbucket/tasks"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ coreModels "github.com/apache/devlake/core/models"
+ "github.com/apache/devlake/core/models/domainlayer/devops"
+ "github.com/apache/devlake/core/plugin"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/bitbucket/api"
+ "github.com/apache/devlake/plugins/bitbucket/models"
+ "github.com/apache/devlake/plugins/bitbucket/models/migrationscripts"
+ "github.com/apache/devlake/plugins/bitbucket/tasks"
)
var _ interface {
@@ -182,7 +182,7 @@
}
func (p Bitbucket) RootPkgPath() string {
- return "github.com/apache/incubator-devlake/plugins/bitbucket/" // the "/" fixes an issue where records from "bitbucket_server" are counted as "bitbucket" records and vice versa
+ return "github.com/apache/devlake/plugins/bitbucket/" // the "/" fixes an issue where records from "bitbucket_server" are counted as "bitbucket" records and vice versa
}
func (p Bitbucket) MigrationScripts() []plugin.MigrationScript {
diff --git a/backend/plugins/bitbucket/models/account.go b/backend/plugins/bitbucket/models/account.go
index e4911ee..7bd0094 100644
--- a/backend/plugins/bitbucket/models/account.go
+++ b/backend/plugins/bitbucket/models/account.go
@@ -18,7 +18,7 @@
package models
import (
- "github.com/apache/incubator-devlake/core/models/common"
+ "github.com/apache/devlake/core/models/common"
)
type BitbucketAccount struct {
diff --git a/backend/plugins/bitbucket/models/commit.go b/backend/plugins/bitbucket/models/commit.go
index abcc4f8..b3e7de0 100644
--- a/backend/plugins/bitbucket/models/commit.go
+++ b/backend/plugins/bitbucket/models/commit.go
@@ -18,7 +18,7 @@
package models
import (
- "github.com/apache/incubator-devlake/core/models/common"
+ "github.com/apache/devlake/core/models/common"
"time"
)
diff --git a/backend/plugins/bitbucket/models/connection.go b/backend/plugins/bitbucket/models/connection.go
index 3396abe..762225c 100644
--- a/backend/plugins/bitbucket/models/connection.go
+++ b/backend/plugins/bitbucket/models/connection.go
@@ -20,9 +20,9 @@
import (
"net/http"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
)
var _ plugin.ApiConnection = (*BitbucketConnection)(nil)
diff --git a/backend/plugins/bitbucket/models/connection_test.go b/backend/plugins/bitbucket/models/connection_test.go
index e11f238..17d40f2 100644
--- a/backend/plugins/bitbucket/models/connection_test.go
+++ b/backend/plugins/bitbucket/models/connection_test.go
@@ -21,7 +21,7 @@
"net/http"
"testing"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
"github.com/stretchr/testify/assert"
)
diff --git a/backend/plugins/bitbucket/models/deployment.go b/backend/plugins/bitbucket/models/deployment.go
index 6eb0425..bf884d6 100644
--- a/backend/plugins/bitbucket/models/deployment.go
+++ b/backend/plugins/bitbucket/models/deployment.go
@@ -18,7 +18,7 @@
package models
import (
- "github.com/apache/incubator-devlake/core/models/common"
+ "github.com/apache/devlake/core/models/common"
"time"
)
diff --git a/backend/plugins/bitbucket/models/issue.go b/backend/plugins/bitbucket/models/issue.go
index c24fbf1..6613c4b 100644
--- a/backend/plugins/bitbucket/models/issue.go
+++ b/backend/plugins/bitbucket/models/issue.go
@@ -20,7 +20,7 @@
import (
"time"
- "github.com/apache/incubator-devlake/core/models/common"
+ "github.com/apache/devlake/core/models/common"
)
type BitbucketIssue struct {
diff --git a/backend/plugins/bitbucket/models/issue_comment.go b/backend/plugins/bitbucket/models/issue_comment.go
index 4cae0e2..a51e3e1 100644
--- a/backend/plugins/bitbucket/models/issue_comment.go
+++ b/backend/plugins/bitbucket/models/issue_comment.go
@@ -18,7 +18,7 @@
package models
import (
- "github.com/apache/incubator-devlake/core/models/common"
+ "github.com/apache/devlake/core/models/common"
"time"
)
diff --git a/backend/plugins/bitbucket/models/migrationscripts/20220803_add_init_tables.go b/backend/plugins/bitbucket/models/migrationscripts/20220803_add_init_tables.go
index 63fe569..980f342 100644
--- a/backend/plugins/bitbucket/models/migrationscripts/20220803_add_init_tables.go
+++ b/backend/plugins/bitbucket/models/migrationscripts/20220803_add_init_tables.go
@@ -18,10 +18,10 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/helpers/migrationhelper"
- "github.com/apache/incubator-devlake/plugins/bitbucket/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/helpers/migrationhelper"
+ "github.com/apache/devlake/plugins/bitbucket/models/migrationscripts/archived"
)
type addInitTables20220803 struct{}
diff --git a/backend/plugins/bitbucket/models/migrationscripts/20220914_add_pipeline_tables.go b/backend/plugins/bitbucket/models/migrationscripts/20220914_add_pipeline_tables.go
index fddfa75..8e8ffab 100644
--- a/backend/plugins/bitbucket/models/migrationscripts/20220914_add_pipeline_tables.go
+++ b/backend/plugins/bitbucket/models/migrationscripts/20220914_add_pipeline_tables.go
@@ -18,9 +18,9 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/plugins/bitbucket/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/plugins/bitbucket/models/migrationscripts/archived"
)
type addPipeline20220914 struct{}
diff --git a/backend/plugins/bitbucket/models/migrationscripts/20221008_add_prcommits_tables.go b/backend/plugins/bitbucket/models/migrationscripts/20221008_add_prcommits_tables.go
index a71c938..70af109 100644
--- a/backend/plugins/bitbucket/models/migrationscripts/20221008_add_prcommits_tables.go
+++ b/backend/plugins/bitbucket/models/migrationscripts/20221008_add_prcommits_tables.go
@@ -18,9 +18,9 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/plugins/bitbucket/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/plugins/bitbucket/models/migrationscripts/archived"
)
type addPrCommits20221008 struct{}
diff --git a/backend/plugins/bitbucket/models/migrationscripts/20221013_add_deployment_tables.go b/backend/plugins/bitbucket/models/migrationscripts/20221013_add_deployment_tables.go
index d06e8bc..410ac51 100644
--- a/backend/plugins/bitbucket/models/migrationscripts/20221013_add_deployment_tables.go
+++ b/backend/plugins/bitbucket/models/migrationscripts/20221013_add_deployment_tables.go
@@ -18,9 +18,9 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/plugins/bitbucket/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/plugins/bitbucket/models/migrationscripts/archived"
)
type addDeployment20221013 struct{}
diff --git a/backend/plugins/bitbucket/models/migrationscripts/20221014_add_RepoId_CommitSha_field_pipeline_tables.go b/backend/plugins/bitbucket/models/migrationscripts/20221014_add_RepoId_CommitSha_field_pipeline_tables.go
index 848e758..e4f7de6 100644
--- a/backend/plugins/bitbucket/models/migrationscripts/20221014_add_RepoId_CommitSha_field_pipeline_tables.go
+++ b/backend/plugins/bitbucket/models/migrationscripts/20221014_add_RepoId_CommitSha_field_pipeline_tables.go
@@ -18,8 +18,8 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
)
type bitbucketPipeline20221014 struct {
diff --git a/backend/plugins/bitbucket/models/migrationscripts/20230206_add_scope_and_transformation.go b/backend/plugins/bitbucket/models/migrationscripts/20230206_add_scope_and_transformation.go
index 3a94a9b..180c0c1 100644
--- a/backend/plugins/bitbucket/models/migrationscripts/20230206_add_scope_and_transformation.go
+++ b/backend/plugins/bitbucket/models/migrationscripts/20230206_add_scope_and_transformation.go
@@ -18,11 +18,11 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
- "github.com/apache/incubator-devlake/helpers/migrationhelper"
- archivedModel "github.com/apache/incubator-devlake/plugins/bitbucket/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/helpers/migrationhelper"
+ archivedModel "github.com/apache/devlake/plugins/bitbucket/models/migrationscripts/archived"
"time"
)
diff --git a/backend/plugins/bitbucket/models/migrationscripts/20230215_add_pipeline_step.go b/backend/plugins/bitbucket/models/migrationscripts/20230215_add_pipeline_step.go
index 43bb4af..68ec5f8 100644
--- a/backend/plugins/bitbucket/models/migrationscripts/20230215_add_pipeline_step.go
+++ b/backend/plugins/bitbucket/models/migrationscripts/20230215_add_pipeline_step.go
@@ -18,10 +18,10 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/helpers/migrationhelper"
- "github.com/apache/incubator-devlake/plugins/bitbucket/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/helpers/migrationhelper"
+ "github.com/apache/devlake/plugins/bitbucket/models/migrationscripts/archived"
)
type BitbucketDeployment20230215 struct {
diff --git a/backend/plugins/bitbucket/models/migrationscripts/20230322_add_connection_id_to_transformation_rules.go b/backend/plugins/bitbucket/models/migrationscripts/20230322_add_connection_id_to_transformation_rules.go
index d418c80..5e02e3f 100644
--- a/backend/plugins/bitbucket/models/migrationscripts/20230322_add_connection_id_to_transformation_rules.go
+++ b/backend/plugins/bitbucket/models/migrationscripts/20230322_add_connection_id_to_transformation_rules.go
@@ -18,10 +18,10 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/helpers/migrationhelper"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/helpers/migrationhelper"
)
type addConnectionIdToTransformationRule struct{}
diff --git a/backend/plugins/bitbucket/models/migrationscripts/20230410_add_type_env_to_pipeline_and_step.go b/backend/plugins/bitbucket/models/migrationscripts/20230410_add_type_env_to_pipeline_and_step.go
index 3465df2..b8892cb 100644
--- a/backend/plugins/bitbucket/models/migrationscripts/20230410_add_type_env_to_pipeline_and_step.go
+++ b/backend/plugins/bitbucket/models/migrationscripts/20230410_add_type_env_to_pipeline_and_step.go
@@ -18,9 +18,9 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/helpers/migrationhelper"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/helpers/migrationhelper"
)
type addTypeEnvToPipelineAndStep struct{}
diff --git a/backend/plugins/bitbucket/models/migrationscripts/20230411_add_RepoId_field_pipelinestep_tables.go b/backend/plugins/bitbucket/models/migrationscripts/20230411_add_RepoId_field_pipelinestep_tables.go
index 6cf78f7..4593dd8 100644
--- a/backend/plugins/bitbucket/models/migrationscripts/20230411_add_RepoId_field_pipelinestep_tables.go
+++ b/backend/plugins/bitbucket/models/migrationscripts/20230411_add_RepoId_field_pipelinestep_tables.go
@@ -18,9 +18,9 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/plugins/bitbucket/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/plugins/bitbucket/models/migrationscripts/archived"
)
type addRepoIdField20230411 struct{}
diff --git a/backend/plugins/bitbucket/models/migrationscripts/20230417_add_repo_id_to_pr.go b/backend/plugins/bitbucket/models/migrationscripts/20230417_add_repo_id_to_pr.go
index 0bf034a..5b70afe 100644
--- a/backend/plugins/bitbucket/models/migrationscripts/20230417_add_repo_id_to_pr.go
+++ b/backend/plugins/bitbucket/models/migrationscripts/20230417_add_repo_id_to_pr.go
@@ -20,10 +20,10 @@
import (
"time"
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
- "github.com/apache/incubator-devlake/helpers/migrationhelper"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/helpers/migrationhelper"
)
type addRepoIdToPr struct{}
diff --git a/backend/plugins/bitbucket/models/migrationscripts/20230420_add_pr_commit_author_info.go b/backend/plugins/bitbucket/models/migrationscripts/20230420_add_pr_commit_author_info.go
index de01ddb..e92a4b7 100644
--- a/backend/plugins/bitbucket/models/migrationscripts/20230420_add_pr_commit_author_info.go
+++ b/backend/plugins/bitbucket/models/migrationscripts/20230420_add_pr_commit_author_info.go
@@ -20,10 +20,10 @@
import (
"time"
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/migrationhelper"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/migrationhelper"
)
var _ plugin.MigrationScript = (*addBitbucketCommitAuthorInfo)(nil)
diff --git a/backend/plugins/bitbucket/models/migrationscripts/20230525_scope_config.go b/backend/plugins/bitbucket/models/migrationscripts/20230525_scope_config.go
index 6b4e611..b27e45e 100644
--- a/backend/plugins/bitbucket/models/migrationscripts/20230525_scope_config.go
+++ b/backend/plugins/bitbucket/models/migrationscripts/20230525_scope_config.go
@@ -18,9 +18,9 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/helpers/migrationhelper"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/helpers/migrationhelper"
)
type renameTr2ScopeConfig struct {
diff --git a/backend/plugins/bitbucket/models/migrationscripts/20230630_add_raw_param_table_for_scopes.go b/backend/plugins/bitbucket/models/migrationscripts/20230630_add_raw_param_table_for_scopes.go
index 95a84b5..aa6513a 100644
--- a/backend/plugins/bitbucket/models/migrationscripts/20230630_add_raw_param_table_for_scopes.go
+++ b/backend/plugins/bitbucket/models/migrationscripts/20230630_add_raw_param_table_for_scopes.go
@@ -21,11 +21,11 @@
"encoding/json"
"fmt"
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/migrationhelper"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/migrationhelper"
)
var _ plugin.MigrationScript = (*addRawParamTableForScope)(nil)
diff --git a/backend/plugins/bitbucket/models/migrationscripts/20231025_add_build_number_to_pipelines.go b/backend/plugins/bitbucket/models/migrationscripts/20231025_add_build_number_to_pipelines.go
index e6447b6..57c8c20 100644
--- a/backend/plugins/bitbucket/models/migrationscripts/20231025_add_build_number_to_pipelines.go
+++ b/backend/plugins/bitbucket/models/migrationscripts/20231025_add_build_number_to_pipelines.go
@@ -18,9 +18,9 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
)
var _ plugin.MigrationScript = (*addBuildNumberToPipelines)(nil)
diff --git a/backend/plugins/bitbucket/models/migrationscripts/20231123_add_primary_key_for_bitbucket_pipeline_steps.go b/backend/plugins/bitbucket/models/migrationscripts/20231123_add_primary_key_for_bitbucket_pipeline_steps.go
index 14db9ac..93e6f22 100644
--- a/backend/plugins/bitbucket/models/migrationscripts/20231123_add_primary_key_for_bitbucket_pipeline_steps.go
+++ b/backend/plugins/bitbucket/models/migrationscripts/20231123_add_primary_key_for_bitbucket_pipeline_steps.go
@@ -18,10 +18,10 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
- "github.com/apache/incubator-devlake/core/plugin"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/plugin"
"time"
)
diff --git a/backend/plugins/bitbucket/models/migrationscripts/20240717_add_merge_by_to_pr.go b/backend/plugins/bitbucket/models/migrationscripts/20240717_add_merge_by_to_pr.go
index caeb948..dd5f2f9 100644
--- a/backend/plugins/bitbucket/models/migrationscripts/20240717_add_merge_by_to_pr.go
+++ b/backend/plugins/bitbucket/models/migrationscripts/20240717_add_merge_by_to_pr.go
@@ -18,9 +18,9 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
)
var _ plugin.MigrationScript = (*addMergedByToPr)(nil)
diff --git a/backend/plugins/bitbucket/models/migrationscripts/20240813_change_issue_component_type.go b/backend/plugins/bitbucket/models/migrationscripts/20240813_change_issue_component_type.go
index 902fa08..730f6f9 100644
--- a/backend/plugins/bitbucket/models/migrationscripts/20240813_change_issue_component_type.go
+++ b/backend/plugins/bitbucket/models/migrationscripts/20240813_change_issue_component_type.go
@@ -18,9 +18,9 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
)
var _ plugin.MigrationScript = (*changeIssueComponentType)(nil)
diff --git a/backend/plugins/bitbucket/models/migrationscripts/20251001_add_api_token_auth.go b/backend/plugins/bitbucket/models/migrationscripts/20251001_add_api_token_auth.go
index 9f746d7..89154f7 100644
--- a/backend/plugins/bitbucket/models/migrationscripts/20251001_add_api_token_auth.go
+++ b/backend/plugins/bitbucket/models/migrationscripts/20251001_add_api_token_auth.go
@@ -18,10 +18,10 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/migrationhelper"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/migrationhelper"
)
var _ plugin.MigrationScript = (*addApiTokenAuth)(nil)
diff --git a/backend/plugins/bitbucket/models/migrationscripts/20251226_add_pr_reviewer_table.go b/backend/plugins/bitbucket/models/migrationscripts/20251226_add_pr_reviewer_table.go
index c5da610..0720031 100644
--- a/backend/plugins/bitbucket/models/migrationscripts/20251226_add_pr_reviewer_table.go
+++ b/backend/plugins/bitbucket/models/migrationscripts/20251226_add_pr_reviewer_table.go
@@ -20,10 +20,10 @@
import (
"time"
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
- "github.com/apache/incubator-devlake/core/plugin"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/plugin"
)
var _ plugin.MigrationScript = (*addPrReviewerTable)(nil)
diff --git a/backend/plugins/bitbucket/models/migrationscripts/archived/account.go b/backend/plugins/bitbucket/models/migrationscripts/archived/account.go
index 937e1a7..60c09e3 100644
--- a/backend/plugins/bitbucket/models/migrationscripts/archived/account.go
+++ b/backend/plugins/bitbucket/models/migrationscripts/archived/account.go
@@ -18,7 +18,7 @@
package archived
import (
- "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/models/migrationscripts/archived"
)
type BitbucketAccount struct {
diff --git a/backend/plugins/bitbucket/models/migrationscripts/archived/commit.go b/backend/plugins/bitbucket/models/migrationscripts/archived/commit.go
index 8508683..59a675f 100644
--- a/backend/plugins/bitbucket/models/migrationscripts/archived/commit.go
+++ b/backend/plugins/bitbucket/models/migrationscripts/archived/commit.go
@@ -18,7 +18,7 @@
package archived
import (
- "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/models/migrationscripts/archived"
"time"
)
diff --git a/backend/plugins/bitbucket/models/migrationscripts/archived/connection.go b/backend/plugins/bitbucket/models/migrationscripts/archived/connection.go
index ce493b3..eca1fdf 100644
--- a/backend/plugins/bitbucket/models/migrationscripts/archived/connection.go
+++ b/backend/plugins/bitbucket/models/migrationscripts/archived/connection.go
@@ -20,7 +20,7 @@
import (
"encoding/base64"
"fmt"
- "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/models/migrationscripts/archived"
)
type BasicAuth struct {
diff --git a/backend/plugins/bitbucket/models/migrationscripts/archived/deployment.go b/backend/plugins/bitbucket/models/migrationscripts/archived/deployment.go
index a2fb1c4..11134d6 100644
--- a/backend/plugins/bitbucket/models/migrationscripts/archived/deployment.go
+++ b/backend/plugins/bitbucket/models/migrationscripts/archived/deployment.go
@@ -18,7 +18,7 @@
package archived
import (
- "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/models/migrationscripts/archived"
"time"
)
diff --git a/backend/plugins/bitbucket/models/migrationscripts/archived/issue.go b/backend/plugins/bitbucket/models/migrationscripts/archived/issue.go
index 0e8da5f..fa29b85 100644
--- a/backend/plugins/bitbucket/models/migrationscripts/archived/issue.go
+++ b/backend/plugins/bitbucket/models/migrationscripts/archived/issue.go
@@ -18,7 +18,7 @@
package archived
import (
- "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/models/migrationscripts/archived"
"time"
)
diff --git a/backend/plugins/bitbucket/models/migrationscripts/archived/issue_comment.go b/backend/plugins/bitbucket/models/migrationscripts/archived/issue_comment.go
index 9de89b5..b442395 100644
--- a/backend/plugins/bitbucket/models/migrationscripts/archived/issue_comment.go
+++ b/backend/plugins/bitbucket/models/migrationscripts/archived/issue_comment.go
@@ -18,7 +18,7 @@
package archived
import (
- "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/models/migrationscripts/archived"
"time"
)
diff --git a/backend/plugins/bitbucket/models/migrationscripts/archived/pipeline.go b/backend/plugins/bitbucket/models/migrationscripts/archived/pipeline.go
index 6e67b96..5fd97b9 100644
--- a/backend/plugins/bitbucket/models/migrationscripts/archived/pipeline.go
+++ b/backend/plugins/bitbucket/models/migrationscripts/archived/pipeline.go
@@ -18,7 +18,7 @@
package archived
import (
- "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/models/migrationscripts/archived"
"time"
)
diff --git a/backend/plugins/bitbucket/models/migrationscripts/archived/pipeline_step.go b/backend/plugins/bitbucket/models/migrationscripts/archived/pipeline_step.go
index 8fca5e2..33cb682 100644
--- a/backend/plugins/bitbucket/models/migrationscripts/archived/pipeline_step.go
+++ b/backend/plugins/bitbucket/models/migrationscripts/archived/pipeline_step.go
@@ -20,7 +20,7 @@
import (
"time"
- "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/models/migrationscripts/archived"
)
type BitbucketPipelineStep struct {
diff --git a/backend/plugins/bitbucket/models/migrationscripts/archived/pr.go b/backend/plugins/bitbucket/models/migrationscripts/archived/pr.go
index d04d5ed..d530d65 100644
--- a/backend/plugins/bitbucket/models/migrationscripts/archived/pr.go
+++ b/backend/plugins/bitbucket/models/migrationscripts/archived/pr.go
@@ -18,7 +18,7 @@
package archived
import (
- "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/models/migrationscripts/archived"
"time"
)
diff --git a/backend/plugins/bitbucket/models/migrationscripts/archived/pr_comment.go b/backend/plugins/bitbucket/models/migrationscripts/archived/pr_comment.go
index 5966ad5..901fa01 100644
--- a/backend/plugins/bitbucket/models/migrationscripts/archived/pr_comment.go
+++ b/backend/plugins/bitbucket/models/migrationscripts/archived/pr_comment.go
@@ -18,7 +18,7 @@
package archived
import (
- "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/models/migrationscripts/archived"
"time"
)
diff --git a/backend/plugins/bitbucket/models/migrationscripts/archived/pr_commit.go b/backend/plugins/bitbucket/models/migrationscripts/archived/pr_commit.go
index ba83cf3..d763e61 100644
--- a/backend/plugins/bitbucket/models/migrationscripts/archived/pr_commit.go
+++ b/backend/plugins/bitbucket/models/migrationscripts/archived/pr_commit.go
@@ -18,7 +18,7 @@
package archived
import (
- "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/models/migrationscripts/archived"
)
type BitbucketPrCommit struct {
diff --git a/backend/plugins/bitbucket/models/migrationscripts/archived/repo.go b/backend/plugins/bitbucket/models/migrationscripts/archived/repo.go
index 055acd7..7a954fa 100644
--- a/backend/plugins/bitbucket/models/migrationscripts/archived/repo.go
+++ b/backend/plugins/bitbucket/models/migrationscripts/archived/repo.go
@@ -18,7 +18,7 @@
package archived
import (
- "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/models/migrationscripts/archived"
"time"
)
diff --git a/backend/plugins/bitbucket/models/migrationscripts/archived/repo_commit.go b/backend/plugins/bitbucket/models/migrationscripts/archived/repo_commit.go
index 0274f11..ae6c6ff 100644
--- a/backend/plugins/bitbucket/models/migrationscripts/archived/repo_commit.go
+++ b/backend/plugins/bitbucket/models/migrationscripts/archived/repo_commit.go
@@ -18,7 +18,7 @@
package archived
import (
- "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/models/migrationscripts/archived"
)
type BitbucketRepoCommit struct {
diff --git a/backend/plugins/bitbucket/models/migrationscripts/archived/transformation_rule.go b/backend/plugins/bitbucket/models/migrationscripts/archived/transformation_rule.go
index 253281a..00b1868 100644
--- a/backend/plugins/bitbucket/models/migrationscripts/archived/transformation_rule.go
+++ b/backend/plugins/bitbucket/models/migrationscripts/archived/transformation_rule.go
@@ -20,7 +20,7 @@
import (
"encoding/json"
- "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/models/migrationscripts/archived"
)
type BitbucketTransformationRule struct {
diff --git a/backend/plugins/bitbucket/models/migrationscripts/register.go b/backend/plugins/bitbucket/models/migrationscripts/register.go
index e8a31d2..d8d7125 100644
--- a/backend/plugins/bitbucket/models/migrationscripts/register.go
+++ b/backend/plugins/bitbucket/models/migrationscripts/register.go
@@ -18,7 +18,7 @@
package migrationscripts
import (
- plugin "github.com/apache/incubator-devlake/core/plugin"
+ plugin "github.com/apache/devlake/core/plugin"
)
// All return all the migration scripts
diff --git a/backend/plugins/bitbucket/models/pipeline.go b/backend/plugins/bitbucket/models/pipeline.go
index 57e40e3..bff7655 100644
--- a/backend/plugins/bitbucket/models/pipeline.go
+++ b/backend/plugins/bitbucket/models/pipeline.go
@@ -20,7 +20,7 @@
import (
"time"
- "github.com/apache/incubator-devlake/core/models/common"
+ "github.com/apache/devlake/core/models/common"
)
type BitbucketPipeline struct {
diff --git a/backend/plugins/bitbucket/models/pipeline_step.go b/backend/plugins/bitbucket/models/pipeline_step.go
index 7a5d10e..854717e 100644
--- a/backend/plugins/bitbucket/models/pipeline_step.go
+++ b/backend/plugins/bitbucket/models/pipeline_step.go
@@ -20,7 +20,7 @@
import (
"time"
- "github.com/apache/incubator-devlake/core/models/common"
+ "github.com/apache/devlake/core/models/common"
)
type BitbucketPipelineStep struct {
diff --git a/backend/plugins/bitbucket/models/pr.go b/backend/plugins/bitbucket/models/pr.go
index 33ddc24..2cfa418 100644
--- a/backend/plugins/bitbucket/models/pr.go
+++ b/backend/plugins/bitbucket/models/pr.go
@@ -20,7 +20,7 @@
import (
"time"
- "github.com/apache/incubator-devlake/core/models/common"
+ "github.com/apache/devlake/core/models/common"
)
type BitbucketPullRequest struct {
diff --git a/backend/plugins/bitbucket/models/pr_comment.go b/backend/plugins/bitbucket/models/pr_comment.go
index ce2b837..df32a65 100644
--- a/backend/plugins/bitbucket/models/pr_comment.go
+++ b/backend/plugins/bitbucket/models/pr_comment.go
@@ -20,7 +20,7 @@
import (
"time"
- "github.com/apache/incubator-devlake/core/models/common"
+ "github.com/apache/devlake/core/models/common"
)
type BitbucketPrComment struct {
diff --git a/backend/plugins/bitbucket/models/pr_commit.go b/backend/plugins/bitbucket/models/pr_commit.go
index c14a779..8a0f992 100644
--- a/backend/plugins/bitbucket/models/pr_commit.go
+++ b/backend/plugins/bitbucket/models/pr_commit.go
@@ -18,7 +18,7 @@
package models
import (
- "github.com/apache/incubator-devlake/core/models/common"
+ "github.com/apache/devlake/core/models/common"
"time"
)
diff --git a/backend/plugins/bitbucket/models/pr_reviewer.go b/backend/plugins/bitbucket/models/pr_reviewer.go
index 43df527..5c24c43 100644
--- a/backend/plugins/bitbucket/models/pr_reviewer.go
+++ b/backend/plugins/bitbucket/models/pr_reviewer.go
@@ -20,7 +20,7 @@
import (
"time"
- "github.com/apache/incubator-devlake/core/models/common"
+ "github.com/apache/devlake/core/models/common"
)
type BitbucketPrReviewer struct {
diff --git a/backend/plugins/bitbucket/models/repo.go b/backend/plugins/bitbucket/models/repo.go
index 126990a..b169881 100644
--- a/backend/plugins/bitbucket/models/repo.go
+++ b/backend/plugins/bitbucket/models/repo.go
@@ -20,8 +20,8 @@
import (
"time"
- "github.com/apache/incubator-devlake/core/models/common"
- "github.com/apache/incubator-devlake/core/plugin"
+ "github.com/apache/devlake/core/models/common"
+ "github.com/apache/devlake/core/plugin"
)
var _ plugin.ToolLayerScope = (*BitbucketRepo)(nil)
diff --git a/backend/plugins/bitbucket/models/repo_commit.go b/backend/plugins/bitbucket/models/repo_commit.go
index f67a4cc..c9dcd4a 100644
--- a/backend/plugins/bitbucket/models/repo_commit.go
+++ b/backend/plugins/bitbucket/models/repo_commit.go
@@ -18,7 +18,7 @@
package models
import (
- "github.com/apache/incubator-devlake/core/models/common"
+ "github.com/apache/devlake/core/models/common"
)
type BitbucketRepoCommit struct {
diff --git a/backend/plugins/bitbucket/models/scope_config.go b/backend/plugins/bitbucket/models/scope_config.go
index 207485a..703e960 100644
--- a/backend/plugins/bitbucket/models/scope_config.go
+++ b/backend/plugins/bitbucket/models/scope_config.go
@@ -18,7 +18,7 @@
package models
import (
- "github.com/apache/incubator-devlake/core/models/common"
+ "github.com/apache/devlake/core/models/common"
"gorm.io/datatypes"
)
diff --git a/backend/plugins/bitbucket/tasks/account_convertor.go b/backend/plugins/bitbucket/tasks/account_convertor.go
index 19f013f..b38d9db 100644
--- a/backend/plugins/bitbucket/tasks/account_convertor.go
+++ b/backend/plugins/bitbucket/tasks/account_convertor.go
@@ -20,14 +20,14 @@
import (
"reflect"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/domainlayer"
- "github.com/apache/incubator-devlake/core/models/domainlayer/crossdomain"
- "github.com/apache/incubator-devlake/core/models/domainlayer/didgen"
- plugin "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- bitbucketModels "github.com/apache/incubator-devlake/plugins/bitbucket/models"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/domainlayer"
+ "github.com/apache/devlake/core/models/domainlayer/crossdomain"
+ "github.com/apache/devlake/core/models/domainlayer/didgen"
+ plugin "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ bitbucketModels "github.com/apache/devlake/plugins/bitbucket/models"
)
const RAW_ACCOUNT_TABLE = "bitbucket_api_accounts"
diff --git a/backend/plugins/bitbucket/tasks/account_extractor.go b/backend/plugins/bitbucket/tasks/account_extractor.go
index 49b85fb..70c7956 100644
--- a/backend/plugins/bitbucket/tasks/account_extractor.go
+++ b/backend/plugins/bitbucket/tasks/account_extractor.go
@@ -18,8 +18,8 @@
package tasks
import (
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/plugins/bitbucket/models"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/plugins/bitbucket/models"
"time"
)
diff --git a/backend/plugins/bitbucket/tasks/api_client.go b/backend/plugins/bitbucket/tasks/api_client.go
index bb95635..7cdb045 100644
--- a/backend/plugins/bitbucket/tasks/api_client.go
+++ b/backend/plugins/bitbucket/tasks/api_client.go
@@ -18,10 +18,10 @@
package tasks
import (
- "github.com/apache/incubator-devlake/core/errors"
- plugin "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/bitbucket/models"
+ "github.com/apache/devlake/core/errors"
+ plugin "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/bitbucket/models"
)
func CreateApiClient(taskCtx plugin.TaskContext, connection *models.BitbucketConnection) (*api.ApiAsyncClient, errors.Error) {
diff --git a/backend/plugins/bitbucket/tasks/api_common.go b/backend/plugins/bitbucket/tasks/api_common.go
index ad21c9b..6081e9c 100644
--- a/backend/plugins/bitbucket/tasks/api_common.go
+++ b/backend/plugins/bitbucket/tasks/api_common.go
@@ -26,10 +26,10 @@
"reflect"
"time"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- plugin "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ plugin "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
)
type BitbucketApiParams struct {
diff --git a/backend/plugins/bitbucket/tasks/api_common_test.go b/backend/plugins/bitbucket/tasks/api_common_test.go
index 9d15e52..3fab29f 100644
--- a/backend/plugins/bitbucket/tasks/api_common_test.go
+++ b/backend/plugins/bitbucket/tasks/api_common_test.go
@@ -21,7 +21,7 @@
"net/http"
"testing"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
"github.com/stretchr/testify/assert"
)
diff --git a/backend/plugins/bitbucket/tasks/commit_collector.go b/backend/plugins/bitbucket/tasks/commit_collector.go
index 83931db..c015b88 100644
--- a/backend/plugins/bitbucket/tasks/commit_collector.go
+++ b/backend/plugins/bitbucket/tasks/commit_collector.go
@@ -18,9 +18,9 @@
package tasks
import (
- "github.com/apache/incubator-devlake/core/errors"
- plugin "github.com/apache/incubator-devlake/core/plugin"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/core/errors"
+ plugin "github.com/apache/devlake/core/plugin"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
)
const RAW_COMMIT_TABLE = "bitbucket_api_commits"
diff --git a/backend/plugins/bitbucket/tasks/commit_convertor.go b/backend/plugins/bitbucket/tasks/commit_convertor.go
index 16b2af1..25936c0 100644
--- a/backend/plugins/bitbucket/tasks/commit_convertor.go
+++ b/backend/plugins/bitbucket/tasks/commit_convertor.go
@@ -20,13 +20,13 @@
import (
"reflect"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/domainlayer/code"
- "github.com/apache/incubator-devlake/core/models/domainlayer/didgen"
- plugin "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/bitbucket/models"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/domainlayer/code"
+ "github.com/apache/devlake/core/models/domainlayer/didgen"
+ plugin "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/bitbucket/models"
)
var ConvertCommitsMeta = plugin.SubTaskMeta{
diff --git a/backend/plugins/bitbucket/tasks/commit_extractor.go b/backend/plugins/bitbucket/tasks/commit_extractor.go
index 0020be9..ce84012 100644
--- a/backend/plugins/bitbucket/tasks/commit_extractor.go
+++ b/backend/plugins/bitbucket/tasks/commit_extractor.go
@@ -21,10 +21,10 @@
"encoding/json"
"time"
- "github.com/apache/incubator-devlake/core/errors"
- plugin "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/bitbucket/models"
+ "github.com/apache/devlake/core/errors"
+ plugin "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/bitbucket/models"
)
var ExtractApiCommitsMeta = plugin.SubTaskMeta{
diff --git a/backend/plugins/bitbucket/tasks/deployment_collector.go b/backend/plugins/bitbucket/tasks/deployment_collector.go
index f48526d..76e7819 100644
--- a/backend/plugins/bitbucket/tasks/deployment_collector.go
+++ b/backend/plugins/bitbucket/tasks/deployment_collector.go
@@ -18,9 +18,9 @@
package tasks
import (
- "github.com/apache/incubator-devlake/core/errors"
- plugin "github.com/apache/incubator-devlake/core/plugin"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/core/errors"
+ plugin "github.com/apache/devlake/core/plugin"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
)
const RAW_DEPLOYMENT_TABLE = "bitbucket_api_deployments"
diff --git a/backend/plugins/bitbucket/tasks/deployment_convertor.go b/backend/plugins/bitbucket/tasks/deployment_convertor.go
index 8b2fbbc..15892cd 100644
--- a/backend/plugins/bitbucket/tasks/deployment_convertor.go
+++ b/backend/plugins/bitbucket/tasks/deployment_convertor.go
@@ -22,14 +22,14 @@
"strings"
"time"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/domainlayer"
- "github.com/apache/incubator-devlake/core/models/domainlayer/devops"
- "github.com/apache/incubator-devlake/core/models/domainlayer/didgen"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/bitbucket/models"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/domainlayer"
+ "github.com/apache/devlake/core/models/domainlayer/devops"
+ "github.com/apache/devlake/core/models/domainlayer/didgen"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/bitbucket/models"
)
var ConvertiDeploymentMeta = plugin.SubTaskMeta{
diff --git a/backend/plugins/bitbucket/tasks/deployment_extractor.go b/backend/plugins/bitbucket/tasks/deployment_extractor.go
index f1705db..ba400d9 100644
--- a/backend/plugins/bitbucket/tasks/deployment_extractor.go
+++ b/backend/plugins/bitbucket/tasks/deployment_extractor.go
@@ -21,10 +21,10 @@
"encoding/json"
"time"
- "github.com/apache/incubator-devlake/core/errors"
- plugin "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/bitbucket/models"
+ "github.com/apache/devlake/core/errors"
+ plugin "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/bitbucket/models"
)
type bitbucketApiDeploymentsResponse struct {
diff --git a/backend/plugins/bitbucket/tasks/issue_collector.go b/backend/plugins/bitbucket/tasks/issue_collector.go
index 19bf67e..638a54d 100644
--- a/backend/plugins/bitbucket/tasks/issue_collector.go
+++ b/backend/plugins/bitbucket/tasks/issue_collector.go
@@ -18,9 +18,9 @@
package tasks
import (
- "github.com/apache/incubator-devlake/core/errors"
- plugin "github.com/apache/incubator-devlake/core/plugin"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/core/errors"
+ plugin "github.com/apache/devlake/core/plugin"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
)
const RAW_ISSUE_TABLE = "bitbucket_api_issues"
diff --git a/backend/plugins/bitbucket/tasks/issue_comment_collector.go b/backend/plugins/bitbucket/tasks/issue_comment_collector.go
index 5b1ad5a..b164931 100644
--- a/backend/plugins/bitbucket/tasks/issue_comment_collector.go
+++ b/backend/plugins/bitbucket/tasks/issue_comment_collector.go
@@ -18,9 +18,9 @@
package tasks
import (
- "github.com/apache/incubator-devlake/core/errors"
- plugin "github.com/apache/incubator-devlake/core/plugin"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/core/errors"
+ plugin "github.com/apache/devlake/core/plugin"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
)
const RAW_ISSUE_COMMENTS_TABLE = "bitbucket_api_issue_comments"
diff --git a/backend/plugins/bitbucket/tasks/issue_comment_convertor.go b/backend/plugins/bitbucket/tasks/issue_comment_convertor.go
index 4787dca..4deb222 100644
--- a/backend/plugins/bitbucket/tasks/issue_comment_convertor.go
+++ b/backend/plugins/bitbucket/tasks/issue_comment_convertor.go
@@ -20,14 +20,14 @@
import (
"reflect"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/domainlayer"
- "github.com/apache/incubator-devlake/core/models/domainlayer/didgen"
- "github.com/apache/incubator-devlake/core/models/domainlayer/ticket"
- plugin "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/bitbucket/models"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/domainlayer"
+ "github.com/apache/devlake/core/models/domainlayer/didgen"
+ "github.com/apache/devlake/core/models/domainlayer/ticket"
+ plugin "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/bitbucket/models"
)
var ConvertIssueCommentsMeta = plugin.SubTaskMeta{
diff --git a/backend/plugins/bitbucket/tasks/issue_comment_extractor.go b/backend/plugins/bitbucket/tasks/issue_comment_extractor.go
index 86eaf76..b498ca2 100644
--- a/backend/plugins/bitbucket/tasks/issue_comment_extractor.go
+++ b/backend/plugins/bitbucket/tasks/issue_comment_extractor.go
@@ -21,10 +21,10 @@
"encoding/json"
"time"
- "github.com/apache/incubator-devlake/core/errors"
- plugin "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/bitbucket/models"
+ "github.com/apache/devlake/core/errors"
+ plugin "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/bitbucket/models"
)
type BitbucketIssueCommentsResponse struct {
diff --git a/backend/plugins/bitbucket/tasks/issue_convertor.go b/backend/plugins/bitbucket/tasks/issue_convertor.go
index c5fb4f8..b33a8ae 100644
--- a/backend/plugins/bitbucket/tasks/issue_convertor.go
+++ b/backend/plugins/bitbucket/tasks/issue_convertor.go
@@ -21,14 +21,14 @@
"reflect"
"strconv"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/domainlayer"
- "github.com/apache/incubator-devlake/core/models/domainlayer/didgen"
- "github.com/apache/incubator-devlake/core/models/domainlayer/ticket"
- plugin "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/bitbucket/models"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/domainlayer"
+ "github.com/apache/devlake/core/models/domainlayer/didgen"
+ "github.com/apache/devlake/core/models/domainlayer/ticket"
+ plugin "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/bitbucket/models"
)
var ConvertIssuesMeta = plugin.SubTaskMeta{
diff --git a/backend/plugins/bitbucket/tasks/issue_extractor.go b/backend/plugins/bitbucket/tasks/issue_extractor.go
index ede3ad7..5019b01 100644
--- a/backend/plugins/bitbucket/tasks/issue_extractor.go
+++ b/backend/plugins/bitbucket/tasks/issue_extractor.go
@@ -22,11 +22,11 @@
"strings"
"time"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/domainlayer/ticket"
- plugin "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/bitbucket/models"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/domainlayer/ticket"
+ plugin "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/bitbucket/models"
)
type IssuesResponse struct {
diff --git a/backend/plugins/bitbucket/tasks/pipeline_collector.go b/backend/plugins/bitbucket/tasks/pipeline_collector.go
index c19652e..e1792d7 100644
--- a/backend/plugins/bitbucket/tasks/pipeline_collector.go
+++ b/backend/plugins/bitbucket/tasks/pipeline_collector.go
@@ -18,9 +18,9 @@
package tasks
import (
- "github.com/apache/incubator-devlake/core/errors"
- plugin "github.com/apache/incubator-devlake/core/plugin"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/core/errors"
+ plugin "github.com/apache/devlake/core/plugin"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
)
const RAW_PIPELINE_TABLE = "bitbucket_api_pipelines"
diff --git a/backend/plugins/bitbucket/tasks/pipeline_convertor.go b/backend/plugins/bitbucket/tasks/pipeline_convertor.go
index ea23fb2..26c723d 100644
--- a/backend/plugins/bitbucket/tasks/pipeline_convertor.go
+++ b/backend/plugins/bitbucket/tasks/pipeline_convertor.go
@@ -22,14 +22,14 @@
"reflect"
"time"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/domainlayer"
- "github.com/apache/incubator-devlake/core/models/domainlayer/devops"
- "github.com/apache/incubator-devlake/core/models/domainlayer/didgen"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/bitbucket/models"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/domainlayer"
+ "github.com/apache/devlake/core/models/domainlayer/devops"
+ "github.com/apache/devlake/core/models/domainlayer/didgen"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/bitbucket/models"
)
var ConvertPipelineMeta = plugin.SubTaskMeta{
diff --git a/backend/plugins/bitbucket/tasks/pipeline_extractor.go b/backend/plugins/bitbucket/tasks/pipeline_extractor.go
index ec924db..1c8b7cf 100644
--- a/backend/plugins/bitbucket/tasks/pipeline_extractor.go
+++ b/backend/plugins/bitbucket/tasks/pipeline_extractor.go
@@ -20,12 +20,12 @@
import (
"encoding/json"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/common"
- "github.com/apache/incubator-devlake/core/models/domainlayer/devops"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/bitbucket/models"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/common"
+ "github.com/apache/devlake/core/models/domainlayer/devops"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/bitbucket/models"
)
type bitbucketApiCommit struct {
diff --git a/backend/plugins/bitbucket/tasks/pipeline_steps_collector.go b/backend/plugins/bitbucket/tasks/pipeline_steps_collector.go
index 9fd99e1..94e8a4a 100644
--- a/backend/plugins/bitbucket/tasks/pipeline_steps_collector.go
+++ b/backend/plugins/bitbucket/tasks/pipeline_steps_collector.go
@@ -18,9 +18,9 @@
package tasks
import (
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
)
const RAW_PIPELINE_STEPS_TABLE = "bitbucket_api_pipeline_steps"
diff --git a/backend/plugins/bitbucket/tasks/pipeline_steps_convertor.go b/backend/plugins/bitbucket/tasks/pipeline_steps_convertor.go
index 0a72041..9c1fe16 100644
--- a/backend/plugins/bitbucket/tasks/pipeline_steps_convertor.go
+++ b/backend/plugins/bitbucket/tasks/pipeline_steps_convertor.go
@@ -21,14 +21,14 @@
"reflect"
"time"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/domainlayer"
- "github.com/apache/incubator-devlake/core/models/domainlayer/devops"
- "github.com/apache/incubator-devlake/core/models/domainlayer/didgen"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/bitbucket/models"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/domainlayer"
+ "github.com/apache/devlake/core/models/domainlayer/devops"
+ "github.com/apache/devlake/core/models/domainlayer/didgen"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/bitbucket/models"
)
var ConvertPipelineStepMeta = plugin.SubTaskMeta{
diff --git a/backend/plugins/bitbucket/tasks/pipeline_steps_extractor.go b/backend/plugins/bitbucket/tasks/pipeline_steps_extractor.go
index 82bd93b..0f84af7 100644
--- a/backend/plugins/bitbucket/tasks/pipeline_steps_extractor.go
+++ b/backend/plugins/bitbucket/tasks/pipeline_steps_extractor.go
@@ -21,11 +21,11 @@
"encoding/json"
"time"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/domainlayer/devops"
- "github.com/apache/incubator-devlake/core/plugin"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/bitbucket/models"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/domainlayer/devops"
+ "github.com/apache/devlake/core/plugin"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/bitbucket/models"
)
var _ plugin.SubTaskEntryPoint = ExtractPipelineSteps
diff --git a/backend/plugins/bitbucket/tasks/pr_collector.go b/backend/plugins/bitbucket/tasks/pr_collector.go
index 4db0dd0..4fa1ddc 100644
--- a/backend/plugins/bitbucket/tasks/pr_collector.go
+++ b/backend/plugins/bitbucket/tasks/pr_collector.go
@@ -18,9 +18,9 @@
package tasks
import (
- "github.com/apache/incubator-devlake/core/errors"
- plugin "github.com/apache/incubator-devlake/core/plugin"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/core/errors"
+ plugin "github.com/apache/devlake/core/plugin"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
)
const RAW_PULL_REQUEST_TABLE = "bitbucket_api_pull_requests"
diff --git a/backend/plugins/bitbucket/tasks/pr_comment_collector.go b/backend/plugins/bitbucket/tasks/pr_comment_collector.go
index 30e856c..ce20954 100644
--- a/backend/plugins/bitbucket/tasks/pr_comment_collector.go
+++ b/backend/plugins/bitbucket/tasks/pr_comment_collector.go
@@ -18,9 +18,9 @@
package tasks
import (
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
)
const RAW_PULL_REQUEST_COMMENTS_TABLE = "bitbucket_api_pull_request_comments"
diff --git a/backend/plugins/bitbucket/tasks/pr_comment_convertor.go b/backend/plugins/bitbucket/tasks/pr_comment_convertor.go
index d841dd7..72ea5b8 100644
--- a/backend/plugins/bitbucket/tasks/pr_comment_convertor.go
+++ b/backend/plugins/bitbucket/tasks/pr_comment_convertor.go
@@ -20,14 +20,14 @@
import (
"reflect"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/domainlayer"
- "github.com/apache/incubator-devlake/core/models/domainlayer/code"
- "github.com/apache/incubator-devlake/core/models/domainlayer/didgen"
- plugin "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/bitbucket/models"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/domainlayer"
+ "github.com/apache/devlake/core/models/domainlayer/code"
+ "github.com/apache/devlake/core/models/domainlayer/didgen"
+ plugin "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/bitbucket/models"
)
var ConvertPrCommentsMeta = plugin.SubTaskMeta{
diff --git a/backend/plugins/bitbucket/tasks/pr_comment_extractor.go b/backend/plugins/bitbucket/tasks/pr_comment_extractor.go
index f685897..f9159c9 100644
--- a/backend/plugins/bitbucket/tasks/pr_comment_extractor.go
+++ b/backend/plugins/bitbucket/tasks/pr_comment_extractor.go
@@ -21,10 +21,10 @@
"encoding/json"
"time"
- "github.com/apache/incubator-devlake/core/errors"
- plugin "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/bitbucket/models"
+ "github.com/apache/devlake/core/errors"
+ plugin "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/bitbucket/models"
)
var ExtractApiPrCommentsMeta = plugin.SubTaskMeta{
diff --git a/backend/plugins/bitbucket/tasks/pr_commit_collector.go b/backend/plugins/bitbucket/tasks/pr_commit_collector.go
index 5260ee6..d4315d2 100644
--- a/backend/plugins/bitbucket/tasks/pr_commit_collector.go
+++ b/backend/plugins/bitbucket/tasks/pr_commit_collector.go
@@ -21,9 +21,9 @@
"fmt"
"net/url"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
)
const RAW_PULL_REQUEST_COMMITS_TABLE = "bitbucket_api_pull_request_commits"
diff --git a/backend/plugins/bitbucket/tasks/pr_commit_convertor.go b/backend/plugins/bitbucket/tasks/pr_commit_convertor.go
index 04abeb1..84d72a5 100644
--- a/backend/plugins/bitbucket/tasks/pr_commit_convertor.go
+++ b/backend/plugins/bitbucket/tasks/pr_commit_convertor.go
@@ -20,14 +20,14 @@
import (
"reflect"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/domainlayer/code"
- "github.com/apache/incubator-devlake/core/models/domainlayer/didgen"
- "github.com/apache/incubator-devlake/core/plugin"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/domainlayer/code"
+ "github.com/apache/devlake/core/models/domainlayer/didgen"
+ "github.com/apache/devlake/core/plugin"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
- bitbucketModels "github.com/apache/incubator-devlake/plugins/bitbucket/models"
+ bitbucketModels "github.com/apache/devlake/plugins/bitbucket/models"
)
var ConvertPrCommitsMeta = plugin.SubTaskMeta{
diff --git a/backend/plugins/bitbucket/tasks/pr_commit_extractor.go b/backend/plugins/bitbucket/tasks/pr_commit_extractor.go
index 7862ca5..65e5afa 100644
--- a/backend/plugins/bitbucket/tasks/pr_commit_extractor.go
+++ b/backend/plugins/bitbucket/tasks/pr_commit_extractor.go
@@ -22,11 +22,11 @@
"strings"
"time"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/bitbucket/models"
+ "github.com/apache/devlake/plugins/bitbucket/models"
)
var ExtractApiPrCommitsMeta = plugin.SubTaskMeta{
diff --git a/backend/plugins/bitbucket/tasks/pr_convertor.go b/backend/plugins/bitbucket/tasks/pr_convertor.go
index 4a54008..c426a27 100644
--- a/backend/plugins/bitbucket/tasks/pr_convertor.go
+++ b/backend/plugins/bitbucket/tasks/pr_convertor.go
@@ -20,14 +20,14 @@
import (
"reflect"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/domainlayer"
- "github.com/apache/incubator-devlake/core/models/domainlayer/code"
- "github.com/apache/incubator-devlake/core/models/domainlayer/didgen"
- plugin "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/bitbucket/models"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/domainlayer"
+ "github.com/apache/devlake/core/models/domainlayer/code"
+ "github.com/apache/devlake/core/models/domainlayer/didgen"
+ plugin "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/bitbucket/models"
)
var ConvertPullRequestsMeta = plugin.SubTaskMeta{
diff --git a/backend/plugins/bitbucket/tasks/pr_extractor.go b/backend/plugins/bitbucket/tasks/pr_extractor.go
index a551927..4bb5797 100644
--- a/backend/plugins/bitbucket/tasks/pr_extractor.go
+++ b/backend/plugins/bitbucket/tasks/pr_extractor.go
@@ -20,11 +20,11 @@
import (
"encoding/json"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/common"
- plugin "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/bitbucket/models"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/common"
+ plugin "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/bitbucket/models"
)
var ExtractApiPullRequestsMeta = plugin.SubTaskMeta{
diff --git a/backend/plugins/bitbucket/tasks/pr_reviewer_convertor.go b/backend/plugins/bitbucket/tasks/pr_reviewer_convertor.go
index c6de00e..f67fabd 100644
--- a/backend/plugins/bitbucket/tasks/pr_reviewer_convertor.go
+++ b/backend/plugins/bitbucket/tasks/pr_reviewer_convertor.go
@@ -20,13 +20,13 @@
import (
"reflect"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/domainlayer/code"
- "github.com/apache/incubator-devlake/core/models/domainlayer/didgen"
- plugin "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/bitbucket/models"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/domainlayer/code"
+ "github.com/apache/devlake/core/models/domainlayer/didgen"
+ plugin "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/bitbucket/models"
)
var ConvertPrReviewersMeta = plugin.SubTaskMeta{
diff --git a/backend/plugins/bitbucket/tasks/repo_convertor.go b/backend/plugins/bitbucket/tasks/repo_convertor.go
index 798d6b2..36363cb 100644
--- a/backend/plugins/bitbucket/tasks/repo_convertor.go
+++ b/backend/plugins/bitbucket/tasks/repo_convertor.go
@@ -25,16 +25,16 @@
"path"
"reflect"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/domainlayer"
- "github.com/apache/incubator-devlake/core/models/domainlayer/code"
- "github.com/apache/incubator-devlake/core/models/domainlayer/devops"
- "github.com/apache/incubator-devlake/core/models/domainlayer/didgen"
- "github.com/apache/incubator-devlake/core/models/domainlayer/ticket"
- plugin "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/bitbucket/models"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/domainlayer"
+ "github.com/apache/devlake/core/models/domainlayer/code"
+ "github.com/apache/devlake/core/models/domainlayer/devops"
+ "github.com/apache/devlake/core/models/domainlayer/didgen"
+ "github.com/apache/devlake/core/models/domainlayer/ticket"
+ plugin "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/bitbucket/models"
)
const RAW_REPOSITORIES_TABLE = "bitbucket_api_repositories"
diff --git a/backend/plugins/bitbucket/tasks/task_data.go b/backend/plugins/bitbucket/tasks/task_data.go
index 235b050..837ef2d 100644
--- a/backend/plugins/bitbucket/tasks/task_data.go
+++ b/backend/plugins/bitbucket/tasks/task_data.go
@@ -18,9 +18,9 @@
package tasks
import (
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/bitbucket/models"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/bitbucket/models"
)
type BitbucketOptions struct {
diff --git a/backend/plugins/bitbucket_server/api/blueprint_v200.go b/backend/plugins/bitbucket_server/api/blueprint_v200.go
index 0b0ae74..fa46e98 100644
--- a/backend/plugins/bitbucket_server/api/blueprint_v200.go
+++ b/backend/plugins/bitbucket_server/api/blueprint_v200.go
@@ -21,19 +21,19 @@
"context"
"net/url"
- "github.com/apache/incubator-devlake/core/errors"
- coreModels "github.com/apache/incubator-devlake/core/models"
- "github.com/apache/incubator-devlake/core/models/domainlayer"
- "github.com/apache/incubator-devlake/core/models/domainlayer/code"
- "github.com/apache/incubator-devlake/core/models/domainlayer/devops"
- "github.com/apache/incubator-devlake/core/models/domainlayer/didgen"
- "github.com/apache/incubator-devlake/core/models/domainlayer/ticket"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/core/utils"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/helpers/srvhelper"
- "github.com/apache/incubator-devlake/plugins/bitbucket_server/models"
- "github.com/apache/incubator-devlake/plugins/bitbucket_server/tasks"
+ "github.com/apache/devlake/core/errors"
+ coreModels "github.com/apache/devlake/core/models"
+ "github.com/apache/devlake/core/models/domainlayer"
+ "github.com/apache/devlake/core/models/domainlayer/code"
+ "github.com/apache/devlake/core/models/domainlayer/devops"
+ "github.com/apache/devlake/core/models/domainlayer/didgen"
+ "github.com/apache/devlake/core/models/domainlayer/ticket"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/core/utils"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/helpers/srvhelper"
+ "github.com/apache/devlake/plugins/bitbucket_server/models"
+ "github.com/apache/devlake/plugins/bitbucket_server/tasks"
)
func MakeDataSourcePipelinePlanV200(
diff --git a/backend/plugins/bitbucket_server/api/connection.go b/backend/plugins/bitbucket_server/api/connection.go
index a8043f9..8efa869 100644
--- a/backend/plugins/bitbucket_server/api/connection.go
+++ b/backend/plugins/bitbucket_server/api/connection.go
@@ -21,12 +21,12 @@
"context"
"net/http"
- "github.com/apache/incubator-devlake/server/api/shared"
+ "github.com/apache/devlake/server/api/shared"
- "github.com/apache/incubator-devlake/core/errors"
- plugin "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/bitbucket_server/models"
+ "github.com/apache/devlake/core/errors"
+ plugin "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/bitbucket_server/models"
)
type BitBucketServerTestConnResponse struct {
diff --git a/backend/plugins/bitbucket_server/api/init.go b/backend/plugins/bitbucket_server/api/init.go
index cf04eb1..339bf25 100644
--- a/backend/plugins/bitbucket_server/api/init.go
+++ b/backend/plugins/bitbucket_server/api/init.go
@@ -18,10 +18,10 @@
package api
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/bitbucket_server/models"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/bitbucket_server/models"
"github.com/go-playground/validator/v10"
)
diff --git a/backend/plugins/bitbucket_server/api/remote_api.go b/backend/plugins/bitbucket_server/api/remote_api.go
index 7543090..4bc8136 100644
--- a/backend/plugins/bitbucket_server/api/remote_api.go
+++ b/backend/plugins/bitbucket_server/api/remote_api.go
@@ -21,11 +21,11 @@
"fmt"
"net/url"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- dsmodels "github.com/apache/incubator-devlake/helpers/pluginhelper/api/models"
- "github.com/apache/incubator-devlake/plugins/bitbucket_server/models"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ dsmodels "github.com/apache/devlake/helpers/pluginhelper/api/models"
+ "github.com/apache/devlake/plugins/bitbucket_server/models"
)
// RemoteScopes list all available scope for users
diff --git a/backend/plugins/bitbucket_server/api/scope_api.go b/backend/plugins/bitbucket_server/api/scope_api.go
index 442566d..e4d795a 100644
--- a/backend/plugins/bitbucket_server/api/scope_api.go
+++ b/backend/plugins/bitbucket_server/api/scope_api.go
@@ -20,10 +20,10 @@
import (
"strings"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/bitbucket_server/models"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/bitbucket_server/models"
)
type PutScopesReqBody api.PutScopesReqBody[models.BitbucketServerRepo]
diff --git a/backend/plugins/bitbucket_server/api/scope_config_api.go b/backend/plugins/bitbucket_server/api/scope_config_api.go
index 3e0a3d3..57b766f 100644
--- a/backend/plugins/bitbucket_server/api/scope_config_api.go
+++ b/backend/plugins/bitbucket_server/api/scope_config_api.go
@@ -20,8 +20,8 @@
import (
"strings"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
)
// CreateScopeConfig create scope config for Bitbucket
diff --git a/backend/plugins/bitbucket_server/api/scope_state_api.go b/backend/plugins/bitbucket_server/api/scope_state_api.go
index 85735cb..a222239 100644
--- a/backend/plugins/bitbucket_server/api/scope_state_api.go
+++ b/backend/plugins/bitbucket_server/api/scope_state_api.go
@@ -18,8 +18,8 @@
package api
import (
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
)
// GetScopeLatestSyncState get one BitBucket Server repo's latest sync state
diff --git a/backend/plugins/bitbucket_server/bitbucket_server.go b/backend/plugins/bitbucket_server/bitbucket_server.go
index 3136539..222a3e6 100644
--- a/backend/plugins/bitbucket_server/bitbucket_server.go
+++ b/backend/plugins/bitbucket_server/bitbucket_server.go
@@ -18,8 +18,8 @@
package main // must be main for plugin entry point
import (
- "github.com/apache/incubator-devlake/core/runner"
- "github.com/apache/incubator-devlake/plugins/bitbucket_server/impl"
+ "github.com/apache/devlake/core/runner"
+ "github.com/apache/devlake/plugins/bitbucket_server/impl"
"github.com/spf13/cobra"
)
diff --git a/backend/plugins/bitbucket_server/e2e/pr_commit_test.go b/backend/plugins/bitbucket_server/e2e/pr_commit_test.go
index ae60abb..19d6bf3 100644
--- a/backend/plugins/bitbucket_server/e2e/pr_commit_test.go
+++ b/backend/plugins/bitbucket_server/e2e/pr_commit_test.go
@@ -20,12 +20,12 @@
import (
"testing"
- "github.com/apache/incubator-devlake/core/models/common"
- "github.com/apache/incubator-devlake/core/models/domainlayer/code"
- "github.com/apache/incubator-devlake/helpers/e2ehelper"
- "github.com/apache/incubator-devlake/plugins/bitbucket_server/impl"
- "github.com/apache/incubator-devlake/plugins/bitbucket_server/models"
- "github.com/apache/incubator-devlake/plugins/bitbucket_server/tasks"
+ "github.com/apache/devlake/core/models/common"
+ "github.com/apache/devlake/core/models/domainlayer/code"
+ "github.com/apache/devlake/helpers/e2ehelper"
+ "github.com/apache/devlake/plugins/bitbucket_server/impl"
+ "github.com/apache/devlake/plugins/bitbucket_server/models"
+ "github.com/apache/devlake/plugins/bitbucket_server/tasks"
)
func TestPrCommitDataFlow(t *testing.T) {
diff --git a/backend/plugins/bitbucket_server/e2e/pr_test.go b/backend/plugins/bitbucket_server/e2e/pr_test.go
index 17852d0..6c63f99 100644
--- a/backend/plugins/bitbucket_server/e2e/pr_test.go
+++ b/backend/plugins/bitbucket_server/e2e/pr_test.go
@@ -20,11 +20,11 @@
import (
"testing"
- "github.com/apache/incubator-devlake/core/models/domainlayer/code"
- "github.com/apache/incubator-devlake/helpers/e2ehelper"
- "github.com/apache/incubator-devlake/plugins/bitbucket_server/impl"
- "github.com/apache/incubator-devlake/plugins/bitbucket_server/models"
- "github.com/apache/incubator-devlake/plugins/bitbucket_server/tasks"
+ "github.com/apache/devlake/core/models/domainlayer/code"
+ "github.com/apache/devlake/helpers/e2ehelper"
+ "github.com/apache/devlake/plugins/bitbucket_server/impl"
+ "github.com/apache/devlake/plugins/bitbucket_server/models"
+ "github.com/apache/devlake/plugins/bitbucket_server/tasks"
)
func TestPrDataFlow(t *testing.T) {
diff --git a/backend/plugins/bitbucket_server/impl/impl.go b/backend/plugins/bitbucket_server/impl/impl.go
index bc2366d..007df94 100644
--- a/backend/plugins/bitbucket_server/impl/impl.go
+++ b/backend/plugins/bitbucket_server/impl/impl.go
@@ -20,16 +20,16 @@
import (
"fmt"
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- coreModels "github.com/apache/incubator-devlake/core/models"
- "github.com/apache/incubator-devlake/core/plugin"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/bitbucket_server/api"
- "github.com/apache/incubator-devlake/plugins/bitbucket_server/models"
- "github.com/apache/incubator-devlake/plugins/bitbucket_server/models/migrationscripts"
- "github.com/apache/incubator-devlake/plugins/bitbucket_server/tasks"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ coreModels "github.com/apache/devlake/core/models"
+ "github.com/apache/devlake/core/plugin"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/bitbucket_server/api"
+ "github.com/apache/devlake/plugins/bitbucket_server/models"
+ "github.com/apache/devlake/plugins/bitbucket_server/models/migrationscripts"
+ "github.com/apache/devlake/plugins/bitbucket_server/tasks"
)
var _ interface {
@@ -143,7 +143,7 @@
}
func (p BitbucketServer) RootPkgPath() string {
- return "github.com/apache/incubator-devlake/plugins/bitbucket_server/" // the "/" fixes an issue where records from "bitbucket_server" are counted as "bitbucket" records and vice versa
+ return "github.com/apache/devlake/plugins/bitbucket_server/" // the "/" fixes an issue where records from "bitbucket_server" are counted as "bitbucket" records and vice versa
}
func (p BitbucketServer) MigrationScripts() []plugin.MigrationScript {
diff --git a/backend/plugins/bitbucket_server/models/connection.go b/backend/plugins/bitbucket_server/models/connection.go
index b2122bf..e33af01 100644
--- a/backend/plugins/bitbucket_server/models/connection.go
+++ b/backend/plugins/bitbucket_server/models/connection.go
@@ -18,8 +18,8 @@
package models
import (
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
)
var _ plugin.ApiConnection = (*BitbucketServerConnection)(nil)
diff --git a/backend/plugins/bitbucket_server/models/migrationscripts/20240115_add_init_tables.go b/backend/plugins/bitbucket_server/models/migrationscripts/20240115_add_init_tables.go
index 5f45ff5..3dab329 100644
--- a/backend/plugins/bitbucket_server/models/migrationscripts/20240115_add_init_tables.go
+++ b/backend/plugins/bitbucket_server/models/migrationscripts/20240115_add_init_tables.go
@@ -18,10 +18,10 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/helpers/migrationhelper"
- "github.com/apache/incubator-devlake/plugins/bitbucket_server/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/helpers/migrationhelper"
+ "github.com/apache/devlake/plugins/bitbucket_server/models/migrationscripts/archived"
)
type addInitTables20240115 struct{}
diff --git a/backend/plugins/bitbucket_server/models/migrationscripts/archived/connection.go b/backend/plugins/bitbucket_server/models/migrationscripts/archived/connection.go
index 8fe9003..567f12d 100644
--- a/backend/plugins/bitbucket_server/models/migrationscripts/archived/connection.go
+++ b/backend/plugins/bitbucket_server/models/migrationscripts/archived/connection.go
@@ -18,8 +18,8 @@
package archived
import (
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
)
var _ plugin.ApiConnection = (*BitbucketServerConnection)(nil)
diff --git a/backend/plugins/bitbucket_server/models/migrationscripts/archived/pr.go b/backend/plugins/bitbucket_server/models/migrationscripts/archived/pr.go
index fbdf14c..2eaf77a 100644
--- a/backend/plugins/bitbucket_server/models/migrationscripts/archived/pr.go
+++ b/backend/plugins/bitbucket_server/models/migrationscripts/archived/pr.go
@@ -20,7 +20,7 @@
import (
"time"
- "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/models/migrationscripts/archived"
)
type BitbucketServerPullRequest struct {
diff --git a/backend/plugins/bitbucket_server/models/migrationscripts/archived/pr_comment.go b/backend/plugins/bitbucket_server/models/migrationscripts/archived/pr_comment.go
index 8d661b3..3f5a28a 100644
--- a/backend/plugins/bitbucket_server/models/migrationscripts/archived/pr_comment.go
+++ b/backend/plugins/bitbucket_server/models/migrationscripts/archived/pr_comment.go
@@ -20,7 +20,7 @@
import (
"time"
- "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/models/migrationscripts/archived"
)
type BitbucketServerPrComment struct {
diff --git a/backend/plugins/bitbucket_server/models/migrationscripts/archived/pr_commit.go b/backend/plugins/bitbucket_server/models/migrationscripts/archived/pr_commit.go
index c6cff84..7dd8f49 100644
--- a/backend/plugins/bitbucket_server/models/migrationscripts/archived/pr_commit.go
+++ b/backend/plugins/bitbucket_server/models/migrationscripts/archived/pr_commit.go
@@ -20,7 +20,7 @@
import (
"time"
- "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/models/migrationscripts/archived"
)
type BitbucketServerPrCommit struct {
diff --git a/backend/plugins/bitbucket_server/models/migrationscripts/archived/repo.go b/backend/plugins/bitbucket_server/models/migrationscripts/archived/repo.go
index aa6e499..7f39ef1 100644
--- a/backend/plugins/bitbucket_server/models/migrationscripts/archived/repo.go
+++ b/backend/plugins/bitbucket_server/models/migrationscripts/archived/repo.go
@@ -20,7 +20,7 @@
import (
"time"
- "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/models/migrationscripts/archived"
)
type BitbucketServerRepo struct {
diff --git a/backend/plugins/bitbucket_server/models/migrationscripts/archived/scope_config.go b/backend/plugins/bitbucket_server/models/migrationscripts/archived/scope_config.go
index fd5e852..a065ea2 100644
--- a/backend/plugins/bitbucket_server/models/migrationscripts/archived/scope_config.go
+++ b/backend/plugins/bitbucket_server/models/migrationscripts/archived/scope_config.go
@@ -18,7 +18,7 @@
package archived
import (
- "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/models/migrationscripts/archived"
"gorm.io/datatypes"
)
diff --git a/backend/plugins/bitbucket_server/models/migrationscripts/archived/user.go b/backend/plugins/bitbucket_server/models/migrationscripts/archived/user.go
index df79274..3a3373e 100644
--- a/backend/plugins/bitbucket_server/models/migrationscripts/archived/user.go
+++ b/backend/plugins/bitbucket_server/models/migrationscripts/archived/user.go
@@ -17,7 +17,7 @@
package archived
-import "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
+import "github.com/apache/devlake/core/models/migrationscripts/archived"
type BitbucketServerUser struct {
ConnectionId uint64 `gorm:"primaryKey"`
diff --git a/backend/plugins/bitbucket_server/models/migrationscripts/register.go b/backend/plugins/bitbucket_server/models/migrationscripts/register.go
index 7d35801..1f453c9 100644
--- a/backend/plugins/bitbucket_server/models/migrationscripts/register.go
+++ b/backend/plugins/bitbucket_server/models/migrationscripts/register.go
@@ -18,7 +18,7 @@
package migrationscripts
import (
- plugin "github.com/apache/incubator-devlake/core/plugin"
+ plugin "github.com/apache/devlake/core/plugin"
)
// All return all the migration scripts
diff --git a/backend/plugins/bitbucket_server/models/pr.go b/backend/plugins/bitbucket_server/models/pr.go
index 1173fa5..2cbe3dc 100644
--- a/backend/plugins/bitbucket_server/models/pr.go
+++ b/backend/plugins/bitbucket_server/models/pr.go
@@ -20,7 +20,7 @@
import (
"time"
- "github.com/apache/incubator-devlake/core/models/common"
+ "github.com/apache/devlake/core/models/common"
)
type BitbucketServerPullRequest struct {
diff --git a/backend/plugins/bitbucket_server/models/pr_comment.go b/backend/plugins/bitbucket_server/models/pr_comment.go
index 93fb5c3..8aa6041 100644
--- a/backend/plugins/bitbucket_server/models/pr_comment.go
+++ b/backend/plugins/bitbucket_server/models/pr_comment.go
@@ -20,7 +20,7 @@
import (
"time"
- "github.com/apache/incubator-devlake/core/models/common"
+ "github.com/apache/devlake/core/models/common"
)
type BitbucketServerPrComment struct {
diff --git a/backend/plugins/bitbucket_server/models/pr_commit.go b/backend/plugins/bitbucket_server/models/pr_commit.go
index c5952d1..4c9b0b9 100644
--- a/backend/plugins/bitbucket_server/models/pr_commit.go
+++ b/backend/plugins/bitbucket_server/models/pr_commit.go
@@ -20,7 +20,7 @@
import (
"time"
- "github.com/apache/incubator-devlake/core/models/common"
+ "github.com/apache/devlake/core/models/common"
)
type BitbucketServerPrCommit struct {
diff --git a/backend/plugins/bitbucket_server/models/repo.go b/backend/plugins/bitbucket_server/models/repo.go
index 0c12cbe..a92e06e 100644
--- a/backend/plugins/bitbucket_server/models/repo.go
+++ b/backend/plugins/bitbucket_server/models/repo.go
@@ -21,8 +21,8 @@
"fmt"
"time"
- "github.com/apache/incubator-devlake/core/models/common"
- "github.com/apache/incubator-devlake/core/plugin"
+ "github.com/apache/devlake/core/models/common"
+ "github.com/apache/devlake/core/plugin"
)
var _ plugin.ToolLayerScope = (*BitbucketServerRepo)(nil)
diff --git a/backend/plugins/bitbucket_server/models/scope_config.go b/backend/plugins/bitbucket_server/models/scope_config.go
index 769c827..4090e35 100644
--- a/backend/plugins/bitbucket_server/models/scope_config.go
+++ b/backend/plugins/bitbucket_server/models/scope_config.go
@@ -18,7 +18,7 @@
package models
import (
- "github.com/apache/incubator-devlake/core/models/common"
+ "github.com/apache/devlake/core/models/common"
"gorm.io/datatypes"
)
diff --git a/backend/plugins/bitbucket_server/models/user.go b/backend/plugins/bitbucket_server/models/user.go
index 03f078e..1e6e05d 100644
--- a/backend/plugins/bitbucket_server/models/user.go
+++ b/backend/plugins/bitbucket_server/models/user.go
@@ -18,7 +18,7 @@
package models
import (
- "github.com/apache/incubator-devlake/core/models/common"
+ "github.com/apache/devlake/core/models/common"
)
type BitbucketServerUser struct {
diff --git a/backend/plugins/bitbucket_server/tasks/api_client.go b/backend/plugins/bitbucket_server/tasks/api_client.go
index 8a1dac5..bc99bf8 100644
--- a/backend/plugins/bitbucket_server/tasks/api_client.go
+++ b/backend/plugins/bitbucket_server/tasks/api_client.go
@@ -18,10 +18,10 @@
package tasks
import (
- "github.com/apache/incubator-devlake/core/errors"
- plugin "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/bitbucket_server/models"
+ "github.com/apache/devlake/core/errors"
+ plugin "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/bitbucket_server/models"
)
func CreateApiClient(taskCtx plugin.TaskContext, connection *models.BitbucketServerConnection) (*api.ApiAsyncClient, errors.Error) {
diff --git a/backend/plugins/bitbucket_server/tasks/api_common.go b/backend/plugins/bitbucket_server/tasks/api_common.go
index 0b2ad1f..6550717 100644
--- a/backend/plugins/bitbucket_server/tasks/api_common.go
+++ b/backend/plugins/bitbucket_server/tasks/api_common.go
@@ -26,10 +26,10 @@
"reflect"
"strconv"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- plugin "github.com/apache/incubator-devlake/core/plugin"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ plugin "github.com/apache/devlake/core/plugin"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
)
type BitbucketServerApiParams struct {
diff --git a/backend/plugins/bitbucket_server/tasks/pr_activity_collector.go b/backend/plugins/bitbucket_server/tasks/pr_activity_collector.go
index 41caa26..dbfc4f6 100644
--- a/backend/plugins/bitbucket_server/tasks/pr_activity_collector.go
+++ b/backend/plugins/bitbucket_server/tasks/pr_activity_collector.go
@@ -18,9 +18,9 @@
package tasks
import (
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
)
const RAW_PULL_REQUEST_ACTIVITIES_TABLE = "bitbucket_server_api_pull_request_activities"
diff --git a/backend/plugins/bitbucket_server/tasks/pr_activity_extractor.go b/backend/plugins/bitbucket_server/tasks/pr_activity_extractor.go
index 49fec7b..6b8c5c7 100644
--- a/backend/plugins/bitbucket_server/tasks/pr_activity_extractor.go
+++ b/backend/plugins/bitbucket_server/tasks/pr_activity_extractor.go
@@ -21,10 +21,10 @@
"encoding/json"
"time"
- "github.com/apache/incubator-devlake/core/errors"
- plugin "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/bitbucket_server/models"
+ "github.com/apache/devlake/core/errors"
+ plugin "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/bitbucket_server/models"
)
var ExtractApiPrActivitiesMeta = plugin.SubTaskMeta{
diff --git a/backend/plugins/bitbucket_server/tasks/pr_collector.go b/backend/plugins/bitbucket_server/tasks/pr_collector.go
index d944425..45e6b63 100644
--- a/backend/plugins/bitbucket_server/tasks/pr_collector.go
+++ b/backend/plugins/bitbucket_server/tasks/pr_collector.go
@@ -18,9 +18,9 @@
package tasks
import (
- "github.com/apache/incubator-devlake/core/errors"
- plugin "github.com/apache/incubator-devlake/core/plugin"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/core/errors"
+ plugin "github.com/apache/devlake/core/plugin"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
)
const RAW_PULL_REQUEST_TABLE = "bitbucket_server_api_pull_requests"
diff --git a/backend/plugins/bitbucket_server/tasks/pr_comment_convertor.go b/backend/plugins/bitbucket_server/tasks/pr_comment_convertor.go
index 785a7b9..4bc65f3 100644
--- a/backend/plugins/bitbucket_server/tasks/pr_comment_convertor.go
+++ b/backend/plugins/bitbucket_server/tasks/pr_comment_convertor.go
@@ -20,14 +20,14 @@
import (
"reflect"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/domainlayer"
- "github.com/apache/incubator-devlake/core/models/domainlayer/code"
- "github.com/apache/incubator-devlake/core/models/domainlayer/didgen"
- plugin "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/bitbucket_server/models"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/domainlayer"
+ "github.com/apache/devlake/core/models/domainlayer/code"
+ "github.com/apache/devlake/core/models/domainlayer/didgen"
+ plugin "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/bitbucket_server/models"
)
var ConvertPrCommentsMeta = plugin.SubTaskMeta{
diff --git a/backend/plugins/bitbucket_server/tasks/pr_commit_collector.go b/backend/plugins/bitbucket_server/tasks/pr_commit_collector.go
index dabf588..f138806 100644
--- a/backend/plugins/bitbucket_server/tasks/pr_commit_collector.go
+++ b/backend/plugins/bitbucket_server/tasks/pr_commit_collector.go
@@ -18,9 +18,9 @@
package tasks
import (
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
)
const RAW_PULL_REQUEST_COMMITS_TABLE = "bitbucket_server_api_pull_request_commits"
diff --git a/backend/plugins/bitbucket_server/tasks/pr_commit_convertor.go b/backend/plugins/bitbucket_server/tasks/pr_commit_convertor.go
index 995a802..a2abc02 100644
--- a/backend/plugins/bitbucket_server/tasks/pr_commit_convertor.go
+++ b/backend/plugins/bitbucket_server/tasks/pr_commit_convertor.go
@@ -20,14 +20,14 @@
import (
"reflect"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/domainlayer/code"
- "github.com/apache/incubator-devlake/core/models/domainlayer/didgen"
- "github.com/apache/incubator-devlake/core/plugin"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/domainlayer/code"
+ "github.com/apache/devlake/core/models/domainlayer/didgen"
+ "github.com/apache/devlake/core/plugin"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
- bitbucketModels "github.com/apache/incubator-devlake/plugins/bitbucket_server/models"
+ bitbucketModels "github.com/apache/devlake/plugins/bitbucket_server/models"
)
var ConvertPrCommitsMeta = plugin.SubTaskMeta{
diff --git a/backend/plugins/bitbucket_server/tasks/pr_commit_extractor.go b/backend/plugins/bitbucket_server/tasks/pr_commit_extractor.go
index e4e2e30..33f21af 100644
--- a/backend/plugins/bitbucket_server/tasks/pr_commit_extractor.go
+++ b/backend/plugins/bitbucket_server/tasks/pr_commit_extractor.go
@@ -22,11 +22,11 @@
"strings"
"time"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/bitbucket_server/models"
+ "github.com/apache/devlake/plugins/bitbucket_server/models"
)
var ExtractApiPrCommitsMeta = plugin.SubTaskMeta{
diff --git a/backend/plugins/bitbucket_server/tasks/pr_convertor.go b/backend/plugins/bitbucket_server/tasks/pr_convertor.go
index f285c25..9d8daa4 100644
--- a/backend/plugins/bitbucket_server/tasks/pr_convertor.go
+++ b/backend/plugins/bitbucket_server/tasks/pr_convertor.go
@@ -20,14 +20,14 @@
import (
"reflect"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/domainlayer"
- "github.com/apache/incubator-devlake/core/models/domainlayer/code"
- "github.com/apache/incubator-devlake/core/models/domainlayer/didgen"
- plugin "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/bitbucket_server/models"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/domainlayer"
+ "github.com/apache/devlake/core/models/domainlayer/code"
+ "github.com/apache/devlake/core/models/domainlayer/didgen"
+ plugin "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/bitbucket_server/models"
)
var ConvertPullRequestsMeta = plugin.SubTaskMeta{
diff --git a/backend/plugins/bitbucket_server/tasks/pr_extractor.go b/backend/plugins/bitbucket_server/tasks/pr_extractor.go
index 28fd893..1a22753 100644
--- a/backend/plugins/bitbucket_server/tasks/pr_extractor.go
+++ b/backend/plugins/bitbucket_server/tasks/pr_extractor.go
@@ -22,12 +22,12 @@
"regexp"
"time"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/common"
- "github.com/apache/incubator-devlake/core/models/domainlayer/code"
- plugin "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/bitbucket_server/models"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/common"
+ "github.com/apache/devlake/core/models/domainlayer/code"
+ plugin "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/bitbucket_server/models"
)
var ExtractApiPullRequestsMeta = plugin.SubTaskMeta{
diff --git a/backend/plugins/bitbucket_server/tasks/repo_convertor.go b/backend/plugins/bitbucket_server/tasks/repo_convertor.go
index db98eb6..b357a82 100644
--- a/backend/plugins/bitbucket_server/tasks/repo_convertor.go
+++ b/backend/plugins/bitbucket_server/tasks/repo_convertor.go
@@ -25,16 +25,16 @@
"path"
"reflect"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/domainlayer"
- "github.com/apache/incubator-devlake/core/models/domainlayer/code"
- "github.com/apache/incubator-devlake/core/models/domainlayer/devops"
- "github.com/apache/incubator-devlake/core/models/domainlayer/didgen"
- "github.com/apache/incubator-devlake/core/models/domainlayer/ticket"
- plugin "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/bitbucket_server/models"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/domainlayer"
+ "github.com/apache/devlake/core/models/domainlayer/code"
+ "github.com/apache/devlake/core/models/domainlayer/devops"
+ "github.com/apache/devlake/core/models/domainlayer/didgen"
+ "github.com/apache/devlake/core/models/domainlayer/ticket"
+ plugin "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/bitbucket_server/models"
)
const RAW_REPOSITORIES_TABLE = "bitbucket_server_api_repositories"
diff --git a/backend/plugins/bitbucket_server/tasks/task_data.go b/backend/plugins/bitbucket_server/tasks/task_data.go
index dd2571e..ff93b09 100644
--- a/backend/plugins/bitbucket_server/tasks/task_data.go
+++ b/backend/plugins/bitbucket_server/tasks/task_data.go
@@ -20,9 +20,9 @@
import (
"net/http"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/bitbucket_server/models"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/bitbucket_server/models"
)
type BitbucketServerOptions struct {
diff --git a/backend/plugins/bitbucket_server/tasks/user_convertor.go b/backend/plugins/bitbucket_server/tasks/user_convertor.go
index ccbfc1a..b0d9b4d 100644
--- a/backend/plugins/bitbucket_server/tasks/user_convertor.go
+++ b/backend/plugins/bitbucket_server/tasks/user_convertor.go
@@ -20,14 +20,14 @@
import (
"reflect"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/domainlayer"
- "github.com/apache/incubator-devlake/core/models/domainlayer/crossdomain"
- "github.com/apache/incubator-devlake/core/models/domainlayer/didgen"
- plugin "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/bitbucket_server/models"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/domainlayer"
+ "github.com/apache/devlake/core/models/domainlayer/crossdomain"
+ "github.com/apache/devlake/core/models/domainlayer/didgen"
+ plugin "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/bitbucket_server/models"
)
const RAW_USER_TABLE = "bitbucket_server_api_users"
diff --git a/backend/plugins/bitbucket_server/tasks/user_extractor.go b/backend/plugins/bitbucket_server/tasks/user_extractor.go
index 995f8fe..85495a0 100644
--- a/backend/plugins/bitbucket_server/tasks/user_extractor.go
+++ b/backend/plugins/bitbucket_server/tasks/user_extractor.go
@@ -18,8 +18,8 @@
package tasks
import (
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/plugins/bitbucket_server/models"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/plugins/bitbucket_server/models"
)
type ApiUserResponse struct {
diff --git a/backend/plugins/circleci/api/blueprint_v200.go b/backend/plugins/circleci/api/blueprint_v200.go
index c2b9e66..f10c70e 100644
--- a/backend/plugins/circleci/api/blueprint_v200.go
+++ b/backend/plugins/circleci/api/blueprint_v200.go
@@ -18,17 +18,17 @@
package api
import (
- "github.com/apache/incubator-devlake/core/models/domainlayer/devops"
- "github.com/apache/incubator-devlake/plugins/circleci/models"
- "github.com/apache/incubator-devlake/plugins/circleci/tasks"
+ "github.com/apache/devlake/core/models/domainlayer/devops"
+ "github.com/apache/devlake/plugins/circleci/models"
+ "github.com/apache/devlake/plugins/circleci/tasks"
- "github.com/apache/incubator-devlake/core/errors"
- coreModels "github.com/apache/incubator-devlake/core/models"
- "github.com/apache/incubator-devlake/core/models/domainlayer/didgen"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/core/utils"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/helpers/srvhelper"
+ "github.com/apache/devlake/core/errors"
+ coreModels "github.com/apache/devlake/core/models"
+ "github.com/apache/devlake/core/models/domainlayer/didgen"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/core/utils"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/helpers/srvhelper"
)
func MakeDataSourcePipelinePlanV200(
diff --git a/backend/plugins/circleci/api/connection_api.go b/backend/plugins/circleci/api/connection_api.go
index 37f8389..7190627 100644
--- a/backend/plugins/circleci/api/connection_api.go
+++ b/backend/plugins/circleci/api/connection_api.go
@@ -22,11 +22,11 @@
"fmt"
"net/http"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/circleci/models"
- "github.com/apache/incubator-devlake/server/api/shared"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/circleci/models"
+ "github.com/apache/devlake/server/api/shared"
)
type CircleciTestConnResponse struct {
diff --git a/backend/plugins/circleci/api/init.go b/backend/plugins/circleci/api/init.go
index ef7f30a..34a6e18 100644
--- a/backend/plugins/circleci/api/init.go
+++ b/backend/plugins/circleci/api/init.go
@@ -18,11 +18,11 @@
package api
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/helpers/srvhelper"
- "github.com/apache/incubator-devlake/plugins/circleci/models"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/helpers/srvhelper"
+ "github.com/apache/devlake/plugins/circleci/models"
"github.com/go-playground/validator/v10"
)
diff --git a/backend/plugins/circleci/api/remote_api.go b/backend/plugins/circleci/api/remote_api.go
index d435844..53b00fc 100644
--- a/backend/plugins/circleci/api/remote_api.go
+++ b/backend/plugins/circleci/api/remote_api.go
@@ -20,12 +20,12 @@
import (
"net/http"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- dsmodels "github.com/apache/incubator-devlake/helpers/pluginhelper/api/models"
- "github.com/apache/incubator-devlake/helpers/srvhelper"
- "github.com/apache/incubator-devlake/plugins/circleci/models"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ dsmodels "github.com/apache/devlake/helpers/pluginhelper/api/models"
+ "github.com/apache/devlake/helpers/srvhelper"
+ "github.com/apache/devlake/plugins/circleci/models"
)
type RemoteProject struct {
diff --git a/backend/plugins/circleci/api/scope_api.go b/backend/plugins/circleci/api/scope_api.go
index fb8510b..30980b7 100644
--- a/backend/plugins/circleci/api/scope_api.go
+++ b/backend/plugins/circleci/api/scope_api.go
@@ -18,10 +18,10 @@
package api
import (
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/circleci/models"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/circleci/models"
)
type PutScopesReqBody api.PutScopesReqBody[models.CircleciProject]
diff --git a/backend/plugins/circleci/api/scope_config_api.go b/backend/plugins/circleci/api/scope_config_api.go
index 5daa5ba..9c19bd0 100644
--- a/backend/plugins/circleci/api/scope_config_api.go
+++ b/backend/plugins/circleci/api/scope_config_api.go
@@ -18,8 +18,8 @@
package api
import (
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
)
// PostScopeConfig create scope config for Circleci
diff --git a/backend/plugins/circleci/api/scope_state_api.go b/backend/plugins/circleci/api/scope_state_api.go
index 61485e4..a226575 100644
--- a/backend/plugins/circleci/api/scope_state_api.go
+++ b/backend/plugins/circleci/api/scope_state_api.go
@@ -18,8 +18,8 @@
package api
import (
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
)
// GetScopeLatestSyncState get one CircleCI pipeline's latest sync state
diff --git a/backend/plugins/circleci/circleci.go b/backend/plugins/circleci/circleci.go
index cf63d5a..9a7c73e 100644
--- a/backend/plugins/circleci/circleci.go
+++ b/backend/plugins/circleci/circleci.go
@@ -18,8 +18,8 @@
package main
import (
- "github.com/apache/incubator-devlake/core/runner"
- "github.com/apache/incubator-devlake/plugins/circleci/impl"
+ "github.com/apache/devlake/core/runner"
+ "github.com/apache/devlake/plugins/circleci/impl"
"github.com/spf13/cobra"
)
diff --git a/backend/plugins/circleci/e2e/incremental_test.go b/backend/plugins/circleci/e2e/incremental_test.go
index 85de8a7..9063165 100644
--- a/backend/plugins/circleci/e2e/incremental_test.go
+++ b/backend/plugins/circleci/e2e/incremental_test.go
@@ -22,13 +22,13 @@
"testing"
"time"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/models/common"
- "github.com/apache/incubator-devlake/helpers/e2ehelper"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/circleci/impl"
- "github.com/apache/incubator-devlake/plugins/circleci/models"
- "github.com/apache/incubator-devlake/plugins/circleci/tasks"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/models/common"
+ "github.com/apache/devlake/helpers/e2ehelper"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/circleci/impl"
+ "github.com/apache/devlake/plugins/circleci/models"
+ "github.com/apache/devlake/plugins/circleci/tasks"
"github.com/stretchr/testify/assert"
)
diff --git a/backend/plugins/circleci/e2e/job_collector_test.go b/backend/plugins/circleci/e2e/job_collector_test.go
index ed2f014..f3988b4 100644
--- a/backend/plugins/circleci/e2e/job_collector_test.go
+++ b/backend/plugins/circleci/e2e/job_collector_test.go
@@ -22,11 +22,11 @@
"sort"
"testing"
- "github.com/apache/incubator-devlake/helpers/e2ehelper"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/circleci/impl"
- "github.com/apache/incubator-devlake/plugins/circleci/models"
- "github.com/apache/incubator-devlake/plugins/circleci/tasks"
+ "github.com/apache/devlake/helpers/e2ehelper"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/circleci/impl"
+ "github.com/apache/devlake/plugins/circleci/models"
+ "github.com/apache/devlake/plugins/circleci/tasks"
"github.com/stretchr/testify/assert"
)
diff --git a/backend/plugins/circleci/e2e/job_test.go b/backend/plugins/circleci/e2e/job_test.go
index 4d426b2..22f363b 100644
--- a/backend/plugins/circleci/e2e/job_test.go
+++ b/backend/plugins/circleci/e2e/job_test.go
@@ -20,14 +20,14 @@
import (
"testing"
- "github.com/apache/incubator-devlake/core/models/common"
- "github.com/apache/incubator-devlake/core/models/domainlayer"
- "github.com/apache/incubator-devlake/core/models/domainlayer/devops"
- "github.com/apache/incubator-devlake/helpers/e2ehelper"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/circleci/impl"
- "github.com/apache/incubator-devlake/plugins/circleci/models"
- "github.com/apache/incubator-devlake/plugins/circleci/tasks"
+ "github.com/apache/devlake/core/models/common"
+ "github.com/apache/devlake/core/models/domainlayer"
+ "github.com/apache/devlake/core/models/domainlayer/devops"
+ "github.com/apache/devlake/helpers/e2ehelper"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/circleci/impl"
+ "github.com/apache/devlake/plugins/circleci/models"
+ "github.com/apache/devlake/plugins/circleci/tasks"
)
func TestCircleciJob(t *testing.T) {
diff --git a/backend/plugins/circleci/e2e/pipeline_test.go b/backend/plugins/circleci/e2e/pipeline_test.go
index 28d65c0..3d3b60d 100644
--- a/backend/plugins/circleci/e2e/pipeline_test.go
+++ b/backend/plugins/circleci/e2e/pipeline_test.go
@@ -20,11 +20,11 @@
import (
"testing"
- "github.com/apache/incubator-devlake/core/models/common"
- "github.com/apache/incubator-devlake/helpers/e2ehelper"
- "github.com/apache/incubator-devlake/plugins/circleci/impl"
- "github.com/apache/incubator-devlake/plugins/circleci/models"
- "github.com/apache/incubator-devlake/plugins/circleci/tasks"
+ "github.com/apache/devlake/core/models/common"
+ "github.com/apache/devlake/helpers/e2ehelper"
+ "github.com/apache/devlake/plugins/circleci/impl"
+ "github.com/apache/devlake/plugins/circleci/models"
+ "github.com/apache/devlake/plugins/circleci/tasks"
)
func TestCircleciPipeline(t *testing.T) {
diff --git a/backend/plugins/circleci/e2e/project_test.go b/backend/plugins/circleci/e2e/project_test.go
index 00d1ccd..2148a13 100644
--- a/backend/plugins/circleci/e2e/project_test.go
+++ b/backend/plugins/circleci/e2e/project_test.go
@@ -20,13 +20,13 @@
import (
"testing"
- "github.com/apache/incubator-devlake/core/models/common"
- "github.com/apache/incubator-devlake/core/models/domainlayer"
- "github.com/apache/incubator-devlake/core/models/domainlayer/devops"
- "github.com/apache/incubator-devlake/helpers/e2ehelper"
- "github.com/apache/incubator-devlake/plugins/circleci/impl"
- "github.com/apache/incubator-devlake/plugins/circleci/models"
- "github.com/apache/incubator-devlake/plugins/circleci/tasks"
+ "github.com/apache/devlake/core/models/common"
+ "github.com/apache/devlake/core/models/domainlayer"
+ "github.com/apache/devlake/core/models/domainlayer/devops"
+ "github.com/apache/devlake/helpers/e2ehelper"
+ "github.com/apache/devlake/plugins/circleci/impl"
+ "github.com/apache/devlake/plugins/circleci/models"
+ "github.com/apache/devlake/plugins/circleci/tasks"
)
func TestCircleciProject(t *testing.T) {
diff --git a/backend/plugins/circleci/e2e/workflow_test.go b/backend/plugins/circleci/e2e/workflow_test.go
index ba5194c..00e1078 100644
--- a/backend/plugins/circleci/e2e/workflow_test.go
+++ b/backend/plugins/circleci/e2e/workflow_test.go
@@ -20,14 +20,14 @@
import (
"testing"
- "github.com/apache/incubator-devlake/core/models/common"
- "github.com/apache/incubator-devlake/core/models/domainlayer"
- "github.com/apache/incubator-devlake/core/models/domainlayer/devops"
- "github.com/apache/incubator-devlake/helpers/e2ehelper"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/circleci/impl"
- "github.com/apache/incubator-devlake/plugins/circleci/models"
- "github.com/apache/incubator-devlake/plugins/circleci/tasks"
+ "github.com/apache/devlake/core/models/common"
+ "github.com/apache/devlake/core/models/domainlayer"
+ "github.com/apache/devlake/core/models/domainlayer/devops"
+ "github.com/apache/devlake/helpers/e2ehelper"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/circleci/impl"
+ "github.com/apache/devlake/plugins/circleci/models"
+ "github.com/apache/devlake/plugins/circleci/tasks"
)
func TestCircleciWorkflow(t *testing.T) {
diff --git a/backend/plugins/circleci/impl/impl.go b/backend/plugins/circleci/impl/impl.go
index 4610d88..675248b 100644
--- a/backend/plugins/circleci/impl/impl.go
+++ b/backend/plugins/circleci/impl/impl.go
@@ -20,17 +20,17 @@
import (
"fmt"
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- coreModels "github.com/apache/incubator-devlake/core/models"
- "github.com/apache/incubator-devlake/core/models/domainlayer/devops"
- "github.com/apache/incubator-devlake/core/plugin"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/circleci/api"
- "github.com/apache/incubator-devlake/plugins/circleci/models"
- "github.com/apache/incubator-devlake/plugins/circleci/models/migrationscripts"
- "github.com/apache/incubator-devlake/plugins/circleci/tasks"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ coreModels "github.com/apache/devlake/core/models"
+ "github.com/apache/devlake/core/models/domainlayer/devops"
+ "github.com/apache/devlake/core/plugin"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/circleci/api"
+ "github.com/apache/devlake/plugins/circleci/models"
+ "github.com/apache/devlake/plugins/circleci/models/migrationscripts"
+ "github.com/apache/devlake/plugins/circleci/tasks"
)
// make sure interface is implemented
@@ -159,7 +159,7 @@
// RootPkgPath PkgPath information lost when compiled as plugin(.so)
func (p Circleci) RootPkgPath() string {
- return "github.com/apache/incubator-devlake/plugins/circleci"
+ return "github.com/apache/devlake/plugins/circleci"
}
func (p Circleci) MigrationScripts() []plugin.MigrationScript {
diff --git a/backend/plugins/circleci/models/account.go b/backend/plugins/circleci/models/account.go
index a4a738b..2cf539c 100644
--- a/backend/plugins/circleci/models/account.go
+++ b/backend/plugins/circleci/models/account.go
@@ -17,7 +17,7 @@
package models
-import "github.com/apache/incubator-devlake/core/models/common"
+import "github.com/apache/devlake/core/models/common"
type CircleciAccount struct {
ConnectionId uint64 `gorm:"primaryKey;type:BIGINT"`
diff --git a/backend/plugins/circleci/models/connection.go b/backend/plugins/circleci/models/connection.go
index 3427e7f..9dd1fad 100644
--- a/backend/plugins/circleci/models/connection.go
+++ b/backend/plugins/circleci/models/connection.go
@@ -18,9 +18,9 @@
package models
import (
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/utils"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/utils"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
"net/http"
)
diff --git a/backend/plugins/circleci/models/job.go b/backend/plugins/circleci/models/job.go
index c8a3bea..a19d703 100644
--- a/backend/plugins/circleci/models/job.go
+++ b/backend/plugins/circleci/models/job.go
@@ -18,7 +18,7 @@
package models
import (
- "github.com/apache/incubator-devlake/core/models/common"
+ "github.com/apache/devlake/core/models/common"
)
type CircleciJob struct {
diff --git a/backend/plugins/circleci/models/migrationscripts/20230326_add_init_tables.go b/backend/plugins/circleci/models/migrationscripts/20230326_add_init_tables.go
index 6c29247..810dd36 100644
--- a/backend/plugins/circleci/models/migrationscripts/20230326_add_init_tables.go
+++ b/backend/plugins/circleci/models/migrationscripts/20230326_add_init_tables.go
@@ -18,10 +18,10 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/helpers/migrationhelper"
- "github.com/apache/incubator-devlake/plugins/circleci/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/helpers/migrationhelper"
+ "github.com/apache/devlake/plugins/circleci/models/migrationscripts/archived"
)
type addInitTables struct{}
diff --git a/backend/plugins/circleci/models/migrationscripts/20231129_add_fields_to_tool_circleci_jobs.go b/backend/plugins/circleci/models/migrationscripts/20231129_add_fields_to_tool_circleci_jobs.go
index 1ea3c34..7bc8790 100644
--- a/backend/plugins/circleci/models/migrationscripts/20231129_add_fields_to_tool_circleci_jobs.go
+++ b/backend/plugins/circleci/models/migrationscripts/20231129_add_fields_to_tool_circleci_jobs.go
@@ -18,8 +18,8 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
"time"
)
diff --git a/backend/plugins/circleci/models/migrationscripts/20260322_rename_created_at_to_created_date.go b/backend/plugins/circleci/models/migrationscripts/20260322_rename_created_at_to_created_date.go
index 497c0d3..4f6d218 100644
--- a/backend/plugins/circleci/models/migrationscripts/20260322_rename_created_at_to_created_date.go
+++ b/backend/plugins/circleci/models/migrationscripts/20260322_rename_created_at_to_created_date.go
@@ -20,8 +20,8 @@
import (
"time"
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
)
type circleciWorkflow20260322 struct {
diff --git a/backend/plugins/circleci/models/migrationscripts/archived/account.go b/backend/plugins/circleci/models/migrationscripts/archived/account.go
index fd26ce5..b29a56e 100644
--- a/backend/plugins/circleci/models/migrationscripts/archived/account.go
+++ b/backend/plugins/circleci/models/migrationscripts/archived/account.go
@@ -17,7 +17,7 @@
package archived
-import "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
+import "github.com/apache/devlake/core/models/migrationscripts/archived"
type CircleciAccount struct {
ConnectionId uint64 `gorm:"primaryKey;type:BIGINT"`
diff --git a/backend/plugins/circleci/models/migrationscripts/archived/connection.go b/backend/plugins/circleci/models/migrationscripts/archived/connection.go
index c1fdcd1..416f725 100644
--- a/backend/plugins/circleci/models/migrationscripts/archived/connection.go
+++ b/backend/plugins/circleci/models/migrationscripts/archived/connection.go
@@ -18,7 +18,7 @@
package archived
import (
- "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/models/migrationscripts/archived"
)
// CircleciConnection holds CircleciConn plus ID/Name for database storage
diff --git a/backend/plugins/circleci/models/migrationscripts/archived/job.go b/backend/plugins/circleci/models/migrationscripts/archived/job.go
index 55ebb98..a7aae17 100644
--- a/backend/plugins/circleci/models/migrationscripts/archived/job.go
+++ b/backend/plugins/circleci/models/migrationscripts/archived/job.go
@@ -18,7 +18,7 @@
package archived
import (
- "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/models/migrationscripts/archived"
)
type CircleciJob struct {
diff --git a/backend/plugins/circleci/models/migrationscripts/archived/pipeline.go b/backend/plugins/circleci/models/migrationscripts/archived/pipeline.go
index c0941ef..6abef28 100644
--- a/backend/plugins/circleci/models/migrationscripts/archived/pipeline.go
+++ b/backend/plugins/circleci/models/migrationscripts/archived/pipeline.go
@@ -20,7 +20,7 @@
import (
"time"
- "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/models/migrationscripts/archived"
)
type CircleciPipeline struct {
diff --git a/backend/plugins/circleci/models/migrationscripts/archived/project.go b/backend/plugins/circleci/models/migrationscripts/archived/project.go
index bc9f92a..fae7719 100644
--- a/backend/plugins/circleci/models/migrationscripts/archived/project.go
+++ b/backend/plugins/circleci/models/migrationscripts/archived/project.go
@@ -18,7 +18,7 @@
package archived
import (
- "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/models/migrationscripts/archived"
)
type CircleciProject struct {
diff --git a/backend/plugins/circleci/models/migrationscripts/archived/scope_config.go b/backend/plugins/circleci/models/migrationscripts/archived/scope_config.go
index 32a9ac0..4162e5c 100644
--- a/backend/plugins/circleci/models/migrationscripts/archived/scope_config.go
+++ b/backend/plugins/circleci/models/migrationscripts/archived/scope_config.go
@@ -18,7 +18,7 @@
package archived
import (
- "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/models/migrationscripts/archived"
)
type CircleciScopeConfig struct {
diff --git a/backend/plugins/circleci/models/migrationscripts/archived/workflow.go b/backend/plugins/circleci/models/migrationscripts/archived/workflow.go
index f3f6438..acd25c8 100644
--- a/backend/plugins/circleci/models/migrationscripts/archived/workflow.go
+++ b/backend/plugins/circleci/models/migrationscripts/archived/workflow.go
@@ -20,7 +20,7 @@
import (
"time"
- "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/models/migrationscripts/archived"
)
type CircleciWorkflow struct {
diff --git a/backend/plugins/circleci/models/migrationscripts/register.go b/backend/plugins/circleci/models/migrationscripts/register.go
index af8472a..1c601bf 100644
--- a/backend/plugins/circleci/models/migrationscripts/register.go
+++ b/backend/plugins/circleci/models/migrationscripts/register.go
@@ -17,7 +17,7 @@
package migrationscripts
-import "github.com/apache/incubator-devlake/core/plugin"
+import "github.com/apache/devlake/core/plugin"
// All return all the migration scripts
func All() []plugin.MigrationScript {
diff --git a/backend/plugins/circleci/models/pipeline.go b/backend/plugins/circleci/models/pipeline.go
index a775ac4..7a85be0 100644
--- a/backend/plugins/circleci/models/pipeline.go
+++ b/backend/plugins/circleci/models/pipeline.go
@@ -18,7 +18,7 @@
package models
import (
- "github.com/apache/incubator-devlake/core/models/common"
+ "github.com/apache/devlake/core/models/common"
)
type CircleciTrigger struct {
diff --git a/backend/plugins/circleci/models/project.go b/backend/plugins/circleci/models/project.go
index 453fed1..e92c771 100644
--- a/backend/plugins/circleci/models/project.go
+++ b/backend/plugins/circleci/models/project.go
@@ -18,8 +18,8 @@
package models
import (
- "github.com/apache/incubator-devlake/core/models/common"
- "github.com/apache/incubator-devlake/core/plugin"
+ "github.com/apache/devlake/core/models/common"
+ "github.com/apache/devlake/core/plugin"
)
type CircleciProject struct {
diff --git a/backend/plugins/circleci/models/scope_config.go b/backend/plugins/circleci/models/scope_config.go
index 8d6a433..d9bfd6d 100644
--- a/backend/plugins/circleci/models/scope_config.go
+++ b/backend/plugins/circleci/models/scope_config.go
@@ -18,7 +18,7 @@
package models
import (
- "github.com/apache/incubator-devlake/core/models/common"
+ "github.com/apache/devlake/core/models/common"
)
type CircleciScopeConfig struct {
diff --git a/backend/plugins/circleci/models/workflow.go b/backend/plugins/circleci/models/workflow.go
index 0b1a330..09f9689 100644
--- a/backend/plugins/circleci/models/workflow.go
+++ b/backend/plugins/circleci/models/workflow.go
@@ -18,7 +18,7 @@
package models
import (
- "github.com/apache/incubator-devlake/core/models/common"
+ "github.com/apache/devlake/core/models/common"
)
type CircleciWorkflow struct {
diff --git a/backend/plugins/circleci/tasks/account_collector.go b/backend/plugins/circleci/tasks/account_collector.go
index 2bc6450..f40b801 100644
--- a/backend/plugins/circleci/tasks/account_collector.go
+++ b/backend/plugins/circleci/tasks/account_collector.go
@@ -19,9 +19,9 @@
import (
"encoding/json"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
"net/http"
"net/url"
)
diff --git a/backend/plugins/circleci/tasks/account_converter.go b/backend/plugins/circleci/tasks/account_converter.go
index 572e343..9ea1012 100644
--- a/backend/plugins/circleci/tasks/account_converter.go
+++ b/backend/plugins/circleci/tasks/account_converter.go
@@ -18,13 +18,13 @@
package tasks
import (
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/domainlayer"
- "github.com/apache/incubator-devlake/core/models/domainlayer/crossdomain"
- "github.com/apache/incubator-devlake/core/plugin"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/circleci/models"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/domainlayer"
+ "github.com/apache/devlake/core/models/domainlayer/crossdomain"
+ "github.com/apache/devlake/core/plugin"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/circleci/models"
"reflect"
)
diff --git a/backend/plugins/circleci/tasks/account_extractor.go b/backend/plugins/circleci/tasks/account_extractor.go
index 69277a1..10835ab 100644
--- a/backend/plugins/circleci/tasks/account_extractor.go
+++ b/backend/plugins/circleci/tasks/account_extractor.go
@@ -19,10 +19,10 @@
import (
"encoding/json"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/circleci/models"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/circleci/models"
)
var _ plugin.SubTaskEntryPoint = ExtractAccounts
diff --git a/backend/plugins/circleci/tasks/api_client.go b/backend/plugins/circleci/tasks/api_client.go
index b8acc18..25d4bb7 100644
--- a/backend/plugins/circleci/tasks/api_client.go
+++ b/backend/plugins/circleci/tasks/api_client.go
@@ -18,10 +18,10 @@
package tasks
import (
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/circleci/models"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/circleci/models"
)
func NewCircleciApiClient(taskCtx plugin.TaskContext, connection *models.CircleciConnection) (*api.ApiAsyncClient, errors.Error) {
diff --git a/backend/plugins/circleci/tasks/job_collector.go b/backend/plugins/circleci/tasks/job_collector.go
index ca158c1..2e95010 100644
--- a/backend/plugins/circleci/tasks/job_collector.go
+++ b/backend/plugins/circleci/tasks/job_collector.go
@@ -22,11 +22,11 @@
"reflect"
"time"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/circleci/models"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/circleci/models"
)
const RAW_JOB_TABLE = "circleci_api_jobs"
diff --git a/backend/plugins/circleci/tasks/job_converter.go b/backend/plugins/circleci/tasks/job_converter.go
index 5a08560..c26d954 100644
--- a/backend/plugins/circleci/tasks/job_converter.go
+++ b/backend/plugins/circleci/tasks/job_converter.go
@@ -21,13 +21,13 @@
"reflect"
"time"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/domainlayer"
- "github.com/apache/incubator-devlake/core/models/domainlayer/devops"
- "github.com/apache/incubator-devlake/core/plugin"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/circleci/models"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/domainlayer"
+ "github.com/apache/devlake/core/models/domainlayer/devops"
+ "github.com/apache/devlake/core/plugin"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/circleci/models"
)
var ConvertJobsMeta = plugin.SubTaskMeta{
diff --git a/backend/plugins/circleci/tasks/job_extractor.go b/backend/plugins/circleci/tasks/job_extractor.go
index 291da99..8d65b46 100644
--- a/backend/plugins/circleci/tasks/job_extractor.go
+++ b/backend/plugins/circleci/tasks/job_extractor.go
@@ -19,10 +19,10 @@
import (
"encoding/json"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/circleci/models"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/circleci/models"
)
var _ plugin.SubTaskEntryPoint = ExtractJobs
diff --git a/backend/plugins/circleci/tasks/pipeline_collector.go b/backend/plugins/circleci/tasks/pipeline_collector.go
index 2dc8da4..fc981f9 100644
--- a/backend/plugins/circleci/tasks/pipeline_collector.go
+++ b/backend/plugins/circleci/tasks/pipeline_collector.go
@@ -21,9 +21,9 @@
"encoding/json"
"net/http"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
)
const RAW_PIPELINE_TABLE = "circleci_api_pipelines"
diff --git a/backend/plugins/circleci/tasks/pipeline_extractor.go b/backend/plugins/circleci/tasks/pipeline_extractor.go
index c1c9114..586eb2b 100644
--- a/backend/plugins/circleci/tasks/pipeline_extractor.go
+++ b/backend/plugins/circleci/tasks/pipeline_extractor.go
@@ -19,10 +19,10 @@
import (
"encoding/json"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/circleci/models"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/circleci/models"
)
var _ plugin.SubTaskEntryPoint = ExtractPipelines
diff --git a/backend/plugins/circleci/tasks/project_collector.go b/backend/plugins/circleci/tasks/project_collector.go
index 27347de..9081a22 100644
--- a/backend/plugins/circleci/tasks/project_collector.go
+++ b/backend/plugins/circleci/tasks/project_collector.go
@@ -20,9 +20,9 @@
import (
"net/url"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
)
const RAW_PROJECT_TABLE = "circleci_api_projects"
diff --git a/backend/plugins/circleci/tasks/project_converter.go b/backend/plugins/circleci/tasks/project_converter.go
index 82ff8eb..e6509dd 100644
--- a/backend/plugins/circleci/tasks/project_converter.go
+++ b/backend/plugins/circleci/tasks/project_converter.go
@@ -21,13 +21,13 @@
"fmt"
"reflect"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/domainlayer"
- "github.com/apache/incubator-devlake/core/models/domainlayer/devops"
- "github.com/apache/incubator-devlake/core/plugin"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/circleci/models"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/domainlayer"
+ "github.com/apache/devlake/core/models/domainlayer/devops"
+ "github.com/apache/devlake/core/plugin"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/circleci/models"
)
var ConvertProjectsMeta = plugin.SubTaskMeta{
diff --git a/backend/plugins/circleci/tasks/project_extractor.go b/backend/plugins/circleci/tasks/project_extractor.go
index 8850e90..b140d02 100644
--- a/backend/plugins/circleci/tasks/project_extractor.go
+++ b/backend/plugins/circleci/tasks/project_extractor.go
@@ -20,10 +20,10 @@
import (
"encoding/json"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/circleci/models"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/circleci/models"
)
var _ plugin.SubTaskEntryPoint = ExtractProjects
diff --git a/backend/plugins/circleci/tasks/shared.go b/backend/plugins/circleci/tasks/shared.go
index d6bbee8..f3be144 100644
--- a/backend/plugins/circleci/tasks/shared.go
+++ b/backend/plugins/circleci/tasks/shared.go
@@ -23,12 +23,12 @@
"net/url"
"time"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/domainlayer/didgen"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/circleci/models"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/domainlayer/didgen"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/circleci/models"
)
var accountIdGen *didgen.DomainIdGenerator
diff --git a/backend/plugins/circleci/tasks/shared_test.go b/backend/plugins/circleci/tasks/shared_test.go
index a6c55e9..97262b7 100644
--- a/backend/plugins/circleci/tasks/shared_test.go
+++ b/backend/plugins/circleci/tasks/shared_test.go
@@ -23,7 +23,7 @@
"net/http"
"testing"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
"github.com/stretchr/testify/assert"
)
diff --git a/backend/plugins/circleci/tasks/task_data.go b/backend/plugins/circleci/tasks/task_data.go
index ba30ba8..289596a 100644
--- a/backend/plugins/circleci/tasks/task_data.go
+++ b/backend/plugins/circleci/tasks/task_data.go
@@ -18,9 +18,9 @@
package tasks
import (
- "github.com/apache/incubator-devlake/core/errors"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/circleci/models"
+ "github.com/apache/devlake/core/errors"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/circleci/models"
)
type CircleciOptions struct {
diff --git a/backend/plugins/circleci/tasks/workflow_collector.go b/backend/plugins/circleci/tasks/workflow_collector.go
index 25c5c72..7847cfe 100644
--- a/backend/plugins/circleci/tasks/workflow_collector.go
+++ b/backend/plugins/circleci/tasks/workflow_collector.go
@@ -23,11 +23,11 @@
"reflect"
"time"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/circleci/models"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/circleci/models"
)
const RAW_WORKFLOW_TABLE = "circleci_api_workflows"
diff --git a/backend/plugins/circleci/tasks/workflow_converter.go b/backend/plugins/circleci/tasks/workflow_converter.go
index bf6b029..a70fb83 100644
--- a/backend/plugins/circleci/tasks/workflow_converter.go
+++ b/backend/plugins/circleci/tasks/workflow_converter.go
@@ -21,13 +21,13 @@
"fmt"
"reflect"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/domainlayer"
- "github.com/apache/incubator-devlake/core/models/domainlayer/devops"
- "github.com/apache/incubator-devlake/core/plugin"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/circleci/models"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/domainlayer"
+ "github.com/apache/devlake/core/models/domainlayer/devops"
+ "github.com/apache/devlake/core/plugin"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/circleci/models"
)
var ConvertWorkflowsMeta = plugin.SubTaskMeta{
diff --git a/backend/plugins/circleci/tasks/workflow_extractor.go b/backend/plugins/circleci/tasks/workflow_extractor.go
index 27ec520..b61e950 100644
--- a/backend/plugins/circleci/tasks/workflow_extractor.go
+++ b/backend/plugins/circleci/tasks/workflow_extractor.go
@@ -20,10 +20,10 @@
import (
"encoding/json"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/circleci/models"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/circleci/models"
)
var _ plugin.SubTaskEntryPoint = ExtractWorkflows
diff --git a/backend/plugins/claude_code/api/blueprint_v200.go b/backend/plugins/claude_code/api/blueprint_v200.go
index 3802b70..10a4fbc 100644
--- a/backend/plugins/claude_code/api/blueprint_v200.go
+++ b/backend/plugins/claude_code/api/blueprint_v200.go
@@ -18,13 +18,13 @@
package api
import (
- "github.com/apache/incubator-devlake/core/errors"
- coreModels "github.com/apache/incubator-devlake/core/models"
- "github.com/apache/incubator-devlake/core/plugin"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/helpers/srvhelper"
- "github.com/apache/incubator-devlake/plugins/claude_code/models"
- "github.com/apache/incubator-devlake/plugins/claude_code/tasks"
+ "github.com/apache/devlake/core/errors"
+ coreModels "github.com/apache/devlake/core/models"
+ "github.com/apache/devlake/core/plugin"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/helpers/srvhelper"
+ "github.com/apache/devlake/plugins/claude_code/models"
+ "github.com/apache/devlake/plugins/claude_code/tasks"
)
// MakeDataSourcePipelinePlanV200 generates the pipeline plan for blueprint v2.0.0.
diff --git a/backend/plugins/claude_code/api/connection.go b/backend/plugins/claude_code/api/connection.go
index 2cfc6d2..c99ab94 100644
--- a/backend/plugins/claude_code/api/connection.go
+++ b/backend/plugins/claude_code/api/connection.go
@@ -20,10 +20,10 @@
import (
"strings"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/claude_code/models"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/claude_code/models"
)
// PostConnections creates a new Claude Code connection.
diff --git a/backend/plugins/claude_code/api/connection_test.go b/backend/plugins/claude_code/api/connection_test.go
index efa81d4..69208f6 100644
--- a/backend/plugins/claude_code/api/connection_test.go
+++ b/backend/plugins/claude_code/api/connection_test.go
@@ -22,7 +22,7 @@
"github.com/stretchr/testify/assert"
- "github.com/apache/incubator-devlake/plugins/claude_code/models"
+ "github.com/apache/devlake/plugins/claude_code/models"
)
const (
diff --git a/backend/plugins/claude_code/api/init.go b/backend/plugins/claude_code/api/init.go
index 3b27e4a..a3dd2fb 100644
--- a/backend/plugins/claude_code/api/init.go
+++ b/backend/plugins/claude_code/api/init.go
@@ -20,10 +20,10 @@
import (
"github.com/go-playground/validator/v10"
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/plugin"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/claude_code/models"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/plugin"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/claude_code/models"
)
var (
diff --git a/backend/plugins/claude_code/api/remote_api.go b/backend/plugins/claude_code/api/remote_api.go
index 9c2e53e..2b3e90b 100644
--- a/backend/plugins/claude_code/api/remote_api.go
+++ b/backend/plugins/claude_code/api/remote_api.go
@@ -20,12 +20,12 @@
import (
"strings"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- helperapi "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- dsmodels "github.com/apache/incubator-devlake/helpers/pluginhelper/api/models"
- "github.com/apache/incubator-devlake/helpers/utils"
- "github.com/apache/incubator-devlake/plugins/claude_code/models"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ helperapi "github.com/apache/devlake/helpers/pluginhelper/api"
+ dsmodels "github.com/apache/devlake/helpers/pluginhelper/api/models"
+ "github.com/apache/devlake/helpers/utils"
+ "github.com/apache/devlake/plugins/claude_code/models"
)
// ClaudeCodeRemotePagination is a placeholder for remote scope pagination.
diff --git a/backend/plugins/claude_code/api/scope.go b/backend/plugins/claude_code/api/scope.go
index ce8dea7..d55a643 100644
--- a/backend/plugins/claude_code/api/scope.go
+++ b/backend/plugins/claude_code/api/scope.go
@@ -18,8 +18,8 @@
package api
import (
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
)
// GetScopeList returns all scopes for a connection.
diff --git a/backend/plugins/claude_code/api/scope_config.go b/backend/plugins/claude_code/api/scope_config.go
index 571e49e..74a2766 100644
--- a/backend/plugins/claude_code/api/scope_config.go
+++ b/backend/plugins/claude_code/api/scope_config.go
@@ -18,8 +18,8 @@
package api
import (
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
)
// PostScopeConfig creates a new scope config.
diff --git a/backend/plugins/claude_code/api/test_connection.go b/backend/plugins/claude_code/api/test_connection.go
index 45a75d4..6a32365 100644
--- a/backend/plugins/claude_code/api/test_connection.go
+++ b/backend/plugins/claude_code/api/test_connection.go
@@ -21,11 +21,11 @@
gocontext "context"
"net/http"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/claude_code/models"
- "github.com/apache/incubator-devlake/plugins/claude_code/service"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/claude_code/models"
+ "github.com/apache/devlake/plugins/claude_code/service"
)
// TestConnection validates a Claude Code connection before saving it.
diff --git a/backend/plugins/claude_code/claude_code.go b/backend/plugins/claude_code/claude_code.go
index 73fedee..de3a19e 100644
--- a/backend/plugins/claude_code/claude_code.go
+++ b/backend/plugins/claude_code/claude_code.go
@@ -18,8 +18,8 @@
package main
import (
- "github.com/apache/incubator-devlake/core/runner"
- "github.com/apache/incubator-devlake/plugins/claude_code/impl"
+ "github.com/apache/devlake/core/runner"
+ "github.com/apache/devlake/plugins/claude_code/impl"
"github.com/spf13/cobra"
)
diff --git a/backend/plugins/claude_code/impl/connection_helper.go b/backend/plugins/claude_code/impl/connection_helper.go
index 8b058d5..f29b7e5 100644
--- a/backend/plugins/claude_code/impl/connection_helper.go
+++ b/backend/plugins/claude_code/impl/connection_helper.go
@@ -17,7 +17,7 @@
package impl
-import "github.com/apache/incubator-devlake/plugins/claude_code/models"
+import "github.com/apache/devlake/plugins/claude_code/models"
// NormalizeConnection ensures required defaults are set before use.
func NormalizeConnection(connection *models.ClaudeCodeConnection) {
diff --git a/backend/plugins/claude_code/impl/impl.go b/backend/plugins/claude_code/impl/impl.go
index 4e7d2b1..c1d055d 100644
--- a/backend/plugins/claude_code/impl/impl.go
+++ b/backend/plugins/claude_code/impl/impl.go
@@ -18,16 +18,16 @@
package impl
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- coreModels "github.com/apache/incubator-devlake/core/models"
- "github.com/apache/incubator-devlake/core/plugin"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/claude_code/api"
- "github.com/apache/incubator-devlake/plugins/claude_code/models"
- "github.com/apache/incubator-devlake/plugins/claude_code/models/migrationscripts"
- "github.com/apache/incubator-devlake/plugins/claude_code/tasks"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ coreModels "github.com/apache/devlake/core/models"
+ "github.com/apache/devlake/core/plugin"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/claude_code/api"
+ "github.com/apache/devlake/plugins/claude_code/models"
+ "github.com/apache/devlake/plugins/claude_code/models/migrationscripts"
+ "github.com/apache/devlake/plugins/claude_code/tasks"
)
var _ interface {
@@ -158,7 +158,7 @@
}
func (p ClaudeCode) RootPkgPath() string {
- return "github.com/apache/incubator-devlake/plugins/claude_code"
+ return "github.com/apache/devlake/plugins/claude_code"
}
func (p ClaudeCode) MigrationScripts() []plugin.MigrationScript {
diff --git a/backend/plugins/claude_code/models/activity_summary.go b/backend/plugins/claude_code/models/activity_summary.go
index 3e81f6b..39c6b18 100644
--- a/backend/plugins/claude_code/models/activity_summary.go
+++ b/backend/plugins/claude_code/models/activity_summary.go
@@ -20,7 +20,7 @@
import (
"time"
- "github.com/apache/incubator-devlake/core/models/common"
+ "github.com/apache/devlake/core/models/common"
)
// ClaudeCodeActivitySummary captures daily organisation-level engagement and seat
diff --git a/backend/plugins/claude_code/models/chat_project.go b/backend/plugins/claude_code/models/chat_project.go
index 63eaff0..63203cb 100644
--- a/backend/plugins/claude_code/models/chat_project.go
+++ b/backend/plugins/claude_code/models/chat_project.go
@@ -20,7 +20,7 @@
import (
"time"
- "github.com/apache/incubator-devlake/core/models/common"
+ "github.com/apache/devlake/core/models/common"
)
// ClaudeCodeChatProject captures per-project daily usage from the
diff --git a/backend/plugins/claude_code/models/connection.go b/backend/plugins/claude_code/models/connection.go
index 700b611..700005c 100644
--- a/backend/plugins/claude_code/models/connection.go
+++ b/backend/plugins/claude_code/models/connection.go
@@ -21,9 +21,9 @@
"net/http"
"strings"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/utils"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/utils"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
)
const (
diff --git a/backend/plugins/claude_code/models/connection_test.go b/backend/plugins/claude_code/models/connection_test.go
index 1cb0d55..a469d54 100644
--- a/backend/plugins/claude_code/models/connection_test.go
+++ b/backend/plugins/claude_code/models/connection_test.go
@@ -22,7 +22,7 @@
"github.com/stretchr/testify/assert"
- "github.com/apache/incubator-devlake/core/utils"
+ "github.com/apache/devlake/core/utils"
)
const (
diff --git a/backend/plugins/claude_code/models/connector_usage.go b/backend/plugins/claude_code/models/connector_usage.go
index 3dca530..e965585 100644
--- a/backend/plugins/claude_code/models/connector_usage.go
+++ b/backend/plugins/claude_code/models/connector_usage.go
@@ -20,7 +20,7 @@
import (
"time"
- "github.com/apache/incubator-devlake/core/models/common"
+ "github.com/apache/devlake/core/models/common"
)
// ClaudeCodeConnectorUsage captures per-connector daily usage from the
diff --git a/backend/plugins/claude_code/models/migrationscripts/20260309_initialize.go b/backend/plugins/claude_code/models/migrationscripts/20260309_initialize.go
index 8897bc6..224233f 100644
--- a/backend/plugins/claude_code/models/migrationscripts/20260309_initialize.go
+++ b/backend/plugins/claude_code/models/migrationscripts/20260309_initialize.go
@@ -18,10 +18,10 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
- "github.com/apache/incubator-devlake/helpers/migrationhelper"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/helpers/migrationhelper"
)
// addClaudeCodeInitialTables creates the initial Claude Code tool-layer tables.
diff --git a/backend/plugins/claude_code/models/migrationscripts/20260319_add_custom_headers.go b/backend/plugins/claude_code/models/migrationscripts/20260319_add_custom_headers.go
index ba9db8e..2d9a080 100644
--- a/backend/plugins/claude_code/models/migrationscripts/20260319_add_custom_headers.go
+++ b/backend/plugins/claude_code/models/migrationscripts/20260319_add_custom_headers.go
@@ -18,10 +18,10 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
- "github.com/apache/incubator-devlake/helpers/migrationhelper"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/helpers/migrationhelper"
)
// addClaudeCodeCustomHeaders adds the custom_headers column to the connections table.
diff --git a/backend/plugins/claude_code/models/migrationscripts/20260319_replace_analytics_tables.go b/backend/plugins/claude_code/models/migrationscripts/20260319_replace_analytics_tables.go
index 0c089e6..f0db509 100644
--- a/backend/plugins/claude_code/models/migrationscripts/20260319_replace_analytics_tables.go
+++ b/backend/plugins/claude_code/models/migrationscripts/20260319_replace_analytics_tables.go
@@ -21,10 +21,10 @@
"encoding/json"
"time"
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
- "github.com/apache/incubator-devlake/helpers/migrationhelper"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/helpers/migrationhelper"
)
// replaceClaudeCodeAnalyticsTables creates the five analytics endpoint tables
diff --git a/backend/plugins/claude_code/models/migrationscripts/register.go b/backend/plugins/claude_code/models/migrationscripts/register.go
index e62d15e..26a1663 100644
--- a/backend/plugins/claude_code/models/migrationscripts/register.go
+++ b/backend/plugins/claude_code/models/migrationscripts/register.go
@@ -17,7 +17,7 @@
package migrationscripts
-import "github.com/apache/incubator-devlake/core/plugin"
+import "github.com/apache/devlake/core/plugin"
// All returns the ordered list of migration scripts for the Claude Code plugin.
func All() []plugin.MigrationScript {
diff --git a/backend/plugins/claude_code/models/models.go b/backend/plugins/claude_code/models/models.go
index c1ee7d8..a468f2e 100644
--- a/backend/plugins/claude_code/models/models.go
+++ b/backend/plugins/claude_code/models/models.go
@@ -17,7 +17,7 @@
package models
-import "github.com/apache/incubator-devlake/core/dal"
+import "github.com/apache/devlake/core/dal"
// GetTablesInfo returns the list of tool-layer tables managed by the Claude Code plugin.
func GetTablesInfo() []dal.Tabler {
diff --git a/backend/plugins/claude_code/models/scope.go b/backend/plugins/claude_code/models/scope.go
index 9f085a5..35e641b 100644
--- a/backend/plugins/claude_code/models/scope.go
+++ b/backend/plugins/claude_code/models/scope.go
@@ -20,8 +20,8 @@
import (
"strings"
- "github.com/apache/incubator-devlake/core/models/common"
- "github.com/apache/incubator-devlake/core/plugin"
+ "github.com/apache/devlake/core/models/common"
+ "github.com/apache/devlake/core/plugin"
"gorm.io/gorm"
)
diff --git a/backend/plugins/claude_code/models/scope_config.go b/backend/plugins/claude_code/models/scope_config.go
index 22f54f3..008ec04 100644
--- a/backend/plugins/claude_code/models/scope_config.go
+++ b/backend/plugins/claude_code/models/scope_config.go
@@ -18,8 +18,8 @@
package models
import (
- "github.com/apache/incubator-devlake/core/models/common"
- "github.com/apache/incubator-devlake/core/plugin"
+ "github.com/apache/devlake/core/models/common"
+ "github.com/apache/devlake/core/plugin"
)
var _ plugin.ToolLayerScopeConfig = (*ClaudeCodeScopeConfig)(nil)
diff --git a/backend/plugins/claude_code/models/skill_usage.go b/backend/plugins/claude_code/models/skill_usage.go
index 3ca4d6f..ffbcdb2 100644
--- a/backend/plugins/claude_code/models/skill_usage.go
+++ b/backend/plugins/claude_code/models/skill_usage.go
@@ -20,7 +20,7 @@
import (
"time"
- "github.com/apache/incubator-devlake/core/models/common"
+ "github.com/apache/devlake/core/models/common"
)
// ClaudeCodeSkillUsage captures per-skill daily usage from the
diff --git a/backend/plugins/claude_code/models/user_activity.go b/backend/plugins/claude_code/models/user_activity.go
index 6385ae8..324fe12 100644
--- a/backend/plugins/claude_code/models/user_activity.go
+++ b/backend/plugins/claude_code/models/user_activity.go
@@ -20,7 +20,7 @@
import (
"time"
- "github.com/apache/incubator-devlake/core/models/common"
+ "github.com/apache/devlake/core/models/common"
)
// ClaudeCodeUserActivity captures per-user daily engagement metrics from the
diff --git a/backend/plugins/claude_code/service/connection_test_helper.go b/backend/plugins/claude_code/service/connection_test_helper.go
index 97581ce..4c98f53 100644
--- a/backend/plugins/claude_code/service/connection_test_helper.go
+++ b/backend/plugins/claude_code/service/connection_test_helper.go
@@ -26,10 +26,10 @@
"strings"
"time"
- corectx "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/claude_code/models"
+ corectx "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/claude_code/models"
)
// TestConnectionResult represents the payload returned by the connection test endpoints.
diff --git a/backend/plugins/claude_code/tasks/activity_summary_collector.go b/backend/plugins/claude_code/tasks/activity_summary_collector.go
index 79728f1..a0e8352 100644
--- a/backend/plugins/claude_code/tasks/activity_summary_collector.go
+++ b/backend/plugins/claude_code/tasks/activity_summary_collector.go
@@ -24,9 +24,9 @@
"strings"
"time"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
)
// CollectActivitySummary collects daily organisation-level summaries from
diff --git a/backend/plugins/claude_code/tasks/activity_summary_extractor.go b/backend/plugins/claude_code/tasks/activity_summary_extractor.go
index 8e63e8d..1985dfe 100644
--- a/backend/plugins/claude_code/tasks/activity_summary_extractor.go
+++ b/backend/plugins/claude_code/tasks/activity_summary_extractor.go
@@ -22,10 +22,10 @@
"strings"
"time"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/claude_code/models"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/claude_code/models"
)
// activitySummaryRecord is the JSON shape returned by /v1/organizations/analytics/summaries.
diff --git a/backend/plugins/claude_code/tasks/api_client.go b/backend/plugins/claude_code/tasks/api_client.go
index 8f3f29d..baa0c46 100644
--- a/backend/plugins/claude_code/tasks/api_client.go
+++ b/backend/plugins/claude_code/tasks/api_client.go
@@ -21,11 +21,11 @@
"net/http"
"time"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/log"
- "github.com/apache/incubator-devlake/core/plugin"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/claude_code/models"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/log"
+ "github.com/apache/devlake/core/plugin"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/claude_code/models"
)
type nowFunc func() time.Time
diff --git a/backend/plugins/claude_code/tasks/chat_project_collector.go b/backend/plugins/claude_code/tasks/chat_project_collector.go
index 18062e1..6d9ba80 100644
--- a/backend/plugins/claude_code/tasks/chat_project_collector.go
+++ b/backend/plugins/claude_code/tasks/chat_project_collector.go
@@ -25,9 +25,9 @@
"strings"
"time"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
)
// CollectChatProjects collects per-project daily usage from
diff --git a/backend/plugins/claude_code/tasks/chat_project_extractor.go b/backend/plugins/claude_code/tasks/chat_project_extractor.go
index 55a27a5..f97e9a0 100644
--- a/backend/plugins/claude_code/tasks/chat_project_extractor.go
+++ b/backend/plugins/claude_code/tasks/chat_project_extractor.go
@@ -22,10 +22,10 @@
"strings"
"time"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/claude_code/models"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/claude_code/models"
)
// chatProjectRecord is the JSON shape returned by /v1/organizations/analytics/apps/chat/projects.
diff --git a/backend/plugins/claude_code/tasks/collector_utils.go b/backend/plugins/claude_code/tasks/collector_utils.go
index 1be3a41..fbf5276 100644
--- a/backend/plugins/claude_code/tasks/collector_utils.go
+++ b/backend/plugins/claude_code/tasks/collector_utils.go
@@ -25,8 +25,8 @@
"strings"
"time"
- "github.com/apache/incubator-devlake/core/errors"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/core/errors"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
)
const (
diff --git a/backend/plugins/claude_code/tasks/connector_usage_collector.go b/backend/plugins/claude_code/tasks/connector_usage_collector.go
index 2b885b1..0baa692 100644
--- a/backend/plugins/claude_code/tasks/connector_usage_collector.go
+++ b/backend/plugins/claude_code/tasks/connector_usage_collector.go
@@ -25,9 +25,9 @@
"strings"
"time"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
)
// CollectConnectorUsage collects per-connector daily usage from /v1/organizations/analytics/connectors.
diff --git a/backend/plugins/claude_code/tasks/connector_usage_extractor.go b/backend/plugins/claude_code/tasks/connector_usage_extractor.go
index 833ca46..a833c23 100644
--- a/backend/plugins/claude_code/tasks/connector_usage_extractor.go
+++ b/backend/plugins/claude_code/tasks/connector_usage_extractor.go
@@ -21,10 +21,10 @@
"encoding/json"
"strings"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/claude_code/models"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/claude_code/models"
)
// connectorUsageRecord is the JSON shape returned by /v1/organizations/analytics/connectors.
diff --git a/backend/plugins/claude_code/tasks/register.go b/backend/plugins/claude_code/tasks/register.go
index 3750769..21d264b 100644
--- a/backend/plugins/claude_code/tasks/register.go
+++ b/backend/plugins/claude_code/tasks/register.go
@@ -17,7 +17,7 @@
package tasks
-import "github.com/apache/incubator-devlake/core/plugin"
+import "github.com/apache/devlake/core/plugin"
// GetSubTaskMetas returns the ordered list of Claude Code subtasks.
func GetSubTaskMetas() []plugin.SubTaskMeta {
diff --git a/backend/plugins/claude_code/tasks/skill_usage_collector.go b/backend/plugins/claude_code/tasks/skill_usage_collector.go
index dfb8761..435621f 100644
--- a/backend/plugins/claude_code/tasks/skill_usage_collector.go
+++ b/backend/plugins/claude_code/tasks/skill_usage_collector.go
@@ -25,9 +25,9 @@
"strings"
"time"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
)
// CollectSkillUsage collects per-skill daily usage from /v1/organizations/analytics/skills.
diff --git a/backend/plugins/claude_code/tasks/skill_usage_extractor.go b/backend/plugins/claude_code/tasks/skill_usage_extractor.go
index 72743ce..153a1a8 100644
--- a/backend/plugins/claude_code/tasks/skill_usage_extractor.go
+++ b/backend/plugins/claude_code/tasks/skill_usage_extractor.go
@@ -21,10 +21,10 @@
"encoding/json"
"strings"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/claude_code/models"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/claude_code/models"
)
// skillUsageRecord is the JSON shape returned by /v1/organizations/analytics/skills.
diff --git a/backend/plugins/claude_code/tasks/subtasks.go b/backend/plugins/claude_code/tasks/subtasks.go
index 82fd4ae..df4996e 100644
--- a/backend/plugins/claude_code/tasks/subtasks.go
+++ b/backend/plugins/claude_code/tasks/subtasks.go
@@ -17,7 +17,7 @@
package tasks
-import "github.com/apache/incubator-devlake/core/plugin"
+import "github.com/apache/devlake/core/plugin"
var CollectUserActivityMeta = plugin.SubTaskMeta{
Name: "collectUserActivity",
diff --git a/backend/plugins/claude_code/tasks/task_data.go b/backend/plugins/claude_code/tasks/task_data.go
index 7c72e52..795f18c 100644
--- a/backend/plugins/claude_code/tasks/task_data.go
+++ b/backend/plugins/claude_code/tasks/task_data.go
@@ -17,7 +17,7 @@
package tasks
-import "github.com/apache/incubator-devlake/plugins/claude_code/models"
+import "github.com/apache/devlake/plugins/claude_code/models"
// ClaudeCodeTaskData stores runtime dependencies for subtasks.
type ClaudeCodeTaskData struct {
diff --git a/backend/plugins/claude_code/tasks/user_activity_collector.go b/backend/plugins/claude_code/tasks/user_activity_collector.go
index 7239390..e3a1d7d 100644
--- a/backend/plugins/claude_code/tasks/user_activity_collector.go
+++ b/backend/plugins/claude_code/tasks/user_activity_collector.go
@@ -25,9 +25,9 @@
"strings"
"time"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
)
// CollectUserActivity collects per-user daily engagement metrics.
diff --git a/backend/plugins/claude_code/tasks/user_activity_extractor.go b/backend/plugins/claude_code/tasks/user_activity_extractor.go
index 4050a7c..3c30339 100644
--- a/backend/plugins/claude_code/tasks/user_activity_extractor.go
+++ b/backend/plugins/claude_code/tasks/user_activity_extractor.go
@@ -22,10 +22,10 @@
"strings"
"time"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/claude_code/models"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/claude_code/models"
)
// ── Enterprise API response types (/v1/organizations/analytics/users) ──────────
diff --git a/backend/plugins/clickup/api/blueprint_v200.go b/backend/plugins/clickup/api/blueprint_v200.go
index 98f2439..07bf395 100644
--- a/backend/plugins/clickup/api/blueprint_v200.go
+++ b/backend/plugins/clickup/api/blueprint_v200.go
@@ -18,16 +18,16 @@
package api
import (
- "github.com/apache/incubator-devlake/core/errors"
- coreModels "github.com/apache/incubator-devlake/core/models"
- "github.com/apache/incubator-devlake/core/models/domainlayer/didgen"
- "github.com/apache/incubator-devlake/core/models/domainlayer/ticket"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/core/utils"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/helpers/srvhelper"
- "github.com/apache/incubator-devlake/plugins/clickup/models"
- "github.com/apache/incubator-devlake/plugins/clickup/tasks"
+ "github.com/apache/devlake/core/errors"
+ coreModels "github.com/apache/devlake/core/models"
+ "github.com/apache/devlake/core/models/domainlayer/didgen"
+ "github.com/apache/devlake/core/models/domainlayer/ticket"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/core/utils"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/helpers/srvhelper"
+ "github.com/apache/devlake/plugins/clickup/models"
+ "github.com/apache/devlake/plugins/clickup/tasks"
)
func MakePipelinePlanV200(
diff --git a/backend/plugins/clickup/api/connection_api.go b/backend/plugins/clickup/api/connection_api.go
index 052b1e5..f7b992c 100644
--- a/backend/plugins/clickup/api/connection_api.go
+++ b/backend/plugins/clickup/api/connection_api.go
@@ -21,12 +21,12 @@
"context"
"net/http"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/clickup/models"
- "github.com/apache/incubator-devlake/plugins/clickup/tasks"
- "github.com/apache/incubator-devlake/server/api/shared"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/clickup/models"
+ "github.com/apache/devlake/plugins/clickup/tasks"
+ "github.com/apache/devlake/server/api/shared"
)
type ClickUpTestConnResponse struct {
diff --git a/backend/plugins/clickup/api/init.go b/backend/plugins/clickup/api/init.go
index bc185fb..6c066b2 100644
--- a/backend/plugins/clickup/api/init.go
+++ b/backend/plugins/clickup/api/init.go
@@ -18,10 +18,10 @@
package api
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/clickup/models"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/clickup/models"
"github.com/go-playground/validator/v10"
)
diff --git a/backend/plugins/clickup/api/remote_api.go b/backend/plugins/clickup/api/remote_api.go
index 93e9589..441fe58 100644
--- a/backend/plugins/clickup/api/remote_api.go
+++ b/backend/plugins/clickup/api/remote_api.go
@@ -21,11 +21,11 @@
"fmt"
"strings"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- dsmodels "github.com/apache/incubator-devlake/helpers/pluginhelper/api/models"
- "github.com/apache/incubator-devlake/plugins/clickup/models"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ dsmodels "github.com/apache/devlake/helpers/pluginhelper/api/models"
+ "github.com/apache/devlake/plugins/clickup/models"
)
// ClickUpRemotePagination is a placeholder: the ClickUp v2 hierarchy endpoints
diff --git a/backend/plugins/clickup/api/scope_api.go b/backend/plugins/clickup/api/scope_api.go
index 5bfcb9d..74c25c5 100644
--- a/backend/plugins/clickup/api/scope_api.go
+++ b/backend/plugins/clickup/api/scope_api.go
@@ -18,10 +18,10 @@
package api
import (
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/clickup/models"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/clickup/models"
)
type PutScopesReqBody api.PutScopesReqBody[models.ClickUpFolder]
diff --git a/backend/plugins/clickup/api/scope_config_api.go b/backend/plugins/clickup/api/scope_config_api.go
index fab3735..cdd0fb9 100644
--- a/backend/plugins/clickup/api/scope_config_api.go
+++ b/backend/plugins/clickup/api/scope_config_api.go
@@ -18,8 +18,8 @@
package api
import (
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
)
// PostScopeConfig create scope config for ClickUp
diff --git a/backend/plugins/clickup/clickup.go b/backend/plugins/clickup/clickup.go
index a7806a1..7f1a6dd 100644
--- a/backend/plugins/clickup/clickup.go
+++ b/backend/plugins/clickup/clickup.go
@@ -18,8 +18,8 @@
package main // must be main for plugin entry point
import (
- "github.com/apache/incubator-devlake/core/runner"
- "github.com/apache/incubator-devlake/plugins/clickup/impl"
+ "github.com/apache/devlake/core/runner"
+ "github.com/apache/devlake/plugins/clickup/impl"
"github.com/spf13/cobra"
)
diff --git a/backend/plugins/clickup/impl/impl.go b/backend/plugins/clickup/impl/impl.go
index bdf9b6e..d711018 100644
--- a/backend/plugins/clickup/impl/impl.go
+++ b/backend/plugins/clickup/impl/impl.go
@@ -21,16 +21,16 @@
"fmt"
"time"
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- coreModels "github.com/apache/incubator-devlake/core/models"
- "github.com/apache/incubator-devlake/core/plugin"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/clickup/api"
- "github.com/apache/incubator-devlake/plugins/clickup/models"
- "github.com/apache/incubator-devlake/plugins/clickup/models/migrationscripts"
- "github.com/apache/incubator-devlake/plugins/clickup/tasks"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ coreModels "github.com/apache/devlake/core/models"
+ "github.com/apache/devlake/core/plugin"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/clickup/api"
+ "github.com/apache/devlake/plugins/clickup/models"
+ "github.com/apache/devlake/plugins/clickup/models/migrationscripts"
+ "github.com/apache/devlake/plugins/clickup/tasks"
)
var _ interface {
@@ -61,7 +61,7 @@
}
func (p ClickUp) RootPkgPath() string {
- return "github.com/apache/incubator-devlake/plugins/clickup"
+ return "github.com/apache/devlake/plugins/clickup"
}
func (p ClickUp) Connection() dal.Tabler {
diff --git a/backend/plugins/clickup/models/connection.go b/backend/plugins/clickup/models/connection.go
index 0f98598..46f8374 100644
--- a/backend/plugins/clickup/models/connection.go
+++ b/backend/plugins/clickup/models/connection.go
@@ -20,9 +20,9 @@
import (
"net/http"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/utils"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/utils"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
)
// ClickUpConn holds the essential information to connect to the ClickUp API.
diff --git a/backend/plugins/clickup/models/folder.go b/backend/plugins/clickup/models/folder.go
index 347c15e..066c867 100644
--- a/backend/plugins/clickup/models/folder.go
+++ b/backend/plugins/clickup/models/folder.go
@@ -18,8 +18,8 @@
package models
import (
- "github.com/apache/incubator-devlake/core/models/common"
- "github.com/apache/incubator-devlake/core/plugin"
+ "github.com/apache/devlake/core/models/common"
+ "github.com/apache/devlake/core/plugin"
)
var _ plugin.ToolLayerScope = (*ClickUpFolder)(nil)
diff --git a/backend/plugins/clickup/models/list.go b/backend/plugins/clickup/models/list.go
index 6f60ce7..4f15c11 100644
--- a/backend/plugins/clickup/models/list.go
+++ b/backend/plugins/clickup/models/list.go
@@ -20,7 +20,7 @@
import (
"time"
- "github.com/apache/incubator-devlake/core/models/common"
+ "github.com/apache/devlake/core/models/common"
)
// ClickUpList is a list inside a scoped folder. It is NOT itself a scope (the
diff --git a/backend/plugins/clickup/models/migrationscripts/20260720_add_init_tables.go b/backend/plugins/clickup/models/migrationscripts/20260720_add_init_tables.go
index 24d4beb..ae3c7fc 100644
--- a/backend/plugins/clickup/models/migrationscripts/20260720_add_init_tables.go
+++ b/backend/plugins/clickup/models/migrationscripts/20260720_add_init_tables.go
@@ -18,10 +18,10 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/helpers/migrationhelper"
- "github.com/apache/incubator-devlake/plugins/clickup/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/helpers/migrationhelper"
+ "github.com/apache/devlake/plugins/clickup/models/migrationscripts/archived"
)
type addInitTables struct{}
diff --git a/backend/plugins/clickup/models/migrationscripts/20260722_add_folder_scope.go b/backend/plugins/clickup/models/migrationscripts/20260722_add_folder_scope.go
index 3f0affb..1a27cd3 100644
--- a/backend/plugins/clickup/models/migrationscripts/20260722_add_folder_scope.go
+++ b/backend/plugins/clickup/models/migrationscripts/20260722_add_folder_scope.go
@@ -20,10 +20,10 @@
import (
"time"
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
- "github.com/apache/incubator-devlake/helpers/migrationhelper"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/helpers/migrationhelper"
)
// addFolderScope moves the plugin's data-source scope from List to Folder
diff --git a/backend/plugins/clickup/models/migrationscripts/20260723_add_list_type_patterns.go b/backend/plugins/clickup/models/migrationscripts/20260723_add_list_type_patterns.go
index 28fa313..51948b5 100644
--- a/backend/plugins/clickup/models/migrationscripts/20260723_add_list_type_patterns.go
+++ b/backend/plugins/clickup/models/migrationscripts/20260723_add_list_type_patterns.go
@@ -18,10 +18,10 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
- "github.com/apache/incubator-devlake/helpers/migrationhelper"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/helpers/migrationhelper"
)
// addListTypePatterns adds the list-name typing columns to
diff --git a/backend/plugins/clickup/models/migrationscripts/archived/models.go b/backend/plugins/clickup/models/migrationscripts/archived/models.go
index 2ecc04f..9c39813 100644
--- a/backend/plugins/clickup/models/migrationscripts/archived/models.go
+++ b/backend/plugins/clickup/models/migrationscripts/archived/models.go
@@ -23,7 +23,7 @@
import (
"time"
- "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/models/migrationscripts/archived"
)
type ClickUpConnection struct {
diff --git a/backend/plugins/clickup/models/migrationscripts/register.go b/backend/plugins/clickup/models/migrationscripts/register.go
index 98bff77..4d5a959 100644
--- a/backend/plugins/clickup/models/migrationscripts/register.go
+++ b/backend/plugins/clickup/models/migrationscripts/register.go
@@ -18,7 +18,7 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/plugin"
+ "github.com/apache/devlake/core/plugin"
)
// All return all the migration scripts
diff --git a/backend/plugins/clickup/models/scope_config.go b/backend/plugins/clickup/models/scope_config.go
index d2ddf62..a6e8ea7 100644
--- a/backend/plugins/clickup/models/scope_config.go
+++ b/backend/plugins/clickup/models/scope_config.go
@@ -18,7 +18,7 @@
package models
import (
- "github.com/apache/incubator-devlake/core/models/common"
+ "github.com/apache/devlake/core/models/common"
)
// ClickUpScopeConfig allows a user to override how ClickUp raw statuses and
diff --git a/backend/plugins/clickup/models/task.go b/backend/plugins/clickup/models/task.go
index 957889e..4670f94 100644
--- a/backend/plugins/clickup/models/task.go
+++ b/backend/plugins/clickup/models/task.go
@@ -20,7 +20,7 @@
import (
"time"
- "github.com/apache/incubator-devlake/core/models/common"
+ "github.com/apache/devlake/core/models/common"
)
// ClickUpTask is the tool-layer representation of a ClickUp task.
diff --git a/backend/plugins/clickup/models/task_comment.go b/backend/plugins/clickup/models/task_comment.go
index c49d857..28b624a 100644
--- a/backend/plugins/clickup/models/task_comment.go
+++ b/backend/plugins/clickup/models/task_comment.go
@@ -20,7 +20,7 @@
import (
"time"
- "github.com/apache/incubator-devlake/core/models/common"
+ "github.com/apache/devlake/core/models/common"
)
// ClickUpTaskComment is the tool-layer representation of a comment on a ClickUp
diff --git a/backend/plugins/clickup/models/user.go b/backend/plugins/clickup/models/user.go
index 05ca2aa..8161671 100644
--- a/backend/plugins/clickup/models/user.go
+++ b/backend/plugins/clickup/models/user.go
@@ -18,7 +18,7 @@
package models
import (
- "github.com/apache/incubator-devlake/core/models/common"
+ "github.com/apache/devlake/core/models/common"
)
// ClickUpUser is a ClickUp user (tool layer), converted to crossdomain.Account.
diff --git a/backend/plugins/clickup/tasks/api_client.go b/backend/plugins/clickup/tasks/api_client.go
index 85333cd..60ccc87 100644
--- a/backend/plugins/clickup/tasks/api_client.go
+++ b/backend/plugins/clickup/tasks/api_client.go
@@ -18,10 +18,10 @@
package tasks
import (
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/clickup/models"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/clickup/models"
)
// DefaultEndpoint is the ClickUp REST v2 base URL. Note the trailing slash:
diff --git a/backend/plugins/clickup/tasks/folder_convertor.go b/backend/plugins/clickup/tasks/folder_convertor.go
index e5306ef..61b0ea2 100644
--- a/backend/plugins/clickup/tasks/folder_convertor.go
+++ b/backend/plugins/clickup/tasks/folder_convertor.go
@@ -20,14 +20,14 @@
import (
"reflect"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/domainlayer"
- "github.com/apache/incubator-devlake/core/models/domainlayer/didgen"
- "github.com/apache/incubator-devlake/core/models/domainlayer/ticket"
- "github.com/apache/incubator-devlake/core/plugin"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/clickup/models"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/domainlayer"
+ "github.com/apache/devlake/core/models/domainlayer/didgen"
+ "github.com/apache/devlake/core/models/domainlayer/ticket"
+ "github.com/apache/devlake/core/plugin"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/clickup/models"
)
// RAW_FOLDER_TABLE labels the raw-data lineage for the folder-scope-derived
diff --git a/backend/plugins/clickup/tasks/list_collector.go b/backend/plugins/clickup/tasks/list_collector.go
index bc601f6..447f2bf 100644
--- a/backend/plugins/clickup/tasks/list_collector.go
+++ b/backend/plugins/clickup/tasks/list_collector.go
@@ -23,9 +23,9 @@
"net/url"
"strconv"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
)
// RAW_LIST_TABLE holds the raw lists of a scoped folder (GET /folder/{id}/list).
diff --git a/backend/plugins/clickup/tasks/list_extractor.go b/backend/plugins/clickup/tasks/list_extractor.go
index 01d1856..e6b8e90 100644
--- a/backend/plugins/clickup/tasks/list_extractor.go
+++ b/backend/plugins/clickup/tasks/list_extractor.go
@@ -20,10 +20,10 @@
import (
"encoding/json"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/clickup/models"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/clickup/models"
)
var ExtractListMeta = plugin.SubTaskMeta{
diff --git a/backend/plugins/clickup/tasks/shared.go b/backend/plugins/clickup/tasks/shared.go
index 783c3c6..841d324 100644
--- a/backend/plugins/clickup/tasks/shared.go
+++ b/backend/plugins/clickup/tasks/shared.go
@@ -23,9 +23,9 @@
"strings"
"time"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/domainlayer/ticket"
- "github.com/apache/incubator-devlake/plugins/clickup/models"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/domainlayer/ticket"
+ "github.com/apache/devlake/plugins/clickup/models"
)
// parseClickUpTime parses a ClickUp millisecond-epoch timestamp. ClickUp encodes
diff --git a/backend/plugins/clickup/tasks/shared_test.go b/backend/plugins/clickup/tasks/shared_test.go
index a84fb1a..629ec2e 100644
--- a/backend/plugins/clickup/tasks/shared_test.go
+++ b/backend/plugins/clickup/tasks/shared_test.go
@@ -21,8 +21,8 @@
"encoding/json"
"testing"
- "github.com/apache/incubator-devlake/core/models/domainlayer/ticket"
- "github.com/apache/incubator-devlake/plugins/clickup/models"
+ "github.com/apache/devlake/core/models/domainlayer/ticket"
+ "github.com/apache/devlake/plugins/clickup/models"
)
func TestParseSprintDate(t *testing.T) {
diff --git a/backend/plugins/clickup/tasks/sprint_convertor.go b/backend/plugins/clickup/tasks/sprint_convertor.go
index b584988..cd3eff4 100644
--- a/backend/plugins/clickup/tasks/sprint_convertor.go
+++ b/backend/plugins/clickup/tasks/sprint_convertor.go
@@ -21,14 +21,14 @@
"reflect"
"time"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/domainlayer"
- "github.com/apache/incubator-devlake/core/models/domainlayer/didgen"
- "github.com/apache/incubator-devlake/core/models/domainlayer/ticket"
- "github.com/apache/incubator-devlake/core/plugin"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/clickup/models"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/domainlayer"
+ "github.com/apache/devlake/core/models/domainlayer/didgen"
+ "github.com/apache/devlake/core/models/domainlayer/ticket"
+ "github.com/apache/devlake/core/plugin"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/clickup/models"
)
// Sprint status values follow the convention used by the Jira plugin.
diff --git a/backend/plugins/clickup/tasks/task_collector.go b/backend/plugins/clickup/tasks/task_collector.go
index 8d2572e..282b7be 100644
--- a/backend/plugins/clickup/tasks/task_collector.go
+++ b/backend/plugins/clickup/tasks/task_collector.go
@@ -24,11 +24,11 @@
"reflect"
"strconv"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/clickup/models"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/clickup/models"
)
const RAW_TASK_TABLE = "clickup_tasks"
diff --git a/backend/plugins/clickup/tasks/task_convertor.go b/backend/plugins/clickup/tasks/task_convertor.go
index 7ceeb60..0df7611 100644
--- a/backend/plugins/clickup/tasks/task_convertor.go
+++ b/backend/plugins/clickup/tasks/task_convertor.go
@@ -22,14 +22,14 @@
"regexp"
"strings"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/domainlayer"
- "github.com/apache/incubator-devlake/core/models/domainlayer/didgen"
- "github.com/apache/incubator-devlake/core/models/domainlayer/ticket"
- "github.com/apache/incubator-devlake/core/plugin"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/clickup/models"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/domainlayer"
+ "github.com/apache/devlake/core/models/domainlayer/didgen"
+ "github.com/apache/devlake/core/models/domainlayer/ticket"
+ "github.com/apache/devlake/core/plugin"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/clickup/models"
)
var ConvertTaskMeta = plugin.SubTaskMeta{
diff --git a/backend/plugins/clickup/tasks/task_convertor_test.go b/backend/plugins/clickup/tasks/task_convertor_test.go
index 8bb7b09..79fa28d 100644
--- a/backend/plugins/clickup/tasks/task_convertor_test.go
+++ b/backend/plugins/clickup/tasks/task_convertor_test.go
@@ -21,7 +21,7 @@
"regexp"
"testing"
- "github.com/apache/incubator-devlake/core/models/domainlayer/ticket"
+ "github.com/apache/devlake/core/models/domainlayer/ticket"
)
func TestListTypeFor(t *testing.T) {
diff --git a/backend/plugins/clickup/tasks/task_data.go b/backend/plugins/clickup/tasks/task_data.go
index 698e42b..012abfb 100644
--- a/backend/plugins/clickup/tasks/task_data.go
+++ b/backend/plugins/clickup/tasks/task_data.go
@@ -20,8 +20,8 @@
import (
"time"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/clickup/models"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/clickup/models"
)
// ClickUpOptions are the per-scope options passed to a pipeline task.
diff --git a/backend/plugins/clickup/tasks/task_extractor.go b/backend/plugins/clickup/tasks/task_extractor.go
index f3d1209..469135c 100644
--- a/backend/plugins/clickup/tasks/task_extractor.go
+++ b/backend/plugins/clickup/tasks/task_extractor.go
@@ -22,10 +22,10 @@
"strconv"
"strings"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/clickup/models"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/clickup/models"
)
var ExtractTaskMeta = plugin.SubTaskMeta{
diff --git a/backend/plugins/clickup/tasks/user_collector.go b/backend/plugins/clickup/tasks/user_collector.go
index 47933cd..617b617 100644
--- a/backend/plugins/clickup/tasks/user_collector.go
+++ b/backend/plugins/clickup/tasks/user_collector.go
@@ -21,9 +21,9 @@
"encoding/json"
"net/http"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
)
const RAW_USER_TABLE = "clickup_users"
diff --git a/backend/plugins/clickup/tasks/user_convertor.go b/backend/plugins/clickup/tasks/user_convertor.go
index f8c9158..113c8fb 100644
--- a/backend/plugins/clickup/tasks/user_convertor.go
+++ b/backend/plugins/clickup/tasks/user_convertor.go
@@ -20,14 +20,14 @@
import (
"reflect"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/domainlayer"
- "github.com/apache/incubator-devlake/core/models/domainlayer/crossdomain"
- "github.com/apache/incubator-devlake/core/models/domainlayer/didgen"
- "github.com/apache/incubator-devlake/core/plugin"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/clickup/models"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/domainlayer"
+ "github.com/apache/devlake/core/models/domainlayer/crossdomain"
+ "github.com/apache/devlake/core/models/domainlayer/didgen"
+ "github.com/apache/devlake/core/plugin"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/clickup/models"
)
var ConvertUserMeta = plugin.SubTaskMeta{
diff --git a/backend/plugins/clickup/tasks/user_extractor.go b/backend/plugins/clickup/tasks/user_extractor.go
index 12f66c5..cf184bb 100644
--- a/backend/plugins/clickup/tasks/user_extractor.go
+++ b/backend/plugins/clickup/tasks/user_extractor.go
@@ -20,10 +20,10 @@
import (
"encoding/json"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/clickup/models"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/clickup/models"
)
var ExtractUserMeta = plugin.SubTaskMeta{
diff --git a/backend/plugins/cursor/api/blueprint_v200.go b/backend/plugins/cursor/api/blueprint_v200.go
index b1431c9..96821ad 100644
--- a/backend/plugins/cursor/api/blueprint_v200.go
+++ b/backend/plugins/cursor/api/blueprint_v200.go
@@ -18,13 +18,13 @@
package api
import (
- "github.com/apache/incubator-devlake/core/errors"
- coreModels "github.com/apache/incubator-devlake/core/models"
- "github.com/apache/incubator-devlake/core/plugin"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/helpers/srvhelper"
- "github.com/apache/incubator-devlake/plugins/cursor/models"
- "github.com/apache/incubator-devlake/plugins/cursor/tasks"
+ "github.com/apache/devlake/core/errors"
+ coreModels "github.com/apache/devlake/core/models"
+ "github.com/apache/devlake/core/plugin"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/helpers/srvhelper"
+ "github.com/apache/devlake/plugins/cursor/models"
+ "github.com/apache/devlake/plugins/cursor/tasks"
)
// MakeDataSourcePipelinePlanV200 generates the pipeline plan for blueprint v2.0.0.
diff --git a/backend/plugins/cursor/api/connection.go b/backend/plugins/cursor/api/connection.go
index 594e201..dcab18c 100644
--- a/backend/plugins/cursor/api/connection.go
+++ b/backend/plugins/cursor/api/connection.go
@@ -20,10 +20,10 @@
import (
"strings"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/cursor/models"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/cursor/models"
)
// PostConnections creates a new Cursor connection.
diff --git a/backend/plugins/cursor/api/init.go b/backend/plugins/cursor/api/init.go
index 74d2196..6b1badf 100644
--- a/backend/plugins/cursor/api/init.go
+++ b/backend/plugins/cursor/api/init.go
@@ -20,10 +20,10 @@
import (
"github.com/go-playground/validator/v10"
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/plugin"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/cursor/models"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/plugin"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/cursor/models"
)
var (
diff --git a/backend/plugins/cursor/api/remote_api.go b/backend/plugins/cursor/api/remote_api.go
index fdc63a9..ff79c1e 100644
--- a/backend/plugins/cursor/api/remote_api.go
+++ b/backend/plugins/cursor/api/remote_api.go
@@ -20,12 +20,12 @@
import (
"strings"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- helperapi "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- dsmodels "github.com/apache/incubator-devlake/helpers/pluginhelper/api/models"
- "github.com/apache/incubator-devlake/helpers/utils"
- "github.com/apache/incubator-devlake/plugins/cursor/models"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ helperapi "github.com/apache/devlake/helpers/pluginhelper/api"
+ dsmodels "github.com/apache/devlake/helpers/pluginhelper/api/models"
+ "github.com/apache/devlake/helpers/utils"
+ "github.com/apache/devlake/plugins/cursor/models"
)
// CursorRemotePagination is a placeholder for remote scope pagination.
diff --git a/backend/plugins/cursor/api/scope.go b/backend/plugins/cursor/api/scope.go
index ce8dea7..d55a643 100644
--- a/backend/plugins/cursor/api/scope.go
+++ b/backend/plugins/cursor/api/scope.go
@@ -18,8 +18,8 @@
package api
import (
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
)
// GetScopeList returns all scopes for a connection.
diff --git a/backend/plugins/cursor/api/scope_config.go b/backend/plugins/cursor/api/scope_config.go
index 571e49e..74a2766 100644
--- a/backend/plugins/cursor/api/scope_config.go
+++ b/backend/plugins/cursor/api/scope_config.go
@@ -18,8 +18,8 @@
package api
import (
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
)
// PostScopeConfig creates a new scope config.
diff --git a/backend/plugins/cursor/api/test_connection.go b/backend/plugins/cursor/api/test_connection.go
index c4220d4..48fa21c 100644
--- a/backend/plugins/cursor/api/test_connection.go
+++ b/backend/plugins/cursor/api/test_connection.go
@@ -21,11 +21,11 @@
gocontext "context"
"net/http"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/cursor/models"
- "github.com/apache/incubator-devlake/plugins/cursor/service"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/cursor/models"
+ "github.com/apache/devlake/plugins/cursor/service"
)
// TestConnection validates a Cursor connection before saving it.
diff --git a/backend/plugins/cursor/cursor.go b/backend/plugins/cursor/cursor.go
index cd6ec90..ee78f66 100644
--- a/backend/plugins/cursor/cursor.go
+++ b/backend/plugins/cursor/cursor.go
@@ -18,8 +18,8 @@
package main
import (
- "github.com/apache/incubator-devlake/core/runner"
- "github.com/apache/incubator-devlake/plugins/cursor/impl"
+ "github.com/apache/devlake/core/runner"
+ "github.com/apache/devlake/plugins/cursor/impl"
"github.com/spf13/cobra"
)
diff --git a/backend/plugins/cursor/e2e/extractors_test.go b/backend/plugins/cursor/e2e/extractors_test.go
index 8ebe4e8..0430705 100644
--- a/backend/plugins/cursor/e2e/extractors_test.go
+++ b/backend/plugins/cursor/e2e/extractors_test.go
@@ -21,14 +21,14 @@
"testing"
"time"
- "github.com/apache/incubator-devlake/core/config"
- "github.com/apache/incubator-devlake/core/models/common"
- "github.com/apache/incubator-devlake/core/runner"
- "github.com/apache/incubator-devlake/helpers/e2ehelper"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/cursor/impl"
- "github.com/apache/incubator-devlake/plugins/cursor/models"
- "github.com/apache/incubator-devlake/plugins/cursor/tasks"
+ "github.com/apache/devlake/core/config"
+ "github.com/apache/devlake/core/models/common"
+ "github.com/apache/devlake/core/runner"
+ "github.com/apache/devlake/helpers/e2ehelper"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/cursor/impl"
+ "github.com/apache/devlake/plugins/cursor/models"
+ "github.com/apache/devlake/plugins/cursor/tasks"
)
func TestCursorExtractorsDataFlow(t *testing.T) {
diff --git a/backend/plugins/cursor/impl/connection_helper.go b/backend/plugins/cursor/impl/connection_helper.go
index 43d491a..b7fdd46 100644
--- a/backend/plugins/cursor/impl/connection_helper.go
+++ b/backend/plugins/cursor/impl/connection_helper.go
@@ -17,7 +17,7 @@
package impl
-import "github.com/apache/incubator-devlake/plugins/cursor/models"
+import "github.com/apache/devlake/plugins/cursor/models"
// NormalizeConnection ensures required defaults are set before use.
func NormalizeConnection(connection *models.CursorConnection) {
diff --git a/backend/plugins/cursor/impl/impl.go b/backend/plugins/cursor/impl/impl.go
index 0d3b719..04b0977 100644
--- a/backend/plugins/cursor/impl/impl.go
+++ b/backend/plugins/cursor/impl/impl.go
@@ -18,16 +18,16 @@
package impl
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- coreModels "github.com/apache/incubator-devlake/core/models"
- "github.com/apache/incubator-devlake/core/plugin"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/cursor/api"
- "github.com/apache/incubator-devlake/plugins/cursor/models"
- "github.com/apache/incubator-devlake/plugins/cursor/models/migrationscripts"
- "github.com/apache/incubator-devlake/plugins/cursor/tasks"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ coreModels "github.com/apache/devlake/core/models"
+ "github.com/apache/devlake/core/plugin"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/cursor/api"
+ "github.com/apache/devlake/plugins/cursor/models"
+ "github.com/apache/devlake/plugins/cursor/models/migrationscripts"
+ "github.com/apache/devlake/plugins/cursor/tasks"
)
var _ interface {
@@ -156,7 +156,7 @@
}
func (p Cursor) RootPkgPath() string {
- return "github.com/apache/incubator-devlake/plugins/cursor"
+ return "github.com/apache/devlake/plugins/cursor"
}
func (p Cursor) MigrationScripts() []plugin.MigrationScript {
diff --git a/backend/plugins/cursor/models/connection.go b/backend/plugins/cursor/models/connection.go
index 8bb30c5..21e19a4 100644
--- a/backend/plugins/cursor/models/connection.go
+++ b/backend/plugins/cursor/models/connection.go
@@ -21,9 +21,9 @@
"net/http"
"strings"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/utils"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/utils"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
)
const (
diff --git a/backend/plugins/cursor/models/daily_usage.go b/backend/plugins/cursor/models/daily_usage.go
index 6974e9b..567dae3 100644
--- a/backend/plugins/cursor/models/daily_usage.go
+++ b/backend/plugins/cursor/models/daily_usage.go
@@ -20,7 +20,7 @@
import (
"time"
- "github.com/apache/incubator-devlake/core/models/common"
+ "github.com/apache/devlake/core/models/common"
)
// CursorDailyUsage stores per-user per-day adoption metrics from POST /teams/daily-usage-data.
diff --git a/backend/plugins/cursor/models/member.go b/backend/plugins/cursor/models/member.go
index 63a1f24..2501aaf 100644
--- a/backend/plugins/cursor/models/member.go
+++ b/backend/plugins/cursor/models/member.go
@@ -18,7 +18,7 @@
package models
import (
- "github.com/apache/incubator-devlake/core/models/common"
+ "github.com/apache/devlake/core/models/common"
)
// CursorMember stores team member roster from /teams/members.
diff --git a/backend/plugins/cursor/models/migrationscripts/20260709_initialize.go b/backend/plugins/cursor/models/migrationscripts/20260709_initialize.go
index 0bd8559..e484335 100644
--- a/backend/plugins/cursor/models/migrationscripts/20260709_initialize.go
+++ b/backend/plugins/cursor/models/migrationscripts/20260709_initialize.go
@@ -21,10 +21,10 @@
"encoding/json"
"time"
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
- "github.com/apache/incubator-devlake/helpers/migrationhelper"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/helpers/migrationhelper"
)
type addCursorInitialTables struct{}
diff --git a/backend/plugins/cursor/models/migrationscripts/20260710_requests_costs_float.go b/backend/plugins/cursor/models/migrationscripts/20260710_requests_costs_float.go
index a50bd4a..c6e4b7a 100644
--- a/backend/plugins/cursor/models/migrationscripts/20260710_requests_costs_float.go
+++ b/backend/plugins/cursor/models/migrationscripts/20260710_requests_costs_float.go
@@ -18,8 +18,8 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
)
type changeCursorRequestsCostsToFloat struct{}
diff --git a/backend/plugins/cursor/models/migrationscripts/20260714_add_daily_usage.go b/backend/plugins/cursor/models/migrationscripts/20260714_add_daily_usage.go
index c41ecce..58e898f 100644
--- a/backend/plugins/cursor/models/migrationscripts/20260714_add_daily_usage.go
+++ b/backend/plugins/cursor/models/migrationscripts/20260714_add_daily_usage.go
@@ -21,10 +21,10 @@
"encoding/json"
"time"
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
- "github.com/apache/incubator-devlake/helpers/migrationhelper"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/helpers/migrationhelper"
)
type addCursorDailyUsage struct{}
diff --git a/backend/plugins/cursor/models/migrationscripts/20260716_add_daily_usage_line_fields.go b/backend/plugins/cursor/models/migrationscripts/20260716_add_daily_usage_line_fields.go
index 4abedb7..13adc70 100644
--- a/backend/plugins/cursor/models/migrationscripts/20260716_add_daily_usage_line_fields.go
+++ b/backend/plugins/cursor/models/migrationscripts/20260716_add_daily_usage_line_fields.go
@@ -20,10 +20,10 @@
import (
"time"
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
- "github.com/apache/incubator-devlake/helpers/migrationhelper"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/helpers/migrationhelper"
)
type addCursorDailyUsageLineFields struct{}
diff --git a/backend/plugins/cursor/models/migrationscripts/register.go b/backend/plugins/cursor/models/migrationscripts/register.go
index 24e5eed..be0db9c 100644
--- a/backend/plugins/cursor/models/migrationscripts/register.go
+++ b/backend/plugins/cursor/models/migrationscripts/register.go
@@ -17,7 +17,7 @@
package migrationscripts
-import "github.com/apache/incubator-devlake/core/plugin"
+import "github.com/apache/devlake/core/plugin"
// All returns the ordered list of migration scripts for the Cursor plugin.
func All() []plugin.MigrationScript {
diff --git a/backend/plugins/cursor/models/models.go b/backend/plugins/cursor/models/models.go
index 6a2ec5d..4edf5f7 100644
--- a/backend/plugins/cursor/models/models.go
+++ b/backend/plugins/cursor/models/models.go
@@ -17,7 +17,7 @@
package models
-import "github.com/apache/incubator-devlake/core/dal"
+import "github.com/apache/devlake/core/dal"
// GetTablesInfo returns the list of tool-layer tables managed by the Cursor plugin.
func GetTablesInfo() []dal.Tabler {
diff --git a/backend/plugins/cursor/models/scope.go b/backend/plugins/cursor/models/scope.go
index 00cd8e7..5799ae3 100644
--- a/backend/plugins/cursor/models/scope.go
+++ b/backend/plugins/cursor/models/scope.go
@@ -20,8 +20,8 @@
import (
"strings"
- "github.com/apache/incubator-devlake/core/models/common"
- "github.com/apache/incubator-devlake/core/plugin"
+ "github.com/apache/devlake/core/models/common"
+ "github.com/apache/devlake/core/plugin"
"gorm.io/gorm"
)
diff --git a/backend/plugins/cursor/models/scope_config.go b/backend/plugins/cursor/models/scope_config.go
index 64dcf5e..8524a9d 100644
--- a/backend/plugins/cursor/models/scope_config.go
+++ b/backend/plugins/cursor/models/scope_config.go
@@ -18,8 +18,8 @@
package models
import (
- "github.com/apache/incubator-devlake/core/models/common"
- "github.com/apache/incubator-devlake/core/plugin"
+ "github.com/apache/devlake/core/models/common"
+ "github.com/apache/devlake/core/plugin"
)
var _ plugin.ToolLayerScopeConfig = (*CursorScopeConfig)(nil)
diff --git a/backend/plugins/cursor/models/usage_event.go b/backend/plugins/cursor/models/usage_event.go
index 5ae4f7e..1354cdb 100644
--- a/backend/plugins/cursor/models/usage_event.go
+++ b/backend/plugins/cursor/models/usage_event.go
@@ -20,7 +20,7 @@
import (
"time"
- "github.com/apache/incubator-devlake/core/models/common"
+ "github.com/apache/devlake/core/models/common"
)
// CursorUsageEvent stores one usage event from /teams/filtered-usage-events.
diff --git a/backend/plugins/cursor/models/user_spend.go b/backend/plugins/cursor/models/user_spend.go
index e948fda..10e7efe 100644
--- a/backend/plugins/cursor/models/user_spend.go
+++ b/backend/plugins/cursor/models/user_spend.go
@@ -20,7 +20,7 @@
import (
"time"
- "github.com/apache/incubator-devlake/core/models/common"
+ "github.com/apache/devlake/core/models/common"
)
// CursorUserSpend stores per-user billing cycle spend from /teams/spend.
diff --git a/backend/plugins/cursor/service/connection_test_helper.go b/backend/plugins/cursor/service/connection_test_helper.go
index b7baa04..d9faec7 100644
--- a/backend/plugins/cursor/service/connection_test_helper.go
+++ b/backend/plugins/cursor/service/connection_test_helper.go
@@ -26,10 +26,10 @@
"strings"
"time"
- corectx "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/cursor/models"
+ corectx "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/cursor/models"
)
const (
diff --git a/backend/plugins/cursor/tasks/api_client.go b/backend/plugins/cursor/tasks/api_client.go
index 975e805..987e376 100644
--- a/backend/plugins/cursor/tasks/api_client.go
+++ b/backend/plugins/cursor/tasks/api_client.go
@@ -21,10 +21,10 @@
"net/http"
"time"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/cursor/models"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/cursor/models"
)
// CreateApiClient creates an async API client for Cursor Admin API collectors.
diff --git a/backend/plugins/cursor/tasks/collector_utils.go b/backend/plugins/cursor/tasks/collector_utils.go
index 21c4cad..e5b382f 100644
--- a/backend/plugins/cursor/tasks/collector_utils.go
+++ b/backend/plugins/cursor/tasks/collector_utils.go
@@ -28,9 +28,9 @@
"strings"
"time"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/log"
- "github.com/apache/incubator-devlake/plugins/cursor/models"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/log"
+ "github.com/apache/devlake/plugins/cursor/models"
)
const (
diff --git a/backend/plugins/cursor/tasks/collector_utils_test.go b/backend/plugins/cursor/tasks/collector_utils_test.go
index b02617f..5ae69c4 100644
--- a/backend/plugins/cursor/tasks/collector_utils_test.go
+++ b/backend/plugins/cursor/tasks/collector_utils_test.go
@@ -22,8 +22,8 @@
"testing"
"time"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/cursor/models"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/cursor/models"
)
func TestRawParamsFromTaskDataIncludesEndpoint(t *testing.T) {
diff --git a/backend/plugins/cursor/tasks/daily_usage_collector.go b/backend/plugins/cursor/tasks/daily_usage_collector.go
index 1b7d57f..5f297ce 100644
--- a/backend/plugins/cursor/tasks/daily_usage_collector.go
+++ b/backend/plugins/cursor/tasks/daily_usage_collector.go
@@ -21,9 +21,9 @@
"net/http"
"time"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
)
func newDailyUsageDateRangeIterator(since *time.Time, isIncremental bool) *helper.QueueIterator {
diff --git a/backend/plugins/cursor/tasks/daily_usage_extractor.go b/backend/plugins/cursor/tasks/daily_usage_extractor.go
index 21a4349..4303372 100644
--- a/backend/plugins/cursor/tasks/daily_usage_extractor.go
+++ b/backend/plugins/cursor/tasks/daily_usage_extractor.go
@@ -21,10 +21,10 @@
"strings"
"time"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/cursor/models"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/cursor/models"
)
type dailyUsageRecord struct {
diff --git a/backend/plugins/cursor/tasks/extract_stateful.go b/backend/plugins/cursor/tasks/extract_stateful.go
index 57b3616..a7f0893 100644
--- a/backend/plugins/cursor/tasks/extract_stateful.go
+++ b/backend/plugins/cursor/tasks/extract_stateful.go
@@ -22,11 +22,11 @@
"reflect"
"time"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/common"
- "github.com/apache/incubator-devlake/core/plugin"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/common"
+ "github.com/apache/devlake/core/plugin"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
)
// cursorExtractRepairGapWarnThreshold is the unpromoted raw-id gap above which
diff --git a/backend/plugins/cursor/tasks/extract_utils.go b/backend/plugins/cursor/tasks/extract_utils.go
index 315ff3f..db716c1 100644
--- a/backend/plugins/cursor/tasks/extract_utils.go
+++ b/backend/plugins/cursor/tasks/extract_utils.go
@@ -18,8 +18,8 @@
package tasks
import (
- "github.com/apache/incubator-devlake/core/plugin"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/core/plugin"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
)
// cursorExtractorVersion bumps when extract logic changes in a way that requires
diff --git a/backend/plugins/cursor/tasks/members_collector.go b/backend/plugins/cursor/tasks/members_collector.go
index 1e74109..f2377b5 100644
--- a/backend/plugins/cursor/tasks/members_collector.go
+++ b/backend/plugins/cursor/tasks/members_collector.go
@@ -18,9 +18,9 @@
package tasks
import (
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
)
// CollectMembers collects team member roster from GET /teams/members.
diff --git a/backend/plugins/cursor/tasks/members_extractor.go b/backend/plugins/cursor/tasks/members_extractor.go
index 35558bd..49960f2 100644
--- a/backend/plugins/cursor/tasks/members_extractor.go
+++ b/backend/plugins/cursor/tasks/members_extractor.go
@@ -21,10 +21,10 @@
"encoding/json"
"strings"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/cursor/models"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/cursor/models"
)
type memberRecord struct {
diff --git a/backend/plugins/cursor/tasks/register.go b/backend/plugins/cursor/tasks/register.go
index e8a3f4e..f802f0c 100644
--- a/backend/plugins/cursor/tasks/register.go
+++ b/backend/plugins/cursor/tasks/register.go
@@ -17,7 +17,7 @@
package tasks
-import "github.com/apache/incubator-devlake/core/plugin"
+import "github.com/apache/devlake/core/plugin"
// GetSubTaskMetas returns the ordered list of Cursor subtasks.
func GetSubTaskMetas() []plugin.SubTaskMeta {
diff --git a/backend/plugins/cursor/tasks/retry_after.go b/backend/plugins/cursor/tasks/retry_after.go
index 4e8b235..a8bf354 100644
--- a/backend/plugins/cursor/tasks/retry_after.go
+++ b/backend/plugins/cursor/tasks/retry_after.go
@@ -22,8 +22,8 @@
"strconv"
"time"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/log"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/log"
)
func handleCursorRetryAfter(res *http.Response, logger log.Logger, now nowFunc, sleep sleepFunc) errors.Error {
diff --git a/backend/plugins/cursor/tasks/subtasks.go b/backend/plugins/cursor/tasks/subtasks.go
index 8d9462f..a564619 100644
--- a/backend/plugins/cursor/tasks/subtasks.go
+++ b/backend/plugins/cursor/tasks/subtasks.go
@@ -17,7 +17,7 @@
package tasks
-import "github.com/apache/incubator-devlake/core/plugin"
+import "github.com/apache/devlake/core/plugin"
var CollectUsageEventsMeta = plugin.SubTaskMeta{
Name: "collectUsageEvents",
diff --git a/backend/plugins/cursor/tasks/task_data.go b/backend/plugins/cursor/tasks/task_data.go
index 6d0cb9a..a264ecf 100644
--- a/backend/plugins/cursor/tasks/task_data.go
+++ b/backend/plugins/cursor/tasks/task_data.go
@@ -17,7 +17,7 @@
package tasks
-import "github.com/apache/incubator-devlake/plugins/cursor/models"
+import "github.com/apache/devlake/plugins/cursor/models"
// CursorTaskData stores runtime dependencies for subtasks.
type CursorTaskData struct {
diff --git a/backend/plugins/cursor/tasks/usage_events_collector.go b/backend/plugins/cursor/tasks/usage_events_collector.go
index dc4b3ff..7ed6e33 100644
--- a/backend/plugins/cursor/tasks/usage_events_collector.go
+++ b/backend/plugins/cursor/tasks/usage_events_collector.go
@@ -21,9 +21,9 @@
"net/http"
"time"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
)
func newUsageEventsDateRangeIterator(since *time.Time, isIncremental bool) *helper.QueueIterator {
diff --git a/backend/plugins/cursor/tasks/usage_events_extractor.go b/backend/plugins/cursor/tasks/usage_events_extractor.go
index f88b0dd..ad202ca 100644
--- a/backend/plugins/cursor/tasks/usage_events_extractor.go
+++ b/backend/plugins/cursor/tasks/usage_events_extractor.go
@@ -20,10 +20,10 @@
import (
"strings"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/cursor/models"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/cursor/models"
)
type usageEventRecord struct {
diff --git a/backend/plugins/cursor/tasks/user_spend_collector.go b/backend/plugins/cursor/tasks/user_spend_collector.go
index 9d61960..ea81e5c 100644
--- a/backend/plugins/cursor/tasks/user_spend_collector.go
+++ b/backend/plugins/cursor/tasks/user_spend_collector.go
@@ -23,9 +23,9 @@
"net/http"
"time"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
)
type cursorSpendCollectInput struct {
diff --git a/backend/plugins/cursor/tasks/user_spend_extractor.go b/backend/plugins/cursor/tasks/user_spend_extractor.go
index 2526c4e..de99349 100644
--- a/backend/plugins/cursor/tasks/user_spend_extractor.go
+++ b/backend/plugins/cursor/tasks/user_spend_extractor.go
@@ -21,10 +21,10 @@
"encoding/json"
"strings"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/cursor/models"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/cursor/models"
)
type spendMemberRecord struct {
diff --git a/backend/plugins/customize/api/csv_issue.go b/backend/plugins/customize/api/csv_issue.go
index 282991a..cebde2f 100644
--- a/backend/plugins/customize/api/csv_issue.go
+++ b/backend/plugins/customize/api/csv_issue.go
@@ -21,8 +21,8 @@
"io"
"strings"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
)
const maxMemory = 32 << 20 // 32 MB
diff --git a/backend/plugins/customize/api/csv_qa.go b/backend/plugins/customize/api/csv_qa.go
index e4770ad..b15f8d4 100644
--- a/backend/plugins/customize/api/csv_qa.go
+++ b/backend/plugins/customize/api/csv_qa.go
@@ -20,8 +20,8 @@
import (
"strings"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
)
// ImportQaApis accepts a CSV file, parses and saves it to the database
diff --git a/backend/plugins/customize/api/field.go b/backend/plugins/customize/api/field.go
index 23b0149..d5dffec 100644
--- a/backend/plugins/customize/api/field.go
+++ b/backend/plugins/customize/api/field.go
@@ -22,12 +22,12 @@
"net/http"
"strings"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/customize/models"
- "github.com/apache/incubator-devlake/plugins/customize/service"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/customize/models"
+ "github.com/apache/devlake/plugins/customize/service"
)
type fieldResponse struct {
diff --git a/backend/plugins/customize/api/swagger.go b/backend/plugins/customize/api/swagger.go
index 81c1c35..67c2f60 100644
--- a/backend/plugins/customize/api/swagger.go
+++ b/backend/plugins/customize/api/swagger.go
@@ -18,7 +18,7 @@
package api
import (
- "github.com/apache/incubator-devlake/plugins/customize/tasks"
+ "github.com/apache/devlake/plugins/customize/tasks"
)
// @Summary blueprints setting for customize
diff --git a/backend/plugins/customize/customize.go b/backend/plugins/customize/customize.go
index e477142..94cea0b 100644
--- a/backend/plugins/customize/customize.go
+++ b/backend/plugins/customize/customize.go
@@ -18,9 +18,9 @@
package main // must be main for plugin entry point
import (
- "github.com/apache/incubator-devlake/core/runner"
- "github.com/apache/incubator-devlake/plugins/customize/impl"
- "github.com/apache/incubator-devlake/plugins/customize/tasks"
+ "github.com/apache/devlake/core/runner"
+ "github.com/apache/devlake/plugins/customize/impl"
+ "github.com/apache/devlake/plugins/customize/tasks"
"github.com/spf13/cobra"
)
diff --git a/backend/plugins/customize/e2e/customized_fields_test.go b/backend/plugins/customize/e2e/customized_fields_test.go
index 0e2f9c9..a563623 100644
--- a/backend/plugins/customize/e2e/customized_fields_test.go
+++ b/backend/plugins/customize/e2e/customized_fields_test.go
@@ -20,11 +20,11 @@
import (
"testing"
- "github.com/apache/incubator-devlake/core/models/domainlayer/ticket"
- "github.com/apache/incubator-devlake/helpers/e2ehelper"
- "github.com/apache/incubator-devlake/plugins/customize/impl"
- "github.com/apache/incubator-devlake/plugins/customize/models"
- "github.com/apache/incubator-devlake/plugins/customize/service"
+ "github.com/apache/devlake/core/models/domainlayer/ticket"
+ "github.com/apache/devlake/helpers/e2ehelper"
+ "github.com/apache/devlake/plugins/customize/impl"
+ "github.com/apache/devlake/plugins/customize/models"
+ "github.com/apache/devlake/plugins/customize/service"
)
func TestCustomizedFieldDataFlow(t *testing.T) {
diff --git a/backend/plugins/customize/e2e/extract_fields_test.go b/backend/plugins/customize/e2e/extract_fields_test.go
index d8929d0..485c73c 100644
--- a/backend/plugins/customize/e2e/extract_fields_test.go
+++ b/backend/plugins/customize/e2e/extract_fields_test.go
@@ -20,12 +20,12 @@
import (
"testing"
- "github.com/apache/incubator-devlake/core/models/domainlayer/ticket"
- "github.com/apache/incubator-devlake/helpers/e2ehelper"
- "github.com/apache/incubator-devlake/plugins/customize/impl"
- "github.com/apache/incubator-devlake/plugins/customize/models"
- "github.com/apache/incubator-devlake/plugins/customize/service"
- "github.com/apache/incubator-devlake/plugins/customize/tasks"
+ "github.com/apache/devlake/core/models/domainlayer/ticket"
+ "github.com/apache/devlake/helpers/e2ehelper"
+ "github.com/apache/devlake/plugins/customize/impl"
+ "github.com/apache/devlake/plugins/customize/models"
+ "github.com/apache/devlake/plugins/customize/service"
+ "github.com/apache/devlake/plugins/customize/tasks"
)
func TestExtractFieldDataExplicitFlow1(t *testing.T) {
diff --git a/backend/plugins/customize/e2e/import_issue_changelogs_test.go b/backend/plugins/customize/e2e/import_issue_changelogs_test.go
index 4cabae9..2f47b53 100644
--- a/backend/plugins/customize/e2e/import_issue_changelogs_test.go
+++ b/backend/plugins/customize/e2e/import_issue_changelogs_test.go
@@ -21,11 +21,11 @@
"os"
"testing"
- "github.com/apache/incubator-devlake/core/models/domainlayer/crossdomain"
- "github.com/apache/incubator-devlake/core/models/domainlayer/ticket"
- "github.com/apache/incubator-devlake/helpers/e2ehelper"
- "github.com/apache/incubator-devlake/plugins/customize/impl"
- "github.com/apache/incubator-devlake/plugins/customize/service"
+ "github.com/apache/devlake/core/models/domainlayer/crossdomain"
+ "github.com/apache/devlake/core/models/domainlayer/ticket"
+ "github.com/apache/devlake/helpers/e2ehelper"
+ "github.com/apache/devlake/plugins/customize/impl"
+ "github.com/apache/devlake/plugins/customize/service"
)
func TestImportIssueChangelogDataFlow(t *testing.T) {
diff --git a/backend/plugins/customize/e2e/import_issue_commits_test.go b/backend/plugins/customize/e2e/import_issue_commits_test.go
index f997d81..b6700e1 100644
--- a/backend/plugins/customize/e2e/import_issue_commits_test.go
+++ b/backend/plugins/customize/e2e/import_issue_commits_test.go
@@ -21,10 +21,10 @@
"os"
"testing"
- "github.com/apache/incubator-devlake/core/models/domainlayer/crossdomain"
- "github.com/apache/incubator-devlake/helpers/e2ehelper"
- "github.com/apache/incubator-devlake/plugins/customize/impl"
- "github.com/apache/incubator-devlake/plugins/customize/service"
+ "github.com/apache/devlake/core/models/domainlayer/crossdomain"
+ "github.com/apache/devlake/helpers/e2ehelper"
+ "github.com/apache/devlake/plugins/customize/impl"
+ "github.com/apache/devlake/plugins/customize/service"
)
func TestImportIssueCommitDataFlow(t *testing.T) {
diff --git a/backend/plugins/customize/e2e/import_issue_repo_commits_test.go b/backend/plugins/customize/e2e/import_issue_repo_commits_test.go
index de1cca5..8111e8b 100644
--- a/backend/plugins/customize/e2e/import_issue_repo_commits_test.go
+++ b/backend/plugins/customize/e2e/import_issue_repo_commits_test.go
@@ -21,11 +21,11 @@
"os"
"testing"
- "github.com/apache/incubator-devlake/core/models/domainlayer/crossdomain"
- "github.com/apache/incubator-devlake/core/models/domainlayer/ticket"
- "github.com/apache/incubator-devlake/helpers/e2ehelper"
- "github.com/apache/incubator-devlake/plugins/customize/impl"
- "github.com/apache/incubator-devlake/plugins/customize/service"
+ "github.com/apache/devlake/core/models/domainlayer/crossdomain"
+ "github.com/apache/devlake/core/models/domainlayer/ticket"
+ "github.com/apache/devlake/helpers/e2ehelper"
+ "github.com/apache/devlake/plugins/customize/impl"
+ "github.com/apache/devlake/plugins/customize/service"
)
func TestImportIssueRepoCommitDataFlow(t *testing.T) {
diff --git a/backend/plugins/customize/e2e/import_issue_worklogs_test.go b/backend/plugins/customize/e2e/import_issue_worklogs_test.go
index ffbb434..5d2b2b4 100644
--- a/backend/plugins/customize/e2e/import_issue_worklogs_test.go
+++ b/backend/plugins/customize/e2e/import_issue_worklogs_test.go
@@ -21,11 +21,11 @@
"os"
"testing"
- "github.com/apache/incubator-devlake/core/models/domainlayer/crossdomain"
- "github.com/apache/incubator-devlake/core/models/domainlayer/ticket"
- "github.com/apache/incubator-devlake/helpers/e2ehelper"
- "github.com/apache/incubator-devlake/plugins/customize/impl"
- "github.com/apache/incubator-devlake/plugins/customize/service"
+ "github.com/apache/devlake/core/models/domainlayer/crossdomain"
+ "github.com/apache/devlake/core/models/domainlayer/ticket"
+ "github.com/apache/devlake/helpers/e2ehelper"
+ "github.com/apache/devlake/plugins/customize/impl"
+ "github.com/apache/devlake/plugins/customize/service"
)
func TestImportIssueWorklogDataFlow(t *testing.T) {
diff --git a/backend/plugins/customize/e2e/import_issues_test.go b/backend/plugins/customize/e2e/import_issues_test.go
index 576fdcd..c1c58d8 100644
--- a/backend/plugins/customize/e2e/import_issues_test.go
+++ b/backend/plugins/customize/e2e/import_issues_test.go
@@ -21,12 +21,12 @@
"os"
"testing"
- "github.com/apache/incubator-devlake/core/models/domainlayer/crossdomain"
- "github.com/apache/incubator-devlake/core/models/domainlayer/ticket"
- "github.com/apache/incubator-devlake/helpers/e2ehelper"
- "github.com/apache/incubator-devlake/plugins/customize/impl"
- "github.com/apache/incubator-devlake/plugins/customize/models"
- "github.com/apache/incubator-devlake/plugins/customize/service"
+ "github.com/apache/devlake/core/models/domainlayer/crossdomain"
+ "github.com/apache/devlake/core/models/domainlayer/ticket"
+ "github.com/apache/devlake/helpers/e2ehelper"
+ "github.com/apache/devlake/plugins/customize/impl"
+ "github.com/apache/devlake/plugins/customize/models"
+ "github.com/apache/devlake/plugins/customize/service"
)
func TestImportIssueDataFlow(t *testing.T) {
diff --git a/backend/plugins/customize/e2e/import_qa_apis_test.go b/backend/plugins/customize/e2e/import_qa_apis_test.go
index 1e0c9c5..6386911 100644
--- a/backend/plugins/customize/e2e/import_qa_apis_test.go
+++ b/backend/plugins/customize/e2e/import_qa_apis_test.go
@@ -21,11 +21,11 @@
"os"
"testing"
- "github.com/apache/incubator-devlake/core/models/domainlayer/crossdomain"
- "github.com/apache/incubator-devlake/core/models/domainlayer/qa"
- "github.com/apache/incubator-devlake/helpers/e2ehelper"
- "github.com/apache/incubator-devlake/plugins/customize/impl"
- "github.com/apache/incubator-devlake/plugins/customize/service"
+ "github.com/apache/devlake/core/models/domainlayer/crossdomain"
+ "github.com/apache/devlake/core/models/domainlayer/qa"
+ "github.com/apache/devlake/helpers/e2ehelper"
+ "github.com/apache/devlake/plugins/customize/impl"
+ "github.com/apache/devlake/plugins/customize/service"
)
func TestImportQaApisDataFlow(t *testing.T) {
diff --git a/backend/plugins/customize/e2e/import_qa_test_cases_test.go b/backend/plugins/customize/e2e/import_qa_test_cases_test.go
index 764421e..e11b182 100644
--- a/backend/plugins/customize/e2e/import_qa_test_cases_test.go
+++ b/backend/plugins/customize/e2e/import_qa_test_cases_test.go
@@ -21,12 +21,12 @@
"os"
"testing"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/models/domainlayer/crossdomain"
- "github.com/apache/incubator-devlake/core/models/domainlayer/qa"
- "github.com/apache/incubator-devlake/helpers/e2ehelper"
- "github.com/apache/incubator-devlake/plugins/customize/impl"
- "github.com/apache/incubator-devlake/plugins/customize/service"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/models/domainlayer/crossdomain"
+ "github.com/apache/devlake/core/models/domainlayer/qa"
+ "github.com/apache/devlake/helpers/e2ehelper"
+ "github.com/apache/devlake/plugins/customize/impl"
+ "github.com/apache/devlake/plugins/customize/service"
)
func TestImportQaTestCasesDataFlow(t *testing.T) {
diff --git a/backend/plugins/customize/e2e/import_sprint_test.go b/backend/plugins/customize/e2e/import_sprint_test.go
index 33a2a30..daaee46 100644
--- a/backend/plugins/customize/e2e/import_sprint_test.go
+++ b/backend/plugins/customize/e2e/import_sprint_test.go
@@ -21,10 +21,10 @@
"os"
"testing"
- "github.com/apache/incubator-devlake/core/models/domainlayer/ticket"
- "github.com/apache/incubator-devlake/helpers/e2ehelper"
- "github.com/apache/incubator-devlake/plugins/customize/impl"
- "github.com/apache/incubator-devlake/plugins/customize/service"
+ "github.com/apache/devlake/core/models/domainlayer/ticket"
+ "github.com/apache/devlake/helpers/e2ehelper"
+ "github.com/apache/devlake/plugins/customize/impl"
+ "github.com/apache/devlake/plugins/customize/service"
)
func TestImportSprintDataFlow(t *testing.T) {
diff --git a/backend/plugins/customize/e2e/import_test_case_execution_test.go b/backend/plugins/customize/e2e/import_test_case_execution_test.go
index a74c699..f2bd800 100644
--- a/backend/plugins/customize/e2e/import_test_case_execution_test.go
+++ b/backend/plugins/customize/e2e/import_test_case_execution_test.go
@@ -21,11 +21,11 @@
"os"
"testing"
- "github.com/apache/incubator-devlake/core/models/domainlayer/crossdomain"
- "github.com/apache/incubator-devlake/core/models/domainlayer/qa"
- "github.com/apache/incubator-devlake/helpers/e2ehelper"
- "github.com/apache/incubator-devlake/plugins/customize/impl"
- "github.com/apache/incubator-devlake/plugins/customize/service"
+ "github.com/apache/devlake/core/models/domainlayer/crossdomain"
+ "github.com/apache/devlake/core/models/domainlayer/qa"
+ "github.com/apache/devlake/helpers/e2ehelper"
+ "github.com/apache/devlake/plugins/customize/impl"
+ "github.com/apache/devlake/plugins/customize/service"
)
func TestImportQaTestCaseExecutionsDataFlow(t *testing.T) {
diff --git a/backend/plugins/customize/e2e/raw_tables/issue_repo_commits.csv b/backend/plugins/customize/e2e/raw_tables/issue_repo_commits.csv
index 477b47d..b125b01 100644
--- a/backend/plugins/customize/e2e/raw_tables/issue_repo_commits.csv
+++ b/backend/plugins/customize/e2e/raw_tables/issue_repo_commits.csv
@@ -1,7 +1,7 @@
issue_id,repo_url,commit_sha,host,namespace,repo_name
csv:1,https://example.com:8080/bitbucket/projects/PROJECTNAME/repos/ui_jira/commits/8748a066cbaf67b15e86f2c636f9931347e987cf,8748a066cbaf67b15e86f2c636f9931347e987cf,example.com,PROJECTNAME,ui_jira
-csv:10,https://bitbucket.org/mynamespace/incubator-devlake/commits/abc0892edaee00dd7ee268dbee71620407a29bca,abc0892edaee00dd7ee268dbee71620407a29bca,bitbucket.org,mynamespace,incubator-devlake
-csv:11,https://github.com/apache/incubator-devlake/commit/e6bde456807818c5c78d7b265964d6d48b653af6,e6bde456807818c5c78d7b265964d6d48b653af6,github.com,apache,incubator-devlake
+csv:10,https://bitbucket.org/mynamespace/devlake/commits/abc0892edaee00dd7ee268dbee71620407a29bca,abc0892edaee00dd7ee268dbee71620407a29bca,bitbucket.org,mynamespace,devlake
+csv:11,https://github.com/apache/devlake/commit/e6bde456807818c5c78d7b265964d6d48b653af6,e6bde456807818c5c78d7b265964d6d48b653af6,github.com,apache,devlake
csv:12,https://gitlab.com/namespace1/namespace2/myrepo/-/commit/8f91020bcf684c6ad07adfafa3d8a2f826686c42,8f91020bcf684c6ad07adfafa3d8a2f826686c42,gitlab.com,namespace1/namespace2,murepo
csv:13,https://gitlab.com/meri.co/vdev.co/-/commit/0dfe2e9ed88ad4e27f825d9b67d4d56ac983c5ef,0dfe2e9ed88ad4e27f825d9b67d4d56ac983c5ef,gitlab.com,meri.co,vdev.co
csv:13,https://example.com/bitbucket/projects/PROJECTNAME/repos/ui_jira/commits/8993c04249e9d549e8950daec86717548c53c423,8993c04249e9d549e8950daec86717548c53c423,example.com,PROJECTNAME,ui_jira
diff --git a/backend/plugins/customize/e2e/raw_tables/issue_repo_commits_incremental.csv b/backend/plugins/customize/e2e/raw_tables/issue_repo_commits_incremental.csv
index 187a87a..a8bca04 100644
--- a/backend/plugins/customize/e2e/raw_tables/issue_repo_commits_incremental.csv
+++ b/backend/plugins/customize/e2e/raw_tables/issue_repo_commits_incremental.csv
@@ -1,7 +1,7 @@
issue_id,repo_url,commit_sha,host,namespace,repo_name
jira:JiraIssue:1:10063,https://example.com/bitbucket/projects/PROJECTNAME/repos/ui_jira/commits/8748a066cbaf67b15e86f2c636f9931347e987cf,8748a066cbaf67b15e86f2c636f9931347e987cf,example.com,PROJECTNAME,ui_jira
-jira:JiraIssue:1:10064,https://bitbucket.org/mynamespace/incubator-devlake/commits/abc0892edaee00dd7ee268dbee71620407a29bca,abc0892edaee00dd7ee268dbee71620407a29bca,bitbucket.org,mynamespace,incubator-devlake
-jira:JiraIssue:1:10064,https://github.com/apache/incubator-devlake/commit/e6bde456807818c5c78d7b265964d6d48b653af6,e6bde456807818c5c78d7b265964d6d48b653af6,github.com,apache,incubator-devlake
+jira:JiraIssue:1:10064,https://bitbucket.org/mynamespace/devlake/commits/abc0892edaee00dd7ee268dbee71620407a29bca,abc0892edaee00dd7ee268dbee71620407a29bca,bitbucket.org,mynamespace,devlake
+jira:JiraIssue:1:10064,https://github.com/apache/devlake/commit/e6bde456807818c5c78d7b265964d6d48b653af6,e6bde456807818c5c78d7b265964d6d48b653af6,github.com,apache,devlake
jira:JiraIssue:1:10065,https://gitlab.com/namespace1/namespace2/myrepo/-/commit/8f91020bcf684c6ad07adfafa3d8a2f826686c42,8f91020bcf684c6ad07adfafa3d8a2f826686c42,gitlab.com,namespace1/namespace2,murepo
jira:JiraIssue:1:10066,https://gitlab.com/meri.co/vdev.co/-/commit/0dfe2e9ed88ad4e27f825d9b67d4d56ac983c5ef,0dfe2e9ed88ad4e27f825d9b67d4d56ac983c5ef,gitlab.com,meri.co,vdev.co
jira:JiraIssue:1:10139,https://example.com/bitbucket/projects/PROJECTNAME/repos/ui_jira/commits/8993c04249e9d549e8950daec86717548c53c423,8993c04249e9d549e8950daec86717548c53c423,example.com,PROJECTNAME,ui_jira
diff --git a/backend/plugins/customize/e2e/snapshot_tables/issue_repo_commits.csv b/backend/plugins/customize/e2e/snapshot_tables/issue_repo_commits.csv
index b9e43ab..b9dd201 100644
--- a/backend/plugins/customize/e2e/snapshot_tables/issue_repo_commits.csv
+++ b/backend/plugins/customize/e2e/snapshot_tables/issue_repo_commits.csv
@@ -1,7 +1,7 @@
issue_id,repo_url,commit_sha,host,namespace,repo_name,_raw_data_params,_raw_data_table,_raw_data_id,_raw_data_remark
csv:1,https://example.com:8080/bitbucket/projects/PROJECTNAME/repos/ui_jira/commits/8748a066cbaf67b15e86f2c636f9931347e987cf,8748a066cbaf67b15e86f2c636f9931347e987cf,example.com,PROJECTNAME,ui_jira,csv-board,,,
-csv:10,https://bitbucket.org/mynamespace/incubator-devlake/commits/abc0892edaee00dd7ee268dbee71620407a29bca,abc0892edaee00dd7ee268dbee71620407a29bca,bitbucket.org,mynamespace,incubator-devlake,csv-board,,,
-csv:11,https://github.com/apache/incubator-devlake/commit/e6bde456807818c5c78d7b265964d6d48b653af6,e6bde456807818c5c78d7b265964d6d48b653af6,github.com,apache,incubator-devlake,csv-board,,,
+csv:10,https://bitbucket.org/mynamespace/devlake/commits/abc0892edaee00dd7ee268dbee71620407a29bca,abc0892edaee00dd7ee268dbee71620407a29bca,bitbucket.org,mynamespace,devlake,csv-board,,,
+csv:11,https://github.com/apache/devlake/commit/e6bde456807818c5c78d7b265964d6d48b653af6,e6bde456807818c5c78d7b265964d6d48b653af6,github.com,apache,devlake,csv-board,,,
csv:12,https://gitlab.com/namespace1/namespace2/myrepo/-/commit/8f91020bcf684c6ad07adfafa3d8a2f826686c42,8f91020bcf684c6ad07adfafa3d8a2f826686c42,gitlab.com,namespace1/namespace2,murepo,csv-board,,,
csv:13,https://example.com/bitbucket/projects/PROJECTNAME/repos/ui_jira/commits/07aa2ebed68e286dc51a7e0082031196a6135f74,07aa2ebed68e286dc51a7e0082031196a6135f74,example.com,PROJECTNAME,ui_jira,csv-board,,,
csv:13,https://example.com/bitbucket/projects/PROJECTNAME/repos/ui_jira/commits/8993c04249e9d549e8950daec86717548c53c423,8993c04249e9d549e8950daec86717548c53c423,example.com,PROJECTNAME,ui_jira,csv-board,,,
@@ -13,8 +13,8 @@
csv:14,https://example.com/bitbucket/projects/PROJECTNAME/repos/ui_jira/commits/d70d6687e06304d9b6e0cb32b3f8c0f0928400f7,d70d6687e06304d9b6e0cb32b3f8c0f0928400f7,example.com,PROJECTNAME,ui_jira,csv-board,,,
jira:JiraIssue:1:10063,https://example.com/bitbucket/projects/PROJECTNAME/repos/ui_jira/commits/8748a066cbaf67b15e86f2c636f9931347e987cf,8748a066cbaf67b15e86f2c636f9931347e987cf,example.com,PROJECTNAME,ui_jira,csv-board,,,
jira:JiraIssue:1:10063,https://example.com/bitbucket/projects/PROJECTNAME/repos/ui_jira/commits/commit_id_should_be_remained,commit_id_should_be_remained,example.com,PROJECTNAME,ui_jira,,,,
-jira:JiraIssue:1:10064,https://bitbucket.org/mynamespace/incubator-devlake/commits/abc0892edaee00dd7ee268dbee71620407a29bca,abc0892edaee00dd7ee268dbee71620407a29bca,bitbucket.org,mynamespace,incubator-devlake,csv-board,,,
-jira:JiraIssue:1:10064,https://github.com/apache/incubator-devlake/commit/e6bde456807818c5c78d7b265964d6d48b653af6,e6bde456807818c5c78d7b265964d6d48b653af6,github.com,apache,incubator-devlake,csv-board,,,
+jira:JiraIssue:1:10064,https://bitbucket.org/mynamespace/devlake/commits/abc0892edaee00dd7ee268dbee71620407a29bca,abc0892edaee00dd7ee268dbee71620407a29bca,bitbucket.org,mynamespace,devlake,csv-board,,,
+jira:JiraIssue:1:10064,https://github.com/apache/devlake/commit/e6bde456807818c5c78d7b265964d6d48b653af6,e6bde456807818c5c78d7b265964d6d48b653af6,github.com,apache,devlake,csv-board,,,
jira:JiraIssue:1:10065,https://gitlab.com/namespace1/namespace2/myrepo/-/commit/8f91020bcf684c6ad07adfafa3d8a2f826686c42,8f91020bcf684c6ad07adfafa3d8a2f826686c42,gitlab.com,namespace1/namespace2,murepo,csv-board,,,
jira:JiraIssue:1:10066,https://gitlab.com/meri.co/vdev.co/-/commit/0dfe2e9ed88ad4e27f825d9b67d4d56ac983c5ef,0dfe2e9ed88ad4e27f825d9b67d4d56ac983c5ef,gitlab.com,meri.co,vdev.co,csv-board,,,
jira:JiraIssue:1:10139,https://example.com/bitbucket/projects/PROJECTNAME/repos/ui_jira/commits/8993c04249e9d549e8950daec86717548c53c423,8993c04249e9d549e8950daec86717548c53c423,example.com,PROJECTNAME,ui_jira,csv-board,,,
diff --git a/backend/plugins/customize/impl/impl.go b/backend/plugins/customize/impl/impl.go
index 6df6359..c874b33 100644
--- a/backend/plugins/customize/impl/impl.go
+++ b/backend/plugins/customize/impl/impl.go
@@ -18,14 +18,14 @@
package impl
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/plugins/customize/api"
- "github.com/apache/incubator-devlake/plugins/customize/models"
- "github.com/apache/incubator-devlake/plugins/customize/models/migrationscripts"
- "github.com/apache/incubator-devlake/plugins/customize/tasks"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/plugins/customize/api"
+ "github.com/apache/devlake/plugins/customize/models"
+ "github.com/apache/devlake/plugins/customize/models/migrationscripts"
+ "github.com/apache/devlake/plugins/customize/tasks"
"github.com/go-viper/mapstructure/v2"
)
@@ -87,7 +87,7 @@
}
func (p Customize) RootPkgPath() string {
- return "github.com/apache/incubator-devlake/plugins/customize"
+ return "github.com/apache/devlake/plugins/customize"
}
func (p Customize) ApiResources() map[string]map[string]plugin.ApiResourceHandler {
diff --git a/backend/plugins/customize/models/customized_field.go b/backend/plugins/customize/models/customized_field.go
index 16a4d79..d8fdda6 100644
--- a/backend/plugins/customize/models/customized_field.go
+++ b/backend/plugins/customize/models/customized_field.go
@@ -20,7 +20,7 @@
import (
"time"
- "github.com/apache/incubator-devlake/core/dal"
+ "github.com/apache/devlake/core/dal"
)
type CustomizedField struct {
diff --git a/backend/plugins/customize/models/migrationscripts/20230201_add_customized_fields.go b/backend/plugins/customize/models/migrationscripts/20230201_add_customized_fields.go
index 274b96e..7864f10 100644
--- a/backend/plugins/customize/models/migrationscripts/20230201_add_customized_fields.go
+++ b/backend/plugins/customize/models/migrationscripts/20230201_add_customized_fields.go
@@ -18,9 +18,9 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/plugins/customize/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/plugins/customize/models/migrationscripts/archived"
)
type addCustomizedField struct{}
diff --git a/backend/plugins/customize/models/migrationscripts/archived/customized_field.go b/backend/plugins/customize/models/migrationscripts/archived/customized_field.go
index 96814a1..dbfde3a 100644
--- a/backend/plugins/customize/models/migrationscripts/archived/customized_field.go
+++ b/backend/plugins/customize/models/migrationscripts/archived/customized_field.go
@@ -20,7 +20,7 @@
import (
"time"
- "github.com/apache/incubator-devlake/core/dal"
+ "github.com/apache/devlake/core/dal"
)
type CustomizedField struct {
diff --git a/backend/plugins/customize/models/migrationscripts/register.go b/backend/plugins/customize/models/migrationscripts/register.go
index fbe26a7..65d3b9e 100644
--- a/backend/plugins/customize/models/migrationscripts/register.go
+++ b/backend/plugins/customize/models/migrationscripts/register.go
@@ -18,7 +18,7 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/plugin"
+ "github.com/apache/devlake/core/plugin"
)
// All return all the migration scripts
diff --git a/backend/plugins/customize/service/service.go b/backend/plugins/customize/service/service.go
index 8217be3..740c95d 100644
--- a/backend/plugins/customize/service/service.go
+++ b/backend/plugins/customize/service/service.go
@@ -24,15 +24,15 @@
"strings"
"time"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/common"
- "github.com/apache/incubator-devlake/core/models/domainlayer"
- "github.com/apache/incubator-devlake/core/models/domainlayer/crossdomain"
- "github.com/apache/incubator-devlake/core/models/domainlayer/qa"
- "github.com/apache/incubator-devlake/core/models/domainlayer/ticket"
- "github.com/apache/incubator-devlake/helpers/pluginhelper"
- customizeModels "github.com/apache/incubator-devlake/plugins/customize/models"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/common"
+ "github.com/apache/devlake/core/models/domainlayer"
+ "github.com/apache/devlake/core/models/domainlayer/crossdomain"
+ "github.com/apache/devlake/core/models/domainlayer/qa"
+ "github.com/apache/devlake/core/models/domainlayer/ticket"
+ "github.com/apache/devlake/helpers/pluginhelper"
+ customizeModels "github.com/apache/devlake/plugins/customize/models"
)
// Service wraps database operations
diff --git a/backend/plugins/customize/tasks/customized_fields_extractor.go b/backend/plugins/customize/tasks/customized_fields_extractor.go
index 9a8454c..dda461c 100644
--- a/backend/plugins/customize/tasks/customized_fields_extractor.go
+++ b/backend/plugins/customize/tasks/customized_fields_extractor.go
@@ -22,12 +22,12 @@
"fmt"
"strings"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/common"
- "github.com/apache/incubator-devlake/core/models/domainlayer/ticket"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/plugins/customize/models"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/common"
+ "github.com/apache/devlake/core/models/domainlayer/ticket"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/plugins/customize/models"
"github.com/tidwall/gjson"
)
diff --git a/backend/plugins/customize/tasks/customized_fields_extractor_test.go b/backend/plugins/customize/tasks/customized_fields_extractor_test.go
index 9fc6ff8..648b427 100644
--- a/backend/plugins/customize/tasks/customized_fields_extractor_test.go
+++ b/backend/plugins/customize/tasks/customized_fields_extractor_test.go
@@ -21,8 +21,8 @@
"context"
"testing"
- "github.com/apache/incubator-devlake/core/dal"
- mockdal "github.com/apache/incubator-devlake/mocks/core/dal"
+ "github.com/apache/devlake/core/dal"
+ mockdal "github.com/apache/devlake/mocks/core/dal"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/mock"
)
diff --git a/backend/plugins/dora/api/data.go b/backend/plugins/dora/api/data.go
index 6f610ff..bcce5eb 100644
--- a/backend/plugins/dora/api/data.go
+++ b/backend/plugins/dora/api/data.go
@@ -18,8 +18,8 @@
package api
import (
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
"net/http"
)
diff --git a/backend/plugins/dora/dora.go b/backend/plugins/dora/dora.go
index a0b9a19..b8436bd 100644
--- a/backend/plugins/dora/dora.go
+++ b/backend/plugins/dora/dora.go
@@ -18,8 +18,8 @@
package main
import (
- "github.com/apache/incubator-devlake/core/runner"
- "github.com/apache/incubator-devlake/plugins/dora/impl"
+ "github.com/apache/devlake/core/runner"
+ "github.com/apache/devlake/plugins/dora/impl"
"github.com/spf13/cobra"
)
diff --git a/backend/plugins/dora/e2e/calculate_change_lead_time_test.go b/backend/plugins/dora/e2e/calculate_change_lead_time_test.go
index e37cd63..1c59110 100644
--- a/backend/plugins/dora/e2e/calculate_change_lead_time_test.go
+++ b/backend/plugins/dora/e2e/calculate_change_lead_time_test.go
@@ -20,13 +20,13 @@
import (
"testing"
- "github.com/apache/incubator-devlake/core/models/common"
- "github.com/apache/incubator-devlake/core/models/domainlayer/code"
- "github.com/apache/incubator-devlake/core/models/domainlayer/crossdomain"
- "github.com/apache/incubator-devlake/core/models/domainlayer/devops"
- "github.com/apache/incubator-devlake/helpers/e2ehelper"
- "github.com/apache/incubator-devlake/plugins/dora/impl"
- "github.com/apache/incubator-devlake/plugins/dora/tasks"
+ "github.com/apache/devlake/core/models/common"
+ "github.com/apache/devlake/core/models/domainlayer/code"
+ "github.com/apache/devlake/core/models/domainlayer/crossdomain"
+ "github.com/apache/devlake/core/models/domainlayer/devops"
+ "github.com/apache/devlake/helpers/e2ehelper"
+ "github.com/apache/devlake/plugins/dora/impl"
+ "github.com/apache/devlake/plugins/dora/tasks"
)
func TestCalculateCLTimeDataFlow(t *testing.T) {
diff --git a/backend/plugins/dora/e2e/connect_incident_to_deploy_test.go b/backend/plugins/dora/e2e/connect_incident_to_deploy_test.go
index 8af1750..f940aa4 100644
--- a/backend/plugins/dora/e2e/connect_incident_to_deploy_test.go
+++ b/backend/plugins/dora/e2e/connect_incident_to_deploy_test.go
@@ -20,13 +20,13 @@
import (
"testing"
- "github.com/apache/incubator-devlake/core/models/common"
- "github.com/apache/incubator-devlake/core/models/domainlayer/crossdomain"
- "github.com/apache/incubator-devlake/core/models/domainlayer/devops"
- "github.com/apache/incubator-devlake/core/models/domainlayer/ticket"
- "github.com/apache/incubator-devlake/helpers/e2ehelper"
- "github.com/apache/incubator-devlake/plugins/dora/impl"
- "github.com/apache/incubator-devlake/plugins/dora/tasks"
+ "github.com/apache/devlake/core/models/common"
+ "github.com/apache/devlake/core/models/domainlayer/crossdomain"
+ "github.com/apache/devlake/core/models/domainlayer/devops"
+ "github.com/apache/devlake/core/models/domainlayer/ticket"
+ "github.com/apache/devlake/helpers/e2ehelper"
+ "github.com/apache/devlake/plugins/dora/impl"
+ "github.com/apache/devlake/plugins/dora/tasks"
)
func TestConnectIncidentToDeploymentDataFlow(t *testing.T) {
diff --git a/backend/plugins/dora/e2e/deployment_commits_generator_test.go b/backend/plugins/dora/e2e/deployment_commits_generator_test.go
index 113c855..35df2cd 100644
--- a/backend/plugins/dora/e2e/deployment_commits_generator_test.go
+++ b/backend/plugins/dora/e2e/deployment_commits_generator_test.go
@@ -20,11 +20,11 @@
import (
"testing"
- "github.com/apache/incubator-devlake/core/models/domainlayer/crossdomain"
- "github.com/apache/incubator-devlake/core/models/domainlayer/devops"
- "github.com/apache/incubator-devlake/helpers/e2ehelper"
- "github.com/apache/incubator-devlake/plugins/dora/impl"
- "github.com/apache/incubator-devlake/plugins/dora/tasks"
+ "github.com/apache/devlake/core/models/domainlayer/crossdomain"
+ "github.com/apache/devlake/core/models/domainlayer/devops"
+ "github.com/apache/devlake/helpers/e2ehelper"
+ "github.com/apache/devlake/plugins/dora/impl"
+ "github.com/apache/devlake/plugins/dora/tasks"
)
func TestGenerateDeploymentCommitsDataFlow(t *testing.T) {
diff --git a/backend/plugins/dora/e2e/prev_deployment_commit_enricher_test.go b/backend/plugins/dora/e2e/prev_deployment_commit_enricher_test.go
index 39e9303..c03fee6 100644
--- a/backend/plugins/dora/e2e/prev_deployment_commit_enricher_test.go
+++ b/backend/plugins/dora/e2e/prev_deployment_commit_enricher_test.go
@@ -20,11 +20,11 @@
import (
"testing"
- "github.com/apache/incubator-devlake/core/models/domainlayer/crossdomain"
- "github.com/apache/incubator-devlake/core/models/domainlayer/devops"
- "github.com/apache/incubator-devlake/helpers/e2ehelper"
- "github.com/apache/incubator-devlake/plugins/dora/impl"
- "github.com/apache/incubator-devlake/plugins/dora/tasks"
+ "github.com/apache/devlake/core/models/domainlayer/crossdomain"
+ "github.com/apache/devlake/core/models/domainlayer/devops"
+ "github.com/apache/devlake/helpers/e2ehelper"
+ "github.com/apache/devlake/plugins/dora/impl"
+ "github.com/apache/devlake/plugins/dora/tasks"
)
func TestPrevSuccessDeploymentCommitEnricherDataFlow(t *testing.T) {
diff --git a/backend/plugins/dora/impl/impl.go b/backend/plugins/dora/impl/impl.go
index 2460973..92802a1 100644
--- a/backend/plugins/dora/impl/impl.go
+++ b/backend/plugins/dora/impl/impl.go
@@ -20,12 +20,12 @@
import (
"encoding/json"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- coreModels "github.com/apache/incubator-devlake/core/models"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/plugins/dora/models/migrationscripts"
- "github.com/apache/incubator-devlake/plugins/dora/tasks"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ coreModels "github.com/apache/devlake/core/models"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/plugins/dora/models/migrationscripts"
+ "github.com/apache/devlake/plugins/dora/tasks"
)
// make sure interface is implemented
@@ -111,7 +111,7 @@
// RootPkgPath information lost when compiled as plugin(.so)
func (p Dora) RootPkgPath() string {
- return "github.com/apache/incubator-devlake/plugins/dora"
+ return "github.com/apache/devlake/plugins/dora"
}
func (p Dora) MigrationScripts() []plugin.MigrationScript {
diff --git a/backend/plugins/dora/impl/impl_test.go b/backend/plugins/dora/impl/impl_test.go
index 7719d09..3fcdc58 100644
--- a/backend/plugins/dora/impl/impl_test.go
+++ b/backend/plugins/dora/impl/impl_test.go
@@ -19,10 +19,10 @@
import (
"encoding/json"
- "github.com/apache/incubator-devlake/plugins/dora/tasks"
+ "github.com/apache/devlake/plugins/dora/tasks"
"testing"
- coreModels "github.com/apache/incubator-devlake/core/models"
+ coreModels "github.com/apache/devlake/core/models"
"github.com/stretchr/testify/assert"
)
diff --git a/backend/plugins/dora/models/migrationscripts/20220928_add_dora_benchmark.go b/backend/plugins/dora/models/migrationscripts/20220928_add_dora_benchmark.go
index 86d8ee8..6f7afb0 100644
--- a/backend/plugins/dora/models/migrationscripts/20220928_add_dora_benchmark.go
+++ b/backend/plugins/dora/models/migrationscripts/20220928_add_dora_benchmark.go
@@ -18,10 +18,10 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
- "github.com/apache/incubator-devlake/helpers/migrationhelper"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/helpers/migrationhelper"
)
type addDoraBenchmark struct{}
diff --git a/backend/plugins/dora/models/migrationscripts/20240104_fix_dora_benchmark_metric.go b/backend/plugins/dora/models/migrationscripts/20240104_fix_dora_benchmark_metric.go
index 6646f5b..af9039c 100644
--- a/backend/plugins/dora/models/migrationscripts/20240104_fix_dora_benchmark_metric.go
+++ b/backend/plugins/dora/models/migrationscripts/20240104_fix_dora_benchmark_metric.go
@@ -18,8 +18,8 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
)
type fixDoraBenchmarkMetric struct{}
diff --git a/backend/plugins/dora/models/migrationscripts/20240223_add_dora_2023_benchmark.go b/backend/plugins/dora/models/migrationscripts/20240223_add_dora_2023_benchmark.go
index b1d8ece..258fade 100644
--- a/backend/plugins/dora/models/migrationscripts/20240223_add_dora_2023_benchmark.go
+++ b/backend/plugins/dora/models/migrationscripts/20240223_add_dora_2023_benchmark.go
@@ -18,10 +18,10 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
- "github.com/apache/incubator-devlake/helpers/migrationhelper"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/helpers/migrationhelper"
)
type adddoraBenchmark2023 struct{}
diff --git a/backend/plugins/dora/models/migrationscripts/register.go b/backend/plugins/dora/models/migrationscripts/register.go
index 6a12d07..7830522 100644
--- a/backend/plugins/dora/models/migrationscripts/register.go
+++ b/backend/plugins/dora/models/migrationscripts/register.go
@@ -18,7 +18,7 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/plugin"
+ "github.com/apache/devlake/core/plugin"
)
// All return all the migration scripts
diff --git a/backend/plugins/dora/tasks/change_lead_time_calculator.go b/backend/plugins/dora/tasks/change_lead_time_calculator.go
index 57e5b73..9a86c6e 100644
--- a/backend/plugins/dora/tasks/change_lead_time_calculator.go
+++ b/backend/plugins/dora/tasks/change_lead_time_calculator.go
@@ -22,13 +22,13 @@
"reflect"
"time"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/domainlayer/code"
- "github.com/apache/incubator-devlake/core/models/domainlayer/crossdomain"
- "github.com/apache/incubator-devlake/core/models/domainlayer/devops"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/domainlayer/code"
+ "github.com/apache/devlake/core/models/domainlayer/crossdomain"
+ "github.com/apache/devlake/core/models/domainlayer/devops"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
)
// CalculateChangeLeadTimeMeta contains metadata for the CalculateChangeLeadTime subtask.
diff --git a/backend/plugins/dora/tasks/cicd_task_env_enricher.go b/backend/plugins/dora/tasks/cicd_task_env_enricher.go
index ea6cbe6..738be9f 100644
--- a/backend/plugins/dora/tasks/cicd_task_env_enricher.go
+++ b/backend/plugins/dora/tasks/cicd_task_env_enricher.go
@@ -18,8 +18,8 @@
package tasks
import (
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
)
// EnrichTaskEnvMeta will be removed in v0.17
diff --git a/backend/plugins/dora/tasks/deployment_commits_generator.go b/backend/plugins/dora/tasks/deployment_commits_generator.go
index 826e177..1b519ae 100644
--- a/backend/plugins/dora/tasks/deployment_commits_generator.go
+++ b/backend/plugins/dora/tasks/deployment_commits_generator.go
@@ -22,12 +22,12 @@
"reflect"
"time"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/domainlayer"
- "github.com/apache/incubator-devlake/core/models/domainlayer/devops"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/domainlayer"
+ "github.com/apache/devlake/core/models/domainlayer/devops"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
)
const DORAGenerateDeploymentCommits = "dora.generateDeploymentCommits"
@@ -35,7 +35,7 @@
var DeploymentCommitsGeneratorMeta = plugin.SubTaskMeta{
Name: "generateDeploymentCommits",
EntryPoint: GenerateDeploymentCommits,
- EnabledByDefault: false, // it should be executed before refdiff.calculateDeploymentCommitsDiff, check https://github.com/apache/incubator-devlake/issues/4869 for detail
+ EnabledByDefault: false, // it should be executed before refdiff.calculateDeploymentCommitsDiff, check https://github.com/apache/devlake/issues/4869 for detail
Description: "Generate deployment_commits from cicd_pipeline_commits if cicd_pipeline.type == DEPLOYMENT or any of its cicd_tasks is a deployment task",
DomainTypes: []string{plugin.DOMAIN_TYPE_CICD},
}
diff --git a/backend/plugins/dora/tasks/deployment_generator.go b/backend/plugins/dora/tasks/deployment_generator.go
index 0defd42..549f6b6 100644
--- a/backend/plugins/dora/tasks/deployment_generator.go
+++ b/backend/plugins/dora/tasks/deployment_generator.go
@@ -20,12 +20,12 @@
import (
"reflect"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/domainlayer"
- "github.com/apache/incubator-devlake/core/models/domainlayer/devops"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/domainlayer"
+ "github.com/apache/devlake/core/models/domainlayer/devops"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
)
const DORAGenerateDeployment = "dora.generateDeployments"
diff --git a/backend/plugins/dora/tasks/incident_deploy_connector.go b/backend/plugins/dora/tasks/incident_deploy_connector.go
index 2b9ce49..95351f1 100644
--- a/backend/plugins/dora/tasks/incident_deploy_connector.go
+++ b/backend/plugins/dora/tasks/incident_deploy_connector.go
@@ -21,14 +21,14 @@
"reflect"
"time"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/domainlayer"
- "github.com/apache/incubator-devlake/core/models/domainlayer/crossdomain"
- "github.com/apache/incubator-devlake/core/models/domainlayer/devops"
- "github.com/apache/incubator-devlake/core/models/domainlayer/ticket"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/domainlayer"
+ "github.com/apache/devlake/core/models/domainlayer/crossdomain"
+ "github.com/apache/devlake/core/models/domainlayer/devops"
+ "github.com/apache/devlake/core/models/domainlayer/ticket"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
)
var ConnectIncidentToDeploymentMeta = plugin.SubTaskMeta{
diff --git a/backend/plugins/dora/tasks/incident_from_issue_generator.go b/backend/plugins/dora/tasks/incident_from_issue_generator.go
index d70cd2c..d0118ee 100644
--- a/backend/plugins/dora/tasks/incident_from_issue_generator.go
+++ b/backend/plugins/dora/tasks/incident_from_issue_generator.go
@@ -19,13 +19,13 @@
import (
goerrors "errors"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/log"
- "github.com/apache/incubator-devlake/core/models/common"
- "github.com/apache/incubator-devlake/core/models/domainlayer/ticket"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/log"
+ "github.com/apache/devlake/core/models/common"
+ "github.com/apache/devlake/core/models/domainlayer/ticket"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
"reflect"
)
diff --git a/backend/plugins/dora/tasks/prev_deployment_commit_enricher.go b/backend/plugins/dora/tasks/prev_deployment_commit_enricher.go
index 69c68a9..07c72e9 100644
--- a/backend/plugins/dora/tasks/prev_deployment_commit_enricher.go
+++ b/backend/plugins/dora/tasks/prev_deployment_commit_enricher.go
@@ -18,11 +18,11 @@
package tasks
import (
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/domainlayer/devops"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/domainlayer/devops"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
)
var EnrichPrevSuccessDeploymentCommitMeta = plugin.SubTaskMeta{
diff --git a/backend/plugins/dora/tasks/task_data.go b/backend/plugins/dora/tasks/task_data.go
index 3beaf33..83fadc4 100644
--- a/backend/plugins/dora/tasks/task_data.go
+++ b/backend/plugins/dora/tasks/task_data.go
@@ -18,8 +18,8 @@
package tasks
import (
- "github.com/apache/incubator-devlake/core/errors"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/core/errors"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
)
type DoraApiParams struct {
diff --git a/backend/plugins/feishu/api/connection.go b/backend/plugins/feishu/api/connection.go
index 72771e1..6d55342 100644
--- a/backend/plugins/feishu/api/connection.go
+++ b/backend/plugins/feishu/api/connection.go
@@ -21,12 +21,12 @@
"context"
"net/http"
- "github.com/apache/incubator-devlake/server/api/shared"
+ "github.com/apache/devlake/server/api/shared"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/feishu/models"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/feishu/models"
)
type FeishuTestConnResponse struct {
diff --git a/backend/plugins/feishu/api/init.go b/backend/plugins/feishu/api/init.go
index 7a16d5f..ef85236 100644
--- a/backend/plugins/feishu/api/init.go
+++ b/backend/plugins/feishu/api/init.go
@@ -18,9 +18,9 @@
package api
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
"github.com/go-playground/validator/v10"
)
diff --git a/backend/plugins/feishu/e2e/meeting_test.go b/backend/plugins/feishu/e2e/meeting_test.go
index e41d7a9..f582579 100644
--- a/backend/plugins/feishu/e2e/meeting_test.go
+++ b/backend/plugins/feishu/e2e/meeting_test.go
@@ -18,10 +18,10 @@
package e2e
import (
- "github.com/apache/incubator-devlake/helpers/e2ehelper"
- "github.com/apache/incubator-devlake/plugins/feishu/impl"
- "github.com/apache/incubator-devlake/plugins/feishu/models"
- "github.com/apache/incubator-devlake/plugins/feishu/tasks"
+ "github.com/apache/devlake/helpers/e2ehelper"
+ "github.com/apache/devlake/plugins/feishu/impl"
+ "github.com/apache/devlake/plugins/feishu/models"
+ "github.com/apache/devlake/plugins/feishu/tasks"
"testing"
)
diff --git a/backend/plugins/feishu/feishu.go b/backend/plugins/feishu/feishu.go
index f203735..0dd11e9 100644
--- a/backend/plugins/feishu/feishu.go
+++ b/backend/plugins/feishu/feishu.go
@@ -18,8 +18,8 @@
package main
import (
- "github.com/apache/incubator-devlake/core/runner"
- "github.com/apache/incubator-devlake/plugins/feishu/impl"
+ "github.com/apache/devlake/core/runner"
+ "github.com/apache/devlake/plugins/feishu/impl"
"github.com/spf13/cobra"
)
diff --git a/backend/plugins/feishu/impl/impl.go b/backend/plugins/feishu/impl/impl.go
index eb321a1..fbe5681 100644
--- a/backend/plugins/feishu/impl/impl.go
+++ b/backend/plugins/feishu/impl/impl.go
@@ -19,16 +19,16 @@
import (
"fmt"
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/dal"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/feishu/api"
- "github.com/apache/incubator-devlake/plugins/feishu/models"
- "github.com/apache/incubator-devlake/plugins/feishu/models/migrationscripts"
- "github.com/apache/incubator-devlake/plugins/feishu/tasks"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/feishu/api"
+ "github.com/apache/devlake/plugins/feishu/models"
+ "github.com/apache/devlake/plugins/feishu/models/migrationscripts"
+ "github.com/apache/devlake/plugins/feishu/tasks"
)
var _ interface {
@@ -120,7 +120,7 @@
}
func (p Feishu) RootPkgPath() string {
- return "github.com/apache/incubator-devlake/plugins/feishu"
+ return "github.com/apache/devlake/plugins/feishu"
}
func (p Feishu) MigrationScripts() []plugin.MigrationScript {
diff --git a/backend/plugins/feishu/models/chat_item.go b/backend/plugins/feishu/models/chat_item.go
index 8e80dd3..d483695 100644
--- a/backend/plugins/feishu/models/chat_item.go
+++ b/backend/plugins/feishu/models/chat_item.go
@@ -18,7 +18,7 @@
package models
import (
- "github.com/apache/incubator-devlake/core/models/common"
+ "github.com/apache/devlake/core/models/common"
)
type FeishuChatItem struct {
diff --git a/backend/plugins/feishu/models/connection.go b/backend/plugins/feishu/models/connection.go
index 717ce59..24dd1fb 100644
--- a/backend/plugins/feishu/models/connection.go
+++ b/backend/plugins/feishu/models/connection.go
@@ -19,13 +19,13 @@
import (
"fmt"
- "github.com/apache/incubator-devlake/core/utils"
+ "github.com/apache/devlake/core/utils"
"net/http"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/feishu/apimodels"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/feishu/apimodels"
)
// FeishuConn holds the essential information to connect to the Feishu API
diff --git a/backend/plugins/feishu/models/meeting_top_user_item.go b/backend/plugins/feishu/models/meeting_top_user_item.go
index e56e2ed..1b08a8c 100644
--- a/backend/plugins/feishu/models/meeting_top_user_item.go
+++ b/backend/plugins/feishu/models/meeting_top_user_item.go
@@ -18,7 +18,7 @@
package models
import (
- "github.com/apache/incubator-devlake/core/models/common"
+ "github.com/apache/devlake/core/models/common"
"time"
)
diff --git a/backend/plugins/feishu/models/message.go b/backend/plugins/feishu/models/message.go
index e2a4220..3e71852 100644
--- a/backend/plugins/feishu/models/message.go
+++ b/backend/plugins/feishu/models/message.go
@@ -18,7 +18,7 @@
package models
import (
- "github.com/apache/incubator-devlake/core/models/common"
+ "github.com/apache/devlake/core/models/common"
"time"
)
diff --git a/backend/plugins/feishu/models/migrationscripts/20230421_add_init_tables.go b/backend/plugins/feishu/models/migrationscripts/20230421_add_init_tables.go
index b111e43..3fb066c 100644
--- a/backend/plugins/feishu/models/migrationscripts/20230421_add_init_tables.go
+++ b/backend/plugins/feishu/models/migrationscripts/20230421_add_init_tables.go
@@ -18,11 +18,11 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/migrationhelper"
- "github.com/apache/incubator-devlake/plugins/feishu/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/migrationhelper"
+ "github.com/apache/devlake/plugins/feishu/models/migrationscripts/archived"
)
type addInitTables struct {
diff --git a/backend/plugins/feishu/models/migrationscripts/archived/chat_item.go b/backend/plugins/feishu/models/migrationscripts/archived/chat_item.go
index fc56699..5c8dda3 100644
--- a/backend/plugins/feishu/models/migrationscripts/archived/chat_item.go
+++ b/backend/plugins/feishu/models/migrationscripts/archived/chat_item.go
@@ -18,7 +18,7 @@
package archived
import (
- "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/models/migrationscripts/archived"
)
type FeishuChatItem struct {
diff --git a/backend/plugins/feishu/models/migrationscripts/archived/connection.go b/backend/plugins/feishu/models/migrationscripts/archived/connection.go
index ee71380..ff8eccd 100644
--- a/backend/plugins/feishu/models/migrationscripts/archived/connection.go
+++ b/backend/plugins/feishu/models/migrationscripts/archived/connection.go
@@ -18,7 +18,7 @@
package archived
import (
- commonArchived "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
+ commonArchived "github.com/apache/devlake/core/models/migrationscripts/archived"
)
type FeishuConnection struct {
diff --git a/backend/plugins/feishu/models/migrationscripts/archived/meeting_top_user_item.go b/backend/plugins/feishu/models/migrationscripts/archived/meeting_top_user_item.go
index 8f1afda..f1ae29e 100644
--- a/backend/plugins/feishu/models/migrationscripts/archived/meeting_top_user_item.go
+++ b/backend/plugins/feishu/models/migrationscripts/archived/meeting_top_user_item.go
@@ -18,7 +18,7 @@
package archived
import (
- "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/models/migrationscripts/archived"
"time"
)
diff --git a/backend/plugins/feishu/models/migrationscripts/archived/message.go b/backend/plugins/feishu/models/migrationscripts/archived/message.go
index e8bebeb..d10fe90 100644
--- a/backend/plugins/feishu/models/migrationscripts/archived/message.go
+++ b/backend/plugins/feishu/models/migrationscripts/archived/message.go
@@ -18,7 +18,7 @@
package archived
import (
- "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/models/migrationscripts/archived"
"time"
)
diff --git a/backend/plugins/feishu/models/migrationscripts/register.go b/backend/plugins/feishu/models/migrationscripts/register.go
index ec05474..7d91771 100644
--- a/backend/plugins/feishu/models/migrationscripts/register.go
+++ b/backend/plugins/feishu/models/migrationscripts/register.go
@@ -18,7 +18,7 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/plugin"
+ "github.com/apache/devlake/core/plugin"
)
// All return all the migration scripts
diff --git a/backend/plugins/feishu/tasks/api_client.go b/backend/plugins/feishu/tasks/api_client.go
index 6bb3ed9..78d6c8e 100644
--- a/backend/plugins/feishu/tasks/api_client.go
+++ b/backend/plugins/feishu/tasks/api_client.go
@@ -18,10 +18,10 @@
package tasks
import (
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/feishu/models"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/feishu/models"
)
// const AUTH_ENDPOINT = "https://open.feishu.cn"
diff --git a/backend/plugins/feishu/tasks/chat_collector.go b/backend/plugins/feishu/tasks/chat_collector.go
index f76e8c0..aa7a4b0 100644
--- a/backend/plugins/feishu/tasks/chat_collector.go
+++ b/backend/plugins/feishu/tasks/chat_collector.go
@@ -23,10 +23,10 @@
"net/url"
"strconv"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/feishu/apimodels"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/feishu/apimodels"
)
const RAW_CHAT_TABLE = "feishu_chat_item"
diff --git a/backend/plugins/feishu/tasks/chat_extractor.go b/backend/plugins/feishu/tasks/chat_extractor.go
index abad57f..995f37e 100644
--- a/backend/plugins/feishu/tasks/chat_extractor.go
+++ b/backend/plugins/feishu/tasks/chat_extractor.go
@@ -19,10 +19,10 @@
import (
"encoding/json"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/feishu/models"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/feishu/models"
)
var _ plugin.SubTaskEntryPoint = ExtractChatItem
diff --git a/backend/plugins/feishu/tasks/meeting_top_user_item_collector.go b/backend/plugins/feishu/tasks/meeting_top_user_item_collector.go
index a803c02..2fd9058 100644
--- a/backend/plugins/feishu/tasks/meeting_top_user_item_collector.go
+++ b/backend/plugins/feishu/tasks/meeting_top_user_item_collector.go
@@ -23,10 +23,10 @@
"net/url"
"strconv"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/feishu/apimodels"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/feishu/apimodels"
)
const RAW_MEETING_TOP_USER_ITEM_TABLE = "feishu_meeting_top_user_item"
diff --git a/backend/plugins/feishu/tasks/meeting_top_user_item_extractor.go b/backend/plugins/feishu/tasks/meeting_top_user_item_extractor.go
index 6c3e147..0eed252 100644
--- a/backend/plugins/feishu/tasks/meeting_top_user_item_extractor.go
+++ b/backend/plugins/feishu/tasks/meeting_top_user_item_extractor.go
@@ -19,10 +19,10 @@
import (
"encoding/json"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/feishu/models"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/feishu/models"
)
var _ plugin.SubTaskEntryPoint = ExtractMeetingTopUserItem
diff --git a/backend/plugins/feishu/tasks/message_collector.go b/backend/plugins/feishu/tasks/message_collector.go
index 3823f7f..65e7551 100644
--- a/backend/plugins/feishu/tasks/message_collector.go
+++ b/backend/plugins/feishu/tasks/message_collector.go
@@ -19,11 +19,11 @@
import (
"encoding/json"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/feishu/apimodels"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/feishu/apimodels"
"net/http"
"net/url"
"reflect"
diff --git a/backend/plugins/feishu/tasks/message_extractor.go b/backend/plugins/feishu/tasks/message_extractor.go
index f075b61..69dc860 100644
--- a/backend/plugins/feishu/tasks/message_extractor.go
+++ b/backend/plugins/feishu/tasks/message_extractor.go
@@ -19,11 +19,11 @@
import (
"encoding/json"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/feishu/apimodels"
- "github.com/apache/incubator-devlake/plugins/feishu/models"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/feishu/apimodels"
+ "github.com/apache/devlake/plugins/feishu/models"
"strconv"
"time"
)
diff --git a/backend/plugins/feishu/tasks/task_data.go b/backend/plugins/feishu/tasks/task_data.go
index 428c067..e94459d 100644
--- a/backend/plugins/feishu/tasks/task_data.go
+++ b/backend/plugins/feishu/tasks/task_data.go
@@ -18,7 +18,7 @@
package tasks
import (
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
)
type FeishuApiParams struct {
diff --git a/backend/plugins/gh-copilot/api/blueprint_v200.go b/backend/plugins/gh-copilot/api/blueprint_v200.go
index 97db93a..a1c9d1c 100644
--- a/backend/plugins/gh-copilot/api/blueprint_v200.go
+++ b/backend/plugins/gh-copilot/api/blueprint_v200.go
@@ -18,13 +18,13 @@
package api
import (
- "github.com/apache/incubator-devlake/core/errors"
- coreModels "github.com/apache/incubator-devlake/core/models"
- "github.com/apache/incubator-devlake/core/plugin"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/helpers/srvhelper"
- "github.com/apache/incubator-devlake/plugins/gh-copilot/models"
- "github.com/apache/incubator-devlake/plugins/gh-copilot/tasks"
+ "github.com/apache/devlake/core/errors"
+ coreModels "github.com/apache/devlake/core/models"
+ "github.com/apache/devlake/core/plugin"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/helpers/srvhelper"
+ "github.com/apache/devlake/plugins/gh-copilot/models"
+ "github.com/apache/devlake/plugins/gh-copilot/tasks"
)
// MakeDataSourcePipelinePlanV200 generates the pipeline plan for blueprint v2.0.0.
diff --git a/backend/plugins/gh-copilot/api/connection.go b/backend/plugins/gh-copilot/api/connection.go
index fe02f16..ae4ccc2 100644
--- a/backend/plugins/gh-copilot/api/connection.go
+++ b/backend/plugins/gh-copilot/api/connection.go
@@ -18,10 +18,10 @@
package api
import (
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/gh-copilot/models"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/gh-copilot/models"
)
// PostConnections creates a new Copilot connection.
diff --git a/backend/plugins/gh-copilot/api/connection_test.go b/backend/plugins/gh-copilot/api/connection_test.go
index aa16ff6..b2fe23b 100644
--- a/backend/plugins/gh-copilot/api/connection_test.go
+++ b/backend/plugins/gh-copilot/api/connection_test.go
@@ -22,7 +22,7 @@
"github.com/stretchr/testify/assert"
- "github.com/apache/incubator-devlake/plugins/gh-copilot/models"
+ "github.com/apache/devlake/plugins/gh-copilot/models"
)
func TestValidateConnection_Success(t *testing.T) {
diff --git a/backend/plugins/gh-copilot/api/init.go b/backend/plugins/gh-copilot/api/init.go
index 2cc9209..a536cf7 100644
--- a/backend/plugins/gh-copilot/api/init.go
+++ b/backend/plugins/gh-copilot/api/init.go
@@ -20,10 +20,10 @@
import (
"github.com/go-playground/validator/v10"
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/plugin"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/gh-copilot/models"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/plugin"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/gh-copilot/models"
)
var (
diff --git a/backend/plugins/gh-copilot/api/remote_api.go b/backend/plugins/gh-copilot/api/remote_api.go
index 0ce2697..bf623e4 100644
--- a/backend/plugins/gh-copilot/api/remote_api.go
+++ b/backend/plugins/gh-copilot/api/remote_api.go
@@ -22,11 +22,11 @@
"strconv"
"strings"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- dsmodels "github.com/apache/incubator-devlake/helpers/pluginhelper/api/models"
- "github.com/apache/incubator-devlake/plugins/gh-copilot/models"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ dsmodels "github.com/apache/devlake/helpers/pluginhelper/api/models"
+ "github.com/apache/devlake/plugins/gh-copilot/models"
)
// GhCopilotRemotePagination is a placeholder for scope list pagination.
diff --git a/backend/plugins/gh-copilot/api/scope.go b/backend/plugins/gh-copilot/api/scope.go
index dbd8cca..be17f28 100644
--- a/backend/plugins/gh-copilot/api/scope.go
+++ b/backend/plugins/gh-copilot/api/scope.go
@@ -18,11 +18,11 @@
package api
import (
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/helpers/srvhelper"
- "github.com/apache/incubator-devlake/plugins/gh-copilot/models"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/helpers/srvhelper"
+ "github.com/apache/devlake/plugins/gh-copilot/models"
)
type PutScopesReqBody = helper.PutScopesReqBody[models.GhCopilotScope]
diff --git a/backend/plugins/gh-copilot/api/scope_config.go b/backend/plugins/gh-copilot/api/scope_config.go
index 7184652..7d6bdc5 100644
--- a/backend/plugins/gh-copilot/api/scope_config.go
+++ b/backend/plugins/gh-copilot/api/scope_config.go
@@ -18,8 +18,8 @@
package api
import (
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
)
// PostScopeConfig creates a new scope configuration
diff --git a/backend/plugins/gh-copilot/api/test_connection.go b/backend/plugins/gh-copilot/api/test_connection.go
index 3dedc85..7ad8595 100644
--- a/backend/plugins/gh-copilot/api/test_connection.go
+++ b/backend/plugins/gh-copilot/api/test_connection.go
@@ -21,11 +21,11 @@
"context"
"net/http"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/gh-copilot/models"
- "github.com/apache/incubator-devlake/plugins/gh-copilot/service"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/gh-copilot/models"
+ "github.com/apache/devlake/plugins/gh-copilot/service"
)
// TestConnection validates a Copilot connection before saving it.
diff --git a/backend/plugins/gh-copilot/copilot.go b/backend/plugins/gh-copilot/copilot.go
index c4de27e..47328ad 100644
--- a/backend/plugins/gh-copilot/copilot.go
+++ b/backend/plugins/gh-copilot/copilot.go
@@ -18,8 +18,8 @@
package main
import (
- "github.com/apache/incubator-devlake/core/runner"
- "github.com/apache/incubator-devlake/plugins/gh-copilot/impl"
+ "github.com/apache/devlake/core/runner"
+ "github.com/apache/devlake/plugins/gh-copilot/impl"
"github.com/spf13/cobra"
)
diff --git a/backend/plugins/gh-copilot/e2e/metrics_test.go b/backend/plugins/gh-copilot/e2e/metrics_test.go
index 2f339f9..4d0d1e4 100644
--- a/backend/plugins/gh-copilot/e2e/metrics_test.go
+++ b/backend/plugins/gh-copilot/e2e/metrics_test.go
@@ -21,14 +21,14 @@
"testing"
"time"
- "github.com/apache/incubator-devlake/core/config"
- "github.com/apache/incubator-devlake/core/models/common"
- "github.com/apache/incubator-devlake/core/runner"
- "github.com/apache/incubator-devlake/helpers/e2ehelper"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/gh-copilot/impl"
- "github.com/apache/incubator-devlake/plugins/gh-copilot/models"
- "github.com/apache/incubator-devlake/plugins/gh-copilot/tasks"
+ "github.com/apache/devlake/core/config"
+ "github.com/apache/devlake/core/models/common"
+ "github.com/apache/devlake/core/runner"
+ "github.com/apache/devlake/helpers/e2ehelper"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/gh-copilot/impl"
+ "github.com/apache/devlake/plugins/gh-copilot/models"
+ "github.com/apache/devlake/plugins/gh-copilot/tasks"
)
func TestCopilotMetricsDataFlow(t *testing.T) {
diff --git a/backend/plugins/gh-copilot/impl/impl.go b/backend/plugins/gh-copilot/impl/impl.go
index aefcd1b..3d82245 100644
--- a/backend/plugins/gh-copilot/impl/impl.go
+++ b/backend/plugins/gh-copilot/impl/impl.go
@@ -18,16 +18,16 @@
package impl
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- coreModels "github.com/apache/incubator-devlake/core/models"
- "github.com/apache/incubator-devlake/core/plugin"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/gh-copilot/api"
- "github.com/apache/incubator-devlake/plugins/gh-copilot/models"
- "github.com/apache/incubator-devlake/plugins/gh-copilot/models/migrationscripts"
- "github.com/apache/incubator-devlake/plugins/gh-copilot/tasks"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ coreModels "github.com/apache/devlake/core/models"
+ "github.com/apache/devlake/core/plugin"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/gh-copilot/api"
+ "github.com/apache/devlake/plugins/gh-copilot/models"
+ "github.com/apache/devlake/plugins/gh-copilot/models/migrationscripts"
+ "github.com/apache/devlake/plugins/gh-copilot/tasks"
)
var _ interface {
@@ -158,7 +158,7 @@
}
func (p GhCopilot) RootPkgPath() string {
- return "github.com/apache/incubator-devlake/plugins/gh-copilot"
+ return "github.com/apache/devlake/plugins/gh-copilot"
}
func (p GhCopilot) MigrationScripts() []plugin.MigrationScript {
diff --git a/backend/plugins/gh-copilot/impl/options.go b/backend/plugins/gh-copilot/impl/options.go
index 015196c..93f0545 100644
--- a/backend/plugins/gh-copilot/impl/options.go
+++ b/backend/plugins/gh-copilot/impl/options.go
@@ -17,7 +17,7 @@
package impl
-import "github.com/apache/incubator-devlake/plugins/gh-copilot/models"
+import "github.com/apache/devlake/plugins/gh-copilot/models"
// NormalizeConnection ensures required defaults are set before use.
func NormalizeConnection(connection *models.GhCopilotConnection) {
diff --git a/backend/plugins/gh-copilot/models/connection.go b/backend/plugins/gh-copilot/models/connection.go
index 676d06b..611afde 100644
--- a/backend/plugins/gh-copilot/models/connection.go
+++ b/backend/plugins/gh-copilot/models/connection.go
@@ -21,9 +21,9 @@
"net/http"
"strings"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/utils"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/utils"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
)
const (
diff --git a/backend/plugins/gh-copilot/models/enterprise_ai_credit_usage.go b/backend/plugins/gh-copilot/models/enterprise_ai_credit_usage.go
index c108140..2e283ea 100644
--- a/backend/plugins/gh-copilot/models/enterprise_ai_credit_usage.go
+++ b/backend/plugins/gh-copilot/models/enterprise_ai_credit_usage.go
@@ -18,7 +18,7 @@
package models
import (
- "github.com/apache/incubator-devlake/core/models/common"
+ "github.com/apache/devlake/core/models/common"
)
// GhCopilotEnterpriseAiCreditUsage tracks AI credit consumption at the enterprise level.
diff --git a/backend/plugins/gh-copilot/models/enterprise_metrics.go b/backend/plugins/gh-copilot/models/enterprise_metrics.go
index 967e3ec..8263b15 100644
--- a/backend/plugins/gh-copilot/models/enterprise_metrics.go
+++ b/backend/plugins/gh-copilot/models/enterprise_metrics.go
@@ -20,7 +20,7 @@
import (
"time"
- "github.com/apache/incubator-devlake/core/models/common"
+ "github.com/apache/devlake/core/models/common"
)
// CopilotActivityMetrics contains the common activity/LOC fields shared across all breakdown tables.
diff --git a/backend/plugins/gh-copilot/models/language_metrics.go b/backend/plugins/gh-copilot/models/language_metrics.go
index c183abd..cb0639c 100644
--- a/backend/plugins/gh-copilot/models/language_metrics.go
+++ b/backend/plugins/gh-copilot/models/language_metrics.go
@@ -20,7 +20,7 @@
import (
"time"
- "github.com/apache/incubator-devlake/core/models/common"
+ "github.com/apache/devlake/core/models/common"
)
// GhCopilotLanguageMetrics represents engagement statistics broken down by editor and language
diff --git a/backend/plugins/gh-copilot/models/migrationscripts/20250100_initialize.go b/backend/plugins/gh-copilot/models/migrationscripts/20250100_initialize.go
index 53dee4f..8564ca4 100644
--- a/backend/plugins/gh-copilot/models/migrationscripts/20250100_initialize.go
+++ b/backend/plugins/gh-copilot/models/migrationscripts/20250100_initialize.go
@@ -20,10 +20,10 @@
import (
"time"
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
- "github.com/apache/incubator-devlake/helpers/migrationhelper"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/helpers/migrationhelper"
)
// addCopilotInitialTables creates the initial Copilot tool-layer tables.
diff --git a/backend/plugins/gh-copilot/models/migrationscripts/20260104_add_raw_data_origin_to_language_metrics.go b/backend/plugins/gh-copilot/models/migrationscripts/20260104_add_raw_data_origin_to_language_metrics.go
index e5e98e1..03d8e56 100644
--- a/backend/plugins/gh-copilot/models/migrationscripts/20260104_add_raw_data_origin_to_language_metrics.go
+++ b/backend/plugins/gh-copilot/models/migrationscripts/20260104_add_raw_data_origin_to_language_metrics.go
@@ -20,10 +20,10 @@
import (
"time"
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
- "github.com/apache/incubator-devlake/helpers/migrationhelper"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/helpers/migrationhelper"
)
// addRawDataOriginToCopilotLanguageMetrics ensures _tool_copilot_language_metrics includes RawDataOrigin columns.
diff --git a/backend/plugins/gh-copilot/models/migrationscripts/20260105_add_raw_data_origin_to_seats.go b/backend/plugins/gh-copilot/models/migrationscripts/20260105_add_raw_data_origin_to_seats.go
index 2a92191..135b84b 100644
--- a/backend/plugins/gh-copilot/models/migrationscripts/20260105_add_raw_data_origin_to_seats.go
+++ b/backend/plugins/gh-copilot/models/migrationscripts/20260105_add_raw_data_origin_to_seats.go
@@ -20,10 +20,10 @@
import (
"time"
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
- "github.com/apache/incubator-devlake/helpers/migrationhelper"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/helpers/migrationhelper"
)
// addRawDataOriginToCopilotSeats ensures _tool_copilot_seats includes RawDataOrigin columns.
diff --git a/backend/plugins/gh-copilot/models/migrationscripts/20260116_add_name_fields_to_scopes.go b/backend/plugins/gh-copilot/models/migrationscripts/20260116_add_name_fields_to_scopes.go
index 69df2c0..471525e 100644
--- a/backend/plugins/gh-copilot/models/migrationscripts/20260116_add_name_fields_to_scopes.go
+++ b/backend/plugins/gh-copilot/models/migrationscripts/20260116_add_name_fields_to_scopes.go
@@ -20,10 +20,10 @@
import (
"time"
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
- "github.com/apache/incubator-devlake/helpers/migrationhelper"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/helpers/migrationhelper"
)
// addNameFieldsToScopes adds name and fullName columns to _tool_copilot_scopes.
diff --git a/backend/plugins/gh-copilot/models/migrationscripts/20260121_add_scope_configs.go b/backend/plugins/gh-copilot/models/migrationscripts/20260121_add_scope_configs.go
index 4bd7739..4369c48 100644
--- a/backend/plugins/gh-copilot/models/migrationscripts/20260121_add_scope_configs.go
+++ b/backend/plugins/gh-copilot/models/migrationscripts/20260121_add_scope_configs.go
@@ -20,10 +20,10 @@
import (
"time"
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
- "github.com/apache/incubator-devlake/helpers/migrationhelper"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/helpers/migrationhelper"
)
type addScopeConfig20260121 struct{}
diff --git a/backend/plugins/gh-copilot/models/migrationscripts/20260212_add_pr_fields_to_enterprise_metrics.go b/backend/plugins/gh-copilot/models/migrationscripts/20260212_add_pr_fields_to_enterprise_metrics.go
index 6da4166..661ed18 100644
--- a/backend/plugins/gh-copilot/models/migrationscripts/20260212_add_pr_fields_to_enterprise_metrics.go
+++ b/backend/plugins/gh-copilot/models/migrationscripts/20260212_add_pr_fields_to_enterprise_metrics.go
@@ -20,10 +20,10 @@
import (
"time"
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
- "github.com/apache/incubator-devlake/helpers/migrationhelper"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/helpers/migrationhelper"
)
type addPRFieldsToEnterpriseMetrics struct{}
diff --git a/backend/plugins/gh-copilot/models/migrationscripts/20260212_v2_usage_metrics.go b/backend/plugins/gh-copilot/models/migrationscripts/20260212_v2_usage_metrics.go
index 7ede2b6..461ab74 100644
--- a/backend/plugins/gh-copilot/models/migrationscripts/20260212_v2_usage_metrics.go
+++ b/backend/plugins/gh-copilot/models/migrationscripts/20260212_v2_usage_metrics.go
@@ -20,10 +20,10 @@
import (
"time"
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
- "github.com/apache/incubator-devlake/helpers/migrationhelper"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/helpers/migrationhelper"
)
type migrateToUsageMetricsV2 struct{}
diff --git a/backend/plugins/gh-copilot/models/migrationscripts/20260303_add_organization_id_to_user_metrics.go b/backend/plugins/gh-copilot/models/migrationscripts/20260303_add_organization_id_to_user_metrics.go
index d868be6..e98579f 100644
--- a/backend/plugins/gh-copilot/models/migrationscripts/20260303_add_organization_id_to_user_metrics.go
+++ b/backend/plugins/gh-copilot/models/migrationscripts/20260303_add_organization_id_to_user_metrics.go
@@ -18,9 +18,9 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
)
var _ plugin.MigrationScript = (*addOrganizationIdToUserMetrics)(nil)
diff --git a/backend/plugins/gh-copilot/models/migrationscripts/20260527_add_copilot_metrics_gaps.go b/backend/plugins/gh-copilot/models/migrationscripts/20260527_add_copilot_metrics_gaps.go
index f676b0e..61e37a9 100644
--- a/backend/plugins/gh-copilot/models/migrationscripts/20260527_add_copilot_metrics_gaps.go
+++ b/backend/plugins/gh-copilot/models/migrationscripts/20260527_add_copilot_metrics_gaps.go
@@ -20,10 +20,10 @@
import (
"time"
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
- "github.com/apache/incubator-devlake/helpers/migrationhelper"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/helpers/migrationhelper"
)
type addCopilotMetricsGaps struct{}
diff --git a/backend/plugins/gh-copilot/models/migrationscripts/20260708_add_ai_credit_usage_metrics.go b/backend/plugins/gh-copilot/models/migrationscripts/20260708_add_ai_credit_usage_metrics.go
index e968fb0..e569cea 100644
--- a/backend/plugins/gh-copilot/models/migrationscripts/20260708_add_ai_credit_usage_metrics.go
+++ b/backend/plugins/gh-copilot/models/migrationscripts/20260708_add_ai_credit_usage_metrics.go
@@ -20,10 +20,10 @@
import (
"time"
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
- "github.com/apache/incubator-devlake/helpers/migrationhelper"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/helpers/migrationhelper"
)
type addAiCreditUsageMetrics struct{}
diff --git a/backend/plugins/gh-copilot/models/migrationscripts/20260731_fix_ai_credit_usage_breakdown_columns.go b/backend/plugins/gh-copilot/models/migrationscripts/20260731_fix_ai_credit_usage_breakdown_columns.go
index 3365e96..dbe1703 100644
--- a/backend/plugins/gh-copilot/models/migrationscripts/20260731_fix_ai_credit_usage_breakdown_columns.go
+++ b/backend/plugins/gh-copilot/models/migrationscripts/20260731_fix_ai_credit_usage_breakdown_columns.go
@@ -18,10 +18,10 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
- "github.com/apache/incubator-devlake/helpers/migrationhelper"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/helpers/migrationhelper"
)
// The 20260708 migration embedded the credit-usage breakdown columns through an
diff --git a/backend/plugins/gh-copilot/models/migrationscripts/register.go b/backend/plugins/gh-copilot/models/migrationscripts/register.go
index 8f19026..ac4a797 100644
--- a/backend/plugins/gh-copilot/models/migrationscripts/register.go
+++ b/backend/plugins/gh-copilot/models/migrationscripts/register.go
@@ -17,7 +17,7 @@
package migrationscripts
-import "github.com/apache/incubator-devlake/core/plugin"
+import "github.com/apache/devlake/core/plugin"
// All returns the ordered list of migration scripts for the Copilot plugin.
func All() []plugin.MigrationScript {
diff --git a/backend/plugins/gh-copilot/models/models.go b/backend/plugins/gh-copilot/models/models.go
index 814e45f..7504c56 100644
--- a/backend/plugins/gh-copilot/models/models.go
+++ b/backend/plugins/gh-copilot/models/models.go
@@ -17,7 +17,7 @@
package models
-import "github.com/apache/incubator-devlake/core/dal"
+import "github.com/apache/devlake/core/dal"
// GetTablesInfo returns the list of tool-layer tables managed by the Copilot plugin.
func GetTablesInfo() []dal.Tabler {
diff --git a/backend/plugins/gh-copilot/models/org_ai_credit_usage.go b/backend/plugins/gh-copilot/models/org_ai_credit_usage.go
index 2e079f8..abe0ad4 100644
--- a/backend/plugins/gh-copilot/models/org_ai_credit_usage.go
+++ b/backend/plugins/gh-copilot/models/org_ai_credit_usage.go
@@ -18,7 +18,7 @@
package models
import (
- "github.com/apache/incubator-devlake/core/models/common"
+ "github.com/apache/devlake/core/models/common"
)
// GhCopilotOrgAiCreditUsage tracks AI credit consumption at the organization level.
diff --git a/backend/plugins/gh-copilot/models/org_metrics.go b/backend/plugins/gh-copilot/models/org_metrics.go
index 22401c8..68b0a03 100644
--- a/backend/plugins/gh-copilot/models/org_metrics.go
+++ b/backend/plugins/gh-copilot/models/org_metrics.go
@@ -20,7 +20,7 @@
import (
"time"
- "github.com/apache/incubator-devlake/core/models/common"
+ "github.com/apache/devlake/core/models/common"
)
// GhCopilotOrgMetrics captures daily organization-level Copilot adoption metrics
diff --git a/backend/plugins/gh-copilot/models/scope.go b/backend/plugins/gh-copilot/models/scope.go
index 426f301..a049f09 100644
--- a/backend/plugins/gh-copilot/models/scope.go
+++ b/backend/plugins/gh-copilot/models/scope.go
@@ -21,8 +21,8 @@
"strings"
"time"
- "github.com/apache/incubator-devlake/core/models/common"
- "github.com/apache/incubator-devlake/core/plugin"
+ "github.com/apache/devlake/core/models/common"
+ "github.com/apache/devlake/core/plugin"
"gorm.io/gorm"
)
diff --git a/backend/plugins/gh-copilot/models/scope_config.go b/backend/plugins/gh-copilot/models/scope_config.go
index 2618b87..8cea669 100644
--- a/backend/plugins/gh-copilot/models/scope_config.go
+++ b/backend/plugins/gh-copilot/models/scope_config.go
@@ -20,8 +20,8 @@
import (
"time"
- "github.com/apache/incubator-devlake/core/models/common"
- "github.com/apache/incubator-devlake/core/plugin"
+ "github.com/apache/devlake/core/models/common"
+ "github.com/apache/devlake/core/plugin"
"gorm.io/gorm"
)
diff --git a/backend/plugins/gh-copilot/models/seat.go b/backend/plugins/gh-copilot/models/seat.go
index d65c80f..5db1760 100644
--- a/backend/plugins/gh-copilot/models/seat.go
+++ b/backend/plugins/gh-copilot/models/seat.go
@@ -20,7 +20,7 @@
import (
"time"
- "github.com/apache/incubator-devlake/core/models/common"
+ "github.com/apache/devlake/core/models/common"
)
// GhCopilotSeat represents a seat assignment snapshot for Copilot.
diff --git a/backend/plugins/gh-copilot/models/user_ai_credit_usage.go b/backend/plugins/gh-copilot/models/user_ai_credit_usage.go
index cb1ef2a..e861ca9 100644
--- a/backend/plugins/gh-copilot/models/user_ai_credit_usage.go
+++ b/backend/plugins/gh-copilot/models/user_ai_credit_usage.go
@@ -18,7 +18,7 @@
package models
import (
- "github.com/apache/incubator-devlake/core/models/common"
+ "github.com/apache/devlake/core/models/common"
)
// GhCopilotUserAiCreditUsage tracks AI credit consumption at the individual user level.
diff --git a/backend/plugins/gh-copilot/models/user_metrics.go b/backend/plugins/gh-copilot/models/user_metrics.go
index 0a16b3b..9e277f8 100644
--- a/backend/plugins/gh-copilot/models/user_metrics.go
+++ b/backend/plugins/gh-copilot/models/user_metrics.go
@@ -20,7 +20,7 @@
import (
"time"
- "github.com/apache/incubator-devlake/core/models/common"
+ "github.com/apache/devlake/core/models/common"
)
// GhCopilotUserDailyMetrics captures per-user daily Copilot usage metrics from enterprise reports.
diff --git a/backend/plugins/gh-copilot/models/user_team.go b/backend/plugins/gh-copilot/models/user_team.go
index d04d55a..8e38817 100644
--- a/backend/plugins/gh-copilot/models/user_team.go
+++ b/backend/plugins/gh-copilot/models/user_team.go
@@ -20,7 +20,7 @@
import (
"time"
- "github.com/apache/incubator-devlake/core/models/common"
+ "github.com/apache/devlake/core/models/common"
)
// GhCopilotUserTeam maps users to teams per day from the user-teams-1-day report.
diff --git a/backend/plugins/gh-copilot/service/connection_test_helper.go b/backend/plugins/gh-copilot/service/connection_test_helper.go
index 8891476..5361032 100644
--- a/backend/plugins/gh-copilot/service/connection_test_helper.go
+++ b/backend/plugins/gh-copilot/service/connection_test_helper.go
@@ -27,10 +27,10 @@
"strings"
"time"
- corectx "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/gh-copilot/models"
+ corectx "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/gh-copilot/models"
)
// TestConnectionResult represents the payload returned by the connection test endpoints.
diff --git a/backend/plugins/gh-copilot/tasks/ai_credit_collector.go b/backend/plugins/gh-copilot/tasks/ai_credit_collector.go
index f9dd4d7..b4b21ce 100644
--- a/backend/plugins/gh-copilot/tasks/ai_credit_collector.go
+++ b/backend/plugins/gh-copilot/tasks/ai_credit_collector.go
@@ -25,9 +25,9 @@
"strconv"
"time"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
)
const rawAiCreditUsageTable = "copilot_ai_credit_usage"
diff --git a/backend/plugins/gh-copilot/tasks/ai_credit_extractor.go b/backend/plugins/gh-copilot/tasks/ai_credit_extractor.go
index 7d372db..8fb75f2 100644
--- a/backend/plugins/gh-copilot/tasks/ai_credit_extractor.go
+++ b/backend/plugins/gh-copilot/tasks/ai_credit_extractor.go
@@ -21,10 +21,10 @@
"encoding/json"
"time"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/gh-copilot/models"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/gh-copilot/models"
)
// aiCreditUsageRecord represents a single usage item from the AI credit usage API.
diff --git a/backend/plugins/gh-copilot/tasks/api_client.go b/backend/plugins/gh-copilot/tasks/api_client.go
index 1a58eb6..b34a456 100644
--- a/backend/plugins/gh-copilot/tasks/api_client.go
+++ b/backend/plugins/gh-copilot/tasks/api_client.go
@@ -21,11 +21,11 @@
"net/http"
"time"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/log"
- "github.com/apache/incubator-devlake/core/plugin"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/gh-copilot/models"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/log"
+ "github.com/apache/devlake/core/plugin"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/gh-copilot/models"
)
const gitHubApiVersion = "2026-03-10"
diff --git a/backend/plugins/gh-copilot/tasks/api_client_test.go b/backend/plugins/gh-copilot/tasks/api_client_test.go
index 51485ad..172218c 100644
--- a/backend/plugins/gh-copilot/tasks/api_client_test.go
+++ b/backend/plugins/gh-copilot/tasks/api_client_test.go
@@ -23,7 +23,7 @@
"testing"
"time"
- "github.com/apache/incubator-devlake/core/log"
+ "github.com/apache/devlake/core/log"
"github.com/stretchr/testify/require"
)
diff --git a/backend/plugins/gh-copilot/tasks/enterprise_metrics_collector.go b/backend/plugins/gh-copilot/tasks/enterprise_metrics_collector.go
index e153d59..be460d5 100644
--- a/backend/plugins/gh-copilot/tasks/enterprise_metrics_collector.go
+++ b/backend/plugins/gh-copilot/tasks/enterprise_metrics_collector.go
@@ -23,9 +23,9 @@
"net/url"
"time"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
)
const rawEnterpriseMetricsTable = "copilot_enterprise_metrics"
diff --git a/backend/plugins/gh-copilot/tasks/enterprise_metrics_extractor.go b/backend/plugins/gh-copilot/tasks/enterprise_metrics_extractor.go
index e98a3c4..bf01ae6 100644
--- a/backend/plugins/gh-copilot/tasks/enterprise_metrics_extractor.go
+++ b/backend/plugins/gh-copilot/tasks/enterprise_metrics_extractor.go
@@ -21,10 +21,10 @@
"encoding/json"
"time"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/gh-copilot/models"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/gh-copilot/models"
)
// --- Enterprise report JSON structures ---
diff --git a/backend/plugins/gh-copilot/tasks/github_errors.go b/backend/plugins/gh-copilot/tasks/github_errors.go
index 2280013..e11d2b7 100644
--- a/backend/plugins/gh-copilot/tasks/github_errors.go
+++ b/backend/plugins/gh-copilot/tasks/github_errors.go
@@ -23,7 +23,7 @@
"net/http"
"strings"
- "github.com/apache/incubator-devlake/core/errors"
+ "github.com/apache/devlake/core/errors"
)
type githubErrorPayload struct {
diff --git a/backend/plugins/gh-copilot/tasks/metrics_collector_test.go b/backend/plugins/gh-copilot/tasks/metrics_collector_test.go
index 88214af..5d478cd 100644
--- a/backend/plugins/gh-copilot/tasks/metrics_collector_test.go
+++ b/backend/plugins/gh-copilot/tasks/metrics_collector_test.go
@@ -22,7 +22,7 @@
"testing"
"time"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
"github.com/stretchr/testify/require"
)
diff --git a/backend/plugins/gh-copilot/tasks/metrics_extractor.go b/backend/plugins/gh-copilot/tasks/metrics_extractor.go
index d89eaba..4dcc82e 100644
--- a/backend/plugins/gh-copilot/tasks/metrics_extractor.go
+++ b/backend/plugins/gh-copilot/tasks/metrics_extractor.go
@@ -21,10 +21,10 @@
"encoding/json"
"time"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/gh-copilot/models"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/gh-copilot/models"
)
// Seat response structs (used by seat_extractor.go)
diff --git a/backend/plugins/gh-copilot/tasks/org_metrics_collector.go b/backend/plugins/gh-copilot/tasks/org_metrics_collector.go
index c75ce7b..59883a3 100644
--- a/backend/plugins/gh-copilot/tasks/org_metrics_collector.go
+++ b/backend/plugins/gh-copilot/tasks/org_metrics_collector.go
@@ -24,9 +24,9 @@
"net/url"
"time"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
)
const rawOrgMetricsTable = "copilot_org_metrics"
diff --git a/backend/plugins/gh-copilot/tasks/register.go b/backend/plugins/gh-copilot/tasks/register.go
index 23d5923..bfd3ac3 100644
--- a/backend/plugins/gh-copilot/tasks/register.go
+++ b/backend/plugins/gh-copilot/tasks/register.go
@@ -17,7 +17,7 @@
package tasks
-import "github.com/apache/incubator-devlake/core/plugin"
+import "github.com/apache/devlake/core/plugin"
// GetSubTaskMetas returns the ordered list of Copilot subtasks.
func GetSubTaskMetas() []plugin.SubTaskMeta {
diff --git a/backend/plugins/gh-copilot/tasks/report_download_helper.go b/backend/plugins/gh-copilot/tasks/report_download_helper.go
index 280e418..9d3f288 100644
--- a/backend/plugins/gh-copilot/tasks/report_download_helper.go
+++ b/backend/plugins/gh-copilot/tasks/report_download_helper.go
@@ -25,9 +25,9 @@
"net/http"
"time"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/log"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/log"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
)
// reportMaxDays is the maximum historical window the new report API supports (1 year).
diff --git a/backend/plugins/gh-copilot/tasks/seat_collector.go b/backend/plugins/gh-copilot/tasks/seat_collector.go
index 546a0e3..fba5341 100644
--- a/backend/plugins/gh-copilot/tasks/seat_collector.go
+++ b/backend/plugins/gh-copilot/tasks/seat_collector.go
@@ -24,9 +24,9 @@
"net/http"
"net/url"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
)
const rawCopilotSeatsTable = "copilot_seats"
diff --git a/backend/plugins/gh-copilot/tasks/seat_extractor.go b/backend/plugins/gh-copilot/tasks/seat_extractor.go
index 1a1b6b1..679cb3d 100644
--- a/backend/plugins/gh-copilot/tasks/seat_extractor.go
+++ b/backend/plugins/gh-copilot/tasks/seat_extractor.go
@@ -21,10 +21,10 @@
"encoding/json"
"time"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/gh-copilot/models"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/gh-copilot/models"
)
// ExtractSeats parses raw seat assignment data into the GhCopilotSeat tool-layer model.
diff --git a/backend/plugins/gh-copilot/tasks/subtasks.go b/backend/plugins/gh-copilot/tasks/subtasks.go
index 6925528..50fdf05 100644
--- a/backend/plugins/gh-copilot/tasks/subtasks.go
+++ b/backend/plugins/gh-copilot/tasks/subtasks.go
@@ -18,7 +18,7 @@
package tasks
import (
- "github.com/apache/incubator-devlake/core/plugin"
+ "github.com/apache/devlake/core/plugin"
)
var CollectOrgMetricsMeta = plugin.SubTaskMeta{
diff --git a/backend/plugins/gh-copilot/tasks/task_data.go b/backend/plugins/gh-copilot/tasks/task_data.go
index 59b92fe..d6726b5 100644
--- a/backend/plugins/gh-copilot/tasks/task_data.go
+++ b/backend/plugins/gh-copilot/tasks/task_data.go
@@ -17,7 +17,7 @@
package tasks
-import "github.com/apache/incubator-devlake/plugins/gh-copilot/models"
+import "github.com/apache/devlake/plugins/gh-copilot/models"
// GhCopilotTaskData stores runtime dependencies for subtasks.
type GhCopilotTaskData struct {
diff --git a/backend/plugins/gh-copilot/tasks/user_metrics_collector.go b/backend/plugins/gh-copilot/tasks/user_metrics_collector.go
index d24db69..28ceed1 100644
--- a/backend/plugins/gh-copilot/tasks/user_metrics_collector.go
+++ b/backend/plugins/gh-copilot/tasks/user_metrics_collector.go
@@ -24,10 +24,10 @@
"net/url"
"time"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/log"
- "github.com/apache/incubator-devlake/core/plugin"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/log"
+ "github.com/apache/devlake/core/plugin"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
)
const rawUserMetricsTable = "copilot_user_metrics"
diff --git a/backend/plugins/gh-copilot/tasks/user_metrics_extractor.go b/backend/plugins/gh-copilot/tasks/user_metrics_extractor.go
index 7671fab..a4f1550 100644
--- a/backend/plugins/gh-copilot/tasks/user_metrics_extractor.go
+++ b/backend/plugins/gh-copilot/tasks/user_metrics_extractor.go
@@ -21,10 +21,10 @@
"encoding/json"
"time"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/gh-copilot/models"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/gh-copilot/models"
)
// --- User report JSONL structures (one line per user) ---
diff --git a/backend/plugins/gh-copilot/tasks/user_teams_collector.go b/backend/plugins/gh-copilot/tasks/user_teams_collector.go
index dc3287e..669fa52 100644
--- a/backend/plugins/gh-copilot/tasks/user_teams_collector.go
+++ b/backend/plugins/gh-copilot/tasks/user_teams_collector.go
@@ -24,9 +24,9 @@
"net/url"
"time"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
)
const rawUserTeamsTable = "copilot_user_teams"
diff --git a/backend/plugins/gh-copilot/tasks/user_teams_extractor.go b/backend/plugins/gh-copilot/tasks/user_teams_extractor.go
index 72a3de8..e67ba3f 100644
--- a/backend/plugins/gh-copilot/tasks/user_teams_extractor.go
+++ b/backend/plugins/gh-copilot/tasks/user_teams_extractor.go
@@ -21,10 +21,10 @@
"encoding/json"
"time"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/gh-copilot/models"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/gh-copilot/models"
)
// userTeamRecord represents a single line from the user-teams-1-day JSONL report.
diff --git a/backend/plugins/gitee/api/connection.go b/backend/plugins/gitee/api/connection.go
index 4677aa6..aa8857f 100644
--- a/backend/plugins/gitee/api/connection.go
+++ b/backend/plugins/gitee/api/connection.go
@@ -21,12 +21,12 @@
"context"
"net/http"
- "github.com/apache/incubator-devlake/server/api/shared"
+ "github.com/apache/devlake/server/api/shared"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/gitee/models"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/gitee/models"
)
type GiteeTestConnResponse struct {
diff --git a/backend/plugins/gitee/api/init.go b/backend/plugins/gitee/api/init.go
index 1da6ff4..7fa3654 100644
--- a/backend/plugins/gitee/api/init.go
+++ b/backend/plugins/gitee/api/init.go
@@ -18,9 +18,9 @@
package api
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
"github.com/go-playground/validator/v10"
)
diff --git a/backend/plugins/gitee/gitee.go b/backend/plugins/gitee/gitee.go
index 0607340..59b671f 100644
--- a/backend/plugins/gitee/gitee.go
+++ b/backend/plugins/gitee/gitee.go
@@ -18,8 +18,8 @@
package main
import (
- "github.com/apache/incubator-devlake/core/runner"
- "github.com/apache/incubator-devlake/plugins/gitee/impl"
+ "github.com/apache/devlake/core/runner"
+ "github.com/apache/devlake/plugins/gitee/impl"
"github.com/spf13/cobra"
)
diff --git a/backend/plugins/gitee/impl/impl.go b/backend/plugins/gitee/impl/impl.go
index b31ec5b..079d719 100644
--- a/backend/plugins/gitee/impl/impl.go
+++ b/backend/plugins/gitee/impl/impl.go
@@ -20,15 +20,15 @@
import (
"fmt"
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/gitee/api"
- "github.com/apache/incubator-devlake/plugins/gitee/models"
- "github.com/apache/incubator-devlake/plugins/gitee/models/migrationscripts"
- "github.com/apache/incubator-devlake/plugins/gitee/tasks"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/gitee/api"
+ "github.com/apache/devlake/plugins/gitee/models"
+ "github.com/apache/devlake/plugins/gitee/models/migrationscripts"
+ "github.com/apache/devlake/plugins/gitee/tasks"
)
var _ interface {
@@ -175,7 +175,7 @@
}
func (p Gitee) RootPkgPath() string {
- return "github.com/apache/incubator-devlake/plugins/gitee"
+ return "github.com/apache/devlake/plugins/gitee"
}
func (p Gitee) MigrationScripts() []plugin.MigrationScript {
diff --git a/backend/plugins/gitee/models/account.go b/backend/plugins/gitee/models/account.go
index 900871c..ea2046b 100644
--- a/backend/plugins/gitee/models/account.go
+++ b/backend/plugins/gitee/models/account.go
@@ -18,7 +18,7 @@
package models
import (
- "github.com/apache/incubator-devlake/core/models/common"
+ "github.com/apache/devlake/core/models/common"
)
type GiteeAccount struct {
diff --git a/backend/plugins/gitee/models/commit.go b/backend/plugins/gitee/models/commit.go
index b86fbd0..153e025 100644
--- a/backend/plugins/gitee/models/commit.go
+++ b/backend/plugins/gitee/models/commit.go
@@ -18,7 +18,7 @@
package models
import (
- "github.com/apache/incubator-devlake/core/models/common"
+ "github.com/apache/devlake/core/models/common"
"time"
)
diff --git a/backend/plugins/gitee/models/commit_stats.go b/backend/plugins/gitee/models/commit_stats.go
index 99a915c..536cdc8 100644
--- a/backend/plugins/gitee/models/commit_stats.go
+++ b/backend/plugins/gitee/models/commit_stats.go
@@ -18,7 +18,7 @@
package models
import (
- "github.com/apache/incubator-devlake/core/models/common"
+ "github.com/apache/devlake/core/models/common"
"time"
)
diff --git a/backend/plugins/gitee/models/connection.go b/backend/plugins/gitee/models/connection.go
index b868784..30cab76 100644
--- a/backend/plugins/gitee/models/connection.go
+++ b/backend/plugins/gitee/models/connection.go
@@ -18,11 +18,11 @@
package models
import (
- "github.com/apache/incubator-devlake/core/utils"
+ "github.com/apache/devlake/core/utils"
"net/http"
- "github.com/apache/incubator-devlake/core/errors"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/core/errors"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
)
type GiteeAccessToken helper.AccessToken
diff --git a/backend/plugins/gitee/models/issue.go b/backend/plugins/gitee/models/issue.go
index 60211dc..44a493a 100644
--- a/backend/plugins/gitee/models/issue.go
+++ b/backend/plugins/gitee/models/issue.go
@@ -20,7 +20,7 @@
import (
"time"
- "github.com/apache/incubator-devlake/core/models/common"
+ "github.com/apache/devlake/core/models/common"
)
type GiteeIssue struct {
diff --git a/backend/plugins/gitee/models/issue_comment.go b/backend/plugins/gitee/models/issue_comment.go
index 06ff093..630dd6e 100644
--- a/backend/plugins/gitee/models/issue_comment.go
+++ b/backend/plugins/gitee/models/issue_comment.go
@@ -18,7 +18,7 @@
package models
import (
- "github.com/apache/incubator-devlake/core/models/common"
+ "github.com/apache/devlake/core/models/common"
"time"
)
diff --git a/backend/plugins/gitee/models/issue_label.go b/backend/plugins/gitee/models/issue_label.go
index a2cd6e5..3b3a512 100644
--- a/backend/plugins/gitee/models/issue_label.go
+++ b/backend/plugins/gitee/models/issue_label.go
@@ -18,7 +18,7 @@
package models
import (
- "github.com/apache/incubator-devlake/core/models/common"
+ "github.com/apache/devlake/core/models/common"
)
// Please note that Issue Labels can also apply to Pull Requests.
diff --git a/backend/plugins/gitee/models/migrationscripts/20220714_add_init_tables.go b/backend/plugins/gitee/models/migrationscripts/20220714_add_init_tables.go
index a5299d6..d61bd95 100644
--- a/backend/plugins/gitee/models/migrationscripts/20220714_add_init_tables.go
+++ b/backend/plugins/gitee/models/migrationscripts/20220714_add_init_tables.go
@@ -18,11 +18,11 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/migrationhelper"
- "github.com/apache/incubator-devlake/plugins/gitee/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/migrationhelper"
+ "github.com/apache/devlake/plugins/gitee/models/migrationscripts/archived"
"strconv"
)
diff --git a/backend/plugins/gitee/models/migrationscripts/20230420_add_commit_author_info_in_pr_commits.go b/backend/plugins/gitee/models/migrationscripts/20230420_add_commit_author_info_in_pr_commits.go
index 42fa84e..013a4a2 100644
--- a/backend/plugins/gitee/models/migrationscripts/20230420_add_commit_author_info_in_pr_commits.go
+++ b/backend/plugins/gitee/models/migrationscripts/20230420_add_commit_author_info_in_pr_commits.go
@@ -20,10 +20,10 @@
import (
"time"
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/migrationhelper"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/migrationhelper"
)
var _ plugin.MigrationScript = (*addGiteeCommitAuthorInfo)(nil)
diff --git a/backend/plugins/gitee/models/migrationscripts/20230922_add_scope_config_id.go b/backend/plugins/gitee/models/migrationscripts/20230922_add_scope_config_id.go
index 1b7a8db..3b0d446 100644
--- a/backend/plugins/gitee/models/migrationscripts/20230922_add_scope_config_id.go
+++ b/backend/plugins/gitee/models/migrationscripts/20230922_add_scope_config_id.go
@@ -18,10 +18,10 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/migrationhelper"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/migrationhelper"
)
var _ plugin.MigrationScript = (*addScopeConfigIdToRepo)(nil)
diff --git a/backend/plugins/gitee/models/migrationscripts/20240813_change_issue_component_type.go b/backend/plugins/gitee/models/migrationscripts/20240813_change_issue_component_type.go
index 47eb0a1..8655b0a 100644
--- a/backend/plugins/gitee/models/migrationscripts/20240813_change_issue_component_type.go
+++ b/backend/plugins/gitee/models/migrationscripts/20240813_change_issue_component_type.go
@@ -18,9 +18,9 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
)
var _ plugin.MigrationScript = (*changeIssueComponentType)(nil)
diff --git a/backend/plugins/gitee/models/migrationscripts/archived/account.go b/backend/plugins/gitee/models/migrationscripts/archived/account.go
index 181d9d8..82a6322 100644
--- a/backend/plugins/gitee/models/migrationscripts/archived/account.go
+++ b/backend/plugins/gitee/models/migrationscripts/archived/account.go
@@ -18,7 +18,7 @@
package archived
import (
- "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/models/migrationscripts/archived"
)
type GiteeAccount struct {
diff --git a/backend/plugins/gitee/models/migrationscripts/archived/commit.go b/backend/plugins/gitee/models/migrationscripts/archived/commit.go
index 4802212..5ab16d8 100644
--- a/backend/plugins/gitee/models/migrationscripts/archived/commit.go
+++ b/backend/plugins/gitee/models/migrationscripts/archived/commit.go
@@ -18,7 +18,7 @@
package archived
import (
- "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/models/migrationscripts/archived"
"time"
)
diff --git a/backend/plugins/gitee/models/migrationscripts/archived/commit_stat.go b/backend/plugins/gitee/models/migrationscripts/archived/commit_stat.go
index fa16794..cd5e6f0 100644
--- a/backend/plugins/gitee/models/migrationscripts/archived/commit_stat.go
+++ b/backend/plugins/gitee/models/migrationscripts/archived/commit_stat.go
@@ -18,7 +18,7 @@
package archived
import (
- "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/models/migrationscripts/archived"
"time"
)
diff --git a/backend/plugins/gitee/models/migrationscripts/archived/connection.go b/backend/plugins/gitee/models/migrationscripts/archived/connection.go
index 14370ed..8ba9876 100644
--- a/backend/plugins/gitee/models/migrationscripts/archived/connection.go
+++ b/backend/plugins/gitee/models/migrationscripts/archived/connection.go
@@ -18,7 +18,7 @@
package archived
import (
- "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/models/migrationscripts/archived"
)
type GiteeConnection struct {
diff --git a/backend/plugins/gitee/models/migrationscripts/archived/issue.go b/backend/plugins/gitee/models/migrationscripts/archived/issue.go
index 9a41368..57ad1c4 100644
--- a/backend/plugins/gitee/models/migrationscripts/archived/issue.go
+++ b/backend/plugins/gitee/models/migrationscripts/archived/issue.go
@@ -18,7 +18,7 @@
package archived
import (
- "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/models/migrationscripts/archived"
"time"
)
diff --git a/backend/plugins/gitee/models/migrationscripts/archived/issue_comment.go b/backend/plugins/gitee/models/migrationscripts/archived/issue_comment.go
index 37a3d16..174a25e 100644
--- a/backend/plugins/gitee/models/migrationscripts/archived/issue_comment.go
+++ b/backend/plugins/gitee/models/migrationscripts/archived/issue_comment.go
@@ -18,7 +18,7 @@
package archived
import (
- "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/models/migrationscripts/archived"
"time"
)
diff --git a/backend/plugins/gitee/models/migrationscripts/archived/issue_label.go b/backend/plugins/gitee/models/migrationscripts/archived/issue_label.go
index d0c825c..b637a46 100644
--- a/backend/plugins/gitee/models/migrationscripts/archived/issue_label.go
+++ b/backend/plugins/gitee/models/migrationscripts/archived/issue_label.go
@@ -18,7 +18,7 @@
package archived
import (
- "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/models/migrationscripts/archived"
)
// Please note that Issue Labels can also apply to Pull Requests.
diff --git a/backend/plugins/gitee/models/migrationscripts/archived/pull_request.go b/backend/plugins/gitee/models/migrationscripts/archived/pull_request.go
index 075ce70..27eda26 100644
--- a/backend/plugins/gitee/models/migrationscripts/archived/pull_request.go
+++ b/backend/plugins/gitee/models/migrationscripts/archived/pull_request.go
@@ -18,7 +18,7 @@
package archived
import (
- "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/models/migrationscripts/archived"
"time"
)
diff --git a/backend/plugins/gitee/models/migrationscripts/archived/pull_request_comment.go b/backend/plugins/gitee/models/migrationscripts/archived/pull_request_comment.go
index da51148..34c1321 100644
--- a/backend/plugins/gitee/models/migrationscripts/archived/pull_request_comment.go
+++ b/backend/plugins/gitee/models/migrationscripts/archived/pull_request_comment.go
@@ -18,7 +18,7 @@
package archived
import (
- "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/models/migrationscripts/archived"
"time"
)
diff --git a/backend/plugins/gitee/models/migrationscripts/archived/pull_request_commit.go b/backend/plugins/gitee/models/migrationscripts/archived/pull_request_commit.go
index efc29b7..e461762 100644
--- a/backend/plugins/gitee/models/migrationscripts/archived/pull_request_commit.go
+++ b/backend/plugins/gitee/models/migrationscripts/archived/pull_request_commit.go
@@ -18,7 +18,7 @@
package archived
import (
- "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/models/migrationscripts/archived"
)
type GiteePullRequestCommit struct {
diff --git a/backend/plugins/gitee/models/migrationscripts/archived/pull_request_issue.go b/backend/plugins/gitee/models/migrationscripts/archived/pull_request_issue.go
index c3104b8..e856ebf 100644
--- a/backend/plugins/gitee/models/migrationscripts/archived/pull_request_issue.go
+++ b/backend/plugins/gitee/models/migrationscripts/archived/pull_request_issue.go
@@ -18,7 +18,7 @@
package archived
import (
- "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/models/migrationscripts/archived"
)
type GiteePullRequestIssue struct {
diff --git a/backend/plugins/gitee/models/migrationscripts/archived/pull_request_label.go b/backend/plugins/gitee/models/migrationscripts/archived/pull_request_label.go
index c083b2b..549e149 100644
--- a/backend/plugins/gitee/models/migrationscripts/archived/pull_request_label.go
+++ b/backend/plugins/gitee/models/migrationscripts/archived/pull_request_label.go
@@ -18,7 +18,7 @@
package archived
import (
- "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/models/migrationscripts/archived"
)
type GiteePullRequestLabel struct {
diff --git a/backend/plugins/gitee/models/migrationscripts/archived/repo.go b/backend/plugins/gitee/models/migrationscripts/archived/repo.go
index 0da0ab8..369179b 100644
--- a/backend/plugins/gitee/models/migrationscripts/archived/repo.go
+++ b/backend/plugins/gitee/models/migrationscripts/archived/repo.go
@@ -18,7 +18,7 @@
package archived
import (
- "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/models/migrationscripts/archived"
"time"
)
diff --git a/backend/plugins/gitee/models/migrationscripts/archived/repo_commit.go b/backend/plugins/gitee/models/migrationscripts/archived/repo_commit.go
index 5f4bcbc..63e5fd4 100644
--- a/backend/plugins/gitee/models/migrationscripts/archived/repo_commit.go
+++ b/backend/plugins/gitee/models/migrationscripts/archived/repo_commit.go
@@ -18,7 +18,7 @@
package archived
import (
- "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/models/migrationscripts/archived"
)
type GiteeRepoCommit struct {
diff --git a/backend/plugins/gitee/models/migrationscripts/archived/reviewer.go b/backend/plugins/gitee/models/migrationscripts/archived/reviewer.go
index 49513b9..4f85d7d 100644
--- a/backend/plugins/gitee/models/migrationscripts/archived/reviewer.go
+++ b/backend/plugins/gitee/models/migrationscripts/archived/reviewer.go
@@ -18,7 +18,7 @@
package archived
import (
- "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/models/migrationscripts/archived"
)
type GiteeReviewer struct {
diff --git a/backend/plugins/gitee/models/migrationscripts/register.go b/backend/plugins/gitee/models/migrationscripts/register.go
index e089a9b..9bd9fd6 100644
--- a/backend/plugins/gitee/models/migrationscripts/register.go
+++ b/backend/plugins/gitee/models/migrationscripts/register.go
@@ -18,7 +18,7 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/plugin"
+ "github.com/apache/devlake/core/plugin"
)
// All return all the migration scripts
diff --git a/backend/plugins/gitee/models/pull_request.go b/backend/plugins/gitee/models/pull_request.go
index c46e0f8..65fb113 100644
--- a/backend/plugins/gitee/models/pull_request.go
+++ b/backend/plugins/gitee/models/pull_request.go
@@ -18,7 +18,7 @@
package models
import (
- "github.com/apache/incubator-devlake/core/models/common"
+ "github.com/apache/devlake/core/models/common"
"time"
)
diff --git a/backend/plugins/gitee/models/pull_request_comment.go b/backend/plugins/gitee/models/pull_request_comment.go
index e52806e..7d7d350 100644
--- a/backend/plugins/gitee/models/pull_request_comment.go
+++ b/backend/plugins/gitee/models/pull_request_comment.go
@@ -18,7 +18,7 @@
package models
import (
- "github.com/apache/incubator-devlake/core/models/common"
+ "github.com/apache/devlake/core/models/common"
"time"
)
diff --git a/backend/plugins/gitee/models/pull_request_commit.go b/backend/plugins/gitee/models/pull_request_commit.go
index 2ea46e4..58ab2d6 100644
--- a/backend/plugins/gitee/models/pull_request_commit.go
+++ b/backend/plugins/gitee/models/pull_request_commit.go
@@ -18,7 +18,7 @@
package models
import (
- "github.com/apache/incubator-devlake/core/models/common"
+ "github.com/apache/devlake/core/models/common"
"time"
)
diff --git a/backend/plugins/gitee/models/pull_request_issue.go b/backend/plugins/gitee/models/pull_request_issue.go
index 36e28f7..058f18c 100644
--- a/backend/plugins/gitee/models/pull_request_issue.go
+++ b/backend/plugins/gitee/models/pull_request_issue.go
@@ -18,7 +18,7 @@
package models
import (
- "github.com/apache/incubator-devlake/core/models/common"
+ "github.com/apache/devlake/core/models/common"
)
type GiteePullRequestIssue struct {
diff --git a/backend/plugins/gitee/models/pull_request_label.go b/backend/plugins/gitee/models/pull_request_label.go
index 973e7f0..fe8cac5 100644
--- a/backend/plugins/gitee/models/pull_request_label.go
+++ b/backend/plugins/gitee/models/pull_request_label.go
@@ -18,7 +18,7 @@
package models
import (
- "github.com/apache/incubator-devlake/core/models/common"
+ "github.com/apache/devlake/core/models/common"
)
type GiteePullRequestLabel struct {
diff --git a/backend/plugins/gitee/models/repo.go b/backend/plugins/gitee/models/repo.go
index 1229567..218d7b9 100644
--- a/backend/plugins/gitee/models/repo.go
+++ b/backend/plugins/gitee/models/repo.go
@@ -22,8 +22,8 @@
"strconv"
"time"
- "github.com/apache/incubator-devlake/core/models/common"
- "github.com/apache/incubator-devlake/core/plugin"
+ "github.com/apache/devlake/core/models/common"
+ "github.com/apache/devlake/core/plugin"
)
var _ plugin.ToolLayerScope = (*GiteeRepo)(nil)
diff --git a/backend/plugins/gitee/models/repo_commit.go b/backend/plugins/gitee/models/repo_commit.go
index 1938776..e594cef 100644
--- a/backend/plugins/gitee/models/repo_commit.go
+++ b/backend/plugins/gitee/models/repo_commit.go
@@ -18,7 +18,7 @@
package models
import (
- "github.com/apache/incubator-devlake/core/models/common"
+ "github.com/apache/devlake/core/models/common"
)
type GiteeRepoCommit struct {
diff --git a/backend/plugins/gitee/models/reviewer.go b/backend/plugins/gitee/models/reviewer.go
index b5caaf1..9926a37 100644
--- a/backend/plugins/gitee/models/reviewer.go
+++ b/backend/plugins/gitee/models/reviewer.go
@@ -18,7 +18,7 @@
package models
import (
- "github.com/apache/incubator-devlake/core/models/common"
+ "github.com/apache/devlake/core/models/common"
)
type GiteeReviewer struct {
diff --git a/backend/plugins/gitee/tasks/account_convertor.go b/backend/plugins/gitee/tasks/account_convertor.go
index 14e47f0..3645c2c 100644
--- a/backend/plugins/gitee/tasks/account_convertor.go
+++ b/backend/plugins/gitee/tasks/account_convertor.go
@@ -18,14 +18,14 @@
package tasks
import (
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/domainlayer"
- "github.com/apache/incubator-devlake/core/models/domainlayer/crossdomain"
- "github.com/apache/incubator-devlake/core/models/domainlayer/didgen"
- "github.com/apache/incubator-devlake/core/plugin"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/gitee/models"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/domainlayer"
+ "github.com/apache/devlake/core/models/domainlayer/crossdomain"
+ "github.com/apache/devlake/core/models/domainlayer/didgen"
+ "github.com/apache/devlake/core/plugin"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/gitee/models"
"reflect"
)
diff --git a/backend/plugins/gitee/tasks/api_client.go b/backend/plugins/gitee/tasks/api_client.go
index adc33d2..99c4608 100644
--- a/backend/plugins/gitee/tasks/api_client.go
+++ b/backend/plugins/gitee/tasks/api_client.go
@@ -22,10 +22,10 @@
"strconv"
"time"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/gitee/models"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/gitee/models"
)
func NewGiteeApiClient(taskCtx plugin.TaskContext, connection *models.GiteeConnection) (*api.ApiAsyncClient, errors.Error) {
diff --git a/backend/plugins/gitee/tasks/commit_collector.go b/backend/plugins/gitee/tasks/commit_collector.go
index cb071e6..80e284b 100644
--- a/backend/plugins/gitee/tasks/commit_collector.go
+++ b/backend/plugins/gitee/tasks/commit_collector.go
@@ -18,11 +18,11 @@
package tasks
import (
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/gitee/models"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/gitee/models"
"net/url"
"strconv"
)
diff --git a/backend/plugins/gitee/tasks/commit_convertor.go b/backend/plugins/gitee/tasks/commit_convertor.go
index 5d02ba8..4133f7d 100644
--- a/backend/plugins/gitee/tasks/commit_convertor.go
+++ b/backend/plugins/gitee/tasks/commit_convertor.go
@@ -18,13 +18,13 @@
package tasks
import (
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/domainlayer/code"
- "github.com/apache/incubator-devlake/core/models/domainlayer/didgen"
- "github.com/apache/incubator-devlake/core/plugin"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/gitee/models"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/domainlayer/code"
+ "github.com/apache/devlake/core/models/domainlayer/didgen"
+ "github.com/apache/devlake/core/plugin"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/gitee/models"
"reflect"
)
diff --git a/backend/plugins/gitee/tasks/commit_extractor.go b/backend/plugins/gitee/tasks/commit_extractor.go
index 842550f..9b4c56d 100644
--- a/backend/plugins/gitee/tasks/commit_extractor.go
+++ b/backend/plugins/gitee/tasks/commit_extractor.go
@@ -20,11 +20,11 @@
import (
"encoding/json"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/common"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/gitee/models"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/common"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/gitee/models"
)
var ExtractCommitsMeta = plugin.SubTaskMeta{
diff --git a/backend/plugins/gitee/tasks/commit_stats_collector.go b/backend/plugins/gitee/tasks/commit_stats_collector.go
index acd1d04..89ff1ae 100644
--- a/backend/plugins/gitee/tasks/commit_stats_collector.go
+++ b/backend/plugins/gitee/tasks/commit_stats_collector.go
@@ -20,11 +20,11 @@
import (
"encoding/json"
"fmt"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/gitee/models"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/gitee/models"
"io"
"net/http"
"net/url"
diff --git a/backend/plugins/gitee/tasks/commit_stats_extractor.go b/backend/plugins/gitee/tasks/commit_stats_extractor.go
index cc2ea8d..4266d80 100644
--- a/backend/plugins/gitee/tasks/commit_stats_extractor.go
+++ b/backend/plugins/gitee/tasks/commit_stats_extractor.go
@@ -20,12 +20,12 @@
import (
"encoding/json"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/common"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/gitee/models"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/common"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/gitee/models"
)
var ExtractApiCommitStatsMeta = plugin.SubTaskMeta{
diff --git a/backend/plugins/gitee/tasks/issue_collector.go b/backend/plugins/gitee/tasks/issue_collector.go
index 9c90f0b..ec15da5 100644
--- a/backend/plugins/gitee/tasks/issue_collector.go
+++ b/backend/plugins/gitee/tasks/issue_collector.go
@@ -20,11 +20,11 @@
import (
"encoding/json"
"fmt"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/gitee/models"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/gitee/models"
"net/http"
"net/url"
)
diff --git a/backend/plugins/gitee/tasks/issue_comment_collector.go b/backend/plugins/gitee/tasks/issue_comment_collector.go
index 7b7f1de..963c8b8 100644
--- a/backend/plugins/gitee/tasks/issue_comment_collector.go
+++ b/backend/plugins/gitee/tasks/issue_comment_collector.go
@@ -19,11 +19,11 @@
import (
"fmt"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/gitee/models"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/gitee/models"
"net/url"
)
diff --git a/backend/plugins/gitee/tasks/issue_comment_convertor.go b/backend/plugins/gitee/tasks/issue_comment_convertor.go
index d769511..5aca5a5 100644
--- a/backend/plugins/gitee/tasks/issue_comment_convertor.go
+++ b/backend/plugins/gitee/tasks/issue_comment_convertor.go
@@ -20,14 +20,14 @@
import (
"reflect"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/domainlayer"
- "github.com/apache/incubator-devlake/core/models/domainlayer/didgen"
- "github.com/apache/incubator-devlake/core/models/domainlayer/ticket"
- "github.com/apache/incubator-devlake/core/plugin"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/gitee/models"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/domainlayer"
+ "github.com/apache/devlake/core/models/domainlayer/didgen"
+ "github.com/apache/devlake/core/models/domainlayer/ticket"
+ "github.com/apache/devlake/core/plugin"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/gitee/models"
)
var ConvertIssueCommentsMeta = plugin.SubTaskMeta{
diff --git a/backend/plugins/gitee/tasks/issue_comment_extractor.go b/backend/plugins/gitee/tasks/issue_comment_extractor.go
index 91d076b..2cfe4cb 100644
--- a/backend/plugins/gitee/tasks/issue_comment_extractor.go
+++ b/backend/plugins/gitee/tasks/issue_comment_extractor.go
@@ -20,12 +20,12 @@
import (
"encoding/json"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/common"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/gitee/models"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/common"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/gitee/models"
)
var ExtractApiIssueCommentsMeta = plugin.SubTaskMeta{
diff --git a/backend/plugins/gitee/tasks/issue_convertor.go b/backend/plugins/gitee/tasks/issue_convertor.go
index 0662c3e..d40c206 100644
--- a/backend/plugins/gitee/tasks/issue_convertor.go
+++ b/backend/plugins/gitee/tasks/issue_convertor.go
@@ -20,14 +20,14 @@
import (
"reflect"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/domainlayer"
- "github.com/apache/incubator-devlake/core/models/domainlayer/didgen"
- "github.com/apache/incubator-devlake/core/models/domainlayer/ticket"
- "github.com/apache/incubator-devlake/core/plugin"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/gitee/models"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/domainlayer"
+ "github.com/apache/devlake/core/models/domainlayer/didgen"
+ "github.com/apache/devlake/core/models/domainlayer/ticket"
+ "github.com/apache/devlake/core/plugin"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/gitee/models"
)
var ConvertIssuesMeta = plugin.SubTaskMeta{
diff --git a/backend/plugins/gitee/tasks/issue_extractor.go b/backend/plugins/gitee/tasks/issue_extractor.go
index 93ee490..c1a922c 100644
--- a/backend/plugins/gitee/tasks/issue_extractor.go
+++ b/backend/plugins/gitee/tasks/issue_extractor.go
@@ -21,12 +21,12 @@
"encoding/json"
"regexp"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/common"
- "github.com/apache/incubator-devlake/core/models/domainlayer/ticket"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/gitee/models"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/common"
+ "github.com/apache/devlake/core/models/domainlayer/ticket"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/gitee/models"
)
var ExtractApiIssuesMeta = plugin.SubTaskMeta{
diff --git a/backend/plugins/gitee/tasks/issue_label_convertor.go b/backend/plugins/gitee/tasks/issue_label_convertor.go
index db66191..cf6b13a 100644
--- a/backend/plugins/gitee/tasks/issue_label_convertor.go
+++ b/backend/plugins/gitee/tasks/issue_label_convertor.go
@@ -18,13 +18,13 @@
package tasks
import (
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/domainlayer/didgen"
- "github.com/apache/incubator-devlake/core/models/domainlayer/ticket"
- "github.com/apache/incubator-devlake/core/plugin"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/gitee/models"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/domainlayer/didgen"
+ "github.com/apache/devlake/core/models/domainlayer/ticket"
+ "github.com/apache/devlake/core/plugin"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/gitee/models"
"reflect"
)
diff --git a/backend/plugins/gitee/tasks/pr_collector.go b/backend/plugins/gitee/tasks/pr_collector.go
index b2b81db..2f94f17 100644
--- a/backend/plugins/gitee/tasks/pr_collector.go
+++ b/backend/plugins/gitee/tasks/pr_collector.go
@@ -20,11 +20,11 @@
import (
"encoding/json"
"fmt"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/gitee/models"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/gitee/models"
"net/http"
"net/url"
)
diff --git a/backend/plugins/gitee/tasks/pr_comment_convertor.go b/backend/plugins/gitee/tasks/pr_comment_convertor.go
index 445ac5c..435fb17 100644
--- a/backend/plugins/gitee/tasks/pr_comment_convertor.go
+++ b/backend/plugins/gitee/tasks/pr_comment_convertor.go
@@ -18,14 +18,14 @@
package tasks
import (
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/domainlayer"
- "github.com/apache/incubator-devlake/core/models/domainlayer/code"
- "github.com/apache/incubator-devlake/core/models/domainlayer/didgen"
- "github.com/apache/incubator-devlake/core/plugin"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/gitee/models"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/domainlayer"
+ "github.com/apache/devlake/core/models/domainlayer/code"
+ "github.com/apache/devlake/core/models/domainlayer/didgen"
+ "github.com/apache/devlake/core/plugin"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/gitee/models"
"reflect"
)
diff --git a/backend/plugins/gitee/tasks/pr_commit_collector.go b/backend/plugins/gitee/tasks/pr_commit_collector.go
index b3ade20..18ba08f 100644
--- a/backend/plugins/gitee/tasks/pr_commit_collector.go
+++ b/backend/plugins/gitee/tasks/pr_commit_collector.go
@@ -20,11 +20,11 @@
import (
"encoding/json"
"fmt"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/gitee/models"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/gitee/models"
"net/http"
"net/url"
"reflect"
diff --git a/backend/plugins/gitee/tasks/pr_commit_convertor.go b/backend/plugins/gitee/tasks/pr_commit_convertor.go
index 50e9730..ac0ac6d 100644
--- a/backend/plugins/gitee/tasks/pr_commit_convertor.go
+++ b/backend/plugins/gitee/tasks/pr_commit_convertor.go
@@ -18,13 +18,13 @@
package tasks
import (
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/domainlayer/code"
- "github.com/apache/incubator-devlake/core/models/domainlayer/didgen"
- "github.com/apache/incubator-devlake/core/plugin"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/gitee/models"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/domainlayer/code"
+ "github.com/apache/devlake/core/models/domainlayer/didgen"
+ "github.com/apache/devlake/core/plugin"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/gitee/models"
"reflect"
)
diff --git a/backend/plugins/gitee/tasks/pr_commit_extractor.go b/backend/plugins/gitee/tasks/pr_commit_extractor.go
index 6fff992..c34d49b 100644
--- a/backend/plugins/gitee/tasks/pr_commit_extractor.go
+++ b/backend/plugins/gitee/tasks/pr_commit_extractor.go
@@ -21,11 +21,11 @@
"encoding/json"
"strings"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/common"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/gitee/models"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/common"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/gitee/models"
)
var ExtractApiPullRequestCommitsMeta = plugin.SubTaskMeta{
diff --git a/backend/plugins/gitee/tasks/pr_convertor.go b/backend/plugins/gitee/tasks/pr_convertor.go
index ff03afe..4940f4a 100644
--- a/backend/plugins/gitee/tasks/pr_convertor.go
+++ b/backend/plugins/gitee/tasks/pr_convertor.go
@@ -18,14 +18,14 @@
package tasks
import (
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/domainlayer"
- "github.com/apache/incubator-devlake/core/models/domainlayer/code"
- "github.com/apache/incubator-devlake/core/models/domainlayer/didgen"
- "github.com/apache/incubator-devlake/core/plugin"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/gitee/models"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/domainlayer"
+ "github.com/apache/devlake/core/models/domainlayer/code"
+ "github.com/apache/devlake/core/models/domainlayer/didgen"
+ "github.com/apache/devlake/core/plugin"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/gitee/models"
"reflect"
)
diff --git a/backend/plugins/gitee/tasks/pr_extractor.go b/backend/plugins/gitee/tasks/pr_extractor.go
index 94b84c2..c58a15d 100644
--- a/backend/plugins/gitee/tasks/pr_extractor.go
+++ b/backend/plugins/gitee/tasks/pr_extractor.go
@@ -21,11 +21,11 @@
"encoding/json"
"regexp"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/common"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/gitee/models"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/common"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/gitee/models"
)
var ExtractApiPullRequestsMeta = plugin.SubTaskMeta{
diff --git a/backend/plugins/gitee/tasks/pr_issue_convertor.go b/backend/plugins/gitee/tasks/pr_issue_convertor.go
index 962d366..e289c9d 100644
--- a/backend/plugins/gitee/tasks/pr_issue_convertor.go
+++ b/backend/plugins/gitee/tasks/pr_issue_convertor.go
@@ -18,13 +18,13 @@
package tasks
import (
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/domainlayer/crossdomain"
- "github.com/apache/incubator-devlake/core/models/domainlayer/didgen"
- "github.com/apache/incubator-devlake/core/plugin"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/gitee/models"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/domainlayer/crossdomain"
+ "github.com/apache/devlake/core/models/domainlayer/didgen"
+ "github.com/apache/devlake/core/plugin"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/gitee/models"
"github.com/spf13/cast"
"reflect"
"strconv"
diff --git a/backend/plugins/gitee/tasks/pr_issue_enricher.go b/backend/plugins/gitee/tasks/pr_issue_enricher.go
index 665ecb2..48e6cc1 100644
--- a/backend/plugins/gitee/tasks/pr_issue_enricher.go
+++ b/backend/plugins/gitee/tasks/pr_issue_enricher.go
@@ -23,11 +23,11 @@
"strconv"
"strings"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/gitee/models"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/gitee/models"
)
var EnrichPullRequestIssuesMeta = plugin.SubTaskMeta{
diff --git a/backend/plugins/gitee/tasks/pr_label_convertor.go b/backend/plugins/gitee/tasks/pr_label_convertor.go
index 1d284da..f2d9625 100644
--- a/backend/plugins/gitee/tasks/pr_label_convertor.go
+++ b/backend/plugins/gitee/tasks/pr_label_convertor.go
@@ -18,13 +18,13 @@
package tasks
import (
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/domainlayer/code"
- "github.com/apache/incubator-devlake/core/models/domainlayer/didgen"
- "github.com/apache/incubator-devlake/core/plugin"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/gitee/models"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/domainlayer/code"
+ "github.com/apache/devlake/core/models/domainlayer/didgen"
+ "github.com/apache/devlake/core/plugin"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/gitee/models"
"reflect"
)
diff --git a/backend/plugins/gitee/tasks/pr_review_collector.go b/backend/plugins/gitee/tasks/pr_review_collector.go
index 958e0f3..170ce43 100644
--- a/backend/plugins/gitee/tasks/pr_review_collector.go
+++ b/backend/plugins/gitee/tasks/pr_review_collector.go
@@ -20,11 +20,11 @@
import (
"encoding/json"
"fmt"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/gitee/models"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/gitee/models"
"net/http"
"net/url"
"reflect"
diff --git a/backend/plugins/gitee/tasks/pr_review_extractor.go b/backend/plugins/gitee/tasks/pr_review_extractor.go
index 63d4b50..f0594da 100644
--- a/backend/plugins/gitee/tasks/pr_review_extractor.go
+++ b/backend/plugins/gitee/tasks/pr_review_extractor.go
@@ -21,11 +21,11 @@
"encoding/json"
"strings"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/common"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/gitee/models"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/common"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/gitee/models"
)
var ExtractApiPullRequestReviewsMeta = plugin.SubTaskMeta{
diff --git a/backend/plugins/gitee/tasks/repo_collector.go b/backend/plugins/gitee/tasks/repo_collector.go
index 5c7337c..a5c44cb 100644
--- a/backend/plugins/gitee/tasks/repo_collector.go
+++ b/backend/plugins/gitee/tasks/repo_collector.go
@@ -20,9 +20,9 @@
import (
"encoding/json"
"fmt"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
"io"
"net/http"
"net/url"
diff --git a/backend/plugins/gitee/tasks/repo_convertor.go b/backend/plugins/gitee/tasks/repo_convertor.go
index ef318e3..581effb 100644
--- a/backend/plugins/gitee/tasks/repo_convertor.go
+++ b/backend/plugins/gitee/tasks/repo_convertor.go
@@ -19,16 +19,16 @@
import (
"fmt"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/domainlayer"
- "github.com/apache/incubator-devlake/core/models/domainlayer/code"
- "github.com/apache/incubator-devlake/core/models/domainlayer/crossdomain"
- "github.com/apache/incubator-devlake/core/models/domainlayer/didgen"
- "github.com/apache/incubator-devlake/core/models/domainlayer/ticket"
- "github.com/apache/incubator-devlake/core/plugin"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/gitee/models"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/domainlayer"
+ "github.com/apache/devlake/core/models/domainlayer/code"
+ "github.com/apache/devlake/core/models/domainlayer/crossdomain"
+ "github.com/apache/devlake/core/models/domainlayer/didgen"
+ "github.com/apache/devlake/core/models/domainlayer/ticket"
+ "github.com/apache/devlake/core/plugin"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/gitee/models"
"reflect"
)
diff --git a/backend/plugins/gitee/tasks/repo_extractor.go b/backend/plugins/gitee/tasks/repo_extractor.go
index df8869c..0e4bf0c 100644
--- a/backend/plugins/gitee/tasks/repo_extractor.go
+++ b/backend/plugins/gitee/tasks/repo_extractor.go
@@ -21,11 +21,11 @@
"encoding/json"
"fmt"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/common"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/gitee/models"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/common"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/gitee/models"
)
var ExtractApiRepoMeta = plugin.SubTaskMeta{
diff --git a/backend/plugins/gitee/tasks/shared.go b/backend/plugins/gitee/tasks/shared.go
index f5d4ddc..ebb24fe 100644
--- a/backend/plugins/gitee/tasks/shared.go
+++ b/backend/plugins/gitee/tasks/shared.go
@@ -27,10 +27,10 @@
"strings"
"time"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/gitee/models"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/gitee/models"
)
type PagingInfo struct {
diff --git a/backend/plugins/gitee/tasks/task_data.go b/backend/plugins/gitee/tasks/task_data.go
index aa551fb..a6757a1 100644
--- a/backend/plugins/gitee/tasks/task_data.go
+++ b/backend/plugins/gitee/tasks/task_data.go
@@ -20,9 +20,9 @@
import (
"time"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/gitee/models"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/gitee/models"
)
type GiteeOptions struct {
diff --git a/backend/plugins/gitextractor/gitextractor.go b/backend/plugins/gitextractor/gitextractor.go
index 4a6e2f3..67e0b7f 100644
--- a/backend/plugins/gitextractor/gitextractor.go
+++ b/backend/plugins/gitextractor/gitextractor.go
@@ -18,8 +18,8 @@
package main // must be main for plugin entry point
import (
- "github.com/apache/incubator-devlake/core/runner"
- "github.com/apache/incubator-devlake/plugins/gitextractor/impl"
+ "github.com/apache/devlake/core/runner"
+ "github.com/apache/devlake/plugins/gitextractor/impl"
"github.com/spf13/cobra"
)
diff --git a/backend/plugins/gitextractor/impl/impl.go b/backend/plugins/gitextractor/impl/impl.go
index 18d2054..d0f7634 100644
--- a/backend/plugins/gitextractor/impl/impl.go
+++ b/backend/plugins/gitextractor/impl/impl.go
@@ -21,12 +21,12 @@
"fmt"
"net/url"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/gitextractor/parser"
- "github.com/apache/incubator-devlake/plugins/gitextractor/tasks"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/gitextractor/parser"
+ "github.com/apache/devlake/plugins/gitextractor/tasks"
giturls "github.com/chainguard-dev/git-urls"
)
@@ -143,7 +143,7 @@
}
func (p GitExtractor) RootPkgPath() string {
- return "github.com/apache/incubator-devlake/plugins/gitextractor"
+ return "github.com/apache/devlake/plugins/gitextractor"
}
func (p GitExtractor) TestConnection(id uint64) errors.Error {
diff --git a/backend/plugins/gitextractor/models/interface.go b/backend/plugins/gitextractor/models/interface.go
index 0a228de..a2342db 100644
--- a/backend/plugins/gitextractor/models/interface.go
+++ b/backend/plugins/gitextractor/models/interface.go
@@ -18,8 +18,8 @@
package models
import (
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/domainlayer/code"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/domainlayer/code"
)
type Store interface {
diff --git a/backend/plugins/gitextractor/parser/clone.go b/backend/plugins/gitextractor/parser/clone.go
index fcd176f..5549e03 100644
--- a/backend/plugins/gitextractor/parser/clone.go
+++ b/backend/plugins/gitextractor/parser/clone.go
@@ -18,7 +18,7 @@
package parser
import (
- "github.com/apache/incubator-devlake/core/errors"
+ "github.com/apache/devlake/core/errors"
)
type RepoCloner interface {
diff --git a/backend/plugins/gitextractor/parser/clone_gitcli.go b/backend/plugins/gitextractor/parser/clone_gitcli.go
index 9d0ac2e..3b5c945 100644
--- a/backend/plugins/gitextractor/parser/clone_gitcli.go
+++ b/backend/plugins/gitextractor/parser/clone_gitcli.go
@@ -27,10 +27,10 @@
"strings"
"time"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/log"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/log"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
giturls "github.com/chainguard-dev/git-urls"
)
@@ -218,7 +218,7 @@
}
func (g *GitcliCloner) deepen() errors.Error {
- // deepen the commits by 1 more step to avoid https://github.com/apache/incubator-devlake/issues/7426
+ // deepen the commits by 1 more step to avoid https://github.com/apache/devlake/issues/7426
// fixes error described on https://stackoverflow.com/questions/63878612/git-fatal-error-in-object-unshallow-sha-1
// It might be caused by the commit which being deepen has multiple parent(e.g. a merge commit), not sure.
if err := g.gitCmd("repack", "-d"); err != nil {
diff --git a/backend/plugins/gitextractor/parser/repo.go b/backend/plugins/gitextractor/parser/repo.go
index 87aaa8b..107ccc2 100644
--- a/backend/plugins/gitextractor/parser/repo.go
+++ b/backend/plugins/gitextractor/parser/repo.go
@@ -20,7 +20,7 @@
import (
"context"
- "github.com/apache/incubator-devlake/core/plugin"
+ "github.com/apache/devlake/core/plugin"
)
const (
diff --git a/backend/plugins/gitextractor/parser/repo_gogit.go b/backend/plugins/gitextractor/parser/repo_gogit.go
index 29deef3..fe254e8 100644
--- a/backend/plugins/gitextractor/parser/repo_gogit.go
+++ b/backend/plugins/gitextractor/parser/repo_gogit.go
@@ -25,13 +25,13 @@
"regexp"
"strings"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/log"
- "github.com/apache/incubator-devlake/core/models/domainlayer"
- "github.com/apache/incubator-devlake/core/models/domainlayer/code"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/plugins/gitextractor/models"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/log"
+ "github.com/apache/devlake/core/models/domainlayer"
+ "github.com/apache/devlake/core/models/domainlayer/code"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/plugins/gitextractor/models"
gogit "github.com/go-git/go-git/v5"
"github.com/go-git/go-git/v5/plumbing"
"github.com/go-git/go-git/v5/plumbing/object"
diff --git a/backend/plugins/gitextractor/parser/repo_libgit2.go b/backend/plugins/gitextractor/parser/repo_libgit2.go
index f018906..ad9b515 100644
--- a/backend/plugins/gitextractor/parser/repo_libgit2.go
+++ b/backend/plugins/gitextractor/parser/repo_libgit2.go
@@ -27,13 +27,13 @@
"strconv"
"strings"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/log"
- "github.com/apache/incubator-devlake/core/models/domainlayer"
- "github.com/apache/incubator-devlake/core/models/domainlayer/code"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/plugins/gitextractor/models"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/log"
+ "github.com/apache/devlake/core/models/domainlayer"
+ "github.com/apache/devlake/core/models/domainlayer/code"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/plugins/gitextractor/models"
git "github.com/libgit2/git2go/v34"
)
diff --git a/backend/plugins/gitextractor/store/csv.go b/backend/plugins/gitextractor/store/csv.go
index 982485a..1cd4fef 100644
--- a/backend/plugins/gitextractor/store/csv.go
+++ b/backend/plugins/gitextractor/store/csv.go
@@ -20,8 +20,8 @@
import (
"encoding/csv"
"fmt"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/domainlayer/code"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/domainlayer/code"
"os"
"path/filepath"
"reflect"
diff --git a/backend/plugins/gitextractor/store/csv_test.go b/backend/plugins/gitextractor/store/csv_test.go
index 733aaf4..6e6baa5 100644
--- a/backend/plugins/gitextractor/store/csv_test.go
+++ b/backend/plugins/gitextractor/store/csv_test.go
@@ -18,7 +18,7 @@
package store
import (
- "github.com/apache/incubator-devlake/core/models/domainlayer/code"
+ "github.com/apache/devlake/core/models/domainlayer/code"
"io/ioutil"
"os"
"path/filepath"
diff --git a/backend/plugins/gitextractor/store/database.go b/backend/plugins/gitextractor/store/database.go
index c795179..f5e82d1 100644
--- a/backend/plugins/gitextractor/store/database.go
+++ b/backend/plugins/gitextractor/store/database.go
@@ -20,13 +20,13 @@
import (
"reflect"
- "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/core/models/domainlayer"
- "github.com/apache/incubator-devlake/core/models/domainlayer/code"
- "github.com/apache/incubator-devlake/core/models/domainlayer/crossdomain"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/common"
+ "github.com/apache/devlake/core/models/domainlayer"
+ "github.com/apache/devlake/core/models/domainlayer/code"
+ "github.com/apache/devlake/core/models/domainlayer/crossdomain"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
)
const BathSize = 100
diff --git a/backend/plugins/gitextractor/tasks/repo_cloner.go b/backend/plugins/gitextractor/tasks/repo_cloner.go
index d4efd27..76013e2 100644
--- a/backend/plugins/gitextractor/tasks/repo_cloner.go
+++ b/backend/plugins/gitextractor/tasks/repo_cloner.go
@@ -20,10 +20,10 @@
import (
"os"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/plugins/gitextractor/parser"
- "github.com/apache/incubator-devlake/plugins/gitextractor/store"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/plugins/gitextractor/parser"
+ "github.com/apache/devlake/plugins/gitextractor/store"
)
var CloneGitRepoMeta = plugin.SubTaskMeta{
diff --git a/backend/plugins/gitextractor/tasks/repo_collector.go b/backend/plugins/gitextractor/tasks/repo_collector.go
index 42da505..f297cb1 100644
--- a/backend/plugins/gitextractor/tasks/repo_collector.go
+++ b/backend/plugins/gitextractor/tasks/repo_collector.go
@@ -18,9 +18,9 @@
package tasks
import (
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/plugins/gitextractor/parser"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/plugins/gitextractor/parser"
)
func CollectGitCommits(subTaskCtx plugin.SubTaskContext) errors.Error {
diff --git a/backend/plugins/github/api/blueprint_v200.go b/backend/plugins/github/api/blueprint_v200.go
index 1af333c..031c53f 100644
--- a/backend/plugins/github/api/blueprint_v200.go
+++ b/backend/plugins/github/api/blueprint_v200.go
@@ -26,19 +26,19 @@
"net/url"
"strings"
- "github.com/apache/incubator-devlake/core/errors"
- coreModels "github.com/apache/incubator-devlake/core/models"
- "github.com/apache/incubator-devlake/core/models/domainlayer"
- "github.com/apache/incubator-devlake/core/models/domainlayer/code"
- "github.com/apache/incubator-devlake/core/models/domainlayer/devops"
- "github.com/apache/incubator-devlake/core/models/domainlayer/didgen"
- "github.com/apache/incubator-devlake/core/models/domainlayer/ticket"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/core/utils"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/helpers/srvhelper"
- "github.com/apache/incubator-devlake/plugins/github/models"
- "github.com/apache/incubator-devlake/plugins/github/tasks"
+ "github.com/apache/devlake/core/errors"
+ coreModels "github.com/apache/devlake/core/models"
+ "github.com/apache/devlake/core/models/domainlayer"
+ "github.com/apache/devlake/core/models/domainlayer/code"
+ "github.com/apache/devlake/core/models/domainlayer/devops"
+ "github.com/apache/devlake/core/models/domainlayer/didgen"
+ "github.com/apache/devlake/core/models/domainlayer/ticket"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/core/utils"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/helpers/srvhelper"
+ "github.com/apache/devlake/plugins/github/models"
+ "github.com/apache/devlake/plugins/github/tasks"
)
func MakeDataSourcePipelinePlanV200(
diff --git a/backend/plugins/github/api/connection_api.go b/backend/plugins/github/api/connection_api.go
index f09c8de..aefd2d8 100644
--- a/backend/plugins/github/api/connection_api.go
+++ b/backend/plugins/github/api/connection_api.go
@@ -25,11 +25,11 @@
"github.com/go-viper/mapstructure/v2"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/github/models"
- "github.com/apache/incubator-devlake/server/api/shared"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/github/models"
+ "github.com/apache/devlake/server/api/shared"
)
var publicPermissions = []string{"repo:status", "repo_deployment", "read:user", "read:org"}
diff --git a/backend/plugins/github/api/init.go b/backend/plugins/github/api/init.go
index 0951a7d..47788d9 100644
--- a/backend/plugins/github/api/init.go
+++ b/backend/plugins/github/api/init.go
@@ -18,10 +18,10 @@
package api
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/github/models"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/github/models"
"github.com/go-playground/validator/v10"
)
diff --git a/backend/plugins/github/api/remote_api.go b/backend/plugins/github/api/remote_api.go
index 627f5b8..9bae777 100644
--- a/backend/plugins/github/api/remote_api.go
+++ b/backend/plugins/github/api/remote_api.go
@@ -22,11 +22,11 @@
"net/http"
"net/url"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- dsmodels "github.com/apache/incubator-devlake/helpers/pluginhelper/api/models"
- "github.com/apache/incubator-devlake/plugins/github/models"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ dsmodels "github.com/apache/devlake/helpers/pluginhelper/api/models"
+ "github.com/apache/devlake/plugins/github/models"
)
func listGithubRemoteScopes(
diff --git a/backend/plugins/github/api/scope_api.go b/backend/plugins/github/api/scope_api.go
index 1ec0379..bddf7d7 100644
--- a/backend/plugins/github/api/scope_api.go
+++ b/backend/plugins/github/api/scope_api.go
@@ -20,11 +20,11 @@
import (
"context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/github/models"
- "github.com/apache/incubator-devlake/plugins/github/tasks"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/github/models"
+ "github.com/apache/devlake/plugins/github/tasks"
)
type PutScopesReqBody api.PutScopesReqBody[models.GithubRepo]
diff --git a/backend/plugins/github/api/scope_config_api.go b/backend/plugins/github/api/scope_config_api.go
index b109341..298ea36 100644
--- a/backend/plugins/github/api/scope_config_api.go
+++ b/backend/plugins/github/api/scope_config_api.go
@@ -18,8 +18,8 @@
package api
import (
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
)
// PostScopeConfig create scope config for Github
diff --git a/backend/plugins/github/api/scope_duplicates_api.go b/backend/plugins/github/api/scope_duplicates_api.go
index e3cc231..9038d64 100644
--- a/backend/plugins/github/api/scope_duplicates_api.go
+++ b/backend/plugins/github/api/scope_duplicates_api.go
@@ -22,9 +22,9 @@
"strconv"
"strings"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
)
// ScopeDuplicateConnection is a connection that shares a repository scope.
diff --git a/backend/plugins/github/api/scope_duplicates_api_test.go b/backend/plugins/github/api/scope_duplicates_api_test.go
index 87cc334..8dbd017 100644
--- a/backend/plugins/github/api/scope_duplicates_api_test.go
+++ b/backend/plugins/github/api/scope_duplicates_api_test.go
@@ -21,7 +21,7 @@
"net/url"
"testing"
- "github.com/apache/incubator-devlake/core/plugin"
+ "github.com/apache/devlake/core/plugin"
"github.com/stretchr/testify/assert"
)
diff --git a/backend/plugins/github/api/scope_state_api.go b/backend/plugins/github/api/scope_state_api.go
index af1d416..5f4cc72 100644
--- a/backend/plugins/github/api/scope_state_api.go
+++ b/backend/plugins/github/api/scope_state_api.go
@@ -18,8 +18,8 @@
package api
import (
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
)
// GetScopeLatestSyncState get one GitHub repo's latest sync state
diff --git a/backend/plugins/github/api/swagger.go b/backend/plugins/github/api/swagger.go
index bf93d67..5bb8e3d 100644
--- a/backend/plugins/github/api/swagger.go
+++ b/backend/plugins/github/api/swagger.go
@@ -18,7 +18,7 @@
package api
import (
- "github.com/apache/incubator-devlake/plugins/github/tasks"
+ "github.com/apache/devlake/plugins/github/tasks"
)
type GithubTaskOptions tasks.GithubOptions
diff --git a/backend/plugins/github/e2e/account_test.go b/backend/plugins/github/e2e/account_test.go
index 7b6466a..03f71ec 100644
--- a/backend/plugins/github/e2e/account_test.go
+++ b/backend/plugins/github/e2e/account_test.go
@@ -20,13 +20,13 @@
import (
"testing"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/models/domainlayer/crossdomain"
- "github.com/apache/incubator-devlake/core/models/domainlayer/didgen"
- "github.com/apache/incubator-devlake/helpers/e2ehelper"
- "github.com/apache/incubator-devlake/plugins/github/impl"
- "github.com/apache/incubator-devlake/plugins/github/models"
- "github.com/apache/incubator-devlake/plugins/github/tasks"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/models/domainlayer/crossdomain"
+ "github.com/apache/devlake/core/models/domainlayer/didgen"
+ "github.com/apache/devlake/helpers/e2ehelper"
+ "github.com/apache/devlake/plugins/github/impl"
+ "github.com/apache/devlake/plugins/github/models"
+ "github.com/apache/devlake/plugins/github/tasks"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
)
diff --git a/backend/plugins/github/e2e/cicd_job_test.go b/backend/plugins/github/e2e/cicd_job_test.go
index 9e82896..0121f26 100644
--- a/backend/plugins/github/e2e/cicd_job_test.go
+++ b/backend/plugins/github/e2e/cicd_job_test.go
@@ -20,14 +20,14 @@
import (
"testing"
- "github.com/apache/incubator-devlake/core/models/common"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/core/models/common"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/core/models/domainlayer/devops"
- "github.com/apache/incubator-devlake/helpers/e2ehelper"
- "github.com/apache/incubator-devlake/plugins/github/impl"
- "github.com/apache/incubator-devlake/plugins/github/models"
- "github.com/apache/incubator-devlake/plugins/github/tasks"
+ "github.com/apache/devlake/core/models/domainlayer/devops"
+ "github.com/apache/devlake/helpers/e2ehelper"
+ "github.com/apache/devlake/plugins/github/impl"
+ "github.com/apache/devlake/plugins/github/models"
+ "github.com/apache/devlake/plugins/github/tasks"
)
func TestGithubCICDJobDataFlow(t *testing.T) {
diff --git a/backend/plugins/github/e2e/cicd_run_test.go b/backend/plugins/github/e2e/cicd_run_test.go
index 750b22e..b59da2c 100644
--- a/backend/plugins/github/e2e/cicd_run_test.go
+++ b/backend/plugins/github/e2e/cicd_run_test.go
@@ -20,14 +20,14 @@
import (
"testing"
- "github.com/apache/incubator-devlake/core/models/common"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/core/models/common"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/core/models/domainlayer/devops"
- "github.com/apache/incubator-devlake/helpers/e2ehelper"
- "github.com/apache/incubator-devlake/plugins/github/impl"
- "github.com/apache/incubator-devlake/plugins/github/models"
- "github.com/apache/incubator-devlake/plugins/github/tasks"
+ "github.com/apache/devlake/core/models/domainlayer/devops"
+ "github.com/apache/devlake/helpers/e2ehelper"
+ "github.com/apache/devlake/plugins/github/impl"
+ "github.com/apache/devlake/plugins/github/models"
+ "github.com/apache/devlake/plugins/github/tasks"
)
func TestGithubCICDRunDataFlow(t *testing.T) {
diff --git a/backend/plugins/github/e2e/comment_test.go b/backend/plugins/github/e2e/comment_test.go
index 5be31ce..4bb5d72 100644
--- a/backend/plugins/github/e2e/comment_test.go
+++ b/backend/plugins/github/e2e/comment_test.go
@@ -20,12 +20,12 @@
import (
"testing"
- "github.com/apache/incubator-devlake/core/models/domainlayer/code"
- "github.com/apache/incubator-devlake/core/models/domainlayer/ticket"
- "github.com/apache/incubator-devlake/helpers/e2ehelper"
- "github.com/apache/incubator-devlake/plugins/github/impl"
- "github.com/apache/incubator-devlake/plugins/github/models"
- "github.com/apache/incubator-devlake/plugins/github/tasks"
+ "github.com/apache/devlake/core/models/domainlayer/code"
+ "github.com/apache/devlake/core/models/domainlayer/ticket"
+ "github.com/apache/devlake/helpers/e2ehelper"
+ "github.com/apache/devlake/plugins/github/impl"
+ "github.com/apache/devlake/plugins/github/models"
+ "github.com/apache/devlake/plugins/github/tasks"
)
func TestCommentDataFlow(t *testing.T) {
diff --git a/backend/plugins/github/e2e/commit_test.go b/backend/plugins/github/e2e/commit_test.go
index 60b2b94..94c1c7a 100644
--- a/backend/plugins/github/e2e/commit_test.go
+++ b/backend/plugins/github/e2e/commit_test.go
@@ -18,7 +18,7 @@
package e2e
import (
- "github.com/apache/incubator-devlake/plugins/github/tasks"
+ "github.com/apache/devlake/plugins/github/tasks"
"github.com/stretchr/testify/assert"
"testing"
)
diff --git a/backend/plugins/github/e2e/event_test.go b/backend/plugins/github/e2e/event_test.go
index 90756ff..38ae64f 100644
--- a/backend/plugins/github/e2e/event_test.go
+++ b/backend/plugins/github/e2e/event_test.go
@@ -20,11 +20,11 @@
import (
"testing"
- "github.com/apache/incubator-devlake/plugins/github/models"
+ "github.com/apache/devlake/plugins/github/models"
- "github.com/apache/incubator-devlake/helpers/e2ehelper"
- "github.com/apache/incubator-devlake/plugins/github/impl"
- "github.com/apache/incubator-devlake/plugins/github/tasks"
+ "github.com/apache/devlake/helpers/e2ehelper"
+ "github.com/apache/devlake/plugins/github/impl"
+ "github.com/apache/devlake/plugins/github/tasks"
)
func TestEventDataFlow(t *testing.T) {
diff --git a/backend/plugins/github/e2e/issue_assignee_test.go b/backend/plugins/github/e2e/issue_assignee_test.go
index 423d6a1..5a67d16 100644
--- a/backend/plugins/github/e2e/issue_assignee_test.go
+++ b/backend/plugins/github/e2e/issue_assignee_test.go
@@ -18,14 +18,14 @@
package e2e
import (
- "github.com/apache/incubator-devlake/plugins/github/models"
+ "github.com/apache/devlake/plugins/github/models"
"testing"
- "github.com/apache/incubator-devlake/core/models/common"
- "github.com/apache/incubator-devlake/core/models/domainlayer/ticket"
- "github.com/apache/incubator-devlake/helpers/e2ehelper"
- "github.com/apache/incubator-devlake/plugins/github/impl"
- "github.com/apache/incubator-devlake/plugins/github/tasks"
+ "github.com/apache/devlake/core/models/common"
+ "github.com/apache/devlake/core/models/domainlayer/ticket"
+ "github.com/apache/devlake/helpers/e2ehelper"
+ "github.com/apache/devlake/plugins/github/impl"
+ "github.com/apache/devlake/plugins/github/tasks"
)
func TestIssueAssigneeDataFlow(t *testing.T) {
diff --git a/backend/plugins/github/e2e/issue_field_value_test.go b/backend/plugins/github/e2e/issue_field_value_test.go
index 63b9872..d083c1a 100644
--- a/backend/plugins/github/e2e/issue_field_value_test.go
+++ b/backend/plugins/github/e2e/issue_field_value_test.go
@@ -20,11 +20,11 @@
import (
"testing"
- "github.com/apache/incubator-devlake/core/models/domainlayer/ticket"
- "github.com/apache/incubator-devlake/helpers/e2ehelper"
- "github.com/apache/incubator-devlake/plugins/github/impl"
- "github.com/apache/incubator-devlake/plugins/github/models"
- "github.com/apache/incubator-devlake/plugins/github/tasks"
+ "github.com/apache/devlake/core/models/domainlayer/ticket"
+ "github.com/apache/devlake/helpers/e2ehelper"
+ "github.com/apache/devlake/plugins/github/impl"
+ "github.com/apache/devlake/plugins/github/models"
+ "github.com/apache/devlake/plugins/github/tasks"
)
// Extraction of issue field values, and the scope config mapping that carries them into the
diff --git a/backend/plugins/github/e2e/issue_test.go b/backend/plugins/github/e2e/issue_test.go
index 7c001c9..0eb2f56 100644
--- a/backend/plugins/github/e2e/issue_test.go
+++ b/backend/plugins/github/e2e/issue_test.go
@@ -20,11 +20,11 @@
import (
"testing"
- "github.com/apache/incubator-devlake/core/models/domainlayer/ticket"
- "github.com/apache/incubator-devlake/helpers/e2ehelper"
- "github.com/apache/incubator-devlake/plugins/github/impl"
- "github.com/apache/incubator-devlake/plugins/github/models"
- "github.com/apache/incubator-devlake/plugins/github/tasks"
+ "github.com/apache/devlake/core/models/domainlayer/ticket"
+ "github.com/apache/devlake/helpers/e2ehelper"
+ "github.com/apache/devlake/plugins/github/impl"
+ "github.com/apache/devlake/plugins/github/models"
+ "github.com/apache/devlake/plugins/github/tasks"
)
func TestIssueDataFlow(t *testing.T) {
diff --git a/backend/plugins/github/e2e/milestone_test.go b/backend/plugins/github/e2e/milestone_test.go
index 9e4672b..83d7783 100644
--- a/backend/plugins/github/e2e/milestone_test.go
+++ b/backend/plugins/github/e2e/milestone_test.go
@@ -20,11 +20,11 @@
import (
"testing"
- "github.com/apache/incubator-devlake/core/models/domainlayer/ticket"
- "github.com/apache/incubator-devlake/helpers/e2ehelper"
- "github.com/apache/incubator-devlake/plugins/github/impl"
- "github.com/apache/incubator-devlake/plugins/github/models"
- "github.com/apache/incubator-devlake/plugins/github/tasks"
+ "github.com/apache/devlake/core/models/domainlayer/ticket"
+ "github.com/apache/devlake/helpers/e2ehelper"
+ "github.com/apache/devlake/plugins/github/impl"
+ "github.com/apache/devlake/plugins/github/models"
+ "github.com/apache/devlake/plugins/github/tasks"
)
func TestMilestoneDataFlow(t *testing.T) {
diff --git a/backend/plugins/github/e2e/pr_commit_test.go b/backend/plugins/github/e2e/pr_commit_test.go
index 55d14b7..98f030c 100644
--- a/backend/plugins/github/e2e/pr_commit_test.go
+++ b/backend/plugins/github/e2e/pr_commit_test.go
@@ -20,11 +20,11 @@
import (
"testing"
- "github.com/apache/incubator-devlake/core/models/domainlayer/code"
- "github.com/apache/incubator-devlake/helpers/e2ehelper"
- "github.com/apache/incubator-devlake/plugins/github/impl"
- "github.com/apache/incubator-devlake/plugins/github/models"
- "github.com/apache/incubator-devlake/plugins/github/tasks"
+ "github.com/apache/devlake/core/models/domainlayer/code"
+ "github.com/apache/devlake/helpers/e2ehelper"
+ "github.com/apache/devlake/plugins/github/impl"
+ "github.com/apache/devlake/plugins/github/models"
+ "github.com/apache/devlake/plugins/github/tasks"
)
func TestPrCommitDataFlow(t *testing.T) {
diff --git a/backend/plugins/github/e2e/pr_enrich_issue_test.go b/backend/plugins/github/e2e/pr_enrich_issue_test.go
index 7203910..e262f76 100644
--- a/backend/plugins/github/e2e/pr_enrich_issue_test.go
+++ b/backend/plugins/github/e2e/pr_enrich_issue_test.go
@@ -20,11 +20,11 @@
import (
"testing"
- "github.com/apache/incubator-devlake/core/models/domainlayer/crossdomain"
- "github.com/apache/incubator-devlake/helpers/e2ehelper"
- "github.com/apache/incubator-devlake/plugins/github/impl"
- "github.com/apache/incubator-devlake/plugins/github/models"
- "github.com/apache/incubator-devlake/plugins/github/tasks"
+ "github.com/apache/devlake/core/models/domainlayer/crossdomain"
+ "github.com/apache/devlake/helpers/e2ehelper"
+ "github.com/apache/devlake/plugins/github/impl"
+ "github.com/apache/devlake/plugins/github/models"
+ "github.com/apache/devlake/plugins/github/tasks"
)
func TestPrEnrichIssueDataFlow(t *testing.T) {
diff --git a/backend/plugins/github/e2e/pr_review_test.go b/backend/plugins/github/e2e/pr_review_test.go
index b676497..2cbc30c 100644
--- a/backend/plugins/github/e2e/pr_review_test.go
+++ b/backend/plugins/github/e2e/pr_review_test.go
@@ -21,12 +21,12 @@
"os"
"testing"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/models/domainlayer/code"
- "github.com/apache/incubator-devlake/helpers/e2ehelper"
- "github.com/apache/incubator-devlake/plugins/github/impl"
- "github.com/apache/incubator-devlake/plugins/github/models"
- "github.com/apache/incubator-devlake/plugins/github/tasks"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/models/domainlayer/code"
+ "github.com/apache/devlake/helpers/e2ehelper"
+ "github.com/apache/devlake/plugins/github/impl"
+ "github.com/apache/devlake/plugins/github/models"
+ "github.com/apache/devlake/plugins/github/tasks"
)
func TestPrReviewDataFlow(t *testing.T) {
diff --git a/backend/plugins/github/e2e/pr_test.go b/backend/plugins/github/e2e/pr_test.go
index 8a95280..196556f 100644
--- a/backend/plugins/github/e2e/pr_test.go
+++ b/backend/plugins/github/e2e/pr_test.go
@@ -21,12 +21,12 @@
"os"
"testing"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/models/domainlayer/code"
- "github.com/apache/incubator-devlake/helpers/e2ehelper"
- "github.com/apache/incubator-devlake/plugins/github/impl"
- "github.com/apache/incubator-devlake/plugins/github/models"
- "github.com/apache/incubator-devlake/plugins/github/tasks"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/models/domainlayer/code"
+ "github.com/apache/devlake/helpers/e2ehelper"
+ "github.com/apache/devlake/plugins/github/impl"
+ "github.com/apache/devlake/plugins/github/models"
+ "github.com/apache/devlake/plugins/github/tasks"
)
func TestPrDataFlow(t *testing.T) {
diff --git a/backend/plugins/github/e2e/raw_tables/_raw_github_api_issues.csv b/backend/plugins/github/e2e/raw_tables/_raw_github_api_issues.csv
index 7628b90..491695a 100644
--- a/backend/plugins/github/e2e/raw_tables/_raw_github_api_issues.csv
+++ b/backend/plugins/github/e2e/raw_tables/_raw_github_api_issues.csv
@@ -1,43 +1,43 @@
id,params,data,url,input,created_at
-9,"{""ConnectionId"":2,""Name"":""panjf2000/ants""}","{""url"":""https://api.github.com/repos/panjf2000/ants/issues/4"",""repository_url"":""https://api.github.com/repos/panjf2000/ants"",""labels_url"":""https://api.github.com/repos/panjf2000/ants/issues/4/labels{/name}"",""comments_url"":""https://api.github.com/repos/panjf2000/ants/issues/4/comments"",""events_url"":""https://api.github.com/repos/panjf2000/ants/issues/4/events"",""html_url"":""https://github.com/panjf2000/ants/pull/4"",""id"":344340088,""node_id"":""MDExOlB1bGxSZXF1ZXN0MjAzNzU2NzM2"",""number"":4,""title"":""pre-allocate the capacity of the worker list"",""user"":{""login"":""barryz"",""id"":16658738,""node_id"":""MDQ6VXNlcjE2NjU4NzM4"",""avatar_url"":""https://avatars.githubusercontent.com/u/16658738?v=4"",""gravatar_id"":"""",""url"":""https://api.github.com/users/barryz"",""html_url"":""https://github.com/barryz"",""followers_url"":""https://api.github.com/users/barryz/followers"",""following_url"":""https://api.github.com/users/barryz/following{/other_user}"",""gists_url"":""https://api.github.com/users/barryz/gists{/gist_id}"",""starred_url"":""https://api.github.com/users/barryz/starred{/owner}{/repo}"",""subscriptions_url"":""https://api.github.com/users/barryz/subscriptions"",""organizations_url"":""https://api.github.com/users/barryz/orgs"",""repos_url"":""https://api.github.com/users/barryz/repos"",""events_url"":""https://api.github.com/users/barryz/events{/privacy}"",""received_events_url"":""https://api.github.com/users/barryz/received_events"",""type"":""User"",""site_admin"":false},""labels"":[{""id"":937861454,""node_id"":""MDU6TGFiZWw5Mzc4NjE0NTQ="",""url"":""https://api.github.com/repos/panjf2000/ants/labels/enhancement"",""name"":""enhancement"",""color"":""3eede7"",""default"":true,""description"":""New feature or request""}],""state"":""closed"",""locked"":false,""assignee"":null,""assignees"":[],""milestone"":{""url"": ""https://api.github.com/repos/apache/incubator-devlake/milestones/7"",""html_url"": ""https://github.com/apache/incubator-devlake/milestone/7"",""labels_url"": ""https://api.github.com/repos/apache/incubator-devlake/milestones/7/labels"",""id"": 7856149,""node_id"": ""MI_kwDOFuUSzs4Ad-AV"",""number"": 7,""title"": ""v0.11.0"",""description"": null,""creator"": {""login"": ""Startrekzky"",""id"": 14050754,""node_id"": ""MDQ6VXNlcjE0MDUwNzU0"",""avatar_url"": ""https://avatars.githubusercontent.com/u/14050754?v=4"",""gravatar_id"": """",""url"": ""https://api.github.com/users/Startrekzky"",""html_url"": ""https://github.com/Startrekzky"",""followers_url"": ""https://api.github.com/users/Startrekzky/followers"",""following_url"": ""https://api.github.com/users/Startrekzky/following{/other_user}"",""gists_url"": ""https://api.github.com/users/Startrekzky/gists{/gist_id}"",""starred_url"": ""https://api.github.com/users/Startrekzky/starred{/owner}{/repo}"",""subscriptions_url"": ""https://api.github.com/users/Startrekzky/subscriptions"",""organizations_url"": ""https://api.github.com/users/Startrekzky/orgs"",""repos_url"": ""https://api.github.com/users/Startrekzky/repos"",""events_url"": ""https://api.github.com/users/Startrekzky/events{/privacy}"",""received_events_url"": ""https://api.github.com/users/Startrekzky/received_events"",""type"": ""User"",""site_admin"": false},""open_issues"": 2,""closed_issues"": 118,""state"": ""open"",""created_at"": ""2022-04-08T02:05:35Z"",""updated_at"": ""2022-06-24T01:34:37Z"",""due_on"": null,""closed_at"": null},""comments"":4,""created_at"":""2018-07-25T08:19:30Z"",""updated_at"":""2018-08-29T04:11:46Z"",""closed_at"":""2018-07-26T02:32:41Z"",""author_association"":""CONTRIBUTOR"",""active_lock_reason"":null,""draft"":false,""pull_request"":{""url"":""https://api.github.com/repos/panjf2000/ants/pulls/4"",""html_url"":""https://github.com/panjf2000/ants/pull/4"",""diff_url"":""https://github.com/panjf2000/ants/pull/4.diff"",""patch_url"":""https://github.com/panjf2000/ants/pull/4.patch"",""merged_at"":""2018-07-26T02:32:41Z""},""body"":""fix #3 \r\n* chinese , chinese , chinese \r\n* chinese `Pool` chinese `PoolFunc` chinese worker capacity\r\n* chinese "",""reactions"":{""url"":""https://api.github.com/repos/panjf2000/ants/issues/4/reactions"",""total_count"":0,""+1"":0,""-1"":0,""laugh"":0,""hooray"":0,""confused"":0,""heart"":0,""rocket"":0,""eyes"":0},""timeline_url"":""https://api.github.com/repos/panjf2000/ants/issues/4/timeline"",""performed_via_github_app"":null,""state_reason"":null}",https://api.github.com/repos/panjf2000/ants/issues?direction=asc&page=1&per_page=100&state=all,null,2022-06-13T15:35:54.530+00:00
-10,"{""ConnectionId"":1,""Name"":""panjf2000/ants""}","{""url"":""https://api.github.com/repos/panjf2000/ants/issues/4"",""repository_url"":""https://api.github.com/repos/panjf2000/ants"",""labels_url"":""https://api.github.com/repos/panjf2000/ants/issues/4/labels{/name}"",""comments_url"":""https://api.github.com/repos/panjf2000/ants/issues/4/comments"",""events_url"":""https://api.github.com/repos/panjf2000/ants/issues/4/events"",""html_url"":""https://github.com/panjf2000/ants/pull/4"",""id"":344340088,""node_id"":""MDExOlB1bGxSZXF1ZXN0MjAzNzU2NzM2"",""number"":4,""title"":""pre-allocate the capacity of the worker list"",""user"":{""login"":""barryz"",""id"":16658738,""node_id"":""MDQ6VXNlcjE2NjU4NzM4"",""avatar_url"":""https://avatars.githubusercontent.com/u/16658738?v=4"",""gravatar_id"":"""",""url"":""https://api.github.com/users/barryz"",""html_url"":""https://github.com/barryz"",""followers_url"":""https://api.github.com/users/barryz/followers"",""following_url"":""https://api.github.com/users/barryz/following{/other_user}"",""gists_url"":""https://api.github.com/users/barryz/gists{/gist_id}"",""starred_url"":""https://api.github.com/users/barryz/starred{/owner}{/repo}"",""subscriptions_url"":""https://api.github.com/users/barryz/subscriptions"",""organizations_url"":""https://api.github.com/users/barryz/orgs"",""repos_url"":""https://api.github.com/users/barryz/repos"",""events_url"":""https://api.github.com/users/barryz/events{/privacy}"",""received_events_url"":""https://api.github.com/users/barryz/received_events"",""type"":""User"",""site_admin"":false},""labels"":[{""id"":937861454,""node_id"":""MDU6TGFiZWw5Mzc4NjE0NTQ="",""url"":""https://api.github.com/repos/panjf2000/ants/labels/enhancement"",""name"":""enhancement"",""color"":""3eede7"",""default"":true,""description"":""New feature or request""}],""state"":""closed"",""locked"":false,""assignee"":null,""assignees"":[],""milestone"":{""url"": ""https://api.github.com/repos/apache/incubator-devlake/milestones/7"",""html_url"": ""https://github.com/apache/incubator-devlake/milestone/7"",""labels_url"": ""https://api.github.com/repos/apache/incubator-devlake/milestones/7/labels"",""id"": 7856149,""node_id"": ""MI_kwDOFuUSzs4Ad-AV"",""number"": 7,""title"": ""v0.11.0"",""description"": null,""creator"": {""login"": ""Startrekzky"",""id"": 14050754,""node_id"": ""MDQ6VXNlcjE0MDUwNzU0"",""avatar_url"": ""https://avatars.githubusercontent.com/u/14050754?v=4"",""gravatar_id"": """",""url"": ""https://api.github.com/users/Startrekzky"",""html_url"": ""https://github.com/Startrekzky"",""followers_url"": ""https://api.github.com/users/Startrekzky/followers"",""following_url"": ""https://api.github.com/users/Startrekzky/following{/other_user}"",""gists_url"": ""https://api.github.com/users/Startrekzky/gists{/gist_id}"",""starred_url"": ""https://api.github.com/users/Startrekzky/starred{/owner}{/repo}"",""subscriptions_url"": ""https://api.github.com/users/Startrekzky/subscriptions"",""organizations_url"": ""https://api.github.com/users/Startrekzky/orgs"",""repos_url"": ""https://api.github.com/users/Startrekzky/repos"",""events_url"": ""https://api.github.com/users/Startrekzky/events{/privacy}"",""received_events_url"": ""https://api.github.com/users/Startrekzky/received_events"",""type"": ""User"",""site_admin"": false},""open_issues"": 2,""closed_issues"": 118,""state"": ""open"",""created_at"": ""2022-04-08T02:05:35Z"",""updated_at"": ""2022-06-24T01:34:37Z"",""due_on"": null,""closed_at"": null},""comments"":4,""created_at"":""2018-07-25T08:19:30Z"",""updated_at"":""2018-08-29T04:11:46Z"",""closed_at"":""2018-07-26T02:32:41Z"",""author_association"":""CONTRIBUTOR"",""active_lock_reason"":null,""draft"":false,""pull_request"":{""url"":""https://api.github.com/repos/panjf2000/ants/pulls/4"",""html_url"":""https://github.com/panjf2000/ants/pull/4"",""diff_url"":""https://github.com/panjf2000/ants/pull/4.diff"",""patch_url"":""https://github.com/panjf2000/ants/pull/4.patch"",""merged_at"":""2018-07-26T02:32:41Z""},""body"":""fix #3 \r\n* chinese , chinese , chinese \r\n* chinese `Pool` chinese `PoolFunc` chinese worker capacity\r\n* chinese "",""reactions"":{""url"":""https://api.github.com/repos/panjf2000/ants/issues/4/reactions"",""total_count"":0,""+1"":0,""-1"":0,""laugh"":0,""hooray"":0,""confused"":0,""heart"":0,""rocket"":0,""eyes"":0},""timeline_url"":""https://api.github.com/repos/panjf2000/ants/issues/4/timeline"",""performed_via_github_app"":null,""state_reason"":null}",https://api.github.com/repos/panjf2000/ants/issues?direction=asc&page=1&per_page=100&state=all,null,2022-06-13T15:35:54.530+00:00
-11,"{""ConnectionId"":1,""Name"":""panjf2000/ants""}","{""url"":""https://api.github.com/repos/panjf2000/ants/issues/5"",""repository_url"":""https://api.github.com/repos/panjf2000/ants"",""labels_url"":""https://api.github.com/repos/panjf2000/ants/issues/5/labels{/name}"",""comments_url"":""https://api.github.com/repos/panjf2000/ants/issues/5/comments"",""events_url"":""https://api.github.com/repos/panjf2000/ants/issues/5/events"",""html_url"":""https://github.com/panjf2000/ants/issues/5"",""id"":346842831,""node_id"":""MDU6SXNzdWUzNDY4NDI4MzE="",""number"":5,""title"":"" chinese <-p.freeSignal chinese "",""user"":{""login"":""pathbox"",""id"":8605102,""node_id"":""MDQ6VXNlcjg2MDUxMDI="",""avatar_url"":""https://avatars.githubusercontent.com/u/8605102?v=4"",""gravatar_id"":"""",""url"":""https://api.github.com/users/pathbox"",""html_url"":""https://github.com/pathbox"",""followers_url"":""https://api.github.com/users/pathbox/followers"",""following_url"":""https://api.github.com/users/pathbox/following{/other_user}"",""gists_url"":""https://api.github.com/users/pathbox/gists{/gist_id}"",""starred_url"":""https://api.github.com/users/pathbox/starred{/owner}{/repo}"",""subscriptions_url"":""https://api.github.com/users/pathbox/subscriptions"",""organizations_url"":""https://api.github.com/users/pathbox/orgs"",""repos_url"":""https://api.github.com/users/pathbox/repos"",""events_url"":""https://api.github.com/users/pathbox/events{/privacy}"",""received_events_url"":""https://api.github.com/users/pathbox/received_events"",""type"":""User"",""site_admin"":false},""labels"":[{""id"":937861458,""node_id"":""MDU6TGFiZWw5Mzc4NjE0NTg="",""url"":""https://api.github.com/repos/panjf2000/ants/labels/question"",""name"":""question"",""color"":""801dae"",""default"":true,""description"":""Further information is requested""}],""state"":""closed"",""locked"":false,""assignee"":null,""assignees"":[],""milestone"":{""url"": ""https://api.github.com/repos/apache/incubator-devlake/milestones/7"",""html_url"": ""https://github.com/apache/incubator-devlake/milestone/7"",""labels_url"": ""https://api.github.com/repos/apache/incubator-devlake/milestones/7/labels"",""id"": 7856149,""node_id"": ""MI_kwDOFuUSzs4Ad-AV"",""number"": 7,""title"": ""v0.11.0"",""description"": null,""creator"": {""login"": ""Startrekzky"",""id"": 14050754,""node_id"": ""MDQ6VXNlcjE0MDUwNzU0"",""avatar_url"": ""https://avatars.githubusercontent.com/u/14050754?v=4"",""gravatar_id"": """",""url"": ""https://api.github.com/users/Startrekzky"",""html_url"": ""https://github.com/Startrekzky"",""followers_url"": ""https://api.github.com/users/Startrekzky/followers"",""following_url"": ""https://api.github.com/users/Startrekzky/following{/other_user}"",""gists_url"": ""https://api.github.com/users/Startrekzky/gists{/gist_id}"",""starred_url"": ""https://api.github.com/users/Startrekzky/starred{/owner}{/repo}"",""subscriptions_url"": ""https://api.github.com/users/Startrekzky/subscriptions"",""organizations_url"": ""https://api.github.com/users/Startrekzky/orgs"",""repos_url"": ""https://api.github.com/users/Startrekzky/repos"",""events_url"": ""https://api.github.com/users/Startrekzky/events{/privacy}"",""received_events_url"": ""https://api.github.com/users/Startrekzky/received_events"",""type"": ""User"",""site_admin"": false},""open_issues"": 2,""closed_issues"": 118,""state"": ""open"",""created_at"": ""2022-04-08T02:05:35Z"",""updated_at"": ""2022-06-24T01:34:37Z"",""due_on"": null,""closed_at"": null},""comments"":2,""created_at"":""2018-08-02T03:09:57Z"",""updated_at"":""2018-08-10T04:06:36Z"",""closed_at"":""2018-08-03T15:32:00Z"",""author_association"":""NONE"",""active_lock_reason"":null,""body"":""Hi,\r\n chinese , chinese `<-p.freeSignal` chinese 。 chinese ,freeSignal chinese , chinese `putWorker` chinese `p.freeSignal <- sig{}`\r\n\r\n chinese \r\n```\r\nfunc (p *Pool) getWorker() *Worker {\r\n\tvar w *Worker\r\n\twaiting := false\r\n\r\n\tp.lock.Lock()\r\n\tidleWorkers := p.workers\r\n\tn := len(idleWorkers) - 1\r\n\tif n < 0 { // chinese pool chinese worker chinese \r\n\t\twaiting = p.Running() >= p.Cap()\r\n\t} else { // chinese pool chinese worker\r\n\t\t<-p.freeSignal \r\n\t\tw = idleWorkers[n] \r\n\t\tidleWorkers[n] = nil\r\n\t\tp.workers = idleWorkers[:n]\r\n\t}\r\n\tp.lock.Unlock()\r\n\r\n\r\nfunc (p *Pool) Release() error {\r\n\tp.once.Do(func() { // chinese \r\n\t\tp.release <- sig{}\r\n\t\tp.lock.Lock()\r\n\t\tidleWorkers := p.workers\r\n\t\tfor i, w := range idleWorkers {\r\n\t\t\t<-p.freeSignal\r\n\t\t\tw.task <- nil\r\n\t\t\tidleWorkers[i] = nil\r\n\t\t}\r\n\t\tp.workers = nil\r\n\t\tp.lock.Unlock()\r\n\t})\r\n\treturn nil\r\n}\r\n\r\n```\r\n\r\n chinese `<-p.freeSignal`, chinese putWorker chinese ? chinese putWorker chinese , chinese , chinese idleWorkers chinese worker chinese \r\n\r\n chinese ? chinese "",""reactions"":{""url"":""https://api.github.com/repos/panjf2000/ants/issues/5/reactions"",""total_count"":0,""+1"":0,""-1"":0,""laugh"":0,""hooray"":0,""confused"":0,""heart"":0,""rocket"":0,""eyes"":0},""timeline_url"":""https://api.github.com/repos/panjf2000/ants/issues/5/timeline"",""performed_via_github_app"":null,""state_reason"":""completed""}",https://api.github.com/repos/panjf2000/ants/issues?direction=asc&page=1&per_page=100&state=all,null,2022-06-13T15:35:54.530+00:00
-12,"{""ConnectionId"":1,""Name"":""panjf2000/ants""}","{""url"":""https://api.github.com/repos/panjf2000/ants/issues/6"",""repository_url"":""https://api.github.com/repos/panjf2000/ants"",""labels_url"":""https://api.github.com/repos/panjf2000/ants/issues/6/labels{/name}"",""comments_url"":""https://api.github.com/repos/panjf2000/ants/issues/6/comments"",""events_url"":""https://api.github.com/repos/panjf2000/ants/issues/6/events"",""html_url"":""https://github.com/panjf2000/ants/issues/6"",""id"":347255859,""node_id"":""MDU6SXNzdWUzNDcyNTU4NTk="",""number"":6,""title"":"" chinese bug"",""user"":{""login"":""lovelly"",""id"":13118848,""node_id"":""MDQ6VXNlcjEzMTE4ODQ4"",""avatar_url"":""https://avatars.githubusercontent.com/u/13118848?v=4"",""gravatar_id"":"""",""url"":""https://api.github.com/users/lovelly"",""html_url"":""https://github.com/lovelly"",""followers_url"":""https://api.github.com/users/lovelly/followers"",""following_url"":""https://api.github.com/users/lovelly/following{/other_user}"",""gists_url"":""https://api.github.com/users/lovelly/gists{/gist_id}"",""starred_url"":""https://api.github.com/users/lovelly/starred{/owner}{/repo}"",""subscriptions_url"":""https://api.github.com/users/lovelly/subscriptions"",""organizations_url"":""https://api.github.com/users/lovelly/orgs"",""repos_url"":""https://api.github.com/users/lovelly/repos"",""events_url"":""https://api.github.com/users/lovelly/events{/privacy}"",""received_events_url"":""https://api.github.com/users/lovelly/received_events"",""type"":""User"",""site_admin"":false},""labels"":[{""id"":937861452,""node_id"":""MDU6TGFiZWw5Mzc4NjE0NTI="",""url"":""https://api.github.com/repos/panjf2000/ants/labels/bug"",""name"":""bug"",""color"":""d73a4a"",""default"":true,""description"":""Something isn't working""}],""state"":""closed"",""locked"":false,""assignee"":null,""assignees"":[],""milestone"":{""url"": ""https://api.github.com/repos/apache/incubator-devlake/milestones/7"",""html_url"": ""https://github.com/apache/incubator-devlake/milestone/7"",""labels_url"": ""https://api.github.com/repos/apache/incubator-devlake/milestones/7/labels"",""id"": 7856149,""node_id"": ""MI_kwDOFuUSzs4Ad-AV"",""number"": 7,""title"": ""v0.11.0"",""description"": null,""creator"": {""login"": ""Startrekzky"",""id"": 14050754,""node_id"": ""MDQ6VXNlcjE0MDUwNzU0"",""avatar_url"": ""https://avatars.githubusercontent.com/u/14050754?v=4"",""gravatar_id"": """",""url"": ""https://api.github.com/users/Startrekzky"",""html_url"": ""https://github.com/Startrekzky"",""followers_url"": ""https://api.github.com/users/Startrekzky/followers"",""following_url"": ""https://api.github.com/users/Startrekzky/following{/other_user}"",""gists_url"": ""https://api.github.com/users/Startrekzky/gists{/gist_id}"",""starred_url"": ""https://api.github.com/users/Startrekzky/starred{/owner}{/repo}"",""subscriptions_url"": ""https://api.github.com/users/Startrekzky/subscriptions"",""organizations_url"": ""https://api.github.com/users/Startrekzky/orgs"",""repos_url"": ""https://api.github.com/users/Startrekzky/repos"",""events_url"": ""https://api.github.com/users/Startrekzky/events{/privacy}"",""received_events_url"": ""https://api.github.com/users/Startrekzky/received_events"",""type"": ""User"",""site_admin"": false},""open_issues"": 2,""closed_issues"": 118,""state"": ""open"",""created_at"": ""2022-04-08T02:05:35Z"",""updated_at"": ""2022-06-24T01:34:37Z"",""due_on"": null,""closed_at"": null},""comments"":8,""created_at"":""2018-08-03T04:32:28Z"",""updated_at"":""2018-08-04T10:18:41Z"",""closed_at"":""2018-08-04T10:18:41Z"",""author_association"":""NONE"",""active_lock_reason"":null,""body"":""func (p *Pool) getWorker() *Worker chinese 199 chinese \r\n chinese , chinese \r\n\r\n\tp.lock.Unlock()\r\n\t\t<-p.freeSignal\r\n\t\tp.lock.Lock()"",""reactions"":{""url"":""https://api.github.com/repos/panjf2000/ants/issues/6/reactions"",""total_count"":0,""+1"":0,""-1"":0,""laugh"":0,""hooray"":0,""confused"":0,""heart"":0,""rocket"":0,""eyes"":0},""timeline_url"":""https://api.github.com/repos/panjf2000/ants/issues/6/timeline"",""performed_via_github_app"":null,""state_reason"":""completed""}",https://api.github.com/repos/panjf2000/ants/issues?direction=asc&page=1&per_page=100&state=all,null,2022-06-13T15:35:54.530+00:00
-13,"{""ConnectionId"":1,""Name"":""panjf2000/ants""}","{""url"":""https://api.github.com/repos/panjf2000/ants/issues/7"",""repository_url"":""https://api.github.com/repos/panjf2000/ants"",""labels_url"":""https://api.github.com/repos/panjf2000/ants/issues/7/labels{/name}"",""comments_url"":""https://api.github.com/repos/panjf2000/ants/issues/7/comments"",""events_url"":""https://api.github.com/repos/panjf2000/ants/issues/7/events"",""html_url"":""https://github.com/panjf2000/ants/issues/7"",""id"":348630179,""node_id"":""MDU6SXNzdWUzNDg2MzAxNzk="",""number"":7,""title"":"" chinese "",""user"":{""login"":""huiwq1990"",""id"":4555057,""node_id"":""MDQ6VXNlcjQ1NTUwNTc="",""avatar_url"":""https://avatars.githubusercontent.com/u/4555057?v=4"",""gravatar_id"":"""",""url"":""https://api.github.com/users/huiwq1990"",""html_url"":""https://github.com/huiwq1990"",""followers_url"":""https://api.github.com/users/huiwq1990/followers"",""following_url"":""https://api.github.com/users/huiwq1990/following{/other_user}"",""gists_url"":""https://api.github.com/users/huiwq1990/gists{/gist_id}"",""starred_url"":""https://api.github.com/users/huiwq1990/starred{/owner}{/repo}"",""subscriptions_url"":""https://api.github.com/users/huiwq1990/subscriptions"",""organizations_url"":""https://api.github.com/users/huiwq1990/orgs"",""repos_url"":""https://api.github.com/users/huiwq1990/repos"",""events_url"":""https://api.github.com/users/huiwq1990/events{/privacy}"",""received_events_url"":""https://api.github.com/users/huiwq1990/received_events"",""type"":""User"",""site_admin"":false},""labels"":[{""id"":937861452,""node_id"":""MDU6TGFiZWw5Mzc4NjE0NTI="",""url"":""https://api.github.com/repos/panjf2000/ants/labels/bug"",""name"":""bug"",""color"":""d73a4a"",""default"":true,""description"":""Something isn't working""}],""state"":""closed"",""locked"":false,""assignee"":null,""assignees"":[],""milestone"":{""url"": ""https://api.github.com/repos/apache/incubator-devlake/milestones/7"",""html_url"": ""https://github.com/apache/incubator-devlake/milestone/7"",""labels_url"": ""https://api.github.com/repos/apache/incubator-devlake/milestones/7/labels"",""id"": 7856149,""node_id"": ""MI_kwDOFuUSzs4Ad-AV"",""number"": 7,""title"": ""v0.11.0"",""description"": null,""creator"": {""login"": ""Startrekzky"",""id"": 14050754,""node_id"": ""MDQ6VXNlcjE0MDUwNzU0"",""avatar_url"": ""https://avatars.githubusercontent.com/u/14050754?v=4"",""gravatar_id"": """",""url"": ""https://api.github.com/users/Startrekzky"",""html_url"": ""https://github.com/Startrekzky"",""followers_url"": ""https://api.github.com/users/Startrekzky/followers"",""following_url"": ""https://api.github.com/users/Startrekzky/following{/other_user}"",""gists_url"": ""https://api.github.com/users/Startrekzky/gists{/gist_id}"",""starred_url"": ""https://api.github.com/users/Startrekzky/starred{/owner}{/repo}"",""subscriptions_url"": ""https://api.github.com/users/Startrekzky/subscriptions"",""organizations_url"": ""https://api.github.com/users/Startrekzky/orgs"",""repos_url"": ""https://api.github.com/users/Startrekzky/repos"",""events_url"": ""https://api.github.com/users/Startrekzky/events{/privacy}"",""received_events_url"": ""https://api.github.com/users/Startrekzky/received_events"",""type"": ""User"",""site_admin"": false},""open_issues"": 2,""closed_issues"": 118,""state"": ""open"",""created_at"": ""2022-04-08T02:05:35Z"",""updated_at"": ""2022-06-24T01:34:37Z"",""due_on"": null,""closed_at"": null},""comments"":4,""created_at"":""2018-08-08T08:43:15Z"",""updated_at"":""2018-08-10T04:06:04Z"",""closed_at"":""2018-08-10T04:06:04Z"",""author_association"":""NONE"",""active_lock_reason"":null,""body"":"" chinese , chinese 。 chinese ants chinese , chinese 。 chinese \r\n\r\n chinese periodicallyPurge chinese \r\n\r\n\r\n### chinese \r\n\r\n chinese n==0 chinese \r\n```\r\nif n > 0 {\r\n\tn++\r\n\tp.workers = idleWorkers[n:]\r\n}\r\n```\r\n\r\n\r\n### chinese \r\n```\r\npackage main\r\n\r\nimport (\r\n\t\""github.com/panjf2000/ants\""\r\n\t\""fmt\""\r\n\t\""time\""\r\n\t\""strconv\""\r\n)\r\n\r\nfunc main() {\r\n\r\n\tpool,err := ants.NewPool(100000)\r\n\r\n\tif err != nil {\r\n\t\tpanic(err)\r\n\t}\r\n\r\n\tfor i:=0;i<10000;i++{\r\n\t\tpool.Submit(\r\n\t\t\tfunc() error {\r\n\t\t\t\ttime.Sleep(1 * time.Millisecond)\r\n\t\t\t\tfmt.Println(strconv.Itoa(i))\r\n\t\t\t\treturn nil\r\n\t\t\t})\r\n\t}\r\n\r\n\tfor{\r\n\t\tpool.Submit(\r\n\t\t\tfunc() error {\r\n\t\t\t\ttime.Sleep(10 * time.Millisecond)\r\n\t\t\treturn nil\r\n\t\t})\r\n\t\ttime.Sleep(1 * time.Millisecond)\r\n\t}\r\n}\r\n```"",""reactions"":{""url"":""https://api.github.com/repos/panjf2000/ants/issues/7/reactions"",""total_count"":0,""+1"":0,""-1"":0,""laugh"":0,""hooray"":0,""confused"":0,""heart"":0,""rocket"":0,""eyes"":0},""timeline_url"":""https://api.github.com/repos/panjf2000/ants/issues/7/timeline"",""performed_via_github_app"":null,""state_reason"":""completed""}",https://api.github.com/repos/panjf2000/ants/issues?direction=asc&page=1&per_page=100&state=all,null,2022-06-13T15:35:54.530+00:00
-14,"{""ConnectionId"":1,""Name"":""panjf2000/ants""}","{""url"":""https://api.github.com/repos/panjf2000/ants/issues/8"",""repository_url"":""https://api.github.com/repos/panjf2000/ants"",""labels_url"":""https://api.github.com/repos/panjf2000/ants/issues/8/labels{/name}"",""comments_url"":""https://api.github.com/repos/panjf2000/ants/issues/8/comments"",""events_url"":""https://api.github.com/repos/panjf2000/ants/issues/8/events"",""html_url"":""https://github.com/panjf2000/ants/pull/8"",""id"":354962058,""node_id"":""MDExOlB1bGxSZXF1ZXN0MjExNjAzNTgz"",""number"":8,""title"":""fix goroutine leak"",""user"":{""login"":""hongli-my"",""id"":8597823,""node_id"":""MDQ6VXNlcjg1OTc4MjM="",""avatar_url"":""https://avatars.githubusercontent.com/u/8597823?v=4"",""gravatar_id"":"""",""url"":""https://api.github.com/users/hongli-my"",""html_url"":""https://github.com/hongli-my"",""followers_url"":""https://api.github.com/users/hongli-my/followers"",""following_url"":""https://api.github.com/users/hongli-my/following{/other_user}"",""gists_url"":""https://api.github.com/users/hongli-my/gists{/gist_id}"",""starred_url"":""https://api.github.com/users/hongli-my/starred{/owner}{/repo}"",""subscriptions_url"":""https://api.github.com/users/hongli-my/subscriptions"",""organizations_url"":""https://api.github.com/users/hongli-my/orgs"",""repos_url"":""https://api.github.com/users/hongli-my/repos"",""events_url"":""https://api.github.com/users/hongli-my/events{/privacy}"",""received_events_url"":""https://api.github.com/users/hongli-my/received_events"",""type"":""User"",""site_admin"":false},""labels"":[{""id"":937861452,""node_id"":""MDU6TGFiZWw5Mzc4NjE0NTI="",""url"":""https://api.github.com/repos/panjf2000/ants/labels/bug"",""name"":""bug"",""color"":""d73a4a"",""default"":true,""description"":""Something isn't working""}],""state"":""closed"",""locked"":false,""assignee"":null,""assignees"":[],""milestone"":{""url"": ""https://api.github.com/repos/apache/incubator-devlake/milestones/7"",""html_url"": ""https://github.com/apache/incubator-devlake/milestone/7"",""labels_url"": ""https://api.github.com/repos/apache/incubator-devlake/milestones/7/labels"",""id"": 7856149,""node_id"": ""MI_kwDOFuUSzs4Ad-AV"",""number"": 7,""title"": ""v0.11.0"",""description"": null,""creator"": {""login"": ""Startrekzky"",""id"": 14050754,""node_id"": ""MDQ6VXNlcjE0MDUwNzU0"",""avatar_url"": ""https://avatars.githubusercontent.com/u/14050754?v=4"",""gravatar_id"": """",""url"": ""https://api.github.com/users/Startrekzky"",""html_url"": ""https://github.com/Startrekzky"",""followers_url"": ""https://api.github.com/users/Startrekzky/followers"",""following_url"": ""https://api.github.com/users/Startrekzky/following{/other_user}"",""gists_url"": ""https://api.github.com/users/Startrekzky/gists{/gist_id}"",""starred_url"": ""https://api.github.com/users/Startrekzky/starred{/owner}{/repo}"",""subscriptions_url"": ""https://api.github.com/users/Startrekzky/subscriptions"",""organizations_url"": ""https://api.github.com/users/Startrekzky/orgs"",""repos_url"": ""https://api.github.com/users/Startrekzky/repos"",""events_url"": ""https://api.github.com/users/Startrekzky/events{/privacy}"",""received_events_url"": ""https://api.github.com/users/Startrekzky/received_events"",""type"": ""User"",""site_admin"": false},""open_issues"": 2,""closed_issues"": 118,""state"": ""open"",""created_at"": ""2022-04-08T02:05:35Z"",""updated_at"": ""2022-06-24T01:34:37Z"",""due_on"": null,""closed_at"": null},""comments"":8,""created_at"":""2018-08-29T01:35:54Z"",""updated_at"":""2018-10-30T00:12:13Z"",""closed_at"":""2018-10-30T00:12:13Z"",""author_association"":""NONE"",""active_lock_reason"":null,""draft"":false,""pull_request"":{""url"":""https://api.github.com/repos/panjf2000/ants/pulls/8"",""html_url"":""https://github.com/panjf2000/ants/pull/8"",""diff_url"":""https://github.com/panjf2000/ants/pull/8.diff"",""patch_url"":""https://github.com/panjf2000/ants/pull/8.patch"",""merged_at"":null},""body"":""n++, will cause workers[0] leak"",""reactions"":{""url"":""https://api.github.com/repos/panjf2000/ants/issues/8/reactions"",""total_count"":0,""+1"":0,""-1"":0,""laugh"":0,""hooray"":0,""confused"":0,""heart"":0,""rocket"":0,""eyes"":0},""timeline_url"":""https://api.github.com/repos/panjf2000/ants/issues/8/timeline"",""performed_via_github_app"":null,""state_reason"":null}",https://api.github.com/repos/panjf2000/ants/issues?direction=asc&page=1&per_page=100&state=all,null,2022-06-13T15:35:54.530+00:00
-15,"{""ConnectionId"":1,""Name"":""panjf2000/ants""}","{""url"":""https://api.github.com/repos/panjf2000/ants/issues/9"",""repository_url"":""https://api.github.com/repos/panjf2000/ants"",""labels_url"":""https://api.github.com/repos/panjf2000/ants/issues/9/labels{/name}"",""comments_url"":""https://api.github.com/repos/panjf2000/ants/issues/9/comments"",""events_url"":""https://api.github.com/repos/panjf2000/ants/issues/9/events"",""html_url"":""https://github.com/panjf2000/ants/pull/9"",""id"":355844412,""node_id"":""MDExOlB1bGxSZXF1ZXN0MjEyMjc3OTA3"",""number"":9,""title"":""Update pool.go"",""user"":{""login"":""Nonnnnnnnnn"",""id"":42808204,""node_id"":""MDQ6VXNlcjQyODA4MjA0"",""avatar_url"":""https://avatars.githubusercontent.com/u/42808204?v=4"",""gravatar_id"":"""",""url"":""https://api.github.com/users/Nonnnnnnnnn"",""html_url"":""https://github.com/Nonnnnnnnnn"",""followers_url"":""https://api.github.com/users/Nonnnnnnnnn/followers"",""following_url"":""https://api.github.com/users/Nonnnnnnnnn/following{/other_user}"",""gists_url"":""https://api.github.com/users/Nonnnnnnnnn/gists{/gist_id}"",""starred_url"":""https://api.github.com/users/Nonnnnnnnnn/starred{/owner}{/repo}"",""subscriptions_url"":""https://api.github.com/users/Nonnnnnnnnn/subscriptions"",""organizations_url"":""https://api.github.com/users/Nonnnnnnnnn/orgs"",""repos_url"":""https://api.github.com/users/Nonnnnnnnnn/repos"",""events_url"":""https://api.github.com/users/Nonnnnnnnnn/events{/privacy}"",""received_events_url"":""https://api.github.com/users/Nonnnnnnnnn/received_events"",""type"":""User"",""site_admin"":false},""labels"":[],""state"":""closed"",""locked"":false,""assignee"":null,""assignees"":[],""milestone"":{""url"": ""https://api.github.com/repos/apache/incubator-devlake/milestones/7"",""html_url"": ""https://github.com/apache/incubator-devlake/milestone/7"",""labels_url"": ""https://api.github.com/repos/apache/incubator-devlake/milestones/7/labels"",""id"": 7856149,""node_id"": ""MI_kwDOFuUSzs4Ad-AV"",""number"": 7,""title"": ""v0.11.0"",""description"": null,""creator"": {""login"": ""Startrekzky"",""id"": 14050754,""node_id"": ""MDQ6VXNlcjE0MDUwNzU0"",""avatar_url"": ""https://avatars.githubusercontent.com/u/14050754?v=4"",""gravatar_id"": """",""url"": ""https://api.github.com/users/Startrekzky"",""html_url"": ""https://github.com/Startrekzky"",""followers_url"": ""https://api.github.com/users/Startrekzky/followers"",""following_url"": ""https://api.github.com/users/Startrekzky/following{/other_user}"",""gists_url"": ""https://api.github.com/users/Startrekzky/gists{/gist_id}"",""starred_url"": ""https://api.github.com/users/Startrekzky/starred{/owner}{/repo}"",""subscriptions_url"": ""https://api.github.com/users/Startrekzky/subscriptions"",""organizations_url"": ""https://api.github.com/users/Startrekzky/orgs"",""repos_url"": ""https://api.github.com/users/Startrekzky/repos"",""events_url"": ""https://api.github.com/users/Startrekzky/events{/privacy}"",""received_events_url"": ""https://api.github.com/users/Startrekzky/received_events"",""type"": ""User"",""site_admin"": false},""open_issues"": 2,""closed_issues"": 118,""state"": ""open"",""created_at"": ""2022-04-08T02:05:35Z"",""updated_at"": ""2022-06-24T01:34:37Z"",""due_on"": null,""closed_at"": null},""comments"":0,""created_at"":""2018-08-31T05:29:36Z"",""updated_at"":""2018-08-31T13:40:33Z"",""closed_at"":""2018-08-31T13:40:33Z"",""author_association"":""NONE"",""active_lock_reason"":null,""draft"":false,""pull_request"":{""url"":""https://api.github.com/repos/panjf2000/ants/pulls/9"",""html_url"":""https://github.com/panjf2000/ants/pull/9"",""diff_url"":""https://github.com/panjf2000/ants/pull/9.diff"",""patch_url"":""https://github.com/panjf2000/ants/pull/9.patch"",""merged_at"":null},""body"":""# chinese \r\n\tHopefully:\r\n\tchildren := []*child{C1,C2,C3,C4,C5,C6,C7}\r\n\tIn fact:\r\n\tchildren := []*child{C1,C4,C2,C3,C5,C6,C7}"",""reactions"":{""url"":""https://api.github.com/repos/panjf2000/ants/issues/9/reactions"",""total_count"":0,""+1"":0,""-1"":0,""laugh"":0,""hooray"":0,""confused"":0,""heart"":0,""rocket"":0,""eyes"":0},""timeline_url"":""https://api.github.com/repos/panjf2000/ants/issues/9/timeline"",""performed_via_github_app"":null,""state_reason"":null}",https://api.github.com/repos/panjf2000/ants/issues?direction=asc&page=1&per_page=100&state=all,null,2022-06-13T15:35:54.530+00:00
-16,"{""ConnectionId"":1,""Name"":""panjf2000/ants""}","{""url"":""https://api.github.com/repos/panjf2000/ants/issues/10"",""repository_url"":""https://api.github.com/repos/panjf2000/ants"",""labels_url"":""https://api.github.com/repos/panjf2000/ants/issues/10/labels{/name}"",""comments_url"":""https://api.github.com/repos/panjf2000/ants/issues/10/comments"",""events_url"":""https://api.github.com/repos/panjf2000/ants/issues/10/events"",""html_url"":""https://github.com/panjf2000/ants/issues/10"",""id"":356703393,""node_id"":""MDU6SXNzdWUzNTY3MDMzOTM="",""number"":10,""title"":"" chinese worker chinese "",""user"":{""login"":""Moonlight-Zhao"",""id"":11763614,""node_id"":""MDQ6VXNlcjExNzYzNjE0"",""avatar_url"":""https://avatars.githubusercontent.com/u/11763614?v=4"",""gravatar_id"":"""",""url"":""https://api.github.com/users/Moonlight-Zhao"",""html_url"":""https://github.com/Moonlight-Zhao"",""followers_url"":""https://api.github.com/users/Moonlight-Zhao/followers"",""following_url"":""https://api.github.com/users/Moonlight-Zhao/following{/other_user}"",""gists_url"":""https://api.github.com/users/Moonlight-Zhao/gists{/gist_id}"",""starred_url"":""https://api.github.com/users/Moonlight-Zhao/starred{/owner}{/repo}"",""subscriptions_url"":""https://api.github.com/users/Moonlight-Zhao/subscriptions"",""organizations_url"":""https://api.github.com/users/Moonlight-Zhao/orgs"",""repos_url"":""https://api.github.com/users/Moonlight-Zhao/repos"",""events_url"":""https://api.github.com/users/Moonlight-Zhao/events{/privacy}"",""received_events_url"":""https://api.github.com/users/Moonlight-Zhao/received_events"",""type"":""User"",""site_admin"":false},""labels"":[{""id"":937861458,""node_id"":""MDU6TGFiZWw5Mzc4NjE0NTg="",""url"":""https://api.github.com/repos/panjf2000/ants/labels/question"",""name"":""question"",""color"":""801dae"",""default"":true,""description"":""Further information is requested""}],""state"":""closed"",""locked"":false,""assignee"":null,""assignees"":[],""milestone"":{""url"": ""https://api.github.com/repos/apache/incubator-devlake/milestones/7"",""html_url"": ""https://github.com/apache/incubator-devlake/milestone/7"",""labels_url"": ""https://api.github.com/repos/apache/incubator-devlake/milestones/7/labels"",""id"": 7856149,""node_id"": ""MI_kwDOFuUSzs4Ad-AV"",""number"": 7,""title"": ""v0.11.0"",""description"": null,""creator"": {""login"": ""Startrekzky"",""id"": 14050754,""node_id"": ""MDQ6VXNlcjE0MDUwNzU0"",""avatar_url"": ""https://avatars.githubusercontent.com/u/14050754?v=4"",""gravatar_id"": """",""url"": ""https://api.github.com/users/Startrekzky"",""html_url"": ""https://github.com/Startrekzky"",""followers_url"": ""https://api.github.com/users/Startrekzky/followers"",""following_url"": ""https://api.github.com/users/Startrekzky/following{/other_user}"",""gists_url"": ""https://api.github.com/users/Startrekzky/gists{/gist_id}"",""starred_url"": ""https://api.github.com/users/Startrekzky/starred{/owner}{/repo}"",""subscriptions_url"": ""https://api.github.com/users/Startrekzky/subscriptions"",""organizations_url"": ""https://api.github.com/users/Startrekzky/orgs"",""repos_url"": ""https://api.github.com/users/Startrekzky/repos"",""events_url"": ""https://api.github.com/users/Startrekzky/events{/privacy}"",""received_events_url"": ""https://api.github.com/users/Startrekzky/received_events"",""type"": ""User"",""site_admin"": false},""open_issues"": 2,""closed_issues"": 118,""state"": ""open"",""created_at"": ""2022-04-08T02:05:35Z"",""updated_at"": ""2022-06-24T01:34:37Z"",""due_on"": null,""closed_at"": null},""comments"":11,""created_at"":""2018-09-04T08:26:55Z"",""updated_at"":""2018-09-29T11:45:00Z"",""closed_at"":""2018-09-29T11:45:00Z"",""author_association"":""NONE"",""active_lock_reason"":null,""body"":"" chinese cpu chinese ?"",""reactions"":{""url"":""https://api.github.com/repos/panjf2000/ants/issues/10/reactions"",""total_count"":0,""+1"":0,""-1"":0,""laugh"":0,""hooray"":0,""confused"":0,""heart"":0,""rocket"":0,""eyes"":0},""timeline_url"":""https://api.github.com/repos/panjf2000/ants/issues/10/timeline"",""performed_via_github_app"":null,""state_reason"":""completed""}",https://api.github.com/repos/panjf2000/ants/issues?direction=asc&page=1&per_page=100&state=all,null,2022-06-13T15:35:54.530+00:00
-17,"{""ConnectionId"":1,""Name"":""panjf2000/ants""}","{""url"":""https://api.github.com/repos/panjf2000/ants/issues/11"",""repository_url"":""https://api.github.com/repos/panjf2000/ants"",""labels_url"":""https://api.github.com/repos/panjf2000/ants/issues/11/labels{/name}"",""comments_url"":""https://api.github.com/repos/panjf2000/ants/issues/11/comments"",""events_url"":""https://api.github.com/repos/panjf2000/ants/issues/11/events"",""html_url"":""https://github.com/panjf2000/ants/pull/11"",""id"":361233047,""node_id"":""MDExOlB1bGxSZXF1ZXN0MjE2MjU0NTk4"",""number"":11,""title"":""graceful exit"",""user"":{""login"":""shanhuhai5739"",""id"":3794113,""node_id"":""MDQ6VXNlcjM3OTQxMTM="",""avatar_url"":""https://avatars.githubusercontent.com/u/3794113?v=4"",""gravatar_id"":"""",""url"":""https://api.github.com/users/shanhuhai5739"",""html_url"":""https://github.com/shanhuhai5739"",""followers_url"":""https://api.github.com/users/shanhuhai5739/followers"",""following_url"":""https://api.github.com/users/shanhuhai5739/following{/other_user}"",""gists_url"":""https://api.github.com/users/shanhuhai5739/gists{/gist_id}"",""starred_url"":""https://api.github.com/users/shanhuhai5739/starred{/owner}{/repo}"",""subscriptions_url"":""https://api.github.com/users/shanhuhai5739/subscriptions"",""organizations_url"":""https://api.github.com/users/shanhuhai5739/orgs"",""repos_url"":""https://api.github.com/users/shanhuhai5739/repos"",""events_url"":""https://api.github.com/users/shanhuhai5739/events{/privacy}"",""received_events_url"":""https://api.github.com/users/shanhuhai5739/received_events"",""type"":""User"",""site_admin"":false},""labels"":[],""state"":""closed"",""locked"":false,""assignee"":null,""assignees"":[],""milestone"":{""url"": ""https://api.github.com/repos/apache/incubator-devlake/milestones/7"",""html_url"": ""https://github.com/apache/incubator-devlake/milestone/7"",""labels_url"": ""https://api.github.com/repos/apache/incubator-devlake/milestones/7/labels"",""id"": 7856149,""node_id"": ""MI_kwDOFuUSzs4Ad-AV"",""number"": 7,""title"": ""v0.11.0"",""description"": null,""creator"": {""login"": ""Startrekzky"",""id"": 14050754,""node_id"": ""MDQ6VXNlcjE0MDUwNzU0"",""avatar_url"": ""https://avatars.githubusercontent.com/u/14050754?v=4"",""gravatar_id"": """",""url"": ""https://api.github.com/users/Startrekzky"",""html_url"": ""https://github.com/Startrekzky"",""followers_url"": ""https://api.github.com/users/Startrekzky/followers"",""following_url"": ""https://api.github.com/users/Startrekzky/following{/other_user}"",""gists_url"": ""https://api.github.com/users/Startrekzky/gists{/gist_id}"",""starred_url"": ""https://api.github.com/users/Startrekzky/starred{/owner}{/repo}"",""subscriptions_url"": ""https://api.github.com/users/Startrekzky/subscriptions"",""organizations_url"": ""https://api.github.com/users/Startrekzky/orgs"",""repos_url"": ""https://api.github.com/users/Startrekzky/repos"",""events_url"": ""https://api.github.com/users/Startrekzky/events{/privacy}"",""received_events_url"": ""https://api.github.com/users/Startrekzky/received_events"",""type"": ""User"",""site_admin"": false},""open_issues"": 2,""closed_issues"": 118,""state"": ""open"",""created_at"": ""2022-04-08T02:05:35Z"",""updated_at"": ""2022-06-24T01:34:37Z"",""due_on"": null,""closed_at"": null},""comments"":0,""created_at"":""2018-09-18T10:15:01Z"",""updated_at"":""2018-12-03T03:52:35Z"",""closed_at"":""2018-12-03T03:52:35Z"",""author_association"":""NONE"",""active_lock_reason"":null,""draft"":false,""pull_request"":{""url"":""https://api.github.com/repos/panjf2000/ants/pulls/11"",""html_url"":""https://github.com/panjf2000/ants/pull/11"",""diff_url"":""https://github.com/panjf2000/ants/pull/11.diff"",""patch_url"":""https://github.com/panjf2000/ants/pull/11.patch"",""merged_at"":null},""body"":""graceful exit"",""reactions"":{""url"":""https://api.github.com/repos/panjf2000/ants/issues/11/reactions"",""total_count"":0,""+1"":0,""-1"":0,""laugh"":0,""hooray"":0,""confused"":0,""heart"":0,""rocket"":0,""eyes"":0},""timeline_url"":""https://api.github.com/repos/panjf2000/ants/issues/11/timeline"",""performed_via_github_app"":null,""state_reason"":null}",https://api.github.com/repos/panjf2000/ants/issues?direction=asc&page=1&per_page=100&state=all,null,2022-06-13T15:35:54.530+00:00
-18,"{""ConnectionId"":1,""Name"":""panjf2000/ants""}","{""url"":""https://api.github.com/repos/panjf2000/ants/issues/12"",""repository_url"":""https://api.github.com/repos/panjf2000/ants"",""labels_url"":""https://api.github.com/repos/panjf2000/ants/issues/12/labels{/name}"",""comments_url"":""https://api.github.com/repos/panjf2000/ants/issues/12/comments"",""events_url"":""https://api.github.com/repos/panjf2000/ants/issues/12/events"",""html_url"":""https://github.com/panjf2000/ants/issues/12"",""id"":364361014,""node_id"":""MDU6SXNzdWUzNjQzNjEwMTQ="",""number"":12,""title"":"" chinese , chinese tag chinese "",""user"":{""login"":""edcismybrother"",""id"":29452204,""node_id"":""MDQ6VXNlcjI5NDUyMjA0"",""avatar_url"":""https://avatars.githubusercontent.com/u/29452204?v=4"",""gravatar_id"":"""",""url"":""https://api.github.com/users/edcismybrother"",""html_url"":""https://github.com/edcismybrother"",""followers_url"":""https://api.github.com/users/edcismybrother/followers"",""following_url"":""https://api.github.com/users/edcismybrother/following{/other_user}"",""gists_url"":""https://api.github.com/users/edcismybrother/gists{/gist_id}"",""starred_url"":""https://api.github.com/users/edcismybrother/starred{/owner}{/repo}"",""subscriptions_url"":""https://api.github.com/users/edcismybrother/subscriptions"",""organizations_url"":""https://api.github.com/users/edcismybrother/orgs"",""repos_url"":""https://api.github.com/users/edcismybrother/repos"",""events_url"":""https://api.github.com/users/edcismybrother/events{/privacy}"",""received_events_url"":""https://api.github.com/users/edcismybrother/received_events"",""type"":""User"",""site_admin"":false},""labels"":[],""state"":""closed"",""locked"":false,""assignee"":null,""assignees"":[],""milestone"":{""url"": ""https://api.github.com/repos/apache/incubator-devlake/milestones/7"",""html_url"": ""https://github.com/apache/incubator-devlake/milestone/7"",""labels_url"": ""https://api.github.com/repos/apache/incubator-devlake/milestones/7/labels"",""id"": 7856149,""node_id"": ""MI_kwDOFuUSzs4Ad-AV"",""number"": 7,""title"": ""v0.11.0"",""description"": null,""creator"": {""login"": ""Startrekzky"",""id"": 14050754,""node_id"": ""MDQ6VXNlcjE0MDUwNzU0"",""avatar_url"": ""https://avatars.githubusercontent.com/u/14050754?v=4"",""gravatar_id"": """",""url"": ""https://api.github.com/users/Startrekzky"",""html_url"": ""https://github.com/Startrekzky"",""followers_url"": ""https://api.github.com/users/Startrekzky/followers"",""following_url"": ""https://api.github.com/users/Startrekzky/following{/other_user}"",""gists_url"": ""https://api.github.com/users/Startrekzky/gists{/gist_id}"",""starred_url"": ""https://api.github.com/users/Startrekzky/starred{/owner}{/repo}"",""subscriptions_url"": ""https://api.github.com/users/Startrekzky/subscriptions"",""organizations_url"": ""https://api.github.com/users/Startrekzky/orgs"",""repos_url"": ""https://api.github.com/users/Startrekzky/repos"",""events_url"": ""https://api.github.com/users/Startrekzky/events{/privacy}"",""received_events_url"": ""https://api.github.com/users/Startrekzky/received_events"",""type"": ""User"",""site_admin"": false},""open_issues"": 2,""closed_issues"": 118,""state"": ""open"",""created_at"": ""2022-04-08T02:05:35Z"",""updated_at"": ""2022-06-24T01:34:37Z"",""due_on"": null,""closed_at"": null},""comments"":4,""created_at"":""2018-09-27T08:32:25Z"",""updated_at"":""2019-04-21T08:19:58Z"",""closed_at"":""2018-09-28T06:05:58Z"",""author_association"":""NONE"",""active_lock_reason"":null,""body"":"" chinese dep chinese , chinese ants chinese , chinese tag chinese 。 chinese tag 3.6 chinese ed55924 chinese ,git chinese af376f1b chinese , chinese 5 chinese , chinese , chinese tag chinese 。( chinese )"",""reactions"":{""url"":""https://api.github.com/repos/panjf2000/ants/issues/12/reactions"",""total_count"":0,""+1"":0,""-1"":0,""laugh"":0,""hooray"":0,""confused"":0,""heart"":0,""rocket"":0,""eyes"":0},""timeline_url"":""https://api.github.com/repos/panjf2000/ants/issues/12/timeline"",""performed_via_github_app"":null,""state_reason"":""completed""}",https://api.github.com/repos/panjf2000/ants/issues?direction=asc&page=1&per_page=100&state=all,null,2022-06-13T15:35:54.530+00:00
-19,"{""ConnectionId"":1,""Name"":""panjf2000/ants""}","{""url"":""https://api.github.com/repos/panjf2000/ants/issues/13"",""repository_url"":""https://api.github.com/repos/panjf2000/ants"",""labels_url"":""https://api.github.com/repos/panjf2000/ants/issues/13/labels{/name}"",""comments_url"":""https://api.github.com/repos/panjf2000/ants/issues/13/comments"",""events_url"":""https://api.github.com/repos/panjf2000/ants/issues/13/events"",""html_url"":""https://github.com/panjf2000/ants/pull/13"",""id"":364853056,""node_id"":""MDExOlB1bGxSZXF1ZXN0MjE4OTM5ODA5"",""number"":13,""title"":"" chinese cpu chinese "",""user"":{""login"":""liyonglion"",""id"":12890888,""node_id"":""MDQ6VXNlcjEyODkwODg4"",""avatar_url"":""https://avatars.githubusercontent.com/u/12890888?v=4"",""gravatar_id"":"""",""url"":""https://api.github.com/users/liyonglion"",""html_url"":""https://github.com/liyonglion"",""followers_url"":""https://api.github.com/users/liyonglion/followers"",""following_url"":""https://api.github.com/users/liyonglion/following{/other_user}"",""gists_url"":""https://api.github.com/users/liyonglion/gists{/gist_id}"",""starred_url"":""https://api.github.com/users/liyonglion/starred{/owner}{/repo}"",""subscriptions_url"":""https://api.github.com/users/liyonglion/subscriptions"",""organizations_url"":""https://api.github.com/users/liyonglion/orgs"",""repos_url"":""https://api.github.com/users/liyonglion/repos"",""events_url"":""https://api.github.com/users/liyonglion/events{/privacy}"",""received_events_url"":""https://api.github.com/users/liyonglion/received_events"",""type"":""User"",""site_admin"":false},""labels"":[],""state"":""closed"",""locked"":false,""assignee"":null,""assignees"":[],""milestone"":{""url"": ""https://api.github.com/repos/apache/incubator-devlake/milestones/7"",""html_url"": ""https://github.com/apache/incubator-devlake/milestone/7"",""labels_url"": ""https://api.github.com/repos/apache/incubator-devlake/milestones/7/labels"",""id"": 7856149,""node_id"": ""MI_kwDOFuUSzs4Ad-AV"",""number"": 7,""title"": ""v0.11.0"",""description"": null,""creator"": {""login"": ""Startrekzky"",""id"": 14050754,""node_id"": ""MDQ6VXNlcjE0MDUwNzU0"",""avatar_url"": ""https://avatars.githubusercontent.com/u/14050754?v=4"",""gravatar_id"": """",""url"": ""https://api.github.com/users/Startrekzky"",""html_url"": ""https://github.com/Startrekzky"",""followers_url"": ""https://api.github.com/users/Startrekzky/followers"",""following_url"": ""https://api.github.com/users/Startrekzky/following{/other_user}"",""gists_url"": ""https://api.github.com/users/Startrekzky/gists{/gist_id}"",""starred_url"": ""https://api.github.com/users/Startrekzky/starred{/owner}{/repo}"",""subscriptions_url"": ""https://api.github.com/users/Startrekzky/subscriptions"",""organizations_url"": ""https://api.github.com/users/Startrekzky/orgs"",""repos_url"": ""https://api.github.com/users/Startrekzky/repos"",""events_url"": ""https://api.github.com/users/Startrekzky/events{/privacy}"",""received_events_url"": ""https://api.github.com/users/Startrekzky/received_events"",""type"": ""User"",""site_admin"": false},""open_issues"": 2,""closed_issues"": 118,""state"": ""open"",""created_at"": ""2022-04-08T02:05:35Z"",""updated_at"": ""2022-06-24T01:34:37Z"",""due_on"": null,""closed_at"": null},""comments"":18,""created_at"":""2018-09-28T11:37:28Z"",""updated_at"":""2018-09-29T11:29:54Z"",""closed_at"":""2018-09-29T11:29:54Z"",""author_association"":""CONTRIBUTOR"",""active_lock_reason"":null,""draft"":false,""pull_request"":{""url"":""https://api.github.com/repos/panjf2000/ants/pulls/13"",""html_url"":""https://github.com/panjf2000/ants/pull/13"",""diff_url"":""https://github.com/panjf2000/ants/pull/13.diff"",""patch_url"":""https://github.com/panjf2000/ants/pull/13.patch"",""merged_at"":""2018-09-29T11:29:54Z""},""body"":"" chinese cond chinese Submit goroutine。 chinese , chinese , chinese ?"",""reactions"":{""url"":""https://api.github.com/repos/panjf2000/ants/issues/13/reactions"",""total_count"":0,""+1"":0,""-1"":0,""laugh"":0,""hooray"":0,""confused"":0,""heart"":0,""rocket"":0,""eyes"":0},""timeline_url"":""https://api.github.com/repos/panjf2000/ants/issues/13/timeline"",""performed_via_github_app"":null,""state_reason"":null}",https://api.github.com/repos/panjf2000/ants/issues?direction=asc&page=1&per_page=100&state=all,null,2022-06-13T15:35:54.530+00:00
-20,"{""ConnectionId"":1,""Name"":""panjf2000/ants""}","{""url"":""https://api.github.com/repos/panjf2000/ants/issues/14"",""repository_url"":""https://api.github.com/repos/panjf2000/ants"",""labels_url"":""https://api.github.com/repos/panjf2000/ants/issues/14/labels{/name}"",""comments_url"":""https://api.github.com/repos/panjf2000/ants/issues/14/comments"",""events_url"":""https://api.github.com/repos/panjf2000/ants/issues/14/events"",""html_url"":""https://github.com/panjf2000/ants/pull/14"",""id"":365445079,""node_id"":""MDExOlB1bGxSZXF1ZXN0MjE5MzYzMTYx"",""number"":14,""title"":""Remove meaningless if statements"",""user"":{""login"":""SimePel"",""id"":20608155,""node_id"":""MDQ6VXNlcjIwNjA4MTU1"",""avatar_url"":""https://avatars.githubusercontent.com/u/20608155?v=4"",""gravatar_id"":"""",""url"":""https://api.github.com/users/SimePel"",""html_url"":""https://github.com/SimePel"",""followers_url"":""https://api.github.com/users/SimePel/followers"",""following_url"":""https://api.github.com/users/SimePel/following{/other_user}"",""gists_url"":""https://api.github.com/users/SimePel/gists{/gist_id}"",""starred_url"":""https://api.github.com/users/SimePel/starred{/owner}{/repo}"",""subscriptions_url"":""https://api.github.com/users/SimePel/subscriptions"",""organizations_url"":""https://api.github.com/users/SimePel/orgs"",""repos_url"":""https://api.github.com/users/SimePel/repos"",""events_url"":""https://api.github.com/users/SimePel/events{/privacy}"",""received_events_url"":""https://api.github.com/users/SimePel/received_events"",""type"":""User"",""site_admin"":false},""labels"":[],""state"":""closed"",""locked"":false,""assignee"":null,""assignees"":[],""milestone"":{""url"": ""https://api.github.com/repos/apache/incubator-devlake/milestones/7"",""html_url"": ""https://github.com/apache/incubator-devlake/milestone/7"",""labels_url"": ""https://api.github.com/repos/apache/incubator-devlake/milestones/7/labels"",""id"": 7856149,""node_id"": ""MI_kwDOFuUSzs4Ad-AV"",""number"": 7,""title"": ""v0.11.0"",""description"": null,""creator"": {""login"": ""Startrekzky"",""id"": 14050754,""node_id"": ""MDQ6VXNlcjE0MDUwNzU0"",""avatar_url"": ""https://avatars.githubusercontent.com/u/14050754?v=4"",""gravatar_id"": """",""url"": ""https://api.github.com/users/Startrekzky"",""html_url"": ""https://github.com/Startrekzky"",""followers_url"": ""https://api.github.com/users/Startrekzky/followers"",""following_url"": ""https://api.github.com/users/Startrekzky/following{/other_user}"",""gists_url"": ""https://api.github.com/users/Startrekzky/gists{/gist_id}"",""starred_url"": ""https://api.github.com/users/Startrekzky/starred{/owner}{/repo}"",""subscriptions_url"": ""https://api.github.com/users/Startrekzky/subscriptions"",""organizations_url"": ""https://api.github.com/users/Startrekzky/orgs"",""repos_url"": ""https://api.github.com/users/Startrekzky/repos"",""events_url"": ""https://api.github.com/users/Startrekzky/events{/privacy}"",""received_events_url"": ""https://api.github.com/users/Startrekzky/received_events"",""type"": ""User"",""site_admin"": false},""open_issues"": 2,""closed_issues"": 118,""state"": ""open"",""created_at"": ""2022-04-08T02:05:35Z"",""updated_at"": ""2022-06-24T01:34:37Z"",""due_on"": null,""closed_at"": null},""comments"":2,""created_at"":""2018-10-01T12:48:11Z"",""updated_at"":""2018-10-02T13:52:27Z"",""closed_at"":""2018-10-02T13:52:27Z"",""author_association"":""CONTRIBUTOR"",""active_lock_reason"":null,""draft"":false,""pull_request"":{""url"":""https://api.github.com/repos/panjf2000/ants/pulls/14"",""html_url"":""https://github.com/panjf2000/ants/pull/14"",""diff_url"":""https://github.com/panjf2000/ants/pull/14.diff"",""patch_url"":""https://github.com/panjf2000/ants/pull/14.patch"",""merged_at"":""2018-10-02T13:52:27Z""},""body"":"""",""reactions"":{""url"":""https://api.github.com/repos/panjf2000/ants/issues/14/reactions"",""total_count"":0,""+1"":0,""-1"":0,""laugh"":0,""hooray"":0,""confused"":0,""heart"":0,""rocket"":0,""eyes"":0},""timeline_url"":""https://api.github.com/repos/panjf2000/ants/issues/14/timeline"",""performed_via_github_app"":null,""state_reason"":null}",https://api.github.com/repos/panjf2000/ants/issues?direction=asc&page=1&per_page=100&state=all,null,2022-06-13T15:35:54.530+00:00
-21,"{""ConnectionId"":1,""Name"":""panjf2000/ants""}","{""url"":""https://api.github.com/repos/panjf2000/ants/issues/15"",""repository_url"":""https://api.github.com/repos/panjf2000/ants"",""labels_url"":""https://api.github.com/repos/panjf2000/ants/issues/15/labels{/name}"",""comments_url"":""https://api.github.com/repos/panjf2000/ants/issues/15/comments"",""events_url"":""https://api.github.com/repos/panjf2000/ants/issues/15/events"",""html_url"":""https://github.com/panjf2000/ants/pull/15"",""id"":366204544,""node_id"":""MDExOlB1bGxSZXF1ZXN0MjE5OTM2NTIx"",""number"":15,""title"":""Fixes to benchmarks and added semaphore comparison"",""user"":{""login"":""egonelbre"",""id"":192964,""node_id"":""MDQ6VXNlcjE5Mjk2NA=="",""avatar_url"":""https://avatars.githubusercontent.com/u/192964?v=4"",""gravatar_id"":"""",""url"":""https://api.github.com/users/egonelbre"",""html_url"":""https://github.com/egonelbre"",""followers_url"":""https://api.github.com/users/egonelbre/followers"",""following_url"":""https://api.github.com/users/egonelbre/following{/other_user}"",""gists_url"":""https://api.github.com/users/egonelbre/gists{/gist_id}"",""starred_url"":""https://api.github.com/users/egonelbre/starred{/owner}{/repo}"",""subscriptions_url"":""https://api.github.com/users/egonelbre/subscriptions"",""organizations_url"":""https://api.github.com/users/egonelbre/orgs"",""repos_url"":""https://api.github.com/users/egonelbre/repos"",""events_url"":""https://api.github.com/users/egonelbre/events{/privacy}"",""received_events_url"":""https://api.github.com/users/egonelbre/received_events"",""type"":""User"",""site_admin"":false},""labels"":[],""state"":""closed"",""locked"":false,""assignee"":null,""assignees"":[],""milestone"":{""url"": ""https://api.github.com/repos/apache/incubator-devlake/milestones/7"",""html_url"": ""https://github.com/apache/incubator-devlake/milestone/7"",""labels_url"": ""https://api.github.com/repos/apache/incubator-devlake/milestones/7/labels"",""id"": 7856149,""node_id"": ""MI_kwDOFuUSzs4Ad-AV"",""number"": 7,""title"": ""v0.11.0"",""description"": null,""creator"": {""login"": ""Startrekzky"",""id"": 14050754,""node_id"": ""MDQ6VXNlcjE0MDUwNzU0"",""avatar_url"": ""https://avatars.githubusercontent.com/u/14050754?v=4"",""gravatar_id"": """",""url"": ""https://api.github.com/users/Startrekzky"",""html_url"": ""https://github.com/Startrekzky"",""followers_url"": ""https://api.github.com/users/Startrekzky/followers"",""following_url"": ""https://api.github.com/users/Startrekzky/following{/other_user}"",""gists_url"": ""https://api.github.com/users/Startrekzky/gists{/gist_id}"",""starred_url"": ""https://api.github.com/users/Startrekzky/starred{/owner}{/repo}"",""subscriptions_url"": ""https://api.github.com/users/Startrekzky/subscriptions"",""organizations_url"": ""https://api.github.com/users/Startrekzky/orgs"",""repos_url"": ""https://api.github.com/users/Startrekzky/repos"",""events_url"": ""https://api.github.com/users/Startrekzky/events{/privacy}"",""received_events_url"": ""https://api.github.com/users/Startrekzky/received_events"",""type"": ""User"",""site_admin"": false},""open_issues"": 2,""closed_issues"": 118,""state"": ""open"",""created_at"": ""2022-04-08T02:05:35Z"",""updated_at"": ""2022-06-24T01:34:37Z"",""due_on"": null,""closed_at"": null},""comments"":3,""created_at"":""2018-10-03T07:16:16Z"",""updated_at"":""2018-10-03T12:38:57Z"",""closed_at"":""2018-10-03T12:33:59Z"",""author_association"":""CONTRIBUTOR"",""active_lock_reason"":null,""draft"":false,""pull_request"":{""url"":""https://api.github.com/repos/panjf2000/ants/pulls/15"",""html_url"":""https://github.com/panjf2000/ants/pull/15"",""diff_url"":""https://github.com/panjf2000/ants/pull/15.diff"",""patch_url"":""https://github.com/panjf2000/ants/pull/15.patch"",""merged_at"":""2018-10-03T12:33:59Z""},""body"":""Benchmark results with Param=0, as time.Sleep is not stable on Windows\r\n\r\nAlso Go 1.11 has bunch of improvements:\r\n\r\n```\r\ngoos: windows\r\ngoarch: amd64\r\npkg: github.com/panjf2000/ants\r\nBenchmarkGoroutineWithFunc-8 1 3530220300 ns/op 207472 B/op 506 allocs/op\r\nBenchmarkSemaphoreWithFunc-8 1 4391916400 ns/op 20944 B/op 57 allocs/op\r\nBenchmarkAntsPoolWithFunc-8 1 5496395400 ns/op 164240 B/op 2059 allocs/op\r\nBenchmarkGoroutine-8 1 3327413400 ns/op 1552 B/op 5 allocs/op\r\nBenchmarkSemaphore-8 1 4499816000 ns/op 1264 B/op 5 allocs/op\r\nBenchmarkAntsPool-8 1 5456432100 ns/op 49208 B/op 809 allocs/op\r\nPASS\r\n```"",""reactions"":{""url"":""https://api.github.com/repos/panjf2000/ants/issues/15/reactions"",""total_count"":0,""+1"":0,""-1"":0,""laugh"":0,""hooray"":0,""confused"":0,""heart"":0,""rocket"":0,""eyes"":0},""timeline_url"":""https://api.github.com/repos/panjf2000/ants/issues/15/timeline"",""performed_via_github_app"":null,""state_reason"":null}",https://api.github.com/repos/panjf2000/ants/issues?direction=asc&page=1&per_page=100&state=all,null,2022-06-13T15:35:54.530+00:00
-22,"{""ConnectionId"":1,""Name"":""panjf2000/ants""}","{""url"":""https://api.github.com/repos/panjf2000/ants/issues/16"",""repository_url"":""https://api.github.com/repos/panjf2000/ants"",""labels_url"":""https://api.github.com/repos/panjf2000/ants/issues/16/labels{/name}"",""comments_url"":""https://api.github.com/repos/panjf2000/ants/issues/16/comments"",""events_url"":""https://api.github.com/repos/panjf2000/ants/issues/16/events"",""html_url"":""https://github.com/panjf2000/ants/pull/16"",""id"":369883717,""node_id"":""MDExOlB1bGxSZXF1ZXN0MjIyNzAzMTcx"",""number"":16,""title"":""bugfix(check max pool size)"",""user"":{""login"":""rikewang"",""id"":24841832,""node_id"":""MDQ6VXNlcjI0ODQxODMy"",""avatar_url"":""https://avatars.githubusercontent.com/u/24841832?v=4"",""gravatar_id"":"""",""url"":""https://api.github.com/users/rikewang"",""html_url"":""https://github.com/rikewang"",""followers_url"":""https://api.github.com/users/rikewang/followers"",""following_url"":""https://api.github.com/users/rikewang/following{/other_user}"",""gists_url"":""https://api.github.com/users/rikewang/gists{/gist_id}"",""starred_url"":""https://api.github.com/users/rikewang/starred{/owner}{/repo}"",""subscriptions_url"":""https://api.github.com/users/rikewang/subscriptions"",""organizations_url"":""https://api.github.com/users/rikewang/orgs"",""repos_url"":""https://api.github.com/users/rikewang/repos"",""events_url"":""https://api.github.com/users/rikewang/events{/privacy}"",""received_events_url"":""https://api.github.com/users/rikewang/received_events"",""type"":""User"",""site_admin"":false},""labels"":[],""state"":""closed"",""locked"":false,""assignee"":null,""assignees"":[],""milestone"":{""url"": ""https://api.github.com/repos/apache/incubator-devlake/milestones/7"",""html_url"": ""https://github.com/apache/incubator-devlake/milestone/7"",""labels_url"": ""https://api.github.com/repos/apache/incubator-devlake/milestones/7/labels"",""id"": 7856149,""node_id"": ""MI_kwDOFuUSzs4Ad-AV"",""number"": 7,""title"": ""v0.11.0"",""description"": null,""creator"": {""login"": ""Startrekzky"",""id"": 14050754,""node_id"": ""MDQ6VXNlcjE0MDUwNzU0"",""avatar_url"": ""https://avatars.githubusercontent.com/u/14050754?v=4"",""gravatar_id"": """",""url"": ""https://api.github.com/users/Startrekzky"",""html_url"": ""https://github.com/Startrekzky"",""followers_url"": ""https://api.github.com/users/Startrekzky/followers"",""following_url"": ""https://api.github.com/users/Startrekzky/following{/other_user}"",""gists_url"": ""https://api.github.com/users/Startrekzky/gists{/gist_id}"",""starred_url"": ""https://api.github.com/users/Startrekzky/starred{/owner}{/repo}"",""subscriptions_url"": ""https://api.github.com/users/Startrekzky/subscriptions"",""organizations_url"": ""https://api.github.com/users/Startrekzky/orgs"",""repos_url"": ""https://api.github.com/users/Startrekzky/repos"",""events_url"": ""https://api.github.com/users/Startrekzky/events{/privacy}"",""received_events_url"": ""https://api.github.com/users/Startrekzky/received_events"",""type"": ""User"",""site_admin"": false},""open_issues"": 2,""closed_issues"": 118,""state"": ""open"",""created_at"": ""2022-04-08T02:05:35Z"",""updated_at"": ""2022-06-24T01:34:37Z"",""due_on"": null,""closed_at"": null},""comments"":1,""created_at"":""2018-10-14T09:21:41Z"",""updated_at"":""2018-12-03T03:53:31Z"",""closed_at"":""2018-12-03T03:53:31Z"",""author_association"":""NONE"",""active_lock_reason"":null,""draft"":false,""pull_request"":{""url"":""https://api.github.com/repos/panjf2000/ants/pulls/16"",""html_url"":""https://github.com/panjf2000/ants/pull/16"",""diff_url"":""https://github.com/panjf2000/ants/pull/16.diff"",""patch_url"":""https://github.com/panjf2000/ants/pull/16.patch"",""merged_at"":null},""body"":""if you limit max goroutine to math.Maxint32 as your code `int32(pool size)`\r\nI think should check max Goroutine size, otherwise size overflow to negative?\r\n"",""reactions"":{""url"":""https://api.github.com/repos/panjf2000/ants/issues/16/reactions"",""total_count"":0,""+1"":0,""-1"":0,""laugh"":0,""hooray"":0,""confused"":0,""heart"":0,""rocket"":0,""eyes"":0},""timeline_url"":""https://api.github.com/repos/panjf2000/ants/issues/16/timeline"",""performed_via_github_app"":null,""state_reason"":null}",https://api.github.com/repos/panjf2000/ants/issues?direction=asc&page=1&per_page=100&state=all,null,2022-06-13T15:35:54.530+00:00
-23,"{""ConnectionId"":1,""Name"":""panjf2000/ants""}","{""url"":""https://api.github.com/repos/panjf2000/ants/issues/17"",""repository_url"":""https://api.github.com/repos/panjf2000/ants"",""labels_url"":""https://api.github.com/repos/panjf2000/ants/issues/17/labels{/name}"",""comments_url"":""https://api.github.com/repos/panjf2000/ants/issues/17/comments"",""events_url"":""https://api.github.com/repos/panjf2000/ants/issues/17/events"",""html_url"":""https://github.com/panjf2000/ants/issues/17"",""id"":381941219,""node_id"":""MDU6SXNzdWUzODE5NDEyMTk="",""number"":17,""title"":"" chinese "",""user"":{""login"":""zplzpl"",""id"":7931755,""node_id"":""MDQ6VXNlcjc5MzE3NTU="",""avatar_url"":""https://avatars.githubusercontent.com/u/7931755?v=4"",""gravatar_id"":"""",""url"":""https://api.github.com/users/zplzpl"",""html_url"":""https://github.com/zplzpl"",""followers_url"":""https://api.github.com/users/zplzpl/followers"",""following_url"":""https://api.github.com/users/zplzpl/following{/other_user}"",""gists_url"":""https://api.github.com/users/zplzpl/gists{/gist_id}"",""starred_url"":""https://api.github.com/users/zplzpl/starred{/owner}{/repo}"",""subscriptions_url"":""https://api.github.com/users/zplzpl/subscriptions"",""organizations_url"":""https://api.github.com/users/zplzpl/orgs"",""repos_url"":""https://api.github.com/users/zplzpl/repos"",""events_url"":""https://api.github.com/users/zplzpl/events{/privacy}"",""received_events_url"":""https://api.github.com/users/zplzpl/received_events"",""type"":""User"",""site_admin"":false},""labels"":[{""id"":937861454,""node_id"":""MDU6TGFiZWw5Mzc4NjE0NTQ="",""url"":""https://api.github.com/repos/panjf2000/ants/labels/enhancement"",""name"":""enhancement"",""color"":""3eede7"",""default"":true,""description"":""New feature or request""}],""state"":""closed"",""locked"":false,""assignee"":null,""assignees"":[],""milestone"":{""url"": ""https://api.github.com/repos/apache/incubator-devlake/milestones/7"",""html_url"": ""https://github.com/apache/incubator-devlake/milestone/7"",""labels_url"": ""https://api.github.com/repos/apache/incubator-devlake/milestones/7/labels"",""id"": 7856149,""node_id"": ""MI_kwDOFuUSzs4Ad-AV"",""number"": 7,""title"": ""v0.11.0"",""description"": null,""creator"": {""login"": ""Startrekzky"",""id"": 14050754,""node_id"": ""MDQ6VXNlcjE0MDUwNzU0"",""avatar_url"": ""https://avatars.githubusercontent.com/u/14050754?v=4"",""gravatar_id"": """",""url"": ""https://api.github.com/users/Startrekzky"",""html_url"": ""https://github.com/Startrekzky"",""followers_url"": ""https://api.github.com/users/Startrekzky/followers"",""following_url"": ""https://api.github.com/users/Startrekzky/following{/other_user}"",""gists_url"": ""https://api.github.com/users/Startrekzky/gists{/gist_id}"",""starred_url"": ""https://api.github.com/users/Startrekzky/starred{/owner}{/repo}"",""subscriptions_url"": ""https://api.github.com/users/Startrekzky/subscriptions"",""organizations_url"": ""https://api.github.com/users/Startrekzky/orgs"",""repos_url"": ""https://api.github.com/users/Startrekzky/repos"",""events_url"": ""https://api.github.com/users/Startrekzky/events{/privacy}"",""received_events_url"": ""https://api.github.com/users/Startrekzky/received_events"",""type"": ""User"",""site_admin"": false},""open_issues"": 2,""closed_issues"": 118,""state"": ""open"",""created_at"": ""2022-04-08T02:05:35Z"",""updated_at"": ""2022-06-24T01:34:37Z"",""due_on"": null,""closed_at"": null},""comments"":2,""created_at"":""2018-11-18T08:50:31Z"",""updated_at"":""2019-01-29T07:24:37Z"",""closed_at"":""2019-01-29T07:24:37Z"",""author_association"":""NONE"",""active_lock_reason"":null,""body"":"" chinese package chinese , chinese Release chinese :\r\n\r\n`\r\n\t// Release Closed this pool.\r\n\tfunc (p *PoolWithFunc) Release() error {\r\n\t\tp.once.Do(func() {\r\n\t\t\tp.release <- sig{}\r\n\t\t\tp.lock.Lock()\r\n\t\t\tidleWorkers := p.workers\r\n\t\t\tfor i, w := range idleWorkers {\r\n\t\t\t\tw.args <- nil\r\n\t\t\t\tidleWorkers[i] = nil\r\n\t\t\t}\r\n\t\t\tp.workers = nil\r\n\t\t\tp.lock.Unlock()\r\n\t\t})\r\n\t\treturn nil\r\n\t}\r\n`\r\n\r\nrelease chinese , chinese worker chinese ?\r\n chinese worker\r\n\r\n chinese ,release chinese worker chinese \r\n\r\n chinese :\r\n\r\nReSize(0) \r\n\r\n chinese ?\r\n"",""reactions"":{""url"":""https://api.github.com/repos/panjf2000/ants/issues/17/reactions"",""total_count"":0,""+1"":0,""-1"":0,""laugh"":0,""hooray"":0,""confused"":0,""heart"":0,""rocket"":0,""eyes"":0},""timeline_url"":""https://api.github.com/repos/panjf2000/ants/issues/17/timeline"",""performed_via_github_app"":null,""state_reason"":""completed""}",https://api.github.com/repos/panjf2000/ants/issues?direction=asc&page=1&per_page=100&state=all,null,2022-06-13T15:35:54.530+00:00
-24,"{""ConnectionId"":1,""Name"":""panjf2000/ants""}","{""url"":""https://api.github.com/repos/panjf2000/ants/issues/18"",""repository_url"":""https://api.github.com/repos/panjf2000/ants"",""labels_url"":""https://api.github.com/repos/panjf2000/ants/issues/18/labels{/name}"",""comments_url"":""https://api.github.com/repos/panjf2000/ants/issues/18/comments"",""events_url"":""https://api.github.com/repos/panjf2000/ants/issues/18/events"",""html_url"":""https://github.com/panjf2000/ants/issues/18"",""id"":382039050,""node_id"":""MDU6SXNzdWUzODIwMzkwNTA="",""number"":18,""title"":""go chinese "",""user"":{""login"":""LinuxForYQH"",""id"":13944100,""node_id"":""MDQ6VXNlcjEzOTQ0MTAw"",""avatar_url"":""https://avatars.githubusercontent.com/u/13944100?v=4"",""gravatar_id"":"""",""url"":""https://api.github.com/users/LinuxForYQH"",""html_url"":""https://github.com/LinuxForYQH"",""followers_url"":""https://api.github.com/users/LinuxForYQH/followers"",""following_url"":""https://api.github.com/users/LinuxForYQH/following{/other_user}"",""gists_url"":""https://api.github.com/users/LinuxForYQH/gists{/gist_id}"",""starred_url"":""https://api.github.com/users/LinuxForYQH/starred{/owner}{/repo}"",""subscriptions_url"":""https://api.github.com/users/LinuxForYQH/subscriptions"",""organizations_url"":""https://api.github.com/users/LinuxForYQH/orgs"",""repos_url"":""https://api.github.com/users/LinuxForYQH/repos"",""events_url"":""https://api.github.com/users/LinuxForYQH/events{/privacy}"",""received_events_url"":""https://api.github.com/users/LinuxForYQH/received_events"",""type"":""User"",""site_admin"":false},""labels"":[{""id"":937861458,""node_id"":""MDU6TGFiZWw5Mzc4NjE0NTg="",""url"":""https://api.github.com/repos/panjf2000/ants/labels/question"",""name"":""question"",""color"":""801dae"",""default"":true,""description"":""Further information is requested""}],""state"":""closed"",""locked"":false,""assignee"":null,""assignees"":[],""milestone"":{""url"": ""https://api.github.com/repos/apache/incubator-devlake/milestones/7"",""html_url"": ""https://github.com/apache/incubator-devlake/milestone/7"",""labels_url"": ""https://api.github.com/repos/apache/incubator-devlake/milestones/7/labels"",""id"": 7856149,""node_id"": ""MI_kwDOFuUSzs4Ad-AV"",""number"": 7,""title"": ""v0.11.0"",""description"": null,""creator"": {""login"": ""Startrekzky"",""id"": 14050754,""node_id"": ""MDQ6VXNlcjE0MDUwNzU0"",""avatar_url"": ""https://avatars.githubusercontent.com/u/14050754?v=4"",""gravatar_id"": """",""url"": ""https://api.github.com/users/Startrekzky"",""html_url"": ""https://github.com/Startrekzky"",""followers_url"": ""https://api.github.com/users/Startrekzky/followers"",""following_url"": ""https://api.github.com/users/Startrekzky/following{/other_user}"",""gists_url"": ""https://api.github.com/users/Startrekzky/gists{/gist_id}"",""starred_url"": ""https://api.github.com/users/Startrekzky/starred{/owner}{/repo}"",""subscriptions_url"": ""https://api.github.com/users/Startrekzky/subscriptions"",""organizations_url"": ""https://api.github.com/users/Startrekzky/orgs"",""repos_url"": ""https://api.github.com/users/Startrekzky/repos"",""events_url"": ""https://api.github.com/users/Startrekzky/events{/privacy}"",""received_events_url"": ""https://api.github.com/users/Startrekzky/received_events"",""type"": ""User"",""site_admin"": false},""open_issues"": 2,""closed_issues"": 118,""state"": ""open"",""created_at"": ""2022-04-08T02:05:35Z"",""updated_at"": ""2022-06-24T01:34:37Z"",""due_on"": null,""closed_at"": null},""comments"":1,""created_at"":""2018-11-19T02:59:53Z"",""updated_at"":""2018-12-03T03:53:50Z"",""closed_at"":""2018-12-03T03:53:50Z"",""author_association"":""NONE"",""active_lock_reason"":null,""body"":"" chinese , chinese , chinese go chinese , chinese , chinese 。\"" chinese : GOMAXPROCS sets the maximum number of CPUs that can be executing simultaneously。 chinese cpu chinese , chinese , chinese ?, chinese ?, chinese ?, chinese ?\"""",""reactions"":{""url"":""https://api.github.com/repos/panjf2000/ants/issues/18/reactions"",""total_count"":0,""+1"":0,""-1"":0,""laugh"":0,""hooray"":0,""confused"":0,""heart"":0,""rocket"":0,""eyes"":0},""timeline_url"":""https://api.github.com/repos/panjf2000/ants/issues/18/timeline"",""performed_via_github_app"":null,""state_reason"":""completed""}",https://api.github.com/repos/panjf2000/ants/issues?direction=asc&page=1&per_page=100&state=all,null,2022-06-13T15:35:54.530+00:00
-25,"{""ConnectionId"":1,""Name"":""panjf2000/ants""}","{""url"":""https://api.github.com/repos/panjf2000/ants/issues/19"",""repository_url"":""https://api.github.com/repos/panjf2000/ants"",""labels_url"":""https://api.github.com/repos/panjf2000/ants/issues/19/labels{/name}"",""comments_url"":""https://api.github.com/repos/panjf2000/ants/issues/19/comments"",""events_url"":""https://api.github.com/repos/panjf2000/ants/issues/19/events"",""html_url"":""https://github.com/panjf2000/ants/pull/19"",""id"":382039582,""node_id"":""MDExOlB1bGxSZXF1ZXN0MjMxODQwNzIz"",""number"":19,""title"":""Possible memory leak because of Ticker"",""user"":{""login"":""zplzpl"",""id"":7931755,""node_id"":""MDQ6VXNlcjc5MzE3NTU="",""avatar_url"":""https://avatars.githubusercontent.com/u/7931755?v=4"",""gravatar_id"":"""",""url"":""https://api.github.com/users/zplzpl"",""html_url"":""https://github.com/zplzpl"",""followers_url"":""https://api.github.com/users/zplzpl/followers"",""following_url"":""https://api.github.com/users/zplzpl/following{/other_user}"",""gists_url"":""https://api.github.com/users/zplzpl/gists{/gist_id}"",""starred_url"":""https://api.github.com/users/zplzpl/starred{/owner}{/repo}"",""subscriptions_url"":""https://api.github.com/users/zplzpl/subscriptions"",""organizations_url"":""https://api.github.com/users/zplzpl/orgs"",""repos_url"":""https://api.github.com/users/zplzpl/repos"",""events_url"":""https://api.github.com/users/zplzpl/events{/privacy}"",""received_events_url"":""https://api.github.com/users/zplzpl/received_events"",""type"":""User"",""site_admin"":false},""labels"":[],""state"":""closed"",""locked"":false,""assignee"":null,""assignees"":[],""milestone"":{""url"": ""https://api.github.com/repos/apache/incubator-devlake/milestones/7"",""html_url"": ""https://github.com/apache/incubator-devlake/milestone/7"",""labels_url"": ""https://api.github.com/repos/apache/incubator-devlake/milestones/7/labels"",""id"": 7856149,""node_id"": ""MI_kwDOFuUSzs4Ad-AV"",""number"": 7,""title"": ""v0.11.0"",""description"": null,""creator"": {""login"": ""Startrekzky"",""id"": 14050754,""node_id"": ""MDQ6VXNlcjE0MDUwNzU0"",""avatar_url"": ""https://avatars.githubusercontent.com/u/14050754?v=4"",""gravatar_id"": """",""url"": ""https://api.github.com/users/Startrekzky"",""html_url"": ""https://github.com/Startrekzky"",""followers_url"": ""https://api.github.com/users/Startrekzky/followers"",""following_url"": ""https://api.github.com/users/Startrekzky/following{/other_user}"",""gists_url"": ""https://api.github.com/users/Startrekzky/gists{/gist_id}"",""starred_url"": ""https://api.github.com/users/Startrekzky/starred{/owner}{/repo}"",""subscriptions_url"": ""https://api.github.com/users/Startrekzky/subscriptions"",""organizations_url"": ""https://api.github.com/users/Startrekzky/orgs"",""repos_url"": ""https://api.github.com/users/Startrekzky/repos"",""events_url"": ""https://api.github.com/users/Startrekzky/events{/privacy}"",""received_events_url"": ""https://api.github.com/users/Startrekzky/received_events"",""type"": ""User"",""site_admin"": false},""open_issues"": 2,""closed_issues"": 118,""state"": ""open"",""created_at"": ""2022-04-08T02:05:35Z"",""updated_at"": ""2022-06-24T01:34:37Z"",""due_on"": null,""closed_at"": null},""comments"":4,""created_at"":""2018-11-19T03:03:09Z"",""updated_at"":""2018-12-01T15:49:32Z"",""closed_at"":""2018-12-01T15:49:32Z"",""author_association"":""NONE"",""active_lock_reason"":null,""draft"":false,""pull_request"":{""url"":""https://api.github.com/repos/panjf2000/ants/pulls/19"",""html_url"":""https://github.com/panjf2000/ants/pull/19"",""diff_url"":""https://github.com/panjf2000/ants/pull/19.diff"",""patch_url"":""https://github.com/panjf2000/ants/pull/19.patch"",""merged_at"":""2018-12-01T15:49:32Z""},""body"":""// NewTicker returns a new Ticker containing a channel that will send the\r\n// time with a period specified by the duration argument.\r\n// It adjusts the intervals or drops ticks to make up for slow receivers.\r\n// The duration d must be greater than zero; if not, NewTicker will panic.\r\n// Stop the ticker to release associated resources.\r\nfunc NewTicker(d Duration) *Ticker {\r\n……\r\n}"",""reactions"":{""url"":""https://api.github.com/repos/panjf2000/ants/issues/19/reactions"",""total_count"":0,""+1"":0,""-1"":0,""laugh"":0,""hooray"":0,""confused"":0,""heart"":0,""rocket"":0,""eyes"":0},""timeline_url"":""https://api.github.com/repos/panjf2000/ants/issues/19/timeline"",""performed_via_github_app"":null,""state_reason"":null}",https://api.github.com/repos/panjf2000/ants/issues?direction=asc&page=1&per_page=100&state=all,null,2022-06-13T15:35:54.530+00:00
-26,"{""ConnectionId"":1,""Name"":""panjf2000/ants""}","{""url"":""https://api.github.com/repos/panjf2000/ants/issues/20"",""repository_url"":""https://api.github.com/repos/panjf2000/ants"",""labels_url"":""https://api.github.com/repos/panjf2000/ants/issues/20/labels{/name}"",""comments_url"":""https://api.github.com/repos/panjf2000/ants/issues/20/comments"",""events_url"":""https://api.github.com/repos/panjf2000/ants/issues/20/events"",""html_url"":""https://github.com/panjf2000/ants/issues/20"",""id"":382574800,""node_id"":""MDU6SXNzdWUzODI1NzQ4MDA="",""number"":20,""title"":"" chinese "",""user"":{""login"":""kklinan"",""id"":5668717,""node_id"":""MDQ6VXNlcjU2Njg3MTc="",""avatar_url"":""https://avatars.githubusercontent.com/u/5668717?v=4"",""gravatar_id"":"""",""url"":""https://api.github.com/users/kklinan"",""html_url"":""https://github.com/kklinan"",""followers_url"":""https://api.github.com/users/kklinan/followers"",""following_url"":""https://api.github.com/users/kklinan/following{/other_user}"",""gists_url"":""https://api.github.com/users/kklinan/gists{/gist_id}"",""starred_url"":""https://api.github.com/users/kklinan/starred{/owner}{/repo}"",""subscriptions_url"":""https://api.github.com/users/kklinan/subscriptions"",""organizations_url"":""https://api.github.com/users/kklinan/orgs"",""repos_url"":""https://api.github.com/users/kklinan/repos"",""events_url"":""https://api.github.com/users/kklinan/events{/privacy}"",""received_events_url"":""https://api.github.com/users/kklinan/received_events"",""type"":""User"",""site_admin"":false},""labels"":[{""id"":937861454,""node_id"":""MDU6TGFiZWw5Mzc4NjE0NTQ="",""url"":""https://api.github.com/repos/panjf2000/ants/labels/enhancement"",""name"":""enhancement"",""color"":""3eede7"",""default"":true,""description"":""New feature or request""}],""state"":""closed"",""locked"":false,""assignee"":null,""assignees"":[],""milestone"":{""url"": ""https://api.github.com/repos/apache/incubator-devlake/milestones/7"",""html_url"": ""https://github.com/apache/incubator-devlake/milestone/7"",""labels_url"": ""https://api.github.com/repos/apache/incubator-devlake/milestones/7/labels"",""id"": 7856149,""node_id"": ""MI_kwDOFuUSzs4Ad-AV"",""number"": 7,""title"": ""v0.11.0"",""description"": null,""creator"": {""login"": ""Startrekzky"",""id"": 14050754,""node_id"": ""MDQ6VXNlcjE0MDUwNzU0"",""avatar_url"": ""https://avatars.githubusercontent.com/u/14050754?v=4"",""gravatar_id"": """",""url"": ""https://api.github.com/users/Startrekzky"",""html_url"": ""https://github.com/Startrekzky"",""followers_url"": ""https://api.github.com/users/Startrekzky/followers"",""following_url"": ""https://api.github.com/users/Startrekzky/following{/other_user}"",""gists_url"": ""https://api.github.com/users/Startrekzky/gists{/gist_id}"",""starred_url"": ""https://api.github.com/users/Startrekzky/starred{/owner}{/repo}"",""subscriptions_url"": ""https://api.github.com/users/Startrekzky/subscriptions"",""organizations_url"": ""https://api.github.com/users/Startrekzky/orgs"",""repos_url"": ""https://api.github.com/users/Startrekzky/repos"",""events_url"": ""https://api.github.com/users/Startrekzky/events{/privacy}"",""received_events_url"": ""https://api.github.com/users/Startrekzky/received_events"",""type"": ""User"",""site_admin"": false},""open_issues"": 2,""closed_issues"": 118,""state"": ""open"",""created_at"": ""2022-04-08T02:05:35Z"",""updated_at"": ""2022-06-24T01:34:37Z"",""due_on"": null,""closed_at"": null},""comments"":6,""created_at"":""2018-11-20T09:36:02Z"",""updated_at"":""2019-01-25T15:34:03Z"",""closed_at"":""2019-01-25T15:34:03Z"",""author_association"":""NONE"",""active_lock_reason"":null,""body"":""#"",""reactions"":{""url"":""https://api.github.com/repos/panjf2000/ants/issues/20/reactions"",""total_count"":0,""+1"":0,""-1"":0,""laugh"":0,""hooray"":0,""confused"":0,""heart"":0,""rocket"":0,""eyes"":0},""timeline_url"":""https://api.github.com/repos/panjf2000/ants/issues/20/timeline"",""performed_via_github_app"":null,""state_reason"":""completed""}",https://api.github.com/repos/panjf2000/ants/issues?direction=asc&page=1&per_page=100&state=all,null,2022-06-13T15:35:54.530+00:00
-27,"{""ConnectionId"":1,""Name"":""panjf2000/ants""}","{""url"":""https://api.github.com/repos/panjf2000/ants/issues/21"",""repository_url"":""https://api.github.com/repos/panjf2000/ants"",""labels_url"":""https://api.github.com/repos/panjf2000/ants/issues/21/labels{/name}"",""comments_url"":""https://api.github.com/repos/panjf2000/ants/issues/21/comments"",""events_url"":""https://api.github.com/repos/panjf2000/ants/issues/21/events"",""html_url"":""https://github.com/panjf2000/ants/issues/21"",""id"":388907811,""node_id"":""MDU6SXNzdWUzODg5MDc4MTE="",""number"":21,""title"":""Benchmark chinese Semaphore chinese ?"",""user"":{""login"":""huangjunwen"",""id"":720086,""node_id"":""MDQ6VXNlcjcyMDA4Ng=="",""avatar_url"":""https://avatars.githubusercontent.com/u/720086?v=4"",""gravatar_id"":"""",""url"":""https://api.github.com/users/huangjunwen"",""html_url"":""https://github.com/huangjunwen"",""followers_url"":""https://api.github.com/users/huangjunwen/followers"",""following_url"":""https://api.github.com/users/huangjunwen/following{/other_user}"",""gists_url"":""https://api.github.com/users/huangjunwen/gists{/gist_id}"",""starred_url"":""https://api.github.com/users/huangjunwen/starred{/owner}{/repo}"",""subscriptions_url"":""https://api.github.com/users/huangjunwen/subscriptions"",""organizations_url"":""https://api.github.com/users/huangjunwen/orgs"",""repos_url"":""https://api.github.com/users/huangjunwen/repos"",""events_url"":""https://api.github.com/users/huangjunwen/events{/privacy}"",""received_events_url"":""https://api.github.com/users/huangjunwen/received_events"",""type"":""User"",""site_admin"":false},""labels"":[],""state"":""closed"",""locked"":false,""assignee"":null,""assignees"":[],""milestone"":{""url"": ""https://api.github.com/repos/apache/incubator-devlake/milestones/7"",""html_url"": ""https://github.com/apache/incubator-devlake/milestone/7"",""labels_url"": ""https://api.github.com/repos/apache/incubator-devlake/milestones/7/labels"",""id"": 7856149,""node_id"": ""MI_kwDOFuUSzs4Ad-AV"",""number"": 7,""title"": ""v0.11.0"",""description"": null,""creator"": {""login"": ""Startrekzky"",""id"": 14050754,""node_id"": ""MDQ6VXNlcjE0MDUwNzU0"",""avatar_url"": ""https://avatars.githubusercontent.com/u/14050754?v=4"",""gravatar_id"": """",""url"": ""https://api.github.com/users/Startrekzky"",""html_url"": ""https://github.com/Startrekzky"",""followers_url"": ""https://api.github.com/users/Startrekzky/followers"",""following_url"": ""https://api.github.com/users/Startrekzky/following{/other_user}"",""gists_url"": ""https://api.github.com/users/Startrekzky/gists{/gist_id}"",""starred_url"": ""https://api.github.com/users/Startrekzky/starred{/owner}{/repo}"",""subscriptions_url"": ""https://api.github.com/users/Startrekzky/subscriptions"",""organizations_url"": ""https://api.github.com/users/Startrekzky/orgs"",""repos_url"": ""https://api.github.com/users/Startrekzky/repos"",""events_url"": ""https://api.github.com/users/Startrekzky/events{/privacy}"",""received_events_url"": ""https://api.github.com/users/Startrekzky/received_events"",""type"": ""User"",""site_admin"": false},""open_issues"": 2,""closed_issues"": 118,""state"": ""open"",""created_at"": ""2022-04-08T02:05:35Z"",""updated_at"": ""2022-06-24T01:34:37Z"",""due_on"": null,""closed_at"": null},""comments"":5,""created_at"":""2018-12-08T10:08:17Z"",""updated_at"":""2018-12-14T06:01:07Z"",""closed_at"":""2018-12-14T06:01:07Z"",""author_association"":""NONE"",""active_lock_reason"":null,""body"":"" chinese benchmark,Semaphore chinese \r\n\r\n```bash\r\n$ go test -bench .\r\ngoos: darwin\r\ngoarch: amd64\r\npkg: github.com/panjf2000/ants\r\nBenchmarkGoroutineWithFunc-4 \t 1\t3445631705 ns/op\r\nBenchmarkSemaphoreWithFunc-4 \t 1\t1037219073 ns/op\r\nBenchmarkAntsPoolWithFunc-4 \t 1\t1138053222 ns/op\r\nBenchmarkGoroutine-4 \t 2\t 731850771 ns/op\r\nBenchmarkSemaphore-4 \t 2\t 914855967 ns/op\r\nBenchmarkAntsPool-4 \t 1\t1094379445 ns/op\r\nPASS\r\nok \tgithub.com/panjf2000/ants\t33.173s\r\n```\r\n chinese Ants chinese ?"",""reactions"":{""url"":""https://api.github.com/repos/panjf2000/ants/issues/21/reactions"",""total_count"":0,""+1"":0,""-1"":0,""laugh"":0,""hooray"":0,""confused"":0,""heart"":0,""rocket"":0,""eyes"":0},""timeline_url"":""https://api.github.com/repos/panjf2000/ants/issues/21/timeline"",""performed_via_github_app"":null,""state_reason"":""completed""}",https://api.github.com/repos/panjf2000/ants/issues?direction=asc&page=1&per_page=100&state=all,null,2022-06-13T15:35:54.530+00:00
-28,"{""ConnectionId"":1,""Name"":""panjf2000/ants""}","{""url"":""https://api.github.com/repos/panjf2000/ants/issues/22"",""repository_url"":""https://api.github.com/repos/panjf2000/ants"",""labels_url"":""https://api.github.com/repos/panjf2000/ants/issues/22/labels{/name}"",""comments_url"":""https://api.github.com/repos/panjf2000/ants/issues/22/comments"",""events_url"":""https://api.github.com/repos/panjf2000/ants/issues/22/events"",""html_url"":""https://github.com/panjf2000/ants/issues/22"",""id"":401277739,""node_id"":""MDU6SXNzdWU0MDEyNzc3Mzk="",""number"":22,""title"":"" chinese worker chinese PanicHandler ?"",""user"":{""login"":""choleraehyq"",""id"":8923413,""node_id"":""MDQ6VXNlcjg5MjM0MTM="",""avatar_url"":""https://avatars.githubusercontent.com/u/8923413?v=4"",""gravatar_id"":"""",""url"":""https://api.github.com/users/choleraehyq"",""html_url"":""https://github.com/choleraehyq"",""followers_url"":""https://api.github.com/users/choleraehyq/followers"",""following_url"":""https://api.github.com/users/choleraehyq/following{/other_user}"",""gists_url"":""https://api.github.com/users/choleraehyq/gists{/gist_id}"",""starred_url"":""https://api.github.com/users/choleraehyq/starred{/owner}{/repo}"",""subscriptions_url"":""https://api.github.com/users/choleraehyq/subscriptions"",""organizations_url"":""https://api.github.com/users/choleraehyq/orgs"",""repos_url"":""https://api.github.com/users/choleraehyq/repos"",""events_url"":""https://api.github.com/users/choleraehyq/events{/privacy}"",""received_events_url"":""https://api.github.com/users/choleraehyq/received_events"",""type"":""User"",""site_admin"":false},""labels"":[{""id"":937861454,""node_id"":""MDU6TGFiZWw5Mzc4NjE0NTQ="",""url"":""https://api.github.com/repos/panjf2000/ants/labels/enhancement"",""name"":""enhancement"",""color"":""3eede7"",""default"":true,""description"":""New feature or request""}],""state"":""closed"",""locked"":false,""assignee"":null,""assignees"":[],""milestone"":{""url"": ""https://api.github.com/repos/apache/incubator-devlake/milestones/7"",""html_url"": ""https://github.com/apache/incubator-devlake/milestone/7"",""labels_url"": ""https://api.github.com/repos/apache/incubator-devlake/milestones/7/labels"",""id"": 7856149,""node_id"": ""MI_kwDOFuUSzs4Ad-AV"",""number"": 7,""title"": ""v0.11.0"",""description"": null,""creator"": {""login"": ""Startrekzky"",""id"": 14050754,""node_id"": ""MDQ6VXNlcjE0MDUwNzU0"",""avatar_url"": ""https://avatars.githubusercontent.com/u/14050754?v=4"",""gravatar_id"": """",""url"": ""https://api.github.com/users/Startrekzky"",""html_url"": ""https://github.com/Startrekzky"",""followers_url"": ""https://api.github.com/users/Startrekzky/followers"",""following_url"": ""https://api.github.com/users/Startrekzky/following{/other_user}"",""gists_url"": ""https://api.github.com/users/Startrekzky/gists{/gist_id}"",""starred_url"": ""https://api.github.com/users/Startrekzky/starred{/owner}{/repo}"",""subscriptions_url"": ""https://api.github.com/users/Startrekzky/subscriptions"",""organizations_url"": ""https://api.github.com/users/Startrekzky/orgs"",""repos_url"": ""https://api.github.com/users/Startrekzky/repos"",""events_url"": ""https://api.github.com/users/Startrekzky/events{/privacy}"",""received_events_url"": ""https://api.github.com/users/Startrekzky/received_events"",""type"": ""User"",""site_admin"": false},""open_issues"": 2,""closed_issues"": 118,""state"": ""open"",""created_at"": ""2022-04-08T02:05:35Z"",""updated_at"": ""2022-06-24T01:34:37Z"",""due_on"": null,""closed_at"": null},""comments"":2,""created_at"":""2019-01-21T10:06:56Z"",""updated_at"":""2019-01-22T05:41:34Z"",""closed_at"":""2019-01-22T05:41:34Z"",""author_association"":""CONTRIBUTOR"",""active_lock_reason"":null,""body"":"" chinese Pool chinese PanicHandler, chinese worker chinese recover chinese PanicHandler chinese 。 chinese panic chinese 。"",""reactions"":{""url"":""https://api.github.com/repos/panjf2000/ants/issues/22/reactions"",""total_count"":0,""+1"":0,""-1"":0,""laugh"":0,""hooray"":0,""confused"":0,""heart"":0,""rocket"":0,""eyes"":0},""timeline_url"":""https://api.github.com/repos/panjf2000/ants/issues/22/timeline"",""performed_via_github_app"":null,""state_reason"":""completed""}",https://api.github.com/repos/panjf2000/ants/issues?direction=asc&page=1&per_page=100&state=all,null,2022-06-13T15:35:54.530+00:00
-29,"{""ConnectionId"":1,""Name"":""panjf2000/ants""}","{""url"":""https://api.github.com/repos/panjf2000/ants/issues/23"",""repository_url"":""https://api.github.com/repos/panjf2000/ants"",""labels_url"":""https://api.github.com/repos/panjf2000/ants/issues/23/labels{/name}"",""comments_url"":""https://api.github.com/repos/panjf2000/ants/issues/23/comments"",""events_url"":""https://api.github.com/repos/panjf2000/ants/issues/23/events"",""html_url"":""https://github.com/panjf2000/ants/pull/23"",""id"":401298705,""node_id"":""MDExOlB1bGxSZXF1ZXN0MjQ2MjUwNTk4"",""number"":23,""title"":""feature: add PanicHandler"",""user"":{""login"":""choleraehyq"",""id"":8923413,""node_id"":""MDQ6VXNlcjg5MjM0MTM="",""avatar_url"":""https://avatars.githubusercontent.com/u/8923413?v=4"",""gravatar_id"":"""",""url"":""https://api.github.com/users/choleraehyq"",""html_url"":""https://github.com/choleraehyq"",""followers_url"":""https://api.github.com/users/choleraehyq/followers"",""following_url"":""https://api.github.com/users/choleraehyq/following{/other_user}"",""gists_url"":""https://api.github.com/users/choleraehyq/gists{/gist_id}"",""starred_url"":""https://api.github.com/users/choleraehyq/starred{/owner}{/repo}"",""subscriptions_url"":""https://api.github.com/users/choleraehyq/subscriptions"",""organizations_url"":""https://api.github.com/users/choleraehyq/orgs"",""repos_url"":""https://api.github.com/users/choleraehyq/repos"",""events_url"":""https://api.github.com/users/choleraehyq/events{/privacy}"",""received_events_url"":""https://api.github.com/users/choleraehyq/received_events"",""type"":""User"",""site_admin"":false},""labels"":[],""state"":""closed"",""locked"":false,""assignee"":null,""assignees"":[],""milestone"":{""url"": ""https://api.github.com/repos/apache/incubator-devlake/milestones/7"",""html_url"": ""https://github.com/apache/incubator-devlake/milestone/7"",""labels_url"": ""https://api.github.com/repos/apache/incubator-devlake/milestones/7/labels"",""id"": 7856149,""node_id"": ""MI_kwDOFuUSzs4Ad-AV"",""number"": 7,""title"": ""v0.11.0"",""description"": null,""creator"": {""login"": ""Startrekzky"",""id"": 14050754,""node_id"": ""MDQ6VXNlcjE0MDUwNzU0"",""avatar_url"": ""https://avatars.githubusercontent.com/u/14050754?v=4"",""gravatar_id"": """",""url"": ""https://api.github.com/users/Startrekzky"",""html_url"": ""https://github.com/Startrekzky"",""followers_url"": ""https://api.github.com/users/Startrekzky/followers"",""following_url"": ""https://api.github.com/users/Startrekzky/following{/other_user}"",""gists_url"": ""https://api.github.com/users/Startrekzky/gists{/gist_id}"",""starred_url"": ""https://api.github.com/users/Startrekzky/starred{/owner}{/repo}"",""subscriptions_url"": ""https://api.github.com/users/Startrekzky/subscriptions"",""organizations_url"": ""https://api.github.com/users/Startrekzky/orgs"",""repos_url"": ""https://api.github.com/users/Startrekzky/repos"",""events_url"": ""https://api.github.com/users/Startrekzky/events{/privacy}"",""received_events_url"": ""https://api.github.com/users/Startrekzky/received_events"",""type"": ""User"",""site_admin"": false},""open_issues"": 2,""closed_issues"": 118,""state"": ""open"",""created_at"": ""2022-04-08T02:05:35Z"",""updated_at"": ""2022-06-24T01:34:37Z"",""due_on"": null,""closed_at"": null},""comments"":6,""created_at"":""2019-01-21T10:58:15Z"",""updated_at"":""2019-01-22T05:41:34Z"",""closed_at"":""2019-01-22T05:41:34Z"",""author_association"":""CONTRIBUTOR"",""active_lock_reason"":null,""draft"":false,""pull_request"":{""url"":""https://api.github.com/repos/panjf2000/ants/pulls/23"",""html_url"":""https://github.com/panjf2000/ants/pull/23"",""diff_url"":""https://github.com/panjf2000/ants/pull/23.diff"",""patch_url"":""https://github.com/panjf2000/ants/pull/23.patch"",""merged_at"":""2019-01-22T05:41:34Z""},""body"":""@panjf2000 PTAL\r\nFix #22 \r\nSigned-off-by: Cholerae Hu <choleraehyq@gmail.com>"",""reactions"":{""url"":""https://api.github.com/repos/panjf2000/ants/issues/23/reactions"",""total_count"":0,""+1"":0,""-1"":0,""laugh"":0,""hooray"":0,""confused"":0,""heart"":0,""rocket"":0,""eyes"":0},""timeline_url"":""https://api.github.com/repos/panjf2000/ants/issues/23/timeline"",""performed_via_github_app"":null,""state_reason"":null}",https://api.github.com/repos/panjf2000/ants/issues?direction=asc&page=1&per_page=100&state=all,null,2022-06-13T15:35:54.530+00:00
-30,"{""ConnectionId"":1,""Name"":""panjf2000/ants""}","{""url"":""https://api.github.com/repos/panjf2000/ants/issues/24"",""repository_url"":""https://api.github.com/repos/panjf2000/ants"",""labels_url"":""https://api.github.com/repos/panjf2000/ants/issues/24/labels{/name}"",""comments_url"":""https://api.github.com/repos/panjf2000/ants/issues/24/comments"",""events_url"":""https://api.github.com/repos/panjf2000/ants/issues/24/events"",""html_url"":""https://github.com/panjf2000/ants/issues/24"",""id"":402513849,""node_id"":""MDU6SXNzdWU0MDI1MTM4NDk="",""number"":24,""title"":"" chinese "",""user"":{""login"":""tenfyzhong"",""id"":5044825,""node_id"":""MDQ6VXNlcjUwNDQ4MjU="",""avatar_url"":""https://avatars.githubusercontent.com/u/5044825?v=4"",""gravatar_id"":"""",""url"":""https://api.github.com/users/tenfyzhong"",""html_url"":""https://github.com/tenfyzhong"",""followers_url"":""https://api.github.com/users/tenfyzhong/followers"",""following_url"":""https://api.github.com/users/tenfyzhong/following{/other_user}"",""gists_url"":""https://api.github.com/users/tenfyzhong/gists{/gist_id}"",""starred_url"":""https://api.github.com/users/tenfyzhong/starred{/owner}{/repo}"",""subscriptions_url"":""https://api.github.com/users/tenfyzhong/subscriptions"",""organizations_url"":""https://api.github.com/users/tenfyzhong/orgs"",""repos_url"":""https://api.github.com/users/tenfyzhong/repos"",""events_url"":""https://api.github.com/users/tenfyzhong/events{/privacy}"",""received_events_url"":""https://api.github.com/users/tenfyzhong/received_events"",""type"":""User"",""site_admin"":false},""labels"":[{""id"":937861454,""node_id"":""MDU6TGFiZWw5Mzc4NjE0NTQ="",""url"":""https://api.github.com/repos/panjf2000/ants/labels/enhancement"",""name"":""enhancement"",""color"":""3eede7"",""default"":true,""description"":""New feature or request""}],""state"":""closed"",""locked"":false,""assignee"":null,""assignees"":[],""milestone"":{""url"": ""https://api.github.com/repos/apache/incubator-devlake/milestones/7"",""html_url"": ""https://github.com/apache/incubator-devlake/milestone/7"",""labels_url"": ""https://api.github.com/repos/apache/incubator-devlake/milestones/7/labels"",""id"": 7856149,""node_id"": ""MI_kwDOFuUSzs4Ad-AV"",""number"": 7,""title"": ""v0.11.0"",""description"": null,""creator"": {""login"": ""Startrekzky"",""id"": 14050754,""node_id"": ""MDQ6VXNlcjE0MDUwNzU0"",""avatar_url"": ""https://avatars.githubusercontent.com/u/14050754?v=4"",""gravatar_id"": """",""url"": ""https://api.github.com/users/Startrekzky"",""html_url"": ""https://github.com/Startrekzky"",""followers_url"": ""https://api.github.com/users/Startrekzky/followers"",""following_url"": ""https://api.github.com/users/Startrekzky/following{/other_user}"",""gists_url"": ""https://api.github.com/users/Startrekzky/gists{/gist_id}"",""starred_url"": ""https://api.github.com/users/Startrekzky/starred{/owner}{/repo}"",""subscriptions_url"": ""https://api.github.com/users/Startrekzky/subscriptions"",""organizations_url"": ""https://api.github.com/users/Startrekzky/orgs"",""repos_url"": ""https://api.github.com/users/Startrekzky/repos"",""events_url"": ""https://api.github.com/users/Startrekzky/events{/privacy}"",""received_events_url"": ""https://api.github.com/users/Startrekzky/received_events"",""type"": ""User"",""site_admin"": false},""open_issues"": 2,""closed_issues"": 118,""state"": ""open"",""created_at"": ""2022-04-08T02:05:35Z"",""updated_at"": ""2022-06-24T01:34:37Z"",""due_on"": null,""closed_at"": null},""comments"":3,""created_at"":""2019-01-24T02:24:13Z"",""updated_at"":""2019-08-20T10:56:30Z"",""closed_at"":""2019-08-20T10:56:30Z"",""author_association"":""NONE"",""active_lock_reason"":null,""body"":""`Pool.Submit` chinese `PoolWithFunc.Server` chinese , chinese worker, chinese 。 chinese , chinese 。"",""reactions"":{""url"":""https://api.github.com/repos/panjf2000/ants/issues/24/reactions"",""total_count"":3,""+1"":1,""-1"":0,""laugh"":0,""hooray"":0,""confused"":0,""heart"":0,""rocket"":0,""eyes"":2},""timeline_url"":""https://api.github.com/repos/panjf2000/ants/issues/24/timeline"",""performed_via_github_app"":null,""state_reason"":""completed""}",https://api.github.com/repos/panjf2000/ants/issues?direction=asc&page=1&per_page=100&state=all,null,2022-06-13T15:35:54.530+00:00
-31,"{""ConnectionId"":1,""Name"":""panjf2000/ants""}","{""url"":""https://api.github.com/repos/panjf2000/ants/issues/25"",""repository_url"":""https://api.github.com/repos/panjf2000/ants"",""labels_url"":""https://api.github.com/repos/panjf2000/ants/issues/25/labels{/name}"",""comments_url"":""https://api.github.com/repos/panjf2000/ants/issues/25/comments"",""events_url"":""https://api.github.com/repos/panjf2000/ants/issues/25/events"",""html_url"":""https://github.com/panjf2000/ants/issues/25"",""id"":405951301,""node_id"":""MDU6SXNzdWU0MDU5NTEzMDE="",""number"":25,""title"":""use example errors"",""user"":{""login"":""jiashiwen"",""id"":5244267,""node_id"":""MDQ6VXNlcjUyNDQyNjc="",""avatar_url"":""https://avatars.githubusercontent.com/u/5244267?v=4"",""gravatar_id"":"""",""url"":""https://api.github.com/users/jiashiwen"",""html_url"":""https://github.com/jiashiwen"",""followers_url"":""https://api.github.com/users/jiashiwen/followers"",""following_url"":""https://api.github.com/users/jiashiwen/following{/other_user}"",""gists_url"":""https://api.github.com/users/jiashiwen/gists{/gist_id}"",""starred_url"":""https://api.github.com/users/jiashiwen/starred{/owner}{/repo}"",""subscriptions_url"":""https://api.github.com/users/jiashiwen/subscriptions"",""organizations_url"":""https://api.github.com/users/jiashiwen/orgs"",""repos_url"":""https://api.github.com/users/jiashiwen/repos"",""events_url"":""https://api.github.com/users/jiashiwen/events{/privacy}"",""received_events_url"":""https://api.github.com/users/jiashiwen/received_events"",""type"":""User"",""site_admin"":false},""labels"":[],""state"":""closed"",""locked"":false,""assignee"":null,""assignees"":[],""milestone"":{""url"": ""https://api.github.com/repos/apache/incubator-devlake/milestones/7"",""html_url"": ""https://github.com/apache/incubator-devlake/milestone/7"",""labels_url"": ""https://api.github.com/repos/apache/incubator-devlake/milestones/7/labels"",""id"": 7856149,""node_id"": ""MI_kwDOFuUSzs4Ad-AV"",""number"": 7,""title"": ""v0.11.0"",""description"": null,""creator"": {""login"": ""Startrekzky"",""id"": 14050754,""node_id"": ""MDQ6VXNlcjE0MDUwNzU0"",""avatar_url"": ""https://avatars.githubusercontent.com/u/14050754?v=4"",""gravatar_id"": """",""url"": ""https://api.github.com/users/Startrekzky"",""html_url"": ""https://github.com/Startrekzky"",""followers_url"": ""https://api.github.com/users/Startrekzky/followers"",""following_url"": ""https://api.github.com/users/Startrekzky/following{/other_user}"",""gists_url"": ""https://api.github.com/users/Startrekzky/gists{/gist_id}"",""starred_url"": ""https://api.github.com/users/Startrekzky/starred{/owner}{/repo}"",""subscriptions_url"": ""https://api.github.com/users/Startrekzky/subscriptions"",""organizations_url"": ""https://api.github.com/users/Startrekzky/orgs"",""repos_url"": ""https://api.github.com/users/Startrekzky/repos"",""events_url"": ""https://api.github.com/users/Startrekzky/events{/privacy}"",""received_events_url"": ""https://api.github.com/users/Startrekzky/received_events"",""type"": ""User"",""site_admin"": false},""open_issues"": 2,""closed_issues"": 118,""state"": ""open"",""created_at"": ""2022-04-08T02:05:35Z"",""updated_at"": ""2022-06-24T01:34:37Z"",""due_on"": null,""closed_at"": null},""comments"":1,""created_at"":""2019-02-02T05:43:38Z"",""updated_at"":""2019-02-04T09:11:52Z"",""closed_at"":""2019-02-04T09:11:52Z"",""author_association"":""NONE"",""active_lock_reason"":null,""body"":""./antstest.go:37:14: cannot use syncCalculateSum (type func()) as type ants.f in argument to ants.Submit\r\n./antstest.go:45:35: cannot use func literal (type func(interface {})) as type ants.pf in argument to ants.NewPoolWithFunc\r\n"",""reactions"":{""url"":""https://api.github.com/repos/panjf2000/ants/issues/25/reactions"",""total_count"":0,""+1"":0,""-1"":0,""laugh"":0,""hooray"":0,""confused"":0,""heart"":0,""rocket"":0,""eyes"":0},""timeline_url"":""https://api.github.com/repos/panjf2000/ants/issues/25/timeline"",""performed_via_github_app"":null,""state_reason"":""completed""}",https://api.github.com/repos/panjf2000/ants/issues?direction=asc&page=1&per_page=100&state=all,null,2022-06-13T15:35:54.530+00:00
-32,"{""ConnectionId"":1,""Name"":""panjf2000/ants""}","{""url"":""https://api.github.com/repos/panjf2000/ants/issues/26"",""repository_url"":""https://api.github.com/repos/panjf2000/ants"",""labels_url"":""https://api.github.com/repos/panjf2000/ants/issues/26/labels{/name}"",""comments_url"":""https://api.github.com/repos/panjf2000/ants/issues/26/comments"",""events_url"":""https://api.github.com/repos/panjf2000/ants/issues/26/events"",""html_url"":""https://github.com/panjf2000/ants/issues/26"",""id"":413968505,""node_id"":""MDU6SXNzdWU0MTM5Njg1MDU="",""number"":26,""title"":""running chinese cap chinese "",""user"":{""login"":""Ainiroad"",""id"":10361713,""node_id"":""MDQ6VXNlcjEwMzYxNzEz"",""avatar_url"":""https://avatars.githubusercontent.com/u/10361713?v=4"",""gravatar_id"":"""",""url"":""https://api.github.com/users/Ainiroad"",""html_url"":""https://github.com/Ainiroad"",""followers_url"":""https://api.github.com/users/Ainiroad/followers"",""following_url"":""https://api.github.com/users/Ainiroad/following{/other_user}"",""gists_url"":""https://api.github.com/users/Ainiroad/gists{/gist_id}"",""starred_url"":""https://api.github.com/users/Ainiroad/starred{/owner}{/repo}"",""subscriptions_url"":""https://api.github.com/users/Ainiroad/subscriptions"",""organizations_url"":""https://api.github.com/users/Ainiroad/orgs"",""repos_url"":""https://api.github.com/users/Ainiroad/repos"",""events_url"":""https://api.github.com/users/Ainiroad/events{/privacy}"",""received_events_url"":""https://api.github.com/users/Ainiroad/received_events"",""type"":""User"",""site_admin"":false},""labels"":[],""state"":""closed"",""locked"":false,""assignee"":null,""assignees"":[],""milestone"":{""url"": ""https://api.github.com/repos/apache/incubator-devlake/milestones/7"",""html_url"": ""https://github.com/apache/incubator-devlake/milestone/7"",""labels_url"": ""https://api.github.com/repos/apache/incubator-devlake/milestones/7/labels"",""id"": 7856149,""node_id"": ""MI_kwDOFuUSzs4Ad-AV"",""number"": 7,""title"": ""v0.11.0"",""description"": null,""creator"": {""login"": ""Startrekzky"",""id"": 14050754,""node_id"": ""MDQ6VXNlcjE0MDUwNzU0"",""avatar_url"": ""https://avatars.githubusercontent.com/u/14050754?v=4"",""gravatar_id"": """",""url"": ""https://api.github.com/users/Startrekzky"",""html_url"": ""https://github.com/Startrekzky"",""followers_url"": ""https://api.github.com/users/Startrekzky/followers"",""following_url"": ""https://api.github.com/users/Startrekzky/following{/other_user}"",""gists_url"": ""https://api.github.com/users/Startrekzky/gists{/gist_id}"",""starred_url"": ""https://api.github.com/users/Startrekzky/starred{/owner}{/repo}"",""subscriptions_url"": ""https://api.github.com/users/Startrekzky/subscriptions"",""organizations_url"": ""https://api.github.com/users/Startrekzky/orgs"",""repos_url"": ""https://api.github.com/users/Startrekzky/repos"",""events_url"": ""https://api.github.com/users/Startrekzky/events{/privacy}"",""received_events_url"": ""https://api.github.com/users/Startrekzky/received_events"",""type"": ""User"",""site_admin"": false},""open_issues"": 2,""closed_issues"": 118,""state"": ""open"",""created_at"": ""2022-04-08T02:05:35Z"",""updated_at"": ""2022-06-24T01:34:37Z"",""due_on"": null,""closed_at"": null},""comments"":2,""created_at"":""2019-02-25T07:29:33Z"",""updated_at"":""2019-03-12T12:01:57Z"",""closed_at"":""2019-03-12T12:01:57Z"",""author_association"":""NONE"",""active_lock_reason"":null,""body"":""running chinese cap chinese incRuning chinese , chinese running chinese cap chinese ?\r\n`func (p *Pool) retrieveWorker() *Worker {\r\n\tvar w *Worker\r\n\r\n\tp.lock.Lock()\r\n\tidleWorkers := p.workers\r\n\tn := len(idleWorkers) - 1\r\n\tif n >= 0 {\r\n\t\tw = idleWorkers[n]\r\n\t\tidleWorkers[n] = nil\r\n\t\tp.workers = idleWorkers[:n]\r\n\t\tp.lock.Unlock()\r\n\t} else if p.Running() < p.Cap() {\r\n\t\tp.lock.Unlock()\r\n\t\tif cacheWorker := p.workerCache.Get(); cacheWorker != nil {\r\n\t\t\tw = cacheWorker.(*Worker)\r\n\t\t} else {\r\n\t\t\tw = &Worker{\r\n\t\t\t\tpool: p,\r\n\t\t\t\ttask: make(chan func(), workerChanCap),\r\n\t\t\t}\r\n\t\t}\r\n\t\tw.run()`"",""reactions"":{""url"":""https://api.github.com/repos/panjf2000/ants/issues/26/reactions"",""total_count"":0,""+1"":0,""-1"":0,""laugh"":0,""hooray"":0,""confused"":0,""heart"":0,""rocket"":0,""eyes"":0},""timeline_url"":""https://api.github.com/repos/panjf2000/ants/issues/26/timeline"",""performed_via_github_app"":null,""state_reason"":""completed""}",https://api.github.com/repos/panjf2000/ants/issues?direction=asc&page=1&per_page=100&state=all,null,2022-06-13T15:35:54.530+00:00
-33,"{""ConnectionId"":1,""Name"":""panjf2000/ants""}","{""url"":""https://api.github.com/repos/panjf2000/ants/issues/27"",""repository_url"":""https://api.github.com/repos/panjf2000/ants"",""labels_url"":""https://api.github.com/repos/panjf2000/ants/issues/27/labels{/name}"",""comments_url"":""https://api.github.com/repos/panjf2000/ants/issues/27/comments"",""events_url"":""https://api.github.com/repos/panjf2000/ants/issues/27/events"",""html_url"":""https://github.com/panjf2000/ants/issues/27"",""id"":419183961,""node_id"":""MDU6SXNzdWU0MTkxODM5NjE="",""number"":27,""title"":"" chinese goroutine chinese , chinese "",""user"":{""login"":""liliang8858"",""id"":38367404,""node_id"":""MDQ6VXNlcjM4MzY3NDA0"",""avatar_url"":""https://avatars.githubusercontent.com/u/38367404?v=4"",""gravatar_id"":"""",""url"":""https://api.github.com/users/liliang8858"",""html_url"":""https://github.com/liliang8858"",""followers_url"":""https://api.github.com/users/liliang8858/followers"",""following_url"":""https://api.github.com/users/liliang8858/following{/other_user}"",""gists_url"":""https://api.github.com/users/liliang8858/gists{/gist_id}"",""starred_url"":""https://api.github.com/users/liliang8858/starred{/owner}{/repo}"",""subscriptions_url"":""https://api.github.com/users/liliang8858/subscriptions"",""organizations_url"":""https://api.github.com/users/liliang8858/orgs"",""repos_url"":""https://api.github.com/users/liliang8858/repos"",""events_url"":""https://api.github.com/users/liliang8858/events{/privacy}"",""received_events_url"":""https://api.github.com/users/liliang8858/received_events"",""type"":""User"",""site_admin"":false},""labels"":[],""state"":""closed"",""locked"":false,""assignee"":null,""assignees"":[],""milestone"":{""url"": ""https://api.github.com/repos/apache/incubator-devlake/milestones/7"",""html_url"": ""https://github.com/apache/incubator-devlake/milestone/7"",""labels_url"": ""https://api.github.com/repos/apache/incubator-devlake/milestones/7/labels"",""id"": 7856149,""node_id"": ""MI_kwDOFuUSzs4Ad-AV"",""number"": 7,""title"": ""v0.11.0"",""description"": null,""creator"": {""login"": ""Startrekzky"",""id"": 14050754,""node_id"": ""MDQ6VXNlcjE0MDUwNzU0"",""avatar_url"": ""https://avatars.githubusercontent.com/u/14050754?v=4"",""gravatar_id"": """",""url"": ""https://api.github.com/users/Startrekzky"",""html_url"": ""https://github.com/Startrekzky"",""followers_url"": ""https://api.github.com/users/Startrekzky/followers"",""following_url"": ""https://api.github.com/users/Startrekzky/following{/other_user}"",""gists_url"": ""https://api.github.com/users/Startrekzky/gists{/gist_id}"",""starred_url"": ""https://api.github.com/users/Startrekzky/starred{/owner}{/repo}"",""subscriptions_url"": ""https://api.github.com/users/Startrekzky/subscriptions"",""organizations_url"": ""https://api.github.com/users/Startrekzky/orgs"",""repos_url"": ""https://api.github.com/users/Startrekzky/repos"",""events_url"": ""https://api.github.com/users/Startrekzky/events{/privacy}"",""received_events_url"": ""https://api.github.com/users/Startrekzky/received_events"",""type"": ""User"",""site_admin"": false},""open_issues"": 2,""closed_issues"": 118,""state"": ""open"",""created_at"": ""2022-04-08T02:05:35Z"",""updated_at"": ""2022-06-24T01:34:37Z"",""due_on"": null,""closed_at"": null},""comments"":2,""created_at"":""2019-03-10T13:08:52Z"",""updated_at"":""2019-04-05T14:05:20Z"",""closed_at"":""2019-04-05T14:05:20Z"",""author_association"":""NONE"",""active_lock_reason"":null,""body"":"" chinese goroutine chinese , chinese \r\n chinese ?\r\n\r\nwebsocket server\r\nhttps://github.com/im-ai/pushm/blob/master/learn/goroutine/goroutinepoolwebsocket.go\r\n\r\nwebsocket cient\r\nhttps://github.com/im-ai/pushm/blob/master/learn/goroutine/goroutinepoolwebsocketclient.go\r\n"",""reactions"":{""url"":""https://api.github.com/repos/panjf2000/ants/issues/27/reactions"",""total_count"":0,""+1"":0,""-1"":0,""laugh"":0,""hooray"":0,""confused"":0,""heart"":0,""rocket"":0,""eyes"":0},""timeline_url"":""https://api.github.com/repos/panjf2000/ants/issues/27/timeline"",""performed_via_github_app"":null,""state_reason"":""completed""}",https://api.github.com/repos/panjf2000/ants/issues?direction=asc&page=1&per_page=100&state=all,null,2022-06-13T15:35:54.530+00:00
-34,"{""ConnectionId"":1,""Name"":""panjf2000/ants""}","{""url"":""https://api.github.com/repos/panjf2000/ants/issues/28"",""repository_url"":""https://api.github.com/repos/panjf2000/ants"",""labels_url"":""https://api.github.com/repos/panjf2000/ants/issues/28/labels{/name}"",""comments_url"":""https://api.github.com/repos/panjf2000/ants/issues/28/comments"",""events_url"":""https://api.github.com/repos/panjf2000/ants/issues/28/events"",""html_url"":""https://github.com/panjf2000/ants/issues/28"",""id"":419268851,""node_id"":""MDU6SXNzdWU0MTkyNjg4NTE="",""number"":28,""title"":""cap chinese running chinese "",""user"":{""login"":""naiba"",""id"":29243953,""node_id"":""MDQ6VXNlcjI5MjQzOTUz"",""avatar_url"":""https://avatars.githubusercontent.com/u/29243953?v=4"",""gravatar_id"":"""",""url"":""https://api.github.com/users/naiba"",""html_url"":""https://github.com/naiba"",""followers_url"":""https://api.github.com/users/naiba/followers"",""following_url"":""https://api.github.com/users/naiba/following{/other_user}"",""gists_url"":""https://api.github.com/users/naiba/gists{/gist_id}"",""starred_url"":""https://api.github.com/users/naiba/starred{/owner}{/repo}"",""subscriptions_url"":""https://api.github.com/users/naiba/subscriptions"",""organizations_url"":""https://api.github.com/users/naiba/orgs"",""repos_url"":""https://api.github.com/users/naiba/repos"",""events_url"":""https://api.github.com/users/naiba/events{/privacy}"",""received_events_url"":""https://api.github.com/users/naiba/received_events"",""type"":""User"",""site_admin"":false},""labels"":[],""state"":""closed"",""locked"":false,""assignee"":null,""assignees"":[],""milestone"":{""url"": ""https://api.github.com/repos/apache/incubator-devlake/milestones/7"",""html_url"": ""https://github.com/apache/incubator-devlake/milestone/7"",""labels_url"": ""https://api.github.com/repos/apache/incubator-devlake/milestones/7/labels"",""id"": 7856149,""node_id"": ""MI_kwDOFuUSzs4Ad-AV"",""number"": 7,""title"": ""v0.11.0"",""description"": null,""creator"": {""login"": ""Startrekzky"",""id"": 14050754,""node_id"": ""MDQ6VXNlcjE0MDUwNzU0"",""avatar_url"": ""https://avatars.githubusercontent.com/u/14050754?v=4"",""gravatar_id"": """",""url"": ""https://api.github.com/users/Startrekzky"",""html_url"": ""https://github.com/Startrekzky"",""followers_url"": ""https://api.github.com/users/Startrekzky/followers"",""following_url"": ""https://api.github.com/users/Startrekzky/following{/other_user}"",""gists_url"": ""https://api.github.com/users/Startrekzky/gists{/gist_id}"",""starred_url"": ""https://api.github.com/users/Startrekzky/starred{/owner}{/repo}"",""subscriptions_url"": ""https://api.github.com/users/Startrekzky/subscriptions"",""organizations_url"": ""https://api.github.com/users/Startrekzky/orgs"",""repos_url"": ""https://api.github.com/users/Startrekzky/repos"",""events_url"": ""https://api.github.com/users/Startrekzky/events{/privacy}"",""received_events_url"": ""https://api.github.com/users/Startrekzky/received_events"",""type"": ""User"",""site_admin"": false},""open_issues"": 2,""closed_issues"": 118,""state"": ""open"",""created_at"": ""2022-04-08T02:05:35Z"",""updated_at"": ""2022-06-24T01:34:37Z"",""due_on"": null,""closed_at"": null},""comments"":5,""created_at"":""2019-03-11T02:24:41Z"",""updated_at"":""2019-08-22T16:27:37Z"",""closed_at"":""2019-08-22T16:27:37Z"",""author_association"":""NONE"",""active_lock_reason"":null,""body"":"" chinese Playground chinese https://play.golang.org/p/D94YUU3FnX6\r\natomic chinese , chinese , chinese chinese , chinese chinese , chinese chinese , chinese \r\n chinese #26 chinese "",""reactions"":{""url"":""https://api.github.com/repos/panjf2000/ants/issues/28/reactions"",""total_count"":0,""+1"":0,""-1"":0,""laugh"":0,""hooray"":0,""confused"":0,""heart"":0,""rocket"":0,""eyes"":0},""timeline_url"":""https://api.github.com/repos/panjf2000/ants/issues/28/timeline"",""performed_via_github_app"":null,""state_reason"":""completed""}",https://api.github.com/repos/panjf2000/ants/issues?direction=asc&page=1&per_page=100&state=all,null,2022-06-13T15:35:54.530+00:00
-35,"{""ConnectionId"":1,""Name"":""panjf2000/ants""}","{""url"":""https://api.github.com/repos/panjf2000/ants/issues/29"",""repository_url"":""https://api.github.com/repos/panjf2000/ants"",""labels_url"":""https://api.github.com/repos/panjf2000/ants/issues/29/labels{/name}"",""comments_url"":""https://api.github.com/repos/panjf2000/ants/issues/29/comments"",""events_url"":""https://api.github.com/repos/panjf2000/ants/issues/29/events"",""html_url"":""https://github.com/panjf2000/ants/issues/29"",""id"":424634533,""node_id"":""MDU6SXNzdWU0MjQ2MzQ1MzM="",""number"":29,""title"":"" chinese "",""user"":{""login"":""prprprus"",""id"":8509898,""node_id"":""MDQ6VXNlcjg1MDk4OTg="",""avatar_url"":""https://avatars.githubusercontent.com/u/8509898?v=4"",""gravatar_id"":"""",""url"":""https://api.github.com/users/prprprus"",""html_url"":""https://github.com/prprprus"",""followers_url"":""https://api.github.com/users/prprprus/followers"",""following_url"":""https://api.github.com/users/prprprus/following{/other_user}"",""gists_url"":""https://api.github.com/users/prprprus/gists{/gist_id}"",""starred_url"":""https://api.github.com/users/prprprus/starred{/owner}{/repo}"",""subscriptions_url"":""https://api.github.com/users/prprprus/subscriptions"",""organizations_url"":""https://api.github.com/users/prprprus/orgs"",""repos_url"":""https://api.github.com/users/prprprus/repos"",""events_url"":""https://api.github.com/users/prprprus/events{/privacy}"",""received_events_url"":""https://api.github.com/users/prprprus/received_events"",""type"":""User"",""site_admin"":false},""labels"":[],""state"":""closed"",""locked"":false,""assignee"":null,""assignees"":[],""milestone"":{""url"": ""https://api.github.com/repos/apache/incubator-devlake/milestones/7"",""html_url"": ""https://github.com/apache/incubator-devlake/milestone/7"",""labels_url"": ""https://api.github.com/repos/apache/incubator-devlake/milestones/7/labels"",""id"": 7856149,""node_id"": ""MI_kwDOFuUSzs4Ad-AV"",""number"": 7,""title"": ""v0.11.0"",""description"": null,""creator"": {""login"": ""Startrekzky"",""id"": 14050754,""node_id"": ""MDQ6VXNlcjE0MDUwNzU0"",""avatar_url"": ""https://avatars.githubusercontent.com/u/14050754?v=4"",""gravatar_id"": """",""url"": ""https://api.github.com/users/Startrekzky"",""html_url"": ""https://github.com/Startrekzky"",""followers_url"": ""https://api.github.com/users/Startrekzky/followers"",""following_url"": ""https://api.github.com/users/Startrekzky/following{/other_user}"",""gists_url"": ""https://api.github.com/users/Startrekzky/gists{/gist_id}"",""starred_url"": ""https://api.github.com/users/Startrekzky/starred{/owner}{/repo}"",""subscriptions_url"": ""https://api.github.com/users/Startrekzky/subscriptions"",""organizations_url"": ""https://api.github.com/users/Startrekzky/orgs"",""repos_url"": ""https://api.github.com/users/Startrekzky/repos"",""events_url"": ""https://api.github.com/users/Startrekzky/events{/privacy}"",""received_events_url"": ""https://api.github.com/users/Startrekzky/received_events"",""type"": ""User"",""site_admin"": false},""open_issues"": 2,""closed_issues"": 118,""state"": ""open"",""created_at"": ""2022-04-08T02:05:35Z"",""updated_at"": ""2022-06-24T01:34:37Z"",""due_on"": null,""closed_at"": null},""comments"":2,""created_at"":""2019-03-24T16:52:21Z"",""updated_at"":""2019-03-25T09:45:05Z"",""closed_at"":""2019-03-25T09:32:11Z"",""author_association"":""NONE"",""active_lock_reason"":null,""body"":"" chinese , chinese 👍\r\n\r\nhttps://github.com/panjf2000/ants/blob/master/pool.go#L124 chinese , chinese ?\r\n"",""reactions"":{""url"":""https://api.github.com/repos/panjf2000/ants/issues/29/reactions"",""total_count"":0,""+1"":0,""-1"":0,""laugh"":0,""hooray"":0,""confused"":0,""heart"":0,""rocket"":0,""eyes"":0},""timeline_url"":""https://api.github.com/repos/panjf2000/ants/issues/29/timeline"",""performed_via_github_app"":null,""state_reason"":""completed""}",https://api.github.com/repos/panjf2000/ants/issues?direction=asc&page=1&per_page=100&state=all,null,2022-06-13T15:35:54.530+00:00
-36,"{""ConnectionId"":1,""Name"":""panjf2000/ants""}","{""url"":""https://api.github.com/repos/panjf2000/ants/issues/30"",""repository_url"":""https://api.github.com/repos/panjf2000/ants"",""labels_url"":""https://api.github.com/repos/panjf2000/ants/issues/30/labels{/name}"",""comments_url"":""https://api.github.com/repos/panjf2000/ants/issues/30/comments"",""events_url"":""https://api.github.com/repos/panjf2000/ants/issues/30/events"",""html_url"":""https://github.com/panjf2000/ants/pull/30"",""id"":429235920,""node_id"":""MDExOlB1bGxSZXF1ZXN0MjY3NDE0Mjc1"",""number"":30,""title"":""goreport: lint warning on code comment structure"",""user"":{""login"":""sarathsp06"",""id"":964542,""node_id"":""MDQ6VXNlcjk2NDU0Mg=="",""avatar_url"":""https://avatars.githubusercontent.com/u/964542?v=4"",""gravatar_id"":"""",""url"":""https://api.github.com/users/sarathsp06"",""html_url"":""https://github.com/sarathsp06"",""followers_url"":""https://api.github.com/users/sarathsp06/followers"",""following_url"":""https://api.github.com/users/sarathsp06/following{/other_user}"",""gists_url"":""https://api.github.com/users/sarathsp06/gists{/gist_id}"",""starred_url"":""https://api.github.com/users/sarathsp06/starred{/owner}{/repo}"",""subscriptions_url"":""https://api.github.com/users/sarathsp06/subscriptions"",""organizations_url"":""https://api.github.com/users/sarathsp06/orgs"",""repos_url"":""https://api.github.com/users/sarathsp06/repos"",""events_url"":""https://api.github.com/users/sarathsp06/events{/privacy}"",""received_events_url"":""https://api.github.com/users/sarathsp06/received_events"",""type"":""User"",""site_admin"":false},""labels"":[],""state"":""closed"",""locked"":false,""assignee"":null,""assignees"":[],""milestone"":{""url"": ""https://api.github.com/repos/apache/incubator-devlake/milestones/7"",""html_url"": ""https://github.com/apache/incubator-devlake/milestone/7"",""labels_url"": ""https://api.github.com/repos/apache/incubator-devlake/milestones/7/labels"",""id"": 7856149,""node_id"": ""MI_kwDOFuUSzs4Ad-AV"",""number"": 7,""title"": ""v0.11.0"",""description"": null,""creator"": {""login"": ""Startrekzky"",""id"": 14050754,""node_id"": ""MDQ6VXNlcjE0MDUwNzU0"",""avatar_url"": ""https://avatars.githubusercontent.com/u/14050754?v=4"",""gravatar_id"": """",""url"": ""https://api.github.com/users/Startrekzky"",""html_url"": ""https://github.com/Startrekzky"",""followers_url"": ""https://api.github.com/users/Startrekzky/followers"",""following_url"": ""https://api.github.com/users/Startrekzky/following{/other_user}"",""gists_url"": ""https://api.github.com/users/Startrekzky/gists{/gist_id}"",""starred_url"": ""https://api.github.com/users/Startrekzky/starred{/owner}{/repo}"",""subscriptions_url"": ""https://api.github.com/users/Startrekzky/subscriptions"",""organizations_url"": ""https://api.github.com/users/Startrekzky/orgs"",""repos_url"": ""https://api.github.com/users/Startrekzky/repos"",""events_url"": ""https://api.github.com/users/Startrekzky/events{/privacy}"",""received_events_url"": ""https://api.github.com/users/Startrekzky/received_events"",""type"": ""User"",""site_admin"": false},""open_issues"": 2,""closed_issues"": 118,""state"": ""open"",""created_at"": ""2022-04-08T02:05:35Z"",""updated_at"": ""2022-06-24T01:34:37Z"",""due_on"": null,""closed_at"": null},""comments"":1,""created_at"":""2019-04-04T11:52:48Z"",""updated_at"":""2019-04-23T11:11:58Z"",""closed_at"":""2019-04-23T11:11:58Z"",""author_association"":""CONTRIBUTOR"",""active_lock_reason"":null,""draft"":false,""pull_request"":{""url"":""https://api.github.com/repos/panjf2000/ants/pulls/30"",""html_url"":""https://github.com/panjf2000/ants/pull/30"",""diff_url"":""https://github.com/panjf2000/ants/pull/30.diff"",""patch_url"":""https://github.com/panjf2000/ants/pull/30.patch"",""merged_at"":""2019-04-23T11:11:58Z""},""body"":""Added a newline between group comment and exported variable line 😄"",""reactions"":{""url"":""https://api.github.com/repos/panjf2000/ants/issues/30/reactions"",""total_count"":0,""+1"":0,""-1"":0,""laugh"":0,""hooray"":0,""confused"":0,""heart"":0,""rocket"":0,""eyes"":0},""timeline_url"":""https://api.github.com/repos/panjf2000/ants/issues/30/timeline"",""performed_via_github_app"":null,""state_reason"":null}",https://api.github.com/repos/panjf2000/ants/issues?direction=asc&page=1&per_page=100&state=all,null,2022-06-13T15:35:54.530+00:00
-37,"{""ConnectionId"":1,""Name"":""panjf2000/ants""}","{""url"":""https://api.github.com/repos/panjf2000/ants/issues/31"",""repository_url"":""https://api.github.com/repos/panjf2000/ants"",""labels_url"":""https://api.github.com/repos/panjf2000/ants/issues/31/labels{/name}"",""comments_url"":""https://api.github.com/repos/panjf2000/ants/issues/31/comments"",""events_url"":""https://api.github.com/repos/panjf2000/ants/issues/31/events"",""html_url"":""https://github.com/panjf2000/ants/issues/31"",""id"":429972115,""node_id"":""MDU6SXNzdWU0Mjk5NzIxMTU="",""number"":31,""title"":""Add go.mod"",""user"":{""login"":""tsatke"",""id"":48135919,""node_id"":""MDQ6VXNlcjQ4MTM1OTE5"",""avatar_url"":""https://avatars.githubusercontent.com/u/48135919?v=4"",""gravatar_id"":"""",""url"":""https://api.github.com/users/tsatke"",""html_url"":""https://github.com/tsatke"",""followers_url"":""https://api.github.com/users/tsatke/followers"",""following_url"":""https://api.github.com/users/tsatke/following{/other_user}"",""gists_url"":""https://api.github.com/users/tsatke/gists{/gist_id}"",""starred_url"":""https://api.github.com/users/tsatke/starred{/owner}{/repo}"",""subscriptions_url"":""https://api.github.com/users/tsatke/subscriptions"",""organizations_url"":""https://api.github.com/users/tsatke/orgs"",""repos_url"":""https://api.github.com/users/tsatke/repos"",""events_url"":""https://api.github.com/users/tsatke/events{/privacy}"",""received_events_url"":""https://api.github.com/users/tsatke/received_events"",""type"":""User"",""site_admin"":false},""labels"":[],""state"":""closed"",""locked"":false,""assignee"":null,""assignees"":[],""milestone"":{""url"": ""https://api.github.com/repos/apache/incubator-devlake/milestones/7"",""html_url"": ""https://github.com/apache/incubator-devlake/milestone/7"",""labels_url"": ""https://api.github.com/repos/apache/incubator-devlake/milestones/7/labels"",""id"": 7856149,""node_id"": ""MI_kwDOFuUSzs4Ad-AV"",""number"": 7,""title"": ""v0.11.0"",""description"": null,""creator"": {""login"": ""Startrekzky"",""id"": 14050754,""node_id"": ""MDQ6VXNlcjE0MDUwNzU0"",""avatar_url"": ""https://avatars.githubusercontent.com/u/14050754?v=4"",""gravatar_id"": """",""url"": ""https://api.github.com/users/Startrekzky"",""html_url"": ""https://github.com/Startrekzky"",""followers_url"": ""https://api.github.com/users/Startrekzky/followers"",""following_url"": ""https://api.github.com/users/Startrekzky/following{/other_user}"",""gists_url"": ""https://api.github.com/users/Startrekzky/gists{/gist_id}"",""starred_url"": ""https://api.github.com/users/Startrekzky/starred{/owner}{/repo}"",""subscriptions_url"": ""https://api.github.com/users/Startrekzky/subscriptions"",""organizations_url"": ""https://api.github.com/users/Startrekzky/orgs"",""repos_url"": ""https://api.github.com/users/Startrekzky/repos"",""events_url"": ""https://api.github.com/users/Startrekzky/events{/privacy}"",""received_events_url"": ""https://api.github.com/users/Startrekzky/received_events"",""type"": ""User"",""site_admin"": false},""open_issues"": 2,""closed_issues"": 118,""state"": ""open"",""created_at"": ""2022-04-08T02:05:35Z"",""updated_at"": ""2022-06-24T01:34:37Z"",""due_on"": null,""closed_at"": null},""comments"":3,""created_at"":""2019-04-05T23:50:36Z"",""updated_at"":""2019-10-17T03:12:19Z"",""closed_at"":""2019-04-08T09:45:31Z"",""author_association"":""NONE"",""active_lock_reason"":null,""body"":"""",""reactions"":{""url"":""https://api.github.com/repos/panjf2000/ants/issues/31/reactions"",""total_count"":0,""+1"":0,""-1"":0,""laugh"":0,""hooray"":0,""confused"":0,""heart"":0,""rocket"":0,""eyes"":0},""timeline_url"":""https://api.github.com/repos/panjf2000/ants/issues/31/timeline"",""performed_via_github_app"":null,""state_reason"":""completed""}",https://api.github.com/repos/panjf2000/ants/issues?direction=asc&page=1&per_page=100&state=all,null,2022-06-13T15:35:54.530+00:00
-38,"{""ConnectionId"":1,""Name"":""panjf2000/ants""}","{""url"":""https://api.github.com/repos/panjf2000/ants/issues/32"",""repository_url"":""https://api.github.com/repos/panjf2000/ants"",""labels_url"":""https://api.github.com/repos/panjf2000/ants/issues/32/labels{/name}"",""comments_url"":""https://api.github.com/repos/panjf2000/ants/issues/32/comments"",""events_url"":""https://api.github.com/repos/panjf2000/ants/issues/32/events"",""html_url"":""https://github.com/panjf2000/ants/issues/32"",""id"":433564955,""node_id"":""MDU6SXNzdWU0MzM1NjQ5NTU="",""number"":32,""title"":"" chinese , chinese (0.0.x) chinese ?"",""user"":{""login"":""zplzpl"",""id"":7931755,""node_id"":""MDQ6VXNlcjc5MzE3NTU="",""avatar_url"":""https://avatars.githubusercontent.com/u/7931755?v=4"",""gravatar_id"":"""",""url"":""https://api.github.com/users/zplzpl"",""html_url"":""https://github.com/zplzpl"",""followers_url"":""https://api.github.com/users/zplzpl/followers"",""following_url"":""https://api.github.com/users/zplzpl/following{/other_user}"",""gists_url"":""https://api.github.com/users/zplzpl/gists{/gist_id}"",""starred_url"":""https://api.github.com/users/zplzpl/starred{/owner}{/repo}"",""subscriptions_url"":""https://api.github.com/users/zplzpl/subscriptions"",""organizations_url"":""https://api.github.com/users/zplzpl/orgs"",""repos_url"":""https://api.github.com/users/zplzpl/repos"",""events_url"":""https://api.github.com/users/zplzpl/events{/privacy}"",""received_events_url"":""https://api.github.com/users/zplzpl/received_events"",""type"":""User"",""site_admin"":false},""labels"":[{""id"":937861454,""node_id"":""MDU6TGFiZWw5Mzc4NjE0NTQ="",""url"":""https://api.github.com/repos/panjf2000/ants/labels/enhancement"",""name"":""enhancement"",""color"":""3eede7"",""default"":true,""description"":""New feature or request""}],""state"":""closed"",""locked"":false,""assignee"":null,""assignees"":[],""milestone"":{""url"": ""https://api.github.com/repos/apache/incubator-devlake/milestones/7"",""html_url"": ""https://github.com/apache/incubator-devlake/milestone/7"",""labels_url"": ""https://api.github.com/repos/apache/incubator-devlake/milestones/7/labels"",""id"": 7856149,""node_id"": ""MI_kwDOFuUSzs4Ad-AV"",""number"": 7,""title"": ""v0.11.0"",""description"": null,""creator"": {""login"": ""Startrekzky"",""id"": 14050754,""node_id"": ""MDQ6VXNlcjE0MDUwNzU0"",""avatar_url"": ""https://avatars.githubusercontent.com/u/14050754?v=4"",""gravatar_id"": """",""url"": ""https://api.github.com/users/Startrekzky"",""html_url"": ""https://github.com/Startrekzky"",""followers_url"": ""https://api.github.com/users/Startrekzky/followers"",""following_url"": ""https://api.github.com/users/Startrekzky/following{/other_user}"",""gists_url"": ""https://api.github.com/users/Startrekzky/gists{/gist_id}"",""starred_url"": ""https://api.github.com/users/Startrekzky/starred{/owner}{/repo}"",""subscriptions_url"": ""https://api.github.com/users/Startrekzky/subscriptions"",""organizations_url"": ""https://api.github.com/users/Startrekzky/orgs"",""repos_url"": ""https://api.github.com/users/Startrekzky/repos"",""events_url"": ""https://api.github.com/users/Startrekzky/events{/privacy}"",""received_events_url"": ""https://api.github.com/users/Startrekzky/received_events"",""type"": ""User"",""site_admin"": false},""open_issues"": 2,""closed_issues"": 118,""state"": ""open"",""created_at"": ""2022-04-08T02:05:35Z"",""updated_at"": ""2022-06-24T01:34:37Z"",""due_on"": null,""closed_at"": null},""comments"":1,""created_at"":""2019-04-16T03:16:02Z"",""updated_at"":""2019-04-21T07:16:26Z"",""closed_at"":""2019-04-21T07:16:26Z"",""author_association"":""NONE"",""active_lock_reason"":null,""body"":"" chinese , chinese 。\r\n\r\n chinese \r\n\r\n chinese , chinese 。"",""reactions"":{""url"":""https://api.github.com/repos/panjf2000/ants/issues/32/reactions"",""total_count"":0,""+1"":0,""-1"":0,""laugh"":0,""hooray"":0,""confused"":0,""heart"":0,""rocket"":0,""eyes"":0},""timeline_url"":""https://api.github.com/repos/panjf2000/ants/issues/32/timeline"",""performed_via_github_app"":null,""state_reason"":""completed""}",https://api.github.com/repos/panjf2000/ants/issues?direction=asc&page=1&per_page=100&state=all,null,2022-06-13T15:35:54.530+00:00
-39,"{""ConnectionId"":1,""Name"":""panjf2000/ants""}","{""url"":""https://api.github.com/repos/panjf2000/ants/issues/33"",""repository_url"":""https://api.github.com/repos/panjf2000/ants"",""labels_url"":""https://api.github.com/repos/panjf2000/ants/issues/33/labels{/name}"",""comments_url"":""https://api.github.com/repos/panjf2000/ants/issues/33/comments"",""events_url"":""https://api.github.com/repos/panjf2000/ants/issues/33/events"",""html_url"":""https://github.com/panjf2000/ants/issues/33"",""id"":434069015,""node_id"":""MDU6SXNzdWU0MzQwNjkwMTU="",""number"":33,""title"":""support semantic versioning."",""user"":{""login"":""jjeffcaii"",""id"":1284892,""node_id"":""MDQ6VXNlcjEyODQ4OTI="",""avatar_url"":""https://avatars.githubusercontent.com/u/1284892?v=4"",""gravatar_id"":"""",""url"":""https://api.github.com/users/jjeffcaii"",""html_url"":""https://github.com/jjeffcaii"",""followers_url"":""https://api.github.com/users/jjeffcaii/followers"",""following_url"":""https://api.github.com/users/jjeffcaii/following{/other_user}"",""gists_url"":""https://api.github.com/users/jjeffcaii/gists{/gist_id}"",""starred_url"":""https://api.github.com/users/jjeffcaii/starred{/owner}{/repo}"",""subscriptions_url"":""https://api.github.com/users/jjeffcaii/subscriptions"",""organizations_url"":""https://api.github.com/users/jjeffcaii/orgs"",""repos_url"":""https://api.github.com/users/jjeffcaii/repos"",""events_url"":""https://api.github.com/users/jjeffcaii/events{/privacy}"",""received_events_url"":""https://api.github.com/users/jjeffcaii/received_events"",""type"":""User"",""site_admin"":false},""labels"":[{""id"":937861454,""node_id"":""MDU6TGFiZWw5Mzc4NjE0NTQ="",""url"":""https://api.github.com/repos/panjf2000/ants/labels/enhancement"",""name"":""enhancement"",""color"":""3eede7"",""default"":true,""description"":""New feature or request""}],""state"":""closed"",""locked"":false,""assignee"":null,""assignees"":[],""milestone"":{""url"": ""https://api.github.com/repos/apache/incubator-devlake/milestones/7"",""html_url"": ""https://github.com/apache/incubator-devlake/milestone/7"",""labels_url"": ""https://api.github.com/repos/apache/incubator-devlake/milestones/7/labels"",""id"": 7856149,""node_id"": ""MI_kwDOFuUSzs4Ad-AV"",""number"": 7,""title"": ""v0.11.0"",""description"": null,""creator"": {""login"": ""Startrekzky"",""id"": 14050754,""node_id"": ""MDQ6VXNlcjE0MDUwNzU0"",""avatar_url"": ""https://avatars.githubusercontent.com/u/14050754?v=4"",""gravatar_id"": """",""url"": ""https://api.github.com/users/Startrekzky"",""html_url"": ""https://github.com/Startrekzky"",""followers_url"": ""https://api.github.com/users/Startrekzky/followers"",""following_url"": ""https://api.github.com/users/Startrekzky/following{/other_user}"",""gists_url"": ""https://api.github.com/users/Startrekzky/gists{/gist_id}"",""starred_url"": ""https://api.github.com/users/Startrekzky/starred{/owner}{/repo}"",""subscriptions_url"": ""https://api.github.com/users/Startrekzky/subscriptions"",""organizations_url"": ""https://api.github.com/users/Startrekzky/orgs"",""repos_url"": ""https://api.github.com/users/Startrekzky/repos"",""events_url"": ""https://api.github.com/users/Startrekzky/events{/privacy}"",""received_events_url"": ""https://api.github.com/users/Startrekzky/received_events"",""type"": ""User"",""site_admin"": false},""open_issues"": 2,""closed_issues"": 118,""state"": ""open"",""created_at"": ""2022-04-08T02:05:35Z"",""updated_at"": ""2022-06-24T01:34:37Z"",""due_on"": null,""closed_at"": null},""comments"":1,""created_at"":""2019-04-17T02:55:11Z"",""updated_at"":""2019-04-21T08:25:20Z"",""closed_at"":""2019-04-21T08:25:20Z"",""author_association"":""NONE"",""active_lock_reason"":null,""body"":"" chinese tag chinese semantic versioning,vX.Y.Z。go modules chinese 。\r\nhttps://semver.org/\r\nhttps://research.swtch.com/vgo-import"",""reactions"":{""url"":""https://api.github.com/repos/panjf2000/ants/issues/33/reactions"",""total_count"":0,""+1"":0,""-1"":0,""laugh"":0,""hooray"":0,""confused"":0,""heart"":0,""rocket"":0,""eyes"":0},""timeline_url"":""https://api.github.com/repos/panjf2000/ants/issues/33/timeline"",""performed_via_github_app"":null,""state_reason"":""completed""}",https://api.github.com/repos/panjf2000/ants/issues?direction=asc&page=1&per_page=100&state=all,null,2022-06-13T15:35:54.530+00:00
-40,"{""ConnectionId"":1,""Name"":""panjf2000/ants""}","{""url"":""https://api.github.com/repos/panjf2000/ants/issues/34"",""repository_url"":""https://api.github.com/repos/panjf2000/ants"",""labels_url"":""https://api.github.com/repos/panjf2000/ants/issues/34/labels{/name}"",""comments_url"":""https://api.github.com/repos/panjf2000/ants/issues/34/comments"",""events_url"":""https://api.github.com/repos/panjf2000/ants/issues/34/events"",""html_url"":""https://github.com/panjf2000/ants/issues/34"",""id"":435486645,""node_id"":""MDU6SXNzdWU0MzU0ODY2NDU="",""number"":34,""title"":""Important announcement about <ants> from author !!!"",""user"":{""login"":""panjf2000"",""id"":7496278,""node_id"":""MDQ6VXNlcjc0OTYyNzg="",""avatar_url"":""https://avatars.githubusercontent.com/u/7496278?v=4"",""gravatar_id"":"""",""url"":""https://api.github.com/users/panjf2000"",""html_url"":""https://github.com/panjf2000"",""followers_url"":""https://api.github.com/users/panjf2000/followers"",""following_url"":""https://api.github.com/users/panjf2000/following{/other_user}"",""gists_url"":""https://api.github.com/users/panjf2000/gists{/gist_id}"",""starred_url"":""https://api.github.com/users/panjf2000/starred{/owner}{/repo}"",""subscriptions_url"":""https://api.github.com/users/panjf2000/subscriptions"",""organizations_url"":""https://api.github.com/users/panjf2000/orgs"",""repos_url"":""https://api.github.com/users/panjf2000/repos"",""events_url"":""https://api.github.com/users/panjf2000/events{/privacy}"",""received_events_url"":""https://api.github.com/users/panjf2000/received_events"",""type"":""User"",""site_admin"":false},""labels"":[],""state"":""closed"",""locked"":false,""assignee"":null,""assignees"":[],""milestone"":{""url"": ""https://api.github.com/repos/apache/incubator-devlake/milestones/7"",""html_url"": ""https://github.com/apache/incubator-devlake/milestone/7"",""labels_url"": ""https://api.github.com/repos/apache/incubator-devlake/milestones/7/labels"",""id"": 7856149,""node_id"": ""MI_kwDOFuUSzs4Ad-AV"",""number"": 7,""title"": ""v0.11.0"",""description"": null,""creator"": {""login"": ""Startrekzky"",""id"": 14050754,""node_id"": ""MDQ6VXNlcjE0MDUwNzU0"",""avatar_url"": ""https://avatars.githubusercontent.com/u/14050754?v=4"",""gravatar_id"": """",""url"": ""https://api.github.com/users/Startrekzky"",""html_url"": ""https://github.com/Startrekzky"",""followers_url"": ""https://api.github.com/users/Startrekzky/followers"",""following_url"": ""https://api.github.com/users/Startrekzky/following{/other_user}"",""gists_url"": ""https://api.github.com/users/Startrekzky/gists{/gist_id}"",""starred_url"": ""https://api.github.com/users/Startrekzky/starred{/owner}{/repo}"",""subscriptions_url"": ""https://api.github.com/users/Startrekzky/subscriptions"",""organizations_url"": ""https://api.github.com/users/Startrekzky/orgs"",""repos_url"": ""https://api.github.com/users/Startrekzky/repos"",""events_url"": ""https://api.github.com/users/Startrekzky/events{/privacy}"",""received_events_url"": ""https://api.github.com/users/Startrekzky/received_events"",""type"": ""User"",""site_admin"": false},""open_issues"": 2,""closed_issues"": 118,""state"": ""open"",""created_at"": ""2022-04-08T02:05:35Z"",""updated_at"": ""2022-06-24T01:34:37Z"",""due_on"": null,""closed_at"": null},""comments"":1,""created_at"":""2019-04-21T08:10:28Z"",""updated_at"":""2019-05-07T15:35:08Z"",""closed_at"":""2019-05-07T15:35:08Z"",""author_association"":""OWNER"",""active_lock_reason"":null,""body"":""**Dear users of `ants`:**\r\nI am apologetically telling you that I have to dump all tags which already presents in `ants` repository.\r\n\r\nThe reason why I'm doing so is to standardize the version management with `Semantic Versioning`, which will make a formal and clear dependency management in go, for go modules, godep, or glide, etc. So I decide to start over the tag sequence, you could find more details in [Semantic Versioning](https://semver.org/) and [Semantic Import Versioning](https://research.swtch.com/vgo-import), related issue: #32, #33 (very thankful to @jjeffcaii and @zplzpl who provided the suggestions about it).\r\n\r\nI ought to apologize for the bothers brought by this change, the arch-criminal who leads to this issue would be my lack of concept about `Semantic Versioning`, I will spend more times learning the knowledge afterwards. \r\n\r\nOnce again, sorry for your costs in this change and thanks for your support to `ants`! \r\n\r\n*Have fun!*\r\n\r\n**Best regards,\r\nAndy Pan**\r\n"",""reactions"":{""url"":""https://api.github.com/repos/panjf2000/ants/issues/34/reactions"",""total_count"":0,""+1"":0,""-1"":0,""laugh"":0,""hooray"":0,""confused"":0,""heart"":0,""rocket"":0,""eyes"":0},""timeline_url"":""https://api.github.com/repos/panjf2000/ants/issues/34/timeline"",""performed_via_github_app"":null,""state_reason"":""completed""}",https://api.github.com/repos/panjf2000/ants/issues?direction=asc&page=1&per_page=100&state=all,null,2022-06-13T15:35:54.530+00:00
-41,"{""ConnectionId"":1,""Name"":""panjf2000/ants""}","{""url"":""https://api.github.com/repos/panjf2000/ants/issues/35"",""repository_url"":""https://api.github.com/repos/panjf2000/ants"",""labels_url"":""https://api.github.com/repos/panjf2000/ants/issues/35/labels{/name}"",""comments_url"":""https://api.github.com/repos/panjf2000/ants/issues/35/comments"",""events_url"":""https://api.github.com/repos/panjf2000/ants/issues/35/events"",""html_url"":""https://github.com/panjf2000/ants/issues/35"",""id"":461280653,""node_id"":""MDU6SXNzdWU0NjEyODA2NTM="",""number"":35,""title"":""worker exit on panic"",""user"":{""login"":""king526"",""id"":38849208,""node_id"":""MDQ6VXNlcjM4ODQ5MjA4"",""avatar_url"":""https://avatars.githubusercontent.com/u/38849208?v=4"",""gravatar_id"":"""",""url"":""https://api.github.com/users/king526"",""html_url"":""https://github.com/king526"",""followers_url"":""https://api.github.com/users/king526/followers"",""following_url"":""https://api.github.com/users/king526/following{/other_user}"",""gists_url"":""https://api.github.com/users/king526/gists{/gist_id}"",""starred_url"":""https://api.github.com/users/king526/starred{/owner}{/repo}"",""subscriptions_url"":""https://api.github.com/users/king526/subscriptions"",""organizations_url"":""https://api.github.com/users/king526/orgs"",""repos_url"":""https://api.github.com/users/king526/repos"",""events_url"":""https://api.github.com/users/king526/events{/privacy}"",""received_events_url"":""https://api.github.com/users/king526/received_events"",""type"":""User"",""site_admin"":false},""labels"":[],""state"":""closed"",""locked"":false,""assignee"":null,""assignees"":[],""milestone"":{""url"": ""https://api.github.com/repos/apache/incubator-devlake/milestones/7"",""html_url"": ""https://github.com/apache/incubator-devlake/milestone/7"",""labels_url"": ""https://api.github.com/repos/apache/incubator-devlake/milestones/7/labels"",""id"": 7856149,""node_id"": ""MI_kwDOFuUSzs4Ad-AV"",""number"": 7,""title"": ""v0.11.0"",""description"": null,""creator"": {""login"": ""Startrekzky"",""id"": 14050754,""node_id"": ""MDQ6VXNlcjE0MDUwNzU0"",""avatar_url"": ""https://avatars.githubusercontent.com/u/14050754?v=4"",""gravatar_id"": """",""url"": ""https://api.github.com/users/Startrekzky"",""html_url"": ""https://github.com/Startrekzky"",""followers_url"": ""https://api.github.com/users/Startrekzky/followers"",""following_url"": ""https://api.github.com/users/Startrekzky/following{/other_user}"",""gists_url"": ""https://api.github.com/users/Startrekzky/gists{/gist_id}"",""starred_url"": ""https://api.github.com/users/Startrekzky/starred{/owner}{/repo}"",""subscriptions_url"": ""https://api.github.com/users/Startrekzky/subscriptions"",""organizations_url"": ""https://api.github.com/users/Startrekzky/orgs"",""repos_url"": ""https://api.github.com/users/Startrekzky/repos"",""events_url"": ""https://api.github.com/users/Startrekzky/events{/privacy}"",""received_events_url"": ""https://api.github.com/users/Startrekzky/received_events"",""type"": ""User"",""site_admin"": false},""open_issues"": 2,""closed_issues"": 118,""state"": ""open"",""created_at"": ""2022-04-08T02:05:35Z"",""updated_at"": ""2022-06-24T01:34:37Z"",""due_on"": null,""closed_at"": null},""comments"":0,""created_at"":""2019-06-27T03:11:49Z"",""updated_at"":""2019-08-17T20:33:10Z"",""closed_at"":""2019-08-17T20:33:10Z"",""author_association"":""NONE"",""active_lock_reason"":null,""body"":"" chinese PanicHandler chinese 。\r\n1. chinese PanicHandler chinese , chinese panic, chinese 。\r\n2. chinese PanicHandler, chinese worker chinese , chinese pool chinese 。"",""reactions"":{""url"":""https://api.github.com/repos/panjf2000/ants/issues/35/reactions"",""total_count"":0,""+1"":0,""-1"":0,""laugh"":0,""hooray"":0,""confused"":0,""heart"":0,""rocket"":0,""eyes"":0},""timeline_url"":""https://api.github.com/repos/panjf2000/ants/issues/35/timeline"",""performed_via_github_app"":null,""state_reason"":""completed""}",https://api.github.com/repos/panjf2000/ants/issues?direction=asc&page=1&per_page=100&state=all,null,2022-06-13T15:35:54.530+00:00
-42,"{""ConnectionId"":1,""Name"":""panjf2000/ants""}","{""url"":""https://api.github.com/repos/panjf2000/ants/issues/36"",""repository_url"":""https://api.github.com/repos/panjf2000/ants"",""labels_url"":""https://api.github.com/repos/panjf2000/ants/issues/36/labels{/name}"",""comments_url"":""https://api.github.com/repos/panjf2000/ants/issues/36/comments"",""events_url"":""https://api.github.com/repos/panjf2000/ants/issues/36/events"",""html_url"":""https://github.com/panjf2000/ants/pull/36"",""id"":461287938,""node_id"":""MDExOlB1bGxSZXF1ZXN0MjkyMjQ2NTI0"",""number"":36,""title"":""handle job panic"",""user"":{""login"":""king526"",""id"":38849208,""node_id"":""MDQ6VXNlcjM4ODQ5MjA4"",""avatar_url"":""https://avatars.githubusercontent.com/u/38849208?v=4"",""gravatar_id"":"""",""url"":""https://api.github.com/users/king526"",""html_url"":""https://github.com/king526"",""followers_url"":""https://api.github.com/users/king526/followers"",""following_url"":""https://api.github.com/users/king526/following{/other_user}"",""gists_url"":""https://api.github.com/users/king526/gists{/gist_id}"",""starred_url"":""https://api.github.com/users/king526/starred{/owner}{/repo}"",""subscriptions_url"":""https://api.github.com/users/king526/subscriptions"",""organizations_url"":""https://api.github.com/users/king526/orgs"",""repos_url"":""https://api.github.com/users/king526/repos"",""events_url"":""https://api.github.com/users/king526/events{/privacy}"",""received_events_url"":""https://api.github.com/users/king526/received_events"",""type"":""User"",""site_admin"":false},""labels"":[],""state"":""closed"",""locked"":false,""assignee"":null,""assignees"":[],""milestone"":{""url"": ""https://api.github.com/repos/apache/incubator-devlake/milestones/7"",""html_url"": ""https://github.com/apache/incubator-devlake/milestone/7"",""labels_url"": ""https://api.github.com/repos/apache/incubator-devlake/milestones/7/labels"",""id"": 7856149,""node_id"": ""MI_kwDOFuUSzs4Ad-AV"",""number"": 7,""title"": ""v0.11.0"",""description"": null,""creator"": {""login"": ""Startrekzky"",""id"": 14050754,""node_id"": ""MDQ6VXNlcjE0MDUwNzU0"",""avatar_url"": ""https://avatars.githubusercontent.com/u/14050754?v=4"",""gravatar_id"": """",""url"": ""https://api.github.com/users/Startrekzky"",""html_url"": ""https://github.com/Startrekzky"",""followers_url"": ""https://api.github.com/users/Startrekzky/followers"",""following_url"": ""https://api.github.com/users/Startrekzky/following{/other_user}"",""gists_url"": ""https://api.github.com/users/Startrekzky/gists{/gist_id}"",""starred_url"": ""https://api.github.com/users/Startrekzky/starred{/owner}{/repo}"",""subscriptions_url"": ""https://api.github.com/users/Startrekzky/subscriptions"",""organizations_url"": ""https://api.github.com/users/Startrekzky/orgs"",""repos_url"": ""https://api.github.com/users/Startrekzky/repos"",""events_url"": ""https://api.github.com/users/Startrekzky/events{/privacy}"",""received_events_url"": ""https://api.github.com/users/Startrekzky/received_events"",""type"": ""User"",""site_admin"": false},""open_issues"": 2,""closed_issues"": 118,""state"": ""open"",""created_at"": ""2022-04-08T02:05:35Z"",""updated_at"": ""2022-06-24T01:34:37Z"",""due_on"": null,""closed_at"": null},""comments"":1,""created_at"":""2019-06-27T03:27:05Z"",""updated_at"":""2019-08-17T20:32:55Z"",""closed_at"":""2019-08-17T20:32:34Z"",""author_association"":""NONE"",""active_lock_reason"":null,""draft"":false,""pull_request"":{""url"":""https://api.github.com/repos/panjf2000/ants/pulls/36"",""html_url"":""https://github.com/panjf2000/ants/pull/36"",""diff_url"":""https://github.com/panjf2000/ants/pull/36.diff"",""patch_url"":""https://github.com/panjf2000/ants/pull/36.patch"",""merged_at"":null},""body"":"""",""reactions"":{""url"":""https://api.github.com/repos/panjf2000/ants/issues/36/reactions"",""total_count"":0,""+1"":0,""-1"":0,""laugh"":0,""hooray"":0,""confused"":0,""heart"":0,""rocket"":0,""eyes"":0},""timeline_url"":""https://api.github.com/repos/panjf2000/ants/issues/36/timeline"",""performed_via_github_app"":null,""state_reason"":null}",https://api.github.com/repos/panjf2000/ants/issues?direction=asc&page=1&per_page=100&state=all,null,2022-06-13T15:35:54.530+00:00
-43,"{""ConnectionId"":1,""Name"":""panjf2000/ants""}","{""url"":""https://api.github.com/repos/panjf2000/ants/issues/37"",""repository_url"":""https://api.github.com/repos/panjf2000/ants"",""labels_url"":""https://api.github.com/repos/panjf2000/ants/issues/37/labels{/name}"",""comments_url"":""https://api.github.com/repos/panjf2000/ants/issues/37/comments"",""events_url"":""https://api.github.com/repos/panjf2000/ants/issues/37/events"",""html_url"":""https://github.com/panjf2000/ants/issues/37"",""id"":462631417,""node_id"":""MDU6SXNzdWU0NjI2MzE0MTc="",""number"":37,""title"":"" chinese 。。。"",""user"":{""login"":""choleraehyq"",""id"":8923413,""node_id"":""MDQ6VXNlcjg5MjM0MTM="",""avatar_url"":""https://avatars.githubusercontent.com/u/8923413?v=4"",""gravatar_id"":"""",""url"":""https://api.github.com/users/choleraehyq"",""html_url"":""https://github.com/choleraehyq"",""followers_url"":""https://api.github.com/users/choleraehyq/followers"",""following_url"":""https://api.github.com/users/choleraehyq/following{/other_user}"",""gists_url"":""https://api.github.com/users/choleraehyq/gists{/gist_id}"",""starred_url"":""https://api.github.com/users/choleraehyq/starred{/owner}{/repo}"",""subscriptions_url"":""https://api.github.com/users/choleraehyq/subscriptions"",""organizations_url"":""https://api.github.com/users/choleraehyq/orgs"",""repos_url"":""https://api.github.com/users/choleraehyq/repos"",""events_url"":""https://api.github.com/users/choleraehyq/events{/privacy}"",""received_events_url"":""https://api.github.com/users/choleraehyq/received_events"",""type"":""User"",""site_admin"":false},""labels"":[],""state"":""closed"",""locked"":false,""assignee"":null,""assignees"":[],""milestone"":{""url"": ""https://api.github.com/repos/apache/incubator-devlake/milestones/7"",""html_url"": ""https://github.com/apache/incubator-devlake/milestone/7"",""labels_url"": ""https://api.github.com/repos/apache/incubator-devlake/milestones/7/labels"",""id"": 7856149,""node_id"": ""MI_kwDOFuUSzs4Ad-AV"",""number"": 7,""title"": ""v0.11.0"",""description"": null,""creator"": {""login"": ""Startrekzky"",""id"": 14050754,""node_id"": ""MDQ6VXNlcjE0MDUwNzU0"",""avatar_url"": ""https://avatars.githubusercontent.com/u/14050754?v=4"",""gravatar_id"": """",""url"": ""https://api.github.com/users/Startrekzky"",""html_url"": ""https://github.com/Startrekzky"",""followers_url"": ""https://api.github.com/users/Startrekzky/followers"",""following_url"": ""https://api.github.com/users/Startrekzky/following{/other_user}"",""gists_url"": ""https://api.github.com/users/Startrekzky/gists{/gist_id}"",""starred_url"": ""https://api.github.com/users/Startrekzky/starred{/owner}{/repo}"",""subscriptions_url"": ""https://api.github.com/users/Startrekzky/subscriptions"",""organizations_url"": ""https://api.github.com/users/Startrekzky/orgs"",""repos_url"": ""https://api.github.com/users/Startrekzky/repos"",""events_url"": ""https://api.github.com/users/Startrekzky/events{/privacy}"",""received_events_url"": ""https://api.github.com/users/Startrekzky/received_events"",""type"": ""User"",""site_admin"": false},""open_issues"": 2,""closed_issues"": 118,""state"": ""open"",""created_at"": ""2022-04-08T02:05:35Z"",""updated_at"": ""2022-06-24T01:34:37Z"",""due_on"": null,""closed_at"": null},""comments"":3,""created_at"":""2019-07-01T10:17:15Z"",""updated_at"":""2019-07-02T10:17:31Z"",""closed_at"":""2019-07-01T12:37:55Z"",""author_association"":""CONTRIBUTOR"",""active_lock_reason"":null,""body"":"" chinese 3.9.9, chinese , chinese , chinese 1.0.0。 chinese 。 chinese "",""reactions"":{""url"":""https://api.github.com/repos/panjf2000/ants/issues/37/reactions"",""total_count"":0,""+1"":0,""-1"":0,""laugh"":0,""hooray"":0,""confused"":0,""heart"":0,""rocket"":0,""eyes"":0},""timeline_url"":""https://api.github.com/repos/panjf2000/ants/issues/37/timeline"",""performed_via_github_app"":null,""state_reason"":""completed""}",https://api.github.com/repos/panjf2000/ants/issues?direction=asc&page=1&per_page=100&state=all,null,2022-06-13T15:35:54.530+00:00
-44,"{""ConnectionId"":1,""Name"":""panjf2000/ants""}","{""url"":""https://api.github.com/repos/panjf2000/ants/issues/38"",""repository_url"":""https://api.github.com/repos/panjf2000/ants"",""labels_url"":""https://api.github.com/repos/panjf2000/ants/issues/38/labels{/name}"",""comments_url"":""https://api.github.com/repos/panjf2000/ants/issues/38/comments"",""events_url"":""https://api.github.com/repos/panjf2000/ants/issues/38/events"",""html_url"":""https://github.com/panjf2000/ants/issues/38"",""id"":472125082,""node_id"":""MDU6SXNzdWU0NzIxMjUwODI="",""number"":38,""title"":""retrieveWorker chinese revertWorker chinese "",""user"":{""login"":""wwjiang"",""id"":1290360,""node_id"":""MDQ6VXNlcjEyOTAzNjA="",""avatar_url"":""https://avatars.githubusercontent.com/u/1290360?v=4"",""gravatar_id"":"""",""url"":""https://api.github.com/users/wwjiang"",""html_url"":""https://github.com/wwjiang"",""followers_url"":""https://api.github.com/users/wwjiang/followers"",""following_url"":""https://api.github.com/users/wwjiang/following{/other_user}"",""gists_url"":""https://api.github.com/users/wwjiang/gists{/gist_id}"",""starred_url"":""https://api.github.com/users/wwjiang/starred{/owner}{/repo}"",""subscriptions_url"":""https://api.github.com/users/wwjiang/subscriptions"",""organizations_url"":""https://api.github.com/users/wwjiang/orgs"",""repos_url"":""https://api.github.com/users/wwjiang/repos"",""events_url"":""https://api.github.com/users/wwjiang/events{/privacy}"",""received_events_url"":""https://api.github.com/users/wwjiang/received_events"",""type"":""User"",""site_admin"":false},""labels"":[],""state"":""closed"",""locked"":false,""assignee"":null,""assignees"":[],""milestone"":{""url"": ""https://api.github.com/repos/apache/incubator-devlake/milestones/7"",""html_url"": ""https://github.com/apache/incubator-devlake/milestone/7"",""labels_url"": ""https://api.github.com/repos/apache/incubator-devlake/milestones/7/labels"",""id"": 7856149,""node_id"": ""MI_kwDOFuUSzs4Ad-AV"",""number"": 7,""title"": ""v0.11.0"",""description"": null,""creator"": {""login"": ""Startrekzky"",""id"": 14050754,""node_id"": ""MDQ6VXNlcjE0MDUwNzU0"",""avatar_url"": ""https://avatars.githubusercontent.com/u/14050754?v=4"",""gravatar_id"": """",""url"": ""https://api.github.com/users/Startrekzky"",""html_url"": ""https://github.com/Startrekzky"",""followers_url"": ""https://api.github.com/users/Startrekzky/followers"",""following_url"": ""https://api.github.com/users/Startrekzky/following{/other_user}"",""gists_url"": ""https://api.github.com/users/Startrekzky/gists{/gist_id}"",""starred_url"": ""https://api.github.com/users/Startrekzky/starred{/owner}{/repo}"",""subscriptions_url"": ""https://api.github.com/users/Startrekzky/subscriptions"",""organizations_url"": ""https://api.github.com/users/Startrekzky/orgs"",""repos_url"": ""https://api.github.com/users/Startrekzky/repos"",""events_url"": ""https://api.github.com/users/Startrekzky/events{/privacy}"",""received_events_url"": ""https://api.github.com/users/Startrekzky/received_events"",""type"": ""User"",""site_admin"": false},""open_issues"": 2,""closed_issues"": 118,""state"": ""open"",""created_at"": ""2022-04-08T02:05:35Z"",""updated_at"": ""2022-06-24T01:34:37Z"",""due_on"": null,""closed_at"": null},""comments"":0,""created_at"":""2019-07-24T07:32:58Z"",""updated_at"":""2019-07-24T08:40:01Z"",""closed_at"":""2019-07-24T08:40:01Z"",""author_association"":""NONE"",""active_lock_reason"":null,""body"":""func (p *Pool) retrieveWorker() *Worker {\r\n\tvar w *Worker\r\n\r\n\t**p.lock.Lock()**\r\n\tidleWorkers := p.workers\r\n\tn := len(idleWorkers) - 1\r\n\tif n >= 0 {\r\n\t\tw = idleWorkers[n]\r\n\t\tidleWorkers[n] = nil\r\n\t\tp.workers = idleWorkers[:n]\r\n\t\tp.lock.Unlock()\r\n\t} else if p.Running() < p.Cap() {\r\n\t\tp.lock.Unlock()\r\n\t\tif cacheWorker := p.workerCache.Get(); cacheWorker != nil {\r\n\t\t\tw = cacheWorker.(*Worker)\r\n\t\t} else {\r\n\t\t\tw = &Worker{\r\n\t\t\t\tpool: p,\r\n\t\t\t\ttask: make(chan func(), workerChanCap),\r\n\t\t\t}\r\n\t\t}\r\n\t\tw.run()\r\n\t} else {\r\n\t\tfor {\r\n\t\t\t**p.cond.Wait()** \r\n\t\t\tl := len(p.workers) - 1\r\n\t\t\tif l < 0 {\r\n\t\t\t\tcontinue\r\n\t\t\t}\r\n\t\t\tw = p.workers[l]\r\n\t\t\tp.workers[l] = nil\r\n\t\t\tp.workers = p.workers[:l]\r\n\t\t\tbreak\r\n\t\t}\r\n\t\t**p.lock.Unlock()**\r\n\t}\r\n\treturn w\r\n}\r\n\r\n// revertWorker puts a worker back into free pool, recycling the goroutines.\r\nfunc (p *Pool) revertWorker(worker *Worker) bool {\r\n\tif CLOSED == atomic.LoadInt32(&p.release) {\r\n\t\treturn false\r\n\t}\r\n\tworker.recycleTime = time.Now()\r\n\t**p.lock.Lock()** // chinese \r\n\tp.workers = append(p.workers, worker)\r\n\t// Notify the invoker stuck in 'retrieveWorker()' of there is an available worker in the worker queue.\r\n\tp.cond.Signal()\r\n\t**p.lock.Unlock()**\r\n\treturn true\r\n}\r\n"",""reactions"":{""url"":""https://api.github.com/repos/panjf2000/ants/issues/38/reactions"",""total_count"":0,""+1"":0,""-1"":0,""laugh"":0,""hooray"":0,""confused"":0,""heart"":0,""rocket"":0,""eyes"":0},""timeline_url"":""https://api.github.com/repos/panjf2000/ants/issues/38/timeline"",""performed_via_github_app"":null,""state_reason"":""completed""}",https://api.github.com/repos/panjf2000/ants/issues?direction=asc&page=1&per_page=100&state=all,null,2022-06-13T15:35:54.530+00:00
-45,"{""ConnectionId"":1,""Name"":""panjf2000/ants""}","{""url"":""https://api.github.com/repos/panjf2000/ants/issues/39"",""repository_url"":""https://api.github.com/repos/panjf2000/ants"",""labels_url"":""https://api.github.com/repos/panjf2000/ants/issues/39/labels{/name}"",""comments_url"":""https://api.github.com/repos/panjf2000/ants/issues/39/comments"",""events_url"":""https://api.github.com/repos/panjf2000/ants/issues/39/events"",""html_url"":""https://github.com/panjf2000/ants/pull/39"",""id"":472128146,""node_id"":""MDExOlB1bGxSZXF1ZXN0MzAwNTk4OTM2"",""number"":39,""title"":"" chinese "",""user"":{""login"":""wwjiang"",""id"":1290360,""node_id"":""MDQ6VXNlcjEyOTAzNjA="",""avatar_url"":""https://avatars.githubusercontent.com/u/1290360?v=4"",""gravatar_id"":"""",""url"":""https://api.github.com/users/wwjiang"",""html_url"":""https://github.com/wwjiang"",""followers_url"":""https://api.github.com/users/wwjiang/followers"",""following_url"":""https://api.github.com/users/wwjiang/following{/other_user}"",""gists_url"":""https://api.github.com/users/wwjiang/gists{/gist_id}"",""starred_url"":""https://api.github.com/users/wwjiang/starred{/owner}{/repo}"",""subscriptions_url"":""https://api.github.com/users/wwjiang/subscriptions"",""organizations_url"":""https://api.github.com/users/wwjiang/orgs"",""repos_url"":""https://api.github.com/users/wwjiang/repos"",""events_url"":""https://api.github.com/users/wwjiang/events{/privacy}"",""received_events_url"":""https://api.github.com/users/wwjiang/received_events"",""type"":""User"",""site_admin"":false},""labels"":[],""state"":""closed"",""locked"":false,""assignee"":null,""assignees"":[],""milestone"":{""url"": ""https://api.github.com/repos/apache/incubator-devlake/milestones/7"",""html_url"": ""https://github.com/apache/incubator-devlake/milestone/7"",""labels_url"": ""https://api.github.com/repos/apache/incubator-devlake/milestones/7/labels"",""id"": 7856149,""node_id"": ""MI_kwDOFuUSzs4Ad-AV"",""number"": 7,""title"": ""v0.11.0"",""description"": null,""creator"": {""login"": ""Startrekzky"",""id"": 14050754,""node_id"": ""MDQ6VXNlcjE0MDUwNzU0"",""avatar_url"": ""https://avatars.githubusercontent.com/u/14050754?v=4"",""gravatar_id"": """",""url"": ""https://api.github.com/users/Startrekzky"",""html_url"": ""https://github.com/Startrekzky"",""followers_url"": ""https://api.github.com/users/Startrekzky/followers"",""following_url"": ""https://api.github.com/users/Startrekzky/following{/other_user}"",""gists_url"": ""https://api.github.com/users/Startrekzky/gists{/gist_id}"",""starred_url"": ""https://api.github.com/users/Startrekzky/starred{/owner}{/repo}"",""subscriptions_url"": ""https://api.github.com/users/Startrekzky/subscriptions"",""organizations_url"": ""https://api.github.com/users/Startrekzky/orgs"",""repos_url"": ""https://api.github.com/users/Startrekzky/repos"",""events_url"": ""https://api.github.com/users/Startrekzky/events{/privacy}"",""received_events_url"": ""https://api.github.com/users/Startrekzky/received_events"",""type"": ""User"",""site_admin"": false},""open_issues"": 2,""closed_issues"": 118,""state"": ""open"",""created_at"": ""2022-04-08T02:05:35Z"",""updated_at"": ""2022-06-24T01:34:37Z"",""due_on"": null,""closed_at"": null},""comments"":2,""created_at"":""2019-07-24T07:41:02Z"",""updated_at"":""2019-07-26T04:00:12Z"",""closed_at"":""2019-07-26T04:00:12Z"",""author_association"":""NONE"",""active_lock_reason"":null,""draft"":false,""pull_request"":{""url"":""https://api.github.com/repos/panjf2000/ants/pulls/39"",""html_url"":""https://github.com/panjf2000/ants/pull/39"",""diff_url"":""https://github.com/panjf2000/ants/pull/39.diff"",""patch_url"":""https://github.com/panjf2000/ants/pull/39.patch"",""merged_at"":""2019-07-26T04:00:12Z""},""body"":"""",""reactions"":{""url"":""https://api.github.com/repos/panjf2000/ants/issues/39/reactions"",""total_count"":0,""+1"":0,""-1"":0,""laugh"":0,""hooray"":0,""confused"":0,""heart"":0,""rocket"":0,""eyes"":0},""timeline_url"":""https://api.github.com/repos/panjf2000/ants/issues/39/timeline"",""performed_via_github_app"":null,""state_reason"":null}",https://api.github.com/repos/panjf2000/ants/issues?direction=asc&page=1&per_page=100&state=all,null,2022-06-13T15:35:54.530+00:00
-46,"{""ConnectionId"":1,""Name"":""panjf2000/ants""}","{""url"":""https://api.github.com/repos/panjf2000/ants/issues/40"",""repository_url"":""https://api.github.com/repos/panjf2000/ants"",""labels_url"":""https://api.github.com/repos/panjf2000/ants/issues/40/labels{/name}"",""comments_url"":""https://api.github.com/repos/panjf2000/ants/issues/40/comments"",""events_url"":""https://api.github.com/repos/panjf2000/ants/issues/40/events"",""html_url"":""https://github.com/panjf2000/ants/pull/40"",""id"":473210395,""node_id"":""MDExOlB1bGxSZXF1ZXN0MzAxNDIxNjA3"",""number"":40,""title"":""optimize memory allocation, change the default pool param and add the log of panic stack."",""user"":{""login"":""Anteoy"",""id"":17495446,""node_id"":""MDQ6VXNlcjE3NDk1NDQ2"",""avatar_url"":""https://avatars.githubusercontent.com/u/17495446?v=4"",""gravatar_id"":"""",""url"":""https://api.github.com/users/Anteoy"",""html_url"":""https://github.com/Anteoy"",""followers_url"":""https://api.github.com/users/Anteoy/followers"",""following_url"":""https://api.github.com/users/Anteoy/following{/other_user}"",""gists_url"":""https://api.github.com/users/Anteoy/gists{/gist_id}"",""starred_url"":""https://api.github.com/users/Anteoy/starred{/owner}{/repo}"",""subscriptions_url"":""https://api.github.com/users/Anteoy/subscriptions"",""organizations_url"":""https://api.github.com/users/Anteoy/orgs"",""repos_url"":""https://api.github.com/users/Anteoy/repos"",""events_url"":""https://api.github.com/users/Anteoy/events{/privacy}"",""received_events_url"":""https://api.github.com/users/Anteoy/received_events"",""type"":""User"",""site_admin"":false},""labels"":[],""state"":""closed"",""locked"":false,""assignee"":null,""assignees"":[],""milestone"":{""url"": ""https://api.github.com/repos/apache/incubator-devlake/milestones/7"",""html_url"": ""https://github.com/apache/incubator-devlake/milestone/7"",""labels_url"": ""https://api.github.com/repos/apache/incubator-devlake/milestones/7/labels"",""id"": 7856149,""node_id"": ""MI_kwDOFuUSzs4Ad-AV"",""number"": 7,""title"": ""v0.11.0"",""description"": null,""creator"": {""login"": ""Startrekzky"",""id"": 14050754,""node_id"": ""MDQ6VXNlcjE0MDUwNzU0"",""avatar_url"": ""https://avatars.githubusercontent.com/u/14050754?v=4"",""gravatar_id"": """",""url"": ""https://api.github.com/users/Startrekzky"",""html_url"": ""https://github.com/Startrekzky"",""followers_url"": ""https://api.github.com/users/Startrekzky/followers"",""following_url"": ""https://api.github.com/users/Startrekzky/following{/other_user}"",""gists_url"": ""https://api.github.com/users/Startrekzky/gists{/gist_id}"",""starred_url"": ""https://api.github.com/users/Startrekzky/starred{/owner}{/repo}"",""subscriptions_url"": ""https://api.github.com/users/Startrekzky/subscriptions"",""organizations_url"": ""https://api.github.com/users/Startrekzky/orgs"",""repos_url"": ""https://api.github.com/users/Startrekzky/repos"",""events_url"": ""https://api.github.com/users/Startrekzky/events{/privacy}"",""received_events_url"": ""https://api.github.com/users/Startrekzky/received_events"",""type"": ""User"",""site_admin"": false},""open_issues"": 2,""closed_issues"": 118,""state"": ""open"",""created_at"": ""2022-04-08T02:05:35Z"",""updated_at"": ""2022-06-24T01:34:37Z"",""due_on"": null,""closed_at"": null},""comments"":11,""created_at"":""2019-07-26T07:07:06Z"",""updated_at"":""2019-07-26T15:22:26Z"",""closed_at"":""2019-07-26T15:22:26Z"",""author_association"":""CONTRIBUTOR"",""active_lock_reason"":null,""draft"":false,""pull_request"":{""url"":""https://api.github.com/repos/panjf2000/ants/pulls/40"",""html_url"":""https://github.com/panjf2000/ants/pull/40"",""diff_url"":""https://github.com/panjf2000/ants/pull/40.diff"",""patch_url"":""https://github.com/panjf2000/ants/pull/40.patch"",""merged_at"":""2019-07-26T15:22:26Z""},""body"":""Hi, I am using it on my online server which almost need 5 million goroutines on each go service.\r\nI'm divided into 10 small pools, because a pool of five million will slow down the speed associated with the slice.\r\nI made some small optimizations, I hope this is useful.\r\noptimize memory allocation, change the default pool param and add the log of panic stack.\r\nbtw, the default value DEFAULT_CLEAN_INTERVAL_TIME, one second is too short-lived. when the pool size is too large , Performance will drop .\r\n"",""reactions"":{""url"":""https://api.github.com/repos/panjf2000/ants/issues/40/reactions"",""total_count"":0,""+1"":0,""-1"":0,""laugh"":0,""hooray"":0,""confused"":0,""heart"":0,""rocket"":0,""eyes"":0},""timeline_url"":""https://api.github.com/repos/panjf2000/ants/issues/40/timeline"",""performed_via_github_app"":null,""state_reason"":null}",https://api.github.com/repos/panjf2000/ants/issues?direction=asc&page=1&per_page=100&state=all,null,2022-06-13T15:35:54.530+00:00
-47,"{""ConnectionId"":1,""Name"":""panjf2000/ants""}","{""url"":""https://api.github.com/repos/panjf2000/ants/issues/41"",""repository_url"":""https://api.github.com/repos/panjf2000/ants"",""labels_url"":""https://api.github.com/repos/panjf2000/ants/issues/41/labels{/name}"",""comments_url"":""https://api.github.com/repos/panjf2000/ants/issues/41/comments"",""events_url"":""https://api.github.com/repos/panjf2000/ants/issues/41/events"",""html_url"":""https://github.com/panjf2000/ants/pull/41"",""id"":482624004,""node_id"":""MDExOlB1bGxSZXF1ZXN0MzA4ODU5Mjcy"",""number"":41,""title"":""support nonblocking submit and max blocking limit setting"",""user"":{""login"":""choleraehyq"",""id"":8923413,""node_id"":""MDQ6VXNlcjg5MjM0MTM="",""avatar_url"":""https://avatars.githubusercontent.com/u/8923413?v=4"",""gravatar_id"":"""",""url"":""https://api.github.com/users/choleraehyq"",""html_url"":""https://github.com/choleraehyq"",""followers_url"":""https://api.github.com/users/choleraehyq/followers"",""following_url"":""https://api.github.com/users/choleraehyq/following{/other_user}"",""gists_url"":""https://api.github.com/users/choleraehyq/gists{/gist_id}"",""starred_url"":""https://api.github.com/users/choleraehyq/starred{/owner}{/repo}"",""subscriptions_url"":""https://api.github.com/users/choleraehyq/subscriptions"",""organizations_url"":""https://api.github.com/users/choleraehyq/orgs"",""repos_url"":""https://api.github.com/users/choleraehyq/repos"",""events_url"":""https://api.github.com/users/choleraehyq/events{/privacy}"",""received_events_url"":""https://api.github.com/users/choleraehyq/received_events"",""type"":""User"",""site_admin"":false},""labels"":[{""id"":937861454,""node_id"":""MDU6TGFiZWw5Mzc4NjE0NTQ="",""url"":""https://api.github.com/repos/panjf2000/ants/labels/enhancement"",""name"":""enhancement"",""color"":""3eede7"",""default"":true,""description"":""New feature or request""}],""state"":""closed"",""locked"":false,""assignee"":null,""assignees"":[],""milestone"":{""url"": ""https://api.github.com/repos/apache/incubator-devlake/milestones/7"",""html_url"": ""https://github.com/apache/incubator-devlake/milestone/7"",""labels_url"": ""https://api.github.com/repos/apache/incubator-devlake/milestones/7/labels"",""id"": 7856149,""node_id"": ""MI_kwDOFuUSzs4Ad-AV"",""number"": 7,""title"": ""v0.11.0"",""description"": null,""creator"": {""login"": ""Startrekzky"",""id"": 14050754,""node_id"": ""MDQ6VXNlcjE0MDUwNzU0"",""avatar_url"": ""https://avatars.githubusercontent.com/u/14050754?v=4"",""gravatar_id"": """",""url"": ""https://api.github.com/users/Startrekzky"",""html_url"": ""https://github.com/Startrekzky"",""followers_url"": ""https://api.github.com/users/Startrekzky/followers"",""following_url"": ""https://api.github.com/users/Startrekzky/following{/other_user}"",""gists_url"": ""https://api.github.com/users/Startrekzky/gists{/gist_id}"",""starred_url"": ""https://api.github.com/users/Startrekzky/starred{/owner}{/repo}"",""subscriptions_url"": ""https://api.github.com/users/Startrekzky/subscriptions"",""organizations_url"": ""https://api.github.com/users/Startrekzky/orgs"",""repos_url"": ""https://api.github.com/users/Startrekzky/repos"",""events_url"": ""https://api.github.com/users/Startrekzky/events{/privacy}"",""received_events_url"": ""https://api.github.com/users/Startrekzky/received_events"",""type"": ""User"",""site_admin"": false},""open_issues"": 2,""closed_issues"": 118,""state"": ""open"",""created_at"": ""2022-04-08T02:05:35Z"",""updated_at"": ""2022-06-24T01:34:37Z"",""due_on"": null,""closed_at"": null},""comments"":4,""created_at"":""2019-08-20T03:24:27Z"",""updated_at"":""2019-08-20T11:52:19Z"",""closed_at"":""2019-08-20T10:55:19Z"",""author_association"":""CONTRIBUTOR"",""active_lock_reason"":null,""draft"":false,""pull_request"":{""url"":""https://api.github.com/repos/panjf2000/ants/pulls/41"",""html_url"":""https://github.com/panjf2000/ants/pull/41"",""diff_url"":""https://github.com/panjf2000/ants/pull/41.diff"",""patch_url"":""https://github.com/panjf2000/ants/pull/41.patch"",""merged_at"":""2019-08-20T10:55:19Z""},""body"":""Signed-off-by: Cholerae Hu <choleraehyq@gmail.com>"",""reactions"":{""url"":""https://api.github.com/repos/panjf2000/ants/issues/41/reactions"",""total_count"":0,""+1"":0,""-1"":0,""laugh"":0,""hooray"":0,""confused"":0,""heart"":0,""rocket"":0,""eyes"":0},""timeline_url"":""https://api.github.com/repos/panjf2000/ants/issues/41/timeline"",""performed_via_github_app"":null,""state_reason"":null}",https://api.github.com/repos/panjf2000/ants/issues?direction=asc&page=1&per_page=100&state=all,null,2022-06-13T15:35:54.530+00:00
-48,"{""ConnectionId"":1,""Name"":""panjf2000/ants""}","{""url"":""https://api.github.com/repos/panjf2000/ants/issues/42"",""repository_url"":""https://api.github.com/repos/panjf2000/ants"",""labels_url"":""https://api.github.com/repos/panjf2000/ants/issues/42/labels{/name}"",""comments_url"":""https://api.github.com/repos/panjf2000/ants/issues/42/comments"",""events_url"":""https://api.github.com/repos/panjf2000/ants/issues/42/events"",""html_url"":""https://github.com/panjf2000/ants/issues/42"",""id"":483164833,""node_id"":""MDU6SXNzdWU0ODMxNjQ4MzM="",""number"":42,""title"":"" chinese , chinese functional options chinese "",""user"":{""login"":""choleraehyq"",""id"":8923413,""node_id"":""MDQ6VXNlcjg5MjM0MTM="",""avatar_url"":""https://avatars.githubusercontent.com/u/8923413?v=4"",""gravatar_id"":"""",""url"":""https://api.github.com/users/choleraehyq"",""html_url"":""https://github.com/choleraehyq"",""followers_url"":""https://api.github.com/users/choleraehyq/followers"",""following_url"":""https://api.github.com/users/choleraehyq/following{/other_user}"",""gists_url"":""https://api.github.com/users/choleraehyq/gists{/gist_id}"",""starred_url"":""https://api.github.com/users/choleraehyq/starred{/owner}{/repo}"",""subscriptions_url"":""https://api.github.com/users/choleraehyq/subscriptions"",""organizations_url"":""https://api.github.com/users/choleraehyq/orgs"",""repos_url"":""https://api.github.com/users/choleraehyq/repos"",""events_url"":""https://api.github.com/users/choleraehyq/events{/privacy}"",""received_events_url"":""https://api.github.com/users/choleraehyq/received_events"",""type"":""User"",""site_admin"":false},""labels"":[],""state"":""closed"",""locked"":false,""assignee"":null,""assignees"":[],""milestone"":{""url"": ""https://api.github.com/repos/apache/incubator-devlake/milestones/7"",""html_url"": ""https://github.com/apache/incubator-devlake/milestone/7"",""labels_url"": ""https://api.github.com/repos/apache/incubator-devlake/milestones/7/labels"",""id"": 7856149,""node_id"": ""MI_kwDOFuUSzs4Ad-AV"",""number"": 7,""title"": ""v0.11.0"",""description"": null,""creator"": {""login"": ""Startrekzky"",""id"": 14050754,""node_id"": ""MDQ6VXNlcjE0MDUwNzU0"",""avatar_url"": ""https://avatars.githubusercontent.com/u/14050754?v=4"",""gravatar_id"": """",""url"": ""https://api.github.com/users/Startrekzky"",""html_url"": ""https://github.com/Startrekzky"",""followers_url"": ""https://api.github.com/users/Startrekzky/followers"",""following_url"": ""https://api.github.com/users/Startrekzky/following{/other_user}"",""gists_url"": ""https://api.github.com/users/Startrekzky/gists{/gist_id}"",""starred_url"": ""https://api.github.com/users/Startrekzky/starred{/owner}{/repo}"",""subscriptions_url"": ""https://api.github.com/users/Startrekzky/subscriptions"",""organizations_url"": ""https://api.github.com/users/Startrekzky/orgs"",""repos_url"": ""https://api.github.com/users/Startrekzky/repos"",""events_url"": ""https://api.github.com/users/Startrekzky/events{/privacy}"",""received_events_url"": ""https://api.github.com/users/Startrekzky/received_events"",""type"": ""User"",""site_admin"": false},""open_issues"": 2,""closed_issues"": 118,""state"": ""open"",""created_at"": ""2022-04-08T02:05:35Z"",""updated_at"": ""2022-06-24T01:34:37Z"",""due_on"": null,""closed_at"": null},""comments"":3,""created_at"":""2019-08-21T02:20:08Z"",""updated_at"":""2019-08-21T14:32:51Z"",""closed_at"":""2019-08-21T14:32:51Z"",""author_association"":""CONTRIBUTOR"",""active_lock_reason"":null,""body"":"" chinese \r\n chinese functional options, chinese \r\n```\r\nants.NewPool(10)\r\n```\r\n chinese , chinese option, chinese , chinese options chinese 。 chinese option, chinese \r\n```\r\nants.NewPool(10, ants.WithNonblocking(true))\r\n```\r\n chinese 。\r\n\r\n chinese Option chinese , chinese , chinese 。\r\n chinese functional options chinese rob pike chinese https://commandcenter.blogspot.com/2014/01/self-referential-functions-and-design.html"",""reactions"":{""url"":""https://api.github.com/repos/panjf2000/ants/issues/42/reactions"",""total_count"":0,""+1"":0,""-1"":0,""laugh"":0,""hooray"":0,""confused"":0,""heart"":0,""rocket"":0,""eyes"":0},""timeline_url"":""https://api.github.com/repos/panjf2000/ants/issues/42/timeline"",""performed_via_github_app"":null,""state_reason"":""completed""}",https://api.github.com/repos/panjf2000/ants/issues?direction=asc&page=1&per_page=100&state=all,null,2022-06-13T15:35:54.530+00:00
-49,"{""ConnectionId"":1,""Name"":""panjf2000/ants""}","{""url"":""https://api.github.com/repos/panjf2000/ants/issues/43"",""repository_url"":""https://api.github.com/repos/panjf2000/ants"",""labels_url"":""https://api.github.com/repos/panjf2000/ants/issues/43/labels{/name}"",""comments_url"":""https://api.github.com/repos/panjf2000/ants/issues/43/comments"",""events_url"":""https://api.github.com/repos/panjf2000/ants/issues/43/events"",""html_url"":""https://github.com/panjf2000/ants/issues/43"",""id"":483736247,""node_id"":""MDU6SXNzdWU0ODM3MzYyNDc="",""number"":43,""title"":""1.3.0 chinese "",""user"":{""login"":""choleraehyq"",""id"":8923413,""node_id"":""MDQ6VXNlcjg5MjM0MTM="",""avatar_url"":""https://avatars.githubusercontent.com/u/8923413?v=4"",""gravatar_id"":"""",""url"":""https://api.github.com/users/choleraehyq"",""html_url"":""https://github.com/choleraehyq"",""followers_url"":""https://api.github.com/users/choleraehyq/followers"",""following_url"":""https://api.github.com/users/choleraehyq/following{/other_user}"",""gists_url"":""https://api.github.com/users/choleraehyq/gists{/gist_id}"",""starred_url"":""https://api.github.com/users/choleraehyq/starred{/owner}{/repo}"",""subscriptions_url"":""https://api.github.com/users/choleraehyq/subscriptions"",""organizations_url"":""https://api.github.com/users/choleraehyq/orgs"",""repos_url"":""https://api.github.com/users/choleraehyq/repos"",""events_url"":""https://api.github.com/users/choleraehyq/events{/privacy}"",""received_events_url"":""https://api.github.com/users/choleraehyq/received_events"",""type"":""User"",""site_admin"":false},""labels"":[],""state"":""closed"",""locked"":false,""assignee"":null,""assignees"":[],""milestone"":{""url"": ""https://api.github.com/repos/apache/incubator-devlake/milestones/7"",""html_url"": ""https://github.com/apache/incubator-devlake/milestone/7"",""labels_url"": ""https://api.github.com/repos/apache/incubator-devlake/milestones/7/labels"",""id"": 7856149,""node_id"": ""MI_kwDOFuUSzs4Ad-AV"",""number"": 7,""title"": ""v0.11.0"",""description"": null,""creator"": {""login"": ""Startrekzky"",""id"": 14050754,""node_id"": ""MDQ6VXNlcjE0MDUwNzU0"",""avatar_url"": ""https://avatars.githubusercontent.com/u/14050754?v=4"",""gravatar_id"": """",""url"": ""https://api.github.com/users/Startrekzky"",""html_url"": ""https://github.com/Startrekzky"",""followers_url"": ""https://api.github.com/users/Startrekzky/followers"",""following_url"": ""https://api.github.com/users/Startrekzky/following{/other_user}"",""gists_url"": ""https://api.github.com/users/Startrekzky/gists{/gist_id}"",""starred_url"": ""https://api.github.com/users/Startrekzky/starred{/owner}{/repo}"",""subscriptions_url"": ""https://api.github.com/users/Startrekzky/subscriptions"",""organizations_url"": ""https://api.github.com/users/Startrekzky/orgs"",""repos_url"": ""https://api.github.com/users/Startrekzky/repos"",""events_url"": ""https://api.github.com/users/Startrekzky/events{/privacy}"",""received_events_url"": ""https://api.github.com/users/Startrekzky/received_events"",""type"": ""User"",""site_admin"": false},""open_issues"": 2,""closed_issues"": 118,""state"": ""open"",""created_at"": ""2022-04-08T02:05:35Z"",""updated_at"": ""2022-06-24T01:34:37Z"",""due_on"": null,""closed_at"": null},""comments"":1,""created_at"":""2019-08-22T02:29:34Z"",""updated_at"":""2019-08-22T13:22:10Z"",""closed_at"":""2019-08-22T13:22:10Z"",""author_association"":""CONTRIBUTOR"",""active_lock_reason"":null,""body"":""Pool chinese (PanicHandler chinese ) chinese , chinese , chinese 。"",""reactions"":{""url"":""https://api.github.com/repos/panjf2000/ants/issues/43/reactions"",""total_count"":2,""+1"":2,""-1"":0,""laugh"":0,""hooray"":0,""confused"":0,""heart"":0,""rocket"":0,""eyes"":0},""timeline_url"":""https://api.github.com/repos/panjf2000/ants/issues/43/timeline"",""performed_via_github_app"":null,""state_reason"":""completed""}",https://api.github.com/repos/panjf2000/ants/issues?direction=asc&page=1&per_page=100&state=all,null,2022-06-13T15:35:54.530+00:00
-50,"{""ConnectionId"":1,""Name"":""panjf2000/ants""}","{""url"":""https://api.github.com/repos/panjf2000/ants/issues/44"",""repository_url"":""https://api.github.com/repos/panjf2000/ants"",""labels_url"":""https://api.github.com/repos/panjf2000/ants/issues/44/labels{/name}"",""comments_url"":""https://api.github.com/repos/panjf2000/ants/issues/44/comments"",""events_url"":""https://api.github.com/repos/panjf2000/ants/issues/44/events"",""html_url"":""https://github.com/panjf2000/ants/issues/44"",""id"":484311063,""node_id"":""MDU6SXNzdWU0ODQzMTEwNjM="",""number"":44,""title"":""1.1.1 -> 1.2.0 chinese "",""user"":{""login"":""choleraehyq"",""id"":8923413,""node_id"":""MDQ6VXNlcjg5MjM0MTM="",""avatar_url"":""https://avatars.githubusercontent.com/u/8923413?v=4"",""gravatar_id"":"""",""url"":""https://api.github.com/users/choleraehyq"",""html_url"":""https://github.com/choleraehyq"",""followers_url"":""https://api.github.com/users/choleraehyq/followers"",""following_url"":""https://api.github.com/users/choleraehyq/following{/other_user}"",""gists_url"":""https://api.github.com/users/choleraehyq/gists{/gist_id}"",""starred_url"":""https://api.github.com/users/choleraehyq/starred{/owner}{/repo}"",""subscriptions_url"":""https://api.github.com/users/choleraehyq/subscriptions"",""organizations_url"":""https://api.github.com/users/choleraehyq/orgs"",""repos_url"":""https://api.github.com/users/choleraehyq/repos"",""events_url"":""https://api.github.com/users/choleraehyq/events{/privacy}"",""received_events_url"":""https://api.github.com/users/choleraehyq/received_events"",""type"":""User"",""site_admin"":false},""labels"":[],""state"":""closed"",""locked"":false,""assignee"":null,""assignees"":[],""milestone"":{""url"": ""https://api.github.com/repos/apache/incubator-devlake/milestones/7"",""html_url"": ""https://github.com/apache/incubator-devlake/milestone/7"",""labels_url"": ""https://api.github.com/repos/apache/incubator-devlake/milestones/7/labels"",""id"": 7856149,""node_id"": ""MI_kwDOFuUSzs4Ad-AV"",""number"": 7,""title"": ""v0.11.0"",""description"": null,""creator"": {""login"": ""Startrekzky"",""id"": 14050754,""node_id"": ""MDQ6VXNlcjE0MDUwNzU0"",""avatar_url"": ""https://avatars.githubusercontent.com/u/14050754?v=4"",""gravatar_id"": """",""url"": ""https://api.github.com/users/Startrekzky"",""html_url"": ""https://github.com/Startrekzky"",""followers_url"": ""https://api.github.com/users/Startrekzky/followers"",""following_url"": ""https://api.github.com/users/Startrekzky/following{/other_user}"",""gists_url"": ""https://api.github.com/users/Startrekzky/gists{/gist_id}"",""starred_url"": ""https://api.github.com/users/Startrekzky/starred{/owner}{/repo}"",""subscriptions_url"": ""https://api.github.com/users/Startrekzky/subscriptions"",""organizations_url"": ""https://api.github.com/users/Startrekzky/orgs"",""repos_url"": ""https://api.github.com/users/Startrekzky/repos"",""events_url"": ""https://api.github.com/users/Startrekzky/events{/privacy}"",""received_events_url"": ""https://api.github.com/users/Startrekzky/received_events"",""type"": ""User"",""site_admin"": false},""open_issues"": 2,""closed_issues"": 118,""state"": ""open"",""created_at"": ""2022-04-08T02:05:35Z"",""updated_at"": ""2022-06-24T01:34:37Z"",""due_on"": null,""closed_at"": null},""comments"":1,""created_at"":""2019-08-23T03:27:38Z"",""updated_at"":""2019-08-25T06:36:14Z"",""closed_at"":""2019-08-25T06:36:14Z"",""author_association"":""CONTRIBUTOR"",""active_lock_reason"":null,""body"":""Pool.Release chinese "",""reactions"":{""url"":""https://api.github.com/repos/panjf2000/ants/issues/44/reactions"",""total_count"":0,""+1"":0,""-1"":0,""laugh"":0,""hooray"":0,""confused"":0,""heart"":0,""rocket"":0,""eyes"":0},""timeline_url"":""https://api.github.com/repos/panjf2000/ants/issues/44/timeline"",""performed_via_github_app"":null,""state_reason"":""completed""}",https://api.github.com/repos/panjf2000/ants/issues?direction=asc&page=1&per_page=100&state=all,null,2022-06-13T15:35:54.530+00:00
+9,"{""ConnectionId"":2,""Name"":""panjf2000/ants""}","{""url"":""https://api.github.com/repos/panjf2000/ants/issues/4"",""repository_url"":""https://api.github.com/repos/panjf2000/ants"",""labels_url"":""https://api.github.com/repos/panjf2000/ants/issues/4/labels{/name}"",""comments_url"":""https://api.github.com/repos/panjf2000/ants/issues/4/comments"",""events_url"":""https://api.github.com/repos/panjf2000/ants/issues/4/events"",""html_url"":""https://github.com/panjf2000/ants/pull/4"",""id"":344340088,""node_id"":""MDExOlB1bGxSZXF1ZXN0MjAzNzU2NzM2"",""number"":4,""title"":""pre-allocate the capacity of the worker list"",""user"":{""login"":""barryz"",""id"":16658738,""node_id"":""MDQ6VXNlcjE2NjU4NzM4"",""avatar_url"":""https://avatars.githubusercontent.com/u/16658738?v=4"",""gravatar_id"":"""",""url"":""https://api.github.com/users/barryz"",""html_url"":""https://github.com/barryz"",""followers_url"":""https://api.github.com/users/barryz/followers"",""following_url"":""https://api.github.com/users/barryz/following{/other_user}"",""gists_url"":""https://api.github.com/users/barryz/gists{/gist_id}"",""starred_url"":""https://api.github.com/users/barryz/starred{/owner}{/repo}"",""subscriptions_url"":""https://api.github.com/users/barryz/subscriptions"",""organizations_url"":""https://api.github.com/users/barryz/orgs"",""repos_url"":""https://api.github.com/users/barryz/repos"",""events_url"":""https://api.github.com/users/barryz/events{/privacy}"",""received_events_url"":""https://api.github.com/users/barryz/received_events"",""type"":""User"",""site_admin"":false},""labels"":[{""id"":937861454,""node_id"":""MDU6TGFiZWw5Mzc4NjE0NTQ="",""url"":""https://api.github.com/repos/panjf2000/ants/labels/enhancement"",""name"":""enhancement"",""color"":""3eede7"",""default"":true,""description"":""New feature or request""}],""state"":""closed"",""locked"":false,""assignee"":null,""assignees"":[],""milestone"":{""url"": ""https://api.github.com/repos/apache/devlake/milestones/7"",""html_url"": ""https://github.com/apache/devlake/milestone/7"",""labels_url"": ""https://api.github.com/repos/apache/devlake/milestones/7/labels"",""id"": 7856149,""node_id"": ""MI_kwDOFuUSzs4Ad-AV"",""number"": 7,""title"": ""v0.11.0"",""description"": null,""creator"": {""login"": ""Startrekzky"",""id"": 14050754,""node_id"": ""MDQ6VXNlcjE0MDUwNzU0"",""avatar_url"": ""https://avatars.githubusercontent.com/u/14050754?v=4"",""gravatar_id"": """",""url"": ""https://api.github.com/users/Startrekzky"",""html_url"": ""https://github.com/Startrekzky"",""followers_url"": ""https://api.github.com/users/Startrekzky/followers"",""following_url"": ""https://api.github.com/users/Startrekzky/following{/other_user}"",""gists_url"": ""https://api.github.com/users/Startrekzky/gists{/gist_id}"",""starred_url"": ""https://api.github.com/users/Startrekzky/starred{/owner}{/repo}"",""subscriptions_url"": ""https://api.github.com/users/Startrekzky/subscriptions"",""organizations_url"": ""https://api.github.com/users/Startrekzky/orgs"",""repos_url"": ""https://api.github.com/users/Startrekzky/repos"",""events_url"": ""https://api.github.com/users/Startrekzky/events{/privacy}"",""received_events_url"": ""https://api.github.com/users/Startrekzky/received_events"",""type"": ""User"",""site_admin"": false},""open_issues"": 2,""closed_issues"": 118,""state"": ""open"",""created_at"": ""2022-04-08T02:05:35Z"",""updated_at"": ""2022-06-24T01:34:37Z"",""due_on"": null,""closed_at"": null},""comments"":4,""created_at"":""2018-07-25T08:19:30Z"",""updated_at"":""2018-08-29T04:11:46Z"",""closed_at"":""2018-07-26T02:32:41Z"",""author_association"":""CONTRIBUTOR"",""active_lock_reason"":null,""draft"":false,""pull_request"":{""url"":""https://api.github.com/repos/panjf2000/ants/pulls/4"",""html_url"":""https://github.com/panjf2000/ants/pull/4"",""diff_url"":""https://github.com/panjf2000/ants/pull/4.diff"",""patch_url"":""https://github.com/panjf2000/ants/pull/4.patch"",""merged_at"":""2018-07-26T02:32:41Z""},""body"":""fix #3 \r\n* chinese , chinese , chinese \r\n* chinese `Pool` chinese `PoolFunc` chinese worker capacity\r\n* chinese "",""reactions"":{""url"":""https://api.github.com/repos/panjf2000/ants/issues/4/reactions"",""total_count"":0,""+1"":0,""-1"":0,""laugh"":0,""hooray"":0,""confused"":0,""heart"":0,""rocket"":0,""eyes"":0},""timeline_url"":""https://api.github.com/repos/panjf2000/ants/issues/4/timeline"",""performed_via_github_app"":null,""state_reason"":null}",https://api.github.com/repos/panjf2000/ants/issues?direction=asc&page=1&per_page=100&state=all,null,2022-06-13T15:35:54.530+00:00
+10,"{""ConnectionId"":1,""Name"":""panjf2000/ants""}","{""url"":""https://api.github.com/repos/panjf2000/ants/issues/4"",""repository_url"":""https://api.github.com/repos/panjf2000/ants"",""labels_url"":""https://api.github.com/repos/panjf2000/ants/issues/4/labels{/name}"",""comments_url"":""https://api.github.com/repos/panjf2000/ants/issues/4/comments"",""events_url"":""https://api.github.com/repos/panjf2000/ants/issues/4/events"",""html_url"":""https://github.com/panjf2000/ants/pull/4"",""id"":344340088,""node_id"":""MDExOlB1bGxSZXF1ZXN0MjAzNzU2NzM2"",""number"":4,""title"":""pre-allocate the capacity of the worker list"",""user"":{""login"":""barryz"",""id"":16658738,""node_id"":""MDQ6VXNlcjE2NjU4NzM4"",""avatar_url"":""https://avatars.githubusercontent.com/u/16658738?v=4"",""gravatar_id"":"""",""url"":""https://api.github.com/users/barryz"",""html_url"":""https://github.com/barryz"",""followers_url"":""https://api.github.com/users/barryz/followers"",""following_url"":""https://api.github.com/users/barryz/following{/other_user}"",""gists_url"":""https://api.github.com/users/barryz/gists{/gist_id}"",""starred_url"":""https://api.github.com/users/barryz/starred{/owner}{/repo}"",""subscriptions_url"":""https://api.github.com/users/barryz/subscriptions"",""organizations_url"":""https://api.github.com/users/barryz/orgs"",""repos_url"":""https://api.github.com/users/barryz/repos"",""events_url"":""https://api.github.com/users/barryz/events{/privacy}"",""received_events_url"":""https://api.github.com/users/barryz/received_events"",""type"":""User"",""site_admin"":false},""labels"":[{""id"":937861454,""node_id"":""MDU6TGFiZWw5Mzc4NjE0NTQ="",""url"":""https://api.github.com/repos/panjf2000/ants/labels/enhancement"",""name"":""enhancement"",""color"":""3eede7"",""default"":true,""description"":""New feature or request""}],""state"":""closed"",""locked"":false,""assignee"":null,""assignees"":[],""milestone"":{""url"": ""https://api.github.com/repos/apache/devlake/milestones/7"",""html_url"": ""https://github.com/apache/devlake/milestone/7"",""labels_url"": ""https://api.github.com/repos/apache/devlake/milestones/7/labels"",""id"": 7856149,""node_id"": ""MI_kwDOFuUSzs4Ad-AV"",""number"": 7,""title"": ""v0.11.0"",""description"": null,""creator"": {""login"": ""Startrekzky"",""id"": 14050754,""node_id"": ""MDQ6VXNlcjE0MDUwNzU0"",""avatar_url"": ""https://avatars.githubusercontent.com/u/14050754?v=4"",""gravatar_id"": """",""url"": ""https://api.github.com/users/Startrekzky"",""html_url"": ""https://github.com/Startrekzky"",""followers_url"": ""https://api.github.com/users/Startrekzky/followers"",""following_url"": ""https://api.github.com/users/Startrekzky/following{/other_user}"",""gists_url"": ""https://api.github.com/users/Startrekzky/gists{/gist_id}"",""starred_url"": ""https://api.github.com/users/Startrekzky/starred{/owner}{/repo}"",""subscriptions_url"": ""https://api.github.com/users/Startrekzky/subscriptions"",""organizations_url"": ""https://api.github.com/users/Startrekzky/orgs"",""repos_url"": ""https://api.github.com/users/Startrekzky/repos"",""events_url"": ""https://api.github.com/users/Startrekzky/events{/privacy}"",""received_events_url"": ""https://api.github.com/users/Startrekzky/received_events"",""type"": ""User"",""site_admin"": false},""open_issues"": 2,""closed_issues"": 118,""state"": ""open"",""created_at"": ""2022-04-08T02:05:35Z"",""updated_at"": ""2022-06-24T01:34:37Z"",""due_on"": null,""closed_at"": null},""comments"":4,""created_at"":""2018-07-25T08:19:30Z"",""updated_at"":""2018-08-29T04:11:46Z"",""closed_at"":""2018-07-26T02:32:41Z"",""author_association"":""CONTRIBUTOR"",""active_lock_reason"":null,""draft"":false,""pull_request"":{""url"":""https://api.github.com/repos/panjf2000/ants/pulls/4"",""html_url"":""https://github.com/panjf2000/ants/pull/4"",""diff_url"":""https://github.com/panjf2000/ants/pull/4.diff"",""patch_url"":""https://github.com/panjf2000/ants/pull/4.patch"",""merged_at"":""2018-07-26T02:32:41Z""},""body"":""fix #3 \r\n* chinese , chinese , chinese \r\n* chinese `Pool` chinese `PoolFunc` chinese worker capacity\r\n* chinese "",""reactions"":{""url"":""https://api.github.com/repos/panjf2000/ants/issues/4/reactions"",""total_count"":0,""+1"":0,""-1"":0,""laugh"":0,""hooray"":0,""confused"":0,""heart"":0,""rocket"":0,""eyes"":0},""timeline_url"":""https://api.github.com/repos/panjf2000/ants/issues/4/timeline"",""performed_via_github_app"":null,""state_reason"":null}",https://api.github.com/repos/panjf2000/ants/issues?direction=asc&page=1&per_page=100&state=all,null,2022-06-13T15:35:54.530+00:00
+11,"{""ConnectionId"":1,""Name"":""panjf2000/ants""}","{""url"":""https://api.github.com/repos/panjf2000/ants/issues/5"",""repository_url"":""https://api.github.com/repos/panjf2000/ants"",""labels_url"":""https://api.github.com/repos/panjf2000/ants/issues/5/labels{/name}"",""comments_url"":""https://api.github.com/repos/panjf2000/ants/issues/5/comments"",""events_url"":""https://api.github.com/repos/panjf2000/ants/issues/5/events"",""html_url"":""https://github.com/panjf2000/ants/issues/5"",""id"":346842831,""node_id"":""MDU6SXNzdWUzNDY4NDI4MzE="",""number"":5,""title"":"" chinese <-p.freeSignal chinese "",""user"":{""login"":""pathbox"",""id"":8605102,""node_id"":""MDQ6VXNlcjg2MDUxMDI="",""avatar_url"":""https://avatars.githubusercontent.com/u/8605102?v=4"",""gravatar_id"":"""",""url"":""https://api.github.com/users/pathbox"",""html_url"":""https://github.com/pathbox"",""followers_url"":""https://api.github.com/users/pathbox/followers"",""following_url"":""https://api.github.com/users/pathbox/following{/other_user}"",""gists_url"":""https://api.github.com/users/pathbox/gists{/gist_id}"",""starred_url"":""https://api.github.com/users/pathbox/starred{/owner}{/repo}"",""subscriptions_url"":""https://api.github.com/users/pathbox/subscriptions"",""organizations_url"":""https://api.github.com/users/pathbox/orgs"",""repos_url"":""https://api.github.com/users/pathbox/repos"",""events_url"":""https://api.github.com/users/pathbox/events{/privacy}"",""received_events_url"":""https://api.github.com/users/pathbox/received_events"",""type"":""User"",""site_admin"":false},""labels"":[{""id"":937861458,""node_id"":""MDU6TGFiZWw5Mzc4NjE0NTg="",""url"":""https://api.github.com/repos/panjf2000/ants/labels/question"",""name"":""question"",""color"":""801dae"",""default"":true,""description"":""Further information is requested""}],""state"":""closed"",""locked"":false,""assignee"":null,""assignees"":[],""milestone"":{""url"": ""https://api.github.com/repos/apache/devlake/milestones/7"",""html_url"": ""https://github.com/apache/devlake/milestone/7"",""labels_url"": ""https://api.github.com/repos/apache/devlake/milestones/7/labels"",""id"": 7856149,""node_id"": ""MI_kwDOFuUSzs4Ad-AV"",""number"": 7,""title"": ""v0.11.0"",""description"": null,""creator"": {""login"": ""Startrekzky"",""id"": 14050754,""node_id"": ""MDQ6VXNlcjE0MDUwNzU0"",""avatar_url"": ""https://avatars.githubusercontent.com/u/14050754?v=4"",""gravatar_id"": """",""url"": ""https://api.github.com/users/Startrekzky"",""html_url"": ""https://github.com/Startrekzky"",""followers_url"": ""https://api.github.com/users/Startrekzky/followers"",""following_url"": ""https://api.github.com/users/Startrekzky/following{/other_user}"",""gists_url"": ""https://api.github.com/users/Startrekzky/gists{/gist_id}"",""starred_url"": ""https://api.github.com/users/Startrekzky/starred{/owner}{/repo}"",""subscriptions_url"": ""https://api.github.com/users/Startrekzky/subscriptions"",""organizations_url"": ""https://api.github.com/users/Startrekzky/orgs"",""repos_url"": ""https://api.github.com/users/Startrekzky/repos"",""events_url"": ""https://api.github.com/users/Startrekzky/events{/privacy}"",""received_events_url"": ""https://api.github.com/users/Startrekzky/received_events"",""type"": ""User"",""site_admin"": false},""open_issues"": 2,""closed_issues"": 118,""state"": ""open"",""created_at"": ""2022-04-08T02:05:35Z"",""updated_at"": ""2022-06-24T01:34:37Z"",""due_on"": null,""closed_at"": null},""comments"":2,""created_at"":""2018-08-02T03:09:57Z"",""updated_at"":""2018-08-10T04:06:36Z"",""closed_at"":""2018-08-03T15:32:00Z"",""author_association"":""NONE"",""active_lock_reason"":null,""body"":""Hi,\r\n chinese , chinese `<-p.freeSignal` chinese 。 chinese ,freeSignal chinese , chinese `putWorker` chinese `p.freeSignal <- sig{}`\r\n\r\n chinese \r\n```\r\nfunc (p *Pool) getWorker() *Worker {\r\n\tvar w *Worker\r\n\twaiting := false\r\n\r\n\tp.lock.Lock()\r\n\tidleWorkers := p.workers\r\n\tn := len(idleWorkers) - 1\r\n\tif n < 0 { // chinese pool chinese worker chinese \r\n\t\twaiting = p.Running() >= p.Cap()\r\n\t} else { // chinese pool chinese worker\r\n\t\t<-p.freeSignal \r\n\t\tw = idleWorkers[n] \r\n\t\tidleWorkers[n] = nil\r\n\t\tp.workers = idleWorkers[:n]\r\n\t}\r\n\tp.lock.Unlock()\r\n\r\n\r\nfunc (p *Pool) Release() error {\r\n\tp.once.Do(func() { // chinese \r\n\t\tp.release <- sig{}\r\n\t\tp.lock.Lock()\r\n\t\tidleWorkers := p.workers\r\n\t\tfor i, w := range idleWorkers {\r\n\t\t\t<-p.freeSignal\r\n\t\t\tw.task <- nil\r\n\t\t\tidleWorkers[i] = nil\r\n\t\t}\r\n\t\tp.workers = nil\r\n\t\tp.lock.Unlock()\r\n\t})\r\n\treturn nil\r\n}\r\n\r\n```\r\n\r\n chinese `<-p.freeSignal`, chinese putWorker chinese ? chinese putWorker chinese , chinese , chinese idleWorkers chinese worker chinese \r\n\r\n chinese ? chinese "",""reactions"":{""url"":""https://api.github.com/repos/panjf2000/ants/issues/5/reactions"",""total_count"":0,""+1"":0,""-1"":0,""laugh"":0,""hooray"":0,""confused"":0,""heart"":0,""rocket"":0,""eyes"":0},""timeline_url"":""https://api.github.com/repos/panjf2000/ants/issues/5/timeline"",""performed_via_github_app"":null,""state_reason"":""completed""}",https://api.github.com/repos/panjf2000/ants/issues?direction=asc&page=1&per_page=100&state=all,null,2022-06-13T15:35:54.530+00:00
+12,"{""ConnectionId"":1,""Name"":""panjf2000/ants""}","{""url"":""https://api.github.com/repos/panjf2000/ants/issues/6"",""repository_url"":""https://api.github.com/repos/panjf2000/ants"",""labels_url"":""https://api.github.com/repos/panjf2000/ants/issues/6/labels{/name}"",""comments_url"":""https://api.github.com/repos/panjf2000/ants/issues/6/comments"",""events_url"":""https://api.github.com/repos/panjf2000/ants/issues/6/events"",""html_url"":""https://github.com/panjf2000/ants/issues/6"",""id"":347255859,""node_id"":""MDU6SXNzdWUzNDcyNTU4NTk="",""number"":6,""title"":"" chinese bug"",""user"":{""login"":""lovelly"",""id"":13118848,""node_id"":""MDQ6VXNlcjEzMTE4ODQ4"",""avatar_url"":""https://avatars.githubusercontent.com/u/13118848?v=4"",""gravatar_id"":"""",""url"":""https://api.github.com/users/lovelly"",""html_url"":""https://github.com/lovelly"",""followers_url"":""https://api.github.com/users/lovelly/followers"",""following_url"":""https://api.github.com/users/lovelly/following{/other_user}"",""gists_url"":""https://api.github.com/users/lovelly/gists{/gist_id}"",""starred_url"":""https://api.github.com/users/lovelly/starred{/owner}{/repo}"",""subscriptions_url"":""https://api.github.com/users/lovelly/subscriptions"",""organizations_url"":""https://api.github.com/users/lovelly/orgs"",""repos_url"":""https://api.github.com/users/lovelly/repos"",""events_url"":""https://api.github.com/users/lovelly/events{/privacy}"",""received_events_url"":""https://api.github.com/users/lovelly/received_events"",""type"":""User"",""site_admin"":false},""labels"":[{""id"":937861452,""node_id"":""MDU6TGFiZWw5Mzc4NjE0NTI="",""url"":""https://api.github.com/repos/panjf2000/ants/labels/bug"",""name"":""bug"",""color"":""d73a4a"",""default"":true,""description"":""Something isn't working""}],""state"":""closed"",""locked"":false,""assignee"":null,""assignees"":[],""milestone"":{""url"": ""https://api.github.com/repos/apache/devlake/milestones/7"",""html_url"": ""https://github.com/apache/devlake/milestone/7"",""labels_url"": ""https://api.github.com/repos/apache/devlake/milestones/7/labels"",""id"": 7856149,""node_id"": ""MI_kwDOFuUSzs4Ad-AV"",""number"": 7,""title"": ""v0.11.0"",""description"": null,""creator"": {""login"": ""Startrekzky"",""id"": 14050754,""node_id"": ""MDQ6VXNlcjE0MDUwNzU0"",""avatar_url"": ""https://avatars.githubusercontent.com/u/14050754?v=4"",""gravatar_id"": """",""url"": ""https://api.github.com/users/Startrekzky"",""html_url"": ""https://github.com/Startrekzky"",""followers_url"": ""https://api.github.com/users/Startrekzky/followers"",""following_url"": ""https://api.github.com/users/Startrekzky/following{/other_user}"",""gists_url"": ""https://api.github.com/users/Startrekzky/gists{/gist_id}"",""starred_url"": ""https://api.github.com/users/Startrekzky/starred{/owner}{/repo}"",""subscriptions_url"": ""https://api.github.com/users/Startrekzky/subscriptions"",""organizations_url"": ""https://api.github.com/users/Startrekzky/orgs"",""repos_url"": ""https://api.github.com/users/Startrekzky/repos"",""events_url"": ""https://api.github.com/users/Startrekzky/events{/privacy}"",""received_events_url"": ""https://api.github.com/users/Startrekzky/received_events"",""type"": ""User"",""site_admin"": false},""open_issues"": 2,""closed_issues"": 118,""state"": ""open"",""created_at"": ""2022-04-08T02:05:35Z"",""updated_at"": ""2022-06-24T01:34:37Z"",""due_on"": null,""closed_at"": null},""comments"":8,""created_at"":""2018-08-03T04:32:28Z"",""updated_at"":""2018-08-04T10:18:41Z"",""closed_at"":""2018-08-04T10:18:41Z"",""author_association"":""NONE"",""active_lock_reason"":null,""body"":""func (p *Pool) getWorker() *Worker chinese 199 chinese \r\n chinese , chinese \r\n\r\n\tp.lock.Unlock()\r\n\t\t<-p.freeSignal\r\n\t\tp.lock.Lock()"",""reactions"":{""url"":""https://api.github.com/repos/panjf2000/ants/issues/6/reactions"",""total_count"":0,""+1"":0,""-1"":0,""laugh"":0,""hooray"":0,""confused"":0,""heart"":0,""rocket"":0,""eyes"":0},""timeline_url"":""https://api.github.com/repos/panjf2000/ants/issues/6/timeline"",""performed_via_github_app"":null,""state_reason"":""completed""}",https://api.github.com/repos/panjf2000/ants/issues?direction=asc&page=1&per_page=100&state=all,null,2022-06-13T15:35:54.530+00:00
+13,"{""ConnectionId"":1,""Name"":""panjf2000/ants""}","{""url"":""https://api.github.com/repos/panjf2000/ants/issues/7"",""repository_url"":""https://api.github.com/repos/panjf2000/ants"",""labels_url"":""https://api.github.com/repos/panjf2000/ants/issues/7/labels{/name}"",""comments_url"":""https://api.github.com/repos/panjf2000/ants/issues/7/comments"",""events_url"":""https://api.github.com/repos/panjf2000/ants/issues/7/events"",""html_url"":""https://github.com/panjf2000/ants/issues/7"",""id"":348630179,""node_id"":""MDU6SXNzdWUzNDg2MzAxNzk="",""number"":7,""title"":"" chinese "",""user"":{""login"":""huiwq1990"",""id"":4555057,""node_id"":""MDQ6VXNlcjQ1NTUwNTc="",""avatar_url"":""https://avatars.githubusercontent.com/u/4555057?v=4"",""gravatar_id"":"""",""url"":""https://api.github.com/users/huiwq1990"",""html_url"":""https://github.com/huiwq1990"",""followers_url"":""https://api.github.com/users/huiwq1990/followers"",""following_url"":""https://api.github.com/users/huiwq1990/following{/other_user}"",""gists_url"":""https://api.github.com/users/huiwq1990/gists{/gist_id}"",""starred_url"":""https://api.github.com/users/huiwq1990/starred{/owner}{/repo}"",""subscriptions_url"":""https://api.github.com/users/huiwq1990/subscriptions"",""organizations_url"":""https://api.github.com/users/huiwq1990/orgs"",""repos_url"":""https://api.github.com/users/huiwq1990/repos"",""events_url"":""https://api.github.com/users/huiwq1990/events{/privacy}"",""received_events_url"":""https://api.github.com/users/huiwq1990/received_events"",""type"":""User"",""site_admin"":false},""labels"":[{""id"":937861452,""node_id"":""MDU6TGFiZWw5Mzc4NjE0NTI="",""url"":""https://api.github.com/repos/panjf2000/ants/labels/bug"",""name"":""bug"",""color"":""d73a4a"",""default"":true,""description"":""Something isn't working""}],""state"":""closed"",""locked"":false,""assignee"":null,""assignees"":[],""milestone"":{""url"": ""https://api.github.com/repos/apache/devlake/milestones/7"",""html_url"": ""https://github.com/apache/devlake/milestone/7"",""labels_url"": ""https://api.github.com/repos/apache/devlake/milestones/7/labels"",""id"": 7856149,""node_id"": ""MI_kwDOFuUSzs4Ad-AV"",""number"": 7,""title"": ""v0.11.0"",""description"": null,""creator"": {""login"": ""Startrekzky"",""id"": 14050754,""node_id"": ""MDQ6VXNlcjE0MDUwNzU0"",""avatar_url"": ""https://avatars.githubusercontent.com/u/14050754?v=4"",""gravatar_id"": """",""url"": ""https://api.github.com/users/Startrekzky"",""html_url"": ""https://github.com/Startrekzky"",""followers_url"": ""https://api.github.com/users/Startrekzky/followers"",""following_url"": ""https://api.github.com/users/Startrekzky/following{/other_user}"",""gists_url"": ""https://api.github.com/users/Startrekzky/gists{/gist_id}"",""starred_url"": ""https://api.github.com/users/Startrekzky/starred{/owner}{/repo}"",""subscriptions_url"": ""https://api.github.com/users/Startrekzky/subscriptions"",""organizations_url"": ""https://api.github.com/users/Startrekzky/orgs"",""repos_url"": ""https://api.github.com/users/Startrekzky/repos"",""events_url"": ""https://api.github.com/users/Startrekzky/events{/privacy}"",""received_events_url"": ""https://api.github.com/users/Startrekzky/received_events"",""type"": ""User"",""site_admin"": false},""open_issues"": 2,""closed_issues"": 118,""state"": ""open"",""created_at"": ""2022-04-08T02:05:35Z"",""updated_at"": ""2022-06-24T01:34:37Z"",""due_on"": null,""closed_at"": null},""comments"":4,""created_at"":""2018-08-08T08:43:15Z"",""updated_at"":""2018-08-10T04:06:04Z"",""closed_at"":""2018-08-10T04:06:04Z"",""author_association"":""NONE"",""active_lock_reason"":null,""body"":"" chinese , chinese 。 chinese ants chinese , chinese 。 chinese \r\n\r\n chinese periodicallyPurge chinese \r\n\r\n\r\n### chinese \r\n\r\n chinese n==0 chinese \r\n```\r\nif n > 0 {\r\n\tn++\r\n\tp.workers = idleWorkers[n:]\r\n}\r\n```\r\n\r\n\r\n### chinese \r\n```\r\npackage main\r\n\r\nimport (\r\n\t\""github.com/panjf2000/ants\""\r\n\t\""fmt\""\r\n\t\""time\""\r\n\t\""strconv\""\r\n)\r\n\r\nfunc main() {\r\n\r\n\tpool,err := ants.NewPool(100000)\r\n\r\n\tif err != nil {\r\n\t\tpanic(err)\r\n\t}\r\n\r\n\tfor i:=0;i<10000;i++{\r\n\t\tpool.Submit(\r\n\t\t\tfunc() error {\r\n\t\t\t\ttime.Sleep(1 * time.Millisecond)\r\n\t\t\t\tfmt.Println(strconv.Itoa(i))\r\n\t\t\t\treturn nil\r\n\t\t\t})\r\n\t}\r\n\r\n\tfor{\r\n\t\tpool.Submit(\r\n\t\t\tfunc() error {\r\n\t\t\t\ttime.Sleep(10 * time.Millisecond)\r\n\t\t\treturn nil\r\n\t\t})\r\n\t\ttime.Sleep(1 * time.Millisecond)\r\n\t}\r\n}\r\n```"",""reactions"":{""url"":""https://api.github.com/repos/panjf2000/ants/issues/7/reactions"",""total_count"":0,""+1"":0,""-1"":0,""laugh"":0,""hooray"":0,""confused"":0,""heart"":0,""rocket"":0,""eyes"":0},""timeline_url"":""https://api.github.com/repos/panjf2000/ants/issues/7/timeline"",""performed_via_github_app"":null,""state_reason"":""completed""}",https://api.github.com/repos/panjf2000/ants/issues?direction=asc&page=1&per_page=100&state=all,null,2022-06-13T15:35:54.530+00:00
+14,"{""ConnectionId"":1,""Name"":""panjf2000/ants""}","{""url"":""https://api.github.com/repos/panjf2000/ants/issues/8"",""repository_url"":""https://api.github.com/repos/panjf2000/ants"",""labels_url"":""https://api.github.com/repos/panjf2000/ants/issues/8/labels{/name}"",""comments_url"":""https://api.github.com/repos/panjf2000/ants/issues/8/comments"",""events_url"":""https://api.github.com/repos/panjf2000/ants/issues/8/events"",""html_url"":""https://github.com/panjf2000/ants/pull/8"",""id"":354962058,""node_id"":""MDExOlB1bGxSZXF1ZXN0MjExNjAzNTgz"",""number"":8,""title"":""fix goroutine leak"",""user"":{""login"":""hongli-my"",""id"":8597823,""node_id"":""MDQ6VXNlcjg1OTc4MjM="",""avatar_url"":""https://avatars.githubusercontent.com/u/8597823?v=4"",""gravatar_id"":"""",""url"":""https://api.github.com/users/hongli-my"",""html_url"":""https://github.com/hongli-my"",""followers_url"":""https://api.github.com/users/hongli-my/followers"",""following_url"":""https://api.github.com/users/hongli-my/following{/other_user}"",""gists_url"":""https://api.github.com/users/hongli-my/gists{/gist_id}"",""starred_url"":""https://api.github.com/users/hongli-my/starred{/owner}{/repo}"",""subscriptions_url"":""https://api.github.com/users/hongli-my/subscriptions"",""organizations_url"":""https://api.github.com/users/hongli-my/orgs"",""repos_url"":""https://api.github.com/users/hongli-my/repos"",""events_url"":""https://api.github.com/users/hongli-my/events{/privacy}"",""received_events_url"":""https://api.github.com/users/hongli-my/received_events"",""type"":""User"",""site_admin"":false},""labels"":[{""id"":937861452,""node_id"":""MDU6TGFiZWw5Mzc4NjE0NTI="",""url"":""https://api.github.com/repos/panjf2000/ants/labels/bug"",""name"":""bug"",""color"":""d73a4a"",""default"":true,""description"":""Something isn't working""}],""state"":""closed"",""locked"":false,""assignee"":null,""assignees"":[],""milestone"":{""url"": ""https://api.github.com/repos/apache/devlake/milestones/7"",""html_url"": ""https://github.com/apache/devlake/milestone/7"",""labels_url"": ""https://api.github.com/repos/apache/devlake/milestones/7/labels"",""id"": 7856149,""node_id"": ""MI_kwDOFuUSzs4Ad-AV"",""number"": 7,""title"": ""v0.11.0"",""description"": null,""creator"": {""login"": ""Startrekzky"",""id"": 14050754,""node_id"": ""MDQ6VXNlcjE0MDUwNzU0"",""avatar_url"": ""https://avatars.githubusercontent.com/u/14050754?v=4"",""gravatar_id"": """",""url"": ""https://api.github.com/users/Startrekzky"",""html_url"": ""https://github.com/Startrekzky"",""followers_url"": ""https://api.github.com/users/Startrekzky/followers"",""following_url"": ""https://api.github.com/users/Startrekzky/following{/other_user}"",""gists_url"": ""https://api.github.com/users/Startrekzky/gists{/gist_id}"",""starred_url"": ""https://api.github.com/users/Startrekzky/starred{/owner}{/repo}"",""subscriptions_url"": ""https://api.github.com/users/Startrekzky/subscriptions"",""organizations_url"": ""https://api.github.com/users/Startrekzky/orgs"",""repos_url"": ""https://api.github.com/users/Startrekzky/repos"",""events_url"": ""https://api.github.com/users/Startrekzky/events{/privacy}"",""received_events_url"": ""https://api.github.com/users/Startrekzky/received_events"",""type"": ""User"",""site_admin"": false},""open_issues"": 2,""closed_issues"": 118,""state"": ""open"",""created_at"": ""2022-04-08T02:05:35Z"",""updated_at"": ""2022-06-24T01:34:37Z"",""due_on"": null,""closed_at"": null},""comments"":8,""created_at"":""2018-08-29T01:35:54Z"",""updated_at"":""2018-10-30T00:12:13Z"",""closed_at"":""2018-10-30T00:12:13Z"",""author_association"":""NONE"",""active_lock_reason"":null,""draft"":false,""pull_request"":{""url"":""https://api.github.com/repos/panjf2000/ants/pulls/8"",""html_url"":""https://github.com/panjf2000/ants/pull/8"",""diff_url"":""https://github.com/panjf2000/ants/pull/8.diff"",""patch_url"":""https://github.com/panjf2000/ants/pull/8.patch"",""merged_at"":null},""body"":""n++, will cause workers[0] leak"",""reactions"":{""url"":""https://api.github.com/repos/panjf2000/ants/issues/8/reactions"",""total_count"":0,""+1"":0,""-1"":0,""laugh"":0,""hooray"":0,""confused"":0,""heart"":0,""rocket"":0,""eyes"":0},""timeline_url"":""https://api.github.com/repos/panjf2000/ants/issues/8/timeline"",""performed_via_github_app"":null,""state_reason"":null}",https://api.github.com/repos/panjf2000/ants/issues?direction=asc&page=1&per_page=100&state=all,null,2022-06-13T15:35:54.530+00:00
+15,"{""ConnectionId"":1,""Name"":""panjf2000/ants""}","{""url"":""https://api.github.com/repos/panjf2000/ants/issues/9"",""repository_url"":""https://api.github.com/repos/panjf2000/ants"",""labels_url"":""https://api.github.com/repos/panjf2000/ants/issues/9/labels{/name}"",""comments_url"":""https://api.github.com/repos/panjf2000/ants/issues/9/comments"",""events_url"":""https://api.github.com/repos/panjf2000/ants/issues/9/events"",""html_url"":""https://github.com/panjf2000/ants/pull/9"",""id"":355844412,""node_id"":""MDExOlB1bGxSZXF1ZXN0MjEyMjc3OTA3"",""number"":9,""title"":""Update pool.go"",""user"":{""login"":""Nonnnnnnnnn"",""id"":42808204,""node_id"":""MDQ6VXNlcjQyODA4MjA0"",""avatar_url"":""https://avatars.githubusercontent.com/u/42808204?v=4"",""gravatar_id"":"""",""url"":""https://api.github.com/users/Nonnnnnnnnn"",""html_url"":""https://github.com/Nonnnnnnnnn"",""followers_url"":""https://api.github.com/users/Nonnnnnnnnn/followers"",""following_url"":""https://api.github.com/users/Nonnnnnnnnn/following{/other_user}"",""gists_url"":""https://api.github.com/users/Nonnnnnnnnn/gists{/gist_id}"",""starred_url"":""https://api.github.com/users/Nonnnnnnnnn/starred{/owner}{/repo}"",""subscriptions_url"":""https://api.github.com/users/Nonnnnnnnnn/subscriptions"",""organizations_url"":""https://api.github.com/users/Nonnnnnnnnn/orgs"",""repos_url"":""https://api.github.com/users/Nonnnnnnnnn/repos"",""events_url"":""https://api.github.com/users/Nonnnnnnnnn/events{/privacy}"",""received_events_url"":""https://api.github.com/users/Nonnnnnnnnn/received_events"",""type"":""User"",""site_admin"":false},""labels"":[],""state"":""closed"",""locked"":false,""assignee"":null,""assignees"":[],""milestone"":{""url"": ""https://api.github.com/repos/apache/devlake/milestones/7"",""html_url"": ""https://github.com/apache/devlake/milestone/7"",""labels_url"": ""https://api.github.com/repos/apache/devlake/milestones/7/labels"",""id"": 7856149,""node_id"": ""MI_kwDOFuUSzs4Ad-AV"",""number"": 7,""title"": ""v0.11.0"",""description"": null,""creator"": {""login"": ""Startrekzky"",""id"": 14050754,""node_id"": ""MDQ6VXNlcjE0MDUwNzU0"",""avatar_url"": ""https://avatars.githubusercontent.com/u/14050754?v=4"",""gravatar_id"": """",""url"": ""https://api.github.com/users/Startrekzky"",""html_url"": ""https://github.com/Startrekzky"",""followers_url"": ""https://api.github.com/users/Startrekzky/followers"",""following_url"": ""https://api.github.com/users/Startrekzky/following{/other_user}"",""gists_url"": ""https://api.github.com/users/Startrekzky/gists{/gist_id}"",""starred_url"": ""https://api.github.com/users/Startrekzky/starred{/owner}{/repo}"",""subscriptions_url"": ""https://api.github.com/users/Startrekzky/subscriptions"",""organizations_url"": ""https://api.github.com/users/Startrekzky/orgs"",""repos_url"": ""https://api.github.com/users/Startrekzky/repos"",""events_url"": ""https://api.github.com/users/Startrekzky/events{/privacy}"",""received_events_url"": ""https://api.github.com/users/Startrekzky/received_events"",""type"": ""User"",""site_admin"": false},""open_issues"": 2,""closed_issues"": 118,""state"": ""open"",""created_at"": ""2022-04-08T02:05:35Z"",""updated_at"": ""2022-06-24T01:34:37Z"",""due_on"": null,""closed_at"": null},""comments"":0,""created_at"":""2018-08-31T05:29:36Z"",""updated_at"":""2018-08-31T13:40:33Z"",""closed_at"":""2018-08-31T13:40:33Z"",""author_association"":""NONE"",""active_lock_reason"":null,""draft"":false,""pull_request"":{""url"":""https://api.github.com/repos/panjf2000/ants/pulls/9"",""html_url"":""https://github.com/panjf2000/ants/pull/9"",""diff_url"":""https://github.com/panjf2000/ants/pull/9.diff"",""patch_url"":""https://github.com/panjf2000/ants/pull/9.patch"",""merged_at"":null},""body"":""# chinese \r\n\tHopefully:\r\n\tchildren := []*child{C1,C2,C3,C4,C5,C6,C7}\r\n\tIn fact:\r\n\tchildren := []*child{C1,C4,C2,C3,C5,C6,C7}"",""reactions"":{""url"":""https://api.github.com/repos/panjf2000/ants/issues/9/reactions"",""total_count"":0,""+1"":0,""-1"":0,""laugh"":0,""hooray"":0,""confused"":0,""heart"":0,""rocket"":0,""eyes"":0},""timeline_url"":""https://api.github.com/repos/panjf2000/ants/issues/9/timeline"",""performed_via_github_app"":null,""state_reason"":null}",https://api.github.com/repos/panjf2000/ants/issues?direction=asc&page=1&per_page=100&state=all,null,2022-06-13T15:35:54.530+00:00
+16,"{""ConnectionId"":1,""Name"":""panjf2000/ants""}","{""url"":""https://api.github.com/repos/panjf2000/ants/issues/10"",""repository_url"":""https://api.github.com/repos/panjf2000/ants"",""labels_url"":""https://api.github.com/repos/panjf2000/ants/issues/10/labels{/name}"",""comments_url"":""https://api.github.com/repos/panjf2000/ants/issues/10/comments"",""events_url"":""https://api.github.com/repos/panjf2000/ants/issues/10/events"",""html_url"":""https://github.com/panjf2000/ants/issues/10"",""id"":356703393,""node_id"":""MDU6SXNzdWUzNTY3MDMzOTM="",""number"":10,""title"":"" chinese worker chinese "",""user"":{""login"":""Moonlight-Zhao"",""id"":11763614,""node_id"":""MDQ6VXNlcjExNzYzNjE0"",""avatar_url"":""https://avatars.githubusercontent.com/u/11763614?v=4"",""gravatar_id"":"""",""url"":""https://api.github.com/users/Moonlight-Zhao"",""html_url"":""https://github.com/Moonlight-Zhao"",""followers_url"":""https://api.github.com/users/Moonlight-Zhao/followers"",""following_url"":""https://api.github.com/users/Moonlight-Zhao/following{/other_user}"",""gists_url"":""https://api.github.com/users/Moonlight-Zhao/gists{/gist_id}"",""starred_url"":""https://api.github.com/users/Moonlight-Zhao/starred{/owner}{/repo}"",""subscriptions_url"":""https://api.github.com/users/Moonlight-Zhao/subscriptions"",""organizations_url"":""https://api.github.com/users/Moonlight-Zhao/orgs"",""repos_url"":""https://api.github.com/users/Moonlight-Zhao/repos"",""events_url"":""https://api.github.com/users/Moonlight-Zhao/events{/privacy}"",""received_events_url"":""https://api.github.com/users/Moonlight-Zhao/received_events"",""type"":""User"",""site_admin"":false},""labels"":[{""id"":937861458,""node_id"":""MDU6TGFiZWw5Mzc4NjE0NTg="",""url"":""https://api.github.com/repos/panjf2000/ants/labels/question"",""name"":""question"",""color"":""801dae"",""default"":true,""description"":""Further information is requested""}],""state"":""closed"",""locked"":false,""assignee"":null,""assignees"":[],""milestone"":{""url"": ""https://api.github.com/repos/apache/devlake/milestones/7"",""html_url"": ""https://github.com/apache/devlake/milestone/7"",""labels_url"": ""https://api.github.com/repos/apache/devlake/milestones/7/labels"",""id"": 7856149,""node_id"": ""MI_kwDOFuUSzs4Ad-AV"",""number"": 7,""title"": ""v0.11.0"",""description"": null,""creator"": {""login"": ""Startrekzky"",""id"": 14050754,""node_id"": ""MDQ6VXNlcjE0MDUwNzU0"",""avatar_url"": ""https://avatars.githubusercontent.com/u/14050754?v=4"",""gravatar_id"": """",""url"": ""https://api.github.com/users/Startrekzky"",""html_url"": ""https://github.com/Startrekzky"",""followers_url"": ""https://api.github.com/users/Startrekzky/followers"",""following_url"": ""https://api.github.com/users/Startrekzky/following{/other_user}"",""gists_url"": ""https://api.github.com/users/Startrekzky/gists{/gist_id}"",""starred_url"": ""https://api.github.com/users/Startrekzky/starred{/owner}{/repo}"",""subscriptions_url"": ""https://api.github.com/users/Startrekzky/subscriptions"",""organizations_url"": ""https://api.github.com/users/Startrekzky/orgs"",""repos_url"": ""https://api.github.com/users/Startrekzky/repos"",""events_url"": ""https://api.github.com/users/Startrekzky/events{/privacy}"",""received_events_url"": ""https://api.github.com/users/Startrekzky/received_events"",""type"": ""User"",""site_admin"": false},""open_issues"": 2,""closed_issues"": 118,""state"": ""open"",""created_at"": ""2022-04-08T02:05:35Z"",""updated_at"": ""2022-06-24T01:34:37Z"",""due_on"": null,""closed_at"": null},""comments"":11,""created_at"":""2018-09-04T08:26:55Z"",""updated_at"":""2018-09-29T11:45:00Z"",""closed_at"":""2018-09-29T11:45:00Z"",""author_association"":""NONE"",""active_lock_reason"":null,""body"":"" chinese cpu chinese ?"",""reactions"":{""url"":""https://api.github.com/repos/panjf2000/ants/issues/10/reactions"",""total_count"":0,""+1"":0,""-1"":0,""laugh"":0,""hooray"":0,""confused"":0,""heart"":0,""rocket"":0,""eyes"":0},""timeline_url"":""https://api.github.com/repos/panjf2000/ants/issues/10/timeline"",""performed_via_github_app"":null,""state_reason"":""completed""}",https://api.github.com/repos/panjf2000/ants/issues?direction=asc&page=1&per_page=100&state=all,null,2022-06-13T15:35:54.530+00:00
+17,"{""ConnectionId"":1,""Name"":""panjf2000/ants""}","{""url"":""https://api.github.com/repos/panjf2000/ants/issues/11"",""repository_url"":""https://api.github.com/repos/panjf2000/ants"",""labels_url"":""https://api.github.com/repos/panjf2000/ants/issues/11/labels{/name}"",""comments_url"":""https://api.github.com/repos/panjf2000/ants/issues/11/comments"",""events_url"":""https://api.github.com/repos/panjf2000/ants/issues/11/events"",""html_url"":""https://github.com/panjf2000/ants/pull/11"",""id"":361233047,""node_id"":""MDExOlB1bGxSZXF1ZXN0MjE2MjU0NTk4"",""number"":11,""title"":""graceful exit"",""user"":{""login"":""shanhuhai5739"",""id"":3794113,""node_id"":""MDQ6VXNlcjM3OTQxMTM="",""avatar_url"":""https://avatars.githubusercontent.com/u/3794113?v=4"",""gravatar_id"":"""",""url"":""https://api.github.com/users/shanhuhai5739"",""html_url"":""https://github.com/shanhuhai5739"",""followers_url"":""https://api.github.com/users/shanhuhai5739/followers"",""following_url"":""https://api.github.com/users/shanhuhai5739/following{/other_user}"",""gists_url"":""https://api.github.com/users/shanhuhai5739/gists{/gist_id}"",""starred_url"":""https://api.github.com/users/shanhuhai5739/starred{/owner}{/repo}"",""subscriptions_url"":""https://api.github.com/users/shanhuhai5739/subscriptions"",""organizations_url"":""https://api.github.com/users/shanhuhai5739/orgs"",""repos_url"":""https://api.github.com/users/shanhuhai5739/repos"",""events_url"":""https://api.github.com/users/shanhuhai5739/events{/privacy}"",""received_events_url"":""https://api.github.com/users/shanhuhai5739/received_events"",""type"":""User"",""site_admin"":false},""labels"":[],""state"":""closed"",""locked"":false,""assignee"":null,""assignees"":[],""milestone"":{""url"": ""https://api.github.com/repos/apache/devlake/milestones/7"",""html_url"": ""https://github.com/apache/devlake/milestone/7"",""labels_url"": ""https://api.github.com/repos/apache/devlake/milestones/7/labels"",""id"": 7856149,""node_id"": ""MI_kwDOFuUSzs4Ad-AV"",""number"": 7,""title"": ""v0.11.0"",""description"": null,""creator"": {""login"": ""Startrekzky"",""id"": 14050754,""node_id"": ""MDQ6VXNlcjE0MDUwNzU0"",""avatar_url"": ""https://avatars.githubusercontent.com/u/14050754?v=4"",""gravatar_id"": """",""url"": ""https://api.github.com/users/Startrekzky"",""html_url"": ""https://github.com/Startrekzky"",""followers_url"": ""https://api.github.com/users/Startrekzky/followers"",""following_url"": ""https://api.github.com/users/Startrekzky/following{/other_user}"",""gists_url"": ""https://api.github.com/users/Startrekzky/gists{/gist_id}"",""starred_url"": ""https://api.github.com/users/Startrekzky/starred{/owner}{/repo}"",""subscriptions_url"": ""https://api.github.com/users/Startrekzky/subscriptions"",""organizations_url"": ""https://api.github.com/users/Startrekzky/orgs"",""repos_url"": ""https://api.github.com/users/Startrekzky/repos"",""events_url"": ""https://api.github.com/users/Startrekzky/events{/privacy}"",""received_events_url"": ""https://api.github.com/users/Startrekzky/received_events"",""type"": ""User"",""site_admin"": false},""open_issues"": 2,""closed_issues"": 118,""state"": ""open"",""created_at"": ""2022-04-08T02:05:35Z"",""updated_at"": ""2022-06-24T01:34:37Z"",""due_on"": null,""closed_at"": null},""comments"":0,""created_at"":""2018-09-18T10:15:01Z"",""updated_at"":""2018-12-03T03:52:35Z"",""closed_at"":""2018-12-03T03:52:35Z"",""author_association"":""NONE"",""active_lock_reason"":null,""draft"":false,""pull_request"":{""url"":""https://api.github.com/repos/panjf2000/ants/pulls/11"",""html_url"":""https://github.com/panjf2000/ants/pull/11"",""diff_url"":""https://github.com/panjf2000/ants/pull/11.diff"",""patch_url"":""https://github.com/panjf2000/ants/pull/11.patch"",""merged_at"":null},""body"":""graceful exit"",""reactions"":{""url"":""https://api.github.com/repos/panjf2000/ants/issues/11/reactions"",""total_count"":0,""+1"":0,""-1"":0,""laugh"":0,""hooray"":0,""confused"":0,""heart"":0,""rocket"":0,""eyes"":0},""timeline_url"":""https://api.github.com/repos/panjf2000/ants/issues/11/timeline"",""performed_via_github_app"":null,""state_reason"":null}",https://api.github.com/repos/panjf2000/ants/issues?direction=asc&page=1&per_page=100&state=all,null,2022-06-13T15:35:54.530+00:00
+18,"{""ConnectionId"":1,""Name"":""panjf2000/ants""}","{""url"":""https://api.github.com/repos/panjf2000/ants/issues/12"",""repository_url"":""https://api.github.com/repos/panjf2000/ants"",""labels_url"":""https://api.github.com/repos/panjf2000/ants/issues/12/labels{/name}"",""comments_url"":""https://api.github.com/repos/panjf2000/ants/issues/12/comments"",""events_url"":""https://api.github.com/repos/panjf2000/ants/issues/12/events"",""html_url"":""https://github.com/panjf2000/ants/issues/12"",""id"":364361014,""node_id"":""MDU6SXNzdWUzNjQzNjEwMTQ="",""number"":12,""title"":"" chinese , chinese tag chinese "",""user"":{""login"":""edcismybrother"",""id"":29452204,""node_id"":""MDQ6VXNlcjI5NDUyMjA0"",""avatar_url"":""https://avatars.githubusercontent.com/u/29452204?v=4"",""gravatar_id"":"""",""url"":""https://api.github.com/users/edcismybrother"",""html_url"":""https://github.com/edcismybrother"",""followers_url"":""https://api.github.com/users/edcismybrother/followers"",""following_url"":""https://api.github.com/users/edcismybrother/following{/other_user}"",""gists_url"":""https://api.github.com/users/edcismybrother/gists{/gist_id}"",""starred_url"":""https://api.github.com/users/edcismybrother/starred{/owner}{/repo}"",""subscriptions_url"":""https://api.github.com/users/edcismybrother/subscriptions"",""organizations_url"":""https://api.github.com/users/edcismybrother/orgs"",""repos_url"":""https://api.github.com/users/edcismybrother/repos"",""events_url"":""https://api.github.com/users/edcismybrother/events{/privacy}"",""received_events_url"":""https://api.github.com/users/edcismybrother/received_events"",""type"":""User"",""site_admin"":false},""labels"":[],""state"":""closed"",""locked"":false,""assignee"":null,""assignees"":[],""milestone"":{""url"": ""https://api.github.com/repos/apache/devlake/milestones/7"",""html_url"": ""https://github.com/apache/devlake/milestone/7"",""labels_url"": ""https://api.github.com/repos/apache/devlake/milestones/7/labels"",""id"": 7856149,""node_id"": ""MI_kwDOFuUSzs4Ad-AV"",""number"": 7,""title"": ""v0.11.0"",""description"": null,""creator"": {""login"": ""Startrekzky"",""id"": 14050754,""node_id"": ""MDQ6VXNlcjE0MDUwNzU0"",""avatar_url"": ""https://avatars.githubusercontent.com/u/14050754?v=4"",""gravatar_id"": """",""url"": ""https://api.github.com/users/Startrekzky"",""html_url"": ""https://github.com/Startrekzky"",""followers_url"": ""https://api.github.com/users/Startrekzky/followers"",""following_url"": ""https://api.github.com/users/Startrekzky/following{/other_user}"",""gists_url"": ""https://api.github.com/users/Startrekzky/gists{/gist_id}"",""starred_url"": ""https://api.github.com/users/Startrekzky/starred{/owner}{/repo}"",""subscriptions_url"": ""https://api.github.com/users/Startrekzky/subscriptions"",""organizations_url"": ""https://api.github.com/users/Startrekzky/orgs"",""repos_url"": ""https://api.github.com/users/Startrekzky/repos"",""events_url"": ""https://api.github.com/users/Startrekzky/events{/privacy}"",""received_events_url"": ""https://api.github.com/users/Startrekzky/received_events"",""type"": ""User"",""site_admin"": false},""open_issues"": 2,""closed_issues"": 118,""state"": ""open"",""created_at"": ""2022-04-08T02:05:35Z"",""updated_at"": ""2022-06-24T01:34:37Z"",""due_on"": null,""closed_at"": null},""comments"":4,""created_at"":""2018-09-27T08:32:25Z"",""updated_at"":""2019-04-21T08:19:58Z"",""closed_at"":""2018-09-28T06:05:58Z"",""author_association"":""NONE"",""active_lock_reason"":null,""body"":"" chinese dep chinese , chinese ants chinese , chinese tag chinese 。 chinese tag 3.6 chinese ed55924 chinese ,git chinese af376f1b chinese , chinese 5 chinese , chinese , chinese tag chinese 。( chinese )"",""reactions"":{""url"":""https://api.github.com/repos/panjf2000/ants/issues/12/reactions"",""total_count"":0,""+1"":0,""-1"":0,""laugh"":0,""hooray"":0,""confused"":0,""heart"":0,""rocket"":0,""eyes"":0},""timeline_url"":""https://api.github.com/repos/panjf2000/ants/issues/12/timeline"",""performed_via_github_app"":null,""state_reason"":""completed""}",https://api.github.com/repos/panjf2000/ants/issues?direction=asc&page=1&per_page=100&state=all,null,2022-06-13T15:35:54.530+00:00
+19,"{""ConnectionId"":1,""Name"":""panjf2000/ants""}","{""url"":""https://api.github.com/repos/panjf2000/ants/issues/13"",""repository_url"":""https://api.github.com/repos/panjf2000/ants"",""labels_url"":""https://api.github.com/repos/panjf2000/ants/issues/13/labels{/name}"",""comments_url"":""https://api.github.com/repos/panjf2000/ants/issues/13/comments"",""events_url"":""https://api.github.com/repos/panjf2000/ants/issues/13/events"",""html_url"":""https://github.com/panjf2000/ants/pull/13"",""id"":364853056,""node_id"":""MDExOlB1bGxSZXF1ZXN0MjE4OTM5ODA5"",""number"":13,""title"":"" chinese cpu chinese "",""user"":{""login"":""liyonglion"",""id"":12890888,""node_id"":""MDQ6VXNlcjEyODkwODg4"",""avatar_url"":""https://avatars.githubusercontent.com/u/12890888?v=4"",""gravatar_id"":"""",""url"":""https://api.github.com/users/liyonglion"",""html_url"":""https://github.com/liyonglion"",""followers_url"":""https://api.github.com/users/liyonglion/followers"",""following_url"":""https://api.github.com/users/liyonglion/following{/other_user}"",""gists_url"":""https://api.github.com/users/liyonglion/gists{/gist_id}"",""starred_url"":""https://api.github.com/users/liyonglion/starred{/owner}{/repo}"",""subscriptions_url"":""https://api.github.com/users/liyonglion/subscriptions"",""organizations_url"":""https://api.github.com/users/liyonglion/orgs"",""repos_url"":""https://api.github.com/users/liyonglion/repos"",""events_url"":""https://api.github.com/users/liyonglion/events{/privacy}"",""received_events_url"":""https://api.github.com/users/liyonglion/received_events"",""type"":""User"",""site_admin"":false},""labels"":[],""state"":""closed"",""locked"":false,""assignee"":null,""assignees"":[],""milestone"":{""url"": ""https://api.github.com/repos/apache/devlake/milestones/7"",""html_url"": ""https://github.com/apache/devlake/milestone/7"",""labels_url"": ""https://api.github.com/repos/apache/devlake/milestones/7/labels"",""id"": 7856149,""node_id"": ""MI_kwDOFuUSzs4Ad-AV"",""number"": 7,""title"": ""v0.11.0"",""description"": null,""creator"": {""login"": ""Startrekzky"",""id"": 14050754,""node_id"": ""MDQ6VXNlcjE0MDUwNzU0"",""avatar_url"": ""https://avatars.githubusercontent.com/u/14050754?v=4"",""gravatar_id"": """",""url"": ""https://api.github.com/users/Startrekzky"",""html_url"": ""https://github.com/Startrekzky"",""followers_url"": ""https://api.github.com/users/Startrekzky/followers"",""following_url"": ""https://api.github.com/users/Startrekzky/following{/other_user}"",""gists_url"": ""https://api.github.com/users/Startrekzky/gists{/gist_id}"",""starred_url"": ""https://api.github.com/users/Startrekzky/starred{/owner}{/repo}"",""subscriptions_url"": ""https://api.github.com/users/Startrekzky/subscriptions"",""organizations_url"": ""https://api.github.com/users/Startrekzky/orgs"",""repos_url"": ""https://api.github.com/users/Startrekzky/repos"",""events_url"": ""https://api.github.com/users/Startrekzky/events{/privacy}"",""received_events_url"": ""https://api.github.com/users/Startrekzky/received_events"",""type"": ""User"",""site_admin"": false},""open_issues"": 2,""closed_issues"": 118,""state"": ""open"",""created_at"": ""2022-04-08T02:05:35Z"",""updated_at"": ""2022-06-24T01:34:37Z"",""due_on"": null,""closed_at"": null},""comments"":18,""created_at"":""2018-09-28T11:37:28Z"",""updated_at"":""2018-09-29T11:29:54Z"",""closed_at"":""2018-09-29T11:29:54Z"",""author_association"":""CONTRIBUTOR"",""active_lock_reason"":null,""draft"":false,""pull_request"":{""url"":""https://api.github.com/repos/panjf2000/ants/pulls/13"",""html_url"":""https://github.com/panjf2000/ants/pull/13"",""diff_url"":""https://github.com/panjf2000/ants/pull/13.diff"",""patch_url"":""https://github.com/panjf2000/ants/pull/13.patch"",""merged_at"":""2018-09-29T11:29:54Z""},""body"":"" chinese cond chinese Submit goroutine。 chinese , chinese , chinese ?"",""reactions"":{""url"":""https://api.github.com/repos/panjf2000/ants/issues/13/reactions"",""total_count"":0,""+1"":0,""-1"":0,""laugh"":0,""hooray"":0,""confused"":0,""heart"":0,""rocket"":0,""eyes"":0},""timeline_url"":""https://api.github.com/repos/panjf2000/ants/issues/13/timeline"",""performed_via_github_app"":null,""state_reason"":null}",https://api.github.com/repos/panjf2000/ants/issues?direction=asc&page=1&per_page=100&state=all,null,2022-06-13T15:35:54.530+00:00
+20,"{""ConnectionId"":1,""Name"":""panjf2000/ants""}","{""url"":""https://api.github.com/repos/panjf2000/ants/issues/14"",""repository_url"":""https://api.github.com/repos/panjf2000/ants"",""labels_url"":""https://api.github.com/repos/panjf2000/ants/issues/14/labels{/name}"",""comments_url"":""https://api.github.com/repos/panjf2000/ants/issues/14/comments"",""events_url"":""https://api.github.com/repos/panjf2000/ants/issues/14/events"",""html_url"":""https://github.com/panjf2000/ants/pull/14"",""id"":365445079,""node_id"":""MDExOlB1bGxSZXF1ZXN0MjE5MzYzMTYx"",""number"":14,""title"":""Remove meaningless if statements"",""user"":{""login"":""SimePel"",""id"":20608155,""node_id"":""MDQ6VXNlcjIwNjA4MTU1"",""avatar_url"":""https://avatars.githubusercontent.com/u/20608155?v=4"",""gravatar_id"":"""",""url"":""https://api.github.com/users/SimePel"",""html_url"":""https://github.com/SimePel"",""followers_url"":""https://api.github.com/users/SimePel/followers"",""following_url"":""https://api.github.com/users/SimePel/following{/other_user}"",""gists_url"":""https://api.github.com/users/SimePel/gists{/gist_id}"",""starred_url"":""https://api.github.com/users/SimePel/starred{/owner}{/repo}"",""subscriptions_url"":""https://api.github.com/users/SimePel/subscriptions"",""organizations_url"":""https://api.github.com/users/SimePel/orgs"",""repos_url"":""https://api.github.com/users/SimePel/repos"",""events_url"":""https://api.github.com/users/SimePel/events{/privacy}"",""received_events_url"":""https://api.github.com/users/SimePel/received_events"",""type"":""User"",""site_admin"":false},""labels"":[],""state"":""closed"",""locked"":false,""assignee"":null,""assignees"":[],""milestone"":{""url"": ""https://api.github.com/repos/apache/devlake/milestones/7"",""html_url"": ""https://github.com/apache/devlake/milestone/7"",""labels_url"": ""https://api.github.com/repos/apache/devlake/milestones/7/labels"",""id"": 7856149,""node_id"": ""MI_kwDOFuUSzs4Ad-AV"",""number"": 7,""title"": ""v0.11.0"",""description"": null,""creator"": {""login"": ""Startrekzky"",""id"": 14050754,""node_id"": ""MDQ6VXNlcjE0MDUwNzU0"",""avatar_url"": ""https://avatars.githubusercontent.com/u/14050754?v=4"",""gravatar_id"": """",""url"": ""https://api.github.com/users/Startrekzky"",""html_url"": ""https://github.com/Startrekzky"",""followers_url"": ""https://api.github.com/users/Startrekzky/followers"",""following_url"": ""https://api.github.com/users/Startrekzky/following{/other_user}"",""gists_url"": ""https://api.github.com/users/Startrekzky/gists{/gist_id}"",""starred_url"": ""https://api.github.com/users/Startrekzky/starred{/owner}{/repo}"",""subscriptions_url"": ""https://api.github.com/users/Startrekzky/subscriptions"",""organizations_url"": ""https://api.github.com/users/Startrekzky/orgs"",""repos_url"": ""https://api.github.com/users/Startrekzky/repos"",""events_url"": ""https://api.github.com/users/Startrekzky/events{/privacy}"",""received_events_url"": ""https://api.github.com/users/Startrekzky/received_events"",""type"": ""User"",""site_admin"": false},""open_issues"": 2,""closed_issues"": 118,""state"": ""open"",""created_at"": ""2022-04-08T02:05:35Z"",""updated_at"": ""2022-06-24T01:34:37Z"",""due_on"": null,""closed_at"": null},""comments"":2,""created_at"":""2018-10-01T12:48:11Z"",""updated_at"":""2018-10-02T13:52:27Z"",""closed_at"":""2018-10-02T13:52:27Z"",""author_association"":""CONTRIBUTOR"",""active_lock_reason"":null,""draft"":false,""pull_request"":{""url"":""https://api.github.com/repos/panjf2000/ants/pulls/14"",""html_url"":""https://github.com/panjf2000/ants/pull/14"",""diff_url"":""https://github.com/panjf2000/ants/pull/14.diff"",""patch_url"":""https://github.com/panjf2000/ants/pull/14.patch"",""merged_at"":""2018-10-02T13:52:27Z""},""body"":"""",""reactions"":{""url"":""https://api.github.com/repos/panjf2000/ants/issues/14/reactions"",""total_count"":0,""+1"":0,""-1"":0,""laugh"":0,""hooray"":0,""confused"":0,""heart"":0,""rocket"":0,""eyes"":0},""timeline_url"":""https://api.github.com/repos/panjf2000/ants/issues/14/timeline"",""performed_via_github_app"":null,""state_reason"":null}",https://api.github.com/repos/panjf2000/ants/issues?direction=asc&page=1&per_page=100&state=all,null,2022-06-13T15:35:54.530+00:00
+21,"{""ConnectionId"":1,""Name"":""panjf2000/ants""}","{""url"":""https://api.github.com/repos/panjf2000/ants/issues/15"",""repository_url"":""https://api.github.com/repos/panjf2000/ants"",""labels_url"":""https://api.github.com/repos/panjf2000/ants/issues/15/labels{/name}"",""comments_url"":""https://api.github.com/repos/panjf2000/ants/issues/15/comments"",""events_url"":""https://api.github.com/repos/panjf2000/ants/issues/15/events"",""html_url"":""https://github.com/panjf2000/ants/pull/15"",""id"":366204544,""node_id"":""MDExOlB1bGxSZXF1ZXN0MjE5OTM2NTIx"",""number"":15,""title"":""Fixes to benchmarks and added semaphore comparison"",""user"":{""login"":""egonelbre"",""id"":192964,""node_id"":""MDQ6VXNlcjE5Mjk2NA=="",""avatar_url"":""https://avatars.githubusercontent.com/u/192964?v=4"",""gravatar_id"":"""",""url"":""https://api.github.com/users/egonelbre"",""html_url"":""https://github.com/egonelbre"",""followers_url"":""https://api.github.com/users/egonelbre/followers"",""following_url"":""https://api.github.com/users/egonelbre/following{/other_user}"",""gists_url"":""https://api.github.com/users/egonelbre/gists{/gist_id}"",""starred_url"":""https://api.github.com/users/egonelbre/starred{/owner}{/repo}"",""subscriptions_url"":""https://api.github.com/users/egonelbre/subscriptions"",""organizations_url"":""https://api.github.com/users/egonelbre/orgs"",""repos_url"":""https://api.github.com/users/egonelbre/repos"",""events_url"":""https://api.github.com/users/egonelbre/events{/privacy}"",""received_events_url"":""https://api.github.com/users/egonelbre/received_events"",""type"":""User"",""site_admin"":false},""labels"":[],""state"":""closed"",""locked"":false,""assignee"":null,""assignees"":[],""milestone"":{""url"": ""https://api.github.com/repos/apache/devlake/milestones/7"",""html_url"": ""https://github.com/apache/devlake/milestone/7"",""labels_url"": ""https://api.github.com/repos/apache/devlake/milestones/7/labels"",""id"": 7856149,""node_id"": ""MI_kwDOFuUSzs4Ad-AV"",""number"": 7,""title"": ""v0.11.0"",""description"": null,""creator"": {""login"": ""Startrekzky"",""id"": 14050754,""node_id"": ""MDQ6VXNlcjE0MDUwNzU0"",""avatar_url"": ""https://avatars.githubusercontent.com/u/14050754?v=4"",""gravatar_id"": """",""url"": ""https://api.github.com/users/Startrekzky"",""html_url"": ""https://github.com/Startrekzky"",""followers_url"": ""https://api.github.com/users/Startrekzky/followers"",""following_url"": ""https://api.github.com/users/Startrekzky/following{/other_user}"",""gists_url"": ""https://api.github.com/users/Startrekzky/gists{/gist_id}"",""starred_url"": ""https://api.github.com/users/Startrekzky/starred{/owner}{/repo}"",""subscriptions_url"": ""https://api.github.com/users/Startrekzky/subscriptions"",""organizations_url"": ""https://api.github.com/users/Startrekzky/orgs"",""repos_url"": ""https://api.github.com/users/Startrekzky/repos"",""events_url"": ""https://api.github.com/users/Startrekzky/events{/privacy}"",""received_events_url"": ""https://api.github.com/users/Startrekzky/received_events"",""type"": ""User"",""site_admin"": false},""open_issues"": 2,""closed_issues"": 118,""state"": ""open"",""created_at"": ""2022-04-08T02:05:35Z"",""updated_at"": ""2022-06-24T01:34:37Z"",""due_on"": null,""closed_at"": null},""comments"":3,""created_at"":""2018-10-03T07:16:16Z"",""updated_at"":""2018-10-03T12:38:57Z"",""closed_at"":""2018-10-03T12:33:59Z"",""author_association"":""CONTRIBUTOR"",""active_lock_reason"":null,""draft"":false,""pull_request"":{""url"":""https://api.github.com/repos/panjf2000/ants/pulls/15"",""html_url"":""https://github.com/panjf2000/ants/pull/15"",""diff_url"":""https://github.com/panjf2000/ants/pull/15.diff"",""patch_url"":""https://github.com/panjf2000/ants/pull/15.patch"",""merged_at"":""2018-10-03T12:33:59Z""},""body"":""Benchmark results with Param=0, as time.Sleep is not stable on Windows\r\n\r\nAlso Go 1.11 has bunch of improvements:\r\n\r\n```\r\ngoos: windows\r\ngoarch: amd64\r\npkg: github.com/panjf2000/ants\r\nBenchmarkGoroutineWithFunc-8 1 3530220300 ns/op 207472 B/op 506 allocs/op\r\nBenchmarkSemaphoreWithFunc-8 1 4391916400 ns/op 20944 B/op 57 allocs/op\r\nBenchmarkAntsPoolWithFunc-8 1 5496395400 ns/op 164240 B/op 2059 allocs/op\r\nBenchmarkGoroutine-8 1 3327413400 ns/op 1552 B/op 5 allocs/op\r\nBenchmarkSemaphore-8 1 4499816000 ns/op 1264 B/op 5 allocs/op\r\nBenchmarkAntsPool-8 1 5456432100 ns/op 49208 B/op 809 allocs/op\r\nPASS\r\n```"",""reactions"":{""url"":""https://api.github.com/repos/panjf2000/ants/issues/15/reactions"",""total_count"":0,""+1"":0,""-1"":0,""laugh"":0,""hooray"":0,""confused"":0,""heart"":0,""rocket"":0,""eyes"":0},""timeline_url"":""https://api.github.com/repos/panjf2000/ants/issues/15/timeline"",""performed_via_github_app"":null,""state_reason"":null}",https://api.github.com/repos/panjf2000/ants/issues?direction=asc&page=1&per_page=100&state=all,null,2022-06-13T15:35:54.530+00:00
+22,"{""ConnectionId"":1,""Name"":""panjf2000/ants""}","{""url"":""https://api.github.com/repos/panjf2000/ants/issues/16"",""repository_url"":""https://api.github.com/repos/panjf2000/ants"",""labels_url"":""https://api.github.com/repos/panjf2000/ants/issues/16/labels{/name}"",""comments_url"":""https://api.github.com/repos/panjf2000/ants/issues/16/comments"",""events_url"":""https://api.github.com/repos/panjf2000/ants/issues/16/events"",""html_url"":""https://github.com/panjf2000/ants/pull/16"",""id"":369883717,""node_id"":""MDExOlB1bGxSZXF1ZXN0MjIyNzAzMTcx"",""number"":16,""title"":""bugfix(check max pool size)"",""user"":{""login"":""rikewang"",""id"":24841832,""node_id"":""MDQ6VXNlcjI0ODQxODMy"",""avatar_url"":""https://avatars.githubusercontent.com/u/24841832?v=4"",""gravatar_id"":"""",""url"":""https://api.github.com/users/rikewang"",""html_url"":""https://github.com/rikewang"",""followers_url"":""https://api.github.com/users/rikewang/followers"",""following_url"":""https://api.github.com/users/rikewang/following{/other_user}"",""gists_url"":""https://api.github.com/users/rikewang/gists{/gist_id}"",""starred_url"":""https://api.github.com/users/rikewang/starred{/owner}{/repo}"",""subscriptions_url"":""https://api.github.com/users/rikewang/subscriptions"",""organizations_url"":""https://api.github.com/users/rikewang/orgs"",""repos_url"":""https://api.github.com/users/rikewang/repos"",""events_url"":""https://api.github.com/users/rikewang/events{/privacy}"",""received_events_url"":""https://api.github.com/users/rikewang/received_events"",""type"":""User"",""site_admin"":false},""labels"":[],""state"":""closed"",""locked"":false,""assignee"":null,""assignees"":[],""milestone"":{""url"": ""https://api.github.com/repos/apache/devlake/milestones/7"",""html_url"": ""https://github.com/apache/devlake/milestone/7"",""labels_url"": ""https://api.github.com/repos/apache/devlake/milestones/7/labels"",""id"": 7856149,""node_id"": ""MI_kwDOFuUSzs4Ad-AV"",""number"": 7,""title"": ""v0.11.0"",""description"": null,""creator"": {""login"": ""Startrekzky"",""id"": 14050754,""node_id"": ""MDQ6VXNlcjE0MDUwNzU0"",""avatar_url"": ""https://avatars.githubusercontent.com/u/14050754?v=4"",""gravatar_id"": """",""url"": ""https://api.github.com/users/Startrekzky"",""html_url"": ""https://github.com/Startrekzky"",""followers_url"": ""https://api.github.com/users/Startrekzky/followers"",""following_url"": ""https://api.github.com/users/Startrekzky/following{/other_user}"",""gists_url"": ""https://api.github.com/users/Startrekzky/gists{/gist_id}"",""starred_url"": ""https://api.github.com/users/Startrekzky/starred{/owner}{/repo}"",""subscriptions_url"": ""https://api.github.com/users/Startrekzky/subscriptions"",""organizations_url"": ""https://api.github.com/users/Startrekzky/orgs"",""repos_url"": ""https://api.github.com/users/Startrekzky/repos"",""events_url"": ""https://api.github.com/users/Startrekzky/events{/privacy}"",""received_events_url"": ""https://api.github.com/users/Startrekzky/received_events"",""type"": ""User"",""site_admin"": false},""open_issues"": 2,""closed_issues"": 118,""state"": ""open"",""created_at"": ""2022-04-08T02:05:35Z"",""updated_at"": ""2022-06-24T01:34:37Z"",""due_on"": null,""closed_at"": null},""comments"":1,""created_at"":""2018-10-14T09:21:41Z"",""updated_at"":""2018-12-03T03:53:31Z"",""closed_at"":""2018-12-03T03:53:31Z"",""author_association"":""NONE"",""active_lock_reason"":null,""draft"":false,""pull_request"":{""url"":""https://api.github.com/repos/panjf2000/ants/pulls/16"",""html_url"":""https://github.com/panjf2000/ants/pull/16"",""diff_url"":""https://github.com/panjf2000/ants/pull/16.diff"",""patch_url"":""https://github.com/panjf2000/ants/pull/16.patch"",""merged_at"":null},""body"":""if you limit max goroutine to math.Maxint32 as your code `int32(pool size)`\r\nI think should check max Goroutine size, otherwise size overflow to negative?\r\n"",""reactions"":{""url"":""https://api.github.com/repos/panjf2000/ants/issues/16/reactions"",""total_count"":0,""+1"":0,""-1"":0,""laugh"":0,""hooray"":0,""confused"":0,""heart"":0,""rocket"":0,""eyes"":0},""timeline_url"":""https://api.github.com/repos/panjf2000/ants/issues/16/timeline"",""performed_via_github_app"":null,""state_reason"":null}",https://api.github.com/repos/panjf2000/ants/issues?direction=asc&page=1&per_page=100&state=all,null,2022-06-13T15:35:54.530+00:00
+23,"{""ConnectionId"":1,""Name"":""panjf2000/ants""}","{""url"":""https://api.github.com/repos/panjf2000/ants/issues/17"",""repository_url"":""https://api.github.com/repos/panjf2000/ants"",""labels_url"":""https://api.github.com/repos/panjf2000/ants/issues/17/labels{/name}"",""comments_url"":""https://api.github.com/repos/panjf2000/ants/issues/17/comments"",""events_url"":""https://api.github.com/repos/panjf2000/ants/issues/17/events"",""html_url"":""https://github.com/panjf2000/ants/issues/17"",""id"":381941219,""node_id"":""MDU6SXNzdWUzODE5NDEyMTk="",""number"":17,""title"":"" chinese "",""user"":{""login"":""zplzpl"",""id"":7931755,""node_id"":""MDQ6VXNlcjc5MzE3NTU="",""avatar_url"":""https://avatars.githubusercontent.com/u/7931755?v=4"",""gravatar_id"":"""",""url"":""https://api.github.com/users/zplzpl"",""html_url"":""https://github.com/zplzpl"",""followers_url"":""https://api.github.com/users/zplzpl/followers"",""following_url"":""https://api.github.com/users/zplzpl/following{/other_user}"",""gists_url"":""https://api.github.com/users/zplzpl/gists{/gist_id}"",""starred_url"":""https://api.github.com/users/zplzpl/starred{/owner}{/repo}"",""subscriptions_url"":""https://api.github.com/users/zplzpl/subscriptions"",""organizations_url"":""https://api.github.com/users/zplzpl/orgs"",""repos_url"":""https://api.github.com/users/zplzpl/repos"",""events_url"":""https://api.github.com/users/zplzpl/events{/privacy}"",""received_events_url"":""https://api.github.com/users/zplzpl/received_events"",""type"":""User"",""site_admin"":false},""labels"":[{""id"":937861454,""node_id"":""MDU6TGFiZWw5Mzc4NjE0NTQ="",""url"":""https://api.github.com/repos/panjf2000/ants/labels/enhancement"",""name"":""enhancement"",""color"":""3eede7"",""default"":true,""description"":""New feature or request""}],""state"":""closed"",""locked"":false,""assignee"":null,""assignees"":[],""milestone"":{""url"": ""https://api.github.com/repos/apache/devlake/milestones/7"",""html_url"": ""https://github.com/apache/devlake/milestone/7"",""labels_url"": ""https://api.github.com/repos/apache/devlake/milestones/7/labels"",""id"": 7856149,""node_id"": ""MI_kwDOFuUSzs4Ad-AV"",""number"": 7,""title"": ""v0.11.0"",""description"": null,""creator"": {""login"": ""Startrekzky"",""id"": 14050754,""node_id"": ""MDQ6VXNlcjE0MDUwNzU0"",""avatar_url"": ""https://avatars.githubusercontent.com/u/14050754?v=4"",""gravatar_id"": """",""url"": ""https://api.github.com/users/Startrekzky"",""html_url"": ""https://github.com/Startrekzky"",""followers_url"": ""https://api.github.com/users/Startrekzky/followers"",""following_url"": ""https://api.github.com/users/Startrekzky/following{/other_user}"",""gists_url"": ""https://api.github.com/users/Startrekzky/gists{/gist_id}"",""starred_url"": ""https://api.github.com/users/Startrekzky/starred{/owner}{/repo}"",""subscriptions_url"": ""https://api.github.com/users/Startrekzky/subscriptions"",""organizations_url"": ""https://api.github.com/users/Startrekzky/orgs"",""repos_url"": ""https://api.github.com/users/Startrekzky/repos"",""events_url"": ""https://api.github.com/users/Startrekzky/events{/privacy}"",""received_events_url"": ""https://api.github.com/users/Startrekzky/received_events"",""type"": ""User"",""site_admin"": false},""open_issues"": 2,""closed_issues"": 118,""state"": ""open"",""created_at"": ""2022-04-08T02:05:35Z"",""updated_at"": ""2022-06-24T01:34:37Z"",""due_on"": null,""closed_at"": null},""comments"":2,""created_at"":""2018-11-18T08:50:31Z"",""updated_at"":""2019-01-29T07:24:37Z"",""closed_at"":""2019-01-29T07:24:37Z"",""author_association"":""NONE"",""active_lock_reason"":null,""body"":"" chinese package chinese , chinese Release chinese :\r\n\r\n`\r\n\t// Release Closed this pool.\r\n\tfunc (p *PoolWithFunc) Release() error {\r\n\t\tp.once.Do(func() {\r\n\t\t\tp.release <- sig{}\r\n\t\t\tp.lock.Lock()\r\n\t\t\tidleWorkers := p.workers\r\n\t\t\tfor i, w := range idleWorkers {\r\n\t\t\t\tw.args <- nil\r\n\t\t\t\tidleWorkers[i] = nil\r\n\t\t\t}\r\n\t\t\tp.workers = nil\r\n\t\t\tp.lock.Unlock()\r\n\t\t})\r\n\t\treturn nil\r\n\t}\r\n`\r\n\r\nrelease chinese , chinese worker chinese ?\r\n chinese worker\r\n\r\n chinese ,release chinese worker chinese \r\n\r\n chinese :\r\n\r\nReSize(0) \r\n\r\n chinese ?\r\n"",""reactions"":{""url"":""https://api.github.com/repos/panjf2000/ants/issues/17/reactions"",""total_count"":0,""+1"":0,""-1"":0,""laugh"":0,""hooray"":0,""confused"":0,""heart"":0,""rocket"":0,""eyes"":0},""timeline_url"":""https://api.github.com/repos/panjf2000/ants/issues/17/timeline"",""performed_via_github_app"":null,""state_reason"":""completed""}",https://api.github.com/repos/panjf2000/ants/issues?direction=asc&page=1&per_page=100&state=all,null,2022-06-13T15:35:54.530+00:00
+24,"{""ConnectionId"":1,""Name"":""panjf2000/ants""}","{""url"":""https://api.github.com/repos/panjf2000/ants/issues/18"",""repository_url"":""https://api.github.com/repos/panjf2000/ants"",""labels_url"":""https://api.github.com/repos/panjf2000/ants/issues/18/labels{/name}"",""comments_url"":""https://api.github.com/repos/panjf2000/ants/issues/18/comments"",""events_url"":""https://api.github.com/repos/panjf2000/ants/issues/18/events"",""html_url"":""https://github.com/panjf2000/ants/issues/18"",""id"":382039050,""node_id"":""MDU6SXNzdWUzODIwMzkwNTA="",""number"":18,""title"":""go chinese "",""user"":{""login"":""LinuxForYQH"",""id"":13944100,""node_id"":""MDQ6VXNlcjEzOTQ0MTAw"",""avatar_url"":""https://avatars.githubusercontent.com/u/13944100?v=4"",""gravatar_id"":"""",""url"":""https://api.github.com/users/LinuxForYQH"",""html_url"":""https://github.com/LinuxForYQH"",""followers_url"":""https://api.github.com/users/LinuxForYQH/followers"",""following_url"":""https://api.github.com/users/LinuxForYQH/following{/other_user}"",""gists_url"":""https://api.github.com/users/LinuxForYQH/gists{/gist_id}"",""starred_url"":""https://api.github.com/users/LinuxForYQH/starred{/owner}{/repo}"",""subscriptions_url"":""https://api.github.com/users/LinuxForYQH/subscriptions"",""organizations_url"":""https://api.github.com/users/LinuxForYQH/orgs"",""repos_url"":""https://api.github.com/users/LinuxForYQH/repos"",""events_url"":""https://api.github.com/users/LinuxForYQH/events{/privacy}"",""received_events_url"":""https://api.github.com/users/LinuxForYQH/received_events"",""type"":""User"",""site_admin"":false},""labels"":[{""id"":937861458,""node_id"":""MDU6TGFiZWw5Mzc4NjE0NTg="",""url"":""https://api.github.com/repos/panjf2000/ants/labels/question"",""name"":""question"",""color"":""801dae"",""default"":true,""description"":""Further information is requested""}],""state"":""closed"",""locked"":false,""assignee"":null,""assignees"":[],""milestone"":{""url"": ""https://api.github.com/repos/apache/devlake/milestones/7"",""html_url"": ""https://github.com/apache/devlake/milestone/7"",""labels_url"": ""https://api.github.com/repos/apache/devlake/milestones/7/labels"",""id"": 7856149,""node_id"": ""MI_kwDOFuUSzs4Ad-AV"",""number"": 7,""title"": ""v0.11.0"",""description"": null,""creator"": {""login"": ""Startrekzky"",""id"": 14050754,""node_id"": ""MDQ6VXNlcjE0MDUwNzU0"",""avatar_url"": ""https://avatars.githubusercontent.com/u/14050754?v=4"",""gravatar_id"": """",""url"": ""https://api.github.com/users/Startrekzky"",""html_url"": ""https://github.com/Startrekzky"",""followers_url"": ""https://api.github.com/users/Startrekzky/followers"",""following_url"": ""https://api.github.com/users/Startrekzky/following{/other_user}"",""gists_url"": ""https://api.github.com/users/Startrekzky/gists{/gist_id}"",""starred_url"": ""https://api.github.com/users/Startrekzky/starred{/owner}{/repo}"",""subscriptions_url"": ""https://api.github.com/users/Startrekzky/subscriptions"",""organizations_url"": ""https://api.github.com/users/Startrekzky/orgs"",""repos_url"": ""https://api.github.com/users/Startrekzky/repos"",""events_url"": ""https://api.github.com/users/Startrekzky/events{/privacy}"",""received_events_url"": ""https://api.github.com/users/Startrekzky/received_events"",""type"": ""User"",""site_admin"": false},""open_issues"": 2,""closed_issues"": 118,""state"": ""open"",""created_at"": ""2022-04-08T02:05:35Z"",""updated_at"": ""2022-06-24T01:34:37Z"",""due_on"": null,""closed_at"": null},""comments"":1,""created_at"":""2018-11-19T02:59:53Z"",""updated_at"":""2018-12-03T03:53:50Z"",""closed_at"":""2018-12-03T03:53:50Z"",""author_association"":""NONE"",""active_lock_reason"":null,""body"":"" chinese , chinese , chinese go chinese , chinese , chinese 。\"" chinese : GOMAXPROCS sets the maximum number of CPUs that can be executing simultaneously。 chinese cpu chinese , chinese , chinese ?, chinese ?, chinese ?, chinese ?\"""",""reactions"":{""url"":""https://api.github.com/repos/panjf2000/ants/issues/18/reactions"",""total_count"":0,""+1"":0,""-1"":0,""laugh"":0,""hooray"":0,""confused"":0,""heart"":0,""rocket"":0,""eyes"":0},""timeline_url"":""https://api.github.com/repos/panjf2000/ants/issues/18/timeline"",""performed_via_github_app"":null,""state_reason"":""completed""}",https://api.github.com/repos/panjf2000/ants/issues?direction=asc&page=1&per_page=100&state=all,null,2022-06-13T15:35:54.530+00:00
+25,"{""ConnectionId"":1,""Name"":""panjf2000/ants""}","{""url"":""https://api.github.com/repos/panjf2000/ants/issues/19"",""repository_url"":""https://api.github.com/repos/panjf2000/ants"",""labels_url"":""https://api.github.com/repos/panjf2000/ants/issues/19/labels{/name}"",""comments_url"":""https://api.github.com/repos/panjf2000/ants/issues/19/comments"",""events_url"":""https://api.github.com/repos/panjf2000/ants/issues/19/events"",""html_url"":""https://github.com/panjf2000/ants/pull/19"",""id"":382039582,""node_id"":""MDExOlB1bGxSZXF1ZXN0MjMxODQwNzIz"",""number"":19,""title"":""Possible memory leak because of Ticker"",""user"":{""login"":""zplzpl"",""id"":7931755,""node_id"":""MDQ6VXNlcjc5MzE3NTU="",""avatar_url"":""https://avatars.githubusercontent.com/u/7931755?v=4"",""gravatar_id"":"""",""url"":""https://api.github.com/users/zplzpl"",""html_url"":""https://github.com/zplzpl"",""followers_url"":""https://api.github.com/users/zplzpl/followers"",""following_url"":""https://api.github.com/users/zplzpl/following{/other_user}"",""gists_url"":""https://api.github.com/users/zplzpl/gists{/gist_id}"",""starred_url"":""https://api.github.com/users/zplzpl/starred{/owner}{/repo}"",""subscriptions_url"":""https://api.github.com/users/zplzpl/subscriptions"",""organizations_url"":""https://api.github.com/users/zplzpl/orgs"",""repos_url"":""https://api.github.com/users/zplzpl/repos"",""events_url"":""https://api.github.com/users/zplzpl/events{/privacy}"",""received_events_url"":""https://api.github.com/users/zplzpl/received_events"",""type"":""User"",""site_admin"":false},""labels"":[],""state"":""closed"",""locked"":false,""assignee"":null,""assignees"":[],""milestone"":{""url"": ""https://api.github.com/repos/apache/devlake/milestones/7"",""html_url"": ""https://github.com/apache/devlake/milestone/7"",""labels_url"": ""https://api.github.com/repos/apache/devlake/milestones/7/labels"",""id"": 7856149,""node_id"": ""MI_kwDOFuUSzs4Ad-AV"",""number"": 7,""title"": ""v0.11.0"",""description"": null,""creator"": {""login"": ""Startrekzky"",""id"": 14050754,""node_id"": ""MDQ6VXNlcjE0MDUwNzU0"",""avatar_url"": ""https://avatars.githubusercontent.com/u/14050754?v=4"",""gravatar_id"": """",""url"": ""https://api.github.com/users/Startrekzky"",""html_url"": ""https://github.com/Startrekzky"",""followers_url"": ""https://api.github.com/users/Startrekzky/followers"",""following_url"": ""https://api.github.com/users/Startrekzky/following{/other_user}"",""gists_url"": ""https://api.github.com/users/Startrekzky/gists{/gist_id}"",""starred_url"": ""https://api.github.com/users/Startrekzky/starred{/owner}{/repo}"",""subscriptions_url"": ""https://api.github.com/users/Startrekzky/subscriptions"",""organizations_url"": ""https://api.github.com/users/Startrekzky/orgs"",""repos_url"": ""https://api.github.com/users/Startrekzky/repos"",""events_url"": ""https://api.github.com/users/Startrekzky/events{/privacy}"",""received_events_url"": ""https://api.github.com/users/Startrekzky/received_events"",""type"": ""User"",""site_admin"": false},""open_issues"": 2,""closed_issues"": 118,""state"": ""open"",""created_at"": ""2022-04-08T02:05:35Z"",""updated_at"": ""2022-06-24T01:34:37Z"",""due_on"": null,""closed_at"": null},""comments"":4,""created_at"":""2018-11-19T03:03:09Z"",""updated_at"":""2018-12-01T15:49:32Z"",""closed_at"":""2018-12-01T15:49:32Z"",""author_association"":""NONE"",""active_lock_reason"":null,""draft"":false,""pull_request"":{""url"":""https://api.github.com/repos/panjf2000/ants/pulls/19"",""html_url"":""https://github.com/panjf2000/ants/pull/19"",""diff_url"":""https://github.com/panjf2000/ants/pull/19.diff"",""patch_url"":""https://github.com/panjf2000/ants/pull/19.patch"",""merged_at"":""2018-12-01T15:49:32Z""},""body"":""// NewTicker returns a new Ticker containing a channel that will send the\r\n// time with a period specified by the duration argument.\r\n// It adjusts the intervals or drops ticks to make up for slow receivers.\r\n// The duration d must be greater than zero; if not, NewTicker will panic.\r\n// Stop the ticker to release associated resources.\r\nfunc NewTicker(d Duration) *Ticker {\r\n……\r\n}"",""reactions"":{""url"":""https://api.github.com/repos/panjf2000/ants/issues/19/reactions"",""total_count"":0,""+1"":0,""-1"":0,""laugh"":0,""hooray"":0,""confused"":0,""heart"":0,""rocket"":0,""eyes"":0},""timeline_url"":""https://api.github.com/repos/panjf2000/ants/issues/19/timeline"",""performed_via_github_app"":null,""state_reason"":null}",https://api.github.com/repos/panjf2000/ants/issues?direction=asc&page=1&per_page=100&state=all,null,2022-06-13T15:35:54.530+00:00
+26,"{""ConnectionId"":1,""Name"":""panjf2000/ants""}","{""url"":""https://api.github.com/repos/panjf2000/ants/issues/20"",""repository_url"":""https://api.github.com/repos/panjf2000/ants"",""labels_url"":""https://api.github.com/repos/panjf2000/ants/issues/20/labels{/name}"",""comments_url"":""https://api.github.com/repos/panjf2000/ants/issues/20/comments"",""events_url"":""https://api.github.com/repos/panjf2000/ants/issues/20/events"",""html_url"":""https://github.com/panjf2000/ants/issues/20"",""id"":382574800,""node_id"":""MDU6SXNzdWUzODI1NzQ4MDA="",""number"":20,""title"":"" chinese "",""user"":{""login"":""kklinan"",""id"":5668717,""node_id"":""MDQ6VXNlcjU2Njg3MTc="",""avatar_url"":""https://avatars.githubusercontent.com/u/5668717?v=4"",""gravatar_id"":"""",""url"":""https://api.github.com/users/kklinan"",""html_url"":""https://github.com/kklinan"",""followers_url"":""https://api.github.com/users/kklinan/followers"",""following_url"":""https://api.github.com/users/kklinan/following{/other_user}"",""gists_url"":""https://api.github.com/users/kklinan/gists{/gist_id}"",""starred_url"":""https://api.github.com/users/kklinan/starred{/owner}{/repo}"",""subscriptions_url"":""https://api.github.com/users/kklinan/subscriptions"",""organizations_url"":""https://api.github.com/users/kklinan/orgs"",""repos_url"":""https://api.github.com/users/kklinan/repos"",""events_url"":""https://api.github.com/users/kklinan/events{/privacy}"",""received_events_url"":""https://api.github.com/users/kklinan/received_events"",""type"":""User"",""site_admin"":false},""labels"":[{""id"":937861454,""node_id"":""MDU6TGFiZWw5Mzc4NjE0NTQ="",""url"":""https://api.github.com/repos/panjf2000/ants/labels/enhancement"",""name"":""enhancement"",""color"":""3eede7"",""default"":true,""description"":""New feature or request""}],""state"":""closed"",""locked"":false,""assignee"":null,""assignees"":[],""milestone"":{""url"": ""https://api.github.com/repos/apache/devlake/milestones/7"",""html_url"": ""https://github.com/apache/devlake/milestone/7"",""labels_url"": ""https://api.github.com/repos/apache/devlake/milestones/7/labels"",""id"": 7856149,""node_id"": ""MI_kwDOFuUSzs4Ad-AV"",""number"": 7,""title"": ""v0.11.0"",""description"": null,""creator"": {""login"": ""Startrekzky"",""id"": 14050754,""node_id"": ""MDQ6VXNlcjE0MDUwNzU0"",""avatar_url"": ""https://avatars.githubusercontent.com/u/14050754?v=4"",""gravatar_id"": """",""url"": ""https://api.github.com/users/Startrekzky"",""html_url"": ""https://github.com/Startrekzky"",""followers_url"": ""https://api.github.com/users/Startrekzky/followers"",""following_url"": ""https://api.github.com/users/Startrekzky/following{/other_user}"",""gists_url"": ""https://api.github.com/users/Startrekzky/gists{/gist_id}"",""starred_url"": ""https://api.github.com/users/Startrekzky/starred{/owner}{/repo}"",""subscriptions_url"": ""https://api.github.com/users/Startrekzky/subscriptions"",""organizations_url"": ""https://api.github.com/users/Startrekzky/orgs"",""repos_url"": ""https://api.github.com/users/Startrekzky/repos"",""events_url"": ""https://api.github.com/users/Startrekzky/events{/privacy}"",""received_events_url"": ""https://api.github.com/users/Startrekzky/received_events"",""type"": ""User"",""site_admin"": false},""open_issues"": 2,""closed_issues"": 118,""state"": ""open"",""created_at"": ""2022-04-08T02:05:35Z"",""updated_at"": ""2022-06-24T01:34:37Z"",""due_on"": null,""closed_at"": null},""comments"":6,""created_at"":""2018-11-20T09:36:02Z"",""updated_at"":""2019-01-25T15:34:03Z"",""closed_at"":""2019-01-25T15:34:03Z"",""author_association"":""NONE"",""active_lock_reason"":null,""body"":""#"",""reactions"":{""url"":""https://api.github.com/repos/panjf2000/ants/issues/20/reactions"",""total_count"":0,""+1"":0,""-1"":0,""laugh"":0,""hooray"":0,""confused"":0,""heart"":0,""rocket"":0,""eyes"":0},""timeline_url"":""https://api.github.com/repos/panjf2000/ants/issues/20/timeline"",""performed_via_github_app"":null,""state_reason"":""completed""}",https://api.github.com/repos/panjf2000/ants/issues?direction=asc&page=1&per_page=100&state=all,null,2022-06-13T15:35:54.530+00:00
+27,"{""ConnectionId"":1,""Name"":""panjf2000/ants""}","{""url"":""https://api.github.com/repos/panjf2000/ants/issues/21"",""repository_url"":""https://api.github.com/repos/panjf2000/ants"",""labels_url"":""https://api.github.com/repos/panjf2000/ants/issues/21/labels{/name}"",""comments_url"":""https://api.github.com/repos/panjf2000/ants/issues/21/comments"",""events_url"":""https://api.github.com/repos/panjf2000/ants/issues/21/events"",""html_url"":""https://github.com/panjf2000/ants/issues/21"",""id"":388907811,""node_id"":""MDU6SXNzdWUzODg5MDc4MTE="",""number"":21,""title"":""Benchmark chinese Semaphore chinese ?"",""user"":{""login"":""huangjunwen"",""id"":720086,""node_id"":""MDQ6VXNlcjcyMDA4Ng=="",""avatar_url"":""https://avatars.githubusercontent.com/u/720086?v=4"",""gravatar_id"":"""",""url"":""https://api.github.com/users/huangjunwen"",""html_url"":""https://github.com/huangjunwen"",""followers_url"":""https://api.github.com/users/huangjunwen/followers"",""following_url"":""https://api.github.com/users/huangjunwen/following{/other_user}"",""gists_url"":""https://api.github.com/users/huangjunwen/gists{/gist_id}"",""starred_url"":""https://api.github.com/users/huangjunwen/starred{/owner}{/repo}"",""subscriptions_url"":""https://api.github.com/users/huangjunwen/subscriptions"",""organizations_url"":""https://api.github.com/users/huangjunwen/orgs"",""repos_url"":""https://api.github.com/users/huangjunwen/repos"",""events_url"":""https://api.github.com/users/huangjunwen/events{/privacy}"",""received_events_url"":""https://api.github.com/users/huangjunwen/received_events"",""type"":""User"",""site_admin"":false},""labels"":[],""state"":""closed"",""locked"":false,""assignee"":null,""assignees"":[],""milestone"":{""url"": ""https://api.github.com/repos/apache/devlake/milestones/7"",""html_url"": ""https://github.com/apache/devlake/milestone/7"",""labels_url"": ""https://api.github.com/repos/apache/devlake/milestones/7/labels"",""id"": 7856149,""node_id"": ""MI_kwDOFuUSzs4Ad-AV"",""number"": 7,""title"": ""v0.11.0"",""description"": null,""creator"": {""login"": ""Startrekzky"",""id"": 14050754,""node_id"": ""MDQ6VXNlcjE0MDUwNzU0"",""avatar_url"": ""https://avatars.githubusercontent.com/u/14050754?v=4"",""gravatar_id"": """",""url"": ""https://api.github.com/users/Startrekzky"",""html_url"": ""https://github.com/Startrekzky"",""followers_url"": ""https://api.github.com/users/Startrekzky/followers"",""following_url"": ""https://api.github.com/users/Startrekzky/following{/other_user}"",""gists_url"": ""https://api.github.com/users/Startrekzky/gists{/gist_id}"",""starred_url"": ""https://api.github.com/users/Startrekzky/starred{/owner}{/repo}"",""subscriptions_url"": ""https://api.github.com/users/Startrekzky/subscriptions"",""organizations_url"": ""https://api.github.com/users/Startrekzky/orgs"",""repos_url"": ""https://api.github.com/users/Startrekzky/repos"",""events_url"": ""https://api.github.com/users/Startrekzky/events{/privacy}"",""received_events_url"": ""https://api.github.com/users/Startrekzky/received_events"",""type"": ""User"",""site_admin"": false},""open_issues"": 2,""closed_issues"": 118,""state"": ""open"",""created_at"": ""2022-04-08T02:05:35Z"",""updated_at"": ""2022-06-24T01:34:37Z"",""due_on"": null,""closed_at"": null},""comments"":5,""created_at"":""2018-12-08T10:08:17Z"",""updated_at"":""2018-12-14T06:01:07Z"",""closed_at"":""2018-12-14T06:01:07Z"",""author_association"":""NONE"",""active_lock_reason"":null,""body"":"" chinese benchmark,Semaphore chinese \r\n\r\n```bash\r\n$ go test -bench .\r\ngoos: darwin\r\ngoarch: amd64\r\npkg: github.com/panjf2000/ants\r\nBenchmarkGoroutineWithFunc-4 \t 1\t3445631705 ns/op\r\nBenchmarkSemaphoreWithFunc-4 \t 1\t1037219073 ns/op\r\nBenchmarkAntsPoolWithFunc-4 \t 1\t1138053222 ns/op\r\nBenchmarkGoroutine-4 \t 2\t 731850771 ns/op\r\nBenchmarkSemaphore-4 \t 2\t 914855967 ns/op\r\nBenchmarkAntsPool-4 \t 1\t1094379445 ns/op\r\nPASS\r\nok \tgithub.com/panjf2000/ants\t33.173s\r\n```\r\n chinese Ants chinese ?"",""reactions"":{""url"":""https://api.github.com/repos/panjf2000/ants/issues/21/reactions"",""total_count"":0,""+1"":0,""-1"":0,""laugh"":0,""hooray"":0,""confused"":0,""heart"":0,""rocket"":0,""eyes"":0},""timeline_url"":""https://api.github.com/repos/panjf2000/ants/issues/21/timeline"",""performed_via_github_app"":null,""state_reason"":""completed""}",https://api.github.com/repos/panjf2000/ants/issues?direction=asc&page=1&per_page=100&state=all,null,2022-06-13T15:35:54.530+00:00
+28,"{""ConnectionId"":1,""Name"":""panjf2000/ants""}","{""url"":""https://api.github.com/repos/panjf2000/ants/issues/22"",""repository_url"":""https://api.github.com/repos/panjf2000/ants"",""labels_url"":""https://api.github.com/repos/panjf2000/ants/issues/22/labels{/name}"",""comments_url"":""https://api.github.com/repos/panjf2000/ants/issues/22/comments"",""events_url"":""https://api.github.com/repos/panjf2000/ants/issues/22/events"",""html_url"":""https://github.com/panjf2000/ants/issues/22"",""id"":401277739,""node_id"":""MDU6SXNzdWU0MDEyNzc3Mzk="",""number"":22,""title"":"" chinese worker chinese PanicHandler ?"",""user"":{""login"":""choleraehyq"",""id"":8923413,""node_id"":""MDQ6VXNlcjg5MjM0MTM="",""avatar_url"":""https://avatars.githubusercontent.com/u/8923413?v=4"",""gravatar_id"":"""",""url"":""https://api.github.com/users/choleraehyq"",""html_url"":""https://github.com/choleraehyq"",""followers_url"":""https://api.github.com/users/choleraehyq/followers"",""following_url"":""https://api.github.com/users/choleraehyq/following{/other_user}"",""gists_url"":""https://api.github.com/users/choleraehyq/gists{/gist_id}"",""starred_url"":""https://api.github.com/users/choleraehyq/starred{/owner}{/repo}"",""subscriptions_url"":""https://api.github.com/users/choleraehyq/subscriptions"",""organizations_url"":""https://api.github.com/users/choleraehyq/orgs"",""repos_url"":""https://api.github.com/users/choleraehyq/repos"",""events_url"":""https://api.github.com/users/choleraehyq/events{/privacy}"",""received_events_url"":""https://api.github.com/users/choleraehyq/received_events"",""type"":""User"",""site_admin"":false},""labels"":[{""id"":937861454,""node_id"":""MDU6TGFiZWw5Mzc4NjE0NTQ="",""url"":""https://api.github.com/repos/panjf2000/ants/labels/enhancement"",""name"":""enhancement"",""color"":""3eede7"",""default"":true,""description"":""New feature or request""}],""state"":""closed"",""locked"":false,""assignee"":null,""assignees"":[],""milestone"":{""url"": ""https://api.github.com/repos/apache/devlake/milestones/7"",""html_url"": ""https://github.com/apache/devlake/milestone/7"",""labels_url"": ""https://api.github.com/repos/apache/devlake/milestones/7/labels"",""id"": 7856149,""node_id"": ""MI_kwDOFuUSzs4Ad-AV"",""number"": 7,""title"": ""v0.11.0"",""description"": null,""creator"": {""login"": ""Startrekzky"",""id"": 14050754,""node_id"": ""MDQ6VXNlcjE0MDUwNzU0"",""avatar_url"": ""https://avatars.githubusercontent.com/u/14050754?v=4"",""gravatar_id"": """",""url"": ""https://api.github.com/users/Startrekzky"",""html_url"": ""https://github.com/Startrekzky"",""followers_url"": ""https://api.github.com/users/Startrekzky/followers"",""following_url"": ""https://api.github.com/users/Startrekzky/following{/other_user}"",""gists_url"": ""https://api.github.com/users/Startrekzky/gists{/gist_id}"",""starred_url"": ""https://api.github.com/users/Startrekzky/starred{/owner}{/repo}"",""subscriptions_url"": ""https://api.github.com/users/Startrekzky/subscriptions"",""organizations_url"": ""https://api.github.com/users/Startrekzky/orgs"",""repos_url"": ""https://api.github.com/users/Startrekzky/repos"",""events_url"": ""https://api.github.com/users/Startrekzky/events{/privacy}"",""received_events_url"": ""https://api.github.com/users/Startrekzky/received_events"",""type"": ""User"",""site_admin"": false},""open_issues"": 2,""closed_issues"": 118,""state"": ""open"",""created_at"": ""2022-04-08T02:05:35Z"",""updated_at"": ""2022-06-24T01:34:37Z"",""due_on"": null,""closed_at"": null},""comments"":2,""created_at"":""2019-01-21T10:06:56Z"",""updated_at"":""2019-01-22T05:41:34Z"",""closed_at"":""2019-01-22T05:41:34Z"",""author_association"":""CONTRIBUTOR"",""active_lock_reason"":null,""body"":"" chinese Pool chinese PanicHandler, chinese worker chinese recover chinese PanicHandler chinese 。 chinese panic chinese 。"",""reactions"":{""url"":""https://api.github.com/repos/panjf2000/ants/issues/22/reactions"",""total_count"":0,""+1"":0,""-1"":0,""laugh"":0,""hooray"":0,""confused"":0,""heart"":0,""rocket"":0,""eyes"":0},""timeline_url"":""https://api.github.com/repos/panjf2000/ants/issues/22/timeline"",""performed_via_github_app"":null,""state_reason"":""completed""}",https://api.github.com/repos/panjf2000/ants/issues?direction=asc&page=1&per_page=100&state=all,null,2022-06-13T15:35:54.530+00:00
+29,"{""ConnectionId"":1,""Name"":""panjf2000/ants""}","{""url"":""https://api.github.com/repos/panjf2000/ants/issues/23"",""repository_url"":""https://api.github.com/repos/panjf2000/ants"",""labels_url"":""https://api.github.com/repos/panjf2000/ants/issues/23/labels{/name}"",""comments_url"":""https://api.github.com/repos/panjf2000/ants/issues/23/comments"",""events_url"":""https://api.github.com/repos/panjf2000/ants/issues/23/events"",""html_url"":""https://github.com/panjf2000/ants/pull/23"",""id"":401298705,""node_id"":""MDExOlB1bGxSZXF1ZXN0MjQ2MjUwNTk4"",""number"":23,""title"":""feature: add PanicHandler"",""user"":{""login"":""choleraehyq"",""id"":8923413,""node_id"":""MDQ6VXNlcjg5MjM0MTM="",""avatar_url"":""https://avatars.githubusercontent.com/u/8923413?v=4"",""gravatar_id"":"""",""url"":""https://api.github.com/users/choleraehyq"",""html_url"":""https://github.com/choleraehyq"",""followers_url"":""https://api.github.com/users/choleraehyq/followers"",""following_url"":""https://api.github.com/users/choleraehyq/following{/other_user}"",""gists_url"":""https://api.github.com/users/choleraehyq/gists{/gist_id}"",""starred_url"":""https://api.github.com/users/choleraehyq/starred{/owner}{/repo}"",""subscriptions_url"":""https://api.github.com/users/choleraehyq/subscriptions"",""organizations_url"":""https://api.github.com/users/choleraehyq/orgs"",""repos_url"":""https://api.github.com/users/choleraehyq/repos"",""events_url"":""https://api.github.com/users/choleraehyq/events{/privacy}"",""received_events_url"":""https://api.github.com/users/choleraehyq/received_events"",""type"":""User"",""site_admin"":false},""labels"":[],""state"":""closed"",""locked"":false,""assignee"":null,""assignees"":[],""milestone"":{""url"": ""https://api.github.com/repos/apache/devlake/milestones/7"",""html_url"": ""https://github.com/apache/devlake/milestone/7"",""labels_url"": ""https://api.github.com/repos/apache/devlake/milestones/7/labels"",""id"": 7856149,""node_id"": ""MI_kwDOFuUSzs4Ad-AV"",""number"": 7,""title"": ""v0.11.0"",""description"": null,""creator"": {""login"": ""Startrekzky"",""id"": 14050754,""node_id"": ""MDQ6VXNlcjE0MDUwNzU0"",""avatar_url"": ""https://avatars.githubusercontent.com/u/14050754?v=4"",""gravatar_id"": """",""url"": ""https://api.github.com/users/Startrekzky"",""html_url"": ""https://github.com/Startrekzky"",""followers_url"": ""https://api.github.com/users/Startrekzky/followers"",""following_url"": ""https://api.github.com/users/Startrekzky/following{/other_user}"",""gists_url"": ""https://api.github.com/users/Startrekzky/gists{/gist_id}"",""starred_url"": ""https://api.github.com/users/Startrekzky/starred{/owner}{/repo}"",""subscriptions_url"": ""https://api.github.com/users/Startrekzky/subscriptions"",""organizations_url"": ""https://api.github.com/users/Startrekzky/orgs"",""repos_url"": ""https://api.github.com/users/Startrekzky/repos"",""events_url"": ""https://api.github.com/users/Startrekzky/events{/privacy}"",""received_events_url"": ""https://api.github.com/users/Startrekzky/received_events"",""type"": ""User"",""site_admin"": false},""open_issues"": 2,""closed_issues"": 118,""state"": ""open"",""created_at"": ""2022-04-08T02:05:35Z"",""updated_at"": ""2022-06-24T01:34:37Z"",""due_on"": null,""closed_at"": null},""comments"":6,""created_at"":""2019-01-21T10:58:15Z"",""updated_at"":""2019-01-22T05:41:34Z"",""closed_at"":""2019-01-22T05:41:34Z"",""author_association"":""CONTRIBUTOR"",""active_lock_reason"":null,""draft"":false,""pull_request"":{""url"":""https://api.github.com/repos/panjf2000/ants/pulls/23"",""html_url"":""https://github.com/panjf2000/ants/pull/23"",""diff_url"":""https://github.com/panjf2000/ants/pull/23.diff"",""patch_url"":""https://github.com/panjf2000/ants/pull/23.patch"",""merged_at"":""2019-01-22T05:41:34Z""},""body"":""@panjf2000 PTAL\r\nFix #22 \r\nSigned-off-by: Cholerae Hu <choleraehyq@gmail.com>"",""reactions"":{""url"":""https://api.github.com/repos/panjf2000/ants/issues/23/reactions"",""total_count"":0,""+1"":0,""-1"":0,""laugh"":0,""hooray"":0,""confused"":0,""heart"":0,""rocket"":0,""eyes"":0},""timeline_url"":""https://api.github.com/repos/panjf2000/ants/issues/23/timeline"",""performed_via_github_app"":null,""state_reason"":null}",https://api.github.com/repos/panjf2000/ants/issues?direction=asc&page=1&per_page=100&state=all,null,2022-06-13T15:35:54.530+00:00
+30,"{""ConnectionId"":1,""Name"":""panjf2000/ants""}","{""url"":""https://api.github.com/repos/panjf2000/ants/issues/24"",""repository_url"":""https://api.github.com/repos/panjf2000/ants"",""labels_url"":""https://api.github.com/repos/panjf2000/ants/issues/24/labels{/name}"",""comments_url"":""https://api.github.com/repos/panjf2000/ants/issues/24/comments"",""events_url"":""https://api.github.com/repos/panjf2000/ants/issues/24/events"",""html_url"":""https://github.com/panjf2000/ants/issues/24"",""id"":402513849,""node_id"":""MDU6SXNzdWU0MDI1MTM4NDk="",""number"":24,""title"":"" chinese "",""user"":{""login"":""tenfyzhong"",""id"":5044825,""node_id"":""MDQ6VXNlcjUwNDQ4MjU="",""avatar_url"":""https://avatars.githubusercontent.com/u/5044825?v=4"",""gravatar_id"":"""",""url"":""https://api.github.com/users/tenfyzhong"",""html_url"":""https://github.com/tenfyzhong"",""followers_url"":""https://api.github.com/users/tenfyzhong/followers"",""following_url"":""https://api.github.com/users/tenfyzhong/following{/other_user}"",""gists_url"":""https://api.github.com/users/tenfyzhong/gists{/gist_id}"",""starred_url"":""https://api.github.com/users/tenfyzhong/starred{/owner}{/repo}"",""subscriptions_url"":""https://api.github.com/users/tenfyzhong/subscriptions"",""organizations_url"":""https://api.github.com/users/tenfyzhong/orgs"",""repos_url"":""https://api.github.com/users/tenfyzhong/repos"",""events_url"":""https://api.github.com/users/tenfyzhong/events{/privacy}"",""received_events_url"":""https://api.github.com/users/tenfyzhong/received_events"",""type"":""User"",""site_admin"":false},""labels"":[{""id"":937861454,""node_id"":""MDU6TGFiZWw5Mzc4NjE0NTQ="",""url"":""https://api.github.com/repos/panjf2000/ants/labels/enhancement"",""name"":""enhancement"",""color"":""3eede7"",""default"":true,""description"":""New feature or request""}],""state"":""closed"",""locked"":false,""assignee"":null,""assignees"":[],""milestone"":{""url"": ""https://api.github.com/repos/apache/devlake/milestones/7"",""html_url"": ""https://github.com/apache/devlake/milestone/7"",""labels_url"": ""https://api.github.com/repos/apache/devlake/milestones/7/labels"",""id"": 7856149,""node_id"": ""MI_kwDOFuUSzs4Ad-AV"",""number"": 7,""title"": ""v0.11.0"",""description"": null,""creator"": {""login"": ""Startrekzky"",""id"": 14050754,""node_id"": ""MDQ6VXNlcjE0MDUwNzU0"",""avatar_url"": ""https://avatars.githubusercontent.com/u/14050754?v=4"",""gravatar_id"": """",""url"": ""https://api.github.com/users/Startrekzky"",""html_url"": ""https://github.com/Startrekzky"",""followers_url"": ""https://api.github.com/users/Startrekzky/followers"",""following_url"": ""https://api.github.com/users/Startrekzky/following{/other_user}"",""gists_url"": ""https://api.github.com/users/Startrekzky/gists{/gist_id}"",""starred_url"": ""https://api.github.com/users/Startrekzky/starred{/owner}{/repo}"",""subscriptions_url"": ""https://api.github.com/users/Startrekzky/subscriptions"",""organizations_url"": ""https://api.github.com/users/Startrekzky/orgs"",""repos_url"": ""https://api.github.com/users/Startrekzky/repos"",""events_url"": ""https://api.github.com/users/Startrekzky/events{/privacy}"",""received_events_url"": ""https://api.github.com/users/Startrekzky/received_events"",""type"": ""User"",""site_admin"": false},""open_issues"": 2,""closed_issues"": 118,""state"": ""open"",""created_at"": ""2022-04-08T02:05:35Z"",""updated_at"": ""2022-06-24T01:34:37Z"",""due_on"": null,""closed_at"": null},""comments"":3,""created_at"":""2019-01-24T02:24:13Z"",""updated_at"":""2019-08-20T10:56:30Z"",""closed_at"":""2019-08-20T10:56:30Z"",""author_association"":""NONE"",""active_lock_reason"":null,""body"":""`Pool.Submit` chinese `PoolWithFunc.Server` chinese , chinese worker, chinese 。 chinese , chinese 。"",""reactions"":{""url"":""https://api.github.com/repos/panjf2000/ants/issues/24/reactions"",""total_count"":3,""+1"":1,""-1"":0,""laugh"":0,""hooray"":0,""confused"":0,""heart"":0,""rocket"":0,""eyes"":2},""timeline_url"":""https://api.github.com/repos/panjf2000/ants/issues/24/timeline"",""performed_via_github_app"":null,""state_reason"":""completed""}",https://api.github.com/repos/panjf2000/ants/issues?direction=asc&page=1&per_page=100&state=all,null,2022-06-13T15:35:54.530+00:00
+31,"{""ConnectionId"":1,""Name"":""panjf2000/ants""}","{""url"":""https://api.github.com/repos/panjf2000/ants/issues/25"",""repository_url"":""https://api.github.com/repos/panjf2000/ants"",""labels_url"":""https://api.github.com/repos/panjf2000/ants/issues/25/labels{/name}"",""comments_url"":""https://api.github.com/repos/panjf2000/ants/issues/25/comments"",""events_url"":""https://api.github.com/repos/panjf2000/ants/issues/25/events"",""html_url"":""https://github.com/panjf2000/ants/issues/25"",""id"":405951301,""node_id"":""MDU6SXNzdWU0MDU5NTEzMDE="",""number"":25,""title"":""use example errors"",""user"":{""login"":""jiashiwen"",""id"":5244267,""node_id"":""MDQ6VXNlcjUyNDQyNjc="",""avatar_url"":""https://avatars.githubusercontent.com/u/5244267?v=4"",""gravatar_id"":"""",""url"":""https://api.github.com/users/jiashiwen"",""html_url"":""https://github.com/jiashiwen"",""followers_url"":""https://api.github.com/users/jiashiwen/followers"",""following_url"":""https://api.github.com/users/jiashiwen/following{/other_user}"",""gists_url"":""https://api.github.com/users/jiashiwen/gists{/gist_id}"",""starred_url"":""https://api.github.com/users/jiashiwen/starred{/owner}{/repo}"",""subscriptions_url"":""https://api.github.com/users/jiashiwen/subscriptions"",""organizations_url"":""https://api.github.com/users/jiashiwen/orgs"",""repos_url"":""https://api.github.com/users/jiashiwen/repos"",""events_url"":""https://api.github.com/users/jiashiwen/events{/privacy}"",""received_events_url"":""https://api.github.com/users/jiashiwen/received_events"",""type"":""User"",""site_admin"":false},""labels"":[],""state"":""closed"",""locked"":false,""assignee"":null,""assignees"":[],""milestone"":{""url"": ""https://api.github.com/repos/apache/devlake/milestones/7"",""html_url"": ""https://github.com/apache/devlake/milestone/7"",""labels_url"": ""https://api.github.com/repos/apache/devlake/milestones/7/labels"",""id"": 7856149,""node_id"": ""MI_kwDOFuUSzs4Ad-AV"",""number"": 7,""title"": ""v0.11.0"",""description"": null,""creator"": {""login"": ""Startrekzky"",""id"": 14050754,""node_id"": ""MDQ6VXNlcjE0MDUwNzU0"",""avatar_url"": ""https://avatars.githubusercontent.com/u/14050754?v=4"",""gravatar_id"": """",""url"": ""https://api.github.com/users/Startrekzky"",""html_url"": ""https://github.com/Startrekzky"",""followers_url"": ""https://api.github.com/users/Startrekzky/followers"",""following_url"": ""https://api.github.com/users/Startrekzky/following{/other_user}"",""gists_url"": ""https://api.github.com/users/Startrekzky/gists{/gist_id}"",""starred_url"": ""https://api.github.com/users/Startrekzky/starred{/owner}{/repo}"",""subscriptions_url"": ""https://api.github.com/users/Startrekzky/subscriptions"",""organizations_url"": ""https://api.github.com/users/Startrekzky/orgs"",""repos_url"": ""https://api.github.com/users/Startrekzky/repos"",""events_url"": ""https://api.github.com/users/Startrekzky/events{/privacy}"",""received_events_url"": ""https://api.github.com/users/Startrekzky/received_events"",""type"": ""User"",""site_admin"": false},""open_issues"": 2,""closed_issues"": 118,""state"": ""open"",""created_at"": ""2022-04-08T02:05:35Z"",""updated_at"": ""2022-06-24T01:34:37Z"",""due_on"": null,""closed_at"": null},""comments"":1,""created_at"":""2019-02-02T05:43:38Z"",""updated_at"":""2019-02-04T09:11:52Z"",""closed_at"":""2019-02-04T09:11:52Z"",""author_association"":""NONE"",""active_lock_reason"":null,""body"":""./antstest.go:37:14: cannot use syncCalculateSum (type func()) as type ants.f in argument to ants.Submit\r\n./antstest.go:45:35: cannot use func literal (type func(interface {})) as type ants.pf in argument to ants.NewPoolWithFunc\r\n"",""reactions"":{""url"":""https://api.github.com/repos/panjf2000/ants/issues/25/reactions"",""total_count"":0,""+1"":0,""-1"":0,""laugh"":0,""hooray"":0,""confused"":0,""heart"":0,""rocket"":0,""eyes"":0},""timeline_url"":""https://api.github.com/repos/panjf2000/ants/issues/25/timeline"",""performed_via_github_app"":null,""state_reason"":""completed""}",https://api.github.com/repos/panjf2000/ants/issues?direction=asc&page=1&per_page=100&state=all,null,2022-06-13T15:35:54.530+00:00
+32,"{""ConnectionId"":1,""Name"":""panjf2000/ants""}","{""url"":""https://api.github.com/repos/panjf2000/ants/issues/26"",""repository_url"":""https://api.github.com/repos/panjf2000/ants"",""labels_url"":""https://api.github.com/repos/panjf2000/ants/issues/26/labels{/name}"",""comments_url"":""https://api.github.com/repos/panjf2000/ants/issues/26/comments"",""events_url"":""https://api.github.com/repos/panjf2000/ants/issues/26/events"",""html_url"":""https://github.com/panjf2000/ants/issues/26"",""id"":413968505,""node_id"":""MDU6SXNzdWU0MTM5Njg1MDU="",""number"":26,""title"":""running chinese cap chinese "",""user"":{""login"":""Ainiroad"",""id"":10361713,""node_id"":""MDQ6VXNlcjEwMzYxNzEz"",""avatar_url"":""https://avatars.githubusercontent.com/u/10361713?v=4"",""gravatar_id"":"""",""url"":""https://api.github.com/users/Ainiroad"",""html_url"":""https://github.com/Ainiroad"",""followers_url"":""https://api.github.com/users/Ainiroad/followers"",""following_url"":""https://api.github.com/users/Ainiroad/following{/other_user}"",""gists_url"":""https://api.github.com/users/Ainiroad/gists{/gist_id}"",""starred_url"":""https://api.github.com/users/Ainiroad/starred{/owner}{/repo}"",""subscriptions_url"":""https://api.github.com/users/Ainiroad/subscriptions"",""organizations_url"":""https://api.github.com/users/Ainiroad/orgs"",""repos_url"":""https://api.github.com/users/Ainiroad/repos"",""events_url"":""https://api.github.com/users/Ainiroad/events{/privacy}"",""received_events_url"":""https://api.github.com/users/Ainiroad/received_events"",""type"":""User"",""site_admin"":false},""labels"":[],""state"":""closed"",""locked"":false,""assignee"":null,""assignees"":[],""milestone"":{""url"": ""https://api.github.com/repos/apache/devlake/milestones/7"",""html_url"": ""https://github.com/apache/devlake/milestone/7"",""labels_url"": ""https://api.github.com/repos/apache/devlake/milestones/7/labels"",""id"": 7856149,""node_id"": ""MI_kwDOFuUSzs4Ad-AV"",""number"": 7,""title"": ""v0.11.0"",""description"": null,""creator"": {""login"": ""Startrekzky"",""id"": 14050754,""node_id"": ""MDQ6VXNlcjE0MDUwNzU0"",""avatar_url"": ""https://avatars.githubusercontent.com/u/14050754?v=4"",""gravatar_id"": """",""url"": ""https://api.github.com/users/Startrekzky"",""html_url"": ""https://github.com/Startrekzky"",""followers_url"": ""https://api.github.com/users/Startrekzky/followers"",""following_url"": ""https://api.github.com/users/Startrekzky/following{/other_user}"",""gists_url"": ""https://api.github.com/users/Startrekzky/gists{/gist_id}"",""starred_url"": ""https://api.github.com/users/Startrekzky/starred{/owner}{/repo}"",""subscriptions_url"": ""https://api.github.com/users/Startrekzky/subscriptions"",""organizations_url"": ""https://api.github.com/users/Startrekzky/orgs"",""repos_url"": ""https://api.github.com/users/Startrekzky/repos"",""events_url"": ""https://api.github.com/users/Startrekzky/events{/privacy}"",""received_events_url"": ""https://api.github.com/users/Startrekzky/received_events"",""type"": ""User"",""site_admin"": false},""open_issues"": 2,""closed_issues"": 118,""state"": ""open"",""created_at"": ""2022-04-08T02:05:35Z"",""updated_at"": ""2022-06-24T01:34:37Z"",""due_on"": null,""closed_at"": null},""comments"":2,""created_at"":""2019-02-25T07:29:33Z"",""updated_at"":""2019-03-12T12:01:57Z"",""closed_at"":""2019-03-12T12:01:57Z"",""author_association"":""NONE"",""active_lock_reason"":null,""body"":""running chinese cap chinese incRuning chinese , chinese running chinese cap chinese ?\r\n`func (p *Pool) retrieveWorker() *Worker {\r\n\tvar w *Worker\r\n\r\n\tp.lock.Lock()\r\n\tidleWorkers := p.workers\r\n\tn := len(idleWorkers) - 1\r\n\tif n >= 0 {\r\n\t\tw = idleWorkers[n]\r\n\t\tidleWorkers[n] = nil\r\n\t\tp.workers = idleWorkers[:n]\r\n\t\tp.lock.Unlock()\r\n\t} else if p.Running() < p.Cap() {\r\n\t\tp.lock.Unlock()\r\n\t\tif cacheWorker := p.workerCache.Get(); cacheWorker != nil {\r\n\t\t\tw = cacheWorker.(*Worker)\r\n\t\t} else {\r\n\t\t\tw = &Worker{\r\n\t\t\t\tpool: p,\r\n\t\t\t\ttask: make(chan func(), workerChanCap),\r\n\t\t\t}\r\n\t\t}\r\n\t\tw.run()`"",""reactions"":{""url"":""https://api.github.com/repos/panjf2000/ants/issues/26/reactions"",""total_count"":0,""+1"":0,""-1"":0,""laugh"":0,""hooray"":0,""confused"":0,""heart"":0,""rocket"":0,""eyes"":0},""timeline_url"":""https://api.github.com/repos/panjf2000/ants/issues/26/timeline"",""performed_via_github_app"":null,""state_reason"":""completed""}",https://api.github.com/repos/panjf2000/ants/issues?direction=asc&page=1&per_page=100&state=all,null,2022-06-13T15:35:54.530+00:00
+33,"{""ConnectionId"":1,""Name"":""panjf2000/ants""}","{""url"":""https://api.github.com/repos/panjf2000/ants/issues/27"",""repository_url"":""https://api.github.com/repos/panjf2000/ants"",""labels_url"":""https://api.github.com/repos/panjf2000/ants/issues/27/labels{/name}"",""comments_url"":""https://api.github.com/repos/panjf2000/ants/issues/27/comments"",""events_url"":""https://api.github.com/repos/panjf2000/ants/issues/27/events"",""html_url"":""https://github.com/panjf2000/ants/issues/27"",""id"":419183961,""node_id"":""MDU6SXNzdWU0MTkxODM5NjE="",""number"":27,""title"":"" chinese goroutine chinese , chinese "",""user"":{""login"":""liliang8858"",""id"":38367404,""node_id"":""MDQ6VXNlcjM4MzY3NDA0"",""avatar_url"":""https://avatars.githubusercontent.com/u/38367404?v=4"",""gravatar_id"":"""",""url"":""https://api.github.com/users/liliang8858"",""html_url"":""https://github.com/liliang8858"",""followers_url"":""https://api.github.com/users/liliang8858/followers"",""following_url"":""https://api.github.com/users/liliang8858/following{/other_user}"",""gists_url"":""https://api.github.com/users/liliang8858/gists{/gist_id}"",""starred_url"":""https://api.github.com/users/liliang8858/starred{/owner}{/repo}"",""subscriptions_url"":""https://api.github.com/users/liliang8858/subscriptions"",""organizations_url"":""https://api.github.com/users/liliang8858/orgs"",""repos_url"":""https://api.github.com/users/liliang8858/repos"",""events_url"":""https://api.github.com/users/liliang8858/events{/privacy}"",""received_events_url"":""https://api.github.com/users/liliang8858/received_events"",""type"":""User"",""site_admin"":false},""labels"":[],""state"":""closed"",""locked"":false,""assignee"":null,""assignees"":[],""milestone"":{""url"": ""https://api.github.com/repos/apache/devlake/milestones/7"",""html_url"": ""https://github.com/apache/devlake/milestone/7"",""labels_url"": ""https://api.github.com/repos/apache/devlake/milestones/7/labels"",""id"": 7856149,""node_id"": ""MI_kwDOFuUSzs4Ad-AV"",""number"": 7,""title"": ""v0.11.0"",""description"": null,""creator"": {""login"": ""Startrekzky"",""id"": 14050754,""node_id"": ""MDQ6VXNlcjE0MDUwNzU0"",""avatar_url"": ""https://avatars.githubusercontent.com/u/14050754?v=4"",""gravatar_id"": """",""url"": ""https://api.github.com/users/Startrekzky"",""html_url"": ""https://github.com/Startrekzky"",""followers_url"": ""https://api.github.com/users/Startrekzky/followers"",""following_url"": ""https://api.github.com/users/Startrekzky/following{/other_user}"",""gists_url"": ""https://api.github.com/users/Startrekzky/gists{/gist_id}"",""starred_url"": ""https://api.github.com/users/Startrekzky/starred{/owner}{/repo}"",""subscriptions_url"": ""https://api.github.com/users/Startrekzky/subscriptions"",""organizations_url"": ""https://api.github.com/users/Startrekzky/orgs"",""repos_url"": ""https://api.github.com/users/Startrekzky/repos"",""events_url"": ""https://api.github.com/users/Startrekzky/events{/privacy}"",""received_events_url"": ""https://api.github.com/users/Startrekzky/received_events"",""type"": ""User"",""site_admin"": false},""open_issues"": 2,""closed_issues"": 118,""state"": ""open"",""created_at"": ""2022-04-08T02:05:35Z"",""updated_at"": ""2022-06-24T01:34:37Z"",""due_on"": null,""closed_at"": null},""comments"":2,""created_at"":""2019-03-10T13:08:52Z"",""updated_at"":""2019-04-05T14:05:20Z"",""closed_at"":""2019-04-05T14:05:20Z"",""author_association"":""NONE"",""active_lock_reason"":null,""body"":"" chinese goroutine chinese , chinese \r\n chinese ?\r\n\r\nwebsocket server\r\nhttps://github.com/im-ai/pushm/blob/master/learn/goroutine/goroutinepoolwebsocket.go\r\n\r\nwebsocket cient\r\nhttps://github.com/im-ai/pushm/blob/master/learn/goroutine/goroutinepoolwebsocketclient.go\r\n"",""reactions"":{""url"":""https://api.github.com/repos/panjf2000/ants/issues/27/reactions"",""total_count"":0,""+1"":0,""-1"":0,""laugh"":0,""hooray"":0,""confused"":0,""heart"":0,""rocket"":0,""eyes"":0},""timeline_url"":""https://api.github.com/repos/panjf2000/ants/issues/27/timeline"",""performed_via_github_app"":null,""state_reason"":""completed""}",https://api.github.com/repos/panjf2000/ants/issues?direction=asc&page=1&per_page=100&state=all,null,2022-06-13T15:35:54.530+00:00
+34,"{""ConnectionId"":1,""Name"":""panjf2000/ants""}","{""url"":""https://api.github.com/repos/panjf2000/ants/issues/28"",""repository_url"":""https://api.github.com/repos/panjf2000/ants"",""labels_url"":""https://api.github.com/repos/panjf2000/ants/issues/28/labels{/name}"",""comments_url"":""https://api.github.com/repos/panjf2000/ants/issues/28/comments"",""events_url"":""https://api.github.com/repos/panjf2000/ants/issues/28/events"",""html_url"":""https://github.com/panjf2000/ants/issues/28"",""id"":419268851,""node_id"":""MDU6SXNzdWU0MTkyNjg4NTE="",""number"":28,""title"":""cap chinese running chinese "",""user"":{""login"":""naiba"",""id"":29243953,""node_id"":""MDQ6VXNlcjI5MjQzOTUz"",""avatar_url"":""https://avatars.githubusercontent.com/u/29243953?v=4"",""gravatar_id"":"""",""url"":""https://api.github.com/users/naiba"",""html_url"":""https://github.com/naiba"",""followers_url"":""https://api.github.com/users/naiba/followers"",""following_url"":""https://api.github.com/users/naiba/following{/other_user}"",""gists_url"":""https://api.github.com/users/naiba/gists{/gist_id}"",""starred_url"":""https://api.github.com/users/naiba/starred{/owner}{/repo}"",""subscriptions_url"":""https://api.github.com/users/naiba/subscriptions"",""organizations_url"":""https://api.github.com/users/naiba/orgs"",""repos_url"":""https://api.github.com/users/naiba/repos"",""events_url"":""https://api.github.com/users/naiba/events{/privacy}"",""received_events_url"":""https://api.github.com/users/naiba/received_events"",""type"":""User"",""site_admin"":false},""labels"":[],""state"":""closed"",""locked"":false,""assignee"":null,""assignees"":[],""milestone"":{""url"": ""https://api.github.com/repos/apache/devlake/milestones/7"",""html_url"": ""https://github.com/apache/devlake/milestone/7"",""labels_url"": ""https://api.github.com/repos/apache/devlake/milestones/7/labels"",""id"": 7856149,""node_id"": ""MI_kwDOFuUSzs4Ad-AV"",""number"": 7,""title"": ""v0.11.0"",""description"": null,""creator"": {""login"": ""Startrekzky"",""id"": 14050754,""node_id"": ""MDQ6VXNlcjE0MDUwNzU0"",""avatar_url"": ""https://avatars.githubusercontent.com/u/14050754?v=4"",""gravatar_id"": """",""url"": ""https://api.github.com/users/Startrekzky"",""html_url"": ""https://github.com/Startrekzky"",""followers_url"": ""https://api.github.com/users/Startrekzky/followers"",""following_url"": ""https://api.github.com/users/Startrekzky/following{/other_user}"",""gists_url"": ""https://api.github.com/users/Startrekzky/gists{/gist_id}"",""starred_url"": ""https://api.github.com/users/Startrekzky/starred{/owner}{/repo}"",""subscriptions_url"": ""https://api.github.com/users/Startrekzky/subscriptions"",""organizations_url"": ""https://api.github.com/users/Startrekzky/orgs"",""repos_url"": ""https://api.github.com/users/Startrekzky/repos"",""events_url"": ""https://api.github.com/users/Startrekzky/events{/privacy}"",""received_events_url"": ""https://api.github.com/users/Startrekzky/received_events"",""type"": ""User"",""site_admin"": false},""open_issues"": 2,""closed_issues"": 118,""state"": ""open"",""created_at"": ""2022-04-08T02:05:35Z"",""updated_at"": ""2022-06-24T01:34:37Z"",""due_on"": null,""closed_at"": null},""comments"":5,""created_at"":""2019-03-11T02:24:41Z"",""updated_at"":""2019-08-22T16:27:37Z"",""closed_at"":""2019-08-22T16:27:37Z"",""author_association"":""NONE"",""active_lock_reason"":null,""body"":"" chinese Playground chinese https://play.golang.org/p/D94YUU3FnX6\r\natomic chinese , chinese , chinese chinese , chinese chinese , chinese chinese , chinese \r\n chinese #26 chinese "",""reactions"":{""url"":""https://api.github.com/repos/panjf2000/ants/issues/28/reactions"",""total_count"":0,""+1"":0,""-1"":0,""laugh"":0,""hooray"":0,""confused"":0,""heart"":0,""rocket"":0,""eyes"":0},""timeline_url"":""https://api.github.com/repos/panjf2000/ants/issues/28/timeline"",""performed_via_github_app"":null,""state_reason"":""completed""}",https://api.github.com/repos/panjf2000/ants/issues?direction=asc&page=1&per_page=100&state=all,null,2022-06-13T15:35:54.530+00:00
+35,"{""ConnectionId"":1,""Name"":""panjf2000/ants""}","{""url"":""https://api.github.com/repos/panjf2000/ants/issues/29"",""repository_url"":""https://api.github.com/repos/panjf2000/ants"",""labels_url"":""https://api.github.com/repos/panjf2000/ants/issues/29/labels{/name}"",""comments_url"":""https://api.github.com/repos/panjf2000/ants/issues/29/comments"",""events_url"":""https://api.github.com/repos/panjf2000/ants/issues/29/events"",""html_url"":""https://github.com/panjf2000/ants/issues/29"",""id"":424634533,""node_id"":""MDU6SXNzdWU0MjQ2MzQ1MzM="",""number"":29,""title"":"" chinese "",""user"":{""login"":""prprprus"",""id"":8509898,""node_id"":""MDQ6VXNlcjg1MDk4OTg="",""avatar_url"":""https://avatars.githubusercontent.com/u/8509898?v=4"",""gravatar_id"":"""",""url"":""https://api.github.com/users/prprprus"",""html_url"":""https://github.com/prprprus"",""followers_url"":""https://api.github.com/users/prprprus/followers"",""following_url"":""https://api.github.com/users/prprprus/following{/other_user}"",""gists_url"":""https://api.github.com/users/prprprus/gists{/gist_id}"",""starred_url"":""https://api.github.com/users/prprprus/starred{/owner}{/repo}"",""subscriptions_url"":""https://api.github.com/users/prprprus/subscriptions"",""organizations_url"":""https://api.github.com/users/prprprus/orgs"",""repos_url"":""https://api.github.com/users/prprprus/repos"",""events_url"":""https://api.github.com/users/prprprus/events{/privacy}"",""received_events_url"":""https://api.github.com/users/prprprus/received_events"",""type"":""User"",""site_admin"":false},""labels"":[],""state"":""closed"",""locked"":false,""assignee"":null,""assignees"":[],""milestone"":{""url"": ""https://api.github.com/repos/apache/devlake/milestones/7"",""html_url"": ""https://github.com/apache/devlake/milestone/7"",""labels_url"": ""https://api.github.com/repos/apache/devlake/milestones/7/labels"",""id"": 7856149,""node_id"": ""MI_kwDOFuUSzs4Ad-AV"",""number"": 7,""title"": ""v0.11.0"",""description"": null,""creator"": {""login"": ""Startrekzky"",""id"": 14050754,""node_id"": ""MDQ6VXNlcjE0MDUwNzU0"",""avatar_url"": ""https://avatars.githubusercontent.com/u/14050754?v=4"",""gravatar_id"": """",""url"": ""https://api.github.com/users/Startrekzky"",""html_url"": ""https://github.com/Startrekzky"",""followers_url"": ""https://api.github.com/users/Startrekzky/followers"",""following_url"": ""https://api.github.com/users/Startrekzky/following{/other_user}"",""gists_url"": ""https://api.github.com/users/Startrekzky/gists{/gist_id}"",""starred_url"": ""https://api.github.com/users/Startrekzky/starred{/owner}{/repo}"",""subscriptions_url"": ""https://api.github.com/users/Startrekzky/subscriptions"",""organizations_url"": ""https://api.github.com/users/Startrekzky/orgs"",""repos_url"": ""https://api.github.com/users/Startrekzky/repos"",""events_url"": ""https://api.github.com/users/Startrekzky/events{/privacy}"",""received_events_url"": ""https://api.github.com/users/Startrekzky/received_events"",""type"": ""User"",""site_admin"": false},""open_issues"": 2,""closed_issues"": 118,""state"": ""open"",""created_at"": ""2022-04-08T02:05:35Z"",""updated_at"": ""2022-06-24T01:34:37Z"",""due_on"": null,""closed_at"": null},""comments"":2,""created_at"":""2019-03-24T16:52:21Z"",""updated_at"":""2019-03-25T09:45:05Z"",""closed_at"":""2019-03-25T09:32:11Z"",""author_association"":""NONE"",""active_lock_reason"":null,""body"":"" chinese , chinese 👍\r\n\r\nhttps://github.com/panjf2000/ants/blob/master/pool.go#L124 chinese , chinese ?\r\n"",""reactions"":{""url"":""https://api.github.com/repos/panjf2000/ants/issues/29/reactions"",""total_count"":0,""+1"":0,""-1"":0,""laugh"":0,""hooray"":0,""confused"":0,""heart"":0,""rocket"":0,""eyes"":0},""timeline_url"":""https://api.github.com/repos/panjf2000/ants/issues/29/timeline"",""performed_via_github_app"":null,""state_reason"":""completed""}",https://api.github.com/repos/panjf2000/ants/issues?direction=asc&page=1&per_page=100&state=all,null,2022-06-13T15:35:54.530+00:00
+36,"{""ConnectionId"":1,""Name"":""panjf2000/ants""}","{""url"":""https://api.github.com/repos/panjf2000/ants/issues/30"",""repository_url"":""https://api.github.com/repos/panjf2000/ants"",""labels_url"":""https://api.github.com/repos/panjf2000/ants/issues/30/labels{/name}"",""comments_url"":""https://api.github.com/repos/panjf2000/ants/issues/30/comments"",""events_url"":""https://api.github.com/repos/panjf2000/ants/issues/30/events"",""html_url"":""https://github.com/panjf2000/ants/pull/30"",""id"":429235920,""node_id"":""MDExOlB1bGxSZXF1ZXN0MjY3NDE0Mjc1"",""number"":30,""title"":""goreport: lint warning on code comment structure"",""user"":{""login"":""sarathsp06"",""id"":964542,""node_id"":""MDQ6VXNlcjk2NDU0Mg=="",""avatar_url"":""https://avatars.githubusercontent.com/u/964542?v=4"",""gravatar_id"":"""",""url"":""https://api.github.com/users/sarathsp06"",""html_url"":""https://github.com/sarathsp06"",""followers_url"":""https://api.github.com/users/sarathsp06/followers"",""following_url"":""https://api.github.com/users/sarathsp06/following{/other_user}"",""gists_url"":""https://api.github.com/users/sarathsp06/gists{/gist_id}"",""starred_url"":""https://api.github.com/users/sarathsp06/starred{/owner}{/repo}"",""subscriptions_url"":""https://api.github.com/users/sarathsp06/subscriptions"",""organizations_url"":""https://api.github.com/users/sarathsp06/orgs"",""repos_url"":""https://api.github.com/users/sarathsp06/repos"",""events_url"":""https://api.github.com/users/sarathsp06/events{/privacy}"",""received_events_url"":""https://api.github.com/users/sarathsp06/received_events"",""type"":""User"",""site_admin"":false},""labels"":[],""state"":""closed"",""locked"":false,""assignee"":null,""assignees"":[],""milestone"":{""url"": ""https://api.github.com/repos/apache/devlake/milestones/7"",""html_url"": ""https://github.com/apache/devlake/milestone/7"",""labels_url"": ""https://api.github.com/repos/apache/devlake/milestones/7/labels"",""id"": 7856149,""node_id"": ""MI_kwDOFuUSzs4Ad-AV"",""number"": 7,""title"": ""v0.11.0"",""description"": null,""creator"": {""login"": ""Startrekzky"",""id"": 14050754,""node_id"": ""MDQ6VXNlcjE0MDUwNzU0"",""avatar_url"": ""https://avatars.githubusercontent.com/u/14050754?v=4"",""gravatar_id"": """",""url"": ""https://api.github.com/users/Startrekzky"",""html_url"": ""https://github.com/Startrekzky"",""followers_url"": ""https://api.github.com/users/Startrekzky/followers"",""following_url"": ""https://api.github.com/users/Startrekzky/following{/other_user}"",""gists_url"": ""https://api.github.com/users/Startrekzky/gists{/gist_id}"",""starred_url"": ""https://api.github.com/users/Startrekzky/starred{/owner}{/repo}"",""subscriptions_url"": ""https://api.github.com/users/Startrekzky/subscriptions"",""organizations_url"": ""https://api.github.com/users/Startrekzky/orgs"",""repos_url"": ""https://api.github.com/users/Startrekzky/repos"",""events_url"": ""https://api.github.com/users/Startrekzky/events{/privacy}"",""received_events_url"": ""https://api.github.com/users/Startrekzky/received_events"",""type"": ""User"",""site_admin"": false},""open_issues"": 2,""closed_issues"": 118,""state"": ""open"",""created_at"": ""2022-04-08T02:05:35Z"",""updated_at"": ""2022-06-24T01:34:37Z"",""due_on"": null,""closed_at"": null},""comments"":1,""created_at"":""2019-04-04T11:52:48Z"",""updated_at"":""2019-04-23T11:11:58Z"",""closed_at"":""2019-04-23T11:11:58Z"",""author_association"":""CONTRIBUTOR"",""active_lock_reason"":null,""draft"":false,""pull_request"":{""url"":""https://api.github.com/repos/panjf2000/ants/pulls/30"",""html_url"":""https://github.com/panjf2000/ants/pull/30"",""diff_url"":""https://github.com/panjf2000/ants/pull/30.diff"",""patch_url"":""https://github.com/panjf2000/ants/pull/30.patch"",""merged_at"":""2019-04-23T11:11:58Z""},""body"":""Added a newline between group comment and exported variable line 😄"",""reactions"":{""url"":""https://api.github.com/repos/panjf2000/ants/issues/30/reactions"",""total_count"":0,""+1"":0,""-1"":0,""laugh"":0,""hooray"":0,""confused"":0,""heart"":0,""rocket"":0,""eyes"":0},""timeline_url"":""https://api.github.com/repos/panjf2000/ants/issues/30/timeline"",""performed_via_github_app"":null,""state_reason"":null}",https://api.github.com/repos/panjf2000/ants/issues?direction=asc&page=1&per_page=100&state=all,null,2022-06-13T15:35:54.530+00:00
+37,"{""ConnectionId"":1,""Name"":""panjf2000/ants""}","{""url"":""https://api.github.com/repos/panjf2000/ants/issues/31"",""repository_url"":""https://api.github.com/repos/panjf2000/ants"",""labels_url"":""https://api.github.com/repos/panjf2000/ants/issues/31/labels{/name}"",""comments_url"":""https://api.github.com/repos/panjf2000/ants/issues/31/comments"",""events_url"":""https://api.github.com/repos/panjf2000/ants/issues/31/events"",""html_url"":""https://github.com/panjf2000/ants/issues/31"",""id"":429972115,""node_id"":""MDU6SXNzdWU0Mjk5NzIxMTU="",""number"":31,""title"":""Add go.mod"",""user"":{""login"":""tsatke"",""id"":48135919,""node_id"":""MDQ6VXNlcjQ4MTM1OTE5"",""avatar_url"":""https://avatars.githubusercontent.com/u/48135919?v=4"",""gravatar_id"":"""",""url"":""https://api.github.com/users/tsatke"",""html_url"":""https://github.com/tsatke"",""followers_url"":""https://api.github.com/users/tsatke/followers"",""following_url"":""https://api.github.com/users/tsatke/following{/other_user}"",""gists_url"":""https://api.github.com/users/tsatke/gists{/gist_id}"",""starred_url"":""https://api.github.com/users/tsatke/starred{/owner}{/repo}"",""subscriptions_url"":""https://api.github.com/users/tsatke/subscriptions"",""organizations_url"":""https://api.github.com/users/tsatke/orgs"",""repos_url"":""https://api.github.com/users/tsatke/repos"",""events_url"":""https://api.github.com/users/tsatke/events{/privacy}"",""received_events_url"":""https://api.github.com/users/tsatke/received_events"",""type"":""User"",""site_admin"":false},""labels"":[],""state"":""closed"",""locked"":false,""assignee"":null,""assignees"":[],""milestone"":{""url"": ""https://api.github.com/repos/apache/devlake/milestones/7"",""html_url"": ""https://github.com/apache/devlake/milestone/7"",""labels_url"": ""https://api.github.com/repos/apache/devlake/milestones/7/labels"",""id"": 7856149,""node_id"": ""MI_kwDOFuUSzs4Ad-AV"",""number"": 7,""title"": ""v0.11.0"",""description"": null,""creator"": {""login"": ""Startrekzky"",""id"": 14050754,""node_id"": ""MDQ6VXNlcjE0MDUwNzU0"",""avatar_url"": ""https://avatars.githubusercontent.com/u/14050754?v=4"",""gravatar_id"": """",""url"": ""https://api.github.com/users/Startrekzky"",""html_url"": ""https://github.com/Startrekzky"",""followers_url"": ""https://api.github.com/users/Startrekzky/followers"",""following_url"": ""https://api.github.com/users/Startrekzky/following{/other_user}"",""gists_url"": ""https://api.github.com/users/Startrekzky/gists{/gist_id}"",""starred_url"": ""https://api.github.com/users/Startrekzky/starred{/owner}{/repo}"",""subscriptions_url"": ""https://api.github.com/users/Startrekzky/subscriptions"",""organizations_url"": ""https://api.github.com/users/Startrekzky/orgs"",""repos_url"": ""https://api.github.com/users/Startrekzky/repos"",""events_url"": ""https://api.github.com/users/Startrekzky/events{/privacy}"",""received_events_url"": ""https://api.github.com/users/Startrekzky/received_events"",""type"": ""User"",""site_admin"": false},""open_issues"": 2,""closed_issues"": 118,""state"": ""open"",""created_at"": ""2022-04-08T02:05:35Z"",""updated_at"": ""2022-06-24T01:34:37Z"",""due_on"": null,""closed_at"": null},""comments"":3,""created_at"":""2019-04-05T23:50:36Z"",""updated_at"":""2019-10-17T03:12:19Z"",""closed_at"":""2019-04-08T09:45:31Z"",""author_association"":""NONE"",""active_lock_reason"":null,""body"":"""",""reactions"":{""url"":""https://api.github.com/repos/panjf2000/ants/issues/31/reactions"",""total_count"":0,""+1"":0,""-1"":0,""laugh"":0,""hooray"":0,""confused"":0,""heart"":0,""rocket"":0,""eyes"":0},""timeline_url"":""https://api.github.com/repos/panjf2000/ants/issues/31/timeline"",""performed_via_github_app"":null,""state_reason"":""completed""}",https://api.github.com/repos/panjf2000/ants/issues?direction=asc&page=1&per_page=100&state=all,null,2022-06-13T15:35:54.530+00:00
+38,"{""ConnectionId"":1,""Name"":""panjf2000/ants""}","{""url"":""https://api.github.com/repos/panjf2000/ants/issues/32"",""repository_url"":""https://api.github.com/repos/panjf2000/ants"",""labels_url"":""https://api.github.com/repos/panjf2000/ants/issues/32/labels{/name}"",""comments_url"":""https://api.github.com/repos/panjf2000/ants/issues/32/comments"",""events_url"":""https://api.github.com/repos/panjf2000/ants/issues/32/events"",""html_url"":""https://github.com/panjf2000/ants/issues/32"",""id"":433564955,""node_id"":""MDU6SXNzdWU0MzM1NjQ5NTU="",""number"":32,""title"":"" chinese , chinese (0.0.x) chinese ?"",""user"":{""login"":""zplzpl"",""id"":7931755,""node_id"":""MDQ6VXNlcjc5MzE3NTU="",""avatar_url"":""https://avatars.githubusercontent.com/u/7931755?v=4"",""gravatar_id"":"""",""url"":""https://api.github.com/users/zplzpl"",""html_url"":""https://github.com/zplzpl"",""followers_url"":""https://api.github.com/users/zplzpl/followers"",""following_url"":""https://api.github.com/users/zplzpl/following{/other_user}"",""gists_url"":""https://api.github.com/users/zplzpl/gists{/gist_id}"",""starred_url"":""https://api.github.com/users/zplzpl/starred{/owner}{/repo}"",""subscriptions_url"":""https://api.github.com/users/zplzpl/subscriptions"",""organizations_url"":""https://api.github.com/users/zplzpl/orgs"",""repos_url"":""https://api.github.com/users/zplzpl/repos"",""events_url"":""https://api.github.com/users/zplzpl/events{/privacy}"",""received_events_url"":""https://api.github.com/users/zplzpl/received_events"",""type"":""User"",""site_admin"":false},""labels"":[{""id"":937861454,""node_id"":""MDU6TGFiZWw5Mzc4NjE0NTQ="",""url"":""https://api.github.com/repos/panjf2000/ants/labels/enhancement"",""name"":""enhancement"",""color"":""3eede7"",""default"":true,""description"":""New feature or request""}],""state"":""closed"",""locked"":false,""assignee"":null,""assignees"":[],""milestone"":{""url"": ""https://api.github.com/repos/apache/devlake/milestones/7"",""html_url"": ""https://github.com/apache/devlake/milestone/7"",""labels_url"": ""https://api.github.com/repos/apache/devlake/milestones/7/labels"",""id"": 7856149,""node_id"": ""MI_kwDOFuUSzs4Ad-AV"",""number"": 7,""title"": ""v0.11.0"",""description"": null,""creator"": {""login"": ""Startrekzky"",""id"": 14050754,""node_id"": ""MDQ6VXNlcjE0MDUwNzU0"",""avatar_url"": ""https://avatars.githubusercontent.com/u/14050754?v=4"",""gravatar_id"": """",""url"": ""https://api.github.com/users/Startrekzky"",""html_url"": ""https://github.com/Startrekzky"",""followers_url"": ""https://api.github.com/users/Startrekzky/followers"",""following_url"": ""https://api.github.com/users/Startrekzky/following{/other_user}"",""gists_url"": ""https://api.github.com/users/Startrekzky/gists{/gist_id}"",""starred_url"": ""https://api.github.com/users/Startrekzky/starred{/owner}{/repo}"",""subscriptions_url"": ""https://api.github.com/users/Startrekzky/subscriptions"",""organizations_url"": ""https://api.github.com/users/Startrekzky/orgs"",""repos_url"": ""https://api.github.com/users/Startrekzky/repos"",""events_url"": ""https://api.github.com/users/Startrekzky/events{/privacy}"",""received_events_url"": ""https://api.github.com/users/Startrekzky/received_events"",""type"": ""User"",""site_admin"": false},""open_issues"": 2,""closed_issues"": 118,""state"": ""open"",""created_at"": ""2022-04-08T02:05:35Z"",""updated_at"": ""2022-06-24T01:34:37Z"",""due_on"": null,""closed_at"": null},""comments"":1,""created_at"":""2019-04-16T03:16:02Z"",""updated_at"":""2019-04-21T07:16:26Z"",""closed_at"":""2019-04-21T07:16:26Z"",""author_association"":""NONE"",""active_lock_reason"":null,""body"":"" chinese , chinese 。\r\n\r\n chinese \r\n\r\n chinese , chinese 。"",""reactions"":{""url"":""https://api.github.com/repos/panjf2000/ants/issues/32/reactions"",""total_count"":0,""+1"":0,""-1"":0,""laugh"":0,""hooray"":0,""confused"":0,""heart"":0,""rocket"":0,""eyes"":0},""timeline_url"":""https://api.github.com/repos/panjf2000/ants/issues/32/timeline"",""performed_via_github_app"":null,""state_reason"":""completed""}",https://api.github.com/repos/panjf2000/ants/issues?direction=asc&page=1&per_page=100&state=all,null,2022-06-13T15:35:54.530+00:00
+39,"{""ConnectionId"":1,""Name"":""panjf2000/ants""}","{""url"":""https://api.github.com/repos/panjf2000/ants/issues/33"",""repository_url"":""https://api.github.com/repos/panjf2000/ants"",""labels_url"":""https://api.github.com/repos/panjf2000/ants/issues/33/labels{/name}"",""comments_url"":""https://api.github.com/repos/panjf2000/ants/issues/33/comments"",""events_url"":""https://api.github.com/repos/panjf2000/ants/issues/33/events"",""html_url"":""https://github.com/panjf2000/ants/issues/33"",""id"":434069015,""node_id"":""MDU6SXNzdWU0MzQwNjkwMTU="",""number"":33,""title"":""support semantic versioning."",""user"":{""login"":""jjeffcaii"",""id"":1284892,""node_id"":""MDQ6VXNlcjEyODQ4OTI="",""avatar_url"":""https://avatars.githubusercontent.com/u/1284892?v=4"",""gravatar_id"":"""",""url"":""https://api.github.com/users/jjeffcaii"",""html_url"":""https://github.com/jjeffcaii"",""followers_url"":""https://api.github.com/users/jjeffcaii/followers"",""following_url"":""https://api.github.com/users/jjeffcaii/following{/other_user}"",""gists_url"":""https://api.github.com/users/jjeffcaii/gists{/gist_id}"",""starred_url"":""https://api.github.com/users/jjeffcaii/starred{/owner}{/repo}"",""subscriptions_url"":""https://api.github.com/users/jjeffcaii/subscriptions"",""organizations_url"":""https://api.github.com/users/jjeffcaii/orgs"",""repos_url"":""https://api.github.com/users/jjeffcaii/repos"",""events_url"":""https://api.github.com/users/jjeffcaii/events{/privacy}"",""received_events_url"":""https://api.github.com/users/jjeffcaii/received_events"",""type"":""User"",""site_admin"":false},""labels"":[{""id"":937861454,""node_id"":""MDU6TGFiZWw5Mzc4NjE0NTQ="",""url"":""https://api.github.com/repos/panjf2000/ants/labels/enhancement"",""name"":""enhancement"",""color"":""3eede7"",""default"":true,""description"":""New feature or request""}],""state"":""closed"",""locked"":false,""assignee"":null,""assignees"":[],""milestone"":{""url"": ""https://api.github.com/repos/apache/devlake/milestones/7"",""html_url"": ""https://github.com/apache/devlake/milestone/7"",""labels_url"": ""https://api.github.com/repos/apache/devlake/milestones/7/labels"",""id"": 7856149,""node_id"": ""MI_kwDOFuUSzs4Ad-AV"",""number"": 7,""title"": ""v0.11.0"",""description"": null,""creator"": {""login"": ""Startrekzky"",""id"": 14050754,""node_id"": ""MDQ6VXNlcjE0MDUwNzU0"",""avatar_url"": ""https://avatars.githubusercontent.com/u/14050754?v=4"",""gravatar_id"": """",""url"": ""https://api.github.com/users/Startrekzky"",""html_url"": ""https://github.com/Startrekzky"",""followers_url"": ""https://api.github.com/users/Startrekzky/followers"",""following_url"": ""https://api.github.com/users/Startrekzky/following{/other_user}"",""gists_url"": ""https://api.github.com/users/Startrekzky/gists{/gist_id}"",""starred_url"": ""https://api.github.com/users/Startrekzky/starred{/owner}{/repo}"",""subscriptions_url"": ""https://api.github.com/users/Startrekzky/subscriptions"",""organizations_url"": ""https://api.github.com/users/Startrekzky/orgs"",""repos_url"": ""https://api.github.com/users/Startrekzky/repos"",""events_url"": ""https://api.github.com/users/Startrekzky/events{/privacy}"",""received_events_url"": ""https://api.github.com/users/Startrekzky/received_events"",""type"": ""User"",""site_admin"": false},""open_issues"": 2,""closed_issues"": 118,""state"": ""open"",""created_at"": ""2022-04-08T02:05:35Z"",""updated_at"": ""2022-06-24T01:34:37Z"",""due_on"": null,""closed_at"": null},""comments"":1,""created_at"":""2019-04-17T02:55:11Z"",""updated_at"":""2019-04-21T08:25:20Z"",""closed_at"":""2019-04-21T08:25:20Z"",""author_association"":""NONE"",""active_lock_reason"":null,""body"":"" chinese tag chinese semantic versioning,vX.Y.Z。go modules chinese 。\r\nhttps://semver.org/\r\nhttps://research.swtch.com/vgo-import"",""reactions"":{""url"":""https://api.github.com/repos/panjf2000/ants/issues/33/reactions"",""total_count"":0,""+1"":0,""-1"":0,""laugh"":0,""hooray"":0,""confused"":0,""heart"":0,""rocket"":0,""eyes"":0},""timeline_url"":""https://api.github.com/repos/panjf2000/ants/issues/33/timeline"",""performed_via_github_app"":null,""state_reason"":""completed""}",https://api.github.com/repos/panjf2000/ants/issues?direction=asc&page=1&per_page=100&state=all,null,2022-06-13T15:35:54.530+00:00
+40,"{""ConnectionId"":1,""Name"":""panjf2000/ants""}","{""url"":""https://api.github.com/repos/panjf2000/ants/issues/34"",""repository_url"":""https://api.github.com/repos/panjf2000/ants"",""labels_url"":""https://api.github.com/repos/panjf2000/ants/issues/34/labels{/name}"",""comments_url"":""https://api.github.com/repos/panjf2000/ants/issues/34/comments"",""events_url"":""https://api.github.com/repos/panjf2000/ants/issues/34/events"",""html_url"":""https://github.com/panjf2000/ants/issues/34"",""id"":435486645,""node_id"":""MDU6SXNzdWU0MzU0ODY2NDU="",""number"":34,""title"":""Important announcement about <ants> from author !!!"",""user"":{""login"":""panjf2000"",""id"":7496278,""node_id"":""MDQ6VXNlcjc0OTYyNzg="",""avatar_url"":""https://avatars.githubusercontent.com/u/7496278?v=4"",""gravatar_id"":"""",""url"":""https://api.github.com/users/panjf2000"",""html_url"":""https://github.com/panjf2000"",""followers_url"":""https://api.github.com/users/panjf2000/followers"",""following_url"":""https://api.github.com/users/panjf2000/following{/other_user}"",""gists_url"":""https://api.github.com/users/panjf2000/gists{/gist_id}"",""starred_url"":""https://api.github.com/users/panjf2000/starred{/owner}{/repo}"",""subscriptions_url"":""https://api.github.com/users/panjf2000/subscriptions"",""organizations_url"":""https://api.github.com/users/panjf2000/orgs"",""repos_url"":""https://api.github.com/users/panjf2000/repos"",""events_url"":""https://api.github.com/users/panjf2000/events{/privacy}"",""received_events_url"":""https://api.github.com/users/panjf2000/received_events"",""type"":""User"",""site_admin"":false},""labels"":[],""state"":""closed"",""locked"":false,""assignee"":null,""assignees"":[],""milestone"":{""url"": ""https://api.github.com/repos/apache/devlake/milestones/7"",""html_url"": ""https://github.com/apache/devlake/milestone/7"",""labels_url"": ""https://api.github.com/repos/apache/devlake/milestones/7/labels"",""id"": 7856149,""node_id"": ""MI_kwDOFuUSzs4Ad-AV"",""number"": 7,""title"": ""v0.11.0"",""description"": null,""creator"": {""login"": ""Startrekzky"",""id"": 14050754,""node_id"": ""MDQ6VXNlcjE0MDUwNzU0"",""avatar_url"": ""https://avatars.githubusercontent.com/u/14050754?v=4"",""gravatar_id"": """",""url"": ""https://api.github.com/users/Startrekzky"",""html_url"": ""https://github.com/Startrekzky"",""followers_url"": ""https://api.github.com/users/Startrekzky/followers"",""following_url"": ""https://api.github.com/users/Startrekzky/following{/other_user}"",""gists_url"": ""https://api.github.com/users/Startrekzky/gists{/gist_id}"",""starred_url"": ""https://api.github.com/users/Startrekzky/starred{/owner}{/repo}"",""subscriptions_url"": ""https://api.github.com/users/Startrekzky/subscriptions"",""organizations_url"": ""https://api.github.com/users/Startrekzky/orgs"",""repos_url"": ""https://api.github.com/users/Startrekzky/repos"",""events_url"": ""https://api.github.com/users/Startrekzky/events{/privacy}"",""received_events_url"": ""https://api.github.com/users/Startrekzky/received_events"",""type"": ""User"",""site_admin"": false},""open_issues"": 2,""closed_issues"": 118,""state"": ""open"",""created_at"": ""2022-04-08T02:05:35Z"",""updated_at"": ""2022-06-24T01:34:37Z"",""due_on"": null,""closed_at"": null},""comments"":1,""created_at"":""2019-04-21T08:10:28Z"",""updated_at"":""2019-05-07T15:35:08Z"",""closed_at"":""2019-05-07T15:35:08Z"",""author_association"":""OWNER"",""active_lock_reason"":null,""body"":""**Dear users of `ants`:**\r\nI am apologetically telling you that I have to dump all tags which already presents in `ants` repository.\r\n\r\nThe reason why I'm doing so is to standardize the version management with `Semantic Versioning`, which will make a formal and clear dependency management in go, for go modules, godep, or glide, etc. So I decide to start over the tag sequence, you could find more details in [Semantic Versioning](https://semver.org/) and [Semantic Import Versioning](https://research.swtch.com/vgo-import), related issue: #32, #33 (very thankful to @jjeffcaii and @zplzpl who provided the suggestions about it).\r\n\r\nI ought to apologize for the bothers brought by this change, the arch-criminal who leads to this issue would be my lack of concept about `Semantic Versioning`, I will spend more times learning the knowledge afterwards. \r\n\r\nOnce again, sorry for your costs in this change and thanks for your support to `ants`! \r\n\r\n*Have fun!*\r\n\r\n**Best regards,\r\nAndy Pan**\r\n"",""reactions"":{""url"":""https://api.github.com/repos/panjf2000/ants/issues/34/reactions"",""total_count"":0,""+1"":0,""-1"":0,""laugh"":0,""hooray"":0,""confused"":0,""heart"":0,""rocket"":0,""eyes"":0},""timeline_url"":""https://api.github.com/repos/panjf2000/ants/issues/34/timeline"",""performed_via_github_app"":null,""state_reason"":""completed""}",https://api.github.com/repos/panjf2000/ants/issues?direction=asc&page=1&per_page=100&state=all,null,2022-06-13T15:35:54.530+00:00
+41,"{""ConnectionId"":1,""Name"":""panjf2000/ants""}","{""url"":""https://api.github.com/repos/panjf2000/ants/issues/35"",""repository_url"":""https://api.github.com/repos/panjf2000/ants"",""labels_url"":""https://api.github.com/repos/panjf2000/ants/issues/35/labels{/name}"",""comments_url"":""https://api.github.com/repos/panjf2000/ants/issues/35/comments"",""events_url"":""https://api.github.com/repos/panjf2000/ants/issues/35/events"",""html_url"":""https://github.com/panjf2000/ants/issues/35"",""id"":461280653,""node_id"":""MDU6SXNzdWU0NjEyODA2NTM="",""number"":35,""title"":""worker exit on panic"",""user"":{""login"":""king526"",""id"":38849208,""node_id"":""MDQ6VXNlcjM4ODQ5MjA4"",""avatar_url"":""https://avatars.githubusercontent.com/u/38849208?v=4"",""gravatar_id"":"""",""url"":""https://api.github.com/users/king526"",""html_url"":""https://github.com/king526"",""followers_url"":""https://api.github.com/users/king526/followers"",""following_url"":""https://api.github.com/users/king526/following{/other_user}"",""gists_url"":""https://api.github.com/users/king526/gists{/gist_id}"",""starred_url"":""https://api.github.com/users/king526/starred{/owner}{/repo}"",""subscriptions_url"":""https://api.github.com/users/king526/subscriptions"",""organizations_url"":""https://api.github.com/users/king526/orgs"",""repos_url"":""https://api.github.com/users/king526/repos"",""events_url"":""https://api.github.com/users/king526/events{/privacy}"",""received_events_url"":""https://api.github.com/users/king526/received_events"",""type"":""User"",""site_admin"":false},""labels"":[],""state"":""closed"",""locked"":false,""assignee"":null,""assignees"":[],""milestone"":{""url"": ""https://api.github.com/repos/apache/devlake/milestones/7"",""html_url"": ""https://github.com/apache/devlake/milestone/7"",""labels_url"": ""https://api.github.com/repos/apache/devlake/milestones/7/labels"",""id"": 7856149,""node_id"": ""MI_kwDOFuUSzs4Ad-AV"",""number"": 7,""title"": ""v0.11.0"",""description"": null,""creator"": {""login"": ""Startrekzky"",""id"": 14050754,""node_id"": ""MDQ6VXNlcjE0MDUwNzU0"",""avatar_url"": ""https://avatars.githubusercontent.com/u/14050754?v=4"",""gravatar_id"": """",""url"": ""https://api.github.com/users/Startrekzky"",""html_url"": ""https://github.com/Startrekzky"",""followers_url"": ""https://api.github.com/users/Startrekzky/followers"",""following_url"": ""https://api.github.com/users/Startrekzky/following{/other_user}"",""gists_url"": ""https://api.github.com/users/Startrekzky/gists{/gist_id}"",""starred_url"": ""https://api.github.com/users/Startrekzky/starred{/owner}{/repo}"",""subscriptions_url"": ""https://api.github.com/users/Startrekzky/subscriptions"",""organizations_url"": ""https://api.github.com/users/Startrekzky/orgs"",""repos_url"": ""https://api.github.com/users/Startrekzky/repos"",""events_url"": ""https://api.github.com/users/Startrekzky/events{/privacy}"",""received_events_url"": ""https://api.github.com/users/Startrekzky/received_events"",""type"": ""User"",""site_admin"": false},""open_issues"": 2,""closed_issues"": 118,""state"": ""open"",""created_at"": ""2022-04-08T02:05:35Z"",""updated_at"": ""2022-06-24T01:34:37Z"",""due_on"": null,""closed_at"": null},""comments"":0,""created_at"":""2019-06-27T03:11:49Z"",""updated_at"":""2019-08-17T20:33:10Z"",""closed_at"":""2019-08-17T20:33:10Z"",""author_association"":""NONE"",""active_lock_reason"":null,""body"":"" chinese PanicHandler chinese 。\r\n1. chinese PanicHandler chinese , chinese panic, chinese 。\r\n2. chinese PanicHandler, chinese worker chinese , chinese pool chinese 。"",""reactions"":{""url"":""https://api.github.com/repos/panjf2000/ants/issues/35/reactions"",""total_count"":0,""+1"":0,""-1"":0,""laugh"":0,""hooray"":0,""confused"":0,""heart"":0,""rocket"":0,""eyes"":0},""timeline_url"":""https://api.github.com/repos/panjf2000/ants/issues/35/timeline"",""performed_via_github_app"":null,""state_reason"":""completed""}",https://api.github.com/repos/panjf2000/ants/issues?direction=asc&page=1&per_page=100&state=all,null,2022-06-13T15:35:54.530+00:00
+42,"{""ConnectionId"":1,""Name"":""panjf2000/ants""}","{""url"":""https://api.github.com/repos/panjf2000/ants/issues/36"",""repository_url"":""https://api.github.com/repos/panjf2000/ants"",""labels_url"":""https://api.github.com/repos/panjf2000/ants/issues/36/labels{/name}"",""comments_url"":""https://api.github.com/repos/panjf2000/ants/issues/36/comments"",""events_url"":""https://api.github.com/repos/panjf2000/ants/issues/36/events"",""html_url"":""https://github.com/panjf2000/ants/pull/36"",""id"":461287938,""node_id"":""MDExOlB1bGxSZXF1ZXN0MjkyMjQ2NTI0"",""number"":36,""title"":""handle job panic"",""user"":{""login"":""king526"",""id"":38849208,""node_id"":""MDQ6VXNlcjM4ODQ5MjA4"",""avatar_url"":""https://avatars.githubusercontent.com/u/38849208?v=4"",""gravatar_id"":"""",""url"":""https://api.github.com/users/king526"",""html_url"":""https://github.com/king526"",""followers_url"":""https://api.github.com/users/king526/followers"",""following_url"":""https://api.github.com/users/king526/following{/other_user}"",""gists_url"":""https://api.github.com/users/king526/gists{/gist_id}"",""starred_url"":""https://api.github.com/users/king526/starred{/owner}{/repo}"",""subscriptions_url"":""https://api.github.com/users/king526/subscriptions"",""organizations_url"":""https://api.github.com/users/king526/orgs"",""repos_url"":""https://api.github.com/users/king526/repos"",""events_url"":""https://api.github.com/users/king526/events{/privacy}"",""received_events_url"":""https://api.github.com/users/king526/received_events"",""type"":""User"",""site_admin"":false},""labels"":[],""state"":""closed"",""locked"":false,""assignee"":null,""assignees"":[],""milestone"":{""url"": ""https://api.github.com/repos/apache/devlake/milestones/7"",""html_url"": ""https://github.com/apache/devlake/milestone/7"",""labels_url"": ""https://api.github.com/repos/apache/devlake/milestones/7/labels"",""id"": 7856149,""node_id"": ""MI_kwDOFuUSzs4Ad-AV"",""number"": 7,""title"": ""v0.11.0"",""description"": null,""creator"": {""login"": ""Startrekzky"",""id"": 14050754,""node_id"": ""MDQ6VXNlcjE0MDUwNzU0"",""avatar_url"": ""https://avatars.githubusercontent.com/u/14050754?v=4"",""gravatar_id"": """",""url"": ""https://api.github.com/users/Startrekzky"",""html_url"": ""https://github.com/Startrekzky"",""followers_url"": ""https://api.github.com/users/Startrekzky/followers"",""following_url"": ""https://api.github.com/users/Startrekzky/following{/other_user}"",""gists_url"": ""https://api.github.com/users/Startrekzky/gists{/gist_id}"",""starred_url"": ""https://api.github.com/users/Startrekzky/starred{/owner}{/repo}"",""subscriptions_url"": ""https://api.github.com/users/Startrekzky/subscriptions"",""organizations_url"": ""https://api.github.com/users/Startrekzky/orgs"",""repos_url"": ""https://api.github.com/users/Startrekzky/repos"",""events_url"": ""https://api.github.com/users/Startrekzky/events{/privacy}"",""received_events_url"": ""https://api.github.com/users/Startrekzky/received_events"",""type"": ""User"",""site_admin"": false},""open_issues"": 2,""closed_issues"": 118,""state"": ""open"",""created_at"": ""2022-04-08T02:05:35Z"",""updated_at"": ""2022-06-24T01:34:37Z"",""due_on"": null,""closed_at"": null},""comments"":1,""created_at"":""2019-06-27T03:27:05Z"",""updated_at"":""2019-08-17T20:32:55Z"",""closed_at"":""2019-08-17T20:32:34Z"",""author_association"":""NONE"",""active_lock_reason"":null,""draft"":false,""pull_request"":{""url"":""https://api.github.com/repos/panjf2000/ants/pulls/36"",""html_url"":""https://github.com/panjf2000/ants/pull/36"",""diff_url"":""https://github.com/panjf2000/ants/pull/36.diff"",""patch_url"":""https://github.com/panjf2000/ants/pull/36.patch"",""merged_at"":null},""body"":"""",""reactions"":{""url"":""https://api.github.com/repos/panjf2000/ants/issues/36/reactions"",""total_count"":0,""+1"":0,""-1"":0,""laugh"":0,""hooray"":0,""confused"":0,""heart"":0,""rocket"":0,""eyes"":0},""timeline_url"":""https://api.github.com/repos/panjf2000/ants/issues/36/timeline"",""performed_via_github_app"":null,""state_reason"":null}",https://api.github.com/repos/panjf2000/ants/issues?direction=asc&page=1&per_page=100&state=all,null,2022-06-13T15:35:54.530+00:00
+43,"{""ConnectionId"":1,""Name"":""panjf2000/ants""}","{""url"":""https://api.github.com/repos/panjf2000/ants/issues/37"",""repository_url"":""https://api.github.com/repos/panjf2000/ants"",""labels_url"":""https://api.github.com/repos/panjf2000/ants/issues/37/labels{/name}"",""comments_url"":""https://api.github.com/repos/panjf2000/ants/issues/37/comments"",""events_url"":""https://api.github.com/repos/panjf2000/ants/issues/37/events"",""html_url"":""https://github.com/panjf2000/ants/issues/37"",""id"":462631417,""node_id"":""MDU6SXNzdWU0NjI2MzE0MTc="",""number"":37,""title"":"" chinese 。。。"",""user"":{""login"":""choleraehyq"",""id"":8923413,""node_id"":""MDQ6VXNlcjg5MjM0MTM="",""avatar_url"":""https://avatars.githubusercontent.com/u/8923413?v=4"",""gravatar_id"":"""",""url"":""https://api.github.com/users/choleraehyq"",""html_url"":""https://github.com/choleraehyq"",""followers_url"":""https://api.github.com/users/choleraehyq/followers"",""following_url"":""https://api.github.com/users/choleraehyq/following{/other_user}"",""gists_url"":""https://api.github.com/users/choleraehyq/gists{/gist_id}"",""starred_url"":""https://api.github.com/users/choleraehyq/starred{/owner}{/repo}"",""subscriptions_url"":""https://api.github.com/users/choleraehyq/subscriptions"",""organizations_url"":""https://api.github.com/users/choleraehyq/orgs"",""repos_url"":""https://api.github.com/users/choleraehyq/repos"",""events_url"":""https://api.github.com/users/choleraehyq/events{/privacy}"",""received_events_url"":""https://api.github.com/users/choleraehyq/received_events"",""type"":""User"",""site_admin"":false},""labels"":[],""state"":""closed"",""locked"":false,""assignee"":null,""assignees"":[],""milestone"":{""url"": ""https://api.github.com/repos/apache/devlake/milestones/7"",""html_url"": ""https://github.com/apache/devlake/milestone/7"",""labels_url"": ""https://api.github.com/repos/apache/devlake/milestones/7/labels"",""id"": 7856149,""node_id"": ""MI_kwDOFuUSzs4Ad-AV"",""number"": 7,""title"": ""v0.11.0"",""description"": null,""creator"": {""login"": ""Startrekzky"",""id"": 14050754,""node_id"": ""MDQ6VXNlcjE0MDUwNzU0"",""avatar_url"": ""https://avatars.githubusercontent.com/u/14050754?v=4"",""gravatar_id"": """",""url"": ""https://api.github.com/users/Startrekzky"",""html_url"": ""https://github.com/Startrekzky"",""followers_url"": ""https://api.github.com/users/Startrekzky/followers"",""following_url"": ""https://api.github.com/users/Startrekzky/following{/other_user}"",""gists_url"": ""https://api.github.com/users/Startrekzky/gists{/gist_id}"",""starred_url"": ""https://api.github.com/users/Startrekzky/starred{/owner}{/repo}"",""subscriptions_url"": ""https://api.github.com/users/Startrekzky/subscriptions"",""organizations_url"": ""https://api.github.com/users/Startrekzky/orgs"",""repos_url"": ""https://api.github.com/users/Startrekzky/repos"",""events_url"": ""https://api.github.com/users/Startrekzky/events{/privacy}"",""received_events_url"": ""https://api.github.com/users/Startrekzky/received_events"",""type"": ""User"",""site_admin"": false},""open_issues"": 2,""closed_issues"": 118,""state"": ""open"",""created_at"": ""2022-04-08T02:05:35Z"",""updated_at"": ""2022-06-24T01:34:37Z"",""due_on"": null,""closed_at"": null},""comments"":3,""created_at"":""2019-07-01T10:17:15Z"",""updated_at"":""2019-07-02T10:17:31Z"",""closed_at"":""2019-07-01T12:37:55Z"",""author_association"":""CONTRIBUTOR"",""active_lock_reason"":null,""body"":"" chinese 3.9.9, chinese , chinese , chinese 1.0.0。 chinese 。 chinese "",""reactions"":{""url"":""https://api.github.com/repos/panjf2000/ants/issues/37/reactions"",""total_count"":0,""+1"":0,""-1"":0,""laugh"":0,""hooray"":0,""confused"":0,""heart"":0,""rocket"":0,""eyes"":0},""timeline_url"":""https://api.github.com/repos/panjf2000/ants/issues/37/timeline"",""performed_via_github_app"":null,""state_reason"":""completed""}",https://api.github.com/repos/panjf2000/ants/issues?direction=asc&page=1&per_page=100&state=all,null,2022-06-13T15:35:54.530+00:00
+44,"{""ConnectionId"":1,""Name"":""panjf2000/ants""}","{""url"":""https://api.github.com/repos/panjf2000/ants/issues/38"",""repository_url"":""https://api.github.com/repos/panjf2000/ants"",""labels_url"":""https://api.github.com/repos/panjf2000/ants/issues/38/labels{/name}"",""comments_url"":""https://api.github.com/repos/panjf2000/ants/issues/38/comments"",""events_url"":""https://api.github.com/repos/panjf2000/ants/issues/38/events"",""html_url"":""https://github.com/panjf2000/ants/issues/38"",""id"":472125082,""node_id"":""MDU6SXNzdWU0NzIxMjUwODI="",""number"":38,""title"":""retrieveWorker chinese revertWorker chinese "",""user"":{""login"":""wwjiang"",""id"":1290360,""node_id"":""MDQ6VXNlcjEyOTAzNjA="",""avatar_url"":""https://avatars.githubusercontent.com/u/1290360?v=4"",""gravatar_id"":"""",""url"":""https://api.github.com/users/wwjiang"",""html_url"":""https://github.com/wwjiang"",""followers_url"":""https://api.github.com/users/wwjiang/followers"",""following_url"":""https://api.github.com/users/wwjiang/following{/other_user}"",""gists_url"":""https://api.github.com/users/wwjiang/gists{/gist_id}"",""starred_url"":""https://api.github.com/users/wwjiang/starred{/owner}{/repo}"",""subscriptions_url"":""https://api.github.com/users/wwjiang/subscriptions"",""organizations_url"":""https://api.github.com/users/wwjiang/orgs"",""repos_url"":""https://api.github.com/users/wwjiang/repos"",""events_url"":""https://api.github.com/users/wwjiang/events{/privacy}"",""received_events_url"":""https://api.github.com/users/wwjiang/received_events"",""type"":""User"",""site_admin"":false},""labels"":[],""state"":""closed"",""locked"":false,""assignee"":null,""assignees"":[],""milestone"":{""url"": ""https://api.github.com/repos/apache/devlake/milestones/7"",""html_url"": ""https://github.com/apache/devlake/milestone/7"",""labels_url"": ""https://api.github.com/repos/apache/devlake/milestones/7/labels"",""id"": 7856149,""node_id"": ""MI_kwDOFuUSzs4Ad-AV"",""number"": 7,""title"": ""v0.11.0"",""description"": null,""creator"": {""login"": ""Startrekzky"",""id"": 14050754,""node_id"": ""MDQ6VXNlcjE0MDUwNzU0"",""avatar_url"": ""https://avatars.githubusercontent.com/u/14050754?v=4"",""gravatar_id"": """",""url"": ""https://api.github.com/users/Startrekzky"",""html_url"": ""https://github.com/Startrekzky"",""followers_url"": ""https://api.github.com/users/Startrekzky/followers"",""following_url"": ""https://api.github.com/users/Startrekzky/following{/other_user}"",""gists_url"": ""https://api.github.com/users/Startrekzky/gists{/gist_id}"",""starred_url"": ""https://api.github.com/users/Startrekzky/starred{/owner}{/repo}"",""subscriptions_url"": ""https://api.github.com/users/Startrekzky/subscriptions"",""organizations_url"": ""https://api.github.com/users/Startrekzky/orgs"",""repos_url"": ""https://api.github.com/users/Startrekzky/repos"",""events_url"": ""https://api.github.com/users/Startrekzky/events{/privacy}"",""received_events_url"": ""https://api.github.com/users/Startrekzky/received_events"",""type"": ""User"",""site_admin"": false},""open_issues"": 2,""closed_issues"": 118,""state"": ""open"",""created_at"": ""2022-04-08T02:05:35Z"",""updated_at"": ""2022-06-24T01:34:37Z"",""due_on"": null,""closed_at"": null},""comments"":0,""created_at"":""2019-07-24T07:32:58Z"",""updated_at"":""2019-07-24T08:40:01Z"",""closed_at"":""2019-07-24T08:40:01Z"",""author_association"":""NONE"",""active_lock_reason"":null,""body"":""func (p *Pool) retrieveWorker() *Worker {\r\n\tvar w *Worker\r\n\r\n\t**p.lock.Lock()**\r\n\tidleWorkers := p.workers\r\n\tn := len(idleWorkers) - 1\r\n\tif n >= 0 {\r\n\t\tw = idleWorkers[n]\r\n\t\tidleWorkers[n] = nil\r\n\t\tp.workers = idleWorkers[:n]\r\n\t\tp.lock.Unlock()\r\n\t} else if p.Running() < p.Cap() {\r\n\t\tp.lock.Unlock()\r\n\t\tif cacheWorker := p.workerCache.Get(); cacheWorker != nil {\r\n\t\t\tw = cacheWorker.(*Worker)\r\n\t\t} else {\r\n\t\t\tw = &Worker{\r\n\t\t\t\tpool: p,\r\n\t\t\t\ttask: make(chan func(), workerChanCap),\r\n\t\t\t}\r\n\t\t}\r\n\t\tw.run()\r\n\t} else {\r\n\t\tfor {\r\n\t\t\t**p.cond.Wait()** \r\n\t\t\tl := len(p.workers) - 1\r\n\t\t\tif l < 0 {\r\n\t\t\t\tcontinue\r\n\t\t\t}\r\n\t\t\tw = p.workers[l]\r\n\t\t\tp.workers[l] = nil\r\n\t\t\tp.workers = p.workers[:l]\r\n\t\t\tbreak\r\n\t\t}\r\n\t\t**p.lock.Unlock()**\r\n\t}\r\n\treturn w\r\n}\r\n\r\n// revertWorker puts a worker back into free pool, recycling the goroutines.\r\nfunc (p *Pool) revertWorker(worker *Worker) bool {\r\n\tif CLOSED == atomic.LoadInt32(&p.release) {\r\n\t\treturn false\r\n\t}\r\n\tworker.recycleTime = time.Now()\r\n\t**p.lock.Lock()** // chinese \r\n\tp.workers = append(p.workers, worker)\r\n\t// Notify the invoker stuck in 'retrieveWorker()' of there is an available worker in the worker queue.\r\n\tp.cond.Signal()\r\n\t**p.lock.Unlock()**\r\n\treturn true\r\n}\r\n"",""reactions"":{""url"":""https://api.github.com/repos/panjf2000/ants/issues/38/reactions"",""total_count"":0,""+1"":0,""-1"":0,""laugh"":0,""hooray"":0,""confused"":0,""heart"":0,""rocket"":0,""eyes"":0},""timeline_url"":""https://api.github.com/repos/panjf2000/ants/issues/38/timeline"",""performed_via_github_app"":null,""state_reason"":""completed""}",https://api.github.com/repos/panjf2000/ants/issues?direction=asc&page=1&per_page=100&state=all,null,2022-06-13T15:35:54.530+00:00
+45,"{""ConnectionId"":1,""Name"":""panjf2000/ants""}","{""url"":""https://api.github.com/repos/panjf2000/ants/issues/39"",""repository_url"":""https://api.github.com/repos/panjf2000/ants"",""labels_url"":""https://api.github.com/repos/panjf2000/ants/issues/39/labels{/name}"",""comments_url"":""https://api.github.com/repos/panjf2000/ants/issues/39/comments"",""events_url"":""https://api.github.com/repos/panjf2000/ants/issues/39/events"",""html_url"":""https://github.com/panjf2000/ants/pull/39"",""id"":472128146,""node_id"":""MDExOlB1bGxSZXF1ZXN0MzAwNTk4OTM2"",""number"":39,""title"":"" chinese "",""user"":{""login"":""wwjiang"",""id"":1290360,""node_id"":""MDQ6VXNlcjEyOTAzNjA="",""avatar_url"":""https://avatars.githubusercontent.com/u/1290360?v=4"",""gravatar_id"":"""",""url"":""https://api.github.com/users/wwjiang"",""html_url"":""https://github.com/wwjiang"",""followers_url"":""https://api.github.com/users/wwjiang/followers"",""following_url"":""https://api.github.com/users/wwjiang/following{/other_user}"",""gists_url"":""https://api.github.com/users/wwjiang/gists{/gist_id}"",""starred_url"":""https://api.github.com/users/wwjiang/starred{/owner}{/repo}"",""subscriptions_url"":""https://api.github.com/users/wwjiang/subscriptions"",""organizations_url"":""https://api.github.com/users/wwjiang/orgs"",""repos_url"":""https://api.github.com/users/wwjiang/repos"",""events_url"":""https://api.github.com/users/wwjiang/events{/privacy}"",""received_events_url"":""https://api.github.com/users/wwjiang/received_events"",""type"":""User"",""site_admin"":false},""labels"":[],""state"":""closed"",""locked"":false,""assignee"":null,""assignees"":[],""milestone"":{""url"": ""https://api.github.com/repos/apache/devlake/milestones/7"",""html_url"": ""https://github.com/apache/devlake/milestone/7"",""labels_url"": ""https://api.github.com/repos/apache/devlake/milestones/7/labels"",""id"": 7856149,""node_id"": ""MI_kwDOFuUSzs4Ad-AV"",""number"": 7,""title"": ""v0.11.0"",""description"": null,""creator"": {""login"": ""Startrekzky"",""id"": 14050754,""node_id"": ""MDQ6VXNlcjE0MDUwNzU0"",""avatar_url"": ""https://avatars.githubusercontent.com/u/14050754?v=4"",""gravatar_id"": """",""url"": ""https://api.github.com/users/Startrekzky"",""html_url"": ""https://github.com/Startrekzky"",""followers_url"": ""https://api.github.com/users/Startrekzky/followers"",""following_url"": ""https://api.github.com/users/Startrekzky/following{/other_user}"",""gists_url"": ""https://api.github.com/users/Startrekzky/gists{/gist_id}"",""starred_url"": ""https://api.github.com/users/Startrekzky/starred{/owner}{/repo}"",""subscriptions_url"": ""https://api.github.com/users/Startrekzky/subscriptions"",""organizations_url"": ""https://api.github.com/users/Startrekzky/orgs"",""repos_url"": ""https://api.github.com/users/Startrekzky/repos"",""events_url"": ""https://api.github.com/users/Startrekzky/events{/privacy}"",""received_events_url"": ""https://api.github.com/users/Startrekzky/received_events"",""type"": ""User"",""site_admin"": false},""open_issues"": 2,""closed_issues"": 118,""state"": ""open"",""created_at"": ""2022-04-08T02:05:35Z"",""updated_at"": ""2022-06-24T01:34:37Z"",""due_on"": null,""closed_at"": null},""comments"":2,""created_at"":""2019-07-24T07:41:02Z"",""updated_at"":""2019-07-26T04:00:12Z"",""closed_at"":""2019-07-26T04:00:12Z"",""author_association"":""NONE"",""active_lock_reason"":null,""draft"":false,""pull_request"":{""url"":""https://api.github.com/repos/panjf2000/ants/pulls/39"",""html_url"":""https://github.com/panjf2000/ants/pull/39"",""diff_url"":""https://github.com/panjf2000/ants/pull/39.diff"",""patch_url"":""https://github.com/panjf2000/ants/pull/39.patch"",""merged_at"":""2019-07-26T04:00:12Z""},""body"":"""",""reactions"":{""url"":""https://api.github.com/repos/panjf2000/ants/issues/39/reactions"",""total_count"":0,""+1"":0,""-1"":0,""laugh"":0,""hooray"":0,""confused"":0,""heart"":0,""rocket"":0,""eyes"":0},""timeline_url"":""https://api.github.com/repos/panjf2000/ants/issues/39/timeline"",""performed_via_github_app"":null,""state_reason"":null}",https://api.github.com/repos/panjf2000/ants/issues?direction=asc&page=1&per_page=100&state=all,null,2022-06-13T15:35:54.530+00:00
+46,"{""ConnectionId"":1,""Name"":""panjf2000/ants""}","{""url"":""https://api.github.com/repos/panjf2000/ants/issues/40"",""repository_url"":""https://api.github.com/repos/panjf2000/ants"",""labels_url"":""https://api.github.com/repos/panjf2000/ants/issues/40/labels{/name}"",""comments_url"":""https://api.github.com/repos/panjf2000/ants/issues/40/comments"",""events_url"":""https://api.github.com/repos/panjf2000/ants/issues/40/events"",""html_url"":""https://github.com/panjf2000/ants/pull/40"",""id"":473210395,""node_id"":""MDExOlB1bGxSZXF1ZXN0MzAxNDIxNjA3"",""number"":40,""title"":""optimize memory allocation, change the default pool param and add the log of panic stack."",""user"":{""login"":""Anteoy"",""id"":17495446,""node_id"":""MDQ6VXNlcjE3NDk1NDQ2"",""avatar_url"":""https://avatars.githubusercontent.com/u/17495446?v=4"",""gravatar_id"":"""",""url"":""https://api.github.com/users/Anteoy"",""html_url"":""https://github.com/Anteoy"",""followers_url"":""https://api.github.com/users/Anteoy/followers"",""following_url"":""https://api.github.com/users/Anteoy/following{/other_user}"",""gists_url"":""https://api.github.com/users/Anteoy/gists{/gist_id}"",""starred_url"":""https://api.github.com/users/Anteoy/starred{/owner}{/repo}"",""subscriptions_url"":""https://api.github.com/users/Anteoy/subscriptions"",""organizations_url"":""https://api.github.com/users/Anteoy/orgs"",""repos_url"":""https://api.github.com/users/Anteoy/repos"",""events_url"":""https://api.github.com/users/Anteoy/events{/privacy}"",""received_events_url"":""https://api.github.com/users/Anteoy/received_events"",""type"":""User"",""site_admin"":false},""labels"":[],""state"":""closed"",""locked"":false,""assignee"":null,""assignees"":[],""milestone"":{""url"": ""https://api.github.com/repos/apache/devlake/milestones/7"",""html_url"": ""https://github.com/apache/devlake/milestone/7"",""labels_url"": ""https://api.github.com/repos/apache/devlake/milestones/7/labels"",""id"": 7856149,""node_id"": ""MI_kwDOFuUSzs4Ad-AV"",""number"": 7,""title"": ""v0.11.0"",""description"": null,""creator"": {""login"": ""Startrekzky"",""id"": 14050754,""node_id"": ""MDQ6VXNlcjE0MDUwNzU0"",""avatar_url"": ""https://avatars.githubusercontent.com/u/14050754?v=4"",""gravatar_id"": """",""url"": ""https://api.github.com/users/Startrekzky"",""html_url"": ""https://github.com/Startrekzky"",""followers_url"": ""https://api.github.com/users/Startrekzky/followers"",""following_url"": ""https://api.github.com/users/Startrekzky/following{/other_user}"",""gists_url"": ""https://api.github.com/users/Startrekzky/gists{/gist_id}"",""starred_url"": ""https://api.github.com/users/Startrekzky/starred{/owner}{/repo}"",""subscriptions_url"": ""https://api.github.com/users/Startrekzky/subscriptions"",""organizations_url"": ""https://api.github.com/users/Startrekzky/orgs"",""repos_url"": ""https://api.github.com/users/Startrekzky/repos"",""events_url"": ""https://api.github.com/users/Startrekzky/events{/privacy}"",""received_events_url"": ""https://api.github.com/users/Startrekzky/received_events"",""type"": ""User"",""site_admin"": false},""open_issues"": 2,""closed_issues"": 118,""state"": ""open"",""created_at"": ""2022-04-08T02:05:35Z"",""updated_at"": ""2022-06-24T01:34:37Z"",""due_on"": null,""closed_at"": null},""comments"":11,""created_at"":""2019-07-26T07:07:06Z"",""updated_at"":""2019-07-26T15:22:26Z"",""closed_at"":""2019-07-26T15:22:26Z"",""author_association"":""CONTRIBUTOR"",""active_lock_reason"":null,""draft"":false,""pull_request"":{""url"":""https://api.github.com/repos/panjf2000/ants/pulls/40"",""html_url"":""https://github.com/panjf2000/ants/pull/40"",""diff_url"":""https://github.com/panjf2000/ants/pull/40.diff"",""patch_url"":""https://github.com/panjf2000/ants/pull/40.patch"",""merged_at"":""2019-07-26T15:22:26Z""},""body"":""Hi, I am using it on my online server which almost need 5 million goroutines on each go service.\r\nI'm divided into 10 small pools, because a pool of five million will slow down the speed associated with the slice.\r\nI made some small optimizations, I hope this is useful.\r\noptimize memory allocation, change the default pool param and add the log of panic stack.\r\nbtw, the default value DEFAULT_CLEAN_INTERVAL_TIME, one second is too short-lived. when the pool size is too large , Performance will drop .\r\n"",""reactions"":{""url"":""https://api.github.com/repos/panjf2000/ants/issues/40/reactions"",""total_count"":0,""+1"":0,""-1"":0,""laugh"":0,""hooray"":0,""confused"":0,""heart"":0,""rocket"":0,""eyes"":0},""timeline_url"":""https://api.github.com/repos/panjf2000/ants/issues/40/timeline"",""performed_via_github_app"":null,""state_reason"":null}",https://api.github.com/repos/panjf2000/ants/issues?direction=asc&page=1&per_page=100&state=all,null,2022-06-13T15:35:54.530+00:00
+47,"{""ConnectionId"":1,""Name"":""panjf2000/ants""}","{""url"":""https://api.github.com/repos/panjf2000/ants/issues/41"",""repository_url"":""https://api.github.com/repos/panjf2000/ants"",""labels_url"":""https://api.github.com/repos/panjf2000/ants/issues/41/labels{/name}"",""comments_url"":""https://api.github.com/repos/panjf2000/ants/issues/41/comments"",""events_url"":""https://api.github.com/repos/panjf2000/ants/issues/41/events"",""html_url"":""https://github.com/panjf2000/ants/pull/41"",""id"":482624004,""node_id"":""MDExOlB1bGxSZXF1ZXN0MzA4ODU5Mjcy"",""number"":41,""title"":""support nonblocking submit and max blocking limit setting"",""user"":{""login"":""choleraehyq"",""id"":8923413,""node_id"":""MDQ6VXNlcjg5MjM0MTM="",""avatar_url"":""https://avatars.githubusercontent.com/u/8923413?v=4"",""gravatar_id"":"""",""url"":""https://api.github.com/users/choleraehyq"",""html_url"":""https://github.com/choleraehyq"",""followers_url"":""https://api.github.com/users/choleraehyq/followers"",""following_url"":""https://api.github.com/users/choleraehyq/following{/other_user}"",""gists_url"":""https://api.github.com/users/choleraehyq/gists{/gist_id}"",""starred_url"":""https://api.github.com/users/choleraehyq/starred{/owner}{/repo}"",""subscriptions_url"":""https://api.github.com/users/choleraehyq/subscriptions"",""organizations_url"":""https://api.github.com/users/choleraehyq/orgs"",""repos_url"":""https://api.github.com/users/choleraehyq/repos"",""events_url"":""https://api.github.com/users/choleraehyq/events{/privacy}"",""received_events_url"":""https://api.github.com/users/choleraehyq/received_events"",""type"":""User"",""site_admin"":false},""labels"":[{""id"":937861454,""node_id"":""MDU6TGFiZWw5Mzc4NjE0NTQ="",""url"":""https://api.github.com/repos/panjf2000/ants/labels/enhancement"",""name"":""enhancement"",""color"":""3eede7"",""default"":true,""description"":""New feature or request""}],""state"":""closed"",""locked"":false,""assignee"":null,""assignees"":[],""milestone"":{""url"": ""https://api.github.com/repos/apache/devlake/milestones/7"",""html_url"": ""https://github.com/apache/devlake/milestone/7"",""labels_url"": ""https://api.github.com/repos/apache/devlake/milestones/7/labels"",""id"": 7856149,""node_id"": ""MI_kwDOFuUSzs4Ad-AV"",""number"": 7,""title"": ""v0.11.0"",""description"": null,""creator"": {""login"": ""Startrekzky"",""id"": 14050754,""node_id"": ""MDQ6VXNlcjE0MDUwNzU0"",""avatar_url"": ""https://avatars.githubusercontent.com/u/14050754?v=4"",""gravatar_id"": """",""url"": ""https://api.github.com/users/Startrekzky"",""html_url"": ""https://github.com/Startrekzky"",""followers_url"": ""https://api.github.com/users/Startrekzky/followers"",""following_url"": ""https://api.github.com/users/Startrekzky/following{/other_user}"",""gists_url"": ""https://api.github.com/users/Startrekzky/gists{/gist_id}"",""starred_url"": ""https://api.github.com/users/Startrekzky/starred{/owner}{/repo}"",""subscriptions_url"": ""https://api.github.com/users/Startrekzky/subscriptions"",""organizations_url"": ""https://api.github.com/users/Startrekzky/orgs"",""repos_url"": ""https://api.github.com/users/Startrekzky/repos"",""events_url"": ""https://api.github.com/users/Startrekzky/events{/privacy}"",""received_events_url"": ""https://api.github.com/users/Startrekzky/received_events"",""type"": ""User"",""site_admin"": false},""open_issues"": 2,""closed_issues"": 118,""state"": ""open"",""created_at"": ""2022-04-08T02:05:35Z"",""updated_at"": ""2022-06-24T01:34:37Z"",""due_on"": null,""closed_at"": null},""comments"":4,""created_at"":""2019-08-20T03:24:27Z"",""updated_at"":""2019-08-20T11:52:19Z"",""closed_at"":""2019-08-20T10:55:19Z"",""author_association"":""CONTRIBUTOR"",""active_lock_reason"":null,""draft"":false,""pull_request"":{""url"":""https://api.github.com/repos/panjf2000/ants/pulls/41"",""html_url"":""https://github.com/panjf2000/ants/pull/41"",""diff_url"":""https://github.com/panjf2000/ants/pull/41.diff"",""patch_url"":""https://github.com/panjf2000/ants/pull/41.patch"",""merged_at"":""2019-08-20T10:55:19Z""},""body"":""Signed-off-by: Cholerae Hu <choleraehyq@gmail.com>"",""reactions"":{""url"":""https://api.github.com/repos/panjf2000/ants/issues/41/reactions"",""total_count"":0,""+1"":0,""-1"":0,""laugh"":0,""hooray"":0,""confused"":0,""heart"":0,""rocket"":0,""eyes"":0},""timeline_url"":""https://api.github.com/repos/panjf2000/ants/issues/41/timeline"",""performed_via_github_app"":null,""state_reason"":null}",https://api.github.com/repos/panjf2000/ants/issues?direction=asc&page=1&per_page=100&state=all,null,2022-06-13T15:35:54.530+00:00
+48,"{""ConnectionId"":1,""Name"":""panjf2000/ants""}","{""url"":""https://api.github.com/repos/panjf2000/ants/issues/42"",""repository_url"":""https://api.github.com/repos/panjf2000/ants"",""labels_url"":""https://api.github.com/repos/panjf2000/ants/issues/42/labels{/name}"",""comments_url"":""https://api.github.com/repos/panjf2000/ants/issues/42/comments"",""events_url"":""https://api.github.com/repos/panjf2000/ants/issues/42/events"",""html_url"":""https://github.com/panjf2000/ants/issues/42"",""id"":483164833,""node_id"":""MDU6SXNzdWU0ODMxNjQ4MzM="",""number"":42,""title"":"" chinese , chinese functional options chinese "",""user"":{""login"":""choleraehyq"",""id"":8923413,""node_id"":""MDQ6VXNlcjg5MjM0MTM="",""avatar_url"":""https://avatars.githubusercontent.com/u/8923413?v=4"",""gravatar_id"":"""",""url"":""https://api.github.com/users/choleraehyq"",""html_url"":""https://github.com/choleraehyq"",""followers_url"":""https://api.github.com/users/choleraehyq/followers"",""following_url"":""https://api.github.com/users/choleraehyq/following{/other_user}"",""gists_url"":""https://api.github.com/users/choleraehyq/gists{/gist_id}"",""starred_url"":""https://api.github.com/users/choleraehyq/starred{/owner}{/repo}"",""subscriptions_url"":""https://api.github.com/users/choleraehyq/subscriptions"",""organizations_url"":""https://api.github.com/users/choleraehyq/orgs"",""repos_url"":""https://api.github.com/users/choleraehyq/repos"",""events_url"":""https://api.github.com/users/choleraehyq/events{/privacy}"",""received_events_url"":""https://api.github.com/users/choleraehyq/received_events"",""type"":""User"",""site_admin"":false},""labels"":[],""state"":""closed"",""locked"":false,""assignee"":null,""assignees"":[],""milestone"":{""url"": ""https://api.github.com/repos/apache/devlake/milestones/7"",""html_url"": ""https://github.com/apache/devlake/milestone/7"",""labels_url"": ""https://api.github.com/repos/apache/devlake/milestones/7/labels"",""id"": 7856149,""node_id"": ""MI_kwDOFuUSzs4Ad-AV"",""number"": 7,""title"": ""v0.11.0"",""description"": null,""creator"": {""login"": ""Startrekzky"",""id"": 14050754,""node_id"": ""MDQ6VXNlcjE0MDUwNzU0"",""avatar_url"": ""https://avatars.githubusercontent.com/u/14050754?v=4"",""gravatar_id"": """",""url"": ""https://api.github.com/users/Startrekzky"",""html_url"": ""https://github.com/Startrekzky"",""followers_url"": ""https://api.github.com/users/Startrekzky/followers"",""following_url"": ""https://api.github.com/users/Startrekzky/following{/other_user}"",""gists_url"": ""https://api.github.com/users/Startrekzky/gists{/gist_id}"",""starred_url"": ""https://api.github.com/users/Startrekzky/starred{/owner}{/repo}"",""subscriptions_url"": ""https://api.github.com/users/Startrekzky/subscriptions"",""organizations_url"": ""https://api.github.com/users/Startrekzky/orgs"",""repos_url"": ""https://api.github.com/users/Startrekzky/repos"",""events_url"": ""https://api.github.com/users/Startrekzky/events{/privacy}"",""received_events_url"": ""https://api.github.com/users/Startrekzky/received_events"",""type"": ""User"",""site_admin"": false},""open_issues"": 2,""closed_issues"": 118,""state"": ""open"",""created_at"": ""2022-04-08T02:05:35Z"",""updated_at"": ""2022-06-24T01:34:37Z"",""due_on"": null,""closed_at"": null},""comments"":3,""created_at"":""2019-08-21T02:20:08Z"",""updated_at"":""2019-08-21T14:32:51Z"",""closed_at"":""2019-08-21T14:32:51Z"",""author_association"":""CONTRIBUTOR"",""active_lock_reason"":null,""body"":"" chinese \r\n chinese functional options, chinese \r\n```\r\nants.NewPool(10)\r\n```\r\n chinese , chinese option, chinese , chinese options chinese 。 chinese option, chinese \r\n```\r\nants.NewPool(10, ants.WithNonblocking(true))\r\n```\r\n chinese 。\r\n\r\n chinese Option chinese , chinese , chinese 。\r\n chinese functional options chinese rob pike chinese https://commandcenter.blogspot.com/2014/01/self-referential-functions-and-design.html"",""reactions"":{""url"":""https://api.github.com/repos/panjf2000/ants/issues/42/reactions"",""total_count"":0,""+1"":0,""-1"":0,""laugh"":0,""hooray"":0,""confused"":0,""heart"":0,""rocket"":0,""eyes"":0},""timeline_url"":""https://api.github.com/repos/panjf2000/ants/issues/42/timeline"",""performed_via_github_app"":null,""state_reason"":""completed""}",https://api.github.com/repos/panjf2000/ants/issues?direction=asc&page=1&per_page=100&state=all,null,2022-06-13T15:35:54.530+00:00
+49,"{""ConnectionId"":1,""Name"":""panjf2000/ants""}","{""url"":""https://api.github.com/repos/panjf2000/ants/issues/43"",""repository_url"":""https://api.github.com/repos/panjf2000/ants"",""labels_url"":""https://api.github.com/repos/panjf2000/ants/issues/43/labels{/name}"",""comments_url"":""https://api.github.com/repos/panjf2000/ants/issues/43/comments"",""events_url"":""https://api.github.com/repos/panjf2000/ants/issues/43/events"",""html_url"":""https://github.com/panjf2000/ants/issues/43"",""id"":483736247,""node_id"":""MDU6SXNzdWU0ODM3MzYyNDc="",""number"":43,""title"":""1.3.0 chinese "",""user"":{""login"":""choleraehyq"",""id"":8923413,""node_id"":""MDQ6VXNlcjg5MjM0MTM="",""avatar_url"":""https://avatars.githubusercontent.com/u/8923413?v=4"",""gravatar_id"":"""",""url"":""https://api.github.com/users/choleraehyq"",""html_url"":""https://github.com/choleraehyq"",""followers_url"":""https://api.github.com/users/choleraehyq/followers"",""following_url"":""https://api.github.com/users/choleraehyq/following{/other_user}"",""gists_url"":""https://api.github.com/users/choleraehyq/gists{/gist_id}"",""starred_url"":""https://api.github.com/users/choleraehyq/starred{/owner}{/repo}"",""subscriptions_url"":""https://api.github.com/users/choleraehyq/subscriptions"",""organizations_url"":""https://api.github.com/users/choleraehyq/orgs"",""repos_url"":""https://api.github.com/users/choleraehyq/repos"",""events_url"":""https://api.github.com/users/choleraehyq/events{/privacy}"",""received_events_url"":""https://api.github.com/users/choleraehyq/received_events"",""type"":""User"",""site_admin"":false},""labels"":[],""state"":""closed"",""locked"":false,""assignee"":null,""assignees"":[],""milestone"":{""url"": ""https://api.github.com/repos/apache/devlake/milestones/7"",""html_url"": ""https://github.com/apache/devlake/milestone/7"",""labels_url"": ""https://api.github.com/repos/apache/devlake/milestones/7/labels"",""id"": 7856149,""node_id"": ""MI_kwDOFuUSzs4Ad-AV"",""number"": 7,""title"": ""v0.11.0"",""description"": null,""creator"": {""login"": ""Startrekzky"",""id"": 14050754,""node_id"": ""MDQ6VXNlcjE0MDUwNzU0"",""avatar_url"": ""https://avatars.githubusercontent.com/u/14050754?v=4"",""gravatar_id"": """",""url"": ""https://api.github.com/users/Startrekzky"",""html_url"": ""https://github.com/Startrekzky"",""followers_url"": ""https://api.github.com/users/Startrekzky/followers"",""following_url"": ""https://api.github.com/users/Startrekzky/following{/other_user}"",""gists_url"": ""https://api.github.com/users/Startrekzky/gists{/gist_id}"",""starred_url"": ""https://api.github.com/users/Startrekzky/starred{/owner}{/repo}"",""subscriptions_url"": ""https://api.github.com/users/Startrekzky/subscriptions"",""organizations_url"": ""https://api.github.com/users/Startrekzky/orgs"",""repos_url"": ""https://api.github.com/users/Startrekzky/repos"",""events_url"": ""https://api.github.com/users/Startrekzky/events{/privacy}"",""received_events_url"": ""https://api.github.com/users/Startrekzky/received_events"",""type"": ""User"",""site_admin"": false},""open_issues"": 2,""closed_issues"": 118,""state"": ""open"",""created_at"": ""2022-04-08T02:05:35Z"",""updated_at"": ""2022-06-24T01:34:37Z"",""due_on"": null,""closed_at"": null},""comments"":1,""created_at"":""2019-08-22T02:29:34Z"",""updated_at"":""2019-08-22T13:22:10Z"",""closed_at"":""2019-08-22T13:22:10Z"",""author_association"":""CONTRIBUTOR"",""active_lock_reason"":null,""body"":""Pool chinese (PanicHandler chinese ) chinese , chinese , chinese 。"",""reactions"":{""url"":""https://api.github.com/repos/panjf2000/ants/issues/43/reactions"",""total_count"":2,""+1"":2,""-1"":0,""laugh"":0,""hooray"":0,""confused"":0,""heart"":0,""rocket"":0,""eyes"":0},""timeline_url"":""https://api.github.com/repos/panjf2000/ants/issues/43/timeline"",""performed_via_github_app"":null,""state_reason"":""completed""}",https://api.github.com/repos/panjf2000/ants/issues?direction=asc&page=1&per_page=100&state=all,null,2022-06-13T15:35:54.530+00:00
+50,"{""ConnectionId"":1,""Name"":""panjf2000/ants""}","{""url"":""https://api.github.com/repos/panjf2000/ants/issues/44"",""repository_url"":""https://api.github.com/repos/panjf2000/ants"",""labels_url"":""https://api.github.com/repos/panjf2000/ants/issues/44/labels{/name}"",""comments_url"":""https://api.github.com/repos/panjf2000/ants/issues/44/comments"",""events_url"":""https://api.github.com/repos/panjf2000/ants/issues/44/events"",""html_url"":""https://github.com/panjf2000/ants/issues/44"",""id"":484311063,""node_id"":""MDU6SXNzdWU0ODQzMTEwNjM="",""number"":44,""title"":""1.1.1 -> 1.2.0 chinese "",""user"":{""login"":""choleraehyq"",""id"":8923413,""node_id"":""MDQ6VXNlcjg5MjM0MTM="",""avatar_url"":""https://avatars.githubusercontent.com/u/8923413?v=4"",""gravatar_id"":"""",""url"":""https://api.github.com/users/choleraehyq"",""html_url"":""https://github.com/choleraehyq"",""followers_url"":""https://api.github.com/users/choleraehyq/followers"",""following_url"":""https://api.github.com/users/choleraehyq/following{/other_user}"",""gists_url"":""https://api.github.com/users/choleraehyq/gists{/gist_id}"",""starred_url"":""https://api.github.com/users/choleraehyq/starred{/owner}{/repo}"",""subscriptions_url"":""https://api.github.com/users/choleraehyq/subscriptions"",""organizations_url"":""https://api.github.com/users/choleraehyq/orgs"",""repos_url"":""https://api.github.com/users/choleraehyq/repos"",""events_url"":""https://api.github.com/users/choleraehyq/events{/privacy}"",""received_events_url"":""https://api.github.com/users/choleraehyq/received_events"",""type"":""User"",""site_admin"":false},""labels"":[],""state"":""closed"",""locked"":false,""assignee"":null,""assignees"":[],""milestone"":{""url"": ""https://api.github.com/repos/apache/devlake/milestones/7"",""html_url"": ""https://github.com/apache/devlake/milestone/7"",""labels_url"": ""https://api.github.com/repos/apache/devlake/milestones/7/labels"",""id"": 7856149,""node_id"": ""MI_kwDOFuUSzs4Ad-AV"",""number"": 7,""title"": ""v0.11.0"",""description"": null,""creator"": {""login"": ""Startrekzky"",""id"": 14050754,""node_id"": ""MDQ6VXNlcjE0MDUwNzU0"",""avatar_url"": ""https://avatars.githubusercontent.com/u/14050754?v=4"",""gravatar_id"": """",""url"": ""https://api.github.com/users/Startrekzky"",""html_url"": ""https://github.com/Startrekzky"",""followers_url"": ""https://api.github.com/users/Startrekzky/followers"",""following_url"": ""https://api.github.com/users/Startrekzky/following{/other_user}"",""gists_url"": ""https://api.github.com/users/Startrekzky/gists{/gist_id}"",""starred_url"": ""https://api.github.com/users/Startrekzky/starred{/owner}{/repo}"",""subscriptions_url"": ""https://api.github.com/users/Startrekzky/subscriptions"",""organizations_url"": ""https://api.github.com/users/Startrekzky/orgs"",""repos_url"": ""https://api.github.com/users/Startrekzky/repos"",""events_url"": ""https://api.github.com/users/Startrekzky/events{/privacy}"",""received_events_url"": ""https://api.github.com/users/Startrekzky/received_events"",""type"": ""User"",""site_admin"": false},""open_issues"": 2,""closed_issues"": 118,""state"": ""open"",""created_at"": ""2022-04-08T02:05:35Z"",""updated_at"": ""2022-06-24T01:34:37Z"",""due_on"": null,""closed_at"": null},""comments"":1,""created_at"":""2019-08-23T03:27:38Z"",""updated_at"":""2019-08-25T06:36:14Z"",""closed_at"":""2019-08-25T06:36:14Z"",""author_association"":""CONTRIBUTOR"",""active_lock_reason"":null,""body"":""Pool.Release chinese "",""reactions"":{""url"":""https://api.github.com/repos/panjf2000/ants/issues/44/reactions"",""total_count"":0,""+1"":0,""-1"":0,""laugh"":0,""hooray"":0,""confused"":0,""heart"":0,""rocket"":0,""eyes"":0},""timeline_url"":""https://api.github.com/repos/panjf2000/ants/issues/44/timeline"",""performed_via_github_app"":null,""state_reason"":""completed""}",https://api.github.com/repos/panjf2000/ants/issues?direction=asc&page=1&per_page=100&state=all,null,2022-06-13T15:35:54.530+00:00
diff --git a/backend/plugins/github/e2e/raw_tables/_raw_github_api_milestones.csv b/backend/plugins/github/e2e/raw_tables/_raw_github_api_milestones.csv
index 51736b1..e04cece 100644
--- a/backend/plugins/github/e2e/raw_tables/_raw_github_api_milestones.csv
+++ b/backend/plugins/github/e2e/raw_tables/_raw_github_api_milestones.csv
@@ -1,2 +1,2 @@
id,params,data,url,input,created_at
-109,"{""ConnectionId"":1,""Name"":""panjf2000/ants""}","{""url"":""https://api.github.com/repos/apache/incubator-devlake/milestones/7"",""html_url"":""https://github.com/apache/incubator-devlake/milestone/7"",""labels_url"":""https://api.github.com/repos/apache/incubator-devlake/milestones/7/labels"",""id"":7856149,""node_id"":""MI_kwDOFuUSzs4Ad-AV"",""number"":7,""title"":""v0.11.0"",""description"":null,""creator"":{""login"":""Startrekzky"",""id"":14050754,""node_id"":""MDQ6VXNlcjE0MDUwNzU0"",""avatar_url"":""https://avatars.githubusercontent.com/u/14050754?v=4"",""gravatar_id"":"""",""url"":""https://api.github.com/users/Startrekzky"",""html_url"":""https://github.com/Startrekzky"",""followers_url"":""https://api.github.com/users/Startrekzky/followers"",""following_url"":""https://api.github.com/users/Startrekzky/following{/other_user}"",""gists_url"":""https://api.github.com/users/Startrekzky/gists{/gist_id}"",""starred_url"":""https://api.github.com/users/Startrekzky/starred{/owner}{/repo}"",""subscriptions_url"":""https://api.github.com/users/Startrekzky/subscriptions"",""organizations_url"":""https://api.github.com/users/Startrekzky/orgs"",""repos_url"":""https://api.github.com/users/Startrekzky/repos"",""events_url"":""https://api.github.com/users/Startrekzky/events{/privacy}"",""received_events_url"":""https://api.github.com/users/Startrekzky/received_events"",""type"":""User"",""site_admin"":false},""open_issues"":2,""closed_issues"":118,""state"":""open"",""created_at"":""2022-04-08T02:05:35Z"",""updated_at"":""2022-06-24T01:34:37Z"",""due_on"":null,""closed_at"":null}",https://api.github.com/repos/apache/incubator-devlake/milestones?direction=asc&page=1&per_page=100&state=all,null,2022-06-24 05:50:29
+109,"{""ConnectionId"":1,""Name"":""panjf2000/ants""}","{""url"":""https://api.github.com/repos/apache/devlake/milestones/7"",""html_url"":""https://github.com/apache/devlake/milestone/7"",""labels_url"":""https://api.github.com/repos/apache/devlake/milestones/7/labels"",""id"":7856149,""node_id"":""MI_kwDOFuUSzs4Ad-AV"",""number"":7,""title"":""v0.11.0"",""description"":null,""creator"":{""login"":""Startrekzky"",""id"":14050754,""node_id"":""MDQ6VXNlcjE0MDUwNzU0"",""avatar_url"":""https://avatars.githubusercontent.com/u/14050754?v=4"",""gravatar_id"":"""",""url"":""https://api.github.com/users/Startrekzky"",""html_url"":""https://github.com/Startrekzky"",""followers_url"":""https://api.github.com/users/Startrekzky/followers"",""following_url"":""https://api.github.com/users/Startrekzky/following{/other_user}"",""gists_url"":""https://api.github.com/users/Startrekzky/gists{/gist_id}"",""starred_url"":""https://api.github.com/users/Startrekzky/starred{/owner}{/repo}"",""subscriptions_url"":""https://api.github.com/users/Startrekzky/subscriptions"",""organizations_url"":""https://api.github.com/users/Startrekzky/orgs"",""repos_url"":""https://api.github.com/users/Startrekzky/repos"",""events_url"":""https://api.github.com/users/Startrekzky/events{/privacy}"",""received_events_url"":""https://api.github.com/users/Startrekzky/received_events"",""type"":""User"",""site_admin"":false},""open_issues"":2,""closed_issues"":118,""state"":""open"",""created_at"":""2022-04-08T02:05:35Z"",""updated_at"":""2022-06-24T01:34:37Z"",""due_on"":null,""closed_at"":null}",https://api.github.com/repos/apache/devlake/milestones?direction=asc&page=1&per_page=100&state=all,null,2022-06-24 05:50:29
diff --git a/backend/plugins/github/e2e/repo_test.go b/backend/plugins/github/e2e/repo_test.go
index 5ceccec..66cefc8 100644
--- a/backend/plugins/github/e2e/repo_test.go
+++ b/backend/plugins/github/e2e/repo_test.go
@@ -20,15 +20,15 @@
import (
"testing"
- "github.com/apache/incubator-devlake/core/models/common"
- "github.com/apache/incubator-devlake/core/models/domainlayer/code"
- "github.com/apache/incubator-devlake/core/models/domainlayer/crossdomain"
- "github.com/apache/incubator-devlake/core/models/domainlayer/devops"
- "github.com/apache/incubator-devlake/core/models/domainlayer/ticket"
- "github.com/apache/incubator-devlake/helpers/e2ehelper"
- "github.com/apache/incubator-devlake/plugins/github/impl"
- "github.com/apache/incubator-devlake/plugins/github/models"
- "github.com/apache/incubator-devlake/plugins/github/tasks"
+ "github.com/apache/devlake/core/models/common"
+ "github.com/apache/devlake/core/models/domainlayer/code"
+ "github.com/apache/devlake/core/models/domainlayer/crossdomain"
+ "github.com/apache/devlake/core/models/domainlayer/devops"
+ "github.com/apache/devlake/core/models/domainlayer/ticket"
+ "github.com/apache/devlake/helpers/e2ehelper"
+ "github.com/apache/devlake/plugins/github/impl"
+ "github.com/apache/devlake/plugins/github/models"
+ "github.com/apache/devlake/plugins/github/tasks"
)
func TestRepoDataFlow(t *testing.T) {
diff --git a/backend/plugins/github/e2e/snapshot_tables/_tool_github_milestones.csv b/backend/plugins/github/e2e/snapshot_tables/_tool_github_milestones.csv
index bc65637..db94685 100644
--- a/backend/plugins/github/e2e/snapshot_tables/_tool_github_milestones.csv
+++ b/backend/plugins/github/e2e/snapshot_tables/_tool_github_milestones.csv
@@ -1,2 +1,2 @@
connection_id,milestone_id,repo_id,number,url,title,open_issues,closed_issues,state,closed_at,_raw_data_params,_raw_data_table,_raw_data_id,_raw_data_remark
-1,7856149,134018330,7,https://api.github.com/repos/apache/incubator-devlake/milestones/7,v0.11.0,2,118,open,,"{""ConnectionId"":1,""Name"":""panjf2000/ants""}",_raw_github_milestones,109,
+1,7856149,134018330,7,https://api.github.com/repos/apache/devlake/milestones/7,v0.11.0,2,118,open,,"{""ConnectionId"":1,""Name"":""panjf2000/ants""}",_raw_github_milestones,109,
diff --git a/backend/plugins/github/e2e/snapshot_tables/sprints.csv b/backend/plugins/github/e2e/snapshot_tables/sprints.csv
index aa1907c..ef0f2d2 100644
--- a/backend/plugins/github/e2e/snapshot_tables/sprints.csv
+++ b/backend/plugins/github/e2e/snapshot_tables/sprints.csv
@@ -1,2 +1,2 @@
id,name,url,status,started_date,ended_date,completed_date,original_board_id,_raw_data_params,_raw_data_table,_raw_data_id,_raw_data_remark
-github:GithubMilestone:1:7856149,v0.11.0,https://api.github.com/repos/apache/incubator-devlake/milestones/7,open,2022-04-08T02:05:35.000+00:00,,,github:GithubRepo:1:134018330,"{""ConnectionId"":1,""Name"":""panjf2000/ants""}",_raw_github_milestones,109,
+github:GithubMilestone:1:7856149,v0.11.0,https://api.github.com/repos/apache/devlake/milestones/7,open,2022-04-08T02:05:35.000+00:00,,,github:GithubRepo:1:134018330,"{""ConnectionId"":1,""Name"":""panjf2000/ants""}",_raw_github_milestones,109,
diff --git a/backend/plugins/github/github.go b/backend/plugins/github/github.go
index 70d2c78..d9b803c 100644
--- a/backend/plugins/github/github.go
+++ b/backend/plugins/github/github.go
@@ -18,8 +18,8 @@
package main // must be main for plugin entry point
import (
- "github.com/apache/incubator-devlake/core/runner"
- "github.com/apache/incubator-devlake/plugins/github/impl"
+ "github.com/apache/devlake/core/runner"
+ "github.com/apache/devlake/plugins/github/impl"
"github.com/spf13/cobra"
)
diff --git a/backend/plugins/github/impl/impl.go b/backend/plugins/github/impl/impl.go
index f012077..575ad59 100644
--- a/backend/plugins/github/impl/impl.go
+++ b/backend/plugins/github/impl/impl.go
@@ -21,19 +21,19 @@
"fmt"
"strings"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/subtaskmeta/sorter"
+ "github.com/apache/devlake/helpers/pluginhelper/subtaskmeta/sorter"
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- coreModels "github.com/apache/incubator-devlake/core/models"
- "github.com/apache/incubator-devlake/core/models/domainlayer/devops"
- "github.com/apache/incubator-devlake/core/plugin"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/github/api"
- "github.com/apache/incubator-devlake/plugins/github/models"
- "github.com/apache/incubator-devlake/plugins/github/models/migrationscripts"
- "github.com/apache/incubator-devlake/plugins/github/tasks"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ coreModels "github.com/apache/devlake/core/models"
+ "github.com/apache/devlake/core/models/domainlayer/devops"
+ "github.com/apache/devlake/core/plugin"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/github/api"
+ "github.com/apache/devlake/plugins/github/models"
+ "github.com/apache/devlake/plugins/github/models/migrationscripts"
+ "github.com/apache/devlake/plugins/github/tasks"
)
var _ interface {
@@ -169,7 +169,7 @@
}
func (p Github) RootPkgPath() string {
- return "github.com/apache/incubator-devlake/plugins/github"
+ return "github.com/apache/devlake/plugins/github"
}
func (p Github) MigrationScripts() []plugin.MigrationScript {
diff --git a/backend/plugins/github/impl/impl_test.go b/backend/plugins/github/impl/impl_test.go
index 63af43b..8e46fe0 100644
--- a/backend/plugins/github/impl/impl_test.go
+++ b/backend/plugins/github/impl/impl_test.go
@@ -20,8 +20,8 @@
import (
"testing"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/subtaskmeta/sorter"
- "github.com/apache/incubator-devlake/plugins/github/tasks"
+ "github.com/apache/devlake/helpers/pluginhelper/subtaskmeta/sorter"
+ "github.com/apache/devlake/plugins/github/tasks"
)
func Test_genSubtaskList(t *testing.T) {
diff --git a/backend/plugins/github/models/account.go b/backend/plugins/github/models/account.go
index 7747eaf..fdb22f5 100644
--- a/backend/plugins/github/models/account.go
+++ b/backend/plugins/github/models/account.go
@@ -18,7 +18,7 @@
package models
import (
- "github.com/apache/incubator-devlake/core/models/common"
+ "github.com/apache/devlake/core/models/common"
)
type GithubAccount struct {
diff --git a/backend/plugins/github/models/account_org.go b/backend/plugins/github/models/account_org.go
index 3b784e9..f2aa536 100644
--- a/backend/plugins/github/models/account_org.go
+++ b/backend/plugins/github/models/account_org.go
@@ -18,7 +18,7 @@
package models
import (
- "github.com/apache/incubator-devlake/core/models/common"
+ "github.com/apache/devlake/core/models/common"
)
type GithubAccountOrg struct {
diff --git a/backend/plugins/github/models/commit.go b/backend/plugins/github/models/commit.go
index 75d94b6..8d0355a 100644
--- a/backend/plugins/github/models/commit.go
+++ b/backend/plugins/github/models/commit.go
@@ -18,7 +18,7 @@
package models
import (
- "github.com/apache/incubator-devlake/core/models/common"
+ "github.com/apache/devlake/core/models/common"
"time"
)
diff --git a/backend/plugins/github/models/commit_stats.go b/backend/plugins/github/models/commit_stats.go
index f6750d5..4bff671 100644
--- a/backend/plugins/github/models/commit_stats.go
+++ b/backend/plugins/github/models/commit_stats.go
@@ -18,7 +18,7 @@
package models
import (
- "github.com/apache/incubator-devlake/core/models/common"
+ "github.com/apache/devlake/core/models/common"
"time"
)
diff --git a/backend/plugins/github/models/connection.go b/backend/plugins/github/models/connection.go
index 4489b70..f0cac2d 100644
--- a/backend/plugins/github/models/connection.go
+++ b/backend/plugins/github/models/connection.go
@@ -25,11 +25,11 @@
"strings"
"time"
- "github.com/apache/incubator-devlake/core/utils"
+ "github.com/apache/devlake/core/utils"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
"github.com/golang-jwt/jwt/v5"
)
diff --git a/backend/plugins/github/models/connection_test.go b/backend/plugins/github/models/connection_test.go
index 7d4c746..feddab6 100644
--- a/backend/plugins/github/models/connection_test.go
+++ b/backend/plugins/github/models/connection_test.go
@@ -18,8 +18,8 @@
package models
import (
- "github.com/apache/incubator-devlake/core/models/common"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/core/models/common"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
"testing"
"github.com/go-playground/validator/v10"
diff --git a/backend/plugins/github/models/deployment.go b/backend/plugins/github/models/deployment.go
index ec459b6..e6ac447 100644
--- a/backend/plugins/github/models/deployment.go
+++ b/backend/plugins/github/models/deployment.go
@@ -20,7 +20,7 @@
import (
"time"
- "github.com/apache/incubator-devlake/core/models/common"
+ "github.com/apache/devlake/core/models/common"
)
type GithubDeployment struct {
diff --git a/backend/plugins/github/models/issue.go b/backend/plugins/github/models/issue.go
index 004e89a..99af51f 100644
--- a/backend/plugins/github/models/issue.go
+++ b/backend/plugins/github/models/issue.go
@@ -20,7 +20,7 @@
import (
"time"
- "github.com/apache/incubator-devlake/core/models/common"
+ "github.com/apache/devlake/core/models/common"
)
type GithubIssue struct {
diff --git a/backend/plugins/github/models/issue_assignee.go b/backend/plugins/github/models/issue_assignee.go
index 4998198..e9bccc5 100644
--- a/backend/plugins/github/models/issue_assignee.go
+++ b/backend/plugins/github/models/issue_assignee.go
@@ -17,7 +17,7 @@
package models
-import "github.com/apache/incubator-devlake/core/models/common"
+import "github.com/apache/devlake/core/models/common"
type GithubIssueAssignee struct {
common.NoPKModel
diff --git a/backend/plugins/github/models/issue_comment.go b/backend/plugins/github/models/issue_comment.go
index fcf058b..dfd9060 100644
--- a/backend/plugins/github/models/issue_comment.go
+++ b/backend/plugins/github/models/issue_comment.go
@@ -18,7 +18,7 @@
package models
import (
- "github.com/apache/incubator-devlake/core/models/common"
+ "github.com/apache/devlake/core/models/common"
"time"
)
diff --git a/backend/plugins/github/models/issue_event.go b/backend/plugins/github/models/issue_event.go
index 6712cfc..0173039 100644
--- a/backend/plugins/github/models/issue_event.go
+++ b/backend/plugins/github/models/issue_event.go
@@ -18,7 +18,7 @@
package models
import (
- "github.com/apache/incubator-devlake/core/models/common"
+ "github.com/apache/devlake/core/models/common"
"time"
)
diff --git a/backend/plugins/github/models/issue_field_value.go b/backend/plugins/github/models/issue_field_value.go
index 2679532..682807b 100644
--- a/backend/plugins/github/models/issue_field_value.go
+++ b/backend/plugins/github/models/issue_field_value.go
@@ -18,7 +18,7 @@
package models
import (
- "github.com/apache/incubator-devlake/core/models/common"
+ "github.com/apache/devlake/core/models/common"
)
// GithubIssueFieldValue holds one issue field value for one issue.
diff --git a/backend/plugins/github/models/issue_label.go b/backend/plugins/github/models/issue_label.go
index 700215a..f3d9ba9 100644
--- a/backend/plugins/github/models/issue_label.go
+++ b/backend/plugins/github/models/issue_label.go
@@ -18,7 +18,7 @@
package models
import (
- "github.com/apache/incubator-devlake/core/models/common"
+ "github.com/apache/devlake/core/models/common"
)
// Please note that Issue Labels can also apply to Pull Requests.
diff --git a/backend/plugins/github/models/job.go b/backend/plugins/github/models/job.go
index 7dbc69f..6cae0ef 100644
--- a/backend/plugins/github/models/job.go
+++ b/backend/plugins/github/models/job.go
@@ -18,7 +18,7 @@
package models
import (
- "github.com/apache/incubator-devlake/core/models/common"
+ "github.com/apache/devlake/core/models/common"
"time"
"gorm.io/datatypes"
diff --git a/backend/plugins/github/models/migrationscripts/20220715_add_init_tables.go b/backend/plugins/github/models/migrationscripts/20220715_add_init_tables.go
index ff9a0f7..dce8e29 100644
--- a/backend/plugins/github/models/migrationscripts/20220715_add_init_tables.go
+++ b/backend/plugins/github/models/migrationscripts/20220715_add_init_tables.go
@@ -18,11 +18,11 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/migrationhelper"
- "github.com/apache/incubator-devlake/plugins/github/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/migrationhelper"
+ "github.com/apache/devlake/plugins/github/models/migrationscripts/archived"
)
type addInitTables struct {
diff --git a/backend/plugins/github/models/migrationscripts/20220728_add_runs_table.go b/backend/plugins/github/models/migrationscripts/20220728_add_runs_table.go
index ce9034a..a8439e1 100644
--- a/backend/plugins/github/models/migrationscripts/20220728_add_runs_table.go
+++ b/backend/plugins/github/models/migrationscripts/20220728_add_runs_table.go
@@ -18,9 +18,9 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/plugins/github/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/plugins/github/models/migrationscripts/archived"
)
type addGithubRunsTable struct{}
diff --git a/backend/plugins/github/models/migrationscripts/20220729_add_jobs_table.go b/backend/plugins/github/models/migrationscripts/20220729_add_jobs_table.go
index 0aaf07b..0f06f80 100644
--- a/backend/plugins/github/models/migrationscripts/20220729_add_jobs_table.go
+++ b/backend/plugins/github/models/migrationscripts/20220729_add_jobs_table.go
@@ -18,9 +18,9 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/plugins/github/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/plugins/github/models/migrationscripts/archived"
)
type addGithubJobsTable struct{}
diff --git a/backend/plugins/github/models/migrationscripts/20220802_add_pipeline_table.go b/backend/plugins/github/models/migrationscripts/20220802_add_pipeline_table.go
index 390bfa9..3b6c248 100644
--- a/backend/plugins/github/models/migrationscripts/20220802_add_pipeline_table.go
+++ b/backend/plugins/github/models/migrationscripts/20220802_add_pipeline_table.go
@@ -18,9 +18,9 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/plugins/github/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/plugins/github/models/migrationscripts/archived"
)
type addGithubPipelineTable struct{}
diff --git a/backend/plugins/github/models/migrationscripts/20220908_delete_pipeline_table.go b/backend/plugins/github/models/migrationscripts/20220908_delete_pipeline_table.go
index 2d98bc3..38c781a 100644
--- a/backend/plugins/github/models/migrationscripts/20220908_delete_pipeline_table.go
+++ b/backend/plugins/github/models/migrationscripts/20220908_delete_pipeline_table.go
@@ -18,8 +18,8 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
)
type githubPipeline20220908 struct{}
diff --git a/backend/plugins/github/models/migrationscripts/20220919_add_headrepoId_field_in_githubPr.go b/backend/plugins/github/models/migrationscripts/20220919_add_headrepoId_field_in_githubPr.go
index eabd27f..df055a0 100644
--- a/backend/plugins/github/models/migrationscripts/20220919_add_headrepoId_field_in_githubPr.go
+++ b/backend/plugins/github/models/migrationscripts/20220919_add_headrepoId_field_in_githubPr.go
@@ -18,8 +18,8 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
)
type pullRequest20220919 struct {
diff --git a/backend/plugins/github/models/migrationscripts/20221114_add_enable_graphql_for_connection.go b/backend/plugins/github/models/migrationscripts/20221114_add_enable_graphql_for_connection.go
index 013a2f1..a0a8fe6 100644
--- a/backend/plugins/github/models/migrationscripts/20221114_add_enable_graphql_for_connection.go
+++ b/backend/plugins/github/models/migrationscripts/20221114_add_enable_graphql_for_connection.go
@@ -18,9 +18,9 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
)
type GithubConnection20221111 struct {
diff --git a/backend/plugins/github/models/migrationscripts/20221214_add_trasformation_rule_table.go b/backend/plugins/github/models/migrationscripts/20221214_add_trasformation_rule_table.go
index f9a35c9..1a3b429 100644
--- a/backend/plugins/github/models/migrationscripts/20221214_add_trasformation_rule_table.go
+++ b/backend/plugins/github/models/migrationscripts/20221214_add_trasformation_rule_table.go
@@ -18,10 +18,10 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/helpers/migrationhelper"
- "github.com/apache/incubator-devlake/plugins/github/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/helpers/migrationhelper"
+ "github.com/apache/devlake/plugins/github/models/migrationscripts/archived"
)
type githubRepo20221124 struct {
diff --git a/backend/plugins/github/models/migrationscripts/20221214_concat_owner_name_for_repo.go b/backend/plugins/github/models/migrationscripts/20221214_concat_owner_name_for_repo.go
index a822ba6..d85f0d5 100644
--- a/backend/plugins/github/models/migrationscripts/20221214_concat_owner_name_for_repo.go
+++ b/backend/plugins/github/models/migrationscripts/20221214_concat_owner_name_for_repo.go
@@ -19,9 +19,9 @@
import (
"fmt"
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/helpers/migrationhelper"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/helpers/migrationhelper"
)
type githubRepoToBeTransform struct {
diff --git a/backend/plugins/github/models/migrationscripts/20221230_add_std_type_to_githubissue.go b/backend/plugins/github/models/migrationscripts/20221230_add_std_type_to_githubissue.go
index ddd6dd5..9f0df0e 100644
--- a/backend/plugins/github/models/migrationscripts/20221230_add_std_type_to_githubissue.go
+++ b/backend/plugins/github/models/migrationscripts/20221230_add_std_type_to_githubissue.go
@@ -18,8 +18,8 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
)
type githubIssue221230 struct {
diff --git a/backend/plugins/github/models/migrationscripts/20230322_add_connection_id_to_transformation_rules.go b/backend/plugins/github/models/migrationscripts/20230322_add_connection_id_to_transformation_rules.go
index f82afff..a35dfd9 100644
--- a/backend/plugins/github/models/migrationscripts/20230322_add_connection_id_to_transformation_rules.go
+++ b/backend/plugins/github/models/migrationscripts/20230322_add_connection_id_to_transformation_rules.go
@@ -18,10 +18,10 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/helpers/migrationhelper"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/helpers/migrationhelper"
)
type addConnectionIdToTransformationRule struct{}
diff --git a/backend/plugins/github/models/migrationscripts/20230418_add_env_to_run_and_job.go b/backend/plugins/github/models/migrationscripts/20230418_add_env_to_run_and_job.go
index 19488e3..20f4638 100644
--- a/backend/plugins/github/models/migrationscripts/20230418_add_env_to_run_and_job.go
+++ b/backend/plugins/github/models/migrationscripts/20230418_add_env_to_run_and_job.go
@@ -18,9 +18,9 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/helpers/migrationhelper"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/helpers/migrationhelper"
)
type addEnvToRunAndJob struct{}
diff --git a/backend/plugins/github/models/migrationscripts/20230419_add_commit_author_info_in_pr_commits.go b/backend/plugins/github/models/migrationscripts/20230419_add_commit_author_info_in_pr_commits.go
index 5516118..569c7b4 100644
--- a/backend/plugins/github/models/migrationscripts/20230419_add_commit_author_info_in_pr_commits.go
+++ b/backend/plugins/github/models/migrationscripts/20230419_add_commit_author_info_in_pr_commits.go
@@ -20,10 +20,10 @@
import (
"time"
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/migrationhelper"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/migrationhelper"
)
var _ plugin.MigrationScript = (*addGithubCommitAuthorInfo)(nil)
diff --git a/backend/plugins/github/models/migrationscripts/20230428_add_multi_auth.go b/backend/plugins/github/models/migrationscripts/20230428_add_multi_auth.go
index ca0b6c9..a6270c2 100644
--- a/backend/plugins/github/models/migrationscripts/20230428_add_multi_auth.go
+++ b/backend/plugins/github/models/migrationscripts/20230428_add_multi_auth.go
@@ -18,9 +18,9 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
)
type githubMultiAuth20230428 struct {
diff --git a/backend/plugins/github/models/migrationscripts/20230518_fix_run_name_to_text.go b/backend/plugins/github/models/migrationscripts/20230518_fix_run_name_to_text.go
index c1eaee1..ec68cd8 100644
--- a/backend/plugins/github/models/migrationscripts/20230518_fix_run_name_to_text.go
+++ b/backend/plugins/github/models/migrationscripts/20230518_fix_run_name_to_text.go
@@ -18,9 +18,9 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/helpers/migrationhelper"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/helpers/migrationhelper"
)
type fixRunNameToText struct{}
diff --git a/backend/plugins/github/models/migrationscripts/20230526_scope_config.go b/backend/plugins/github/models/migrationscripts/20230526_scope_config.go
index 42abee3..3b0bccd 100644
--- a/backend/plugins/github/models/migrationscripts/20230526_scope_config.go
+++ b/backend/plugins/github/models/migrationscripts/20230526_scope_config.go
@@ -18,9 +18,9 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/helpers/migrationhelper"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/helpers/migrationhelper"
)
type renameTr2ScopeConfig struct {
diff --git a/backend/plugins/github/models/migrationscripts/20230530_add_issue_assignee.go b/backend/plugins/github/models/migrationscripts/20230530_add_issue_assignee.go
index 1a460b2..f3a14dd 100644
--- a/backend/plugins/github/models/migrationscripts/20230530_add_issue_assignee.go
+++ b/backend/plugins/github/models/migrationscripts/20230530_add_issue_assignee.go
@@ -18,9 +18,9 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/migrationscripts/archived"
)
type githubIssueAssignee20230530 struct {
diff --git a/backend/plugins/github/models/migrationscripts/20230612_add_fullName.go b/backend/plugins/github/models/migrationscripts/20230612_add_fullName.go
index 6a1034b..a1f2d90 100644
--- a/backend/plugins/github/models/migrationscripts/20230612_add_fullName.go
+++ b/backend/plugins/github/models/migrationscripts/20230612_add_fullName.go
@@ -20,9 +20,9 @@
import (
"strings"
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/helpers/migrationhelper"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/helpers/migrationhelper"
)
type githubRepo20230612 struct {
diff --git a/backend/plugins/github/models/migrationscripts/20230630_add_raw_param_table_for_scopes.go b/backend/plugins/github/models/migrationscripts/20230630_add_raw_param_table_for_scopes.go
index b9d42e5..2c4028b 100644
--- a/backend/plugins/github/models/migrationscripts/20230630_add_raw_param_table_for_scopes.go
+++ b/backend/plugins/github/models/migrationscripts/20230630_add_raw_param_table_for_scopes.go
@@ -21,11 +21,11 @@
"encoding/json"
"fmt"
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/migrationhelper"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/migrationhelper"
)
var _ plugin.MigrationScript = (*addRawParamTableForScope)(nil)
diff --git a/backend/plugins/github/models/migrationscripts/20230913_add_tool_demployments.go b/backend/plugins/github/models/migrationscripts/20230913_add_tool_demployments.go
index 82bc4c7..45c49b1 100644
--- a/backend/plugins/github/models/migrationscripts/20230913_add_tool_demployments.go
+++ b/backend/plugins/github/models/migrationscripts/20230913_add_tool_demployments.go
@@ -18,9 +18,9 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/plugins/github/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/plugins/github/models/migrationscripts/archived"
)
type addDeploymentTable struct {
diff --git a/backend/plugins/github/models/migrationscripts/20231018_modify_tool_github_milestones.go b/backend/plugins/github/models/migrationscripts/20231018_modify_tool_github_milestones.go
index 8be9249..7672629 100644
--- a/backend/plugins/github/models/migrationscripts/20231018_modify_tool_github_milestones.go
+++ b/backend/plugins/github/models/migrationscripts/20231018_modify_tool_github_milestones.go
@@ -20,11 +20,11 @@
import (
"time"
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
- "github.com/apache/incubator-devlake/helpers/migrationhelper"
- githubArchived "github.com/apache/incubator-devlake/plugins/github/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/helpers/migrationhelper"
+ githubArchived "github.com/apache/devlake/plugins/github/models/migrationscripts/archived"
)
type modifyGithubMilestone struct{}
diff --git a/backend/plugins/github/models/migrationscripts/20231026_add_env_name_pattern_to_tool_github_scope_configs.go b/backend/plugins/github/models/migrationscripts/20231026_add_env_name_pattern_to_tool_github_scope_configs.go
index 43bc2ef..e87fb6a 100644
--- a/backend/plugins/github/models/migrationscripts/20231026_add_env_name_pattern_to_tool_github_scope_configs.go
+++ b/backend/plugins/github/models/migrationscripts/20231026_add_env_name_pattern_to_tool_github_scope_configs.go
@@ -18,10 +18,10 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/migrationhelper"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/migrationhelper"
)
var _ plugin.MigrationScript = (*addEnvNamePattern)(nil)
diff --git a/backend/plugins/github/models/migrationscripts/20231205_modify_issue_type_length.go b/backend/plugins/github/models/migrationscripts/20231205_modify_issue_type_length.go
index edeb1b2..d844806 100644
--- a/backend/plugins/github/models/migrationscripts/20231205_modify_issue_type_length.go
+++ b/backend/plugins/github/models/migrationscripts/20231205_modify_issue_type_length.go
@@ -18,9 +18,9 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
)
var _ plugin.MigrationScript = (*modifyIssueTypeLength)(nil)
diff --git a/backend/plugins/github/models/migrationscripts/20240410_add_workflow_display_title.go b/backend/plugins/github/models/migrationscripts/20240410_add_workflow_display_title.go
index 4cd789f..89b4b58 100644
--- a/backend/plugins/github/models/migrationscripts/20240410_add_workflow_display_title.go
+++ b/backend/plugins/github/models/migrationscripts/20240410_add_workflow_display_title.go
@@ -18,9 +18,9 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/helpers/migrationhelper"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/helpers/migrationhelper"
)
type addWorkflowDisplayTitle struct{}
diff --git a/backend/plugins/github/models/migrationscripts/20240514_add_github_release.go b/backend/plugins/github/models/migrationscripts/20240514_add_github_release.go
index 12dd37e..b5410b4 100644
--- a/backend/plugins/github/models/migrationscripts/20240514_add_github_release.go
+++ b/backend/plugins/github/models/migrationscripts/20240514_add_github_release.go
@@ -18,10 +18,10 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
- "github.com/apache/incubator-devlake/helpers/migrationhelper"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/helpers/migrationhelper"
"time"
)
diff --git a/backend/plugins/github/models/migrationscripts/20240515_add_release_commit_sha.go b/backend/plugins/github/models/migrationscripts/20240515_add_release_commit_sha.go
index 40833eb..aaedf9a 100644
--- a/backend/plugins/github/models/migrationscripts/20240515_add_release_commit_sha.go
+++ b/backend/plugins/github/models/migrationscripts/20240515_add_release_commit_sha.go
@@ -18,9 +18,9 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/helpers/migrationhelper"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/helpers/migrationhelper"
)
type addReleaseCommitSha struct{}
diff --git a/backend/plugins/github/models/migrationscripts/20240710_add_merge_by_to_pr.go b/backend/plugins/github/models/migrationscripts/20240710_add_merge_by_to_pr.go
index 6c65ead..f6e4494 100644
--- a/backend/plugins/github/models/migrationscripts/20240710_add_merge_by_to_pr.go
+++ b/backend/plugins/github/models/migrationscripts/20240710_add_merge_by_to_pr.go
@@ -18,9 +18,9 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
)
var _ plugin.MigrationScript = (*addMergedByToPr)(nil)
diff --git a/backend/plugins/github/models/migrationscripts/20240711_restruct_github_reviewers.go b/backend/plugins/github/models/migrationscripts/20240711_restruct_github_reviewers.go
index af5a95a..91af1fe 100644
--- a/backend/plugins/github/models/migrationscripts/20240711_restruct_github_reviewers.go
+++ b/backend/plugins/github/models/migrationscripts/20240711_restruct_github_reviewers.go
@@ -18,11 +18,11 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- coreArchived "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/plugins/github/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ coreArchived "github.com/apache/devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/plugins/github/models/migrationscripts/archived"
)
var _ plugin.MigrationScript = (*restructReviewer)(nil)
diff --git a/backend/plugins/github/models/migrationscripts/20240725_add_is_draft_to_pr.go b/backend/plugins/github/models/migrationscripts/20240725_add_is_draft_to_pr.go
index 2525db6..8475a05 100644
--- a/backend/plugins/github/models/migrationscripts/20240725_add_is_draft_to_pr.go
+++ b/backend/plugins/github/models/migrationscripts/20240725_add_is_draft_to_pr.go
@@ -18,9 +18,9 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
)
var _ plugin.MigrationScript = (*addIsDraftToPr)(nil)
diff --git a/backend/plugins/github/models/migrationscripts/20240813_change_issue_component_type.go b/backend/plugins/github/models/migrationscripts/20240813_change_issue_component_type.go
index c31e30a..ad2954b 100644
--- a/backend/plugins/github/models/migrationscripts/20240813_change_issue_component_type.go
+++ b/backend/plugins/github/models/migrationscripts/20240813_change_issue_component_type.go
@@ -18,9 +18,9 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
)
var _ plugin.MigrationScript = (*changeIssueComponentType)(nil)
diff --git a/backend/plugins/github/models/migrationscripts/20240821_add_index_to_tool_github_jobs.go b/backend/plugins/github/models/migrationscripts/20240821_add_index_to_tool_github_jobs.go
index 43ea380..6c8b794 100644
--- a/backend/plugins/github/models/migrationscripts/20240821_add_index_to_tool_github_jobs.go
+++ b/backend/plugins/github/models/migrationscripts/20240821_add_index_to_tool_github_jobs.go
@@ -18,9 +18,9 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
"net/url"
)
diff --git a/backend/plugins/github/models/migrationscripts/20241120_add_refresh_token_fields.go b/backend/plugins/github/models/migrationscripts/20241120_add_refresh_token_fields.go
index b2f826d..077c457 100644
--- a/backend/plugins/github/models/migrationscripts/20241120_add_refresh_token_fields.go
+++ b/backend/plugins/github/models/migrationscripts/20241120_add_refresh_token_fields.go
@@ -20,9 +20,9 @@
import (
"time"
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/helpers/migrationhelper"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/helpers/migrationhelper"
)
type githubConnection20241120 struct {
diff --git a/backend/plugins/github/models/migrationscripts/20260211_modify_connection_token_expires_at_to_nullable.go b/backend/plugins/github/models/migrationscripts/20260211_modify_connection_token_expires_at_to_nullable.go
index ff7b127..753577a 100644
--- a/backend/plugins/github/models/migrationscripts/20260211_modify_connection_token_expires_at_to_nullable.go
+++ b/backend/plugins/github/models/migrationscripts/20260211_modify_connection_token_expires_at_to_nullable.go
@@ -20,9 +20,9 @@
import (
"time"
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/helpers/migrationhelper"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/helpers/migrationhelper"
)
type githubConnection20260211 struct {
diff --git a/backend/plugins/github/models/migrationscripts/20260216_add_pr_size_excluded_extensions.go b/backend/plugins/github/models/migrationscripts/20260216_add_pr_size_excluded_extensions.go
index cfc4337..383068c 100644
--- a/backend/plugins/github/models/migrationscripts/20260216_add_pr_size_excluded_extensions.go
+++ b/backend/plugins/github/models/migrationscripts/20260216_add_pr_size_excluded_extensions.go
@@ -18,10 +18,10 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/migrationhelper"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/migrationhelper"
)
var _ plugin.MigrationScript = (*addPrSizeExcludedFileExtensions)(nil)
diff --git a/backend/plugins/github/models/migrationscripts/20260809_add_github_issue_fields.go b/backend/plugins/github/models/migrationscripts/20260809_add_github_issue_fields.go
index f648090..4b629c3 100644
--- a/backend/plugins/github/models/migrationscripts/20260809_add_github_issue_fields.go
+++ b/backend/plugins/github/models/migrationscripts/20260809_add_github_issue_fields.go
@@ -18,10 +18,10 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
- "github.com/apache/incubator-devlake/helpers/migrationhelper"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/helpers/migrationhelper"
)
type githubIssueFieldValue20260809 struct {
diff --git a/backend/plugins/github/models/migrationscripts/20260819_expand_text_columns.go b/backend/plugins/github/models/migrationscripts/20260819_expand_text_columns.go
index 3ae32fa..e9aaec2 100644
--- a/backend/plugins/github/models/migrationscripts/20260819_expand_text_columns.go
+++ b/backend/plugins/github/models/migrationscripts/20260819_expand_text_columns.go
@@ -18,9 +18,9 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
)
var _ plugin.MigrationScript = (*expandGithubTextColumns)(nil)
diff --git a/backend/plugins/github/models/migrationscripts/20260819_expand_text_columns_test.go b/backend/plugins/github/models/migrationscripts/20260819_expand_text_columns_test.go
index 8c979d4..e392853 100644
--- a/backend/plugins/github/models/migrationscripts/20260819_expand_text_columns_test.go
+++ b/backend/plugins/github/models/migrationscripts/20260819_expand_text_columns_test.go
@@ -21,9 +21,9 @@
"reflect"
"testing"
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
)
type githubTextColumnCall struct {
diff --git a/backend/plugins/github/models/migrationscripts/archived/account.go b/backend/plugins/github/models/migrationscripts/archived/account.go
index 5dd84da..22a0ab5 100644
--- a/backend/plugins/github/models/migrationscripts/archived/account.go
+++ b/backend/plugins/github/models/migrationscripts/archived/account.go
@@ -18,7 +18,7 @@
package archived
import (
- "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/models/migrationscripts/archived"
)
type GithubAccount struct {
diff --git a/backend/plugins/github/models/migrationscripts/archived/account_org.go b/backend/plugins/github/models/migrationscripts/archived/account_org.go
index 5954554..e6edfcd 100644
--- a/backend/plugins/github/models/migrationscripts/archived/account_org.go
+++ b/backend/plugins/github/models/migrationscripts/archived/account_org.go
@@ -18,7 +18,7 @@
package archived
import (
- "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/models/migrationscripts/archived"
)
type GithubAccountOrg struct {
diff --git a/backend/plugins/github/models/migrationscripts/archived/commit.go b/backend/plugins/github/models/migrationscripts/archived/commit.go
index 53c6981..6af5637 100644
--- a/backend/plugins/github/models/migrationscripts/archived/commit.go
+++ b/backend/plugins/github/models/migrationscripts/archived/commit.go
@@ -18,7 +18,7 @@
package archived
import (
- "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/models/migrationscripts/archived"
"time"
)
diff --git a/backend/plugins/github/models/migrationscripts/archived/commit_stat.go b/backend/plugins/github/models/migrationscripts/archived/commit_stat.go
index 02c09b4..43c45aa 100644
--- a/backend/plugins/github/models/migrationscripts/archived/commit_stat.go
+++ b/backend/plugins/github/models/migrationscripts/archived/commit_stat.go
@@ -18,7 +18,7 @@
package archived
import (
- "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/models/migrationscripts/archived"
"time"
)
diff --git a/backend/plugins/github/models/migrationscripts/archived/connection.go b/backend/plugins/github/models/migrationscripts/archived/connection.go
index 35fd8c7..d43ce62 100644
--- a/backend/plugins/github/models/migrationscripts/archived/connection.go
+++ b/backend/plugins/github/models/migrationscripts/archived/connection.go
@@ -18,7 +18,7 @@
package archived
import (
- "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/models/migrationscripts/archived"
)
type GithubConnection struct {
diff --git a/backend/plugins/github/models/migrationscripts/archived/deployment.go b/backend/plugins/github/models/migrationscripts/archived/deployment.go
index 4a27ed2..b2a6eb6 100644
--- a/backend/plugins/github/models/migrationscripts/archived/deployment.go
+++ b/backend/plugins/github/models/migrationscripts/archived/deployment.go
@@ -20,7 +20,7 @@
import (
"time"
- "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/models/migrationscripts/archived"
)
type GithubDeployment struct {
diff --git a/backend/plugins/github/models/migrationscripts/archived/issue.go b/backend/plugins/github/models/migrationscripts/archived/issue.go
index b3b24e5..53be3d0 100644
--- a/backend/plugins/github/models/migrationscripts/archived/issue.go
+++ b/backend/plugins/github/models/migrationscripts/archived/issue.go
@@ -18,7 +18,7 @@
package archived
import (
- "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/models/migrationscripts/archived"
"time"
)
diff --git a/backend/plugins/github/models/migrationscripts/archived/issue_comment.go b/backend/plugins/github/models/migrationscripts/archived/issue_comment.go
index 7576ba5..f24f078 100644
--- a/backend/plugins/github/models/migrationscripts/archived/issue_comment.go
+++ b/backend/plugins/github/models/migrationscripts/archived/issue_comment.go
@@ -18,7 +18,7 @@
package archived
import (
- "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/models/migrationscripts/archived"
"time"
)
diff --git a/backend/plugins/github/models/migrationscripts/archived/issue_event.go b/backend/plugins/github/models/migrationscripts/archived/issue_event.go
index 0b77180..f1170b9 100644
--- a/backend/plugins/github/models/migrationscripts/archived/issue_event.go
+++ b/backend/plugins/github/models/migrationscripts/archived/issue_event.go
@@ -18,7 +18,7 @@
package archived
import (
- "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/models/migrationscripts/archived"
"time"
)
diff --git a/backend/plugins/github/models/migrationscripts/archived/issue_label.go b/backend/plugins/github/models/migrationscripts/archived/issue_label.go
index aa5c448..e565e77 100644
--- a/backend/plugins/github/models/migrationscripts/archived/issue_label.go
+++ b/backend/plugins/github/models/migrationscripts/archived/issue_label.go
@@ -18,7 +18,7 @@
package archived
import (
- "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/models/migrationscripts/archived"
)
// Please note that Issue Labels can also apply to Pull Requests.
diff --git a/backend/plugins/github/models/migrationscripts/archived/job.go b/backend/plugins/github/models/migrationscripts/archived/job.go
index e6995b2..93ee519 100644
--- a/backend/plugins/github/models/migrationscripts/archived/job.go
+++ b/backend/plugins/github/models/migrationscripts/archived/job.go
@@ -21,7 +21,7 @@
"encoding/json"
"time"
- "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/models/migrationscripts/archived"
)
type GithubJob struct {
diff --git a/backend/plugins/github/models/migrationscripts/archived/milestone.go b/backend/plugins/github/models/migrationscripts/archived/milestone.go
index 3513def..aac6ca2 100644
--- a/backend/plugins/github/models/migrationscripts/archived/milestone.go
+++ b/backend/plugins/github/models/migrationscripts/archived/milestone.go
@@ -18,7 +18,7 @@
package archived
import (
- "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/models/migrationscripts/archived"
"time"
)
diff --git a/backend/plugins/github/models/migrationscripts/archived/pipeline.go b/backend/plugins/github/models/migrationscripts/archived/pipeline.go
index 5db6a84..dbcddb0 100644
--- a/backend/plugins/github/models/migrationscripts/archived/pipeline.go
+++ b/backend/plugins/github/models/migrationscripts/archived/pipeline.go
@@ -18,7 +18,7 @@
package archived
import (
- "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/models/migrationscripts/archived"
"time"
)
diff --git a/backend/plugins/github/models/migrationscripts/archived/pr_comment.go b/backend/plugins/github/models/migrationscripts/archived/pr_comment.go
index 32a2afb..dbdae5b 100644
--- a/backend/plugins/github/models/migrationscripts/archived/pr_comment.go
+++ b/backend/plugins/github/models/migrationscripts/archived/pr_comment.go
@@ -18,7 +18,7 @@
package archived
import (
- "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/models/migrationscripts/archived"
"time"
)
diff --git a/backend/plugins/github/models/migrationscripts/archived/pr_commit.go b/backend/plugins/github/models/migrationscripts/archived/pr_commit.go
index 2cb663e..8509f31 100644
--- a/backend/plugins/github/models/migrationscripts/archived/pr_commit.go
+++ b/backend/plugins/github/models/migrationscripts/archived/pr_commit.go
@@ -18,7 +18,7 @@
package archived
import (
- "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/models/migrationscripts/archived"
)
type GithubPrCommit struct {
diff --git a/backend/plugins/github/models/migrationscripts/archived/pr_issue.go b/backend/plugins/github/models/migrationscripts/archived/pr_issue.go
index 5266f7d..1862438 100644
--- a/backend/plugins/github/models/migrationscripts/archived/pr_issue.go
+++ b/backend/plugins/github/models/migrationscripts/archived/pr_issue.go
@@ -18,7 +18,7 @@
package archived
import (
- "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/models/migrationscripts/archived"
)
type GithubPrIssue struct {
diff --git a/backend/plugins/github/models/migrationscripts/archived/pr_label.go b/backend/plugins/github/models/migrationscripts/archived/pr_label.go
index 4d81a45..80750d6 100644
--- a/backend/plugins/github/models/migrationscripts/archived/pr_label.go
+++ b/backend/plugins/github/models/migrationscripts/archived/pr_label.go
@@ -18,7 +18,7 @@
package archived
import (
- "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/models/migrationscripts/archived"
)
// Please note that Issue Labels can also apply to Pull Requests.
diff --git a/backend/plugins/github/models/migrationscripts/archived/pr_review.go b/backend/plugins/github/models/migrationscripts/archived/pr_review.go
index 8c17efd..3799769 100644
--- a/backend/plugins/github/models/migrationscripts/archived/pr_review.go
+++ b/backend/plugins/github/models/migrationscripts/archived/pr_review.go
@@ -18,7 +18,7 @@
package archived
import (
- "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/models/migrationscripts/archived"
"time"
)
diff --git a/backend/plugins/github/models/migrationscripts/archived/pull_request.go b/backend/plugins/github/models/migrationscripts/archived/pull_request.go
index a99e7cd..41b65ac 100644
--- a/backend/plugins/github/models/migrationscripts/archived/pull_request.go
+++ b/backend/plugins/github/models/migrationscripts/archived/pull_request.go
@@ -18,7 +18,7 @@
package archived
import (
- "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/models/migrationscripts/archived"
"time"
)
diff --git a/backend/plugins/github/models/migrationscripts/archived/repo.go b/backend/plugins/github/models/migrationscripts/archived/repo.go
index 06c60ed..a8d2c42 100644
--- a/backend/plugins/github/models/migrationscripts/archived/repo.go
+++ b/backend/plugins/github/models/migrationscripts/archived/repo.go
@@ -18,7 +18,7 @@
package archived
import (
- "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/models/migrationscripts/archived"
"time"
)
diff --git a/backend/plugins/github/models/migrationscripts/archived/repo_account.go b/backend/plugins/github/models/migrationscripts/archived/repo_account.go
index d1e5765..3840e08 100644
--- a/backend/plugins/github/models/migrationscripts/archived/repo_account.go
+++ b/backend/plugins/github/models/migrationscripts/archived/repo_account.go
@@ -18,7 +18,7 @@
package archived
import (
- "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/models/migrationscripts/archived"
)
type GithubRepoAccount struct {
diff --git a/backend/plugins/github/models/migrationscripts/archived/repo_commit.go b/backend/plugins/github/models/migrationscripts/archived/repo_commit.go
index 1c15996..92bfe07 100644
--- a/backend/plugins/github/models/migrationscripts/archived/repo_commit.go
+++ b/backend/plugins/github/models/migrationscripts/archived/repo_commit.go
@@ -18,7 +18,7 @@
package archived
import (
- "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/models/migrationscripts/archived"
)
type GithubRepoCommit struct {
diff --git a/backend/plugins/github/models/migrationscripts/archived/reviewer.go b/backend/plugins/github/models/migrationscripts/archived/reviewer.go
index 3fe2b68..c444871 100644
--- a/backend/plugins/github/models/migrationscripts/archived/reviewer.go
+++ b/backend/plugins/github/models/migrationscripts/archived/reviewer.go
@@ -18,7 +18,7 @@
package archived
import (
- "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/models/migrationscripts/archived"
)
type GithubReviewer struct {
diff --git a/backend/plugins/github/models/migrationscripts/archived/run.go b/backend/plugins/github/models/migrationscripts/archived/run.go
index 47b1cd8..dcd4b63 100644
--- a/backend/plugins/github/models/migrationscripts/archived/run.go
+++ b/backend/plugins/github/models/migrationscripts/archived/run.go
@@ -18,7 +18,7 @@
package archived
import (
- "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/models/migrationscripts/archived"
"time"
)
diff --git a/backend/plugins/github/models/migrationscripts/archived/transformation_rules.go b/backend/plugins/github/models/migrationscripts/archived/transformation_rules.go
index d8f8b90..39aeba4 100644
--- a/backend/plugins/github/models/migrationscripts/archived/transformation_rules.go
+++ b/backend/plugins/github/models/migrationscripts/archived/transformation_rules.go
@@ -20,7 +20,7 @@
import (
"encoding/json"
- "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/models/migrationscripts/archived"
)
type GithubTransformationRule struct {
diff --git a/backend/plugins/github/models/migrationscripts/register.go b/backend/plugins/github/models/migrationscripts/register.go
index 04a1fb5..b5705c1 100644
--- a/backend/plugins/github/models/migrationscripts/register.go
+++ b/backend/plugins/github/models/migrationscripts/register.go
@@ -18,7 +18,7 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/plugin"
+ "github.com/apache/devlake/core/plugin"
)
// All return all the migration scripts
diff --git a/backend/plugins/github/models/milestone.go b/backend/plugins/github/models/milestone.go
index 94a5aeb..18c691b 100644
--- a/backend/plugins/github/models/milestone.go
+++ b/backend/plugins/github/models/milestone.go
@@ -20,7 +20,7 @@
import (
"time"
- "github.com/apache/incubator-devlake/core/models/common"
+ "github.com/apache/devlake/core/models/common"
)
type GithubMilestone struct {
diff --git a/backend/plugins/github/models/pr.go b/backend/plugins/github/models/pr.go
index 6ac45d1..3828597 100644
--- a/backend/plugins/github/models/pr.go
+++ b/backend/plugins/github/models/pr.go
@@ -20,7 +20,7 @@
import (
"time"
- "github.com/apache/incubator-devlake/core/models/common"
+ "github.com/apache/devlake/core/models/common"
)
type GithubPullRequest struct {
diff --git a/backend/plugins/github/models/pr_comment.go b/backend/plugins/github/models/pr_comment.go
index b205634..f612998 100644
--- a/backend/plugins/github/models/pr_comment.go
+++ b/backend/plugins/github/models/pr_comment.go
@@ -18,7 +18,7 @@
package models
import (
- "github.com/apache/incubator-devlake/core/models/common"
+ "github.com/apache/devlake/core/models/common"
"time"
)
diff --git a/backend/plugins/github/models/pr_commit.go b/backend/plugins/github/models/pr_commit.go
index f7b9e26..8324c2a 100644
--- a/backend/plugins/github/models/pr_commit.go
+++ b/backend/plugins/github/models/pr_commit.go
@@ -20,7 +20,7 @@
import (
"time"
- "github.com/apache/incubator-devlake/core/models/common"
+ "github.com/apache/devlake/core/models/common"
)
type GithubPrCommit struct {
diff --git a/backend/plugins/github/models/pr_issue.go b/backend/plugins/github/models/pr_issue.go
index 50543d5..b940005 100644
--- a/backend/plugins/github/models/pr_issue.go
+++ b/backend/plugins/github/models/pr_issue.go
@@ -18,7 +18,7 @@
package models
import (
- "github.com/apache/incubator-devlake/core/models/common"
+ "github.com/apache/devlake/core/models/common"
)
type GithubPrIssue struct {
diff --git a/backend/plugins/github/models/pr_label.go b/backend/plugins/github/models/pr_label.go
index 3f5844c..99291de 100644
--- a/backend/plugins/github/models/pr_label.go
+++ b/backend/plugins/github/models/pr_label.go
@@ -18,7 +18,7 @@
package models
import (
- "github.com/apache/incubator-devlake/core/models/common"
+ "github.com/apache/devlake/core/models/common"
)
// Please note that Issue Labels can also apply to Pull Requests.
diff --git a/backend/plugins/github/models/pr_review.go b/backend/plugins/github/models/pr_review.go
index 905b878..e6b5726 100644
--- a/backend/plugins/github/models/pr_review.go
+++ b/backend/plugins/github/models/pr_review.go
@@ -18,7 +18,7 @@
package models
import (
- "github.com/apache/incubator-devlake/core/models/common"
+ "github.com/apache/devlake/core/models/common"
"time"
)
diff --git a/backend/plugins/github/models/release.go b/backend/plugins/github/models/release.go
index 5442f9f..a8ba491 100644
--- a/backend/plugins/github/models/release.go
+++ b/backend/plugins/github/models/release.go
@@ -20,7 +20,7 @@
import (
"time"
- "github.com/apache/incubator-devlake/core/models/common"
+ "github.com/apache/devlake/core/models/common"
)
type GithubRelease struct {
diff --git a/backend/plugins/github/models/repo.go b/backend/plugins/github/models/repo.go
index 98572ca..02d3acd 100644
--- a/backend/plugins/github/models/repo.go
+++ b/backend/plugins/github/models/repo.go
@@ -21,8 +21,8 @@
"strconv"
"time"
- "github.com/apache/incubator-devlake/core/models/common"
- "github.com/apache/incubator-devlake/core/plugin"
+ "github.com/apache/devlake/core/models/common"
+ "github.com/apache/devlake/core/plugin"
)
var _ plugin.ToolLayerScope = (*GithubRepo)(nil)
diff --git a/backend/plugins/github/models/repo_account.go b/backend/plugins/github/models/repo_account.go
index 0074aee..353f6b4 100644
--- a/backend/plugins/github/models/repo_account.go
+++ b/backend/plugins/github/models/repo_account.go
@@ -18,7 +18,7 @@
package models
import (
- "github.com/apache/incubator-devlake/core/models/common"
+ "github.com/apache/devlake/core/models/common"
)
type GithubRepoAccount struct {
diff --git a/backend/plugins/github/models/repo_commit.go b/backend/plugins/github/models/repo_commit.go
index 528003f..449d657 100644
--- a/backend/plugins/github/models/repo_commit.go
+++ b/backend/plugins/github/models/repo_commit.go
@@ -18,7 +18,7 @@
package models
import (
- "github.com/apache/incubator-devlake/core/models/common"
+ "github.com/apache/devlake/core/models/common"
)
type GithubRepoCommit struct {
diff --git a/backend/plugins/github/models/reviewer.go b/backend/plugins/github/models/reviewer.go
index 7d82a88..7e8053f 100644
--- a/backend/plugins/github/models/reviewer.go
+++ b/backend/plugins/github/models/reviewer.go
@@ -18,7 +18,7 @@
package models
import (
- "github.com/apache/incubator-devlake/core/models/common"
+ "github.com/apache/devlake/core/models/common"
)
type GithubReviewer struct {
diff --git a/backend/plugins/github/models/run.go b/backend/plugins/github/models/run.go
index 910c1fd..6965fc7 100644
--- a/backend/plugins/github/models/run.go
+++ b/backend/plugins/github/models/run.go
@@ -20,7 +20,7 @@
import (
"time"
- "github.com/apache/incubator-devlake/core/models/common"
+ "github.com/apache/devlake/core/models/common"
)
type GithubRun struct {
diff --git a/backend/plugins/github/models/scope_config.go b/backend/plugins/github/models/scope_config.go
index ae3fdf7..c06b67b 100644
--- a/backend/plugins/github/models/scope_config.go
+++ b/backend/plugins/github/models/scope_config.go
@@ -18,8 +18,8 @@
package models
import (
- "github.com/apache/incubator-devlake/core/models/common"
- "github.com/apache/incubator-devlake/core/plugin"
+ "github.com/apache/devlake/core/models/common"
+ "github.com/apache/devlake/core/plugin"
"gorm.io/datatypes"
)
diff --git a/backend/plugins/github/tasks/account_collector.go b/backend/plugins/github/tasks/account_collector.go
index 3f2edf2..cbb8e22 100644
--- a/backend/plugins/github/tasks/account_collector.go
+++ b/backend/plugins/github/tasks/account_collector.go
@@ -23,11 +23,11 @@
"net/http"
"reflect"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/github/models"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/github/models"
)
func init() {
diff --git a/backend/plugins/github/tasks/account_convertor.go b/backend/plugins/github/tasks/account_convertor.go
index 310780f..9a85acf 100644
--- a/backend/plugins/github/tasks/account_convertor.go
+++ b/backend/plugins/github/tasks/account_convertor.go
@@ -20,15 +20,15 @@
import (
"strings"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/common"
- "github.com/apache/incubator-devlake/core/models/domainlayer"
- "github.com/apache/incubator-devlake/core/models/domainlayer/crossdomain"
- "github.com/apache/incubator-devlake/core/models/domainlayer/didgen"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/github/models"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/common"
+ "github.com/apache/devlake/core/models/domainlayer"
+ "github.com/apache/devlake/core/models/domainlayer/crossdomain"
+ "github.com/apache/devlake/core/models/domainlayer/didgen"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/github/models"
)
// repoAccountForConvert is the row projected by ConvertAccounts' query: every
diff --git a/backend/plugins/github/tasks/account_extractor.go b/backend/plugins/github/tasks/account_extractor.go
index 2750040..26aa1c9 100644
--- a/backend/plugins/github/tasks/account_extractor.go
+++ b/backend/plugins/github/tasks/account_extractor.go
@@ -20,10 +20,10 @@
import (
"time"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/github/models"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/github/models"
)
func init() {
diff --git a/backend/plugins/github/tasks/account_org_collector.go b/backend/plugins/github/tasks/account_org_collector.go
index 9127b60..f04baf4 100644
--- a/backend/plugins/github/tasks/account_org_collector.go
+++ b/backend/plugins/github/tasks/account_org_collector.go
@@ -23,11 +23,11 @@
"net/http"
"reflect"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/github/models"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/github/models"
)
func init() {
diff --git a/backend/plugins/github/tasks/account_org_extractor.go b/backend/plugins/github/tasks/account_org_extractor.go
index 91f9a7b..a40cd07 100644
--- a/backend/plugins/github/tasks/account_org_extractor.go
+++ b/backend/plugins/github/tasks/account_org_extractor.go
@@ -20,10 +20,10 @@
import (
"encoding/json"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/github/models"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/github/models"
)
func init() {
diff --git a/backend/plugins/github/tasks/account_pre_extractor.go b/backend/plugins/github/tasks/account_pre_extractor.go
index c0811c8..ef60312 100644
--- a/backend/plugins/github/tasks/account_pre_extractor.go
+++ b/backend/plugins/github/tasks/account_pre_extractor.go
@@ -18,8 +18,8 @@
package tasks
import (
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/plugins/github/models"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/plugins/github/models"
)
type GithubAccountResponse struct {
diff --git a/backend/plugins/github/tasks/api_client.go b/backend/plugins/github/tasks/api_client.go
index c5be8a0..24df355 100644
--- a/backend/plugins/github/tasks/api_client.go
+++ b/backend/plugins/github/tasks/api_client.go
@@ -22,10 +22,10 @@
"strconv"
"time"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/github/models"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/github/models"
)
func CreateApiClient(taskCtx plugin.TaskContext, connection *models.GithubConnection) (*api.ApiAsyncClient, errors.Error) {
diff --git a/backend/plugins/github/tasks/cicd_job_collector.go b/backend/plugins/github/tasks/cicd_job_collector.go
index 6078033..670230d 100644
--- a/backend/plugins/github/tasks/cicd_job_collector.go
+++ b/backend/plugins/github/tasks/cicd_job_collector.go
@@ -24,11 +24,11 @@
"net/url"
"reflect"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/github/models"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/github/models"
)
func init() {
diff --git a/backend/plugins/github/tasks/cicd_job_convertor.go b/backend/plugins/github/tasks/cicd_job_convertor.go
index 2dcfbce..c2530f3 100644
--- a/backend/plugins/github/tasks/cicd_job_convertor.go
+++ b/backend/plugins/github/tasks/cicd_job_convertor.go
@@ -18,14 +18,14 @@
package tasks
import (
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/domainlayer"
- "github.com/apache/incubator-devlake/core/models/domainlayer/devops"
- "github.com/apache/incubator-devlake/core/models/domainlayer/didgen"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/github/models"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/domainlayer"
+ "github.com/apache/devlake/core/models/domainlayer/devops"
+ "github.com/apache/devlake/core/models/domainlayer/didgen"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/github/models"
)
func init() {
@@ -85,7 +85,7 @@
return db.Cursor(clauses...)
},
Convert: func(line *models.GithubJob) ([]interface{}, errors.Error) {
- // Skip jobs with no started_at value (workaround for https://github.com/apache/incubator-devlake/issues/8442)
+ // Skip jobs with no started_at value (workaround for https://github.com/apache/devlake/issues/8442)
if line.StartedAt == nil {
return nil, nil
}
diff --git a/backend/plugins/github/tasks/cicd_job_convertor_test.go b/backend/plugins/github/tasks/cicd_job_convertor_test.go
index 715e2c8..56f56f1 100644
--- a/backend/plugins/github/tasks/cicd_job_convertor_test.go
+++ b/backend/plugins/github/tasks/cicd_job_convertor_test.go
@@ -22,11 +22,11 @@
"testing"
"time"
- "github.com/apache/incubator-devlake/core/models/domainlayer/devops"
- "github.com/apache/incubator-devlake/core/models/domainlayer/didgen"
- "github.com/apache/incubator-devlake/core/plugin"
- mockplugin "github.com/apache/incubator-devlake/mocks/core/plugin"
- "github.com/apache/incubator-devlake/plugins/github/models"
+ "github.com/apache/devlake/core/models/domainlayer/devops"
+ "github.com/apache/devlake/core/models/domainlayer/didgen"
+ "github.com/apache/devlake/core/plugin"
+ mockplugin "github.com/apache/devlake/mocks/core/plugin"
+ "github.com/apache/devlake/plugins/github/models"
"github.com/stretchr/testify/assert"
)
@@ -46,7 +46,7 @@
func BenchmarkGenJobIDWithReflect(b *testing.B) {
mockMeta := mockplugin.NewPluginMeta(b)
- mockMeta.On("RootPkgPath").Return("github.com/apache/incubator-devlake/plugins/github")
+ mockMeta.On("RootPkgPath").Return("github.com/apache/devlake/plugins/github")
mockMeta.On("Name").Return("github").Maybe()
err := plugin.RegisterPlugin("github", mockMeta)
assert.NoError(b, err)
diff --git a/backend/plugins/github/tasks/cicd_job_extractor.go b/backend/plugins/github/tasks/cicd_job_extractor.go
index 6cfab02..710f0d5 100644
--- a/backend/plugins/github/tasks/cicd_job_extractor.go
+++ b/backend/plugins/github/tasks/cicd_job_extractor.go
@@ -20,11 +20,11 @@
import (
"strings"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/domainlayer/devops"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/github/models"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/domainlayer/devops"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/github/models"
)
func init() {
diff --git a/backend/plugins/github/tasks/cicd_run_collector.go b/backend/plugins/github/tasks/cicd_run_collector.go
index 9359b98..fe19da4 100644
--- a/backend/plugins/github/tasks/cicd_run_collector.go
+++ b/backend/plugins/github/tasks/cicd_run_collector.go
@@ -24,12 +24,12 @@
"net/url"
"time"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/log"
- "github.com/apache/incubator-devlake/core/plugin"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/github/models"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/log"
+ "github.com/apache/devlake/core/plugin"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/github/models"
)
func init() {
diff --git a/backend/plugins/github/tasks/cicd_run_collector_test.go b/backend/plugins/github/tasks/cicd_run_collector_test.go
index a7a12ab..c131c6c 100644
--- a/backend/plugins/github/tasks/cicd_run_collector_test.go
+++ b/backend/plugins/github/tasks/cicd_run_collector_test.go
@@ -28,13 +28,13 @@
"testing"
"time"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/helpers/unithelper"
- mockdal "github.com/apache/incubator-devlake/mocks/core/dal"
- mockapi "github.com/apache/incubator-devlake/mocks/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/github/models"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/helpers/unithelper"
+ mockdal "github.com/apache/devlake/mocks/core/dal"
+ mockapi "github.com/apache/devlake/mocks/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/github/models"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/mock"
@@ -503,7 +503,7 @@
Ctx: mockCtx,
Params: GithubApiParams{
ConnectionId: 1,
- Name: "apache/incubator-devlake",
+ Name: "apache/devlake",
},
Table: RAW_RUN_TABLE,
})
diff --git a/backend/plugins/github/tasks/cicd_run_convertor.go b/backend/plugins/github/tasks/cicd_run_convertor.go
index 6991148..62f6a35 100644
--- a/backend/plugins/github/tasks/cicd_run_convertor.go
+++ b/backend/plugins/github/tasks/cicd_run_convertor.go
@@ -20,14 +20,14 @@
import (
"time"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/domainlayer"
- "github.com/apache/incubator-devlake/core/models/domainlayer/devops"
- "github.com/apache/incubator-devlake/core/models/domainlayer/didgen"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/github/models"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/domainlayer"
+ "github.com/apache/devlake/core/models/domainlayer/devops"
+ "github.com/apache/devlake/core/models/domainlayer/didgen"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/github/models"
)
func init() {
diff --git a/backend/plugins/github/tasks/cicd_run_extractor.go b/backend/plugins/github/tasks/cicd_run_extractor.go
index 3a474c6..782bbc4 100644
--- a/backend/plugins/github/tasks/cicd_run_extractor.go
+++ b/backend/plugins/github/tasks/cicd_run_extractor.go
@@ -18,11 +18,11 @@
package tasks
import (
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/domainlayer/devops"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/github/models"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/domainlayer/devops"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/github/models"
)
func init() {
diff --git a/backend/plugins/github/tasks/comment_collector.go b/backend/plugins/github/tasks/comment_collector.go
index 303ecf7..9bd0604 100644
--- a/backend/plugins/github/tasks/comment_collector.go
+++ b/backend/plugins/github/tasks/comment_collector.go
@@ -24,9 +24,9 @@
"net/url"
"time"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
)
func init() {
diff --git a/backend/plugins/github/tasks/comment_extractor.go b/backend/plugins/github/tasks/comment_extractor.go
index c383e53..b94bf41 100644
--- a/backend/plugins/github/tasks/comment_extractor.go
+++ b/backend/plugins/github/tasks/comment_extractor.go
@@ -20,13 +20,13 @@
import (
"encoding/json"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/common"
- "github.com/apache/incubator-devlake/core/plugin"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/github/models"
- githubUtils "github.com/apache/incubator-devlake/plugins/github/utils"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/common"
+ "github.com/apache/devlake/core/plugin"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/github/models"
+ githubUtils "github.com/apache/devlake/plugins/github/utils"
)
func init() {
diff --git a/backend/plugins/github/tasks/commit_collector.go b/backend/plugins/github/tasks/commit_collector.go
index 3376f24..9ea52fe 100644
--- a/backend/plugins/github/tasks/commit_collector.go
+++ b/backend/plugins/github/tasks/commit_collector.go
@@ -24,9 +24,9 @@
"net/url"
"time"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
)
func init() {
diff --git a/backend/plugins/github/tasks/commit_convertor.go b/backend/plugins/github/tasks/commit_convertor.go
index 14448d4..29d7bd4 100644
--- a/backend/plugins/github/tasks/commit_convertor.go
+++ b/backend/plugins/github/tasks/commit_convertor.go
@@ -18,13 +18,13 @@
package tasks
import (
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/domainlayer/code"
- "github.com/apache/incubator-devlake/core/models/domainlayer/didgen"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/github/models"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/domainlayer/code"
+ "github.com/apache/devlake/core/models/domainlayer/didgen"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/github/models"
)
func init() {
diff --git a/backend/plugins/github/tasks/commit_extractor.go b/backend/plugins/github/tasks/commit_extractor.go
index 72a2945..ccd4aad 100644
--- a/backend/plugins/github/tasks/commit_extractor.go
+++ b/backend/plugins/github/tasks/commit_extractor.go
@@ -18,11 +18,11 @@
package tasks
import (
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/common"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/github/models"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/common"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/github/models"
)
func init() {
diff --git a/backend/plugins/github/tasks/commit_stats_collector.go b/backend/plugins/github/tasks/commit_stats_collector.go
index 0514a30..81d20d6 100644
--- a/backend/plugins/github/tasks/commit_stats_collector.go
+++ b/backend/plugins/github/tasks/commit_stats_collector.go
@@ -25,11 +25,11 @@
"net/url"
"reflect"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/github/models"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/github/models"
)
func init() {
diff --git a/backend/plugins/github/tasks/commit_stats_extractor.go b/backend/plugins/github/tasks/commit_stats_extractor.go
index 431f2d2..76519c2 100644
--- a/backend/plugins/github/tasks/commit_stats_extractor.go
+++ b/backend/plugins/github/tasks/commit_stats_extractor.go
@@ -18,12 +18,12 @@
package tasks
import (
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/common"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/github/models"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/common"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/github/models"
)
func init() {
diff --git a/backend/plugins/github/tasks/event_collector.go b/backend/plugins/github/tasks/event_collector.go
index ea192ee..d22bf0f 100644
--- a/backend/plugins/github/tasks/event_collector.go
+++ b/backend/plugins/github/tasks/event_collector.go
@@ -26,12 +26,12 @@
"reflect"
"time"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/common"
- "github.com/apache/incubator-devlake/core/plugin"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/github/models"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/common"
+ "github.com/apache/devlake/core/plugin"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/github/models"
)
func init() {
diff --git a/backend/plugins/github/tasks/event_extractor.go b/backend/plugins/github/tasks/event_extractor.go
index 01b5495..81d8232 100644
--- a/backend/plugins/github/tasks/event_extractor.go
+++ b/backend/plugins/github/tasks/event_extractor.go
@@ -18,11 +18,11 @@
package tasks
import (
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/common"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/github/models"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/common"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/github/models"
)
func init() {
diff --git a/backend/plugins/github/tasks/http_client.go b/backend/plugins/github/tasks/http_client.go
index 33ef6a3..dbcd022 100644
--- a/backend/plugins/github/tasks/http_client.go
+++ b/backend/plugins/github/tasks/http_client.go
@@ -20,10 +20,10 @@
import (
"net/http"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/plugins/github/models"
- "github.com/apache/incubator-devlake/plugins/github/token"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/plugins/github/models"
+ "github.com/apache/devlake/plugins/github/token"
)
func CreateAuthenticatedHttpClient(
diff --git a/backend/plugins/github/tasks/issue_assignee_convertor.go b/backend/plugins/github/tasks/issue_assignee_convertor.go
index f632db8..cf06342 100644
--- a/backend/plugins/github/tasks/issue_assignee_convertor.go
+++ b/backend/plugins/github/tasks/issue_assignee_convertor.go
@@ -18,13 +18,13 @@
package tasks
import (
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/domainlayer/didgen"
- "github.com/apache/incubator-devlake/core/models/domainlayer/ticket"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/github/models"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/domainlayer/didgen"
+ "github.com/apache/devlake/core/models/domainlayer/ticket"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/github/models"
)
func init() {
diff --git a/backend/plugins/github/tasks/issue_collector.go b/backend/plugins/github/tasks/issue_collector.go
index 4b38d4b..2e691a5 100644
--- a/backend/plugins/github/tasks/issue_collector.go
+++ b/backend/plugins/github/tasks/issue_collector.go
@@ -24,9 +24,9 @@
"net/url"
"time"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
)
const RAW_ISSUE_TABLE = "github_api_issues"
diff --git a/backend/plugins/github/tasks/issue_comment_convertor.go b/backend/plugins/github/tasks/issue_comment_convertor.go
index 2510e32..80180b3 100644
--- a/backend/plugins/github/tasks/issue_comment_convertor.go
+++ b/backend/plugins/github/tasks/issue_comment_convertor.go
@@ -18,14 +18,14 @@
package tasks
import (
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/domainlayer"
- "github.com/apache/incubator-devlake/core/models/domainlayer/didgen"
- "github.com/apache/incubator-devlake/core/models/domainlayer/ticket"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/github/models"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/domainlayer"
+ "github.com/apache/devlake/core/models/domainlayer/didgen"
+ "github.com/apache/devlake/core/models/domainlayer/ticket"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/github/models"
)
func init() {
diff --git a/backend/plugins/github/tasks/issue_convertor.go b/backend/plugins/github/tasks/issue_convertor.go
index 2cb60d1..8184c13 100644
--- a/backend/plugins/github/tasks/issue_convertor.go
+++ b/backend/plugins/github/tasks/issue_convertor.go
@@ -21,14 +21,14 @@
"strconv"
"strings"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/domainlayer"
- "github.com/apache/incubator-devlake/core/models/domainlayer/didgen"
- "github.com/apache/incubator-devlake/core/models/domainlayer/ticket"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/github/models"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/domainlayer"
+ "github.com/apache/devlake/core/models/domainlayer/didgen"
+ "github.com/apache/devlake/core/models/domainlayer/ticket"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/github/models"
)
func init() {
diff --git a/backend/plugins/github/tasks/issue_extractor.go b/backend/plugins/github/tasks/issue_extractor.go
index 43a276f..2f77712 100644
--- a/backend/plugins/github/tasks/issue_extractor.go
+++ b/backend/plugins/github/tasks/issue_extractor.go
@@ -22,13 +22,13 @@
"regexp"
"strings"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/common"
- "github.com/apache/incubator-devlake/core/models/domainlayer/ticket"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/github/models"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/common"
+ "github.com/apache/devlake/core/models/domainlayer/ticket"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/github/models"
)
func init() {
diff --git a/backend/plugins/github/tasks/issue_field_mapping.go b/backend/plugins/github/tasks/issue_field_mapping.go
index aee0901..56b1bbc 100644
--- a/backend/plugins/github/tasks/issue_field_mapping.go
+++ b/backend/plugins/github/tasks/issue_field_mapping.go
@@ -22,11 +22,11 @@
"strings"
"time"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/domainlayer/ticket"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/plugins/github/models"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/domainlayer/ticket"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/plugins/github/models"
)
// issueFieldMapping is the resolved set of GitHub issue field names that should populate
diff --git a/backend/plugins/github/tasks/issue_field_mapping_test.go b/backend/plugins/github/tasks/issue_field_mapping_test.go
index 6c159bf..9b6f444 100644
--- a/backend/plugins/github/tasks/issue_field_mapping_test.go
+++ b/backend/plugins/github/tasks/issue_field_mapping_test.go
@@ -21,7 +21,7 @@
"testing"
"time"
- "github.com/apache/incubator-devlake/plugins/github/models"
+ "github.com/apache/devlake/plugins/github/models"
"github.com/stretchr/testify/assert"
)
diff --git a/backend/plugins/github/tasks/issue_field_value_collector.go b/backend/plugins/github/tasks/issue_field_value_collector.go
index 1721191..672f367 100644
--- a/backend/plugins/github/tasks/issue_field_value_collector.go
+++ b/backend/plugins/github/tasks/issue_field_value_collector.go
@@ -24,11 +24,11 @@
"net/url"
"reflect"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/github/models"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/github/models"
)
func init() {
diff --git a/backend/plugins/github/tasks/issue_field_value_extractor.go b/backend/plugins/github/tasks/issue_field_value_extractor.go
index 4ec955d..49f9da0 100644
--- a/backend/plugins/github/tasks/issue_field_value_extractor.go
+++ b/backend/plugins/github/tasks/issue_field_value_extractor.go
@@ -22,10 +22,10 @@
"strconv"
"strings"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/github/models"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/github/models"
)
func init() {
diff --git a/backend/plugins/github/tasks/issue_label_convertor.go b/backend/plugins/github/tasks/issue_label_convertor.go
index 6ef940b..80e2bff 100644
--- a/backend/plugins/github/tasks/issue_label_convertor.go
+++ b/backend/plugins/github/tasks/issue_label_convertor.go
@@ -18,13 +18,13 @@
package tasks
import (
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/domainlayer/didgen"
- "github.com/apache/incubator-devlake/core/models/domainlayer/ticket"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/github/models"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/domainlayer/didgen"
+ "github.com/apache/devlake/core/models/domainlayer/ticket"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/github/models"
)
func init() {
diff --git a/backend/plugins/github/tasks/milestone_collector.go b/backend/plugins/github/tasks/milestone_collector.go
index 9e60431..a16a423 100644
--- a/backend/plugins/github/tasks/milestone_collector.go
+++ b/backend/plugins/github/tasks/milestone_collector.go
@@ -23,9 +23,9 @@
"net/http"
"net/url"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
)
func init() {
diff --git a/backend/plugins/github/tasks/milestone_converter.go b/backend/plugins/github/tasks/milestone_converter.go
index fee9a56..bb2b488 100644
--- a/backend/plugins/github/tasks/milestone_converter.go
+++ b/backend/plugins/github/tasks/milestone_converter.go
@@ -20,15 +20,15 @@
import (
"reflect"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/common"
- "github.com/apache/incubator-devlake/core/models/domainlayer"
- "github.com/apache/incubator-devlake/core/models/domainlayer/didgen"
- "github.com/apache/incubator-devlake/core/models/domainlayer/ticket"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/github/models"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/common"
+ "github.com/apache/devlake/core/models/domainlayer"
+ "github.com/apache/devlake/core/models/domainlayer/didgen"
+ "github.com/apache/devlake/core/models/domainlayer/ticket"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/github/models"
)
func init() {
diff --git a/backend/plugins/github/tasks/milestone_extractor.go b/backend/plugins/github/tasks/milestone_extractor.go
index 4737bd4..9319b1f 100644
--- a/backend/plugins/github/tasks/milestone_extractor.go
+++ b/backend/plugins/github/tasks/milestone_extractor.go
@@ -18,11 +18,11 @@
package tasks
import (
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/common"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/github/models"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/common"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/github/models"
)
func init() {
diff --git a/backend/plugins/github/tasks/pr_collector.go b/backend/plugins/github/tasks/pr_collector.go
index 45178b0..05ca03b 100644
--- a/backend/plugins/github/tasks/pr_collector.go
+++ b/backend/plugins/github/tasks/pr_collector.go
@@ -26,11 +26,11 @@
"reflect"
"time"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/github/models"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/github/models"
)
func init() {
diff --git a/backend/plugins/github/tasks/pr_comment_convertor.go b/backend/plugins/github/tasks/pr_comment_convertor.go
index b02342e..23c29e1 100644
--- a/backend/plugins/github/tasks/pr_comment_convertor.go
+++ b/backend/plugins/github/tasks/pr_comment_convertor.go
@@ -18,14 +18,14 @@
package tasks
import (
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/domainlayer"
- "github.com/apache/incubator-devlake/core/models/domainlayer/code"
- "github.com/apache/incubator-devlake/core/models/domainlayer/didgen"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/github/models"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/domainlayer"
+ "github.com/apache/devlake/core/models/domainlayer/code"
+ "github.com/apache/devlake/core/models/domainlayer/didgen"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/github/models"
)
func init() {
diff --git a/backend/plugins/github/tasks/pr_commit_collector.go b/backend/plugins/github/tasks/pr_commit_collector.go
index 0604816..de2880c 100644
--- a/backend/plugins/github/tasks/pr_commit_collector.go
+++ b/backend/plugins/github/tasks/pr_commit_collector.go
@@ -24,14 +24,14 @@
"net/url"
"reflect"
- "github.com/apache/incubator-devlake/core/errors"
+ "github.com/apache/devlake/core/errors"
- "github.com/apache/incubator-devlake/core/dal"
+ "github.com/apache/devlake/core/dal"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/plugins/github/models"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/plugins/github/models"
)
func init() {
diff --git a/backend/plugins/github/tasks/pr_commit_convertor.go b/backend/plugins/github/tasks/pr_commit_convertor.go
index d21c343..a8761c9 100644
--- a/backend/plugins/github/tasks/pr_commit_convertor.go
+++ b/backend/plugins/github/tasks/pr_commit_convertor.go
@@ -18,13 +18,13 @@
package tasks
import (
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/domainlayer/code"
- "github.com/apache/incubator-devlake/core/models/domainlayer/didgen"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/github/models"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/domainlayer/code"
+ "github.com/apache/devlake/core/models/domainlayer/didgen"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/github/models"
)
func init() {
diff --git a/backend/plugins/github/tasks/pr_commit_extractor.go b/backend/plugins/github/tasks/pr_commit_extractor.go
index 536af4d..c48cfd0 100644
--- a/backend/plugins/github/tasks/pr_commit_extractor.go
+++ b/backend/plugins/github/tasks/pr_commit_extractor.go
@@ -21,12 +21,12 @@
"encoding/json"
"strings"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/common"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/common"
- "github.com/apache/incubator-devlake/core/plugin"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/github/models"
+ "github.com/apache/devlake/core/plugin"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/github/models"
)
func init() {
diff --git a/backend/plugins/github/tasks/pr_convertor.go b/backend/plugins/github/tasks/pr_convertor.go
index c4e27a6..3b39aca 100644
--- a/backend/plugins/github/tasks/pr_convertor.go
+++ b/backend/plugins/github/tasks/pr_convertor.go
@@ -18,14 +18,14 @@
package tasks
import (
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/domainlayer"
- "github.com/apache/incubator-devlake/core/models/domainlayer/code"
- "github.com/apache/incubator-devlake/core/models/domainlayer/didgen"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/github/models"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/domainlayer"
+ "github.com/apache/devlake/core/models/domainlayer/code"
+ "github.com/apache/devlake/core/models/domainlayer/didgen"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/github/models"
)
func init() {
diff --git a/backend/plugins/github/tasks/pr_extractor.go b/backend/plugins/github/tasks/pr_extractor.go
index 9c3f1ca..dd24eb0 100644
--- a/backend/plugins/github/tasks/pr_extractor.go
+++ b/backend/plugins/github/tasks/pr_extractor.go
@@ -21,12 +21,12 @@
"encoding/json"
"regexp"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/common"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/github/models"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/common"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/github/models"
)
func init() {
diff --git a/backend/plugins/github/tasks/pr_issue_convertor.go b/backend/plugins/github/tasks/pr_issue_convertor.go
index 0d72422..fa0e939 100644
--- a/backend/plugins/github/tasks/pr_issue_convertor.go
+++ b/backend/plugins/github/tasks/pr_issue_convertor.go
@@ -20,13 +20,13 @@
import (
"github.com/spf13/cast"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/domainlayer/crossdomain"
- "github.com/apache/incubator-devlake/core/models/domainlayer/didgen"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/github/models"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/domainlayer/crossdomain"
+ "github.com/apache/devlake/core/models/domainlayer/didgen"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/github/models"
)
func init() {
diff --git a/backend/plugins/github/tasks/pr_issue_enricher.go b/backend/plugins/github/tasks/pr_issue_enricher.go
index cf8228b..a93f3ed 100644
--- a/backend/plugins/github/tasks/pr_issue_enricher.go
+++ b/backend/plugins/github/tasks/pr_issue_enricher.go
@@ -22,11 +22,11 @@
"strconv"
"strings"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/github/models"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/github/models"
)
func init() {
diff --git a/backend/plugins/github/tasks/pr_label_convertor.go b/backend/plugins/github/tasks/pr_label_convertor.go
index 432a730..f3456a4 100644
--- a/backend/plugins/github/tasks/pr_label_convertor.go
+++ b/backend/plugins/github/tasks/pr_label_convertor.go
@@ -18,13 +18,13 @@
package tasks
import (
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/domainlayer/code"
- "github.com/apache/incubator-devlake/core/models/domainlayer/didgen"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/github/models"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/domainlayer/code"
+ "github.com/apache/devlake/core/models/domainlayer/didgen"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/github/models"
)
func init() {
diff --git a/backend/plugins/github/tasks/pr_review_collector.go b/backend/plugins/github/tasks/pr_review_collector.go
index e4a1664..3688b98 100644
--- a/backend/plugins/github/tasks/pr_review_collector.go
+++ b/backend/plugins/github/tasks/pr_review_collector.go
@@ -24,11 +24,11 @@
"net/url"
"reflect"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/github/models"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/github/models"
)
func init() {
diff --git a/backend/plugins/github/tasks/pr_review_comment_collector.go b/backend/plugins/github/tasks/pr_review_comment_collector.go
index ac29938..9fcbc0a 100644
--- a/backend/plugins/github/tasks/pr_review_comment_collector.go
+++ b/backend/plugins/github/tasks/pr_review_comment_collector.go
@@ -24,9 +24,9 @@
"net/url"
"time"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
)
func init() {
diff --git a/backend/plugins/github/tasks/pr_review_comment_extractor.go b/backend/plugins/github/tasks/pr_review_comment_extractor.go
index cc39806..c448a85 100644
--- a/backend/plugins/github/tasks/pr_review_comment_extractor.go
+++ b/backend/plugins/github/tasks/pr_review_comment_extractor.go
@@ -23,12 +23,12 @@
"regexp"
"strconv"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/common"
- "github.com/apache/incubator-devlake/core/plugin"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/github/models"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/common"
+ "github.com/apache/devlake/core/plugin"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/github/models"
)
func init() {
diff --git a/backend/plugins/github/tasks/pr_review_convertor.go b/backend/plugins/github/tasks/pr_review_convertor.go
index f266b13..e12d5e6 100644
--- a/backend/plugins/github/tasks/pr_review_convertor.go
+++ b/backend/plugins/github/tasks/pr_review_convertor.go
@@ -18,14 +18,14 @@
package tasks
import (
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/domainlayer"
- "github.com/apache/incubator-devlake/core/models/domainlayer/code"
- "github.com/apache/incubator-devlake/core/models/domainlayer/didgen"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/github/models"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/domainlayer"
+ "github.com/apache/devlake/core/models/domainlayer/code"
+ "github.com/apache/devlake/core/models/domainlayer/didgen"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/github/models"
)
func init() {
diff --git a/backend/plugins/github/tasks/pr_review_extractor.go b/backend/plugins/github/tasks/pr_review_extractor.go
index ff80154..0f59ab5 100644
--- a/backend/plugins/github/tasks/pr_review_extractor.go
+++ b/backend/plugins/github/tasks/pr_review_extractor.go
@@ -21,11 +21,11 @@
"encoding/json"
"strings"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/common"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/github/models"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/common"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/github/models"
)
func init() {
diff --git a/backend/plugins/github/tasks/register.go b/backend/plugins/github/tasks/register.go
index 51b12a7..ddff389 100644
--- a/backend/plugins/github/tasks/register.go
+++ b/backend/plugins/github/tasks/register.go
@@ -17,7 +17,7 @@
package tasks
-import "github.com/apache/incubator-devlake/core/plugin"
+import "github.com/apache/devlake/core/plugin"
var SubTaskMetaList []*plugin.SubTaskMeta
diff --git a/backend/plugins/github/tasks/release_convertor.go b/backend/plugins/github/tasks/release_convertor.go
index a5c2f94..5c93067 100644
--- a/backend/plugins/github/tasks/release_convertor.go
+++ b/backend/plugins/github/tasks/release_convertor.go
@@ -18,14 +18,14 @@
package tasks
import (
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/domainlayer"
- "github.com/apache/incubator-devlake/core/models/domainlayer/devops"
- "github.com/apache/incubator-devlake/core/models/domainlayer/didgen"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/github/models"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/domainlayer"
+ "github.com/apache/devlake/core/models/domainlayer/devops"
+ "github.com/apache/devlake/core/models/domainlayer/didgen"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/github/models"
)
func init() {
diff --git a/backend/plugins/github/tasks/repo_convertor.go b/backend/plugins/github/tasks/repo_convertor.go
index c6bff20..540e9f1 100644
--- a/backend/plugins/github/tasks/repo_convertor.go
+++ b/backend/plugins/github/tasks/repo_convertor.go
@@ -20,18 +20,18 @@
import (
"fmt"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/common"
- "github.com/apache/incubator-devlake/core/models/domainlayer"
- "github.com/apache/incubator-devlake/core/models/domainlayer/code"
- "github.com/apache/incubator-devlake/core/models/domainlayer/crossdomain"
- "github.com/apache/incubator-devlake/core/models/domainlayer/devops"
- "github.com/apache/incubator-devlake/core/models/domainlayer/didgen"
- "github.com/apache/incubator-devlake/core/models/domainlayer/ticket"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/github/models"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/common"
+ "github.com/apache/devlake/core/models/domainlayer"
+ "github.com/apache/devlake/core/models/domainlayer/code"
+ "github.com/apache/devlake/core/models/domainlayer/crossdomain"
+ "github.com/apache/devlake/core/models/domainlayer/devops"
+ "github.com/apache/devlake/core/models/domainlayer/didgen"
+ "github.com/apache/devlake/core/models/domainlayer/ticket"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/github/models"
)
type GithubApiRepo struct {
diff --git a/backend/plugins/github/tasks/review_convertor.go b/backend/plugins/github/tasks/review_convertor.go
index 18a0de2..22f4890 100644
--- a/backend/plugins/github/tasks/review_convertor.go
+++ b/backend/plugins/github/tasks/review_convertor.go
@@ -18,13 +18,13 @@
package tasks
import (
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/domainlayer/code"
- "github.com/apache/incubator-devlake/core/models/domainlayer/didgen"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/github/models"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/domainlayer/code"
+ "github.com/apache/devlake/core/models/domainlayer/didgen"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/github/models"
)
func init() {
diff --git a/backend/plugins/github/tasks/shared.go b/backend/plugins/github/tasks/shared.go
index 02976c3..f4803c4 100644
--- a/backend/plugins/github/tasks/shared.go
+++ b/backend/plugins/github/tasks/shared.go
@@ -20,11 +20,11 @@
import (
"net/http"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/github/models"
- "github.com/apache/incubator-devlake/plugins/github/utils"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/github/models"
+ "github.com/apache/devlake/plugins/github/utils"
)
const (
diff --git a/backend/plugins/github/tasks/task_data.go b/backend/plugins/github/tasks/task_data.go
index e154427..1574aae 100644
--- a/backend/plugins/github/tasks/task_data.go
+++ b/backend/plugins/github/tasks/task_data.go
@@ -21,9 +21,9 @@
"fmt"
"strings"
- "github.com/apache/incubator-devlake/core/errors"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/github/models"
+ "github.com/apache/devlake/core/errors"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/github/models"
)
type GithubOptions struct {
diff --git a/backend/plugins/github/token/app_installation_refresh.go b/backend/plugins/github/token/app_installation_refresh.go
index 2f4cf04..814a9b9 100644
--- a/backend/plugins/github/token/app_installation_refresh.go
+++ b/backend/plugins/github/token/app_installation_refresh.go
@@ -20,11 +20,11 @@
import (
"time"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/log"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/plugins/github/models"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/log"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/plugins/github/models"
)
// tokenPrefix returns the first n characters of a token for safe logging.
diff --git a/backend/plugins/github/token/refresh_api_client.go b/backend/plugins/github/token/refresh_api_client.go
index 134ab2f..2d5d28f 100644
--- a/backend/plugins/github/token/refresh_api_client.go
+++ b/backend/plugins/github/token/refresh_api_client.go
@@ -25,9 +25,9 @@
"net/url"
"time"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
)
type refreshApiClient struct {
diff --git a/backend/plugins/github/token/round_tripper_test.go b/backend/plugins/github/token/round_tripper_test.go
index 2748d59..efc8465 100644
--- a/backend/plugins/github/token/round_tripper_test.go
+++ b/backend/plugins/github/token/round_tripper_test.go
@@ -24,10 +24,10 @@
"testing"
"time"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/impls/logruslog"
- "github.com/apache/incubator-devlake/plugins/github/models"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/impls/logruslog"
+ "github.com/apache/devlake/plugins/github/models"
"github.com/sirupsen/logrus"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/mock"
diff --git a/backend/plugins/github/token/token_provider.go b/backend/plugins/github/token/token_provider.go
index 6af31aa..41b615e 100644
--- a/backend/plugins/github/token/token_provider.go
+++ b/backend/plugins/github/token/token_provider.go
@@ -29,10 +29,10 @@
"sync"
"time"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/log"
- "github.com/apache/incubator-devlake/plugins/github/models"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/log"
+ "github.com/apache/devlake/plugins/github/models"
)
const (
diff --git a/backend/plugins/github/token/token_provider_test.go b/backend/plugins/github/token/token_provider_test.go
index a754ad6..0df0e43 100644
--- a/backend/plugins/github/token/token_provider_test.go
+++ b/backend/plugins/github/token/token_provider_test.go
@@ -26,10 +26,10 @@
"testing"
"time"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/impls/logruslog"
- "github.com/apache/incubator-devlake/plugins/github/models"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/impls/logruslog"
+ "github.com/apache/devlake/plugins/github/models"
"github.com/sirupsen/logrus"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/mock"
diff --git a/backend/plugins/github/utils/utils.go b/backend/plugins/github/utils/utils.go
index 85125e6..353b9c6 100644
--- a/backend/plugins/github/utils/utils.go
+++ b/backend/plugins/github/utils/utils.go
@@ -18,7 +18,7 @@
package utils
import (
- "github.com/apache/incubator-devlake/core/errors"
+ "github.com/apache/devlake/core/errors"
"net/http"
"regexp"
diff --git a/backend/plugins/github_graphql/e2e/deployment_test.go b/backend/plugins/github_graphql/e2e/deployment_test.go
index ea91458..ff30f16 100644
--- a/backend/plugins/github_graphql/e2e/deployment_test.go
+++ b/backend/plugins/github_graphql/e2e/deployment_test.go
@@ -20,15 +20,15 @@
import (
"testing"
- "github.com/apache/incubator-devlake/core/models/common"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/core/models/common"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/core/models/domainlayer/devops"
- "github.com/apache/incubator-devlake/helpers/e2ehelper"
- "github.com/apache/incubator-devlake/plugins/github/impl"
- "github.com/apache/incubator-devlake/plugins/github/models"
- "github.com/apache/incubator-devlake/plugins/github/tasks"
- githubGraphQLTasks "github.com/apache/incubator-devlake/plugins/github_graphql/tasks"
+ "github.com/apache/devlake/core/models/domainlayer/devops"
+ "github.com/apache/devlake/helpers/e2ehelper"
+ "github.com/apache/devlake/plugins/github/impl"
+ "github.com/apache/devlake/plugins/github/models"
+ "github.com/apache/devlake/plugins/github/tasks"
+ githubGraphQLTasks "github.com/apache/devlake/plugins/github_graphql/tasks"
)
func TestGithubDeploymentDataFlow(t *testing.T) {
diff --git a/backend/plugins/github_graphql/impl/impl.go b/backend/plugins/github_graphql/impl/impl.go
index f56c776..afd1189 100644
--- a/backend/plugins/github_graphql/impl/impl.go
+++ b/backend/plugins/github_graphql/impl/impl.go
@@ -23,18 +23,18 @@
"reflect"
"time"
- "github.com/apache/incubator-devlake/core/models/domainlayer/devops"
+ "github.com/apache/devlake/core/models/domainlayer/devops"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/log"
- "github.com/apache/incubator-devlake/core/plugin"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- githubImpl "github.com/apache/incubator-devlake/plugins/github/impl"
- "github.com/apache/incubator-devlake/plugins/github/models"
- githubTasks "github.com/apache/incubator-devlake/plugins/github/tasks"
- "github.com/apache/incubator-devlake/plugins/github_graphql/model/migrationscripts"
- "github.com/apache/incubator-devlake/plugins/github_graphql/tasks"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/log"
+ "github.com/apache/devlake/core/plugin"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
+ githubImpl "github.com/apache/devlake/plugins/github/impl"
+ "github.com/apache/devlake/plugins/github/models"
+ githubTasks "github.com/apache/devlake/plugins/github/tasks"
+ "github.com/apache/devlake/plugins/github_graphql/model/migrationscripts"
+ "github.com/apache/devlake/plugins/github_graphql/tasks"
"github.com/merico-ai/graphql"
)
@@ -228,7 +228,7 @@
// RootPkgPath information lost when compiled as plugin(.so)
func (p GithubGraphql) RootPkgPath() string {
- return "github.com/apache/incubator-devlake/plugins/githubGraphql"
+ return "github.com/apache/devlake/plugins/githubGraphql"
}
func (p GithubGraphql) ApiResources() map[string]map[string]plugin.ApiResourceHandler {
diff --git a/backend/plugins/github_graphql/model/migrationscripts/20240808_flush_rawdata.go b/backend/plugins/github_graphql/model/migrationscripts/20240808_flush_rawdata.go
index 57039e1..b92c2f1 100644
--- a/backend/plugins/github_graphql/model/migrationscripts/20240808_flush_rawdata.go
+++ b/backend/plugins/github_graphql/model/migrationscripts/20240808_flush_rawdata.go
@@ -18,10 +18,10 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
)
var _ plugin.MigrationScript = (*flushRawData)(nil)
diff --git a/backend/plugins/github_graphql/model/migrationscripts/20260215_add_finished_date.go b/backend/plugins/github_graphql/model/migrationscripts/20260215_add_finished_date.go
index 36077d5..3114c92 100644
--- a/backend/plugins/github_graphql/model/migrationscripts/20260215_add_finished_date.go
+++ b/backend/plugins/github_graphql/model/migrationscripts/20260215_add_finished_date.go
@@ -20,10 +20,10 @@
import (
"time"
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/migrationhelper"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/migrationhelper"
)
var _ plugin.MigrationScript = (*addFinishedDateToGithubDeployment)(nil)
diff --git a/backend/plugins/github_graphql/model/migrationscripts/register.go b/backend/plugins/github_graphql/model/migrationscripts/register.go
index a0163f7..e086d9f 100644
--- a/backend/plugins/github_graphql/model/migrationscripts/register.go
+++ b/backend/plugins/github_graphql/model/migrationscripts/register.go
@@ -18,7 +18,7 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/plugin"
+ "github.com/apache/devlake/core/plugin"
)
// All return all the migration scripts
diff --git a/backend/plugins/github_graphql/plugin_main.go b/backend/plugins/github_graphql/plugin_main.go
index af79257..067dde3 100644
--- a/backend/plugins/github_graphql/plugin_main.go
+++ b/backend/plugins/github_graphql/plugin_main.go
@@ -18,8 +18,8 @@
package main
import (
- "github.com/apache/incubator-devlake/core/runner"
- "github.com/apache/incubator-devlake/plugins/github_graphql/impl"
+ "github.com/apache/devlake/core/runner"
+ "github.com/apache/devlake/plugins/github_graphql/impl"
"github.com/spf13/cobra"
)
diff --git a/backend/plugins/github_graphql/tasks/account_collector.go b/backend/plugins/github_graphql/tasks/account_collector.go
index 37ecb97..20a5474 100644
--- a/backend/plugins/github_graphql/tasks/account_collector.go
+++ b/backend/plugins/github_graphql/tasks/account_collector.go
@@ -21,12 +21,12 @@
"encoding/json"
"reflect"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/github/models"
- githubTasks "github.com/apache/incubator-devlake/plugins/github/tasks"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/github/models"
+ githubTasks "github.com/apache/devlake/plugins/github/tasks"
"github.com/merico-ai/graphql"
)
diff --git a/backend/plugins/github_graphql/tasks/account_extractor.go b/backend/plugins/github_graphql/tasks/account_extractor.go
index 9be27af..fc6e9bb 100644
--- a/backend/plugins/github_graphql/tasks/account_extractor.go
+++ b/backend/plugins/github_graphql/tasks/account_extractor.go
@@ -20,11 +20,11 @@
import (
"encoding/json"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/github/models"
- githubTasks "github.com/apache/incubator-devlake/plugins/github/tasks"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/github/models"
+ githubTasks "github.com/apache/devlake/plugins/github/tasks"
)
var _ plugin.SubTaskEntryPoint = ExtractAccounts
diff --git a/backend/plugins/github_graphql/tasks/account_graphql_pre_extractor.go b/backend/plugins/github_graphql/tasks/account_graphql_pre_extractor.go
index 54bc44a..6e114cb 100644
--- a/backend/plugins/github_graphql/tasks/account_graphql_pre_extractor.go
+++ b/backend/plugins/github_graphql/tasks/account_graphql_pre_extractor.go
@@ -20,7 +20,7 @@
import (
"strings"
- "github.com/apache/incubator-devlake/plugins/github/models"
+ "github.com/apache/devlake/plugins/github/models"
)
// botLoginSuffix is how the REST API reports a bot login: `dependabot[bot]`.
diff --git a/backend/plugins/github_graphql/tasks/deployment_collector.go b/backend/plugins/github_graphql/tasks/deployment_collector.go
index e224faf..a4c026c 100644
--- a/backend/plugins/github_graphql/tasks/deployment_collector.go
+++ b/backend/plugins/github_graphql/tasks/deployment_collector.go
@@ -22,10 +22,10 @@
"strings"
"time"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- githubTasks "github.com/apache/incubator-devlake/plugins/github/tasks"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
+ githubTasks "github.com/apache/devlake/plugins/github/tasks"
"github.com/merico-ai/graphql"
)
diff --git a/backend/plugins/github_graphql/tasks/deployment_convertor.go b/backend/plugins/github_graphql/tasks/deployment_convertor.go
index 420cffa..fa706ec 100644
--- a/backend/plugins/github_graphql/tasks/deployment_convertor.go
+++ b/backend/plugins/github_graphql/tasks/deployment_convertor.go
@@ -21,15 +21,15 @@
"reflect"
"time"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/domainlayer"
- "github.com/apache/incubator-devlake/core/models/domainlayer/devops"
- "github.com/apache/incubator-devlake/core/models/domainlayer/didgen"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/github/models"
- restTasks "github.com/apache/incubator-devlake/plugins/github/tasks"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/domainlayer"
+ "github.com/apache/devlake/core/models/domainlayer/devops"
+ "github.com/apache/devlake/core/models/domainlayer/didgen"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/github/models"
+ restTasks "github.com/apache/devlake/plugins/github/tasks"
)
const (
diff --git a/backend/plugins/github_graphql/tasks/deployment_extractor.go b/backend/plugins/github_graphql/tasks/deployment_extractor.go
index b3b4659..12e0a31 100644
--- a/backend/plugins/github_graphql/tasks/deployment_extractor.go
+++ b/backend/plugins/github_graphql/tasks/deployment_extractor.go
@@ -22,12 +22,12 @@
"strings"
"time"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/common"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- githubModels "github.com/apache/incubator-devlake/plugins/github/models"
- githubTasks "github.com/apache/incubator-devlake/plugins/github/tasks"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/common"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ githubModels "github.com/apache/devlake/plugins/github/models"
+ githubTasks "github.com/apache/devlake/plugins/github/tasks"
)
var _ plugin.SubTaskEntryPoint = ExtractDeployments
diff --git a/backend/plugins/github_graphql/tasks/graphql_client.go b/backend/plugins/github_graphql/tasks/graphql_client.go
index 9c248e1..984f5a2 100644
--- a/backend/plugins/github_graphql/tasks/graphql_client.go
+++ b/backend/plugins/github_graphql/tasks/graphql_client.go
@@ -26,11 +26,11 @@
"github.com/merico-ai/graphql"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/log"
- "github.com/apache/incubator-devlake/core/plugin"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/github/models"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/log"
+ "github.com/apache/devlake/core/plugin"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/github/models"
)
func CreateGraphqlClient(
diff --git a/backend/plugins/github_graphql/tasks/issue_collector.go b/backend/plugins/github_graphql/tasks/issue_collector.go
index 9069a1c..d895c23 100644
--- a/backend/plugins/github_graphql/tasks/issue_collector.go
+++ b/backend/plugins/github_graphql/tasks/issue_collector.go
@@ -25,15 +25,15 @@
"sync"
"time"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/log"
- "github.com/apache/incubator-devlake/core/models/common"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/core/utils"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/github/models"
- githubTasks "github.com/apache/incubator-devlake/plugins/github/tasks"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/log"
+ "github.com/apache/devlake/core/models/common"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/core/utils"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/github/models"
+ githubTasks "github.com/apache/devlake/plugins/github/tasks"
"github.com/merico-ai/graphql"
)
diff --git a/backend/plugins/github_graphql/tasks/issue_collector_test.go b/backend/plugins/github_graphql/tasks/issue_collector_test.go
index 6649b3e..6666d35 100644
--- a/backend/plugins/github_graphql/tasks/issue_collector_test.go
+++ b/backend/plugins/github_graphql/tasks/issue_collector_test.go
@@ -20,8 +20,8 @@
import (
"testing"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/models/common"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/models/common"
"github.com/stretchr/testify/assert"
)
diff --git a/backend/plugins/github_graphql/tasks/issue_extractor.go b/backend/plugins/github_graphql/tasks/issue_extractor.go
index a825c6a..345b6fc 100644
--- a/backend/plugins/github_graphql/tasks/issue_extractor.go
+++ b/backend/plugins/github_graphql/tasks/issue_extractor.go
@@ -21,14 +21,14 @@
"encoding/json"
"strings"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/domainlayer/ticket"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/core/utils"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/github/models"
- githubTasks "github.com/apache/incubator-devlake/plugins/github/tasks"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/domainlayer/ticket"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/core/utils"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/github/models"
+ githubTasks "github.com/apache/devlake/plugins/github/tasks"
)
var _ plugin.SubTaskEntryPoint = ExtractAccounts
diff --git a/backend/plugins/github_graphql/tasks/job_collector.go b/backend/plugins/github_graphql/tasks/job_collector.go
index 05fd670..7690838 100644
--- a/backend/plugins/github_graphql/tasks/job_collector.go
+++ b/backend/plugins/github_graphql/tasks/job_collector.go
@@ -22,13 +22,13 @@
"reflect"
"time"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/core/utils"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/github/models"
- githubTasks "github.com/apache/incubator-devlake/plugins/github/tasks"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/core/utils"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/github/models"
+ githubTasks "github.com/apache/devlake/plugins/github/tasks"
"github.com/merico-ai/graphql"
)
diff --git a/backend/plugins/github_graphql/tasks/job_collector_test.go b/backend/plugins/github_graphql/tasks/job_collector_test.go
index 5d3d8a0..e11131a 100644
--- a/backend/plugins/github_graphql/tasks/job_collector_test.go
+++ b/backend/plugins/github_graphql/tasks/job_collector_test.go
@@ -22,7 +22,7 @@
"testing"
"time"
- "github.com/apache/incubator-devlake/core/errors"
+ "github.com/apache/devlake/core/errors"
"github.com/stretchr/testify/assert"
)
diff --git a/backend/plugins/github_graphql/tasks/job_extractor.go b/backend/plugins/github_graphql/tasks/job_extractor.go
index ea4b7c7..f16952e 100644
--- a/backend/plugins/github_graphql/tasks/job_extractor.go
+++ b/backend/plugins/github_graphql/tasks/job_extractor.go
@@ -21,13 +21,13 @@
"encoding/json"
"strings"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/domainlayer/devops"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/core/utils"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/github/models"
- githubTasks "github.com/apache/incubator-devlake/plugins/github/tasks"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/domainlayer/devops"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/core/utils"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/github/models"
+ githubTasks "github.com/apache/devlake/plugins/github/tasks"
)
var _ plugin.SubTaskEntryPoint = ExtractAccounts
diff --git a/backend/plugins/github_graphql/tasks/pr_collector.go b/backend/plugins/github_graphql/tasks/pr_collector.go
index c05cac2..760f9c2 100644
--- a/backend/plugins/github_graphql/tasks/pr_collector.go
+++ b/backend/plugins/github_graphql/tasks/pr_collector.go
@@ -23,12 +23,12 @@
"strings"
"time"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/github/models"
- "github.com/apache/incubator-devlake/plugins/github/tasks"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/github/models"
+ "github.com/apache/devlake/plugins/github/tasks"
"github.com/merico-ai/graphql"
)
diff --git a/backend/plugins/github_graphql/tasks/pr_extractor.go b/backend/plugins/github_graphql/tasks/pr_extractor.go
index 8d6fd86..d3236b2 100644
--- a/backend/plugins/github_graphql/tasks/pr_extractor.go
+++ b/backend/plugins/github_graphql/tasks/pr_extractor.go
@@ -21,11 +21,11 @@
"encoding/json"
"regexp"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/github/models"
- githubTasks "github.com/apache/incubator-devlake/plugins/github/tasks"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/github/models"
+ githubTasks "github.com/apache/devlake/plugins/github/tasks"
)
var _ plugin.SubTaskEntryPoint = ExtractPrs
diff --git a/backend/plugins/github_graphql/tasks/release_collector.go b/backend/plugins/github_graphql/tasks/release_collector.go
index 1f9f86c..5a072e8 100644
--- a/backend/plugins/github_graphql/tasks/release_collector.go
+++ b/backend/plugins/github_graphql/tasks/release_collector.go
@@ -22,11 +22,11 @@
"strings"
"time"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/core/utils"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- githubTasks "github.com/apache/incubator-devlake/plugins/github/tasks"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/core/utils"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
+ githubTasks "github.com/apache/devlake/plugins/github/tasks"
"github.com/merico-ai/graphql"
)
diff --git a/backend/plugins/github_graphql/tasks/release_extractor.go b/backend/plugins/github_graphql/tasks/release_extractor.go
index 6fd4f25..e55a43b 100644
--- a/backend/plugins/github_graphql/tasks/release_extractor.go
+++ b/backend/plugins/github_graphql/tasks/release_extractor.go
@@ -20,13 +20,13 @@
import (
"encoding/json"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/common"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/core/utils"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- githubModels "github.com/apache/incubator-devlake/plugins/github/models"
- githubTasks "github.com/apache/incubator-devlake/plugins/github/tasks"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/common"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/core/utils"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ githubModels "github.com/apache/devlake/plugins/github/models"
+ githubTasks "github.com/apache/devlake/plugins/github/tasks"
)
var _ plugin.SubTaskEntryPoint = ExtractReleases
diff --git a/backend/plugins/github_graphql/tasks/shared.go b/backend/plugins/github_graphql/tasks/shared.go
index 2c263ff..47205df 100644
--- a/backend/plugins/github_graphql/tasks/shared.go
+++ b/backend/plugins/github_graphql/tasks/shared.go
@@ -18,10 +18,10 @@
package tasks
import (
- "github.com/apache/incubator-devlake/core/plugin"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/github/models"
- githubTasks "github.com/apache/incubator-devlake/plugins/github/tasks"
+ "github.com/apache/devlake/core/plugin"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/github/models"
+ githubTasks "github.com/apache/devlake/plugins/github/tasks"
)
func CreateRawDataSubTaskArgs(taskCtx plugin.SubTaskContext, table string) (*helper.RawDataSubTaskArgs, *githubTasks.GithubTaskData) {
diff --git a/backend/plugins/gitlab/api/blueprint_V200_test.go b/backend/plugins/gitlab/api/blueprint_V200_test.go
index fde792f..5c383a7 100644
--- a/backend/plugins/gitlab/api/blueprint_V200_test.go
+++ b/backend/plugins/gitlab/api/blueprint_V200_test.go
@@ -20,21 +20,21 @@
import (
"testing"
- coreModels "github.com/apache/incubator-devlake/core/models"
- mockplugin "github.com/apache/incubator-devlake/mocks/core/plugin"
+ coreModels "github.com/apache/devlake/core/models"
+ mockplugin "github.com/apache/devlake/mocks/core/plugin"
- "github.com/apache/incubator-devlake/core/models/common"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/helpers/srvhelper"
- "github.com/apache/incubator-devlake/plugins/gitlab/models"
- "github.com/apache/incubator-devlake/plugins/gitlab/tasks"
+ "github.com/apache/devlake/core/models/common"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/helpers/srvhelper"
+ "github.com/apache/devlake/plugins/gitlab/models"
+ "github.com/apache/devlake/plugins/gitlab/tasks"
"github.com/stretchr/testify/assert"
)
func mockGitlabPlugin(t *testing.T) {
mockMeta := mockplugin.NewPluginMeta(t)
- mockMeta.On("RootPkgPath").Return("github.com/apache/incubator-devlake/plugins/gitlab")
+ mockMeta.On("RootPkgPath").Return("github.com/apache/devlake/plugins/gitlab")
mockMeta.On("Name").Return("dummy").Maybe()
err := plugin.RegisterPlugin(pluginName, mockMeta)
assert.Equal(t, err, nil)
diff --git a/backend/plugins/gitlab/api/blueprint_v200.go b/backend/plugins/gitlab/api/blueprint_v200.go
index 515e896..5f8b7de 100644
--- a/backend/plugins/gitlab/api/blueprint_v200.go
+++ b/backend/plugins/gitlab/api/blueprint_v200.go
@@ -24,20 +24,20 @@
"net/http"
"net/url"
- "github.com/apache/incubator-devlake/plugins/gitlab/tasks"
+ "github.com/apache/devlake/plugins/gitlab/tasks"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/utils"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/utils"
- coreModels "github.com/apache/incubator-devlake/core/models"
- "github.com/apache/incubator-devlake/core/models/domainlayer/code"
- "github.com/apache/incubator-devlake/core/models/domainlayer/devops"
- "github.com/apache/incubator-devlake/core/models/domainlayer/didgen"
- "github.com/apache/incubator-devlake/core/models/domainlayer/ticket"
- plugin "github.com/apache/incubator-devlake/core/plugin"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/helpers/srvhelper"
- "github.com/apache/incubator-devlake/plugins/gitlab/models"
+ coreModels "github.com/apache/devlake/core/models"
+ "github.com/apache/devlake/core/models/domainlayer/code"
+ "github.com/apache/devlake/core/models/domainlayer/devops"
+ "github.com/apache/devlake/core/models/domainlayer/didgen"
+ "github.com/apache/devlake/core/models/domainlayer/ticket"
+ plugin "github.com/apache/devlake/core/plugin"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/helpers/srvhelper"
+ "github.com/apache/devlake/plugins/gitlab/models"
)
func MakePipelinePlanV200(
diff --git a/backend/plugins/gitlab/api/connection_api.go b/backend/plugins/gitlab/api/connection_api.go
index 598d5b9..6eb70be 100644
--- a/backend/plugins/gitlab/api/connection_api.go
+++ b/backend/plugins/gitlab/api/connection_api.go
@@ -23,11 +23,11 @@
"net/http"
"net/url"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/gitlab/models"
- "github.com/apache/incubator-devlake/server/api/shared"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/gitlab/models"
+ "github.com/apache/devlake/server/api/shared"
)
type GitlabTestConnResponse struct {
diff --git a/backend/plugins/gitlab/api/init.go b/backend/plugins/gitlab/api/init.go
index fd63abc..701ba54 100644
--- a/backend/plugins/gitlab/api/init.go
+++ b/backend/plugins/gitlab/api/init.go
@@ -18,10 +18,10 @@
package api
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/gitlab/models"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/gitlab/models"
"github.com/go-playground/validator/v10"
)
diff --git a/backend/plugins/gitlab/api/remote_api.go b/backend/plugins/gitlab/api/remote_api.go
index b34f4ba..f7e7c21 100644
--- a/backend/plugins/gitlab/api/remote_api.go
+++ b/backend/plugins/gitlab/api/remote_api.go
@@ -23,11 +23,11 @@
"net/url"
"strings"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- dsmodels "github.com/apache/incubator-devlake/helpers/pluginhelper/api/models"
- "github.com/apache/incubator-devlake/plugins/gitlab/models"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ dsmodels "github.com/apache/devlake/helpers/pluginhelper/api/models"
+ "github.com/apache/devlake/plugins/gitlab/models"
)
const USERS_PREFIX = "user:"
diff --git a/backend/plugins/gitlab/api/scope_api.go b/backend/plugins/gitlab/api/scope_api.go
index f176a21..a88964b 100644
--- a/backend/plugins/gitlab/api/scope_api.go
+++ b/backend/plugins/gitlab/api/scope_api.go
@@ -18,10 +18,10 @@
package api
import (
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/gitlab/models"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/gitlab/models"
)
type PutScopesReqBody api.PutScopesReqBody[models.GitlabProject]
diff --git a/backend/plugins/gitlab/api/scope_config_api.go b/backend/plugins/gitlab/api/scope_config_api.go
index a97c505..f196387 100644
--- a/backend/plugins/gitlab/api/scope_config_api.go
+++ b/backend/plugins/gitlab/api/scope_config_api.go
@@ -18,8 +18,8 @@
package api
import (
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
)
// CreateScopeConfig create scope config for Gitlab
diff --git a/backend/plugins/gitlab/api/scope_duplicates_api.go b/backend/plugins/gitlab/api/scope_duplicates_api.go
index dd0517d..7c5d4a4 100644
--- a/backend/plugins/gitlab/api/scope_duplicates_api.go
+++ b/backend/plugins/gitlab/api/scope_duplicates_api.go
@@ -22,9 +22,9 @@
"strconv"
"strings"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
)
// ScopeDuplicateConnection is a connection that shares a project scope.
diff --git a/backend/plugins/gitlab/api/scope_duplicates_api_test.go b/backend/plugins/gitlab/api/scope_duplicates_api_test.go
index dd4d8d5..50aed86 100644
--- a/backend/plugins/gitlab/api/scope_duplicates_api_test.go
+++ b/backend/plugins/gitlab/api/scope_duplicates_api_test.go
@@ -21,7 +21,7 @@
"net/url"
"testing"
- "github.com/apache/incubator-devlake/core/plugin"
+ "github.com/apache/devlake/core/plugin"
"github.com/stretchr/testify/assert"
)
diff --git a/backend/plugins/gitlab/api/scope_state_api.go b/backend/plugins/gitlab/api/scope_state_api.go
index 73f0289..622b04b 100644
--- a/backend/plugins/gitlab/api/scope_state_api.go
+++ b/backend/plugins/gitlab/api/scope_state_api.go
@@ -18,8 +18,8 @@
package api
import (
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
)
// GetScopeLatestSyncState get one GitLab repo's latest sync state
diff --git a/backend/plugins/gitlab/api/swagger.go b/backend/plugins/gitlab/api/swagger.go
index 73b146c..9be2a21 100644
--- a/backend/plugins/gitlab/api/swagger.go
+++ b/backend/plugins/gitlab/api/swagger.go
@@ -18,7 +18,7 @@
package api
import (
- "github.com/apache/incubator-devlake/plugins/gitlab/tasks"
+ "github.com/apache/devlake/plugins/gitlab/tasks"
)
type GitlabTaskOptions tasks.GitlabOptions
diff --git a/backend/plugins/gitlab/e2e/account_test.go b/backend/plugins/gitlab/e2e/account_test.go
index 26f20c0..190b365 100644
--- a/backend/plugins/gitlab/e2e/account_test.go
+++ b/backend/plugins/gitlab/e2e/account_test.go
@@ -21,12 +21,12 @@
"testing"
"time"
- "github.com/apache/incubator-devlake/core/models/domainlayer/crossdomain"
- "github.com/apache/incubator-devlake/helpers/e2ehelper"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/gitlab/impl"
- "github.com/apache/incubator-devlake/plugins/gitlab/models"
- "github.com/apache/incubator-devlake/plugins/gitlab/tasks"
+ "github.com/apache/devlake/core/models/domainlayer/crossdomain"
+ "github.com/apache/devlake/helpers/e2ehelper"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/gitlab/impl"
+ "github.com/apache/devlake/plugins/gitlab/models"
+ "github.com/apache/devlake/plugins/gitlab/tasks"
)
func TestGitlabAccountDataFlow(t *testing.T) {
diff --git a/backend/plugins/gitlab/e2e/deployment_test.go b/backend/plugins/gitlab/e2e/deployment_test.go
index 7b32ead..a5602b5 100644
--- a/backend/plugins/gitlab/e2e/deployment_test.go
+++ b/backend/plugins/gitlab/e2e/deployment_test.go
@@ -20,12 +20,12 @@
import (
"testing"
- "github.com/apache/incubator-devlake/core/models/common"
- "github.com/apache/incubator-devlake/core/models/domainlayer/devops"
- "github.com/apache/incubator-devlake/helpers/e2ehelper"
- "github.com/apache/incubator-devlake/plugins/gitlab/impl"
- "github.com/apache/incubator-devlake/plugins/gitlab/models"
- "github.com/apache/incubator-devlake/plugins/gitlab/tasks"
+ "github.com/apache/devlake/core/models/common"
+ "github.com/apache/devlake/core/models/domainlayer/devops"
+ "github.com/apache/devlake/helpers/e2ehelper"
+ "github.com/apache/devlake/plugins/gitlab/impl"
+ "github.com/apache/devlake/plugins/gitlab/models"
+ "github.com/apache/devlake/plugins/gitlab/tasks"
)
func TestGitlabDeploymentDataFlow(t *testing.T) {
diff --git a/backend/plugins/gitlab/e2e/issues_test.go b/backend/plugins/gitlab/e2e/issues_test.go
index 0553af3..33a1d3d 100644
--- a/backend/plugins/gitlab/e2e/issues_test.go
+++ b/backend/plugins/gitlab/e2e/issues_test.go
@@ -20,11 +20,11 @@
import (
"testing"
- "github.com/apache/incubator-devlake/core/models/domainlayer/ticket"
- "github.com/apache/incubator-devlake/helpers/e2ehelper"
- "github.com/apache/incubator-devlake/plugins/gitlab/impl"
- "github.com/apache/incubator-devlake/plugins/gitlab/models"
- "github.com/apache/incubator-devlake/plugins/gitlab/tasks"
+ "github.com/apache/devlake/core/models/domainlayer/ticket"
+ "github.com/apache/devlake/helpers/e2ehelper"
+ "github.com/apache/devlake/plugins/gitlab/impl"
+ "github.com/apache/devlake/plugins/gitlab/models"
+ "github.com/apache/devlake/plugins/gitlab/tasks"
)
func TestGitlabIssueDataFlow(t *testing.T) {
diff --git a/backend/plugins/gitlab/e2e/job_test.go b/backend/plugins/gitlab/e2e/job_test.go
index 64f4582..9c37391 100644
--- a/backend/plugins/gitlab/e2e/job_test.go
+++ b/backend/plugins/gitlab/e2e/job_test.go
@@ -20,13 +20,13 @@
import (
"testing"
- "github.com/apache/incubator-devlake/core/models/common"
- "github.com/apache/incubator-devlake/core/models/domainlayer/devops"
- "github.com/apache/incubator-devlake/helpers/e2ehelper"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/gitlab/impl"
- "github.com/apache/incubator-devlake/plugins/gitlab/models"
- "github.com/apache/incubator-devlake/plugins/gitlab/tasks"
+ "github.com/apache/devlake/core/models/common"
+ "github.com/apache/devlake/core/models/domainlayer/devops"
+ "github.com/apache/devlake/helpers/e2ehelper"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/gitlab/impl"
+ "github.com/apache/devlake/plugins/gitlab/models"
+ "github.com/apache/devlake/plugins/gitlab/tasks"
)
func TestGitlabJobDataFlow(t *testing.T) {
diff --git a/backend/plugins/gitlab/e2e/mr_commits_test.go b/backend/plugins/gitlab/e2e/mr_commits_test.go
index 2f85cc7..350af6e 100644
--- a/backend/plugins/gitlab/e2e/mr_commits_test.go
+++ b/backend/plugins/gitlab/e2e/mr_commits_test.go
@@ -20,12 +20,12 @@
import (
"testing"
- "github.com/apache/incubator-devlake/core/models/common"
- "github.com/apache/incubator-devlake/core/models/domainlayer/code"
- "github.com/apache/incubator-devlake/helpers/e2ehelper"
- "github.com/apache/incubator-devlake/plugins/gitlab/impl"
- "github.com/apache/incubator-devlake/plugins/gitlab/models"
- "github.com/apache/incubator-devlake/plugins/gitlab/tasks"
+ "github.com/apache/devlake/core/models/common"
+ "github.com/apache/devlake/core/models/domainlayer/code"
+ "github.com/apache/devlake/helpers/e2ehelper"
+ "github.com/apache/devlake/plugins/gitlab/impl"
+ "github.com/apache/devlake/plugins/gitlab/models"
+ "github.com/apache/devlake/plugins/gitlab/tasks"
)
func TestGitlabMrCommitDataFlow(t *testing.T) {
diff --git a/backend/plugins/gitlab/e2e/mr_detail_test.go b/backend/plugins/gitlab/e2e/mr_detail_test.go
index 02d1e55..85900c2 100644
--- a/backend/plugins/gitlab/e2e/mr_detail_test.go
+++ b/backend/plugins/gitlab/e2e/mr_detail_test.go
@@ -20,12 +20,12 @@
import (
"testing"
- "github.com/apache/incubator-devlake/core/models/common"
- "github.com/apache/incubator-devlake/core/models/domainlayer/code"
- "github.com/apache/incubator-devlake/helpers/e2ehelper"
- "github.com/apache/incubator-devlake/plugins/gitlab/impl"
- "github.com/apache/incubator-devlake/plugins/gitlab/models"
- "github.com/apache/incubator-devlake/plugins/gitlab/tasks"
+ "github.com/apache/devlake/core/models/common"
+ "github.com/apache/devlake/core/models/domainlayer/code"
+ "github.com/apache/devlake/helpers/e2ehelper"
+ "github.com/apache/devlake/plugins/gitlab/impl"
+ "github.com/apache/devlake/plugins/gitlab/models"
+ "github.com/apache/devlake/plugins/gitlab/tasks"
)
func TestGitlabMrDetailDataFlow(t *testing.T) {
diff --git a/backend/plugins/gitlab/e2e/mr_notes_test.go b/backend/plugins/gitlab/e2e/mr_notes_test.go
index 6f4d021..6656781 100644
--- a/backend/plugins/gitlab/e2e/mr_notes_test.go
+++ b/backend/plugins/gitlab/e2e/mr_notes_test.go
@@ -20,11 +20,11 @@
import (
"testing"
- "github.com/apache/incubator-devlake/core/models/domainlayer/code"
- "github.com/apache/incubator-devlake/helpers/e2ehelper"
- "github.com/apache/incubator-devlake/plugins/gitlab/impl"
- "github.com/apache/incubator-devlake/plugins/gitlab/models"
- "github.com/apache/incubator-devlake/plugins/gitlab/tasks"
+ "github.com/apache/devlake/core/models/domainlayer/code"
+ "github.com/apache/devlake/helpers/e2ehelper"
+ "github.com/apache/devlake/plugins/gitlab/impl"
+ "github.com/apache/devlake/plugins/gitlab/models"
+ "github.com/apache/devlake/plugins/gitlab/tasks"
)
func TestGitlabMrNoteDataFlow(t *testing.T) {
diff --git a/backend/plugins/gitlab/e2e/mr_test.go b/backend/plugins/gitlab/e2e/mr_test.go
index e95e3de..a1789ee 100644
--- a/backend/plugins/gitlab/e2e/mr_test.go
+++ b/backend/plugins/gitlab/e2e/mr_test.go
@@ -20,12 +20,12 @@
import (
"testing"
- "github.com/apache/incubator-devlake/core/models/common"
- "github.com/apache/incubator-devlake/core/models/domainlayer/code"
- "github.com/apache/incubator-devlake/helpers/e2ehelper"
- "github.com/apache/incubator-devlake/plugins/gitlab/impl"
- "github.com/apache/incubator-devlake/plugins/gitlab/models"
- "github.com/apache/incubator-devlake/plugins/gitlab/tasks"
+ "github.com/apache/devlake/core/models/common"
+ "github.com/apache/devlake/core/models/domainlayer/code"
+ "github.com/apache/devlake/helpers/e2ehelper"
+ "github.com/apache/devlake/plugins/gitlab/impl"
+ "github.com/apache/devlake/plugins/gitlab/models"
+ "github.com/apache/devlake/plugins/gitlab/tasks"
)
func TestGitlabMrDataFlow(t *testing.T) {
diff --git a/backend/plugins/gitlab/e2e/pipelines_detail_test.go b/backend/plugins/gitlab/e2e/pipelines_detail_test.go
index ea1c3dc..0b8e8d7 100644
--- a/backend/plugins/gitlab/e2e/pipelines_detail_test.go
+++ b/backend/plugins/gitlab/e2e/pipelines_detail_test.go
@@ -20,13 +20,13 @@
import (
"testing"
- "github.com/apache/incubator-devlake/core/models/common"
- "github.com/apache/incubator-devlake/core/models/domainlayer/devops"
- "github.com/apache/incubator-devlake/helpers/e2ehelper"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/gitlab/impl"
- "github.com/apache/incubator-devlake/plugins/gitlab/models"
- "github.com/apache/incubator-devlake/plugins/gitlab/tasks"
+ "github.com/apache/devlake/core/models/common"
+ "github.com/apache/devlake/core/models/domainlayer/devops"
+ "github.com/apache/devlake/helpers/e2ehelper"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/gitlab/impl"
+ "github.com/apache/devlake/plugins/gitlab/models"
+ "github.com/apache/devlake/plugins/gitlab/tasks"
)
func TestGitlabPipelineDetailDataFlow(t *testing.T) {
diff --git a/backend/plugins/gitlab/e2e/pipelines_test.go b/backend/plugins/gitlab/e2e/pipelines_test.go
index 513e2e9..ebfc13a 100644
--- a/backend/plugins/gitlab/e2e/pipelines_test.go
+++ b/backend/plugins/gitlab/e2e/pipelines_test.go
@@ -20,12 +20,12 @@
import (
"testing"
- "github.com/apache/incubator-devlake/core/models/domainlayer/devops"
- "github.com/apache/incubator-devlake/helpers/e2ehelper"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/gitlab/impl"
- "github.com/apache/incubator-devlake/plugins/gitlab/models"
- "github.com/apache/incubator-devlake/plugins/gitlab/tasks"
+ "github.com/apache/devlake/core/models/domainlayer/devops"
+ "github.com/apache/devlake/helpers/e2ehelper"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/gitlab/impl"
+ "github.com/apache/devlake/plugins/gitlab/models"
+ "github.com/apache/devlake/plugins/gitlab/tasks"
)
func TestGitlabPipelineDataFlow(t *testing.T) {
diff --git a/backend/plugins/gitlab/e2e/project_test.go b/backend/plugins/gitlab/e2e/project_test.go
index e0c2a13..43f3cb1 100644
--- a/backend/plugins/gitlab/e2e/project_test.go
+++ b/backend/plugins/gitlab/e2e/project_test.go
@@ -20,17 +20,17 @@
import (
"testing"
- "github.com/apache/incubator-devlake/core/models/common"
- "github.com/apache/incubator-devlake/core/models/domainlayer/devops"
+ "github.com/apache/devlake/core/models/common"
+ "github.com/apache/devlake/core/models/domainlayer/devops"
- "github.com/apache/incubator-devlake/core/models/domainlayer/crossdomain"
- "github.com/apache/incubator-devlake/core/models/domainlayer/ticket"
+ "github.com/apache/devlake/core/models/domainlayer/crossdomain"
+ "github.com/apache/devlake/core/models/domainlayer/ticket"
- "github.com/apache/incubator-devlake/core/models/domainlayer/code"
- "github.com/apache/incubator-devlake/helpers/e2ehelper"
- "github.com/apache/incubator-devlake/plugins/gitlab/impl"
- "github.com/apache/incubator-devlake/plugins/gitlab/models"
- "github.com/apache/incubator-devlake/plugins/gitlab/tasks"
+ "github.com/apache/devlake/core/models/domainlayer/code"
+ "github.com/apache/devlake/helpers/e2ehelper"
+ "github.com/apache/devlake/plugins/gitlab/impl"
+ "github.com/apache/devlake/plugins/gitlab/models"
+ "github.com/apache/devlake/plugins/gitlab/tasks"
)
func TestGitlabProjectDataFlow(t *testing.T) {
diff --git a/backend/plugins/gitlab/e2e/trigger_job_test.go b/backend/plugins/gitlab/e2e/trigger_job_test.go
index 4d697dd..35cb845 100644
--- a/backend/plugins/gitlab/e2e/trigger_job_test.go
+++ b/backend/plugins/gitlab/e2e/trigger_job_test.go
@@ -20,12 +20,12 @@
import (
"testing"
- "github.com/apache/incubator-devlake/core/models/domainlayer/devops"
- "github.com/apache/incubator-devlake/helpers/e2ehelper"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/gitlab/impl"
- "github.com/apache/incubator-devlake/plugins/gitlab/models"
- "github.com/apache/incubator-devlake/plugins/gitlab/tasks"
+ "github.com/apache/devlake/core/models/domainlayer/devops"
+ "github.com/apache/devlake/helpers/e2ehelper"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/gitlab/impl"
+ "github.com/apache/devlake/plugins/gitlab/models"
+ "github.com/apache/devlake/plugins/gitlab/tasks"
)
func TestGitlabTriggerJobDataFlow(t *testing.T) {
diff --git a/backend/plugins/gitlab/gitlab.go b/backend/plugins/gitlab/gitlab.go
index 1875853..761ea6c 100644
--- a/backend/plugins/gitlab/gitlab.go
+++ b/backend/plugins/gitlab/gitlab.go
@@ -18,8 +18,8 @@
package main // must be main for plugin entry point
import (
- "github.com/apache/incubator-devlake/core/runner"
- "github.com/apache/incubator-devlake/plugins/gitlab/impl"
+ "github.com/apache/devlake/core/runner"
+ "github.com/apache/devlake/plugins/gitlab/impl"
"github.com/spf13/cobra"
)
diff --git a/backend/plugins/gitlab/impl/impl.go b/backend/plugins/gitlab/impl/impl.go
index 3dbd367..2ae9e56 100644
--- a/backend/plugins/gitlab/impl/impl.go
+++ b/backend/plugins/gitlab/impl/impl.go
@@ -20,19 +20,19 @@
import (
"fmt"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/subtaskmeta/sorter"
+ "github.com/apache/devlake/helpers/pluginhelper/subtaskmeta/sorter"
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- coreModels "github.com/apache/incubator-devlake/core/models"
- "github.com/apache/incubator-devlake/core/models/domainlayer/devops"
- "github.com/apache/incubator-devlake/core/plugin"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/gitlab/api"
- "github.com/apache/incubator-devlake/plugins/gitlab/models"
- "github.com/apache/incubator-devlake/plugins/gitlab/models/migrationscripts"
- "github.com/apache/incubator-devlake/plugins/gitlab/tasks"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ coreModels "github.com/apache/devlake/core/models"
+ "github.com/apache/devlake/core/models/domainlayer/devops"
+ "github.com/apache/devlake/core/plugin"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/gitlab/api"
+ "github.com/apache/devlake/plugins/gitlab/models"
+ "github.com/apache/devlake/plugins/gitlab/models/migrationscripts"
+ "github.com/apache/devlake/plugins/gitlab/tasks"
)
var _ interface {
@@ -222,7 +222,7 @@
}
func (p Gitlab) RootPkgPath() string {
- return "github.com/apache/incubator-devlake/plugins/gitlab"
+ return "github.com/apache/devlake/plugins/gitlab"
}
func (p Gitlab) MigrationScripts() []plugin.MigrationScript {
diff --git a/backend/plugins/gitlab/models/account.go b/backend/plugins/gitlab/models/account.go
index d646583..869b07e 100644
--- a/backend/plugins/gitlab/models/account.go
+++ b/backend/plugins/gitlab/models/account.go
@@ -20,7 +20,7 @@
import (
"time"
- "github.com/apache/incubator-devlake/core/models/common"
+ "github.com/apache/devlake/core/models/common"
)
type GitlabAccount struct {
diff --git a/backend/plugins/gitlab/models/assignee.go b/backend/plugins/gitlab/models/assignee.go
index 0fa4960..87b7342 100644
--- a/backend/plugins/gitlab/models/assignee.go
+++ b/backend/plugins/gitlab/models/assignee.go
@@ -18,7 +18,7 @@
package models
import (
- "github.com/apache/incubator-devlake/core/models/common"
+ "github.com/apache/devlake/core/models/common"
)
type GitlabAssignee struct {
diff --git a/backend/plugins/gitlab/models/commit.go b/backend/plugins/gitlab/models/commit.go
index e71d487..29f4671 100644
--- a/backend/plugins/gitlab/models/commit.go
+++ b/backend/plugins/gitlab/models/commit.go
@@ -18,7 +18,7 @@
package models
import (
- "github.com/apache/incubator-devlake/core/models/common"
+ "github.com/apache/devlake/core/models/common"
"time"
)
diff --git a/backend/plugins/gitlab/models/connection.go b/backend/plugins/gitlab/models/connection.go
index e1ad49d..8dac40d 100644
--- a/backend/plugins/gitlab/models/connection.go
+++ b/backend/plugins/gitlab/models/connection.go
@@ -19,12 +19,12 @@
import (
"fmt"
- "github.com/apache/incubator-devlake/core/utils"
+ "github.com/apache/devlake/core/utils"
"net/http"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
)
// GitlabConn holds the essential information to connect to the Gitlab API
diff --git a/backend/plugins/gitlab/models/deployment.go b/backend/plugins/gitlab/models/deployment.go
index 06b7067..035389e 100644
--- a/backend/plugins/gitlab/models/deployment.go
+++ b/backend/plugins/gitlab/models/deployment.go
@@ -20,7 +20,7 @@
import (
"time"
- "github.com/apache/incubator-devlake/core/models/common"
+ "github.com/apache/devlake/core/models/common"
)
type GitlabDeployment struct {
diff --git a/backend/plugins/gitlab/models/issue.go b/backend/plugins/gitlab/models/issue.go
index 36d66b5..7ed9284 100644
--- a/backend/plugins/gitlab/models/issue.go
+++ b/backend/plugins/gitlab/models/issue.go
@@ -20,7 +20,7 @@
import (
"time"
- "github.com/apache/incubator-devlake/core/models/common"
+ "github.com/apache/devlake/core/models/common"
)
type GitlabIssue struct {
diff --git a/backend/plugins/gitlab/models/issue_assignee.go b/backend/plugins/gitlab/models/issue_assignee.go
index d00c3cc..66fb738 100644
--- a/backend/plugins/gitlab/models/issue_assignee.go
+++ b/backend/plugins/gitlab/models/issue_assignee.go
@@ -17,7 +17,7 @@
package models
-import "github.com/apache/incubator-devlake/core/models/common"
+import "github.com/apache/devlake/core/models/common"
type GitlabIssueAssignee struct {
common.NoPKModel
diff --git a/backend/plugins/gitlab/models/issue_label.go b/backend/plugins/gitlab/models/issue_label.go
index e6df16d..7159f3c 100644
--- a/backend/plugins/gitlab/models/issue_label.go
+++ b/backend/plugins/gitlab/models/issue_label.go
@@ -18,7 +18,7 @@
package models
import (
- "github.com/apache/incubator-devlake/core/models/common"
+ "github.com/apache/devlake/core/models/common"
)
// Please note that Issue Labels can also apply to Pull Requests.
diff --git a/backend/plugins/gitlab/models/job.go b/backend/plugins/gitlab/models/job.go
index 4f6df38..04c0d4d 100644
--- a/backend/plugins/gitlab/models/job.go
+++ b/backend/plugins/gitlab/models/job.go
@@ -18,7 +18,7 @@
package models
import (
- "github.com/apache/incubator-devlake/core/models/common"
+ "github.com/apache/devlake/core/models/common"
"time"
)
diff --git a/backend/plugins/gitlab/models/migrationscripts/20220714_add_init_tables.go b/backend/plugins/gitlab/models/migrationscripts/20220714_add_init_tables.go
index 5d0241d..4b2f582 100644
--- a/backend/plugins/gitlab/models/migrationscripts/20220714_add_init_tables.go
+++ b/backend/plugins/gitlab/models/migrationscripts/20220714_add_init_tables.go
@@ -18,11 +18,11 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/migrationhelper"
- "github.com/apache/incubator-devlake/plugins/gitlab/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/migrationhelper"
+ "github.com/apache/devlake/plugins/gitlab/models/migrationscripts/archived"
"strconv"
)
diff --git a/backend/plugins/gitlab/models/migrationscripts/20220729_add_gitlab_ci.go b/backend/plugins/gitlab/models/migrationscripts/20220729_add_gitlab_ci.go
index 286cea9..7a1e0e5 100644
--- a/backend/plugins/gitlab/models/migrationscripts/20220729_add_gitlab_ci.go
+++ b/backend/plugins/gitlab/models/migrationscripts/20220729_add_gitlab_ci.go
@@ -18,10 +18,10 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
- "github.com/apache/incubator-devlake/helpers/migrationhelper"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/helpers/migrationhelper"
"time"
)
diff --git a/backend/plugins/gitlab/models/migrationscripts/20220804_add_pipeline_id.go b/backend/plugins/gitlab/models/migrationscripts/20220804_add_pipeline_id.go
index 3fefacb..15e23a5 100644
--- a/backend/plugins/gitlab/models/migrationscripts/20220804_add_pipeline_id.go
+++ b/backend/plugins/gitlab/models/migrationscripts/20220804_add_pipeline_id.go
@@ -18,9 +18,9 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/migrationscripts/archived"
"time"
)
diff --git a/backend/plugins/gitlab/models/migrationscripts/20220906_fix_duration_to_float8.go b/backend/plugins/gitlab/models/migrationscripts/20220906_fix_duration_to_float8.go
index 9636e58..977159e 100644
--- a/backend/plugins/gitlab/models/migrationscripts/20220906_fix_duration_to_float8.go
+++ b/backend/plugins/gitlab/models/migrationscripts/20220906_fix_duration_to_float8.go
@@ -18,9 +18,9 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/helpers/migrationhelper"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/helpers/migrationhelper"
)
type fixDurationToFloat8 struct{}
diff --git a/backend/plugins/gitlab/models/migrationscripts/20220907_add_pipeline_projects_tables.go b/backend/plugins/gitlab/models/migrationscripts/20220907_add_pipeline_projects_tables.go
index 7eeffcc..c1cbe6a 100644
--- a/backend/plugins/gitlab/models/migrationscripts/20220907_add_pipeline_projects_tables.go
+++ b/backend/plugins/gitlab/models/migrationscripts/20220907_add_pipeline_projects_tables.go
@@ -18,10 +18,10 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
- "github.com/apache/incubator-devlake/helpers/migrationhelper"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/helpers/migrationhelper"
)
type addPipelineProjects struct{}
diff --git a/backend/plugins/gitlab/models/migrationscripts/20221125_add_trasformation_rule_table.go b/backend/plugins/gitlab/models/migrationscripts/20221125_add_trasformation_rule_table.go
index e55f444..11f6cff 100644
--- a/backend/plugins/gitlab/models/migrationscripts/20221125_add_trasformation_rule_table.go
+++ b/backend/plugins/gitlab/models/migrationscripts/20221125_add_trasformation_rule_table.go
@@ -18,10 +18,10 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/helpers/migrationhelper"
- "github.com/apache/incubator-devlake/plugins/gitlab/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/helpers/migrationhelper"
+ "github.com/apache/devlake/plugins/gitlab/models/migrationscripts/archived"
)
type gitlabProject20221125 struct {
diff --git a/backend/plugins/gitlab/models/migrationscripts/20221230_add_std_type_to_gitlabissue.go b/backend/plugins/gitlab/models/migrationscripts/20221230_add_std_type_to_gitlabissue.go
index 4f73cfb..748b4bc 100644
--- a/backend/plugins/gitlab/models/migrationscripts/20221230_add_std_type_to_gitlabissue.go
+++ b/backend/plugins/gitlab/models/migrationscripts/20221230_add_std_type_to_gitlabissue.go
@@ -18,8 +18,8 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
)
type gitlabIssue221230 struct {
diff --git a/backend/plugins/gitlab/models/migrationscripts/20230210_add_is_detail_required.go b/backend/plugins/gitlab/models/migrationscripts/20230210_add_is_detail_required.go
index 8d19ce3..746049b 100644
--- a/backend/plugins/gitlab/models/migrationscripts/20230210_add_is_detail_required.go
+++ b/backend/plugins/gitlab/models/migrationscripts/20230210_add_is_detail_required.go
@@ -18,9 +18,9 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/helpers/migrationhelper"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/helpers/migrationhelper"
"time"
)
diff --git a/backend/plugins/gitlab/models/migrationscripts/20230322_add_connection_id_to_transformation_rules.go b/backend/plugins/gitlab/models/migrationscripts/20230322_add_connection_id_to_transformation_rules.go
index 47328b0..87d1a8d 100644
--- a/backend/plugins/gitlab/models/migrationscripts/20230322_add_connection_id_to_transformation_rules.go
+++ b/backend/plugins/gitlab/models/migrationscripts/20230322_add_connection_id_to_transformation_rules.go
@@ -18,10 +18,10 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/helpers/migrationhelper"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/helpers/migrationhelper"
)
type addConnectionIdToTransformationRule struct{}
diff --git a/backend/plugins/gitlab/models/migrationscripts/20230419_add_type_env_to_pipeline.go b/backend/plugins/gitlab/models/migrationscripts/20230419_add_type_env_to_pipeline.go
index fed04a0..cb3aa5c 100644
--- a/backend/plugins/gitlab/models/migrationscripts/20230419_add_type_env_to_pipeline.go
+++ b/backend/plugins/gitlab/models/migrationscripts/20230419_add_type_env_to_pipeline.go
@@ -18,9 +18,9 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/helpers/migrationhelper"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/helpers/migrationhelper"
)
type addTypeEnvToPipeline struct{}
diff --git a/backend/plugins/gitlab/models/migrationscripts/20230420_add_mr_commit_author_info.go b/backend/plugins/gitlab/models/migrationscripts/20230420_add_mr_commit_author_info.go
index 9f28b95..40aecef 100644
--- a/backend/plugins/gitlab/models/migrationscripts/20230420_add_mr_commit_author_info.go
+++ b/backend/plugins/gitlab/models/migrationscripts/20230420_add_mr_commit_author_info.go
@@ -20,10 +20,10 @@
import (
"time"
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/migrationhelper"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/migrationhelper"
)
var _ plugin.MigrationScript = (*addGitlabCommitAuthorInfo)(nil)
diff --git a/backend/plugins/gitlab/models/migrationscripts/20230529_scope_config.go b/backend/plugins/gitlab/models/migrationscripts/20230529_scope_config.go
index a4a3a4e..6f1eb9a 100644
--- a/backend/plugins/gitlab/models/migrationscripts/20230529_scope_config.go
+++ b/backend/plugins/gitlab/models/migrationscripts/20230529_scope_config.go
@@ -18,9 +18,9 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/helpers/migrationhelper"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/helpers/migrationhelper"
)
type renameTr2ScopeConfig struct {
diff --git a/backend/plugins/gitlab/models/migrationscripts/20230606_add_issue_assignee.go b/backend/plugins/gitlab/models/migrationscripts/20230606_add_issue_assignee.go
index 00c0ef1..488baed 100644
--- a/backend/plugins/gitlab/models/migrationscripts/20230606_add_issue_assignee.go
+++ b/backend/plugins/gitlab/models/migrationscripts/20230606_add_issue_assignee.go
@@ -18,10 +18,10 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/helpers/migrationhelper"
- "github.com/apache/incubator-devlake/plugins/gitlab/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/helpers/migrationhelper"
+ "github.com/apache/devlake/plugins/gitlab/models/migrationscripts/archived"
)
type addGitlabIssueAssignee struct{}
diff --git a/backend/plugins/gitlab/models/migrationscripts/20230625_add_mr_commitsha.go b/backend/plugins/gitlab/models/migrationscripts/20230625_add_mr_commitsha.go
index 21c9335..1b64941 100644
--- a/backend/plugins/gitlab/models/migrationscripts/20230625_add_mr_commitsha.go
+++ b/backend/plugins/gitlab/models/migrationscripts/20230625_add_mr_commitsha.go
@@ -18,9 +18,9 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/helpers/migrationhelper"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/helpers/migrationhelper"
)
type addMrCommitSha struct{}
diff --git a/backend/plugins/gitlab/models/migrationscripts/20230630_add_raw_param_table_for_scopes.go b/backend/plugins/gitlab/models/migrationscripts/20230630_add_raw_param_table_for_scopes.go
index 37f1e8f..eee33e0 100644
--- a/backend/plugins/gitlab/models/migrationscripts/20230630_add_raw_param_table_for_scopes.go
+++ b/backend/plugins/gitlab/models/migrationscripts/20230630_add_raw_param_table_for_scopes.go
@@ -22,11 +22,11 @@
"fmt"
"strconv"
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/migrationhelper"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/migrationhelper"
)
var _ plugin.MigrationScript = (*addRawParamTableForScope)(nil)
diff --git a/backend/plugins/gitlab/models/migrationscripts/20230712_add_archived_to_tool_gitlab_projects.go b/backend/plugins/gitlab/models/migrationscripts/20230712_add_archived_to_tool_gitlab_projects.go
index 516753d..1b290c8 100644
--- a/backend/plugins/gitlab/models/migrationscripts/20230712_add_archived_to_tool_gitlab_projects.go
+++ b/backend/plugins/gitlab/models/migrationscripts/20230712_add_archived_to_tool_gitlab_projects.go
@@ -18,8 +18,8 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
)
type gitlabProject20230711 struct {
diff --git a/backend/plugins/gitlab/models/migrationscripts/20230926_add_deployment.go b/backend/plugins/gitlab/models/migrationscripts/20230926_add_deployment.go
index b8674c9..35108bd 100644
--- a/backend/plugins/gitlab/models/migrationscripts/20230926_add_deployment.go
+++ b/backend/plugins/gitlab/models/migrationscripts/20230926_add_deployment.go
@@ -18,9 +18,9 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/plugins/gitlab/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/plugins/gitlab/models/migrationscripts/archived"
)
type addDeployment struct {
diff --git a/backend/plugins/gitlab/models/migrationscripts/20231026_add_env_name_pattern_to_tool_gitlab_scope_configs.go b/backend/plugins/gitlab/models/migrationscripts/20231026_add_env_name_pattern_to_tool_gitlab_scope_configs.go
index 49e7487..84d2054 100644
--- a/backend/plugins/gitlab/models/migrationscripts/20231026_add_env_name_pattern_to_tool_gitlab_scope_configs.go
+++ b/backend/plugins/gitlab/models/migrationscripts/20231026_add_env_name_pattern_to_tool_gitlab_scope_configs.go
@@ -18,10 +18,10 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/migrationhelper"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/migrationhelper"
)
var _ plugin.MigrationScript = (*addEnvNamePattern)(nil)
diff --git a/backend/plugins/gitlab/models/migrationscripts/20231129_add_queued_duration_to_pipeline_and_task.go b/backend/plugins/gitlab/models/migrationscripts/20231129_add_queued_duration_to_pipeline_and_task.go
index a579e70..6946f69 100644
--- a/backend/plugins/gitlab/models/migrationscripts/20231129_add_queued_duration_to_pipeline_and_task.go
+++ b/backend/plugins/gitlab/models/migrationscripts/20231129_add_queued_duration_to_pipeline_and_task.go
@@ -18,9 +18,9 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
)
var _ plugin.MigrationScript = (*addQueuedDuration20231129)(nil)
diff --git a/backend/plugins/gitlab/models/migrationscripts/20231207_modify_deployment_message_type.go b/backend/plugins/gitlab/models/migrationscripts/20231207_modify_deployment_message_type.go
index 961ccef..ea2c867 100644
--- a/backend/plugins/gitlab/models/migrationscripts/20231207_modify_deployment_message_type.go
+++ b/backend/plugins/gitlab/models/migrationscripts/20231207_modify_deployment_message_type.go
@@ -18,9 +18,9 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
)
var _ plugin.MigrationScript = (*modifyDeploymentMessageType)(nil)
diff --git a/backend/plugins/gitlab/models/migrationscripts/20231220_add_created_user_at_tool_gitlab_account.go b/backend/plugins/gitlab/models/migrationscripts/20231220_add_created_user_at_tool_gitlab_account.go
index f46c000..a8ae530 100644
--- a/backend/plugins/gitlab/models/migrationscripts/20231220_add_created_user_at_tool_gitlab_account.go
+++ b/backend/plugins/gitlab/models/migrationscripts/20231220_add_created_user_at_tool_gitlab_account.go
@@ -20,9 +20,9 @@
import (
"time"
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/helpers/migrationhelper"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/helpers/migrationhelper"
)
type gitlabAccount20231120 struct {
diff --git a/backend/plugins/gitlab/models/migrationscripts/20231221_add_time_filed_to_pipeline_projects.go b/backend/plugins/gitlab/models/migrationscripts/20231221_add_time_filed_to_pipeline_projects.go
index 8b9e0a0..ce5e875 100644
--- a/backend/plugins/gitlab/models/migrationscripts/20231221_add_time_filed_to_pipeline_projects.go
+++ b/backend/plugins/gitlab/models/migrationscripts/20231221_add_time_filed_to_pipeline_projects.go
@@ -20,9 +20,9 @@
import (
"time"
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/helpers/migrationhelper"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/helpers/migrationhelper"
)
type gitlabPipelineProject20231221 struct {
diff --git a/backend/plugins/gitlab/models/migrationscripts/20240305_modify_deployment_commit_title_type.go b/backend/plugins/gitlab/models/migrationscripts/20240305_modify_deployment_commit_title_type.go
index b6a9cea..abe77dc 100644
--- a/backend/plugins/gitlab/models/migrationscripts/20240305_modify_deployment_commit_title_type.go
+++ b/backend/plugins/gitlab/models/migrationscripts/20240305_modify_deployment_commit_title_type.go
@@ -18,9 +18,9 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
)
var _ plugin.MigrationScript = (*modifyDeploymentCommitTitle)(nil)
diff --git a/backend/plugins/gitlab/models/migrationscripts/20240411_add_web_url_to_pipeline.go b/backend/plugins/gitlab/models/migrationscripts/20240411_add_web_url_to_pipeline.go
index 16d4b88..49f1dd5 100644
--- a/backend/plugins/gitlab/models/migrationscripts/20240411_add_web_url_to_pipeline.go
+++ b/backend/plugins/gitlab/models/migrationscripts/20240411_add_web_url_to_pipeline.go
@@ -18,9 +18,9 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/helpers/migrationhelper"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/helpers/migrationhelper"
)
type addWebUrlToGitlabPipelineProject struct{}
diff --git a/backend/plugins/gitlab/models/migrationscripts/20240531_add_mr_assignees.go b/backend/plugins/gitlab/models/migrationscripts/20240531_add_mr_assignees.go
index 9085774..766db67 100644
--- a/backend/plugins/gitlab/models/migrationscripts/20240531_add_mr_assignees.go
+++ b/backend/plugins/gitlab/models/migrationscripts/20240531_add_mr_assignees.go
@@ -18,10 +18,10 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/helpers/migrationhelper"
- "github.com/apache/incubator-devlake/plugins/gitlab/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/helpers/migrationhelper"
+ "github.com/apache/devlake/plugins/gitlab/models/migrationscripts/archived"
)
type addGitlabAssignee struct{}
diff --git a/backend/plugins/gitlab/models/migrationscripts/20240605_add_mr_assignees_and_reviewers_primary_key.go b/backend/plugins/gitlab/models/migrationscripts/20240605_add_mr_assignees_and_reviewers_primary_key.go
index ef37640..bf70cbe 100644
--- a/backend/plugins/gitlab/models/migrationscripts/20240605_add_mr_assignees_and_reviewers_primary_key.go
+++ b/backend/plugins/gitlab/models/migrationscripts/20240605_add_mr_assignees_and_reviewers_primary_key.go
@@ -18,11 +18,11 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- archivedCore "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
- "github.com/apache/incubator-devlake/helpers/migrationhelper"
- "github.com/apache/incubator-devlake/plugins/gitlab/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ archivedCore "github.com/apache/devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/helpers/migrationhelper"
+ "github.com/apache/devlake/plugins/gitlab/models/migrationscripts/archived"
)
type addGitlabAssigneeAndReviewerPrimaryKey struct{}
diff --git a/backend/plugins/gitlab/models/migrationscripts/20240813_change_issue_component_type.go b/backend/plugins/gitlab/models/migrationscripts/20240813_change_issue_component_type.go
index a4cb898..87aac1b 100644
--- a/backend/plugins/gitlab/models/migrationscripts/20240813_change_issue_component_type.go
+++ b/backend/plugins/gitlab/models/migrationscripts/20240813_change_issue_component_type.go
@@ -18,9 +18,9 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
)
var _ plugin.MigrationScript = (*changeIssueComponentType)(nil)
diff --git a/backend/plugins/gitlab/models/migrationscripts/20240904_remove_mr_review_fields.go b/backend/plugins/gitlab/models/migrationscripts/20240904_remove_mr_review_fields.go
index 2628033..d0b89d6 100644
--- a/backend/plugins/gitlab/models/migrationscripts/20240904_remove_mr_review_fields.go
+++ b/backend/plugins/gitlab/models/migrationscripts/20240904_remove_mr_review_fields.go
@@ -18,9 +18,9 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
)
var _ plugin.MigrationScript = (*removeMrEnricherFields)(nil)
diff --git a/backend/plugins/gitlab/models/migrationscripts/20240906_add_source_to_pipelines.go b/backend/plugins/gitlab/models/migrationscripts/20240906_add_source_to_pipelines.go
index 1040b5e..ccf96d7 100644
--- a/backend/plugins/gitlab/models/migrationscripts/20240906_add_source_to_pipelines.go
+++ b/backend/plugins/gitlab/models/migrationscripts/20240906_add_source_to_pipelines.go
@@ -18,8 +18,8 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
)
type gitlabPipelineProject240906 struct {
diff --git a/backend/plugins/gitlab/models/migrationscripts/20250921_add_pr_size_excluded_extensions.go b/backend/plugins/gitlab/models/migrationscripts/20250921_add_pr_size_excluded_extensions.go
index a0971e3..01456c0 100644
--- a/backend/plugins/gitlab/models/migrationscripts/20250921_add_pr_size_excluded_extensions.go
+++ b/backend/plugins/gitlab/models/migrationscripts/20250921_add_pr_size_excluded_extensions.go
@@ -18,10 +18,10 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/migrationhelper"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/migrationhelper"
)
var _ plugin.MigrationScript = (*addPrSizeExcludedFileExtensions)(nil)
diff --git a/backend/plugins/gitlab/models/migrationscripts/20260812_add_mr_commit_updated_at.go b/backend/plugins/gitlab/models/migrationscripts/20260812_add_mr_commit_updated_at.go
index b88b665..a9894e8 100644
--- a/backend/plugins/gitlab/models/migrationscripts/20260812_add_mr_commit_updated_at.go
+++ b/backend/plugins/gitlab/models/migrationscripts/20260812_add_mr_commit_updated_at.go
@@ -20,9 +20,9 @@
import (
"time"
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
)
var _ plugin.MigrationScript = (*addMrCommitUpdatedAt)(nil)
diff --git a/backend/plugins/gitlab/models/migrationscripts/add_additions_deletions_to_mr.go b/backend/plugins/gitlab/models/migrationscripts/add_additions_deletions_to_mr.go
index f59b662..01b9f48 100644
--- a/backend/plugins/gitlab/models/migrationscripts/add_additions_deletions_to_mr.go
+++ b/backend/plugins/gitlab/models/migrationscripts/add_additions_deletions_to_mr.go
@@ -18,9 +18,9 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
)
var _ plugin.MigrationScript = (*addAdditionsDeletionsToMr)(nil)
diff --git a/backend/plugins/gitlab/models/migrationscripts/archived/account.go b/backend/plugins/gitlab/models/migrationscripts/archived/account.go
index b2ad84b..1da964e 100644
--- a/backend/plugins/gitlab/models/migrationscripts/archived/account.go
+++ b/backend/plugins/gitlab/models/migrationscripts/archived/account.go
@@ -18,7 +18,7 @@
package archived
import (
- "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/models/migrationscripts/archived"
)
type GitlabAccount struct {
diff --git a/backend/plugins/gitlab/models/migrationscripts/archived/assignee.go b/backend/plugins/gitlab/models/migrationscripts/archived/assignee.go
index bc283ea..95f540d 100644
--- a/backend/plugins/gitlab/models/migrationscripts/archived/assignee.go
+++ b/backend/plugins/gitlab/models/migrationscripts/archived/assignee.go
@@ -18,7 +18,7 @@
package archived
import (
- "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/models/migrationscripts/archived"
)
type GitlabAssignee struct {
diff --git a/backend/plugins/gitlab/models/migrationscripts/archived/commit.go b/backend/plugins/gitlab/models/migrationscripts/archived/commit.go
index a967a25..dd20920 100644
--- a/backend/plugins/gitlab/models/migrationscripts/archived/commit.go
+++ b/backend/plugins/gitlab/models/migrationscripts/archived/commit.go
@@ -18,7 +18,7 @@
package archived
import (
- "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/models/migrationscripts/archived"
"time"
)
diff --git a/backend/plugins/gitlab/models/migrationscripts/archived/connection.go b/backend/plugins/gitlab/models/migrationscripts/archived/connection.go
index 7d717b5..f8bd7c0 100644
--- a/backend/plugins/gitlab/models/migrationscripts/archived/connection.go
+++ b/backend/plugins/gitlab/models/migrationscripts/archived/connection.go
@@ -18,7 +18,7 @@
package archived
import (
- "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/models/migrationscripts/archived"
)
// This object conforms to what the frontend currently sends.
diff --git a/backend/plugins/gitlab/models/migrationscripts/archived/deployment.go b/backend/plugins/gitlab/models/migrationscripts/archived/deployment.go
index 60f9c28..7b58c2d 100644
--- a/backend/plugins/gitlab/models/migrationscripts/archived/deployment.go
+++ b/backend/plugins/gitlab/models/migrationscripts/archived/deployment.go
@@ -18,7 +18,7 @@
package archived
import (
- "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/models/migrationscripts/archived"
"time"
)
diff --git a/backend/plugins/gitlab/models/migrationscripts/archived/issue.go b/backend/plugins/gitlab/models/migrationscripts/archived/issue.go
index 93567f4..f564dcc 100644
--- a/backend/plugins/gitlab/models/migrationscripts/archived/issue.go
+++ b/backend/plugins/gitlab/models/migrationscripts/archived/issue.go
@@ -18,7 +18,7 @@
package archived
import (
- "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/models/migrationscripts/archived"
"time"
)
diff --git a/backend/plugins/gitlab/models/migrationscripts/archived/issue_assignee.go b/backend/plugins/gitlab/models/migrationscripts/archived/issue_assignee.go
index 41c0406..d722cbb 100644
--- a/backend/plugins/gitlab/models/migrationscripts/archived/issue_assignee.go
+++ b/backend/plugins/gitlab/models/migrationscripts/archived/issue_assignee.go
@@ -18,7 +18,7 @@
package archived
import (
- "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/models/migrationscripts/archived"
)
type GitlabIssueAssignee struct {
diff --git a/backend/plugins/gitlab/models/migrationscripts/archived/issue_label.go b/backend/plugins/gitlab/models/migrationscripts/archived/issue_label.go
index 693bc58..6aece97 100644
--- a/backend/plugins/gitlab/models/migrationscripts/archived/issue_label.go
+++ b/backend/plugins/gitlab/models/migrationscripts/archived/issue_label.go
@@ -18,7 +18,7 @@
package archived
import (
- "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/models/migrationscripts/archived"
)
// Please note that Issue Labels can also apply to Pull Requests.
diff --git a/backend/plugins/gitlab/models/migrationscripts/archived/mr.go b/backend/plugins/gitlab/models/migrationscripts/archived/mr.go
index 3788dd3..86aa703 100644
--- a/backend/plugins/gitlab/models/migrationscripts/archived/mr.go
+++ b/backend/plugins/gitlab/models/migrationscripts/archived/mr.go
@@ -18,7 +18,7 @@
package archived
import (
- "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/models/migrationscripts/archived"
"time"
)
diff --git a/backend/plugins/gitlab/models/migrationscripts/archived/mr_comment.go b/backend/plugins/gitlab/models/migrationscripts/archived/mr_comment.go
index daca142..cf2a4de 100644
--- a/backend/plugins/gitlab/models/migrationscripts/archived/mr_comment.go
+++ b/backend/plugins/gitlab/models/migrationscripts/archived/mr_comment.go
@@ -18,7 +18,7 @@
package archived
import (
- "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/models/migrationscripts/archived"
"time"
)
diff --git a/backend/plugins/gitlab/models/migrationscripts/archived/mr_commit.go b/backend/plugins/gitlab/models/migrationscripts/archived/mr_commit.go
index 959e761..e5dd5cb 100644
--- a/backend/plugins/gitlab/models/migrationscripts/archived/mr_commit.go
+++ b/backend/plugins/gitlab/models/migrationscripts/archived/mr_commit.go
@@ -18,7 +18,7 @@
package archived
import (
- "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/models/migrationscripts/archived"
)
// This Model is intended to save commits that are associated to a merge request
diff --git a/backend/plugins/gitlab/models/migrationscripts/archived/mr_label.go b/backend/plugins/gitlab/models/migrationscripts/archived/mr_label.go
index f80d3fa..51bae1c 100644
--- a/backend/plugins/gitlab/models/migrationscripts/archived/mr_label.go
+++ b/backend/plugins/gitlab/models/migrationscripts/archived/mr_label.go
@@ -18,7 +18,7 @@
package archived
import (
- "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/models/migrationscripts/archived"
)
// Please note that Issue Labels can also apply to Pull Requests.
diff --git a/backend/plugins/gitlab/models/migrationscripts/archived/mr_note.go b/backend/plugins/gitlab/models/migrationscripts/archived/mr_note.go
index 28bbad1..aad0ddb 100644
--- a/backend/plugins/gitlab/models/migrationscripts/archived/mr_note.go
+++ b/backend/plugins/gitlab/models/migrationscripts/archived/mr_note.go
@@ -18,7 +18,7 @@
package archived
import (
- "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/models/migrationscripts/archived"
"time"
)
diff --git a/backend/plugins/gitlab/models/migrationscripts/archived/pipeline.go b/backend/plugins/gitlab/models/migrationscripts/archived/pipeline.go
index b04a167..5347690 100644
--- a/backend/plugins/gitlab/models/migrationscripts/archived/pipeline.go
+++ b/backend/plugins/gitlab/models/migrationscripts/archived/pipeline.go
@@ -18,7 +18,7 @@
package archived
import (
- "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/models/migrationscripts/archived"
"time"
)
diff --git a/backend/plugins/gitlab/models/migrationscripts/archived/project.go b/backend/plugins/gitlab/models/migrationscripts/archived/project.go
index 2e00c91..8db7e44 100644
--- a/backend/plugins/gitlab/models/migrationscripts/archived/project.go
+++ b/backend/plugins/gitlab/models/migrationscripts/archived/project.go
@@ -18,7 +18,7 @@
package archived
import (
- "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/models/migrationscripts/archived"
"time"
)
diff --git a/backend/plugins/gitlab/models/migrationscripts/archived/project_commit.go b/backend/plugins/gitlab/models/migrationscripts/archived/project_commit.go
index 339be20..7ce4f93 100644
--- a/backend/plugins/gitlab/models/migrationscripts/archived/project_commit.go
+++ b/backend/plugins/gitlab/models/migrationscripts/archived/project_commit.go
@@ -18,7 +18,7 @@
package archived
import (
- "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/models/migrationscripts/archived"
)
type GitlabProjectCommit struct {
diff --git a/backend/plugins/gitlab/models/migrationscripts/archived/reviewer.go b/backend/plugins/gitlab/models/migrationscripts/archived/reviewer.go
index 2fa1e27..365ccc6 100644
--- a/backend/plugins/gitlab/models/migrationscripts/archived/reviewer.go
+++ b/backend/plugins/gitlab/models/migrationscripts/archived/reviewer.go
@@ -18,7 +18,7 @@
package archived
import (
- "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/models/migrationscripts/archived"
)
type GitlabReviewer struct {
diff --git a/backend/plugins/gitlab/models/migrationscripts/archived/tag.go b/backend/plugins/gitlab/models/migrationscripts/archived/tag.go
index 60808a8..bdb1aab 100644
--- a/backend/plugins/gitlab/models/migrationscripts/archived/tag.go
+++ b/backend/plugins/gitlab/models/migrationscripts/archived/tag.go
@@ -18,7 +18,7 @@
package archived
import (
- "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/models/migrationscripts/archived"
)
type GitlabTag struct {
diff --git a/backend/plugins/gitlab/models/migrationscripts/archived/transformation_rules.go b/backend/plugins/gitlab/models/migrationscripts/archived/transformation_rules.go
index 73c1248..df096d3 100644
--- a/backend/plugins/gitlab/models/migrationscripts/archived/transformation_rules.go
+++ b/backend/plugins/gitlab/models/migrationscripts/archived/transformation_rules.go
@@ -20,7 +20,7 @@
import (
"encoding/json"
- "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/models/migrationscripts/archived"
)
type GitlabTransformationRule struct {
diff --git a/backend/plugins/gitlab/models/migrationscripts/register.go b/backend/plugins/gitlab/models/migrationscripts/register.go
index 65fa6f4..da20563 100644
--- a/backend/plugins/gitlab/models/migrationscripts/register.go
+++ b/backend/plugins/gitlab/models/migrationscripts/register.go
@@ -18,7 +18,7 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/plugin"
+ "github.com/apache/devlake/core/plugin"
)
// All return all the migration scripts
diff --git a/backend/plugins/gitlab/models/mr.go b/backend/plugins/gitlab/models/mr.go
index 9d8acae..1ef6164 100644
--- a/backend/plugins/gitlab/models/mr.go
+++ b/backend/plugins/gitlab/models/mr.go
@@ -20,7 +20,7 @@
import (
"time"
- "github.com/apache/incubator-devlake/core/models/common"
+ "github.com/apache/devlake/core/models/common"
)
type GitlabMergeRequest struct {
diff --git a/backend/plugins/gitlab/models/mr_comment.go b/backend/plugins/gitlab/models/mr_comment.go
index 91fc8f7..3e8c302 100644
--- a/backend/plugins/gitlab/models/mr_comment.go
+++ b/backend/plugins/gitlab/models/mr_comment.go
@@ -18,7 +18,7 @@
package models
import (
- "github.com/apache/incubator-devlake/core/models/common"
+ "github.com/apache/devlake/core/models/common"
"time"
)
diff --git a/backend/plugins/gitlab/models/mr_commit.go b/backend/plugins/gitlab/models/mr_commit.go
index 7f6958d..437b078 100644
--- a/backend/plugins/gitlab/models/mr_commit.go
+++ b/backend/plugins/gitlab/models/mr_commit.go
@@ -18,7 +18,7 @@
package models
import (
- "github.com/apache/incubator-devlake/core/models/common"
+ "github.com/apache/devlake/core/models/common"
"time"
)
diff --git a/backend/plugins/gitlab/models/mr_label.go b/backend/plugins/gitlab/models/mr_label.go
index ca047be..0859001 100644
--- a/backend/plugins/gitlab/models/mr_label.go
+++ b/backend/plugins/gitlab/models/mr_label.go
@@ -18,7 +18,7 @@
package models
import (
- "github.com/apache/incubator-devlake/core/models/common"
+ "github.com/apache/devlake/core/models/common"
)
// Please note that Issue Labels can also apply to Pull Requests.
diff --git a/backend/plugins/gitlab/models/mr_note.go b/backend/plugins/gitlab/models/mr_note.go
index 2383c3c..ec05594 100644
--- a/backend/plugins/gitlab/models/mr_note.go
+++ b/backend/plugins/gitlab/models/mr_note.go
@@ -18,7 +18,7 @@
package models
import (
- "github.com/apache/incubator-devlake/core/models/common"
+ "github.com/apache/devlake/core/models/common"
"time"
)
diff --git a/backend/plugins/gitlab/models/pipeline.go b/backend/plugins/gitlab/models/pipeline.go
index 1275c3a..dab98be 100644
--- a/backend/plugins/gitlab/models/pipeline.go
+++ b/backend/plugins/gitlab/models/pipeline.go
@@ -20,7 +20,7 @@
import (
"time"
- "github.com/apache/incubator-devlake/core/models/common"
+ "github.com/apache/devlake/core/models/common"
)
const (
diff --git a/backend/plugins/gitlab/models/project.go b/backend/plugins/gitlab/models/project.go
index c82957f..d2d0c58 100644
--- a/backend/plugins/gitlab/models/project.go
+++ b/backend/plugins/gitlab/models/project.go
@@ -21,9 +21,9 @@
"strconv"
"time"
- "github.com/apache/incubator-devlake/core/plugin"
+ "github.com/apache/devlake/core/plugin"
- "github.com/apache/incubator-devlake/core/models/common"
+ "github.com/apache/devlake/core/models/common"
)
var _ plugin.ToolLayerScope = (*GitlabProject)(nil)
diff --git a/backend/plugins/gitlab/models/project_commit.go b/backend/plugins/gitlab/models/project_commit.go
index dd6abb5..c291598 100644
--- a/backend/plugins/gitlab/models/project_commit.go
+++ b/backend/plugins/gitlab/models/project_commit.go
@@ -18,7 +18,7 @@
package models
import (
- "github.com/apache/incubator-devlake/core/models/common"
+ "github.com/apache/devlake/core/models/common"
)
type GitlabProjectCommit struct {
diff --git a/backend/plugins/gitlab/models/reviewer.go b/backend/plugins/gitlab/models/reviewer.go
index 3acef38..b665629 100644
--- a/backend/plugins/gitlab/models/reviewer.go
+++ b/backend/plugins/gitlab/models/reviewer.go
@@ -18,7 +18,7 @@
package models
import (
- "github.com/apache/incubator-devlake/core/models/common"
+ "github.com/apache/devlake/core/models/common"
)
type GitlabReviewer struct {
diff --git a/backend/plugins/gitlab/models/scope_config.go b/backend/plugins/gitlab/models/scope_config.go
index 525720c..bcd525c 100644
--- a/backend/plugins/gitlab/models/scope_config.go
+++ b/backend/plugins/gitlab/models/scope_config.go
@@ -18,7 +18,7 @@
package models
import (
- "github.com/apache/incubator-devlake/core/models/common"
+ "github.com/apache/devlake/core/models/common"
"gorm.io/datatypes"
)
diff --git a/backend/plugins/gitlab/models/tag.go b/backend/plugins/gitlab/models/tag.go
index 4d875a7..1fbc492 100644
--- a/backend/plugins/gitlab/models/tag.go
+++ b/backend/plugins/gitlab/models/tag.go
@@ -18,7 +18,7 @@
package models
import (
- "github.com/apache/incubator-devlake/core/models/common"
+ "github.com/apache/devlake/core/models/common"
)
type GitlabTag struct {
diff --git a/backend/plugins/gitlab/tasks/account_collector.go b/backend/plugins/gitlab/tasks/account_collector.go
index 747c5d6..ead40d6 100644
--- a/backend/plugins/gitlab/tasks/account_collector.go
+++ b/backend/plugins/gitlab/tasks/account_collector.go
@@ -24,10 +24,10 @@
"net/url"
"strings"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/gitlab/models"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/gitlab/models"
"golang.org/x/mod/semver"
)
diff --git a/backend/plugins/gitlab/tasks/account_convertor.go b/backend/plugins/gitlab/tasks/account_convertor.go
index c6bac24..8af3f70 100644
--- a/backend/plugins/gitlab/tasks/account_convertor.go
+++ b/backend/plugins/gitlab/tasks/account_convertor.go
@@ -20,14 +20,14 @@
import (
"reflect"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/domainlayer"
- "github.com/apache/incubator-devlake/core/models/domainlayer/crossdomain"
- "github.com/apache/incubator-devlake/core/models/domainlayer/didgen"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- gitlabModels "github.com/apache/incubator-devlake/plugins/gitlab/models"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/domainlayer"
+ "github.com/apache/devlake/core/models/domainlayer/crossdomain"
+ "github.com/apache/devlake/core/models/domainlayer/didgen"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ gitlabModels "github.com/apache/devlake/plugins/gitlab/models"
)
func init() {
diff --git a/backend/plugins/gitlab/tasks/account_extractor.go b/backend/plugins/gitlab/tasks/account_extractor.go
index 0024c3e..5569628 100644
--- a/backend/plugins/gitlab/tasks/account_extractor.go
+++ b/backend/plugins/gitlab/tasks/account_extractor.go
@@ -20,10 +20,10 @@
import (
"strings"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/gitlab/models"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/gitlab/models"
)
func init() {
diff --git a/backend/plugins/gitlab/tasks/api_client.go b/backend/plugins/gitlab/tasks/api_client.go
index 0d6a84c..ad36f31 100644
--- a/backend/plugins/gitlab/tasks/api_client.go
+++ b/backend/plugins/gitlab/tasks/api_client.go
@@ -22,10 +22,10 @@
"strconv"
"time"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/gitlab/models"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/gitlab/models"
)
func CreateGitlabAsyncApiClient(
diff --git a/backend/plugins/gitlab/tasks/child_pipeline_collector.go b/backend/plugins/gitlab/tasks/child_pipeline_collector.go
index 6a24736..941782a 100644
--- a/backend/plugins/gitlab/tasks/child_pipeline_collector.go
+++ b/backend/plugins/gitlab/tasks/child_pipeline_collector.go
@@ -22,9 +22,9 @@
"net/url"
"time"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
)
func init() {
diff --git a/backend/plugins/gitlab/tasks/child_pipeline_extractor.go b/backend/plugins/gitlab/tasks/child_pipeline_extractor.go
index 62c5948..10e748f 100644
--- a/backend/plugins/gitlab/tasks/child_pipeline_extractor.go
+++ b/backend/plugins/gitlab/tasks/child_pipeline_extractor.go
@@ -18,11 +18,11 @@
package tasks
import (
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/common"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/gitlab/models"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/common"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/gitlab/models"
)
func init() {
diff --git a/backend/plugins/gitlab/tasks/deployment_collector.go b/backend/plugins/gitlab/tasks/deployment_collector.go
index 36ecb60..4f44aa7 100644
--- a/backend/plugins/gitlab/tasks/deployment_collector.go
+++ b/backend/plugins/gitlab/tasks/deployment_collector.go
@@ -21,10 +21,10 @@
"net/url"
"time"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/gitlab/models"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/gitlab/models"
"golang.org/x/mod/semver"
)
diff --git a/backend/plugins/gitlab/tasks/deployment_convertor.go b/backend/plugins/gitlab/tasks/deployment_convertor.go
index b211867..a5c4285 100644
--- a/backend/plugins/gitlab/tasks/deployment_convertor.go
+++ b/backend/plugins/gitlab/tasks/deployment_convertor.go
@@ -21,14 +21,14 @@
"fmt"
"time"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/domainlayer"
- "github.com/apache/incubator-devlake/core/models/domainlayer/devops"
- "github.com/apache/incubator-devlake/core/models/domainlayer/didgen"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/gitlab/models"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/domainlayer"
+ "github.com/apache/devlake/core/models/domainlayer/devops"
+ "github.com/apache/devlake/core/models/domainlayer/didgen"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/gitlab/models"
"github.com/spf13/cast"
)
diff --git a/backend/plugins/gitlab/tasks/deployment_extractor.go b/backend/plugins/gitlab/tasks/deployment_extractor.go
index 258471b..c7630b6 100644
--- a/backend/plugins/gitlab/tasks/deployment_extractor.go
+++ b/backend/plugins/gitlab/tasks/deployment_extractor.go
@@ -20,11 +20,11 @@
import (
"time"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/common"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/gitlab/models"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/common"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/gitlab/models"
)
var _ plugin.SubTaskEntryPoint = ExtractDeployment
diff --git a/backend/plugins/gitlab/tasks/issue_assignee_convertor.go b/backend/plugins/gitlab/tasks/issue_assignee_convertor.go
index ce5ce59..1f8d1b5 100644
--- a/backend/plugins/gitlab/tasks/issue_assignee_convertor.go
+++ b/backend/plugins/gitlab/tasks/issue_assignee_convertor.go
@@ -18,13 +18,13 @@
package tasks
import (
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/domainlayer/didgen"
- "github.com/apache/incubator-devlake/core/models/domainlayer/ticket"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/gitlab/models"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/domainlayer/didgen"
+ "github.com/apache/devlake/core/models/domainlayer/ticket"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/gitlab/models"
)
func init() {
diff --git a/backend/plugins/gitlab/tasks/issue_collector.go b/backend/plugins/gitlab/tasks/issue_collector.go
index 9ae57fb..fc5d8f0 100644
--- a/backend/plugins/gitlab/tasks/issue_collector.go
+++ b/backend/plugins/gitlab/tasks/issue_collector.go
@@ -24,9 +24,9 @@
"net/url"
"time"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
)
func init() {
diff --git a/backend/plugins/gitlab/tasks/issue_convertor.go b/backend/plugins/gitlab/tasks/issue_convertor.go
index 63af1c6..f49b64c 100644
--- a/backend/plugins/gitlab/tasks/issue_convertor.go
+++ b/backend/plugins/gitlab/tasks/issue_convertor.go
@@ -21,14 +21,14 @@
"strconv"
"strings"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/domainlayer"
- "github.com/apache/incubator-devlake/core/models/domainlayer/didgen"
- "github.com/apache/incubator-devlake/core/models/domainlayer/ticket"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/gitlab/models"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/domainlayer"
+ "github.com/apache/devlake/core/models/domainlayer/didgen"
+ "github.com/apache/devlake/core/models/domainlayer/ticket"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/gitlab/models"
)
func init() {
diff --git a/backend/plugins/gitlab/tasks/issue_extractor.go b/backend/plugins/gitlab/tasks/issue_extractor.go
index 802d58a..35ac36b 100644
--- a/backend/plugins/gitlab/tasks/issue_extractor.go
+++ b/backend/plugins/gitlab/tasks/issue_extractor.go
@@ -20,12 +20,12 @@
import (
"regexp"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/common"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/gitlab/models"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/common"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/gitlab/models"
)
func init() {
diff --git a/backend/plugins/gitlab/tasks/issue_label_convertor.go b/backend/plugins/gitlab/tasks/issue_label_convertor.go
index fab745d..994b785 100644
--- a/backend/plugins/gitlab/tasks/issue_label_convertor.go
+++ b/backend/plugins/gitlab/tasks/issue_label_convertor.go
@@ -18,13 +18,13 @@
package tasks
import (
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/domainlayer/didgen"
- "github.com/apache/incubator-devlake/core/models/domainlayer/ticket"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/gitlab/models"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/domainlayer/didgen"
+ "github.com/apache/devlake/core/models/domainlayer/ticket"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/gitlab/models"
)
func init() {
diff --git a/backend/plugins/gitlab/tasks/job_collector.go b/backend/plugins/gitlab/tasks/job_collector.go
index 04dda29..de04b0a 100644
--- a/backend/plugins/gitlab/tasks/job_collector.go
+++ b/backend/plugins/gitlab/tasks/job_collector.go
@@ -24,10 +24,10 @@
"strconv"
"time"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/common"
- "github.com/apache/incubator-devlake/core/plugin"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/common"
+ "github.com/apache/devlake/core/plugin"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
)
func init() {
diff --git a/backend/plugins/gitlab/tasks/job_convertor.go b/backend/plugins/gitlab/tasks/job_convertor.go
index 9107784..c93c272 100644
--- a/backend/plugins/gitlab/tasks/job_convertor.go
+++ b/backend/plugins/gitlab/tasks/job_convertor.go
@@ -20,14 +20,14 @@
import (
"time"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/domainlayer"
- "github.com/apache/incubator-devlake/core/models/domainlayer/devops"
- "github.com/apache/incubator-devlake/core/models/domainlayer/didgen"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/gitlab/models"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/domainlayer"
+ "github.com/apache/devlake/core/models/domainlayer/devops"
+ "github.com/apache/devlake/core/models/domainlayer/didgen"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/gitlab/models"
)
func init() {
diff --git a/backend/plugins/gitlab/tasks/job_extractor.go b/backend/plugins/gitlab/tasks/job_extractor.go
index 15b1343..bc359d8 100644
--- a/backend/plugins/gitlab/tasks/job_extractor.go
+++ b/backend/plugins/gitlab/tasks/job_extractor.go
@@ -18,11 +18,11 @@
package tasks
import (
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/common"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/gitlab/models"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/common"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/gitlab/models"
)
func init() {
diff --git a/backend/plugins/gitlab/tasks/mr_assignee_convertor.go b/backend/plugins/gitlab/tasks/mr_assignee_convertor.go
index d22714a..68f8ee7 100644
--- a/backend/plugins/gitlab/tasks/mr_assignee_convertor.go
+++ b/backend/plugins/gitlab/tasks/mr_assignee_convertor.go
@@ -18,13 +18,13 @@
package tasks
import (
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/domainlayer/code"
- "github.com/apache/incubator-devlake/core/models/domainlayer/didgen"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/gitlab/models"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/domainlayer/code"
+ "github.com/apache/devlake/core/models/domainlayer/didgen"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/gitlab/models"
)
func init() {
diff --git a/backend/plugins/gitlab/tasks/mr_collector.go b/backend/plugins/gitlab/tasks/mr_collector.go
index 320d977..d281327 100644
--- a/backend/plugins/gitlab/tasks/mr_collector.go
+++ b/backend/plugins/gitlab/tasks/mr_collector.go
@@ -21,9 +21,9 @@
"net/url"
"time"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
)
const RAW_MERGE_REQUEST_TABLE = "gitlab_api_merge_requests"
diff --git a/backend/plugins/gitlab/tasks/mr_commit_collector.go b/backend/plugins/gitlab/tasks/mr_commit_collector.go
index f992112..90f8263 100644
--- a/backend/plugins/gitlab/tasks/mr_commit_collector.go
+++ b/backend/plugins/gitlab/tasks/mr_commit_collector.go
@@ -18,9 +18,9 @@
package tasks
import (
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
)
func init() {
diff --git a/backend/plugins/gitlab/tasks/mr_commit_convertor.go b/backend/plugins/gitlab/tasks/mr_commit_convertor.go
index 6f7ff2a..ffa6096 100644
--- a/backend/plugins/gitlab/tasks/mr_commit_convertor.go
+++ b/backend/plugins/gitlab/tasks/mr_commit_convertor.go
@@ -18,13 +18,13 @@
package tasks
import (
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/domainlayer/code"
- "github.com/apache/incubator-devlake/core/models/domainlayer/didgen"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/gitlab/models"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/domainlayer/code"
+ "github.com/apache/devlake/core/models/domainlayer/didgen"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/gitlab/models"
)
func init() {
diff --git a/backend/plugins/gitlab/tasks/mr_commit_extractor.go b/backend/plugins/gitlab/tasks/mr_commit_extractor.go
index 506f032..2403469 100644
--- a/backend/plugins/gitlab/tasks/mr_commit_extractor.go
+++ b/backend/plugins/gitlab/tasks/mr_commit_extractor.go
@@ -20,11 +20,11 @@
import (
"encoding/json"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/common"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/gitlab/models"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/common"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/gitlab/models"
)
func init() {
diff --git a/backend/plugins/gitlab/tasks/mr_convertor.go b/backend/plugins/gitlab/tasks/mr_convertor.go
index 369a5b5..285e71a 100644
--- a/backend/plugins/gitlab/tasks/mr_convertor.go
+++ b/backend/plugins/gitlab/tasks/mr_convertor.go
@@ -18,14 +18,14 @@
package tasks
import (
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/domainlayer"
- "github.com/apache/incubator-devlake/core/models/domainlayer/code"
- "github.com/apache/incubator-devlake/core/models/domainlayer/didgen"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/gitlab/models"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/domainlayer"
+ "github.com/apache/devlake/core/models/domainlayer/code"
+ "github.com/apache/devlake/core/models/domainlayer/didgen"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/gitlab/models"
)
func init() {
diff --git a/backend/plugins/gitlab/tasks/mr_detail_collector.go b/backend/plugins/gitlab/tasks/mr_detail_collector.go
index d20e96a..83091f0 100644
--- a/backend/plugins/gitlab/tasks/mr_detail_collector.go
+++ b/backend/plugins/gitlab/tasks/mr_detail_collector.go
@@ -21,10 +21,10 @@
"net/url"
"reflect"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
)
func init() {
diff --git a/backend/plugins/gitlab/tasks/mr_detail_extractor.go b/backend/plugins/gitlab/tasks/mr_detail_extractor.go
index 3945752..bef720f 100644
--- a/backend/plugins/gitlab/tasks/mr_detail_extractor.go
+++ b/backend/plugins/gitlab/tasks/mr_detail_extractor.go
@@ -20,10 +20,10 @@
import (
"regexp"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/gitlab/models"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/gitlab/models"
)
func init() {
diff --git a/backend/plugins/gitlab/tasks/mr_extractor.go b/backend/plugins/gitlab/tasks/mr_extractor.go
index e20dd8b..d075394 100644
--- a/backend/plugins/gitlab/tasks/mr_extractor.go
+++ b/backend/plugins/gitlab/tasks/mr_extractor.go
@@ -22,12 +22,12 @@
"strconv"
"strings"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/common"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/gitlab/models"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/common"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/gitlab/models"
)
func init() {
diff --git a/backend/plugins/gitlab/tasks/mr_label_convertor.go b/backend/plugins/gitlab/tasks/mr_label_convertor.go
index b5f29a1..252347c 100644
--- a/backend/plugins/gitlab/tasks/mr_label_convertor.go
+++ b/backend/plugins/gitlab/tasks/mr_label_convertor.go
@@ -18,13 +18,13 @@
package tasks
import (
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/domainlayer/code"
- "github.com/apache/incubator-devlake/core/models/domainlayer/didgen"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/gitlab/models"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/domainlayer/code"
+ "github.com/apache/devlake/core/models/domainlayer/didgen"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/gitlab/models"
)
func init() {
diff --git a/backend/plugins/gitlab/tasks/mr_note_collector.go b/backend/plugins/gitlab/tasks/mr_note_collector.go
index 469648f..028b7b4 100644
--- a/backend/plugins/gitlab/tasks/mr_note_collector.go
+++ b/backend/plugins/gitlab/tasks/mr_note_collector.go
@@ -18,9 +18,9 @@
package tasks
import (
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
)
func init() {
diff --git a/backend/plugins/gitlab/tasks/mr_note_convertor.go b/backend/plugins/gitlab/tasks/mr_note_convertor.go
index a55cc56..dd3476c 100644
--- a/backend/plugins/gitlab/tasks/mr_note_convertor.go
+++ b/backend/plugins/gitlab/tasks/mr_note_convertor.go
@@ -18,14 +18,14 @@
package tasks
import (
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/domainlayer"
- "github.com/apache/incubator-devlake/core/models/domainlayer/code"
- "github.com/apache/incubator-devlake/core/models/domainlayer/didgen"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/gitlab/models"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/domainlayer"
+ "github.com/apache/devlake/core/models/domainlayer/code"
+ "github.com/apache/devlake/core/models/domainlayer/didgen"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/gitlab/models"
)
func init() {
diff --git a/backend/plugins/gitlab/tasks/mr_note_extractor.go b/backend/plugins/gitlab/tasks/mr_note_extractor.go
index 725a2fe..1e780cd 100644
--- a/backend/plugins/gitlab/tasks/mr_note_extractor.go
+++ b/backend/plugins/gitlab/tasks/mr_note_extractor.go
@@ -18,11 +18,11 @@
package tasks
import (
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/common"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/gitlab/models"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/common"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/gitlab/models"
)
func init() {
diff --git a/backend/plugins/gitlab/tasks/mr_reviewer_convertor.go b/backend/plugins/gitlab/tasks/mr_reviewer_convertor.go
index f9298b0..548d7d3 100644
--- a/backend/plugins/gitlab/tasks/mr_reviewer_convertor.go
+++ b/backend/plugins/gitlab/tasks/mr_reviewer_convertor.go
@@ -18,13 +18,13 @@
package tasks
import (
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/domainlayer/code"
- "github.com/apache/incubator-devlake/core/models/domainlayer/didgen"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/gitlab/models"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/domainlayer/code"
+ "github.com/apache/devlake/core/models/domainlayer/didgen"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/gitlab/models"
)
func init() {
diff --git a/backend/plugins/gitlab/tasks/pipeline_collector.go b/backend/plugins/gitlab/tasks/pipeline_collector.go
index 7741550..d0edc32 100644
--- a/backend/plugins/gitlab/tasks/pipeline_collector.go
+++ b/backend/plugins/gitlab/tasks/pipeline_collector.go
@@ -22,9 +22,9 @@
"net/url"
"time"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
)
func init() {
diff --git a/backend/plugins/gitlab/tasks/pipeline_commit_convertor.go b/backend/plugins/gitlab/tasks/pipeline_commit_convertor.go
index 2064cc6..5cfa59f 100644
--- a/backend/plugins/gitlab/tasks/pipeline_commit_convertor.go
+++ b/backend/plugins/gitlab/tasks/pipeline_commit_convertor.go
@@ -18,13 +18,13 @@
package tasks
import (
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/domainlayer/devops"
- "github.com/apache/incubator-devlake/core/models/domainlayer/didgen"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/gitlab/models"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/domainlayer/devops"
+ "github.com/apache/devlake/core/models/domainlayer/didgen"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/gitlab/models"
)
func init() {
diff --git a/backend/plugins/gitlab/tasks/pipeline_detail_collector.go b/backend/plugins/gitlab/tasks/pipeline_detail_collector.go
index 6a800d0..a2c86c0 100644
--- a/backend/plugins/gitlab/tasks/pipeline_detail_collector.go
+++ b/backend/plugins/gitlab/tasks/pipeline_detail_collector.go
@@ -22,10 +22,10 @@
"reflect"
"time"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
)
func init() {
diff --git a/backend/plugins/gitlab/tasks/pipeline_detail_convertor.go b/backend/plugins/gitlab/tasks/pipeline_detail_convertor.go
index e808d78..f1a9ad8 100644
--- a/backend/plugins/gitlab/tasks/pipeline_detail_convertor.go
+++ b/backend/plugins/gitlab/tasks/pipeline_detail_convertor.go
@@ -20,15 +20,15 @@
import (
"time"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/models/domainlayer"
- "github.com/apache/incubator-devlake/core/models/domainlayer/devops"
- "github.com/apache/incubator-devlake/core/models/domainlayer/didgen"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/plugins/gitlab/models"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/models/domainlayer"
+ "github.com/apache/devlake/core/models/domainlayer/devops"
+ "github.com/apache/devlake/core/models/domainlayer/didgen"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/plugins/gitlab/models"
)
func init() {
diff --git a/backend/plugins/gitlab/tasks/pipeline_detail_extractor.go b/backend/plugins/gitlab/tasks/pipeline_detail_extractor.go
index 3fef051..c6c4ab4 100644
--- a/backend/plugins/gitlab/tasks/pipeline_detail_extractor.go
+++ b/backend/plugins/gitlab/tasks/pipeline_detail_extractor.go
@@ -18,12 +18,12 @@
package tasks
import (
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/common"
- "github.com/apache/incubator-devlake/core/models/domainlayer/devops"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/gitlab/models"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/common"
+ "github.com/apache/devlake/core/models/domainlayer/devops"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/gitlab/models"
)
func init() {
diff --git a/backend/plugins/gitlab/tasks/pipeline_extractor.go b/backend/plugins/gitlab/tasks/pipeline_extractor.go
index 0eb2450..f07c2c8 100644
--- a/backend/plugins/gitlab/tasks/pipeline_extractor.go
+++ b/backend/plugins/gitlab/tasks/pipeline_extractor.go
@@ -18,10 +18,10 @@
package tasks
import (
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/common"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/common"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
)
func init() {
diff --git a/backend/plugins/gitlab/tasks/project_convertor.go b/backend/plugins/gitlab/tasks/project_convertor.go
index 920f1a9..70f59cf 100644
--- a/backend/plugins/gitlab/tasks/project_convertor.go
+++ b/backend/plugins/gitlab/tasks/project_convertor.go
@@ -20,18 +20,18 @@
import (
"reflect"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/common"
- "github.com/apache/incubator-devlake/core/models/domainlayer"
- "github.com/apache/incubator-devlake/core/models/domainlayer/code"
- "github.com/apache/incubator-devlake/core/models/domainlayer/crossdomain"
- "github.com/apache/incubator-devlake/core/models/domainlayer/devops"
- "github.com/apache/incubator-devlake/core/models/domainlayer/didgen"
- "github.com/apache/incubator-devlake/core/models/domainlayer/ticket"
- "github.com/apache/incubator-devlake/core/plugin"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/gitlab/models"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/common"
+ "github.com/apache/devlake/core/models/domainlayer"
+ "github.com/apache/devlake/core/models/domainlayer/code"
+ "github.com/apache/devlake/core/models/domainlayer/crossdomain"
+ "github.com/apache/devlake/core/models/domainlayer/devops"
+ "github.com/apache/devlake/core/models/domainlayer/didgen"
+ "github.com/apache/devlake/core/models/domainlayer/ticket"
+ "github.com/apache/devlake/core/plugin"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/gitlab/models"
)
func init() {
diff --git a/backend/plugins/gitlab/tasks/register.go b/backend/plugins/gitlab/tasks/register.go
index 51b12a7..ddff389 100644
--- a/backend/plugins/gitlab/tasks/register.go
+++ b/backend/plugins/gitlab/tasks/register.go
@@ -17,7 +17,7 @@
package tasks
-import "github.com/apache/incubator-devlake/core/plugin"
+import "github.com/apache/devlake/core/plugin"
var SubTaskMetaList []*plugin.SubTaskMeta
diff --git a/backend/plugins/gitlab/tasks/shared.go b/backend/plugins/gitlab/tasks/shared.go
index 3462e2c..2c918ee 100644
--- a/backend/plugins/gitlab/tasks/shared.go
+++ b/backend/plugins/gitlab/tasks/shared.go
@@ -27,13 +27,13 @@
"strconv"
"time"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/common"
- "github.com/apache/incubator-devlake/plugins/gitlab/models"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/common"
+ "github.com/apache/devlake/plugins/gitlab/models"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
)
const (
diff --git a/backend/plugins/gitlab/tasks/tag_collector.go b/backend/plugins/gitlab/tasks/tag_collector.go
index 92800c5..07cb31f 100644
--- a/backend/plugins/gitlab/tasks/tag_collector.go
+++ b/backend/plugins/gitlab/tasks/tag_collector.go
@@ -18,9 +18,9 @@
package tasks
import (
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
)
func init() {
diff --git a/backend/plugins/gitlab/tasks/tag_extractor.go b/backend/plugins/gitlab/tasks/tag_extractor.go
index 4f0a511..86d1bdf 100644
--- a/backend/plugins/gitlab/tasks/tag_extractor.go
+++ b/backend/plugins/gitlab/tasks/tag_extractor.go
@@ -18,10 +18,10 @@
package tasks
import (
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/gitlab/models"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/gitlab/models"
)
func init() {
diff --git a/backend/plugins/gitlab/tasks/task_data.go b/backend/plugins/gitlab/tasks/task_data.go
index a4c40f9..b916000 100644
--- a/backend/plugins/gitlab/tasks/task_data.go
+++ b/backend/plugins/gitlab/tasks/task_data.go
@@ -18,9 +18,9 @@
package tasks
import (
- "github.com/apache/incubator-devlake/core/errors"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/gitlab/models"
+ "github.com/apache/devlake/core/errors"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/gitlab/models"
)
type GitlabOptions struct {
diff --git a/backend/plugins/gitlab/tasks/trigger_job_collector.go b/backend/plugins/gitlab/tasks/trigger_job_collector.go
index e1b4652..6510736 100644
--- a/backend/plugins/gitlab/tasks/trigger_job_collector.go
+++ b/backend/plugins/gitlab/tasks/trigger_job_collector.go
@@ -21,10 +21,10 @@
"reflect"
"time"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
)
func init() {
diff --git a/backend/plugins/gitlab/tasks/trigger_job_extractor.go b/backend/plugins/gitlab/tasks/trigger_job_extractor.go
index 8a1e7ea..6a755bc 100644
--- a/backend/plugins/gitlab/tasks/trigger_job_extractor.go
+++ b/backend/plugins/gitlab/tasks/trigger_job_extractor.go
@@ -20,10 +20,10 @@
import (
"time"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/gitlab/models"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/gitlab/models"
)
func init() {
diff --git a/backend/plugins/icla/impl/impl.go b/backend/plugins/icla/impl/impl.go
index 1ebd1ea..81001f8 100644
--- a/backend/plugins/icla/impl/impl.go
+++ b/backend/plugins/icla/impl/impl.go
@@ -19,14 +19,14 @@
import (
"fmt"
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/icla/models"
- "github.com/apache/incubator-devlake/plugins/icla/models/migrationscripts"
- "github.com/apache/incubator-devlake/plugins/icla/tasks"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/icla/models"
+ "github.com/apache/devlake/plugins/icla/models/migrationscripts"
+ "github.com/apache/devlake/plugins/icla/tasks"
)
// make sure interface is implemented
@@ -84,7 +84,7 @@
// RootPkgPath information lost when compiled as plugin(.so)
func (p Icla) RootPkgPath() string {
- return "github.com/apache/incubator-devlake/plugins/icla"
+ return "github.com/apache/devlake/plugins/icla"
}
func (p Icla) Name() string {
diff --git a/backend/plugins/icla/models/committer.go b/backend/plugins/icla/models/committer.go
index aad42f6..411c936 100644
--- a/backend/plugins/icla/models/committer.go
+++ b/backend/plugins/icla/models/committer.go
@@ -18,7 +18,7 @@
package models
import (
- "github.com/apache/incubator-devlake/core/models/common"
+ "github.com/apache/devlake/core/models/common"
)
type IclaCommitter struct {
diff --git a/backend/plugins/icla/models/migrationscripts/20221021_add_icla_committer.go b/backend/plugins/icla/models/migrationscripts/20221021_add_icla_committer.go
index d6c4164..be4e305 100644
--- a/backend/plugins/icla/models/migrationscripts/20221021_add_icla_committer.go
+++ b/backend/plugins/icla/models/migrationscripts/20221021_add_icla_committer.go
@@ -18,9 +18,9 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/plugins/icla/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/plugins/icla/models/migrationscripts/archived"
)
type addIclaCommitter struct{}
diff --git a/backend/plugins/icla/models/migrationscripts/archived/committer.go b/backend/plugins/icla/models/migrationscripts/archived/committer.go
index 7c4cc3b..575fea6 100644
--- a/backend/plugins/icla/models/migrationscripts/archived/committer.go
+++ b/backend/plugins/icla/models/migrationscripts/archived/committer.go
@@ -18,7 +18,7 @@
package archived
import (
- "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/models/migrationscripts/archived"
)
type IclaCommitter struct {
diff --git a/backend/plugins/icla/models/migrationscripts/register.go b/backend/plugins/icla/models/migrationscripts/register.go
index fe9c9a1..d3967f7 100644
--- a/backend/plugins/icla/models/migrationscripts/register.go
+++ b/backend/plugins/icla/models/migrationscripts/register.go
@@ -18,7 +18,7 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/plugin"
+ "github.com/apache/devlake/core/plugin"
)
// All return all the migration scripts
diff --git a/backend/plugins/icla/plugin_main.go b/backend/plugins/icla/plugin_main.go
index 3af83c7..33d9beb 100644
--- a/backend/plugins/icla/plugin_main.go
+++ b/backend/plugins/icla/plugin_main.go
@@ -18,8 +18,8 @@
package main
import (
- "github.com/apache/incubator-devlake/core/runner"
- "github.com/apache/incubator-devlake/plugins/icla/impl"
+ "github.com/apache/devlake/core/runner"
+ "github.com/apache/devlake/plugins/icla/impl"
"github.com/spf13/cobra"
)
diff --git a/backend/plugins/icla/tasks/api_client.go b/backend/plugins/icla/tasks/api_client.go
index b216fc7..a94779e 100644
--- a/backend/plugins/icla/tasks/api_client.go
+++ b/backend/plugins/icla/tasks/api_client.go
@@ -19,10 +19,10 @@
import (
"fmt"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/core/utils"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/core/utils"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
)
const ENDPOINT = "https://people.apache.org/"
diff --git a/backend/plugins/icla/tasks/committer_collector.go b/backend/plugins/icla/tasks/committer_collector.go
index b0b4fdf..ad84891 100644
--- a/backend/plugins/icla/tasks/committer_collector.go
+++ b/backend/plugins/icla/tasks/committer_collector.go
@@ -19,9 +19,9 @@
import (
"encoding/json"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
"net/http"
"net/url"
)
diff --git a/backend/plugins/icla/tasks/committer_extractor.go b/backend/plugins/icla/tasks/committer_extractor.go
index 1b88cd8..91033fe 100644
--- a/backend/plugins/icla/tasks/committer_extractor.go
+++ b/backend/plugins/icla/tasks/committer_extractor.go
@@ -19,10 +19,10 @@
import (
"encoding/json"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/icla/models"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/icla/models"
)
var _ plugin.SubTaskEntryPoint = ExtractCommitter
diff --git a/backend/plugins/icla/tasks/task_data.go b/backend/plugins/icla/tasks/task_data.go
index dfa35a0..bdb2865 100644
--- a/backend/plugins/icla/tasks/task_data.go
+++ b/backend/plugins/icla/tasks/task_data.go
@@ -18,7 +18,7 @@
package tasks
import (
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
)
type IclaApiParams struct {
diff --git a/backend/plugins/incidentio/api/blueprint_v200.go b/backend/plugins/incidentio/api/blueprint_v200.go
index 81b3bee..36f3562 100644
--- a/backend/plugins/incidentio/api/blueprint_v200.go
+++ b/backend/plugins/incidentio/api/blueprint_v200.go
@@ -18,16 +18,16 @@
package api
import (
- "github.com/apache/incubator-devlake/core/errors"
- coreModels "github.com/apache/incubator-devlake/core/models"
- "github.com/apache/incubator-devlake/core/models/domainlayer/didgen"
- "github.com/apache/incubator-devlake/core/models/domainlayer/ticket"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/core/utils"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/helpers/srvhelper"
- "github.com/apache/incubator-devlake/plugins/incidentio/models"
- "github.com/apache/incubator-devlake/plugins/incidentio/tasks"
+ "github.com/apache/devlake/core/errors"
+ coreModels "github.com/apache/devlake/core/models"
+ "github.com/apache/devlake/core/models/domainlayer/didgen"
+ "github.com/apache/devlake/core/models/domainlayer/ticket"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/core/utils"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/helpers/srvhelper"
+ "github.com/apache/devlake/plugins/incidentio/models"
+ "github.com/apache/devlake/plugins/incidentio/tasks"
)
func MakeDataSourcePipelinePlanV200(
diff --git a/backend/plugins/incidentio/api/connection_api.go b/backend/plugins/incidentio/api/connection_api.go
index c7c77ba..d65bf27 100644
--- a/backend/plugins/incidentio/api/connection_api.go
+++ b/backend/plugins/incidentio/api/connection_api.go
@@ -21,10 +21,10 @@
"context"
"net/http"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/incidentio/models"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/incidentio/models"
)
func testConnection(ctx context.Context, connection models.IncidentioConn) (*plugin.ApiResourceOutput, errors.Error) {
diff --git a/backend/plugins/incidentio/api/init.go b/backend/plugins/incidentio/api/init.go
index 36a9345..b11e1de 100644
--- a/backend/plugins/incidentio/api/init.go
+++ b/backend/plugins/incidentio/api/init.go
@@ -18,10 +18,10 @@
package api
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/incidentio/models"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/incidentio/models"
"github.com/go-playground/validator/v10"
)
diff --git a/backend/plugins/incidentio/api/remote_api.go b/backend/plugins/incidentio/api/remote_api.go
index 6c8ca53..6ba1b54 100644
--- a/backend/plugins/incidentio/api/remote_api.go
+++ b/backend/plugins/incidentio/api/remote_api.go
@@ -22,13 +22,13 @@
"strings"
"time"
- "github.com/apache/incubator-devlake/core/models/common"
+ "github.com/apache/devlake/core/models/common"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- dsmodels "github.com/apache/incubator-devlake/helpers/pluginhelper/api/models"
- "github.com/apache/incubator-devlake/plugins/incidentio/models"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ dsmodels "github.com/apache/devlake/helpers/pluginhelper/api/models"
+ "github.com/apache/devlake/plugins/incidentio/models"
)
type IncidentioRemotePagination struct {
diff --git a/backend/plugins/incidentio/api/scope_api.go b/backend/plugins/incidentio/api/scope_api.go
index 1d23781..ec47765 100644
--- a/backend/plugins/incidentio/api/scope_api.go
+++ b/backend/plugins/incidentio/api/scope_api.go
@@ -18,10 +18,10 @@
package api
import (
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/incidentio/models"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/incidentio/models"
)
type PutScopesReqBody api.PutScopesReqBody[models.IncidentType]
diff --git a/backend/plugins/incidentio/api/scope_state_api.go b/backend/plugins/incidentio/api/scope_state_api.go
index b8c6cb6..9dc29e4 100644
--- a/backend/plugins/incidentio/api/scope_state_api.go
+++ b/backend/plugins/incidentio/api/scope_state_api.go
@@ -18,8 +18,8 @@
package api
import (
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
)
// GetScopeLatestSyncState get one incidentio incident type's latest sync state
diff --git a/backend/plugins/incidentio/api/swagger.go b/backend/plugins/incidentio/api/swagger.go
index 9169151..0d5b289 100644
--- a/backend/plugins/incidentio/api/swagger.go
+++ b/backend/plugins/incidentio/api/swagger.go
@@ -18,7 +18,7 @@
package api
import (
- "github.com/apache/incubator-devlake/plugins/incidentio/tasks"
+ "github.com/apache/devlake/plugins/incidentio/tasks"
)
type IncidentioTaskOptions tasks.IncidentioOptions
diff --git a/backend/plugins/incidentio/e2e/incident_test.go b/backend/plugins/incidentio/e2e/incident_test.go
index 7f19a34..0f7489c 100644
--- a/backend/plugins/incidentio/e2e/incident_test.go
+++ b/backend/plugins/incidentio/e2e/incident_test.go
@@ -20,12 +20,12 @@
import (
"testing"
- "github.com/apache/incubator-devlake/core/models/common"
- "github.com/apache/incubator-devlake/core/models/domainlayer/ticket"
- "github.com/apache/incubator-devlake/helpers/e2ehelper"
- "github.com/apache/incubator-devlake/plugins/incidentio/impl"
- "github.com/apache/incubator-devlake/plugins/incidentio/models"
- "github.com/apache/incubator-devlake/plugins/incidentio/tasks"
+ "github.com/apache/devlake/core/models/common"
+ "github.com/apache/devlake/core/models/domainlayer/ticket"
+ "github.com/apache/devlake/helpers/e2ehelper"
+ "github.com/apache/devlake/plugins/incidentio/impl"
+ "github.com/apache/devlake/plugins/incidentio/models"
+ "github.com/apache/devlake/plugins/incidentio/tasks"
"github.com/stretchr/testify/require"
)
diff --git a/backend/plugins/incidentio/impl/impl.go b/backend/plugins/incidentio/impl/impl.go
index 3b36e6b..43502d3 100644
--- a/backend/plugins/incidentio/impl/impl.go
+++ b/backend/plugins/incidentio/impl/impl.go
@@ -20,16 +20,16 @@
import (
"fmt"
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- coreModels "github.com/apache/incubator-devlake/core/models"
- "github.com/apache/incubator-devlake/core/plugin"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/incidentio/api"
- "github.com/apache/incubator-devlake/plugins/incidentio/models"
- "github.com/apache/incubator-devlake/plugins/incidentio/models/migrationscripts"
- "github.com/apache/incubator-devlake/plugins/incidentio/tasks"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ coreModels "github.com/apache/devlake/core/models"
+ "github.com/apache/devlake/core/plugin"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/incidentio/api"
+ "github.com/apache/devlake/plugins/incidentio/models"
+ "github.com/apache/devlake/plugins/incidentio/models/migrationscripts"
+ "github.com/apache/devlake/plugins/incidentio/tasks"
)
// make sure interface is implemented
@@ -126,7 +126,7 @@
// RootPkgPath information lost when compiled as plugin(.so)
func (p Incidentio) RootPkgPath() string {
- return "github.com/apache/incubator-devlake/plugins/incidentio"
+ return "github.com/apache/devlake/plugins/incidentio"
}
func (p Incidentio) MigrationScripts() []plugin.MigrationScript {
diff --git a/backend/plugins/incidentio/incidentio.go b/backend/plugins/incidentio/incidentio.go
index e24d12d..47c6aaa 100644
--- a/backend/plugins/incidentio/incidentio.go
+++ b/backend/plugins/incidentio/incidentio.go
@@ -18,8 +18,8 @@
package main
import (
- "github.com/apache/incubator-devlake/core/runner"
- "github.com/apache/incubator-devlake/plugins/incidentio/impl"
+ "github.com/apache/devlake/core/runner"
+ "github.com/apache/devlake/plugins/incidentio/impl"
"github.com/spf13/cobra"
)
diff --git a/backend/plugins/incidentio/models/connection.go b/backend/plugins/incidentio/models/connection.go
index 333bb50..955a019 100644
--- a/backend/plugins/incidentio/models/connection.go
+++ b/backend/plugins/incidentio/models/connection.go
@@ -21,9 +21,9 @@
"fmt"
"net/http"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/utils"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/utils"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
)
type IncidentioAccessToken helper.AccessToken
diff --git a/backend/plugins/incidentio/models/incident.go b/backend/plugins/incidentio/models/incident.go
index 7a8d42d..0c98d4f 100644
--- a/backend/plugins/incidentio/models/incident.go
+++ b/backend/plugins/incidentio/models/incident.go
@@ -20,7 +20,7 @@
import (
"time"
- "github.com/apache/incubator-devlake/core/models/common"
+ "github.com/apache/devlake/core/models/common"
)
type Incident struct {
diff --git a/backend/plugins/incidentio/models/incident_type.go b/backend/plugins/incidentio/models/incident_type.go
index 3aa3075..94f6682 100644
--- a/backend/plugins/incidentio/models/incident_type.go
+++ b/backend/plugins/incidentio/models/incident_type.go
@@ -18,8 +18,8 @@
package models
import (
- "github.com/apache/incubator-devlake/core/models/common"
- "github.com/apache/incubator-devlake/core/plugin"
+ "github.com/apache/devlake/core/models/common"
+ "github.com/apache/devlake/core/plugin"
)
type IncidentioParams struct {
diff --git a/backend/plugins/incidentio/models/migrationscripts/20260729_add_init_tables.go b/backend/plugins/incidentio/models/migrationscripts/20260729_add_init_tables.go
index fbdeb31..4578a9a 100644
--- a/backend/plugins/incidentio/models/migrationscripts/20260729_add_init_tables.go
+++ b/backend/plugins/incidentio/models/migrationscripts/20260729_add_init_tables.go
@@ -18,10 +18,10 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/helpers/migrationhelper"
- "github.com/apache/incubator-devlake/plugins/incidentio/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/helpers/migrationhelper"
+ "github.com/apache/devlake/plugins/incidentio/models/migrationscripts/archived"
)
type addInitTables struct{}
diff --git a/backend/plugins/incidentio/models/migrationscripts/archived/connection.go b/backend/plugins/incidentio/models/migrationscripts/archived/connection.go
index 7f176fc..f5c447b 100644
--- a/backend/plugins/incidentio/models/migrationscripts/archived/connection.go
+++ b/backend/plugins/incidentio/models/migrationscripts/archived/connection.go
@@ -18,7 +18,7 @@
package archived
import (
- "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/models/migrationscripts/archived"
)
type Connection struct {
diff --git a/backend/plugins/incidentio/models/migrationscripts/archived/incident.go b/backend/plugins/incidentio/models/migrationscripts/archived/incident.go
index f665fec..666bd8b 100644
--- a/backend/plugins/incidentio/models/migrationscripts/archived/incident.go
+++ b/backend/plugins/incidentio/models/migrationscripts/archived/incident.go
@@ -20,7 +20,7 @@
import (
"time"
- "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/models/migrationscripts/archived"
)
type Incident struct {
diff --git a/backend/plugins/incidentio/models/migrationscripts/archived/incident_type.go b/backend/plugins/incidentio/models/migrationscripts/archived/incident_type.go
index 8dca339..f85cd61 100644
--- a/backend/plugins/incidentio/models/migrationscripts/archived/incident_type.go
+++ b/backend/plugins/incidentio/models/migrationscripts/archived/incident_type.go
@@ -18,7 +18,7 @@
package archived
import (
- "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/models/migrationscripts/archived"
)
// ScopeConfigId mirrors the column that live `models.IncidentType` gets
diff --git a/backend/plugins/incidentio/models/migrationscripts/archived/scope_config.go b/backend/plugins/incidentio/models/migrationscripts/archived/scope_config.go
index 8b6174e..30f49ac 100644
--- a/backend/plugins/incidentio/models/migrationscripts/archived/scope_config.go
+++ b/backend/plugins/incidentio/models/migrationscripts/archived/scope_config.go
@@ -18,7 +18,7 @@
package archived
import (
- "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/models/migrationscripts/archived"
)
// ConnectionId and Name come from `common.ScopeConfig` on the live
diff --git a/backend/plugins/incidentio/models/migrationscripts/register.go b/backend/plugins/incidentio/models/migrationscripts/register.go
index 16c72e2..3a5c27d 100644
--- a/backend/plugins/incidentio/models/migrationscripts/register.go
+++ b/backend/plugins/incidentio/models/migrationscripts/register.go
@@ -18,7 +18,7 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/plugin"
+ "github.com/apache/devlake/core/plugin"
)
// All returns all the migration scripts for the incidentio plugin
diff --git a/backend/plugins/incidentio/models/scope_config.go b/backend/plugins/incidentio/models/scope_config.go
index f3220e1..659d98e 100644
--- a/backend/plugins/incidentio/models/scope_config.go
+++ b/backend/plugins/incidentio/models/scope_config.go
@@ -18,7 +18,7 @@
package models
import (
- "github.com/apache/incubator-devlake/core/models/common"
+ "github.com/apache/devlake/core/models/common"
)
type IncidentioScopeConfig struct {
diff --git a/backend/plugins/incidentio/tasks/incident_type_converter.go b/backend/plugins/incidentio/tasks/incident_type_converter.go
index 6744b46..fc85290 100644
--- a/backend/plugins/incidentio/tasks/incident_type_converter.go
+++ b/backend/plugins/incidentio/tasks/incident_type_converter.go
@@ -20,14 +20,14 @@
import (
"reflect"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/domainlayer"
- "github.com/apache/incubator-devlake/core/models/domainlayer/didgen"
- "github.com/apache/incubator-devlake/core/models/domainlayer/ticket"
- "github.com/apache/incubator-devlake/core/plugin"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/incidentio/models"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/domainlayer"
+ "github.com/apache/devlake/core/models/domainlayer/didgen"
+ "github.com/apache/devlake/core/models/domainlayer/ticket"
+ "github.com/apache/devlake/core/plugin"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/incidentio/models"
)
var ConvertIncidentTypesMeta = plugin.SubTaskMeta{
diff --git a/backend/plugins/incidentio/tasks/incident_types_collector.go b/backend/plugins/incidentio/tasks/incident_types_collector.go
index d440ed0..5ed7f3f 100644
--- a/backend/plugins/incidentio/tasks/incident_types_collector.go
+++ b/backend/plugins/incidentio/tasks/incident_types_collector.go
@@ -21,9 +21,9 @@
"encoding/json"
"net/http"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
)
const RAW_INCIDENT_TYPES_TABLE = "incidentio_incident_types"
diff --git a/backend/plugins/incidentio/tasks/incident_types_extractor.go b/backend/plugins/incidentio/tasks/incident_types_extractor.go
index a5fb1bc..b3f2d4f 100644
--- a/backend/plugins/incidentio/tasks/incident_types_extractor.go
+++ b/backend/plugins/incidentio/tasks/incident_types_extractor.go
@@ -20,12 +20,12 @@
import (
"encoding/json"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/incidentio/models"
- "github.com/apache/incubator-devlake/plugins/incidentio/models/raw"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/incidentio/models"
+ "github.com/apache/devlake/plugins/incidentio/models/raw"
)
var _ plugin.SubTaskEntryPoint = ExtractIncidentTypes
diff --git a/backend/plugins/incidentio/tasks/incidents_collector.go b/backend/plugins/incidentio/tasks/incidents_collector.go
index de4f730..9fb1748 100644
--- a/backend/plugins/incidentio/tasks/incidents_collector.go
+++ b/backend/plugins/incidentio/tasks/incidents_collector.go
@@ -24,9 +24,9 @@
"net/url"
"time"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
)
const RAW_INCIDENTS_TABLE = "incidentio_incidents"
diff --git a/backend/plugins/incidentio/tasks/incidents_converter.go b/backend/plugins/incidentio/tasks/incidents_converter.go
index 90247c4..9f3c926 100644
--- a/backend/plugins/incidentio/tasks/incidents_converter.go
+++ b/backend/plugins/incidentio/tasks/incidents_converter.go
@@ -21,14 +21,14 @@
"reflect"
"time"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/domainlayer"
- "github.com/apache/incubator-devlake/core/models/domainlayer/didgen"
- "github.com/apache/incubator-devlake/core/models/domainlayer/ticket"
- "github.com/apache/incubator-devlake/core/plugin"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/incidentio/models"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/domainlayer"
+ "github.com/apache/devlake/core/models/domainlayer/didgen"
+ "github.com/apache/devlake/core/models/domainlayer/ticket"
+ "github.com/apache/devlake/core/plugin"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/incidentio/models"
)
var _ plugin.SubTaskEntryPoint = ConvertIncidents
diff --git a/backend/plugins/incidentio/tasks/incidents_converter_test.go b/backend/plugins/incidentio/tasks/incidents_converter_test.go
index dc9924a..023e665 100644
--- a/backend/plugins/incidentio/tasks/incidents_converter_test.go
+++ b/backend/plugins/incidentio/tasks/incidents_converter_test.go
@@ -24,8 +24,8 @@
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
- "github.com/apache/incubator-devlake/core/models/domainlayer/ticket"
- "github.com/apache/incubator-devlake/plugins/incidentio/models"
+ "github.com/apache/devlake/core/models/domainlayer/ticket"
+ "github.com/apache/devlake/plugins/incidentio/models"
)
func TestMapStatusCategory(t *testing.T) {
diff --git a/backend/plugins/incidentio/tasks/incidents_extractor.go b/backend/plugins/incidentio/tasks/incidents_extractor.go
index 6bfd9bd..ac6dbb7 100644
--- a/backend/plugins/incidentio/tasks/incidents_extractor.go
+++ b/backend/plugins/incidentio/tasks/incidents_extractor.go
@@ -21,11 +21,11 @@
"encoding/json"
"time"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/incidentio/models"
- "github.com/apache/incubator-devlake/plugins/incidentio/models/raw"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/incidentio/models"
+ "github.com/apache/devlake/plugins/incidentio/models/raw"
)
var _ plugin.SubTaskEntryPoint = ExtractIncidents
diff --git a/backend/plugins/incidentio/tasks/incidents_extractor_test.go b/backend/plugins/incidentio/tasks/incidents_extractor_test.go
index 0a0f08e..06abef2 100644
--- a/backend/plugins/incidentio/tasks/incidents_extractor_test.go
+++ b/backend/plugins/incidentio/tasks/incidents_extractor_test.go
@@ -24,7 +24,7 @@
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
- "github.com/apache/incubator-devlake/plugins/incidentio/models"
+ "github.com/apache/devlake/plugins/incidentio/models"
)
const baseHappyPathActive = `{
diff --git a/backend/plugins/incidentio/tasks/task_data.go b/backend/plugins/incidentio/tasks/task_data.go
index 9659d39..2b9898c 100644
--- a/backend/plugins/incidentio/tasks/task_data.go
+++ b/backend/plugins/incidentio/tasks/task_data.go
@@ -18,9 +18,9 @@
package tasks
import (
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/incidentio/models"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/incidentio/models"
)
type IncidentioOptions struct {
diff --git a/backend/plugins/issue_trace/api/init.go b/backend/plugins/issue_trace/api/init.go
index 998af38..5ac5bdf 100644
--- a/backend/plugins/issue_trace/api/init.go
+++ b/backend/plugins/issue_trace/api/init.go
@@ -18,7 +18,7 @@
package api
import (
- "github.com/apache/incubator-devlake/core/context"
+ "github.com/apache/devlake/core/context"
"github.com/go-playground/validator/v10"
)
diff --git a/backend/plugins/issue_trace/e2e/general_issue_assignee_history_test.go b/backend/plugins/issue_trace/e2e/general_issue_assignee_history_test.go
index 13a1406..0270c00 100644
--- a/backend/plugins/issue_trace/e2e/general_issue_assignee_history_test.go
+++ b/backend/plugins/issue_trace/e2e/general_issue_assignee_history_test.go
@@ -20,11 +20,11 @@
import (
"testing"
- "github.com/apache/incubator-devlake/core/models/domainlayer/ticket"
- "github.com/apache/incubator-devlake/helpers/e2ehelper"
- "github.com/apache/incubator-devlake/plugins/issue_trace/impl"
- "github.com/apache/incubator-devlake/plugins/issue_trace/models"
- "github.com/apache/incubator-devlake/plugins/issue_trace/tasks"
+ "github.com/apache/devlake/core/models/domainlayer/ticket"
+ "github.com/apache/devlake/helpers/e2ehelper"
+ "github.com/apache/devlake/plugins/issue_trace/impl"
+ "github.com/apache/devlake/plugins/issue_trace/models"
+ "github.com/apache/devlake/plugins/issue_trace/tasks"
)
func TestConvertIssueAssigneeHistory(t *testing.T) {
diff --git a/backend/plugins/issue_trace/e2e/general_issue_status_history_test.go b/backend/plugins/issue_trace/e2e/general_issue_status_history_test.go
index 7076b96..eeeffff 100644
--- a/backend/plugins/issue_trace/e2e/general_issue_status_history_test.go
+++ b/backend/plugins/issue_trace/e2e/general_issue_status_history_test.go
@@ -20,11 +20,11 @@
import (
"testing"
- "github.com/apache/incubator-devlake/core/models/domainlayer/ticket"
- "github.com/apache/incubator-devlake/helpers/e2ehelper"
- "github.com/apache/incubator-devlake/plugins/issue_trace/impl"
- "github.com/apache/incubator-devlake/plugins/issue_trace/models"
- "github.com/apache/incubator-devlake/plugins/issue_trace/tasks"
+ "github.com/apache/devlake/core/models/domainlayer/ticket"
+ "github.com/apache/devlake/helpers/e2ehelper"
+ "github.com/apache/devlake/plugins/issue_trace/impl"
+ "github.com/apache/devlake/plugins/issue_trace/models"
+ "github.com/apache/devlake/plugins/issue_trace/tasks"
)
func TestConvertIssueStatusHistory(t *testing.T) {
diff --git a/backend/plugins/issue_trace/e2e/meta.go b/backend/plugins/issue_trace/e2e/meta.go
index 82fbbd6..dafa601 100644
--- a/backend/plugins/issue_trace/e2e/meta.go
+++ b/backend/plugins/issue_trace/e2e/meta.go
@@ -17,7 +17,7 @@
package e2e
-import "github.com/apache/incubator-devlake/plugins/issue_trace/tasks"
+import "github.com/apache/devlake/plugins/issue_trace/tasks"
var TaskData = &tasks.TaskData{
Options: tasks.Options{
diff --git a/backend/plugins/issue_trace/impl/enricher.go b/backend/plugins/issue_trace/impl/enricher.go
index 73280d3..a335bd8 100644
--- a/backend/plugins/issue_trace/impl/enricher.go
+++ b/backend/plugins/issue_trace/impl/enricher.go
@@ -20,16 +20,16 @@
import (
"encoding/json"
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- coreModels "github.com/apache/incubator-devlake/core/models"
- "github.com/apache/incubator-devlake/core/models/domainlayer/crossdomain"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/plugins/issue_trace/api"
- "github.com/apache/incubator-devlake/plugins/issue_trace/models"
- "github.com/apache/incubator-devlake/plugins/issue_trace/models/migrationscripts"
- "github.com/apache/incubator-devlake/plugins/issue_trace/tasks"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ coreModels "github.com/apache/devlake/core/models"
+ "github.com/apache/devlake/core/models/domainlayer/crossdomain"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/plugins/issue_trace/api"
+ "github.com/apache/devlake/plugins/issue_trace/models"
+ "github.com/apache/devlake/plugins/issue_trace/models/migrationscripts"
+ "github.com/apache/devlake/plugins/issue_trace/tasks"
"github.com/go-viper/mapstructure/v2"
)
@@ -131,7 +131,7 @@
}
func (p IssueTrace) RootPkgPath() string {
- return "github.com/apache/incubator-devlake/plugins/issue_trace"
+ return "github.com/apache/devlake/plugins/issue_trace"
}
func (p IssueTrace) MigrationScripts() []plugin.MigrationScript {
diff --git a/backend/plugins/issue_trace/issue_trace.go b/backend/plugins/issue_trace/issue_trace.go
index 21d6cdc..8b729cb 100644
--- a/backend/plugins/issue_trace/issue_trace.go
+++ b/backend/plugins/issue_trace/issue_trace.go
@@ -20,8 +20,8 @@
import (
"fmt"
- "github.com/apache/incubator-devlake/core/runner"
- "github.com/apache/incubator-devlake/plugins/issue_trace/impl"
+ "github.com/apache/devlake/core/runner"
+ "github.com/apache/devlake/plugins/issue_trace/impl"
"github.com/spf13/cobra"
)
diff --git a/backend/plugins/issue_trace/models/issue_assignee_history.go b/backend/plugins/issue_trace/models/issue_assignee_history.go
index c68b210..4710d96 100644
--- a/backend/plugins/issue_trace/models/issue_assignee_history.go
+++ b/backend/plugins/issue_trace/models/issue_assignee_history.go
@@ -20,7 +20,7 @@
import (
"time"
- "github.com/apache/incubator-devlake/core/models/common"
+ "github.com/apache/devlake/core/models/common"
)
// IssueAssigneeHistory records issue assignee history
diff --git a/backend/plugins/issue_trace/models/issue_status_history.go b/backend/plugins/issue_trace/models/issue_status_history.go
index b171516..b562ffa 100644
--- a/backend/plugins/issue_trace/models/issue_status_history.go
+++ b/backend/plugins/issue_trace/models/issue_status_history.go
@@ -20,7 +20,7 @@
import (
"time"
- "github.com/apache/incubator-devlake/core/models/common"
+ "github.com/apache/devlake/core/models/common"
)
// IssueStatusHistory records issue status history (status original value)
diff --git a/backend/plugins/issue_trace/models/migrationscripts/2024_05_30_new_issue_table.go b/backend/plugins/issue_trace/models/migrationscripts/2024_05_30_new_issue_table.go
index 6c20c7b..4c597df 100644
--- a/backend/plugins/issue_trace/models/migrationscripts/2024_05_30_new_issue_table.go
+++ b/backend/plugins/issue_trace/models/migrationscripts/2024_05_30_new_issue_table.go
@@ -20,10 +20,10 @@
import (
"time"
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
- "github.com/apache/incubator-devlake/helpers/migrationhelper"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/helpers/migrationhelper"
)
type NewIssueTable struct {
diff --git a/backend/plugins/issue_trace/services/query.go b/backend/plugins/issue_trace/services/query.go
index b8c7d57..2deec2d 100644
--- a/backend/plugins/issue_trace/services/query.go
+++ b/backend/plugins/issue_trace/services/query.go
@@ -18,8 +18,8 @@
package services
import (
- jiraModel "github.com/apache/incubator-devlake/plugins/jira/models"
- tapdModel "github.com/apache/incubator-devlake/plugins/tapd/models"
+ jiraModel "github.com/apache/devlake/plugins/jira/models"
+ tapdModel "github.com/apache/devlake/plugins/tapd/models"
)
func GetTicketBoardModel(plugin string) interface{} {
diff --git a/backend/plugins/issue_trace/tasks/issue_assignee_history_convertor.go b/backend/plugins/issue_trace/tasks/issue_assignee_history_convertor.go
index b14037c..0754533 100644
--- a/backend/plugins/issue_trace/tasks/issue_assignee_history_convertor.go
+++ b/backend/plugins/issue_trace/tasks/issue_assignee_history_convertor.go
@@ -21,13 +21,13 @@
"reflect"
"time"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/common"
- "github.com/apache/incubator-devlake/core/plugin"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/issue_trace/models"
- "github.com/apache/incubator-devlake/plugins/issue_trace/utils"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/common"
+ "github.com/apache/devlake/core/plugin"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/issue_trace/models"
+ "github.com/apache/devlake/plugins/issue_trace/utils"
)
type AssigneeHistory struct {
diff --git a/backend/plugins/issue_trace/tasks/issue_status_history_convertor.go b/backend/plugins/issue_trace/tasks/issue_status_history_convertor.go
index efe8ddb..bc378a0 100644
--- a/backend/plugins/issue_trace/tasks/issue_status_history_convertor.go
+++ b/backend/plugins/issue_trace/tasks/issue_status_history_convertor.go
@@ -21,13 +21,13 @@
"reflect"
"time"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/common"
- "github.com/apache/incubator-devlake/core/plugin"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/issue_trace/models"
- "github.com/apache/incubator-devlake/plugins/issue_trace/utils"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/common"
+ "github.com/apache/devlake/core/plugin"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/issue_trace/models"
+ "github.com/apache/devlake/plugins/issue_trace/utils"
)
type IssueStatusWithoutChangeLog struct {
diff --git a/backend/plugins/issue_trace/tasks/issue_status_history_convertor_test.go b/backend/plugins/issue_trace/tasks/issue_status_history_convertor_test.go
index 8f3f734..651bf3b 100644
--- a/backend/plugins/issue_trace/tasks/issue_status_history_convertor_test.go
+++ b/backend/plugins/issue_trace/tasks/issue_status_history_convertor_test.go
@@ -21,7 +21,7 @@
"reflect"
"testing"
- "github.com/apache/incubator-devlake/plugins/issue_trace/models"
+ "github.com/apache/devlake/plugins/issue_trace/models"
)
func Test_buildStatusHistoryRecords(t *testing.T) {
diff --git a/backend/plugins/issue_trace/utils/context.go b/backend/plugins/issue_trace/utils/context.go
index d5935ad..12ed69a 100644
--- a/backend/plugins/issue_trace/utils/context.go
+++ b/backend/plugins/issue_trace/utils/context.go
@@ -18,8 +18,8 @@
package utils
import (
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
)
func CheckCancel(taskCtx plugin.SubTaskContext) errors.Error {
diff --git a/backend/plugins/jenkins/api/blueprint_v200.go b/backend/plugins/jenkins/api/blueprint_v200.go
index cd51141..3354a2d 100644
--- a/backend/plugins/jenkins/api/blueprint_v200.go
+++ b/backend/plugins/jenkins/api/blueprint_v200.go
@@ -20,17 +20,17 @@
import (
"context"
- "github.com/apache/incubator-devlake/core/errors"
- coreModels "github.com/apache/incubator-devlake/core/models"
- "github.com/apache/incubator-devlake/core/models/domainlayer"
- "github.com/apache/incubator-devlake/core/models/domainlayer/devops"
- "github.com/apache/incubator-devlake/core/models/domainlayer/didgen"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/core/utils"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/helpers/srvhelper"
- "github.com/apache/incubator-devlake/plugins/jenkins/models"
- "github.com/apache/incubator-devlake/plugins/jenkins/tasks"
+ "github.com/apache/devlake/core/errors"
+ coreModels "github.com/apache/devlake/core/models"
+ "github.com/apache/devlake/core/models/domainlayer"
+ "github.com/apache/devlake/core/models/domainlayer/devops"
+ "github.com/apache/devlake/core/models/domainlayer/didgen"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/core/utils"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/helpers/srvhelper"
+ "github.com/apache/devlake/plugins/jenkins/models"
+ "github.com/apache/devlake/plugins/jenkins/tasks"
)
func MakeDataSourcePipelinePlanV200(
diff --git a/backend/plugins/jenkins/api/connection_api.go b/backend/plugins/jenkins/api/connection_api.go
index b213bb0..a7406e8 100644
--- a/backend/plugins/jenkins/api/connection_api.go
+++ b/backend/plugins/jenkins/api/connection_api.go
@@ -22,12 +22,12 @@
"net/http"
"strings"
- "github.com/apache/incubator-devlake/server/api/shared"
+ "github.com/apache/devlake/server/api/shared"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/jenkins/models"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/jenkins/models"
)
type JenkinsTestConnResponse struct {
diff --git a/backend/plugins/jenkins/api/init.go b/backend/plugins/jenkins/api/init.go
index ebcb14c..c461132 100644
--- a/backend/plugins/jenkins/api/init.go
+++ b/backend/plugins/jenkins/api/init.go
@@ -18,10 +18,10 @@
package api
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/jenkins/models"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/jenkins/models"
"github.com/go-playground/validator/v10"
)
diff --git a/backend/plugins/jenkins/api/jobs.go b/backend/plugins/jenkins/api/jobs.go
index b6f2da3..c66945d 100644
--- a/backend/plugins/jenkins/api/jobs.go
+++ b/backend/plugins/jenkins/api/jobs.go
@@ -23,11 +23,11 @@
"net/http"
"net/url"
- "github.com/apache/incubator-devlake/plugins/jenkins/models"
+ "github.com/apache/devlake/plugins/jenkins/models"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
)
func GetJobsPage(apiClient plugin.ApiClient, path string, page int, pageSize int, callback func(job *models.Job) errors.Error) (int, errors.Error) {
diff --git a/backend/plugins/jenkins/api/jobs_test.go b/backend/plugins/jenkins/api/jobs_test.go
index 21c2313..67259f1 100644
--- a/backend/plugins/jenkins/api/jobs_test.go
+++ b/backend/plugins/jenkins/api/jobs_test.go
@@ -24,12 +24,12 @@
"net/http"
"testing"
- mockdal "github.com/apache/incubator-devlake/mocks/core/dal"
- mockplugin "github.com/apache/incubator-devlake/mocks/core/plugin"
+ mockdal "github.com/apache/devlake/mocks/core/dal"
+ mockplugin "github.com/apache/devlake/mocks/core/plugin"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/helpers/unithelper"
- "github.com/apache/incubator-devlake/plugins/jenkins/models"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/helpers/unithelper"
+ "github.com/apache/devlake/plugins/jenkins/models"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/mock"
)
diff --git a/backend/plugins/jenkins/api/remote_api.go b/backend/plugins/jenkins/api/remote_api.go
index e825fec..58b486c 100644
--- a/backend/plugins/jenkins/api/remote_api.go
+++ b/backend/plugins/jenkins/api/remote_api.go
@@ -21,11 +21,11 @@
"fmt"
"golang.org/x/exp/slices"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- dsmodels "github.com/apache/incubator-devlake/helpers/pluginhelper/api/models"
- "github.com/apache/incubator-devlake/plugins/jenkins/models"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ dsmodels "github.com/apache/devlake/helpers/pluginhelper/api/models"
+ "github.com/apache/devlake/plugins/jenkins/models"
)
type JenkinsRemotePagination struct {
diff --git a/backend/plugins/jenkins/api/scope_api.go b/backend/plugins/jenkins/api/scope_api.go
index 2746bdd..e7aa847 100644
--- a/backend/plugins/jenkins/api/scope_api.go
+++ b/backend/plugins/jenkins/api/scope_api.go
@@ -20,10 +20,10 @@
import (
"strings"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/jenkins/models"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/jenkins/models"
)
type PutScopesReqBody api.PutScopesReqBody[models.JenkinsJob]
diff --git a/backend/plugins/jenkins/api/scope_config_api.go b/backend/plugins/jenkins/api/scope_config_api.go
index 9e46d05..f7bfc1f 100644
--- a/backend/plugins/jenkins/api/scope_config_api.go
+++ b/backend/plugins/jenkins/api/scope_config_api.go
@@ -18,8 +18,8 @@
package api
import (
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
)
// CreateScopeConfig create scope config for Jenkins
diff --git a/backend/plugins/jenkins/api/scope_state_api.go b/backend/plugins/jenkins/api/scope_state_api.go
index f11600e..fff81ae 100644
--- a/backend/plugins/jenkins/api/scope_state_api.go
+++ b/backend/plugins/jenkins/api/scope_state_api.go
@@ -18,8 +18,8 @@
package api
import (
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
)
// GetScopeLatestSyncState get one Jenkins job's latest sync state
diff --git a/backend/plugins/jenkins/api/swagger.go b/backend/plugins/jenkins/api/swagger.go
index 0007b0a..076ce25 100644
--- a/backend/plugins/jenkins/api/swagger.go
+++ b/backend/plugins/jenkins/api/swagger.go
@@ -18,7 +18,7 @@
package api
import (
- "github.com/apache/incubator-devlake/plugins/jenkins/tasks"
+ "github.com/apache/devlake/plugins/jenkins/tasks"
)
type JenkinsTaskOptions tasks.JenkinsOptions
diff --git a/backend/plugins/jenkins/e2e/builds_test.go b/backend/plugins/jenkins/e2e/builds_test.go
index 2752c10..b507f47 100644
--- a/backend/plugins/jenkins/e2e/builds_test.go
+++ b/backend/plugins/jenkins/e2e/builds_test.go
@@ -20,12 +20,12 @@
import (
"testing"
- "github.com/apache/incubator-devlake/core/models/domainlayer/devops"
- "github.com/apache/incubator-devlake/helpers/e2ehelper"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/jenkins/impl"
- "github.com/apache/incubator-devlake/plugins/jenkins/models"
- "github.com/apache/incubator-devlake/plugins/jenkins/tasks"
+ "github.com/apache/devlake/core/models/domainlayer/devops"
+ "github.com/apache/devlake/helpers/e2ehelper"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/jenkins/impl"
+ "github.com/apache/devlake/plugins/jenkins/models"
+ "github.com/apache/devlake/plugins/jenkins/tasks"
)
func TestJenkinsBuildsDataFlow(t *testing.T) {
diff --git a/backend/plugins/jenkins/e2e/jobs_test.go b/backend/plugins/jenkins/e2e/jobs_test.go
index b4cfa52..63cb283 100644
--- a/backend/plugins/jenkins/e2e/jobs_test.go
+++ b/backend/plugins/jenkins/e2e/jobs_test.go
@@ -20,15 +20,15 @@
import (
"testing"
- "github.com/apache/incubator-devlake/core/models/common"
- "github.com/apache/incubator-devlake/core/models/domainlayer/devops"
+ "github.com/apache/devlake/core/models/common"
+ "github.com/apache/devlake/core/models/domainlayer/devops"
- "github.com/apache/incubator-devlake/helpers/e2ehelper"
- "github.com/apache/incubator-devlake/plugins/jenkins/impl"
- "github.com/apache/incubator-devlake/plugins/jenkins/models"
- "github.com/apache/incubator-devlake/plugins/jenkins/tasks"
+ "github.com/apache/devlake/helpers/e2ehelper"
+ "github.com/apache/devlake/plugins/jenkins/impl"
+ "github.com/apache/devlake/plugins/jenkins/models"
+ "github.com/apache/devlake/plugins/jenkins/tasks"
- api "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
+ api "github.com/apache/devlake/helpers/pluginhelper/api"
)
func TestJenkinsJobsDataFlow(t *testing.T) {
diff --git a/backend/plugins/jenkins/e2e/multibranch_test.go b/backend/plugins/jenkins/e2e/multibranch_test.go
index f784371..a398f43 100644
--- a/backend/plugins/jenkins/e2e/multibranch_test.go
+++ b/backend/plugins/jenkins/e2e/multibranch_test.go
@@ -20,15 +20,15 @@
import (
"testing"
- "github.com/apache/incubator-devlake/core/models/common"
- "github.com/apache/incubator-devlake/core/models/domainlayer/devops"
+ "github.com/apache/devlake/core/models/common"
+ "github.com/apache/devlake/core/models/domainlayer/devops"
- "github.com/apache/incubator-devlake/helpers/e2ehelper"
- "github.com/apache/incubator-devlake/plugins/jenkins/impl"
- "github.com/apache/incubator-devlake/plugins/jenkins/models"
- "github.com/apache/incubator-devlake/plugins/jenkins/tasks"
+ "github.com/apache/devlake/helpers/e2ehelper"
+ "github.com/apache/devlake/plugins/jenkins/impl"
+ "github.com/apache/devlake/plugins/jenkins/models"
+ "github.com/apache/devlake/plugins/jenkins/tasks"
- api "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
+ api "github.com/apache/devlake/helpers/pluginhelper/api"
)
func TestJenkinsMultibranchDataFlow(t *testing.T) {
diff --git a/backend/plugins/jenkins/e2e/stages_test.go b/backend/plugins/jenkins/e2e/stages_test.go
index 527698a..1a3aa0c 100644
--- a/backend/plugins/jenkins/e2e/stages_test.go
+++ b/backend/plugins/jenkins/e2e/stages_test.go
@@ -20,12 +20,12 @@
import (
"testing"
- "github.com/apache/incubator-devlake/core/models/domainlayer/devops"
- "github.com/apache/incubator-devlake/helpers/e2ehelper"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/jenkins/impl"
- "github.com/apache/incubator-devlake/plugins/jenkins/models"
- "github.com/apache/incubator-devlake/plugins/jenkins/tasks"
+ "github.com/apache/devlake/core/models/domainlayer/devops"
+ "github.com/apache/devlake/helpers/e2ehelper"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/jenkins/impl"
+ "github.com/apache/devlake/plugins/jenkins/models"
+ "github.com/apache/devlake/plugins/jenkins/tasks"
)
func TestJenkinsStagesDataFlow(t *testing.T) {
diff --git a/backend/plugins/jenkins/impl/impl.go b/backend/plugins/jenkins/impl/impl.go
index c33e50d..06c2a26 100644
--- a/backend/plugins/jenkins/impl/impl.go
+++ b/backend/plugins/jenkins/impl/impl.go
@@ -21,19 +21,19 @@
"fmt"
"strings"
- coreModels "github.com/apache/incubator-devlake/core/models"
+ coreModels "github.com/apache/devlake/core/models"
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/models/domainlayer/devops"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/models/domainlayer/devops"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/jenkins/api"
- "github.com/apache/incubator-devlake/plugins/jenkins/models"
- "github.com/apache/incubator-devlake/plugins/jenkins/models/migrationscripts"
- "github.com/apache/incubator-devlake/plugins/jenkins/tasks"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/jenkins/api"
+ "github.com/apache/devlake/plugins/jenkins/models"
+ "github.com/apache/devlake/plugins/jenkins/models/migrationscripts"
+ "github.com/apache/devlake/plugins/jenkins/tasks"
)
var _ interface {
@@ -156,7 +156,7 @@
}
func (p Jenkins) RootPkgPath() string {
- return "github.com/apache/incubator-devlake/plugins/jenkins"
+ return "github.com/apache/devlake/plugins/jenkins"
}
func (p Jenkins) MigrationScripts() []plugin.MigrationScript {
diff --git a/backend/plugins/jenkins/jenkins.go b/backend/plugins/jenkins/jenkins.go
index fff9039..2046b2b 100644
--- a/backend/plugins/jenkins/jenkins.go
+++ b/backend/plugins/jenkins/jenkins.go
@@ -18,8 +18,8 @@
package main
import (
- "github.com/apache/incubator-devlake/core/runner"
- "github.com/apache/incubator-devlake/plugins/jenkins/impl"
+ "github.com/apache/devlake/core/runner"
+ "github.com/apache/devlake/plugins/jenkins/impl"
"github.com/spf13/cobra"
)
diff --git a/backend/plugins/jenkins/models/build.go b/backend/plugins/jenkins/models/build.go
index b38aaa1..18d609b 100644
--- a/backend/plugins/jenkins/models/build.go
+++ b/backend/plugins/jenkins/models/build.go
@@ -18,7 +18,7 @@
package models
import (
- "github.com/apache/incubator-devlake/core/models/common"
+ "github.com/apache/devlake/core/models/common"
"time"
)
diff --git a/backend/plugins/jenkins/models/build_commit.go b/backend/plugins/jenkins/models/build_commit.go
index bac0361..d11e03f 100644
--- a/backend/plugins/jenkins/models/build_commit.go
+++ b/backend/plugins/jenkins/models/build_commit.go
@@ -18,7 +18,7 @@
package models
import (
- "github.com/apache/incubator-devlake/core/models/common"
+ "github.com/apache/devlake/core/models/common"
)
type JenkinsBuildCommit struct {
diff --git a/backend/plugins/jenkins/models/connection.go b/backend/plugins/jenkins/models/connection.go
index b1fc29d..3ae7017 100644
--- a/backend/plugins/jenkins/models/connection.go
+++ b/backend/plugins/jenkins/models/connection.go
@@ -18,7 +18,7 @@
package models
import (
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
)
// JenkinsConn holds the essential information to connect to the Jenkins API
diff --git a/backend/plugins/jenkins/models/job.go b/backend/plugins/jenkins/models/job.go
index e4b5b84..2ab2d8a 100644
--- a/backend/plugins/jenkins/models/job.go
+++ b/backend/plugins/jenkins/models/job.go
@@ -18,8 +18,8 @@
package models
import (
- "github.com/apache/incubator-devlake/core/models/common"
- "github.com/apache/incubator-devlake/core/plugin"
+ "github.com/apache/devlake/core/models/common"
+ "github.com/apache/devlake/core/plugin"
)
var _ plugin.ToolLayerScope = (*JenkinsJob)(nil)
diff --git a/backend/plugins/jenkins/models/job_dag.go b/backend/plugins/jenkins/models/job_dag.go
index 18ce05b..07c4930 100644
--- a/backend/plugins/jenkins/models/job_dag.go
+++ b/backend/plugins/jenkins/models/job_dag.go
@@ -18,7 +18,7 @@
package models
import (
- "github.com/apache/incubator-devlake/core/models/common"
+ "github.com/apache/devlake/core/models/common"
)
type JenkinsJobDag struct {
diff --git a/backend/plugins/jenkins/models/migrationscripts/20220714_add_init_tables.go b/backend/plugins/jenkins/models/migrationscripts/20220714_add_init_tables.go
index 553c055..1775b9d 100644
--- a/backend/plugins/jenkins/models/migrationscripts/20220714_add_init_tables.go
+++ b/backend/plugins/jenkins/models/migrationscripts/20220714_add_init_tables.go
@@ -18,12 +18,12 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/config"
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/migrationhelper"
- "github.com/apache/incubator-devlake/plugins/jenkins/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/config"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/migrationhelper"
+ "github.com/apache/devlake/plugins/jenkins/models/migrationscripts/archived"
)
type addInitTables struct{}
diff --git a/backend/plugins/jenkins/models/migrationscripts/20220729_modify_all_entities.go b/backend/plugins/jenkins/models/migrationscripts/20220729_modify_all_entities.go
index e5b1160..07466f7 100644
--- a/backend/plugins/jenkins/models/migrationscripts/20220729_modify_all_entities.go
+++ b/backend/plugins/jenkins/models/migrationscripts/20220729_modify_all_entities.go
@@ -18,10 +18,10 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
- "github.com/apache/incubator-devlake/helpers/migrationhelper"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/helpers/migrationhelper"
)
type modifyAllEntities struct{}
diff --git a/backend/plugins/jenkins/models/migrationscripts/20220916_modify_jenkins_build.go b/backend/plugins/jenkins/models/migrationscripts/20220916_modify_jenkins_build.go
index ec4e332..697742b 100644
--- a/backend/plugins/jenkins/models/migrationscripts/20220916_modify_jenkins_build.go
+++ b/backend/plugins/jenkins/models/migrationscripts/20220916_modify_jenkins_build.go
@@ -19,10 +19,10 @@
import (
"fmt"
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
- "github.com/apache/incubator-devlake/helpers/migrationhelper"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/helpers/migrationhelper"
"strings"
"time"
)
diff --git a/backend/plugins/jenkins/models/migrationscripts/20221108_add_jobPath_for_builds.go b/backend/plugins/jenkins/models/migrationscripts/20221108_add_jobPath_for_builds.go
index f0fb6a1..041a904 100644
--- a/backend/plugins/jenkins/models/migrationscripts/20221108_add_jobPath_for_builds.go
+++ b/backend/plugins/jenkins/models/migrationscripts/20221108_add_jobPath_for_builds.go
@@ -18,8 +18,8 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
)
type addJobPathForBuilds struct{}
diff --git a/backend/plugins/jenkins/models/migrationscripts/20221108_add_job_fields.go b/backend/plugins/jenkins/models/migrationscripts/20221108_add_job_fields.go
index 6278cb3..6b08ea4 100644
--- a/backend/plugins/jenkins/models/migrationscripts/20221108_add_job_fields.go
+++ b/backend/plugins/jenkins/models/migrationscripts/20221108_add_job_fields.go
@@ -18,8 +18,8 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
)
type addJobFields struct{}
diff --git a/backend/plugins/jenkins/models/migrationscripts/20221110_change_index_of_job_path.go b/backend/plugins/jenkins/models/migrationscripts/20221110_change_index_of_job_path.go
index 43b2399..ad44ca9 100644
--- a/backend/plugins/jenkins/models/migrationscripts/20221110_change_index_of_job_path.go
+++ b/backend/plugins/jenkins/models/migrationscripts/20221110_change_index_of_job_path.go
@@ -18,10 +18,10 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
- "github.com/apache/incubator-devlake/helpers/migrationhelper"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/helpers/migrationhelper"
)
type changeIndexOfJobPath struct{}
diff --git a/backend/plugins/jenkins/models/migrationscripts/20221131_add_fullName_for_builds.go b/backend/plugins/jenkins/models/migrationscripts/20221131_add_fullName_for_builds.go
index 2802835..a343944 100644
--- a/backend/plugins/jenkins/models/migrationscripts/20221131_add_fullName_for_builds.go
+++ b/backend/plugins/jenkins/models/migrationscripts/20221131_add_fullName_for_builds.go
@@ -19,10 +19,10 @@
import (
"fmt"
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
- "github.com/apache/incubator-devlake/helpers/migrationhelper"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/helpers/migrationhelper"
"time"
)
diff --git a/backend/plugins/jenkins/models/migrationscripts/20221205_add_trasformation_rule_table.go b/backend/plugins/jenkins/models/migrationscripts/20221205_add_trasformation_rule_table.go
index bc1cf35..0627a09 100644
--- a/backend/plugins/jenkins/models/migrationscripts/20221205_add_trasformation_rule_table.go
+++ b/backend/plugins/jenkins/models/migrationscripts/20221205_add_trasformation_rule_table.go
@@ -18,10 +18,10 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/helpers/migrationhelper"
- "github.com/apache/incubator-devlake/plugins/jenkins/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/helpers/migrationhelper"
+ "github.com/apache/devlake/plugins/jenkins/models/migrationscripts/archived"
)
type jenkinsJob20221205 struct {
diff --git a/backend/plugins/jenkins/models/migrationscripts/20230322_add_connection_id_to_transformation_rules.go b/backend/plugins/jenkins/models/migrationscripts/20230322_add_connection_id_to_transformation_rules.go
index 34c38fb..91e8fff 100644
--- a/backend/plugins/jenkins/models/migrationscripts/20230322_add_connection_id_to_transformation_rules.go
+++ b/backend/plugins/jenkins/models/migrationscripts/20230322_add_connection_id_to_transformation_rules.go
@@ -18,10 +18,10 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/helpers/migrationhelper"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/helpers/migrationhelper"
)
type addConnectionIdToTransformationRule struct{}
diff --git a/backend/plugins/jenkins/models/migrationscripts/20230530_scope_config.go b/backend/plugins/jenkins/models/migrationscripts/20230530_scope_config.go
index 1cdbe9c..8b6ea54 100644
--- a/backend/plugins/jenkins/models/migrationscripts/20230530_scope_config.go
+++ b/backend/plugins/jenkins/models/migrationscripts/20230530_scope_config.go
@@ -18,9 +18,9 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/helpers/migrationhelper"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/helpers/migrationhelper"
)
type renameTr2ScopeConfig struct {
diff --git a/backend/plugins/jenkins/models/migrationscripts/20230630_add_raw_param_table_for_scopes.go b/backend/plugins/jenkins/models/migrationscripts/20230630_add_raw_param_table_for_scopes.go
index 93fa479..e9037b4 100644
--- a/backend/plugins/jenkins/models/migrationscripts/20230630_add_raw_param_table_for_scopes.go
+++ b/backend/plugins/jenkins/models/migrationscripts/20230630_add_raw_param_table_for_scopes.go
@@ -21,11 +21,11 @@
"encoding/json"
"fmt"
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/migrationhelper"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/migrationhelper"
)
var _ plugin.MigrationScript = (*addRawParamTableForScope)(nil)
diff --git a/backend/plugins/jenkins/models/migrationscripts/20240410_add_number_field_to_build_commits.go b/backend/plugins/jenkins/models/migrationscripts/20240410_add_number_field_to_build_commits.go
index ace7cde..7f61fed 100644
--- a/backend/plugins/jenkins/models/migrationscripts/20240410_add_number_field_to_build_commits.go
+++ b/backend/plugins/jenkins/models/migrationscripts/20240410_add_number_field_to_build_commits.go
@@ -18,9 +18,9 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/helpers/migrationhelper"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/helpers/migrationhelper"
)
type addNumberToJenkinsBuildCommit struct{}
diff --git a/backend/plugins/jenkins/models/migrationscripts/archived/build.go b/backend/plugins/jenkins/models/migrationscripts/archived/build.go
index 70bc781..74cd6d5 100644
--- a/backend/plugins/jenkins/models/migrationscripts/archived/build.go
+++ b/backend/plugins/jenkins/models/migrationscripts/archived/build.go
@@ -18,7 +18,7 @@
package archived
import (
- "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/models/migrationscripts/archived"
"time"
)
diff --git a/backend/plugins/jenkins/models/migrationscripts/archived/connection.go b/backend/plugins/jenkins/models/migrationscripts/archived/connection.go
index 0d6c5d8..457e999 100644
--- a/backend/plugins/jenkins/models/migrationscripts/archived/connection.go
+++ b/backend/plugins/jenkins/models/migrationscripts/archived/connection.go
@@ -18,7 +18,7 @@
package archived
import (
- "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/models/migrationscripts/archived"
)
// This object conforms to what the frontend currently sends.
diff --git a/backend/plugins/jenkins/models/migrationscripts/archived/job.go b/backend/plugins/jenkins/models/migrationscripts/archived/job.go
index 62ef973..7d16160 100644
--- a/backend/plugins/jenkins/models/migrationscripts/archived/job.go
+++ b/backend/plugins/jenkins/models/migrationscripts/archived/job.go
@@ -18,7 +18,7 @@
package archived
import (
- "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/models/migrationscripts/archived"
)
// JenkinsJobProps current used jenkins job props
diff --git a/backend/plugins/jenkins/models/migrationscripts/archived/transformation_rules.go b/backend/plugins/jenkins/models/migrationscripts/archived/transformation_rules.go
index 26b716e..7a346d5 100644
--- a/backend/plugins/jenkins/models/migrationscripts/archived/transformation_rules.go
+++ b/backend/plugins/jenkins/models/migrationscripts/archived/transformation_rules.go
@@ -18,7 +18,7 @@
package archived
import (
- "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/models/migrationscripts/archived"
)
type JenkinsTransformationRule struct {
diff --git a/backend/plugins/jenkins/models/migrationscripts/register.go b/backend/plugins/jenkins/models/migrationscripts/register.go
index 1dc1eb8..63081ba 100644
--- a/backend/plugins/jenkins/models/migrationscripts/register.go
+++ b/backend/plugins/jenkins/models/migrationscripts/register.go
@@ -18,7 +18,7 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/plugin"
+ "github.com/apache/devlake/core/plugin"
)
// All return all the migration scripts
diff --git a/backend/plugins/jenkins/models/scope_config.go b/backend/plugins/jenkins/models/scope_config.go
index 1eb889c..5cedc16 100644
--- a/backend/plugins/jenkins/models/scope_config.go
+++ b/backend/plugins/jenkins/models/scope_config.go
@@ -18,7 +18,7 @@
package models
import (
- "github.com/apache/incubator-devlake/core/models/common"
+ "github.com/apache/devlake/core/models/common"
)
type JenkinsScopeConfig struct {
diff --git a/backend/plugins/jenkins/models/stage.go b/backend/plugins/jenkins/models/stage.go
index 13f8d85..f740424 100644
--- a/backend/plugins/jenkins/models/stage.go
+++ b/backend/plugins/jenkins/models/stage.go
@@ -18,7 +18,7 @@
package models
import (
- "github.com/apache/incubator-devlake/core/models/common"
+ "github.com/apache/devlake/core/models/common"
)
type JenkinsStage struct {
diff --git a/backend/plugins/jenkins/tasks/api_client.go b/backend/plugins/jenkins/tasks/api_client.go
index eabff5c..b75c322 100644
--- a/backend/plugins/jenkins/tasks/api_client.go
+++ b/backend/plugins/jenkins/tasks/api_client.go
@@ -18,10 +18,10 @@
package tasks
import (
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/jenkins/models"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/jenkins/models"
)
func CreateApiClient(taskCtx plugin.TaskContext, connection *models.JenkinsConnection) (*api.ApiAsyncClient, errors.Error) {
diff --git a/backend/plugins/jenkins/tasks/build_cicd_convertor.go b/backend/plugins/jenkins/tasks/build_cicd_convertor.go
index 34ec88d..e63506c 100644
--- a/backend/plugins/jenkins/tasks/build_cicd_convertor.go
+++ b/backend/plugins/jenkins/tasks/build_cicd_convertor.go
@@ -24,14 +24,14 @@
"github.com/spf13/cast"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/domainlayer"
- "github.com/apache/incubator-devlake/core/models/domainlayer/devops"
- "github.com/apache/incubator-devlake/core/models/domainlayer/didgen"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/jenkins/models"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/domainlayer"
+ "github.com/apache/devlake/core/models/domainlayer/devops"
+ "github.com/apache/devlake/core/models/domainlayer/didgen"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/jenkins/models"
)
var ConvertBuildsToCicdTasksMeta = plugin.SubTaskMeta{
diff --git a/backend/plugins/jenkins/tasks/build_collector.go b/backend/plugins/jenkins/tasks/build_collector.go
index a1ae749..b447bed 100644
--- a/backend/plugins/jenkins/tasks/build_collector.go
+++ b/backend/plugins/jenkins/tasks/build_collector.go
@@ -25,11 +25,11 @@
"reflect"
"time"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
)
const RAW_BUILD_TABLE = "jenkins_api_builds"
diff --git a/backend/plugins/jenkins/tasks/build_commit_convertor.go b/backend/plugins/jenkins/tasks/build_commit_convertor.go
index 7e4ec57..4f1f41f 100644
--- a/backend/plugins/jenkins/tasks/build_commit_convertor.go
+++ b/backend/plugins/jenkins/tasks/build_commit_convertor.go
@@ -21,13 +21,13 @@
"fmt"
"reflect"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/domainlayer/devops"
- "github.com/apache/incubator-devlake/core/models/domainlayer/didgen"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/jenkins/models"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/domainlayer/devops"
+ "github.com/apache/devlake/core/models/domainlayer/didgen"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/jenkins/models"
)
var ConvertBuildReposMeta = plugin.SubTaskMeta{
diff --git a/backend/plugins/jenkins/tasks/build_extractor.go b/backend/plugins/jenkins/tasks/build_extractor.go
index d039034..777cde9 100644
--- a/backend/plugins/jenkins/tasks/build_extractor.go
+++ b/backend/plugins/jenkins/tasks/build_extractor.go
@@ -23,10 +23,10 @@
"strings"
"time"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/jenkins/models"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/jenkins/models"
)
var ExtractApiBuildsMeta = plugin.SubTaskMeta{
diff --git a/backend/plugins/jenkins/tasks/build_stages_enricher.go b/backend/plugins/jenkins/tasks/build_stages_enricher.go
index 3aaf8d2..371225b 100644
--- a/backend/plugins/jenkins/tasks/build_stages_enricher.go
+++ b/backend/plugins/jenkins/tasks/build_stages_enricher.go
@@ -20,10 +20,10 @@
import (
"fmt"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/plugins/jenkins/models"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/plugins/jenkins/models"
)
var EnrichApiBuildWithStagesMeta = plugin.SubTaskMeta{
diff --git a/backend/plugins/jenkins/tasks/job_collector.go b/backend/plugins/jenkins/tasks/job_collector.go
index cdb9da4..7bb10b9 100644
--- a/backend/plugins/jenkins/tasks/job_collector.go
+++ b/backend/plugins/jenkins/tasks/job_collector.go
@@ -24,9 +24,9 @@
"net/url"
"time"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
)
var CollectApiJobsMeta = plugin.SubTaskMeta{
diff --git a/backend/plugins/jenkins/tasks/job_convertor.go b/backend/plugins/jenkins/tasks/job_convertor.go
index 659c198..11f9bc7 100644
--- a/backend/plugins/jenkins/tasks/job_convertor.go
+++ b/backend/plugins/jenkins/tasks/job_convertor.go
@@ -18,14 +18,14 @@
package tasks
import (
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/domainlayer"
- "github.com/apache/incubator-devlake/core/models/domainlayer/devops"
- "github.com/apache/incubator-devlake/core/models/domainlayer/didgen"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/jenkins/models"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/domainlayer"
+ "github.com/apache/devlake/core/models/domainlayer/devops"
+ "github.com/apache/devlake/core/models/domainlayer/didgen"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/jenkins/models"
"reflect"
)
diff --git a/backend/plugins/jenkins/tasks/job_extractor.go b/backend/plugins/jenkins/tasks/job_extractor.go
index 4f5810e..9589484 100644
--- a/backend/plugins/jenkins/tasks/job_extractor.go
+++ b/backend/plugins/jenkins/tasks/job_extractor.go
@@ -21,10 +21,10 @@
"encoding/json"
"strings"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/jenkins/models"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/jenkins/models"
)
// this struct should be moved to `gitub_api_common.go`
diff --git a/backend/plugins/jenkins/tasks/shared.go b/backend/plugins/jenkins/tasks/shared.go
index a54f000..e90ae00 100644
--- a/backend/plugins/jenkins/tasks/shared.go
+++ b/backend/plugins/jenkins/tasks/shared.go
@@ -20,8 +20,8 @@
import (
"net/http"
- "github.com/apache/incubator-devlake/core/errors"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/core/errors"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
)
const (
diff --git a/backend/plugins/jenkins/tasks/stage_collector.go b/backend/plugins/jenkins/tasks/stage_collector.go
index c38e343..0398023 100644
--- a/backend/plugins/jenkins/tasks/stage_collector.go
+++ b/backend/plugins/jenkins/tasks/stage_collector.go
@@ -24,10 +24,10 @@
"net/url"
"reflect"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
)
const RAW_STAGE_TABLE = "jenkins_api_stages"
diff --git a/backend/plugins/jenkins/tasks/stage_convertor.go b/backend/plugins/jenkins/tasks/stage_convertor.go
index 35c31fa..6bf8df8 100644
--- a/backend/plugins/jenkins/tasks/stage_convertor.go
+++ b/backend/plugins/jenkins/tasks/stage_convertor.go
@@ -22,15 +22,15 @@
"reflect"
"time"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/common"
- "github.com/apache/incubator-devlake/core/models/domainlayer"
- "github.com/apache/incubator-devlake/core/models/domainlayer/devops"
- "github.com/apache/incubator-devlake/core/models/domainlayer/didgen"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/jenkins/models"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/common"
+ "github.com/apache/devlake/core/models/domainlayer"
+ "github.com/apache/devlake/core/models/domainlayer/devops"
+ "github.com/apache/devlake/core/models/domainlayer/didgen"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/jenkins/models"
)
type JenkinsBuildWithRepoStage struct {
diff --git a/backend/plugins/jenkins/tasks/stage_extractor.go b/backend/plugins/jenkins/tasks/stage_extractor.go
index 22da749..d455549 100644
--- a/backend/plugins/jenkins/tasks/stage_extractor.go
+++ b/backend/plugins/jenkins/tasks/stage_extractor.go
@@ -20,10 +20,10 @@
import (
"encoding/json"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/jenkins/models"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/jenkins/models"
)
var ExtractApiStagesMeta = plugin.SubTaskMeta{
diff --git a/backend/plugins/jenkins/tasks/task_data.go b/backend/plugins/jenkins/tasks/task_data.go
index 2927436..5f624d3 100644
--- a/backend/plugins/jenkins/tasks/task_data.go
+++ b/backend/plugins/jenkins/tasks/task_data.go
@@ -20,9 +20,9 @@
import (
"strings"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/jenkins/models"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/jenkins/models"
)
type JenkinsApiParams models.JenkinsApiParams
diff --git a/backend/plugins/jira/api/blueprint_v200.go b/backend/plugins/jira/api/blueprint_v200.go
index e385928..d957185 100644
--- a/backend/plugins/jira/api/blueprint_v200.go
+++ b/backend/plugins/jira/api/blueprint_v200.go
@@ -20,16 +20,16 @@
import (
"context"
- "github.com/apache/incubator-devlake/core/errors"
- coreModels "github.com/apache/incubator-devlake/core/models"
- "github.com/apache/incubator-devlake/core/models/domainlayer"
- "github.com/apache/incubator-devlake/core/models/domainlayer/didgen"
- "github.com/apache/incubator-devlake/core/models/domainlayer/ticket"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/core/utils"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/helpers/srvhelper"
- "github.com/apache/incubator-devlake/plugins/jira/models"
+ "github.com/apache/devlake/core/errors"
+ coreModels "github.com/apache/devlake/core/models"
+ "github.com/apache/devlake/core/models/domainlayer"
+ "github.com/apache/devlake/core/models/domainlayer/didgen"
+ "github.com/apache/devlake/core/models/domainlayer/ticket"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/core/utils"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/helpers/srvhelper"
+ "github.com/apache/devlake/plugins/jira/models"
)
func MakeDataSourcePipelinePlanV200(
diff --git a/backend/plugins/jira/api/connection_api.go b/backend/plugins/jira/api/connection_api.go
index fa1de58..4562bf2 100644
--- a/backend/plugins/jira/api/connection_api.go
+++ b/backend/plugins/jira/api/connection_api.go
@@ -24,12 +24,12 @@
"net/url"
"strings"
- "github.com/apache/incubator-devlake/server/api/shared"
+ "github.com/apache/devlake/server/api/shared"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/jira/models"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/jira/models"
"github.com/go-viper/mapstructure/v2"
)
diff --git a/backend/plugins/jira/api/connection_api_test.go b/backend/plugins/jira/api/connection_api_test.go
index e8ce6c0..c06581b 100644
--- a/backend/plugins/jira/api/connection_api_test.go
+++ b/backend/plugins/jira/api/connection_api_test.go
@@ -25,10 +25,10 @@
"strings"
"testing"
- "github.com/apache/incubator-devlake/core/config"
- implcontext "github.com/apache/incubator-devlake/impls/context"
- "github.com/apache/incubator-devlake/impls/logruslog"
- "github.com/apache/incubator-devlake/plugins/jira/models"
+ "github.com/apache/devlake/core/config"
+ implcontext "github.com/apache/devlake/impls/context"
+ "github.com/apache/devlake/impls/logruslog"
+ "github.com/apache/devlake/plugins/jira/models"
"github.com/go-playground/validator/v10"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
diff --git a/backend/plugins/jira/api/init.go b/backend/plugins/jira/api/init.go
index 86ca5ca..c01c5e4 100644
--- a/backend/plugins/jira/api/init.go
+++ b/backend/plugins/jira/api/init.go
@@ -18,10 +18,10 @@
package api
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/jira/models"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/jira/models"
"github.com/go-playground/validator/v10"
)
diff --git a/backend/plugins/jira/api/remote_api.go b/backend/plugins/jira/api/remote_api.go
index 3e1e820..fcee625 100644
--- a/backend/plugins/jira/api/remote_api.go
+++ b/backend/plugins/jira/api/remote_api.go
@@ -21,12 +21,12 @@
"fmt"
"net/url"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- dsmodels "github.com/apache/incubator-devlake/helpers/pluginhelper/api/models"
- "github.com/apache/incubator-devlake/plugins/jira/models"
- "github.com/apache/incubator-devlake/plugins/jira/tasks/apiv2models"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ dsmodels "github.com/apache/devlake/helpers/pluginhelper/api/models"
+ "github.com/apache/devlake/plugins/jira/models"
+ "github.com/apache/devlake/plugins/jira/tasks/apiv2models"
)
type JiraRemotePagination struct {
diff --git a/backend/plugins/jira/api/scope_api.go b/backend/plugins/jira/api/scope_api.go
index 8d6d8b9..089c9ec 100644
--- a/backend/plugins/jira/api/scope_api.go
+++ b/backend/plugins/jira/api/scope_api.go
@@ -23,12 +23,12 @@
"io"
"net/http"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/jira/models"
- "github.com/apache/incubator-devlake/plugins/jira/tasks"
- "github.com/apache/incubator-devlake/plugins/jira/tasks/apiv2models"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/jira/models"
+ "github.com/apache/devlake/plugins/jira/tasks"
+ "github.com/apache/devlake/plugins/jira/tasks/apiv2models"
)
type PutScopesReqBody api.PutScopesReqBody[models.JiraBoard]
diff --git a/backend/plugins/jira/api/scope_config_api.go b/backend/plugins/jira/api/scope_config_api.go
index dae0514..327c2b7 100644
--- a/backend/plugins/jira/api/scope_config_api.go
+++ b/backend/plugins/jira/api/scope_config_api.go
@@ -26,10 +26,10 @@
"sort"
"strings"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/common"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/common"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
)
type genRegexReq struct {
diff --git a/backend/plugins/jira/api/scope_config_test.go b/backend/plugins/jira/api/scope_config_test.go
index faca407..a7b00d7 100644
--- a/backend/plugins/jira/api/scope_config_test.go
+++ b/backend/plugins/jira/api/scope_config_test.go
@@ -20,7 +20,7 @@
import (
"testing"
- "github.com/apache/incubator-devlake/core/errors"
+ "github.com/apache/devlake/core/errors"
"github.com/stretchr/testify/assert"
)
@@ -68,11 +68,11 @@
"test1",
args{
`https://gitlab.com/(?P<namespace>[^/]+)/(?P<repo_name>[^/]+)/-/commit/(?P<commit_sha>\w{40})`,
- "https://gitlab.com/apache/incubator-devlake/-/commit/1234567890123456789012345678901234567890",
+ "https://gitlab.com/apache/devlake/-/commit/1234567890123456789012345678901234567890",
},
&repo{
"apache",
- "incubator-devlake",
+ "devlake",
"1234567890123456789012345678901234567890",
},
nil,
@@ -102,11 +102,11 @@
"test1",
args{
"https://gitlab.com/{namespace}/{repo_name}/-/commit/{commit_sha}",
- "https://gitlab.com/apache/incubator-devlake/-/commit/1234567890123456789012345678901234567890",
+ "https://gitlab.com/apache/devlake/-/commit/1234567890123456789012345678901234567890",
},
&repo{
"apache",
- "incubator-devlake",
+ "devlake",
"1234567890123456789012345678901234567890",
},
nil,
@@ -115,11 +115,11 @@
"test2",
args{
"https://bitbucket.org/{namespace}/{repo_name}/commits/{commit_sha}",
- "https://bitbucket.org/mynamespace/incubator-devlake/commits/fef8d697fbb9a2b336be6fa2e2848f585c86a622",
+ "https://bitbucket.org/mynamespace/devlake/commits/fef8d697fbb9a2b336be6fa2e2848f585c86a622",
},
&repo{
"mynamespace",
- "incubator-devlake",
+ "devlake",
"fef8d697fbb9a2b336be6fa2e2848f585c86a622",
},
nil,
diff --git a/backend/plugins/jira/api/scope_state_api.go b/backend/plugins/jira/api/scope_state_api.go
index 45fb6d2..df7ad55 100644
--- a/backend/plugins/jira/api/scope_state_api.go
+++ b/backend/plugins/jira/api/scope_state_api.go
@@ -18,8 +18,8 @@
package api
import (
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
)
// GetScopeLatestSyncState get one Jira board's latest sync state
diff --git a/backend/plugins/jira/api/swagger.go b/backend/plugins/jira/api/swagger.go
index fd1c736..2ebbb2f 100644
--- a/backend/plugins/jira/api/swagger.go
+++ b/backend/plugins/jira/api/swagger.go
@@ -18,7 +18,7 @@
package api
import (
- "github.com/apache/incubator-devlake/plugins/jira/tasks"
+ "github.com/apache/devlake/plugins/jira/tasks"
)
type JiraTaskOptions tasks.JiraOptions
diff --git a/backend/plugins/jira/e2e/account_test.go b/backend/plugins/jira/e2e/account_test.go
index 9901eea..c8346c4 100644
--- a/backend/plugins/jira/e2e/account_test.go
+++ b/backend/plugins/jira/e2e/account_test.go
@@ -18,11 +18,11 @@
package e2e
import (
- "github.com/apache/incubator-devlake/core/models/domainlayer/crossdomain"
- "github.com/apache/incubator-devlake/helpers/e2ehelper"
- "github.com/apache/incubator-devlake/plugins/jira/impl"
- "github.com/apache/incubator-devlake/plugins/jira/models"
- "github.com/apache/incubator-devlake/plugins/jira/tasks"
+ "github.com/apache/devlake/core/models/domainlayer/crossdomain"
+ "github.com/apache/devlake/helpers/e2ehelper"
+ "github.com/apache/devlake/plugins/jira/impl"
+ "github.com/apache/devlake/plugins/jira/models"
+ "github.com/apache/devlake/plugins/jira/tasks"
"testing"
)
diff --git a/backend/plugins/jira/e2e/board_test.go b/backend/plugins/jira/e2e/board_test.go
index eacbb4b..eea3ef3 100644
--- a/backend/plugins/jira/e2e/board_test.go
+++ b/backend/plugins/jira/e2e/board_test.go
@@ -18,11 +18,11 @@
package e2e
import (
- "github.com/apache/incubator-devlake/core/models/domainlayer/ticket"
- "github.com/apache/incubator-devlake/helpers/e2ehelper"
- "github.com/apache/incubator-devlake/plugins/jira/impl"
- "github.com/apache/incubator-devlake/plugins/jira/models"
- "github.com/apache/incubator-devlake/plugins/jira/tasks"
+ "github.com/apache/devlake/core/models/domainlayer/ticket"
+ "github.com/apache/devlake/helpers/e2ehelper"
+ "github.com/apache/devlake/plugins/jira/impl"
+ "github.com/apache/devlake/plugins/jira/models"
+ "github.com/apache/devlake/plugins/jira/tasks"
"testing"
)
diff --git a/backend/plugins/jira/e2e/changelog_test.go b/backend/plugins/jira/e2e/changelog_test.go
index 8f6880f..235da77 100644
--- a/backend/plugins/jira/e2e/changelog_test.go
+++ b/backend/plugins/jira/e2e/changelog_test.go
@@ -18,11 +18,11 @@
package e2e
import (
- "github.com/apache/incubator-devlake/core/models/domainlayer/ticket"
- "github.com/apache/incubator-devlake/helpers/e2ehelper"
- "github.com/apache/incubator-devlake/plugins/jira/impl"
- "github.com/apache/incubator-devlake/plugins/jira/models"
- "github.com/apache/incubator-devlake/plugins/jira/tasks"
+ "github.com/apache/devlake/core/models/domainlayer/ticket"
+ "github.com/apache/devlake/helpers/e2ehelper"
+ "github.com/apache/devlake/plugins/jira/impl"
+ "github.com/apache/devlake/plugins/jira/models"
+ "github.com/apache/devlake/plugins/jira/tasks"
"testing"
)
diff --git a/backend/plugins/jira/e2e/development_penal_test.go b/backend/plugins/jira/e2e/development_penal_test.go
index fd779a1..8d94a95 100644
--- a/backend/plugins/jira/e2e/development_penal_test.go
+++ b/backend/plugins/jira/e2e/development_penal_test.go
@@ -20,10 +20,10 @@
import (
"testing"
- "github.com/apache/incubator-devlake/helpers/e2ehelper"
- "github.com/apache/incubator-devlake/plugins/jira/impl"
- "github.com/apache/incubator-devlake/plugins/jira/models"
- "github.com/apache/incubator-devlake/plugins/jira/tasks"
+ "github.com/apache/devlake/helpers/e2ehelper"
+ "github.com/apache/devlake/plugins/jira/impl"
+ "github.com/apache/devlake/plugins/jira/models"
+ "github.com/apache/devlake/plugins/jira/tasks"
)
func TestDevelopmentPanelDataFlow(t *testing.T) {
diff --git a/backend/plugins/jira/e2e/epic_test.go b/backend/plugins/jira/e2e/epic_test.go
index 9391b7f..49f89e9 100644
--- a/backend/plugins/jira/e2e/epic_test.go
+++ b/backend/plugins/jira/e2e/epic_test.go
@@ -20,11 +20,11 @@
import (
"testing"
- "github.com/apache/incubator-devlake/core/models/common"
- "github.com/apache/incubator-devlake/helpers/e2ehelper"
- "github.com/apache/incubator-devlake/plugins/jira/impl"
- "github.com/apache/incubator-devlake/plugins/jira/models"
- "github.com/apache/incubator-devlake/plugins/jira/tasks"
+ "github.com/apache/devlake/core/models/common"
+ "github.com/apache/devlake/helpers/e2ehelper"
+ "github.com/apache/devlake/plugins/jira/impl"
+ "github.com/apache/devlake/plugins/jira/models"
+ "github.com/apache/devlake/plugins/jira/tasks"
"github.com/stretchr/testify/require"
)
diff --git a/backend/plugins/jira/e2e/extract_issue_fields_test.go b/backend/plugins/jira/e2e/extract_issue_fields_test.go
index b219a60..e929e4d 100644
--- a/backend/plugins/jira/e2e/extract_issue_fields_test.go
+++ b/backend/plugins/jira/e2e/extract_issue_fields_test.go
@@ -18,10 +18,10 @@
package e2e
import (
- "github.com/apache/incubator-devlake/helpers/e2ehelper"
- "github.com/apache/incubator-devlake/plugins/jira/impl"
- "github.com/apache/incubator-devlake/plugins/jira/models"
- "github.com/apache/incubator-devlake/plugins/jira/tasks"
+ "github.com/apache/devlake/helpers/e2ehelper"
+ "github.com/apache/devlake/plugins/jira/impl"
+ "github.com/apache/devlake/plugins/jira/models"
+ "github.com/apache/devlake/plugins/jira/tasks"
"testing"
)
diff --git a/backend/plugins/jira/e2e/issue_changelog_board_scope_test.go b/backend/plugins/jira/e2e/issue_changelog_board_scope_test.go
index e8c7e2f..57a845b 100644
--- a/backend/plugins/jira/e2e/issue_changelog_board_scope_test.go
+++ b/backend/plugins/jira/e2e/issue_changelog_board_scope_test.go
@@ -21,12 +21,12 @@
"testing"
"time"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/models/domainlayer/ticket"
- "github.com/apache/incubator-devlake/helpers/e2ehelper"
- "github.com/apache/incubator-devlake/plugins/jira/impl"
- "github.com/apache/incubator-devlake/plugins/jira/models"
- "github.com/apache/incubator-devlake/plugins/jira/tasks"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/models/domainlayer/ticket"
+ "github.com/apache/devlake/helpers/e2ehelper"
+ "github.com/apache/devlake/plugins/jira/impl"
+ "github.com/apache/devlake/plugins/jira/models"
+ "github.com/apache/devlake/plugins/jira/tasks"
"github.com/stretchr/testify/assert"
)
diff --git a/backend/plugins/jira/e2e/issue_changelog_test.go b/backend/plugins/jira/e2e/issue_changelog_test.go
index 0674dfe..560a1b7 100644
--- a/backend/plugins/jira/e2e/issue_changelog_test.go
+++ b/backend/plugins/jira/e2e/issue_changelog_test.go
@@ -18,10 +18,10 @@
package e2e
import (
- "github.com/apache/incubator-devlake/helpers/e2ehelper"
- "github.com/apache/incubator-devlake/plugins/jira/impl"
- "github.com/apache/incubator-devlake/plugins/jira/models"
- "github.com/apache/incubator-devlake/plugins/jira/tasks"
+ "github.com/apache/devlake/helpers/e2ehelper"
+ "github.com/apache/devlake/plugins/jira/impl"
+ "github.com/apache/devlake/plugins/jira/models"
+ "github.com/apache/devlake/plugins/jira/tasks"
"testing"
)
diff --git a/backend/plugins/jira/e2e/issue_relationship_test.go b/backend/plugins/jira/e2e/issue_relationship_test.go
index be36473..0634dee 100644
--- a/backend/plugins/jira/e2e/issue_relationship_test.go
+++ b/backend/plugins/jira/e2e/issue_relationship_test.go
@@ -20,12 +20,12 @@
import (
"testing"
- "github.com/apache/incubator-devlake/core/models/common"
- "github.com/apache/incubator-devlake/core/models/domainlayer/ticket"
- "github.com/apache/incubator-devlake/helpers/e2ehelper"
- "github.com/apache/incubator-devlake/plugins/jira/impl"
- "github.com/apache/incubator-devlake/plugins/jira/models"
- "github.com/apache/incubator-devlake/plugins/jira/tasks"
+ "github.com/apache/devlake/core/models/common"
+ "github.com/apache/devlake/core/models/domainlayer/ticket"
+ "github.com/apache/devlake/helpers/e2ehelper"
+ "github.com/apache/devlake/plugins/jira/impl"
+ "github.com/apache/devlake/plugins/jira/models"
+ "github.com/apache/devlake/plugins/jira/tasks"
)
func TestIssueRelationshipDataFlow(t *testing.T) {
diff --git a/backend/plugins/jira/e2e/issue_repo_commit_test.go b/backend/plugins/jira/e2e/issue_repo_commit_test.go
index 7b959b1..4498716 100644
--- a/backend/plugins/jira/e2e/issue_repo_commit_test.go
+++ b/backend/plugins/jira/e2e/issue_repo_commit_test.go
@@ -20,11 +20,11 @@
import (
"testing"
- "github.com/apache/incubator-devlake/core/models/domainlayer/crossdomain"
- "github.com/apache/incubator-devlake/helpers/e2ehelper"
- "github.com/apache/incubator-devlake/plugins/jira/impl"
- "github.com/apache/incubator-devlake/plugins/jira/models"
- "github.com/apache/incubator-devlake/plugins/jira/tasks"
+ "github.com/apache/devlake/core/models/domainlayer/crossdomain"
+ "github.com/apache/devlake/helpers/e2ehelper"
+ "github.com/apache/devlake/plugins/jira/impl"
+ "github.com/apache/devlake/plugins/jira/models"
+ "github.com/apache/devlake/plugins/jira/tasks"
)
func TestConvertIssueRepoCommitsDataFlow(t *testing.T) {
diff --git a/backend/plugins/jira/e2e/issue_test.go b/backend/plugins/jira/e2e/issue_test.go
index 5847091..9951276 100644
--- a/backend/plugins/jira/e2e/issue_test.go
+++ b/backend/plugins/jira/e2e/issue_test.go
@@ -20,12 +20,12 @@
import (
"testing"
- "github.com/apache/incubator-devlake/core/models/common"
- "github.com/apache/incubator-devlake/core/models/domainlayer/ticket"
- "github.com/apache/incubator-devlake/helpers/e2ehelper"
- "github.com/apache/incubator-devlake/plugins/jira/impl"
- "github.com/apache/incubator-devlake/plugins/jira/models"
- "github.com/apache/incubator-devlake/plugins/jira/tasks"
+ "github.com/apache/devlake/core/models/common"
+ "github.com/apache/devlake/core/models/domainlayer/ticket"
+ "github.com/apache/devlake/helpers/e2ehelper"
+ "github.com/apache/devlake/plugins/jira/impl"
+ "github.com/apache/devlake/plugins/jira/models"
+ "github.com/apache/devlake/plugins/jira/tasks"
)
func TestIssueDataFlow(t *testing.T) {
diff --git a/backend/plugins/jira/e2e/label_test.go b/backend/plugins/jira/e2e/label_test.go
index 01e99c2..045c07c 100644
--- a/backend/plugins/jira/e2e/label_test.go
+++ b/backend/plugins/jira/e2e/label_test.go
@@ -20,11 +20,11 @@
import (
"testing"
- "github.com/apache/incubator-devlake/core/models/domainlayer/ticket"
- "github.com/apache/incubator-devlake/helpers/e2ehelper"
- "github.com/apache/incubator-devlake/plugins/jira/impl"
- "github.com/apache/incubator-devlake/plugins/jira/models"
- "github.com/apache/incubator-devlake/plugins/jira/tasks"
+ "github.com/apache/devlake/core/models/domainlayer/ticket"
+ "github.com/apache/devlake/helpers/e2ehelper"
+ "github.com/apache/devlake/plugins/jira/impl"
+ "github.com/apache/devlake/plugins/jira/models"
+ "github.com/apache/devlake/plugins/jira/tasks"
)
func TestLabelDataFlow(t *testing.T) {
diff --git a/backend/plugins/jira/e2e/migration_schema_test.go b/backend/plugins/jira/e2e/migration_schema_test.go
index 619aee6..a7f0338 100644
--- a/backend/plugins/jira/e2e/migration_schema_test.go
+++ b/backend/plugins/jira/e2e/migration_schema_test.go
@@ -21,15 +21,15 @@
"sync"
"testing"
- "github.com/apache/incubator-devlake/core/config"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/migration"
- coreMigration "github.com/apache/incubator-devlake/core/models/migrationscripts"
- "github.com/apache/incubator-devlake/core/runner"
- "github.com/apache/incubator-devlake/helpers/e2ehelper"
- "github.com/apache/incubator-devlake/impls/dalgorm"
- "github.com/apache/incubator-devlake/impls/logruslog"
- "github.com/apache/incubator-devlake/plugins/jira/impl"
+ "github.com/apache/devlake/core/config"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/migration"
+ coreMigration "github.com/apache/devlake/core/models/migrationscripts"
+ "github.com/apache/devlake/core/runner"
+ "github.com/apache/devlake/helpers/e2ehelper"
+ "github.com/apache/devlake/impls/dalgorm"
+ "github.com/apache/devlake/impls/logruslog"
+ "github.com/apache/devlake/plugins/jira/impl"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
"gorm.io/gorm/schema"
diff --git a/backend/plugins/jira/e2e/project_test.go b/backend/plugins/jira/e2e/project_test.go
index 1f14a5f..73e8525 100644
--- a/backend/plugins/jira/e2e/project_test.go
+++ b/backend/plugins/jira/e2e/project_test.go
@@ -18,10 +18,10 @@
package e2e
import (
- "github.com/apache/incubator-devlake/helpers/e2ehelper"
- "github.com/apache/incubator-devlake/plugins/jira/impl"
- "github.com/apache/incubator-devlake/plugins/jira/models"
- "github.com/apache/incubator-devlake/plugins/jira/tasks"
+ "github.com/apache/devlake/helpers/e2ehelper"
+ "github.com/apache/devlake/plugins/jira/impl"
+ "github.com/apache/devlake/plugins/jira/models"
+ "github.com/apache/devlake/plugins/jira/tasks"
"testing"
)
diff --git a/backend/plugins/jira/e2e/remotelink_test.go b/backend/plugins/jira/e2e/remotelink_test.go
index 49df1b4..8b12704 100644
--- a/backend/plugins/jira/e2e/remotelink_test.go
+++ b/backend/plugins/jira/e2e/remotelink_test.go
@@ -20,10 +20,10 @@
import (
"testing"
- "github.com/apache/incubator-devlake/helpers/e2ehelper"
- "github.com/apache/incubator-devlake/plugins/jira/impl"
- "github.com/apache/incubator-devlake/plugins/jira/models"
- "github.com/apache/incubator-devlake/plugins/jira/tasks"
+ "github.com/apache/devlake/helpers/e2ehelper"
+ "github.com/apache/devlake/plugins/jira/impl"
+ "github.com/apache/devlake/plugins/jira/models"
+ "github.com/apache/devlake/plugins/jira/tasks"
)
func TestRemotelinkDataFlow(t *testing.T) {
diff --git a/backend/plugins/jira/e2e/sprint_issue_test.go b/backend/plugins/jira/e2e/sprint_issue_test.go
index cdd1d52..4185ad4 100644
--- a/backend/plugins/jira/e2e/sprint_issue_test.go
+++ b/backend/plugins/jira/e2e/sprint_issue_test.go
@@ -18,11 +18,11 @@
package e2e
import (
- "github.com/apache/incubator-devlake/core/models/domainlayer/ticket"
- "github.com/apache/incubator-devlake/helpers/e2ehelper"
- "github.com/apache/incubator-devlake/plugins/jira/impl"
- "github.com/apache/incubator-devlake/plugins/jira/models"
- "github.com/apache/incubator-devlake/plugins/jira/tasks"
+ "github.com/apache/devlake/core/models/domainlayer/ticket"
+ "github.com/apache/devlake/helpers/e2ehelper"
+ "github.com/apache/devlake/plugins/jira/impl"
+ "github.com/apache/devlake/plugins/jira/models"
+ "github.com/apache/devlake/plugins/jira/tasks"
"testing"
)
diff --git a/backend/plugins/jira/e2e/sprint_test.go b/backend/plugins/jira/e2e/sprint_test.go
index 17509e5..ec71a0d 100644
--- a/backend/plugins/jira/e2e/sprint_test.go
+++ b/backend/plugins/jira/e2e/sprint_test.go
@@ -20,11 +20,11 @@
import (
"testing"
- "github.com/apache/incubator-devlake/core/models/domainlayer/ticket"
- "github.com/apache/incubator-devlake/helpers/e2ehelper"
- "github.com/apache/incubator-devlake/plugins/jira/impl"
- "github.com/apache/incubator-devlake/plugins/jira/models"
- "github.com/apache/incubator-devlake/plugins/jira/tasks"
+ "github.com/apache/devlake/core/models/domainlayer/ticket"
+ "github.com/apache/devlake/helpers/e2ehelper"
+ "github.com/apache/devlake/plugins/jira/impl"
+ "github.com/apache/devlake/plugins/jira/models"
+ "github.com/apache/devlake/plugins/jira/tasks"
)
func TestSprintDataFlow(t *testing.T) {
diff --git a/backend/plugins/jira/e2e/status_test.go b/backend/plugins/jira/e2e/status_test.go
index 4189bc4..28d2fde 100644
--- a/backend/plugins/jira/e2e/status_test.go
+++ b/backend/plugins/jira/e2e/status_test.go
@@ -18,10 +18,10 @@
package e2e
import (
- "github.com/apache/incubator-devlake/helpers/e2ehelper"
- "github.com/apache/incubator-devlake/plugins/jira/impl"
- "github.com/apache/incubator-devlake/plugins/jira/models"
- "github.com/apache/incubator-devlake/plugins/jira/tasks"
+ "github.com/apache/devlake/helpers/e2ehelper"
+ "github.com/apache/devlake/plugins/jira/impl"
+ "github.com/apache/devlake/plugins/jira/models"
+ "github.com/apache/devlake/plugins/jira/tasks"
"testing"
)
diff --git a/backend/plugins/jira/e2e/worklog_test.go b/backend/plugins/jira/e2e/worklog_test.go
index 00fb8e8..7e4f5e5 100644
--- a/backend/plugins/jira/e2e/worklog_test.go
+++ b/backend/plugins/jira/e2e/worklog_test.go
@@ -18,11 +18,11 @@
package e2e
import (
- "github.com/apache/incubator-devlake/core/models/domainlayer/ticket"
- "github.com/apache/incubator-devlake/helpers/e2ehelper"
- "github.com/apache/incubator-devlake/plugins/jira/impl"
- "github.com/apache/incubator-devlake/plugins/jira/models"
- "github.com/apache/incubator-devlake/plugins/jira/tasks"
+ "github.com/apache/devlake/core/models/domainlayer/ticket"
+ "github.com/apache/devlake/helpers/e2ehelper"
+ "github.com/apache/devlake/plugins/jira/impl"
+ "github.com/apache/devlake/plugins/jira/models"
+ "github.com/apache/devlake/plugins/jira/tasks"
"testing"
)
diff --git a/backend/plugins/jira/impl/impl.go b/backend/plugins/jira/impl/impl.go
index cebb899..c66a706 100644
--- a/backend/plugins/jira/impl/impl.go
+++ b/backend/plugins/jira/impl/impl.go
@@ -21,17 +21,17 @@
"fmt"
"net/http"
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- coreModels "github.com/apache/incubator-devlake/core/models"
- "github.com/apache/incubator-devlake/core/plugin"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/jira/api"
- "github.com/apache/incubator-devlake/plugins/jira/models"
- "github.com/apache/incubator-devlake/plugins/jira/models/migrationscripts"
- "github.com/apache/incubator-devlake/plugins/jira/tasks"
- "github.com/apache/incubator-devlake/plugins/jira/tasks/apiv2models"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ coreModels "github.com/apache/devlake/core/models"
+ "github.com/apache/devlake/core/plugin"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/jira/api"
+ "github.com/apache/devlake/plugins/jira/models"
+ "github.com/apache/devlake/plugins/jira/models/migrationscripts"
+ "github.com/apache/devlake/plugins/jira/tasks"
+ "github.com/apache/devlake/plugins/jira/tasks/apiv2models"
)
var _ interface {
@@ -269,7 +269,7 @@
}
func (p Jira) RootPkgPath() string {
- return "github.com/apache/incubator-devlake/plugins/jira"
+ return "github.com/apache/devlake/plugins/jira"
}
func (p Jira) MigrationScripts() []plugin.MigrationScript {
diff --git a/backend/plugins/jira/jira.go b/backend/plugins/jira/jira.go
index f22cc91..9e5e82f 100644
--- a/backend/plugins/jira/jira.go
+++ b/backend/plugins/jira/jira.go
@@ -18,8 +18,8 @@
package main // must be main for plugin entry point
import (
- "github.com/apache/incubator-devlake/core/runner"
- "github.com/apache/incubator-devlake/plugins/jira/impl"
+ "github.com/apache/devlake/core/runner"
+ "github.com/apache/devlake/plugins/jira/impl"
"github.com/spf13/cobra"
)
diff --git a/backend/plugins/jira/models/account.go b/backend/plugins/jira/models/account.go
index da9ede7..4c91309 100644
--- a/backend/plugins/jira/models/account.go
+++ b/backend/plugins/jira/models/account.go
@@ -18,7 +18,7 @@
package models
import (
- "github.com/apache/incubator-devlake/core/models/common"
+ "github.com/apache/devlake/core/models/common"
)
type JiraAccount struct {
diff --git a/backend/plugins/jira/models/board.go b/backend/plugins/jira/models/board.go
index f76af2a..93f3a8a 100644
--- a/backend/plugins/jira/models/board.go
+++ b/backend/plugins/jira/models/board.go
@@ -20,8 +20,8 @@
import (
"fmt"
- "github.com/apache/incubator-devlake/core/models/common"
- "github.com/apache/incubator-devlake/core/plugin"
+ "github.com/apache/devlake/core/models/common"
+ "github.com/apache/devlake/core/plugin"
)
var _ plugin.ToolLayerScope = (*JiraBoard)(nil)
diff --git a/backend/plugins/jira/models/board_issue.go b/backend/plugins/jira/models/board_issue.go
index 3240d59..ca7a8ef 100644
--- a/backend/plugins/jira/models/board_issue.go
+++ b/backend/plugins/jira/models/board_issue.go
@@ -18,7 +18,7 @@
package models
import (
- "github.com/apache/incubator-devlake/core/models/common"
+ "github.com/apache/devlake/core/models/common"
)
type JiraBoardIssue struct {
diff --git a/backend/plugins/jira/models/connection.go b/backend/plugins/jira/models/connection.go
index 8060c30..0a54e31 100644
--- a/backend/plugins/jira/models/connection.go
+++ b/backend/plugins/jira/models/connection.go
@@ -18,11 +18,11 @@
package models
import (
- "github.com/apache/incubator-devlake/core/utils"
+ "github.com/apache/devlake/core/utils"
"net/http"
- "github.com/apache/incubator-devlake/core/errors"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/core/errors"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
)
type EpicResponse struct {
diff --git a/backend/plugins/jira/models/issue.go b/backend/plugins/jira/models/issue.go
index 898b05d..c70821f 100644
--- a/backend/plugins/jira/models/issue.go
+++ b/backend/plugins/jira/models/issue.go
@@ -20,7 +20,7 @@
import (
"time"
- "github.com/apache/incubator-devlake/core/models/common"
+ "github.com/apache/devlake/core/models/common"
)
type JiraIssue struct {
diff --git a/backend/plugins/jira/models/issue_changelog.go b/backend/plugins/jira/models/issue_changelog.go
index 927c47e..9bc1556 100644
--- a/backend/plugins/jira/models/issue_changelog.go
+++ b/backend/plugins/jira/models/issue_changelog.go
@@ -18,7 +18,7 @@
package models
import (
- "github.com/apache/incubator-devlake/core/models/common"
+ "github.com/apache/devlake/core/models/common"
"time"
)
diff --git a/backend/plugins/jira/models/issue_comment.go b/backend/plugins/jira/models/issue_comment.go
index 5ed911c..e05d15e 100644
--- a/backend/plugins/jira/models/issue_comment.go
+++ b/backend/plugins/jira/models/issue_comment.go
@@ -18,7 +18,7 @@
package models
import (
- "github.com/apache/incubator-devlake/core/models/common"
+ "github.com/apache/devlake/core/models/common"
"time"
)
diff --git a/backend/plugins/jira/models/issue_commit.go b/backend/plugins/jira/models/issue_commit.go
index 8e77a50..88da6b9 100644
--- a/backend/plugins/jira/models/issue_commit.go
+++ b/backend/plugins/jira/models/issue_commit.go
@@ -18,7 +18,7 @@
package models
import (
- "github.com/apache/incubator-devlake/core/models/common"
+ "github.com/apache/devlake/core/models/common"
)
type JiraIssueCommit struct {
diff --git a/backend/plugins/jira/models/issue_field.go b/backend/plugins/jira/models/issue_field.go
index 3ca31b1..fbd9266 100644
--- a/backend/plugins/jira/models/issue_field.go
+++ b/backend/plugins/jira/models/issue_field.go
@@ -17,7 +17,7 @@
package models
-import "github.com/apache/incubator-devlake/core/models/common"
+import "github.com/apache/devlake/core/models/common"
type JiraIssueField struct {
common.NoPKModel
diff --git a/backend/plugins/jira/models/issue_label.go b/backend/plugins/jira/models/issue_label.go
index 0caf2a3..806b684 100644
--- a/backend/plugins/jira/models/issue_label.go
+++ b/backend/plugins/jira/models/issue_label.go
@@ -18,7 +18,7 @@
package models
import (
- "github.com/apache/incubator-devlake/core/models/common"
+ "github.com/apache/devlake/core/models/common"
)
// Please note that Issue Labels can also apply to Pull Requests.
diff --git a/backend/plugins/jira/models/issue_relationship.go b/backend/plugins/jira/models/issue_relationship.go
index 5539dc6..8b44a3f 100644
--- a/backend/plugins/jira/models/issue_relationship.go
+++ b/backend/plugins/jira/models/issue_relationship.go
@@ -18,7 +18,7 @@
package models
import (
- "github.com/apache/incubator-devlake/core/models/common"
+ "github.com/apache/devlake/core/models/common"
)
type JiraIssueRelationship struct {
diff --git a/backend/plugins/jira/models/issue_type.go b/backend/plugins/jira/models/issue_type.go
index c708538..04ab308 100644
--- a/backend/plugins/jira/models/issue_type.go
+++ b/backend/plugins/jira/models/issue_type.go
@@ -18,7 +18,7 @@
package models
import (
- "github.com/apache/incubator-devlake/core/models/common"
+ "github.com/apache/devlake/core/models/common"
)
type JiraIssueType struct {
diff --git a/backend/plugins/jira/models/migrationscripts/20220407_add_source_table.go b/backend/plugins/jira/models/migrationscripts/20220407_add_source_table.go
index e9f9080..474c5c7 100644
--- a/backend/plugins/jira/models/migrationscripts/20220407_add_source_table.go
+++ b/backend/plugins/jira/models/migrationscripts/20220407_add_source_table.go
@@ -18,10 +18,10 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/helpers/migrationhelper"
- "github.com/apache/incubator-devlake/plugins/jira/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/helpers/migrationhelper"
+ "github.com/apache/devlake/plugins/jira/models/migrationscripts/archived"
)
type addSourceTable20220407 struct{}
diff --git a/backend/plugins/jira/models/migrationscripts/20220505_rename_source_table.go b/backend/plugins/jira/models/migrationscripts/20220505_rename_source_table.go
index 07fab9d..800b121 100644
--- a/backend/plugins/jira/models/migrationscripts/20220505_rename_source_table.go
+++ b/backend/plugins/jira/models/migrationscripts/20220505_rename_source_table.go
@@ -18,8 +18,8 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
)
type renameSourceTable20220505 struct{}
diff --git a/backend/plugins/jira/models/migrationscripts/20220716_add_init_tables.go b/backend/plugins/jira/models/migrationscripts/20220716_add_init_tables.go
index 6f16197..ce10852 100644
--- a/backend/plugins/jira/models/migrationscripts/20220716_add_init_tables.go
+++ b/backend/plugins/jira/models/migrationscripts/20220716_add_init_tables.go
@@ -19,12 +19,12 @@
import (
"encoding/base64"
- "github.com/apache/incubator-devlake/core/config"
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/migrationhelper"
- "github.com/apache/incubator-devlake/plugins/jira/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/config"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/migrationhelper"
+ "github.com/apache/devlake/plugins/jira/models/migrationscripts/archived"
"strings"
"time"
)
diff --git a/backend/plugins/jira/models/migrationscripts/20221116_add_trasformation_rule_table.go b/backend/plugins/jira/models/migrationscripts/20221116_add_trasformation_rule_table.go
index ad3c584..ca591cf 100644
--- a/backend/plugins/jira/models/migrationscripts/20221116_add_trasformation_rule_table.go
+++ b/backend/plugins/jira/models/migrationscripts/20221116_add_trasformation_rule_table.go
@@ -18,10 +18,10 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/helpers/migrationhelper"
- "github.com/apache/incubator-devlake/plugins/jira/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/helpers/migrationhelper"
+ "github.com/apache/devlake/plugins/jira/models/migrationscripts/archived"
)
type jiraBoard20221116 struct {
diff --git a/backend/plugins/jira/models/migrationscripts/20221215_add_project_name.go b/backend/plugins/jira/models/migrationscripts/20221215_add_project_name.go
index b46b25b..69705a3 100644
--- a/backend/plugins/jira/models/migrationscripts/20221215_add_project_name.go
+++ b/backend/plugins/jira/models/migrationscripts/20221215_add_project_name.go
@@ -18,9 +18,9 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/helpers/migrationhelper"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/helpers/migrationhelper"
)
type jiraIssue20221215 struct {
diff --git a/backend/plugins/jira/models/migrationscripts/20230129_add_multi_auth.go b/backend/plugins/jira/models/migrationscripts/20230129_add_multi_auth.go
index a3ac1f2..70f959d 100644
--- a/backend/plugins/jira/models/migrationscripts/20230129_add_multi_auth.go
+++ b/backend/plugins/jira/models/migrationscripts/20230129_add_multi_auth.go
@@ -18,11 +18,11 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/migrationhelper"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/migrationhelper"
)
type jiraMultiAuth20230129 struct {
diff --git a/backend/plugins/jira/models/migrationscripts/20230214_remove_issue_stdstorypoint.go b/backend/plugins/jira/models/migrationscripts/20230214_remove_issue_stdstorypoint.go
index 8f6b914..fc1e2c4 100644
--- a/backend/plugins/jira/models/migrationscripts/20230214_remove_issue_stdstorypoint.go
+++ b/backend/plugins/jira/models/migrationscripts/20230214_remove_issue_stdstorypoint.go
@@ -18,9 +18,9 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
)
var _ plugin.MigrationScript = (*removeIssueStdStoryPoint)(nil)
diff --git a/backend/plugins/jira/models/migrationscripts/20230223_add_repo_pattern.go b/backend/plugins/jira/models/migrationscripts/20230223_add_repo_pattern.go
index 9c4365f..1a8a1a8 100644
--- a/backend/plugins/jira/models/migrationscripts/20230223_add_repo_pattern.go
+++ b/backend/plugins/jira/models/migrationscripts/20230223_add_repo_pattern.go
@@ -20,9 +20,9 @@
import (
"encoding/json"
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/helpers/migrationhelper"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/helpers/migrationhelper"
)
type JiraTransformationRule20230223 struct {
diff --git a/backend/plugins/jira/models/migrationscripts/20230322_add_connection_id_to_transformation_rules.go b/backend/plugins/jira/models/migrationscripts/20230322_add_connection_id_to_transformation_rules.go
index 101dafc..39e324c 100644
--- a/backend/plugins/jira/models/migrationscripts/20230322_add_connection_id_to_transformation_rules.go
+++ b/backend/plugins/jira/models/migrationscripts/20230322_add_connection_id_to_transformation_rules.go
@@ -18,10 +18,10 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/helpers/migrationhelper"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/helpers/migrationhelper"
)
type addConnectionIdToTransformationRule struct{}
diff --git a/backend/plugins/jira/models/migrationscripts/20230322_expand_remotelink_url.go b/backend/plugins/jira/models/migrationscripts/20230322_expand_remotelink_url.go
index 51a86bc..aaaa434 100644
--- a/backend/plugins/jira/models/migrationscripts/20230322_expand_remotelink_url.go
+++ b/backend/plugins/jira/models/migrationscripts/20230322_expand_remotelink_url.go
@@ -18,11 +18,11 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/migrationhelper"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/migrationhelper"
)
var _ plugin.MigrationScript = (*expandRemotelinkUrl)(nil)
diff --git a/backend/plugins/jira/models/migrationscripts/20230412_add_changelog_total_field_to_issue.go b/backend/plugins/jira/models/migrationscripts/20230412_add_changelog_total_field_to_issue.go
index f58a568..8a6b0cf 100644
--- a/backend/plugins/jira/models/migrationscripts/20230412_add_changelog_total_field_to_issue.go
+++ b/backend/plugins/jira/models/migrationscripts/20230412_add_changelog_total_field_to_issue.go
@@ -18,9 +18,9 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/helpers/migrationhelper"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/helpers/migrationhelper"
)
type jiraIssue20230412 struct {
diff --git a/backend/plugins/jira/models/migrationscripts/20230412_desc_comment.go b/backend/plugins/jira/models/migrationscripts/20230412_desc_comment.go
index bef5f02..bcc38e4 100644
--- a/backend/plugins/jira/models/migrationscripts/20230412_desc_comment.go
+++ b/backend/plugins/jira/models/migrationscripts/20230412_desc_comment.go
@@ -18,11 +18,11 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/migrationhelper"
- "github.com/apache/incubator-devlake/plugins/jira/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/migrationhelper"
+ "github.com/apache/devlake/plugins/jira/models/migrationscripts/archived"
)
var _ plugin.MigrationScript = (*expandRemotelinkUrl)(nil)
diff --git a/backend/plugins/jira/models/migrationscripts/20230510_expand_remotelink_selfurl.go b/backend/plugins/jira/models/migrationscripts/20230510_expand_remotelink_selfurl.go
index b7aeb52..15ffd33 100644
--- a/backend/plugins/jira/models/migrationscripts/20230510_expand_remotelink_selfurl.go
+++ b/backend/plugins/jira/models/migrationscripts/20230510_expand_remotelink_selfurl.go
@@ -18,11 +18,11 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/migrationhelper"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/migrationhelper"
)
var _ plugin.MigrationScript = (*expandRemotelinkUrl)(nil)
diff --git a/backend/plugins/jira/models/migrationscripts/20230512_add_repo_url.go b/backend/plugins/jira/models/migrationscripts/20230512_add_repo_url.go
index 6a8b903..0644a1b 100644
--- a/backend/plugins/jira/models/migrationscripts/20230512_add_repo_url.go
+++ b/backend/plugins/jira/models/migrationscripts/20230512_add_repo_url.go
@@ -18,9 +18,9 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/helpers/migrationhelper"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/helpers/migrationhelper"
)
type JiraIssueCommit20230512 struct {
diff --git a/backend/plugins/jira/models/migrationscripts/20230530_scope_config.go b/backend/plugins/jira/models/migrationscripts/20230530_scope_config.go
index c6aec38..c4479a5 100644
--- a/backend/plugins/jira/models/migrationscripts/20230530_scope_config.go
+++ b/backend/plugins/jira/models/migrationscripts/20230530_scope_config.go
@@ -18,9 +18,9 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/helpers/migrationhelper"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/helpers/migrationhelper"
)
type renameTr2ScopeConfig struct {
diff --git a/backend/plugins/jira/models/migrationscripts/20230601_add_application_type.go b/backend/plugins/jira/models/migrationscripts/20230601_add_application_type.go
index c11497a..dfd8056 100644
--- a/backend/plugins/jira/models/migrationscripts/20230601_add_application_type.go
+++ b/backend/plugins/jira/models/migrationscripts/20230601_add_application_type.go
@@ -18,9 +18,9 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/helpers/migrationhelper"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/helpers/migrationhelper"
)
type scopeConfig20230601 struct {
diff --git a/backend/plugins/jira/models/migrationscripts/20230609_clear_repo_pattern.go b/backend/plugins/jira/models/migrationscripts/20230609_clear_repo_pattern.go
index c1d4a41..60ec417 100644
--- a/backend/plugins/jira/models/migrationscripts/20230609_clear_repo_pattern.go
+++ b/backend/plugins/jira/models/migrationscripts/20230609_clear_repo_pattern.go
@@ -20,9 +20,9 @@
import (
"encoding/json"
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
)
type scopeConfig20230609 struct {
diff --git a/backend/plugins/jira/models/migrationscripts/20230630_add_raw_param_table_for_scopes.go b/backend/plugins/jira/models/migrationscripts/20230630_add_raw_param_table_for_scopes.go
index 4a8c99d..41b3c06 100644
--- a/backend/plugins/jira/models/migrationscripts/20230630_add_raw_param_table_for_scopes.go
+++ b/backend/plugins/jira/models/migrationscripts/20230630_add_raw_param_table_for_scopes.go
@@ -22,11 +22,11 @@
"fmt"
"strconv"
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/migrationhelper"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/migrationhelper"
)
var _ plugin.MigrationScript = (*addRawParamTableForScope)(nil)
diff --git a/backend/plugins/jira/models/migrationscripts/20230726_add_issue_relationship_table.go b/backend/plugins/jira/models/migrationscripts/20230726_add_issue_relationship_table.go
index e04482f..e4ffb78 100644
--- a/backend/plugins/jira/models/migrationscripts/20230726_add_issue_relationship_table.go
+++ b/backend/plugins/jira/models/migrationscripts/20230726_add_issue_relationship_table.go
@@ -18,10 +18,10 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/helpers/migrationhelper"
- "github.com/apache/incubator-devlake/plugins/jira/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/helpers/migrationhelper"
+ "github.com/apache/devlake/plugins/jira/models/migrationscripts/archived"
)
type addIssueRelationship struct{}
diff --git a/backend/plugins/jira/models/migrationscripts/20230808_drop_issue_allfields.go b/backend/plugins/jira/models/migrationscripts/20230808_drop_issue_allfields.go
index db11479..71f2b08 100644
--- a/backend/plugins/jira/models/migrationscripts/20230808_drop_issue_allfields.go
+++ b/backend/plugins/jira/models/migrationscripts/20230808_drop_issue_allfields.go
@@ -18,8 +18,8 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
)
type dropIssueAllFields struct{}
diff --git a/backend/plugins/jira/models/migrationscripts/20231016_modify_issue_relationship_primarykey.go b/backend/plugins/jira/models/migrationscripts/20231016_modify_issue_relationship_primarykey.go
index d1c7edd..00b0d2e 100644
--- a/backend/plugins/jira/models/migrationscripts/20231016_modify_issue_relationship_primarykey.go
+++ b/backend/plugins/jira/models/migrationscripts/20231016_modify_issue_relationship_primarykey.go
@@ -18,11 +18,11 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
- "github.com/apache/incubator-devlake/helpers/migrationhelper"
- jiraArchived "github.com/apache/incubator-devlake/plugins/jira/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/helpers/migrationhelper"
+ jiraArchived "github.com/apache/devlake/plugins/jira/models/migrationscripts/archived"
)
type modifyIssueRelationship struct{}
diff --git a/backend/plugins/jira/models/migrationscripts/20240103_add_component_to_issue.go b/backend/plugins/jira/models/migrationscripts/20240103_add_component_to_issue.go
index c730967..93113e1 100644
--- a/backend/plugins/jira/models/migrationscripts/20240103_add_component_to_issue.go
+++ b/backend/plugins/jira/models/migrationscripts/20240103_add_component_to_issue.go
@@ -18,9 +18,9 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/helpers/migrationhelper"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/helpers/migrationhelper"
)
type jiraIssue20240103 struct {
diff --git a/backend/plugins/jira/models/migrationscripts/20240111_add_filter_jql.go b/backend/plugins/jira/models/migrationscripts/20240111_add_filter_jql.go
index 9528cb0..1165c8f 100644
--- a/backend/plugins/jira/models/migrationscripts/20240111_add_filter_jql.go
+++ b/backend/plugins/jira/models/migrationscripts/20240111_add_filter_jql.go
@@ -18,9 +18,9 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/helpers/migrationhelper"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/helpers/migrationhelper"
)
type JiraBoard20240111 struct {
diff --git a/backend/plugins/jira/models/migrationscripts/20240514_add_worklog_total_to_issue.go b/backend/plugins/jira/models/migrationscripts/20240514_add_worklog_total_to_issue.go
index 104606e..5a60fee 100644
--- a/backend/plugins/jira/models/migrationscripts/20240514_add_worklog_total_to_issue.go
+++ b/backend/plugins/jira/models/migrationscripts/20240514_add_worklog_total_to_issue.go
@@ -18,8 +18,8 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
)
type jiraIssue20240514 struct {
diff --git a/backend/plugins/jira/models/migrationscripts/20240611_add_subtask_to_issue.go b/backend/plugins/jira/models/migrationscripts/20240611_add_subtask_to_issue.go
index 13d0f1f..1477ec6 100644
--- a/backend/plugins/jira/models/migrationscripts/20240611_add_subtask_to_issue.go
+++ b/backend/plugins/jira/models/migrationscripts/20240611_add_subtask_to_issue.go
@@ -18,8 +18,8 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
)
type jiraIssue20240611 struct {
diff --git a/backend/plugins/jira/models/migrationscripts/20240709_add_tmp_account_id_to_issue_changelog_item.go b/backend/plugins/jira/models/migrationscripts/20240709_add_tmp_account_id_to_issue_changelog_item.go
index 1f8fcf2..2f5fa3d 100644
--- a/backend/plugins/jira/models/migrationscripts/20240709_add_tmp_account_id_to_issue_changelog_item.go
+++ b/backend/plugins/jira/models/migrationscripts/20240709_add_tmp_account_id_to_issue_changelog_item.go
@@ -18,9 +18,9 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
)
var _ plugin.MigrationScript = (*addTmpAccountIdToJiraIssueChangelogItem)(nil)
diff --git a/backend/plugins/jira/models/migrationscripts/20240710_add_issue_field_table.go b/backend/plugins/jira/models/migrationscripts/20240710_add_issue_field_table.go
index 05ba584..f137790 100644
--- a/backend/plugins/jira/models/migrationscripts/20240710_add_issue_field_table.go
+++ b/backend/plugins/jira/models/migrationscripts/20240710_add_issue_field_table.go
@@ -18,10 +18,10 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/plugins/jira/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/plugins/jira/models/migrationscripts/archived"
)
var _ plugin.MigrationScript = (*addIssueFieldTable)(nil)
diff --git a/backend/plugins/jira/models/migrationscripts/20240809_change_issue_component_type.go b/backend/plugins/jira/models/migrationscripts/20240809_change_issue_component_type.go
index 3032908..8509e70 100644
--- a/backend/plugins/jira/models/migrationscripts/20240809_change_issue_component_type.go
+++ b/backend/plugins/jira/models/migrationscripts/20240809_change_issue_component_type.go
@@ -18,9 +18,9 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
)
var _ plugin.MigrationScript = (*changeIssueComponentType)(nil)
diff --git a/backend/plugins/jira/models/migrationscripts/20240821_flush_issues_data.go b/backend/plugins/jira/models/migrationscripts/20240821_flush_issues_data.go
index a34a8d2..1092370 100644
--- a/backend/plugins/jira/models/migrationscripts/20240821_flush_issues_data.go
+++ b/backend/plugins/jira/models/migrationscripts/20240821_flush_issues_data.go
@@ -18,10 +18,10 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
)
var _ plugin.MigrationScript = (*flushJiraIssues)(nil)
diff --git a/backend/plugins/jira/models/migrationscripts/20250305_add_due_date_config.go b/backend/plugins/jira/models/migrationscripts/20250305_add_due_date_config.go
index bfa802b..f1f4b83 100644
--- a/backend/plugins/jira/models/migrationscripts/20250305_add_due_date_config.go
+++ b/backend/plugins/jira/models/migrationscripts/20250305_add_due_date_config.go
@@ -20,9 +20,9 @@
import (
"time"
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/helpers/migrationhelper"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/helpers/migrationhelper"
)
type JiraScopeConfig20250305 struct {
diff --git a/backend/plugins/jira/models/migrationscripts/20250619_add_fix_versions_to_issue.go b/backend/plugins/jira/models/migrationscripts/20250619_add_fix_versions_to_issue.go
index 2486432..a4ffe79 100644
--- a/backend/plugins/jira/models/migrationscripts/20250619_add_fix_versions_to_issue.go
+++ b/backend/plugins/jira/models/migrationscripts/20250619_add_fix_versions_to_issue.go
@@ -18,9 +18,9 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/helpers/migrationhelper"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/helpers/migrationhelper"
)
type jiraIssue20250619 struct {
diff --git a/backend/plugins/jira/models/migrationscripts/20260611_add_sub_query_to_boards.go b/backend/plugins/jira/models/migrationscripts/20260611_add_sub_query_to_boards.go
index 455be7f..cd2b91a 100644
--- a/backend/plugins/jira/models/migrationscripts/20260611_add_sub_query_to_boards.go
+++ b/backend/plugins/jira/models/migrationscripts/20260611_add_sub_query_to_boards.go
@@ -18,9 +18,9 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/helpers/migrationhelper"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/helpers/migrationhelper"
)
type JiraBoard20260611 struct {
diff --git a/backend/plugins/jira/models/migrationscripts/20260702_add_extra_jql_to_scope_config.go b/backend/plugins/jira/models/migrationscripts/20260702_add_extra_jql_to_scope_config.go
index 34966a5..32e6fc3 100644
--- a/backend/plugins/jira/models/migrationscripts/20260702_add_extra_jql_to_scope_config.go
+++ b/backend/plugins/jira/models/migrationscripts/20260702_add_extra_jql_to_scope_config.go
@@ -18,9 +18,9 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/helpers/migrationhelper"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/helpers/migrationhelper"
)
type JiraScopeConfig20260702 struct {
diff --git a/backend/plugins/jira/models/migrationscripts/20260707_change_fix_versions_to_text.go b/backend/plugins/jira/models/migrationscripts/20260707_change_fix_versions_to_text.go
index 23b37da..1dbd8c3 100644
--- a/backend/plugins/jira/models/migrationscripts/20260707_change_fix_versions_to_text.go
+++ b/backend/plugins/jira/models/migrationscripts/20260707_change_fix_versions_to_text.go
@@ -18,9 +18,9 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/helpers/migrationhelper"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/helpers/migrationhelper"
)
type jiraIssue20260707 struct {
diff --git a/backend/plugins/jira/models/migrationscripts/20260722_add_sprint_report_table.go b/backend/plugins/jira/models/migrationscripts/20260722_add_sprint_report_table.go
index c31b709..8d47e57 100644
--- a/backend/plugins/jira/models/migrationscripts/20260722_add_sprint_report_table.go
+++ b/backend/plugins/jira/models/migrationscripts/20260722_add_sprint_report_table.go
@@ -18,9 +18,9 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/helpers/migrationhelper"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/helpers/migrationhelper"
)
type jiraSprintReport20260722 struct {
diff --git a/backend/plugins/jira/models/migrationscripts/20260727_add_raw_data_columns_to_sprint_report.go b/backend/plugins/jira/models/migrationscripts/20260727_add_raw_data_columns_to_sprint_report.go
index 5ee4d67..dd29ab1 100644
--- a/backend/plugins/jira/models/migrationscripts/20260727_add_raw_data_columns_to_sprint_report.go
+++ b/backend/plugins/jira/models/migrationscripts/20260727_add_raw_data_columns_to_sprint_report.go
@@ -18,10 +18,10 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
- "github.com/apache/incubator-devlake/helpers/migrationhelper"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/helpers/migrationhelper"
)
// jiraSprintReport20260727 mirrors the JiraSprintReport model. The original
diff --git a/backend/plugins/jira/models/migrationscripts/archived/account.go b/backend/plugins/jira/models/migrationscripts/archived/account.go
index c5e6e41..565cef5 100644
--- a/backend/plugins/jira/models/migrationscripts/archived/account.go
+++ b/backend/plugins/jira/models/migrationscripts/archived/account.go
@@ -18,7 +18,7 @@
package archived
import (
- "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/models/migrationscripts/archived"
)
type JiraAccount struct {
diff --git a/backend/plugins/jira/models/migrationscripts/archived/board.go b/backend/plugins/jira/models/migrationscripts/archived/board.go
index 3d8f65f..ae2f243 100644
--- a/backend/plugins/jira/models/migrationscripts/archived/board.go
+++ b/backend/plugins/jira/models/migrationscripts/archived/board.go
@@ -18,7 +18,7 @@
package archived
import (
- "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/models/migrationscripts/archived"
)
type JiraBoard struct {
diff --git a/backend/plugins/jira/models/migrationscripts/archived/board_issue.go b/backend/plugins/jira/models/migrationscripts/archived/board_issue.go
index c62712c..1e04c8e 100644
--- a/backend/plugins/jira/models/migrationscripts/archived/board_issue.go
+++ b/backend/plugins/jira/models/migrationscripts/archived/board_issue.go
@@ -18,7 +18,7 @@
package archived
import (
- "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/models/migrationscripts/archived"
)
type JiraBoardIssue struct {
diff --git a/backend/plugins/jira/models/migrationscripts/archived/connection.go b/backend/plugins/jira/models/migrationscripts/archived/connection.go
index 78f60d6..0c19d37 100644
--- a/backend/plugins/jira/models/migrationscripts/archived/connection.go
+++ b/backend/plugins/jira/models/migrationscripts/archived/connection.go
@@ -18,7 +18,7 @@
package archived
import (
- "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/models/migrationscripts/archived"
)
type BasicAuth struct {
diff --git a/backend/plugins/jira/models/migrationscripts/archived/issue.go b/backend/plugins/jira/models/migrationscripts/archived/issue.go
index fb30fe7..502ad60 100644
--- a/backend/plugins/jira/models/migrationscripts/archived/issue.go
+++ b/backend/plugins/jira/models/migrationscripts/archived/issue.go
@@ -21,7 +21,7 @@
"encoding/json"
"time"
- "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/models/migrationscripts/archived"
)
type JiraIssue struct {
diff --git a/backend/plugins/jira/models/migrationscripts/archived/issue_changelog.go b/backend/plugins/jira/models/migrationscripts/archived/issue_changelog.go
index a497d67..806d19b 100644
--- a/backend/plugins/jira/models/migrationscripts/archived/issue_changelog.go
+++ b/backend/plugins/jira/models/migrationscripts/archived/issue_changelog.go
@@ -18,7 +18,7 @@
package archived
import (
- "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/models/migrationscripts/archived"
"time"
)
diff --git a/backend/plugins/jira/models/migrationscripts/archived/issue_comment.go b/backend/plugins/jira/models/migrationscripts/archived/issue_comment.go
index d8581bb..2f17736 100644
--- a/backend/plugins/jira/models/migrationscripts/archived/issue_comment.go
+++ b/backend/plugins/jira/models/migrationscripts/archived/issue_comment.go
@@ -18,7 +18,7 @@
package archived
import (
- "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/models/migrationscripts/archived"
"time"
)
diff --git a/backend/plugins/jira/models/migrationscripts/archived/issue_commit.go b/backend/plugins/jira/models/migrationscripts/archived/issue_commit.go
index f2f503c..c4085b0 100644
--- a/backend/plugins/jira/models/migrationscripts/archived/issue_commit.go
+++ b/backend/plugins/jira/models/migrationscripts/archived/issue_commit.go
@@ -18,7 +18,7 @@
package archived
import (
- "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/models/migrationscripts/archived"
)
type JiraIssueCommit struct {
diff --git a/backend/plugins/jira/models/migrationscripts/archived/issue_field.go b/backend/plugins/jira/models/migrationscripts/archived/issue_field.go
index 865aea1..1e53717 100644
--- a/backend/plugins/jira/models/migrationscripts/archived/issue_field.go
+++ b/backend/plugins/jira/models/migrationscripts/archived/issue_field.go
@@ -17,7 +17,7 @@
package archived
-import "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
+import "github.com/apache/devlake/core/models/migrationscripts/archived"
type JiraIssueField struct {
archived.NoPKModel
diff --git a/backend/plugins/jira/models/migrationscripts/archived/issue_label.go b/backend/plugins/jira/models/migrationscripts/archived/issue_label.go
index 8bbf92f..59389dd 100644
--- a/backend/plugins/jira/models/migrationscripts/archived/issue_label.go
+++ b/backend/plugins/jira/models/migrationscripts/archived/issue_label.go
@@ -18,7 +18,7 @@
package archived
import (
- "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/models/migrationscripts/archived"
)
// Please note that Issue Labels can also apply to Pull Requests.
diff --git a/backend/plugins/jira/models/migrationscripts/archived/issue_relationship.go b/backend/plugins/jira/models/migrationscripts/archived/issue_relationship.go
index 29f8b1a..7081d6d 100644
--- a/backend/plugins/jira/models/migrationscripts/archived/issue_relationship.go
+++ b/backend/plugins/jira/models/migrationscripts/archived/issue_relationship.go
@@ -18,7 +18,7 @@
package archived
import (
- "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/models/migrationscripts/archived"
)
type JiraIssueRelationship struct {
diff --git a/backend/plugins/jira/models/migrationscripts/archived/issue_type.go b/backend/plugins/jira/models/migrationscripts/archived/issue_type.go
index 97f3ecc..99fb222 100644
--- a/backend/plugins/jira/models/migrationscripts/archived/issue_type.go
+++ b/backend/plugins/jira/models/migrationscripts/archived/issue_type.go
@@ -18,7 +18,7 @@
package archived
import (
- "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/models/migrationscripts/archived"
)
type JiraIssueType struct {
diff --git a/backend/plugins/jira/models/migrationscripts/archived/project.go b/backend/plugins/jira/models/migrationscripts/archived/project.go
index b9bb946..2fa28ad 100644
--- a/backend/plugins/jira/models/migrationscripts/archived/project.go
+++ b/backend/plugins/jira/models/migrationscripts/archived/project.go
@@ -18,7 +18,7 @@
package archived
import (
- "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/models/migrationscripts/archived"
)
type JiraProject struct {
diff --git a/backend/plugins/jira/models/migrationscripts/archived/remotelink.go b/backend/plugins/jira/models/migrationscripts/archived/remotelink.go
index d29dc6b..b5320bc 100644
--- a/backend/plugins/jira/models/migrationscripts/archived/remotelink.go
+++ b/backend/plugins/jira/models/migrationscripts/archived/remotelink.go
@@ -21,7 +21,7 @@
"encoding/json"
"time"
- "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/models/migrationscripts/archived"
)
type JiraRemotelink struct {
diff --git a/backend/plugins/jira/models/migrationscripts/archived/source.go b/backend/plugins/jira/models/migrationscripts/archived/source.go
index 951eba5..0be7f45 100644
--- a/backend/plugins/jira/models/migrationscripts/archived/source.go
+++ b/backend/plugins/jira/models/migrationscripts/archived/source.go
@@ -18,7 +18,7 @@
package archived
import (
- "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/models/migrationscripts/archived"
)
type JiraSource struct {
diff --git a/backend/plugins/jira/models/migrationscripts/archived/sprint.go b/backend/plugins/jira/models/migrationscripts/archived/sprint.go
index 7c760f4..5093ed6 100644
--- a/backend/plugins/jira/models/migrationscripts/archived/sprint.go
+++ b/backend/plugins/jira/models/migrationscripts/archived/sprint.go
@@ -18,7 +18,7 @@
package archived
import (
- "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/models/migrationscripts/archived"
"time"
)
diff --git a/backend/plugins/jira/models/migrationscripts/archived/status.go b/backend/plugins/jira/models/migrationscripts/archived/status.go
index d1c5d8f..a47ac69 100644
--- a/backend/plugins/jira/models/migrationscripts/archived/status.go
+++ b/backend/plugins/jira/models/migrationscripts/archived/status.go
@@ -18,7 +18,7 @@
package archived
import (
- "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/models/migrationscripts/archived"
)
type JiraStatus struct {
diff --git a/backend/plugins/jira/models/migrationscripts/archived/transformation_rule.go b/backend/plugins/jira/models/migrationscripts/archived/transformation_rule.go
index 993c671..ff073d2 100644
--- a/backend/plugins/jira/models/migrationscripts/archived/transformation_rule.go
+++ b/backend/plugins/jira/models/migrationscripts/archived/transformation_rule.go
@@ -19,7 +19,7 @@
import (
"encoding/json"
- "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/models/migrationscripts/archived"
)
type JiraTransformationRule struct {
diff --git a/backend/plugins/jira/models/migrationscripts/archived/worklog.go b/backend/plugins/jira/models/migrationscripts/archived/worklog.go
index d79f026..24afb97 100644
--- a/backend/plugins/jira/models/migrationscripts/archived/worklog.go
+++ b/backend/plugins/jira/models/migrationscripts/archived/worklog.go
@@ -18,7 +18,7 @@
package archived
import (
- "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/models/migrationscripts/archived"
"time"
)
diff --git a/backend/plugins/jira/models/migrationscripts/register.go b/backend/plugins/jira/models/migrationscripts/register.go
index e71dee8..4cde3dd 100644
--- a/backend/plugins/jira/models/migrationscripts/register.go
+++ b/backend/plugins/jira/models/migrationscripts/register.go
@@ -18,7 +18,7 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/plugin"
+ "github.com/apache/devlake/core/plugin"
)
// All return all the migration scripts
diff --git a/backend/plugins/jira/models/project.go b/backend/plugins/jira/models/project.go
index 40c33d6..c16b44f 100644
--- a/backend/plugins/jira/models/project.go
+++ b/backend/plugins/jira/models/project.go
@@ -18,7 +18,7 @@
package models
import (
- "github.com/apache/incubator-devlake/core/models/common"
+ "github.com/apache/devlake/core/models/common"
)
type JiraProject struct {
diff --git a/backend/plugins/jira/models/remotelink.go b/backend/plugins/jira/models/remotelink.go
index 45dbbd4..ce784e5 100644
--- a/backend/plugins/jira/models/remotelink.go
+++ b/backend/plugins/jira/models/remotelink.go
@@ -21,7 +21,7 @@
"encoding/json"
"time"
- "github.com/apache/incubator-devlake/core/models/common"
+ "github.com/apache/devlake/core/models/common"
)
type JiraRemotelink struct {
diff --git a/backend/plugins/jira/models/scope_config.go b/backend/plugins/jira/models/scope_config.go
index 5dc6d07..c31a432 100644
--- a/backend/plugins/jira/models/scope_config.go
+++ b/backend/plugins/jira/models/scope_config.go
@@ -21,8 +21,8 @@
"regexp"
"text/template"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/common"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/common"
)
type StatusMapping struct {
diff --git a/backend/plugins/jira/models/sprint.go b/backend/plugins/jira/models/sprint.go
index e90bf30..11a7fc8 100644
--- a/backend/plugins/jira/models/sprint.go
+++ b/backend/plugins/jira/models/sprint.go
@@ -18,7 +18,7 @@
package models
import (
- "github.com/apache/incubator-devlake/core/models/common"
+ "github.com/apache/devlake/core/models/common"
"time"
)
diff --git a/backend/plugins/jira/models/sprint_report.go b/backend/plugins/jira/models/sprint_report.go
index b9280e2..149d57b 100644
--- a/backend/plugins/jira/models/sprint_report.go
+++ b/backend/plugins/jira/models/sprint_report.go
@@ -18,7 +18,7 @@
package models
import (
- "github.com/apache/incubator-devlake/core/models/common"
+ "github.com/apache/devlake/core/models/common"
)
// Sprint Report bucket values, mirroring the four buckets returned by
diff --git a/backend/plugins/jira/models/status.go b/backend/plugins/jira/models/status.go
index ae754e3..d70ea35 100644
--- a/backend/plugins/jira/models/status.go
+++ b/backend/plugins/jira/models/status.go
@@ -18,7 +18,7 @@
package models
import (
- "github.com/apache/incubator-devlake/core/models/common"
+ "github.com/apache/devlake/core/models/common"
)
type JiraStatus struct {
diff --git a/backend/plugins/jira/models/worklog.go b/backend/plugins/jira/models/worklog.go
index 4173929..bf0ab1f 100644
--- a/backend/plugins/jira/models/worklog.go
+++ b/backend/plugins/jira/models/worklog.go
@@ -18,7 +18,7 @@
package models
import (
- "github.com/apache/incubator-devlake/core/models/common"
+ "github.com/apache/devlake/core/models/common"
"time"
)
diff --git a/backend/plugins/jira/tasks/account_collector.go b/backend/plugins/jira/tasks/account_collector.go
index fcf85dd..869cce1 100644
--- a/backend/plugins/jira/tasks/account_collector.go
+++ b/backend/plugins/jira/tasks/account_collector.go
@@ -25,11 +25,11 @@
"reflect"
"strconv"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/jira/models"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/jira/models"
)
const RAW_USERS_TABLE = "jira_api_users"
diff --git a/backend/plugins/jira/tasks/account_convertor.go b/backend/plugins/jira/tasks/account_convertor.go
index 193cca4..d4cecd4 100644
--- a/backend/plugins/jira/tasks/account_convertor.go
+++ b/backend/plugins/jira/tasks/account_convertor.go
@@ -18,14 +18,14 @@
package tasks
import (
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/domainlayer"
- "github.com/apache/incubator-devlake/core/models/domainlayer/crossdomain"
- "github.com/apache/incubator-devlake/core/models/domainlayer/didgen"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/jira/models"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/domainlayer"
+ "github.com/apache/devlake/core/models/domainlayer/crossdomain"
+ "github.com/apache/devlake/core/models/domainlayer/didgen"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/jira/models"
"reflect"
)
diff --git a/backend/plugins/jira/tasks/account_extractor.go b/backend/plugins/jira/tasks/account_extractor.go
index 0f9aae2..373e8aa 100644
--- a/backend/plugins/jira/tasks/account_extractor.go
+++ b/backend/plugins/jira/tasks/account_extractor.go
@@ -19,10 +19,10 @@
import (
"encoding/json"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/jira/tasks/apiv2models"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/jira/tasks/apiv2models"
)
var _ plugin.SubTaskEntryPoint = ExtractAccounts
diff --git a/backend/plugins/jira/tasks/api_client.go b/backend/plugins/jira/tasks/api_client.go
index 2062645..f90f1bd 100644
--- a/backend/plugins/jira/tasks/api_client.go
+++ b/backend/plugins/jira/tasks/api_client.go
@@ -21,10 +21,10 @@
"fmt"
"net/http"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/jira/models"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/jira/models"
)
func NewJiraApiClient(taskCtx plugin.TaskContext, connection *models.JiraConnection) (*api.ApiAsyncClient, errors.Error) {
diff --git a/backend/plugins/jira/tasks/apiv2models/board.go b/backend/plugins/jira/tasks/apiv2models/board.go
index eeb4190..88b00bc 100644
--- a/backend/plugins/jira/tasks/apiv2models/board.go
+++ b/backend/plugins/jira/tasks/apiv2models/board.go
@@ -18,8 +18,8 @@
package apiv2models
import (
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/plugins/jira/models"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/plugins/jira/models"
)
type Board struct {
diff --git a/backend/plugins/jira/tasks/apiv2models/changelog.go b/backend/plugins/jira/tasks/apiv2models/changelog.go
index 61c475e..c9b1f26 100644
--- a/backend/plugins/jira/tasks/apiv2models/changelog.go
+++ b/backend/plugins/jira/tasks/apiv2models/changelog.go
@@ -20,8 +20,8 @@
import (
"time"
- "github.com/apache/incubator-devlake/core/models/common"
- "github.com/apache/incubator-devlake/plugins/jira/models"
+ "github.com/apache/devlake/core/models/common"
+ "github.com/apache/devlake/plugins/jira/models"
)
type Changelog struct {
diff --git a/backend/plugins/jira/tasks/apiv2models/comment.go b/backend/plugins/jira/tasks/apiv2models/comment.go
index c2cd8e1..aa2a2e7 100644
--- a/backend/plugins/jira/tasks/apiv2models/comment.go
+++ b/backend/plugins/jira/tasks/apiv2models/comment.go
@@ -20,8 +20,8 @@
import (
"time"
- "github.com/apache/incubator-devlake/core/models/common"
- "github.com/apache/incubator-devlake/plugins/jira/models"
+ "github.com/apache/devlake/core/models/common"
+ "github.com/apache/devlake/plugins/jira/models"
)
type Comment struct {
diff --git a/backend/plugins/jira/tasks/apiv2models/issue.go b/backend/plugins/jira/tasks/apiv2models/issue.go
index ab54efb..b1b24e2 100644
--- a/backend/plugins/jira/tasks/apiv2models/issue.go
+++ b/backend/plugins/jira/tasks/apiv2models/issue.go
@@ -22,9 +22,9 @@
"strings"
"time"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/common"
- "github.com/apache/incubator-devlake/plugins/jira/models"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/common"
+ "github.com/apache/devlake/plugins/jira/models"
)
// FlexibleDescription supports both plain text and ADF (Atlassian Document Format) for Jira description field
diff --git a/backend/plugins/jira/tasks/apiv2models/project.go b/backend/plugins/jira/tasks/apiv2models/project.go
index 4aabd3f..daa14a2 100644
--- a/backend/plugins/jira/tasks/apiv2models/project.go
+++ b/backend/plugins/jira/tasks/apiv2models/project.go
@@ -18,7 +18,7 @@
package apiv2models
import (
- "github.com/apache/incubator-devlake/plugins/jira/models"
+ "github.com/apache/devlake/plugins/jira/models"
)
type Project struct {
diff --git a/backend/plugins/jira/tasks/apiv2models/remotelink.go b/backend/plugins/jira/tasks/apiv2models/remotelink.go
index 4dd87b3..7f5df1f 100644
--- a/backend/plugins/jira/tasks/apiv2models/remotelink.go
+++ b/backend/plugins/jira/tasks/apiv2models/remotelink.go
@@ -20,7 +20,7 @@
import (
"encoding/json"
- "github.com/apache/incubator-devlake/plugins/jira/models"
+ "github.com/apache/devlake/plugins/jira/models"
)
type RemoteLink struct {
diff --git a/backend/plugins/jira/tasks/apiv2models/sprint.go b/backend/plugins/jira/tasks/apiv2models/sprint.go
index 2abcb57..222f8e2 100644
--- a/backend/plugins/jira/tasks/apiv2models/sprint.go
+++ b/backend/plugins/jira/tasks/apiv2models/sprint.go
@@ -20,7 +20,7 @@
import (
"time"
- "github.com/apache/incubator-devlake/plugins/jira/models"
+ "github.com/apache/devlake/plugins/jira/models"
)
type Sprint struct {
diff --git a/backend/plugins/jira/tasks/apiv2models/user.go b/backend/plugins/jira/tasks/apiv2models/user.go
index eb798a5..9290ee8 100644
--- a/backend/plugins/jira/tasks/apiv2models/user.go
+++ b/backend/plugins/jira/tasks/apiv2models/user.go
@@ -18,7 +18,7 @@
package apiv2models
import (
- "github.com/apache/incubator-devlake/plugins/jira/models"
+ "github.com/apache/devlake/plugins/jira/models"
)
type Account struct {
diff --git a/backend/plugins/jira/tasks/apiv2models/worklog.go b/backend/plugins/jira/tasks/apiv2models/worklog.go
index 5fdb237..fe3efac 100644
--- a/backend/plugins/jira/tasks/apiv2models/worklog.go
+++ b/backend/plugins/jira/tasks/apiv2models/worklog.go
@@ -20,8 +20,8 @@
import (
"time"
- "github.com/apache/incubator-devlake/core/models/common"
- "github.com/apache/incubator-devlake/plugins/jira/models"
+ "github.com/apache/devlake/core/models/common"
+ "github.com/apache/devlake/plugins/jira/models"
)
type Worklog struct {
diff --git a/backend/plugins/jira/tasks/board_convertor.go b/backend/plugins/jira/tasks/board_convertor.go
index 44ab58b..3439fca 100644
--- a/backend/plugins/jira/tasks/board_convertor.go
+++ b/backend/plugins/jira/tasks/board_convertor.go
@@ -18,14 +18,14 @@
package tasks
import (
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/domainlayer"
- "github.com/apache/incubator-devlake/core/models/domainlayer/didgen"
- "github.com/apache/incubator-devlake/core/models/domainlayer/ticket"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/jira/models"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/domainlayer"
+ "github.com/apache/devlake/core/models/domainlayer/didgen"
+ "github.com/apache/devlake/core/models/domainlayer/ticket"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/jira/models"
"reflect"
)
diff --git a/backend/plugins/jira/tasks/board_filter_begin_collector.go b/backend/plugins/jira/tasks/board_filter_begin_collector.go
index 10dc607..6b064e2 100644
--- a/backend/plugins/jira/tasks/board_filter_begin_collector.go
+++ b/backend/plugins/jira/tasks/board_filter_begin_collector.go
@@ -20,12 +20,12 @@
import (
"fmt"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- coreModels "github.com/apache/incubator-devlake/core/models"
- "github.com/apache/incubator-devlake/core/plugin"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/jira/models"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ coreModels "github.com/apache/devlake/core/models"
+ "github.com/apache/devlake/core/plugin"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/jira/models"
)
var CollectBoardFilterBeginMeta = plugin.SubTaskMeta{
diff --git a/backend/plugins/jira/tasks/board_filter_end_collector.go b/backend/plugins/jira/tasks/board_filter_end_collector.go
index 4dfe06f..c9e898c 100644
--- a/backend/plugins/jira/tasks/board_filter_end_collector.go
+++ b/backend/plugins/jira/tasks/board_filter_end_collector.go
@@ -20,10 +20,10 @@
import (
"fmt"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/plugins/jira/models"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/plugins/jira/models"
)
var CollectBoardFilterEndMeta = plugin.SubTaskMeta{
diff --git a/backend/plugins/jira/tasks/development_panel_collector.go b/backend/plugins/jira/tasks/development_panel_collector.go
index 1381b54..fdc2f8e 100644
--- a/backend/plugins/jira/tasks/development_panel_collector.go
+++ b/backend/plugins/jira/tasks/development_panel_collector.go
@@ -25,11 +25,11 @@
"net/url"
"reflect"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/jira/tasks/apiv2models"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/jira/tasks/apiv2models"
)
const RAW_DEVELOPMENT_PANEL = "jira_api_development_panels"
diff --git a/backend/plugins/jira/tasks/development_panel_extractor.go b/backend/plugins/jira/tasks/development_panel_extractor.go
index 5a6da12..41ec421 100644
--- a/backend/plugins/jira/tasks/development_panel_extractor.go
+++ b/backend/plugins/jira/tasks/development_panel_extractor.go
@@ -20,11 +20,11 @@
import (
"encoding/json"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/jira/models"
- "github.com/apache/incubator-devlake/plugins/jira/tasks/apiv2models"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/jira/models"
+ "github.com/apache/devlake/plugins/jira/tasks/apiv2models"
)
var _ plugin.SubTaskEntryPoint = ExtractIssues
diff --git a/backend/plugins/jira/tasks/epic_collector.go b/backend/plugins/jira/tasks/epic_collector.go
index d7fc45f..67bcdcf 100644
--- a/backend/plugins/jira/tasks/epic_collector.go
+++ b/backend/plugins/jira/tasks/epic_collector.go
@@ -22,11 +22,11 @@
"reflect"
"strings"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/jira/models"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/jira/models"
"encoding/json"
"io"
diff --git a/backend/plugins/jira/tasks/epic_collector_test.go b/backend/plugins/jira/tasks/epic_collector_test.go
index 8fd31db..35b8b70 100644
--- a/backend/plugins/jira/tasks/epic_collector_test.go
+++ b/backend/plugins/jira/tasks/epic_collector_test.go
@@ -21,7 +21,7 @@
"strings"
"testing"
- "github.com/apache/incubator-devlake/plugins/jira/models"
+ "github.com/apache/devlake/plugins/jira/models"
)
func TestEpicCollectorBatchSizeLogic(t *testing.T) {
diff --git a/backend/plugins/jira/tasks/epic_extractor.go b/backend/plugins/jira/tasks/epic_extractor.go
index 8768f2c..8b138aa 100644
--- a/backend/plugins/jira/tasks/epic_extractor.go
+++ b/backend/plugins/jira/tasks/epic_extractor.go
@@ -18,13 +18,13 @@
package tasks
import (
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/log"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/jira/models"
- "github.com/apache/incubator-devlake/plugins/jira/tasks/apiv2models"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/log"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/jira/models"
+ "github.com/apache/devlake/plugins/jira/tasks/apiv2models"
)
var _ plugin.SubTaskEntryPoint = ExtractEpics
diff --git a/backend/plugins/jira/tasks/issue_changelog_collector.go b/backend/plugins/jira/tasks/issue_changelog_collector.go
index 76c1eef..dd4f836 100644
--- a/backend/plugins/jira/tasks/issue_changelog_collector.go
+++ b/backend/plugins/jira/tasks/issue_changelog_collector.go
@@ -24,13 +24,13 @@
"net/url"
"reflect"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/log"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/jira/models"
- "github.com/apache/incubator-devlake/plugins/jira/tasks/apiv2models"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/log"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/jira/models"
+ "github.com/apache/devlake/plugins/jira/tasks/apiv2models"
)
var _ plugin.SubTaskEntryPoint = CollectIssueChangelogs
diff --git a/backend/plugins/jira/tasks/issue_changelog_convertor.go b/backend/plugins/jira/tasks/issue_changelog_convertor.go
index 31b71fd..25b6ad1 100644
--- a/backend/plugins/jira/tasks/issue_changelog_convertor.go
+++ b/backend/plugins/jira/tasks/issue_changelog_convertor.go
@@ -23,14 +23,14 @@
"strings"
"time"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/domainlayer"
- "github.com/apache/incubator-devlake/core/models/domainlayer/didgen"
- "github.com/apache/incubator-devlake/core/models/domainlayer/ticket"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/jira/models"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/domainlayer"
+ "github.com/apache/devlake/core/models/domainlayer/didgen"
+ "github.com/apache/devlake/core/models/domainlayer/ticket"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/jira/models"
)
var validID = regexp.MustCompile(`[0-9]+`)
diff --git a/backend/plugins/jira/tasks/issue_changelog_extractor.go b/backend/plugins/jira/tasks/issue_changelog_extractor.go
index b5de33a..5e41e5b 100644
--- a/backend/plugins/jira/tasks/issue_changelog_extractor.go
+++ b/backend/plugins/jira/tasks/issue_changelog_extractor.go
@@ -20,11 +20,11 @@
import (
"encoding/json"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/jira/models"
- "github.com/apache/incubator-devlake/plugins/jira/tasks/apiv2models"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/jira/models"
+ "github.com/apache/devlake/plugins/jira/tasks/apiv2models"
)
var _ plugin.SubTaskEntryPoint = ExtractIssueChangelogs
diff --git a/backend/plugins/jira/tasks/issue_collector.go b/backend/plugins/jira/tasks/issue_collector.go
index 7b13af7..ff5dd8f 100644
--- a/backend/plugins/jira/tasks/issue_collector.go
+++ b/backend/plugins/jira/tasks/issue_collector.go
@@ -28,12 +28,12 @@
"text/template"
"time"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/log"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/jira/models"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/log"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/jira/models"
)
const RAW_ISSUE_TABLE = "jira_api_issues"
diff --git a/backend/plugins/jira/tasks/issue_collector_test.go b/backend/plugins/jira/tasks/issue_collector_test.go
index fe47050..66912e9 100644
--- a/backend/plugins/jira/tasks/issue_collector_test.go
+++ b/backend/plugins/jira/tasks/issue_collector_test.go
@@ -27,9 +27,9 @@
"testing/quick"
"time"
- "github.com/apache/incubator-devlake/helpers/unithelper"
- mocklog "github.com/apache/incubator-devlake/mocks/core/log"
- "github.com/apache/incubator-devlake/plugins/jira/models"
+ "github.com/apache/devlake/helpers/unithelper"
+ mocklog "github.com/apache/devlake/mocks/core/log"
+ "github.com/apache/devlake/plugins/jira/models"
"github.com/stretchr/testify/mock"
)
diff --git a/backend/plugins/jira/tasks/issue_comment_collector.go b/backend/plugins/jira/tasks/issue_comment_collector.go
index 5ef2777..0757407 100644
--- a/backend/plugins/jira/tasks/issue_comment_collector.go
+++ b/backend/plugins/jira/tasks/issue_comment_collector.go
@@ -24,13 +24,13 @@
"net/url"
"reflect"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/log"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/jira/models"
- "github.com/apache/incubator-devlake/plugins/jira/tasks/apiv2models"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/log"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/jira/models"
+ "github.com/apache/devlake/plugins/jira/tasks/apiv2models"
)
var _ plugin.SubTaskEntryPoint = CollectIssueComments
diff --git a/backend/plugins/jira/tasks/issue_comment_convertor.go b/backend/plugins/jira/tasks/issue_comment_convertor.go
index 8e5e08c..dc01c9f 100644
--- a/backend/plugins/jira/tasks/issue_comment_convertor.go
+++ b/backend/plugins/jira/tasks/issue_comment_convertor.go
@@ -20,14 +20,14 @@
import (
"reflect"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/domainlayer"
- "github.com/apache/incubator-devlake/core/models/domainlayer/didgen"
- "github.com/apache/incubator-devlake/core/models/domainlayer/ticket"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/jira/models"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/domainlayer"
+ "github.com/apache/devlake/core/models/domainlayer/didgen"
+ "github.com/apache/devlake/core/models/domainlayer/ticket"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/jira/models"
)
var ConvertIssueCommentsMeta = plugin.SubTaskMeta{
diff --git a/backend/plugins/jira/tasks/issue_comment_extractor.go b/backend/plugins/jira/tasks/issue_comment_extractor.go
index e538288..8e8e10b 100644
--- a/backend/plugins/jira/tasks/issue_comment_extractor.go
+++ b/backend/plugins/jira/tasks/issue_comment_extractor.go
@@ -19,11 +19,11 @@
import (
"encoding/json"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/jira/models"
- "github.com/apache/incubator-devlake/plugins/jira/tasks/apiv2models"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/jira/models"
+ "github.com/apache/devlake/plugins/jira/tasks/apiv2models"
)
var _ plugin.SubTaskEntryPoint = ExtractIssueComments
diff --git a/backend/plugins/jira/tasks/issue_commit_convertor.go b/backend/plugins/jira/tasks/issue_commit_convertor.go
index a84ee5b..ea5c0b7 100644
--- a/backend/plugins/jira/tasks/issue_commit_convertor.go
+++ b/backend/plugins/jira/tasks/issue_commit_convertor.go
@@ -18,13 +18,13 @@
package tasks
import (
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/domainlayer/crossdomain"
- "github.com/apache/incubator-devlake/core/models/domainlayer/didgen"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/jira/models"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/domainlayer/crossdomain"
+ "github.com/apache/devlake/core/models/domainlayer/didgen"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/jira/models"
"reflect"
)
diff --git a/backend/plugins/jira/tasks/issue_convertor.go b/backend/plugins/jira/tasks/issue_convertor.go
index de5f60e..74a9232 100644
--- a/backend/plugins/jira/tasks/issue_convertor.go
+++ b/backend/plugins/jira/tasks/issue_convertor.go
@@ -22,14 +22,14 @@
"path/filepath"
"strings"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/domainlayer"
- "github.com/apache/incubator-devlake/core/models/domainlayer/didgen"
- "github.com/apache/incubator-devlake/core/models/domainlayer/ticket"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/jira/models"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/domainlayer"
+ "github.com/apache/devlake/core/models/domainlayer/didgen"
+ "github.com/apache/devlake/core/models/domainlayer/ticket"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/jira/models"
)
var ConvertIssuesMeta = plugin.SubTaskMeta{
diff --git a/backend/plugins/jira/tasks/issue_extractor.go b/backend/plugins/jira/tasks/issue_extractor.go
index 2fef638..f1db6c7 100644
--- a/backend/plugins/jira/tasks/issue_extractor.go
+++ b/backend/plugins/jira/tasks/issue_extractor.go
@@ -22,13 +22,13 @@
"strings"
"time"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/helpers/utils"
- "github.com/apache/incubator-devlake/plugins/jira/models"
- "github.com/apache/incubator-devlake/plugins/jira/tasks/apiv2models"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/helpers/utils"
+ "github.com/apache/devlake/plugins/jira/models"
+ "github.com/apache/devlake/plugins/jira/tasks/apiv2models"
)
var _ plugin.SubTaskEntryPoint = ExtractIssues
diff --git a/backend/plugins/jira/tasks/issue_extractor_test.go b/backend/plugins/jira/tasks/issue_extractor_test.go
index f198e5b..97489fd 100644
--- a/backend/plugins/jira/tasks/issue_extractor_test.go
+++ b/backend/plugins/jira/tasks/issue_extractor_test.go
@@ -22,9 +22,9 @@
"fmt"
"testing"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/jira/models"
- "github.com/apache/incubator-devlake/plugins/jira/tasks/apiv2models"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/jira/models"
+ "github.com/apache/devlake/plugins/jira/tasks/apiv2models"
)
func TestExtractIssuesEpicKeyField(t *testing.T) {
diff --git a/backend/plugins/jira/tasks/issue_field_collector.go b/backend/plugins/jira/tasks/issue_field_collector.go
index 63b535d..4d7caac 100644
--- a/backend/plugins/jira/tasks/issue_field_collector.go
+++ b/backend/plugins/jira/tasks/issue_field_collector.go
@@ -19,9 +19,9 @@
import (
"encoding/json"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
"net/http"
)
diff --git a/backend/plugins/jira/tasks/issue_field_extractor.go b/backend/plugins/jira/tasks/issue_field_extractor.go
index 13fae19..277c282 100644
--- a/backend/plugins/jira/tasks/issue_field_extractor.go
+++ b/backend/plugins/jira/tasks/issue_field_extractor.go
@@ -19,11 +19,11 @@
import (
"encoding/json"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/common"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/jira/models"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/common"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/jira/models"
)
var _ plugin.SubTaskEntryPoint = ExtractIssueFields
diff --git a/backend/plugins/jira/tasks/issue_label_convertor.go b/backend/plugins/jira/tasks/issue_label_convertor.go
index d3d347c..1a80dcd 100644
--- a/backend/plugins/jira/tasks/issue_label_convertor.go
+++ b/backend/plugins/jira/tasks/issue_label_convertor.go
@@ -18,15 +18,15 @@
package tasks
import (
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/domainlayer/didgen"
- "github.com/apache/incubator-devlake/core/models/domainlayer/ticket"
- "github.com/apache/incubator-devlake/core/plugin"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/domainlayer/didgen"
+ "github.com/apache/devlake/core/models/domainlayer/ticket"
+ "github.com/apache/devlake/core/plugin"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
"reflect"
- "github.com/apache/incubator-devlake/plugins/jira/models"
+ "github.com/apache/devlake/plugins/jira/models"
)
var ConvertIssueLabelsMeta = plugin.SubTaskMeta{
diff --git a/backend/plugins/jira/tasks/issue_relationship_convertor.go b/backend/plugins/jira/tasks/issue_relationship_convertor.go
index 0e1e5a8..b776db9 100644
--- a/backend/plugins/jira/tasks/issue_relationship_convertor.go
+++ b/backend/plugins/jira/tasks/issue_relationship_convertor.go
@@ -20,14 +20,14 @@
import (
"reflect"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/domainlayer/didgen"
- "github.com/apache/incubator-devlake/core/models/domainlayer/ticket"
- "github.com/apache/incubator-devlake/core/plugin"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/domainlayer/didgen"
+ "github.com/apache/devlake/core/models/domainlayer/ticket"
+ "github.com/apache/devlake/core/plugin"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/jira/models"
+ "github.com/apache/devlake/plugins/jira/models"
)
var ConvertIssueRelationshipsMeta = plugin.SubTaskMeta{
diff --git a/backend/plugins/jira/tasks/issue_repo_commit_convertor.go b/backend/plugins/jira/tasks/issue_repo_commit_convertor.go
index afe150e..3d1db6a 100644
--- a/backend/plugins/jira/tasks/issue_repo_commit_convertor.go
+++ b/backend/plugins/jira/tasks/issue_repo_commit_convertor.go
@@ -21,13 +21,13 @@
"reflect"
"regexp"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/domainlayer/crossdomain"
- "github.com/apache/incubator-devlake/core/models/domainlayer/didgen"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/jira/models"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/domainlayer/crossdomain"
+ "github.com/apache/devlake/core/models/domainlayer/didgen"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/jira/models"
)
var ConvertIssueRepoCommitsMeta = plugin.SubTaskMeta{
diff --git a/backend/plugins/jira/tasks/issue_type_collector.go b/backend/plugins/jira/tasks/issue_type_collector.go
index c867316..b414d68 100644
--- a/backend/plugins/jira/tasks/issue_type_collector.go
+++ b/backend/plugins/jira/tasks/issue_type_collector.go
@@ -21,10 +21,10 @@
"encoding/json"
"net/http"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/jira/models"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/jira/models"
)
const RAW_ISSUE_TYPE_TABLE = "jira_api_issue_types"
diff --git a/backend/plugins/jira/tasks/issue_type_extractor.go b/backend/plugins/jira/tasks/issue_type_extractor.go
index aef4979..548e0b3 100644
--- a/backend/plugins/jira/tasks/issue_type_extractor.go
+++ b/backend/plugins/jira/tasks/issue_type_extractor.go
@@ -19,10 +19,10 @@
import (
"encoding/json"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/jira/models"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/jira/models"
)
var ExtractIssueTypesMeta = plugin.SubTaskMeta{
diff --git a/backend/plugins/jira/tasks/project_collector.go b/backend/plugins/jira/tasks/project_collector.go
index 4d0ed4f..c9118cf 100644
--- a/backend/plugins/jira/tasks/project_collector.go
+++ b/backend/plugins/jira/tasks/project_collector.go
@@ -22,9 +22,9 @@
"net/http"
"net/url"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
)
const RAW_PROJECT_TABLE = "jira_api_projects"
diff --git a/backend/plugins/jira/tasks/project_extractor.go b/backend/plugins/jira/tasks/project_extractor.go
index 2b97a7a..15a8198 100644
--- a/backend/plugins/jira/tasks/project_extractor.go
+++ b/backend/plugins/jira/tasks/project_extractor.go
@@ -19,10 +19,10 @@
import (
"encoding/json"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/jira/tasks/apiv2models"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/jira/tasks/apiv2models"
)
var _ plugin.SubTaskEntryPoint = ExtractProjects
diff --git a/backend/plugins/jira/tasks/remotelink_collector.go b/backend/plugins/jira/tasks/remotelink_collector.go
index 6b44ca7..f8c3542 100644
--- a/backend/plugins/jira/tasks/remotelink_collector.go
+++ b/backend/plugins/jira/tasks/remotelink_collector.go
@@ -22,11 +22,11 @@
"net/http"
"reflect"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/jira/tasks/apiv2models"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/jira/tasks/apiv2models"
)
const RAW_REMOTELINK_TABLE = "jira_api_remotelinks"
diff --git a/backend/plugins/jira/tasks/remotelink_extractor.go b/backend/plugins/jira/tasks/remotelink_extractor.go
index d2585ac..da67213 100644
--- a/backend/plugins/jira/tasks/remotelink_extractor.go
+++ b/backend/plugins/jira/tasks/remotelink_extractor.go
@@ -21,11 +21,11 @@
"encoding/json"
"regexp"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/jira/models"
- "github.com/apache/incubator-devlake/plugins/jira/tasks/apiv2models"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/jira/models"
+ "github.com/apache/devlake/plugins/jira/tasks/apiv2models"
)
var ExtractRemotelinksMeta = plugin.SubTaskMeta{
diff --git a/backend/plugins/jira/tasks/shared.go b/backend/plugins/jira/tasks/shared.go
index cdd118d..6167635 100644
--- a/backend/plugins/jira/tasks/shared.go
+++ b/backend/plugins/jira/tasks/shared.go
@@ -18,9 +18,9 @@
package tasks
import (
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/domainlayer/ticket"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/domainlayer/ticket"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
"net/http"
)
diff --git a/backend/plugins/jira/tasks/sprint_collector.go b/backend/plugins/jira/tasks/sprint_collector.go
index a51c7ad..a917a0c 100644
--- a/backend/plugins/jira/tasks/sprint_collector.go
+++ b/backend/plugins/jira/tasks/sprint_collector.go
@@ -23,9 +23,9 @@
"net/http"
"net/url"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
)
const RAW_SPRINT_TABLE = "jira_api_sprints"
diff --git a/backend/plugins/jira/tasks/sprint_convertor.go b/backend/plugins/jira/tasks/sprint_convertor.go
index 2d99275..b3dbb95 100644
--- a/backend/plugins/jira/tasks/sprint_convertor.go
+++ b/backend/plugins/jira/tasks/sprint_convertor.go
@@ -18,14 +18,14 @@
package tasks
import (
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/domainlayer"
- "github.com/apache/incubator-devlake/core/models/domainlayer/didgen"
- "github.com/apache/incubator-devlake/core/models/domainlayer/ticket"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/jira/models"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/domainlayer"
+ "github.com/apache/devlake/core/models/domainlayer/didgen"
+ "github.com/apache/devlake/core/models/domainlayer/ticket"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/jira/models"
"reflect"
"strings"
)
diff --git a/backend/plugins/jira/tasks/sprint_extractor.go b/backend/plugins/jira/tasks/sprint_extractor.go
index 2127635..1845ce9 100644
--- a/backend/plugins/jira/tasks/sprint_extractor.go
+++ b/backend/plugins/jira/tasks/sprint_extractor.go
@@ -20,11 +20,11 @@
import (
"encoding/json"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/jira/models"
- "github.com/apache/incubator-devlake/plugins/jira/tasks/apiv2models"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/jira/models"
+ "github.com/apache/devlake/plugins/jira/tasks/apiv2models"
)
var _ plugin.SubTaskEntryPoint = ExtractSprints
diff --git a/backend/plugins/jira/tasks/sprint_issues_convertor.go b/backend/plugins/jira/tasks/sprint_issues_convertor.go
index b1e4fa2..ba72705 100644
--- a/backend/plugins/jira/tasks/sprint_issues_convertor.go
+++ b/backend/plugins/jira/tasks/sprint_issues_convertor.go
@@ -18,13 +18,13 @@
package tasks
import (
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/domainlayer/didgen"
- "github.com/apache/incubator-devlake/core/models/domainlayer/ticket"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/jira/models"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/domainlayer/didgen"
+ "github.com/apache/devlake/core/models/domainlayer/ticket"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/jira/models"
"reflect"
)
diff --git a/backend/plugins/jira/tasks/sprint_report_collector.go b/backend/plugins/jira/tasks/sprint_report_collector.go
index 1f8db1f..3dd1e98 100644
--- a/backend/plugins/jira/tasks/sprint_report_collector.go
+++ b/backend/plugins/jira/tasks/sprint_report_collector.go
@@ -25,11 +25,11 @@
"net/url"
"reflect"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/jira/tasks/apiv2models"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/jira/tasks/apiv2models"
)
const RAW_SPRINT_REPORT_TABLE = "jira_api_sprint_reports"
diff --git a/backend/plugins/jira/tasks/sprint_report_convertor.go b/backend/plugins/jira/tasks/sprint_report_convertor.go
index 76046c2..2f2c188 100644
--- a/backend/plugins/jira/tasks/sprint_report_convertor.go
+++ b/backend/plugins/jira/tasks/sprint_report_convertor.go
@@ -18,12 +18,12 @@
package tasks
import (
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/domainlayer/didgen"
- "github.com/apache/incubator-devlake/core/models/domainlayer/ticket"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/plugins/jira/models"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/domainlayer/didgen"
+ "github.com/apache/devlake/core/models/domainlayer/ticket"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/plugins/jira/models"
)
var ConvertSprintReportMeta = plugin.SubTaskMeta{
diff --git a/backend/plugins/jira/tasks/sprint_report_extractor.go b/backend/plugins/jira/tasks/sprint_report_extractor.go
index c24c6be..a114baf 100644
--- a/backend/plugins/jira/tasks/sprint_report_extractor.go
+++ b/backend/plugins/jira/tasks/sprint_report_extractor.go
@@ -20,11 +20,11 @@
import (
"encoding/json"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/jira/models"
- "github.com/apache/incubator-devlake/plugins/jira/tasks/apiv2models"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/jira/models"
+ "github.com/apache/devlake/plugins/jira/tasks/apiv2models"
)
var _ plugin.SubTaskEntryPoint = ExtractSprintReport
diff --git a/backend/plugins/jira/tasks/status_collector.go b/backend/plugins/jira/tasks/status_collector.go
index 4b2b3fc..eb50295 100644
--- a/backend/plugins/jira/tasks/status_collector.go
+++ b/backend/plugins/jira/tasks/status_collector.go
@@ -21,9 +21,9 @@
"encoding/json"
"net/http"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
)
const RAW_STATUS_TABLE = "jira_api_status"
diff --git a/backend/plugins/jira/tasks/status_extractor.go b/backend/plugins/jira/tasks/status_extractor.go
index e7dc3dd..5cf2981 100644
--- a/backend/plugins/jira/tasks/status_extractor.go
+++ b/backend/plugins/jira/tasks/status_extractor.go
@@ -19,11 +19,11 @@
import (
"encoding/json"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/jira/models"
- "github.com/apache/incubator-devlake/plugins/jira/tasks/apiv2models"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/jira/models"
+ "github.com/apache/devlake/plugins/jira/tasks/apiv2models"
)
var ExtractStatusMeta = plugin.SubTaskMeta{
diff --git a/backend/plugins/jira/tasks/task_data.go b/backend/plugins/jira/tasks/task_data.go
index 227ad8b..d81f39c 100644
--- a/backend/plugins/jira/tasks/task_data.go
+++ b/backend/plugins/jira/tasks/task_data.go
@@ -20,9 +20,9 @@
import (
"fmt"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/jira/models"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/jira/models"
)
type JiraOptions struct {
diff --git a/backend/plugins/jira/tasks/worklog_collector.go b/backend/plugins/jira/tasks/worklog_collector.go
index b364a70..8d31a19 100644
--- a/backend/plugins/jira/tasks/worklog_collector.go
+++ b/backend/plugins/jira/tasks/worklog_collector.go
@@ -23,11 +23,11 @@
"net/url"
"reflect"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/jira/tasks/apiv2models"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/jira/tasks/apiv2models"
)
const RAW_WORKLOGS_TABLE = "jira_api_worklogs"
diff --git a/backend/plugins/jira/tasks/worklog_convertor.go b/backend/plugins/jira/tasks/worklog_convertor.go
index 8eacfd2..d6e3c1a 100644
--- a/backend/plugins/jira/tasks/worklog_convertor.go
+++ b/backend/plugins/jira/tasks/worklog_convertor.go
@@ -18,14 +18,14 @@
package tasks
import (
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/domainlayer"
- "github.com/apache/incubator-devlake/core/models/domainlayer/didgen"
- "github.com/apache/incubator-devlake/core/models/domainlayer/ticket"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/jira/models"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/domainlayer"
+ "github.com/apache/devlake/core/models/domainlayer/didgen"
+ "github.com/apache/devlake/core/models/domainlayer/ticket"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/jira/models"
"reflect"
)
diff --git a/backend/plugins/jira/tasks/worklog_extractor.go b/backend/plugins/jira/tasks/worklog_extractor.go
index 4ccf519..5d71a7a 100644
--- a/backend/plugins/jira/tasks/worklog_extractor.go
+++ b/backend/plugins/jira/tasks/worklog_extractor.go
@@ -19,10 +19,10 @@
import (
"encoding/json"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/jira/tasks/apiv2models"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/jira/tasks/apiv2models"
)
var _ plugin.SubTaskEntryPoint = ExtractWorklogs
diff --git a/backend/plugins/kiro/api/blueprint_v200.go b/backend/plugins/kiro/api/blueprint_v200.go
index ceea9cb..a121cb1 100644
--- a/backend/plugins/kiro/api/blueprint_v200.go
+++ b/backend/plugins/kiro/api/blueprint_v200.go
@@ -18,13 +18,13 @@
package api
import (
- "github.com/apache/incubator-devlake/core/errors"
- coreModels "github.com/apache/incubator-devlake/core/models"
- "github.com/apache/incubator-devlake/core/plugin"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/helpers/srvhelper"
- "github.com/apache/incubator-devlake/plugins/kiro/models"
- "github.com/apache/incubator-devlake/plugins/kiro/tasks"
+ "github.com/apache/devlake/core/errors"
+ coreModels "github.com/apache/devlake/core/models"
+ "github.com/apache/devlake/core/plugin"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/helpers/srvhelper"
+ "github.com/apache/devlake/plugins/kiro/models"
+ "github.com/apache/devlake/plugins/kiro/tasks"
)
func MakeDataSourcePipelinePlanV200(
diff --git a/backend/plugins/kiro/api/connection.go b/backend/plugins/kiro/api/connection.go
index 075274b..ea30a1f 100644
--- a/backend/plugins/kiro/api/connection.go
+++ b/backend/plugins/kiro/api/connection.go
@@ -20,10 +20,10 @@
import (
"net/http"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/kiro/models"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/kiro/models"
)
// PostConnections creates a new connection.
diff --git a/backend/plugins/kiro/api/init.go b/backend/plugins/kiro/api/init.go
index e4b614a..7d2831f 100644
--- a/backend/plugins/kiro/api/init.go
+++ b/backend/plugins/kiro/api/init.go
@@ -20,11 +20,11 @@
import (
"github.com/go-playground/validator/v10"
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/helpers/srvhelper"
- "github.com/apache/incubator-devlake/plugins/kiro/models"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/helpers/srvhelper"
+ "github.com/apache/devlake/plugins/kiro/models"
)
var (
diff --git a/backend/plugins/kiro/api/remote_api.go b/backend/plugins/kiro/api/remote_api.go
index 1be7635..f555c60 100644
--- a/backend/plugins/kiro/api/remote_api.go
+++ b/backend/plugins/kiro/api/remote_api.go
@@ -22,12 +22,12 @@
"strconv"
"strings"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- dsmodels "github.com/apache/incubator-devlake/helpers/pluginhelper/api/models"
- "github.com/apache/incubator-devlake/plugins/kiro/models"
- "github.com/apache/incubator-devlake/plugins/kiro/tasks"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ dsmodels "github.com/apache/devlake/helpers/pluginhelper/api/models"
+ "github.com/apache/devlake/plugins/kiro/models"
+ "github.com/apache/devlake/plugins/kiro/tasks"
)
// listKiroRemoteScopes browses the export layout as a tree.
diff --git a/backend/plugins/kiro/api/s3_slice_api.go b/backend/plugins/kiro/api/s3_slice_api.go
index f8a05fb..727b35a 100644
--- a/backend/plugins/kiro/api/s3_slice_api.go
+++ b/backend/plugins/kiro/api/s3_slice_api.go
@@ -18,11 +18,11 @@
package api
import (
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/helpers/srvhelper"
- "github.com/apache/incubator-devlake/plugins/kiro/models"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/helpers/srvhelper"
+ "github.com/apache/devlake/plugins/kiro/models"
)
type PutScopesReqBody = helper.PutScopesReqBody[models.KiroS3Slice]
diff --git a/backend/plugins/kiro/api/test_connection.go b/backend/plugins/kiro/api/test_connection.go
index de9fea3..75117ed 100644
--- a/backend/plugins/kiro/api/test_connection.go
+++ b/backend/plugins/kiro/api/test_connection.go
@@ -24,11 +24,11 @@
"github.com/aws/aws-sdk-go/aws"
"github.com/aws/aws-sdk-go/service/s3"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/kiro/models"
- "github.com/apache/incubator-devlake/plugins/kiro/tasks"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/kiro/models"
+ "github.com/apache/devlake/plugins/kiro/tasks"
)
// TestConnection validates a connection that has not been saved yet.
diff --git a/backend/plugins/kiro/api/test_connection_test.go b/backend/plugins/kiro/api/test_connection_test.go
index 7b30ca3..7e3dec2 100644
--- a/backend/plugins/kiro/api/test_connection_test.go
+++ b/backend/plugins/kiro/api/test_connection_test.go
@@ -24,7 +24,7 @@
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
- "github.com/apache/incubator-devlake/plugins/kiro/models"
+ "github.com/apache/devlake/plugins/kiro/models"
)
func TestNewConnectionReportSatisfiesConfigUIContract(t *testing.T) {
diff --git a/backend/plugins/kiro/impl/impl.go b/backend/plugins/kiro/impl/impl.go
index c6b1970..baa6beb 100644
--- a/backend/plugins/kiro/impl/impl.go
+++ b/backend/plugins/kiro/impl/impl.go
@@ -20,16 +20,16 @@
import (
"fmt"
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- coreModels "github.com/apache/incubator-devlake/core/models"
- "github.com/apache/incubator-devlake/core/plugin"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/kiro/api"
- "github.com/apache/incubator-devlake/plugins/kiro/models"
- "github.com/apache/incubator-devlake/plugins/kiro/models/migrationscripts"
- "github.com/apache/incubator-devlake/plugins/kiro/tasks"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ coreModels "github.com/apache/devlake/core/models"
+ "github.com/apache/devlake/core/plugin"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/kiro/api"
+ "github.com/apache/devlake/plugins/kiro/models"
+ "github.com/apache/devlake/plugins/kiro/models/migrationscripts"
+ "github.com/apache/devlake/plugins/kiro/tasks"
)
var _ interface {
@@ -65,7 +65,7 @@
}
func (p Kiro) RootPkgPath() string {
- return "github.com/apache/incubator-devlake/plugins/kiro"
+ return "github.com/apache/devlake/plugins/kiro"
}
// GetTablesInfo must list every model or plugins/table_info_test.go fails.
diff --git a/backend/plugins/kiro/impl/table_info_test.go b/backend/plugins/kiro/impl/table_info_test.go
index cb19560..90598fd 100644
--- a/backend/plugins/kiro/impl/table_info_test.go
+++ b/backend/plugins/kiro/impl/table_info_test.go
@@ -20,7 +20,7 @@
import (
"testing"
- "github.com/apache/incubator-devlake/helpers/unithelper"
+ "github.com/apache/devlake/helpers/unithelper"
)
// The repo-wide plugins/table_info_test.go performs this same check for every
diff --git a/backend/plugins/kiro/kiro.go b/backend/plugins/kiro/kiro.go
index 27c8dff..e7d5e7d 100644
--- a/backend/plugins/kiro/kiro.go
+++ b/backend/plugins/kiro/kiro.go
@@ -20,8 +20,8 @@
import (
"github.com/spf13/cobra"
- "github.com/apache/incubator-devlake/core/runner"
- "github.com/apache/incubator-devlake/plugins/kiro/impl"
+ "github.com/apache/devlake/core/runner"
+ "github.com/apache/devlake/plugins/kiro/impl"
)
var PluginEntry impl.Kiro
diff --git a/backend/plugins/kiro/models/chat_log.go b/backend/plugins/kiro/models/chat_log.go
index cde329f..5433d80 100644
--- a/backend/plugins/kiro/models/chat_log.go
+++ b/backend/plugins/kiro/models/chat_log.go
@@ -20,7 +20,7 @@
import (
"time"
- "github.com/apache/incubator-devlake/core/models/common"
+ "github.com/apache/devlake/core/models/common"
)
// KiroChatLog is one GenerateAssistantResponse interaction.
diff --git a/backend/plugins/kiro/models/completion_log.go b/backend/plugins/kiro/models/completion_log.go
index cfd633e..7173f84 100644
--- a/backend/plugins/kiro/models/completion_log.go
+++ b/backend/plugins/kiro/models/completion_log.go
@@ -20,7 +20,7 @@
import (
"time"
- "github.com/apache/incubator-devlake/core/models/common"
+ "github.com/apache/devlake/core/models/common"
)
// KiroCompletionLog is one GenerateCompletions (inline suggestion) request.
diff --git a/backend/plugins/kiro/models/connection.go b/backend/plugins/kiro/models/connection.go
index d8479c9..eb3dd9b 100644
--- a/backend/plugins/kiro/models/connection.go
+++ b/backend/plugins/kiro/models/connection.go
@@ -20,8 +20,8 @@
import (
"strings"
- "github.com/apache/incubator-devlake/core/utils"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/core/utils"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
)
// Default S3 prefixes. Kiro's console writes user activity reports and
diff --git a/backend/plugins/kiro/models/migrationscripts/20260729_init.go b/backend/plugins/kiro/models/migrationscripts/20260729_init.go
index 4b2c8e7..c80f2e3 100644
--- a/backend/plugins/kiro/models/migrationscripts/20260729_init.go
+++ b/backend/plugins/kiro/models/migrationscripts/20260729_init.go
@@ -18,10 +18,10 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/helpers/migrationhelper"
- "github.com/apache/incubator-devlake/plugins/kiro/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/helpers/migrationhelper"
+ "github.com/apache/devlake/plugins/kiro/models/migrationscripts/archived"
)
type initTables struct{}
diff --git a/backend/plugins/kiro/models/migrationscripts/archived/init.go b/backend/plugins/kiro/models/migrationscripts/archived/init.go
index 53422db..1c7916e 100644
--- a/backend/plugins/kiro/models/migrationscripts/archived/init.go
+++ b/backend/plugins/kiro/models/migrationscripts/archived/init.go
@@ -24,7 +24,7 @@
import (
"time"
- "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/models/migrationscripts/archived"
)
type KiroConnection struct {
diff --git a/backend/plugins/kiro/models/migrationscripts/register.go b/backend/plugins/kiro/models/migrationscripts/register.go
index ff85e75..8d74fdb 100644
--- a/backend/plugins/kiro/models/migrationscripts/register.go
+++ b/backend/plugins/kiro/models/migrationscripts/register.go
@@ -18,7 +18,7 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/plugin"
+ "github.com/apache/devlake/core/plugin"
)
// All returns all migration scripts. Every new script must be added here or it
diff --git a/backend/plugins/kiro/models/s3_file_meta.go b/backend/plugins/kiro/models/s3_file_meta.go
index baea17a..8dc970c 100644
--- a/backend/plugins/kiro/models/s3_file_meta.go
+++ b/backend/plugins/kiro/models/s3_file_meta.go
@@ -20,7 +20,7 @@
import (
"time"
- "github.com/apache/incubator-devlake/core/models/common"
+ "github.com/apache/devlake/core/models/common"
)
// File types, derived from the S3 prefix a file was found under. Storing the
diff --git a/backend/plugins/kiro/models/s3_slice.go b/backend/plugins/kiro/models/s3_slice.go
index adffb02..4e787c4 100644
--- a/backend/plugins/kiro/models/s3_slice.go
+++ b/backend/plugins/kiro/models/s3_slice.go
@@ -21,8 +21,8 @@
"fmt"
"strings"
- "github.com/apache/incubator-devlake/core/models/common"
- "github.com/apache/incubator-devlake/core/plugin"
+ "github.com/apache/devlake/core/models/common"
+ "github.com/apache/devlake/core/plugin"
"gorm.io/gorm"
)
diff --git a/backend/plugins/kiro/models/timestamp_schema_test.go b/backend/plugins/kiro/models/timestamp_schema_test.go
index 4bc479b..623fd63 100644
--- a/backend/plugins/kiro/models/timestamp_schema_test.go
+++ b/backend/plugins/kiro/models/timestamp_schema_test.go
@@ -21,7 +21,7 @@
"sync"
"testing"
- "github.com/apache/incubator-devlake/plugins/kiro/models/migrationscripts/archived"
+ "github.com/apache/devlake/plugins/kiro/models/migrationscripts/archived"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
mysqlDriver "gorm.io/driver/mysql"
diff --git a/backend/plugins/kiro/models/user_model_messages.go b/backend/plugins/kiro/models/user_model_messages.go
index 89268b4..cb70ea5 100644
--- a/backend/plugins/kiro/models/user_model_messages.go
+++ b/backend/plugins/kiro/models/user_model_messages.go
@@ -20,7 +20,7 @@
import (
"time"
- "github.com/apache/incubator-devlake/core/models/common"
+ "github.com/apache/devlake/core/models/common"
)
// KiroUserModelMessage holds the per-model message counts from the report CSV.
diff --git a/backend/plugins/kiro/models/user_report.go b/backend/plugins/kiro/models/user_report.go
index 8f56755..fc82130 100644
--- a/backend/plugins/kiro/models/user_report.go
+++ b/backend/plugins/kiro/models/user_report.go
@@ -20,7 +20,7 @@
import (
"time"
- "github.com/apache/incubator-devlake/core/models/common"
+ "github.com/apache/devlake/core/models/common"
)
// KiroUserReport is one row of the daily per-user activity report.
diff --git a/backend/plugins/kiro/tasks/discovery.go b/backend/plugins/kiro/tasks/discovery.go
index 1bd6a13..40e6c1a 100644
--- a/backend/plugins/kiro/tasks/discovery.go
+++ b/backend/plugins/kiro/tasks/discovery.go
@@ -21,8 +21,8 @@
"fmt"
"strconv"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/plugins/kiro/models"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/plugins/kiro/models"
)
// Discovery walks the report prefix to find what data actually exists.
diff --git a/backend/plugins/kiro/tasks/discovery_test.go b/backend/plugins/kiro/tasks/discovery_test.go
index 785f79c..be316ef 100644
--- a/backend/plugins/kiro/tasks/discovery_test.go
+++ b/backend/plugins/kiro/tasks/discovery_test.go
@@ -25,7 +25,7 @@
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
- "github.com/apache/incubator-devlake/plugins/kiro/models"
+ "github.com/apache/devlake/plugins/kiro/models"
)
// prefixMockS3 answers listings from a canned prefix tree, and records the
diff --git a/backend/plugins/kiro/tasks/extractor.go b/backend/plugins/kiro/tasks/extractor.go
index 1086751..51e7565 100644
--- a/backend/plugins/kiro/tasks/extractor.go
+++ b/backend/plugins/kiro/tasks/extractor.go
@@ -20,11 +20,11 @@
import (
"time"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/kiro/models"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/kiro/models"
)
// parseFunc turns one downloaded object into batches of rows ready for
diff --git a/backend/plugins/kiro/tasks/extractor_test.go b/backend/plugins/kiro/tasks/extractor_test.go
index 5eec605..8ca0f2d 100644
--- a/backend/plugins/kiro/tasks/extractor_test.go
+++ b/backend/plugins/kiro/tasks/extractor_test.go
@@ -25,8 +25,8 @@
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/plugins/kiro/models"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/plugins/kiro/models"
)
// GORM resolves the destination table from a slice's element type, so every
diff --git a/backend/plugins/kiro/tasks/identity_client.go b/backend/plugins/kiro/tasks/identity_client.go
index 8e6ed34..953a16b 100644
--- a/backend/plugins/kiro/tasks/identity_client.go
+++ b/backend/plugins/kiro/tasks/identity_client.go
@@ -23,7 +23,7 @@
"github.com/aws/aws-sdk-go/aws/session"
"github.com/aws/aws-sdk-go/service/identitystore"
- "github.com/apache/incubator-devlake/plugins/kiro/models"
+ "github.com/apache/devlake/plugins/kiro/models"
)
// IdentityStoreAPI is the subset of the Identity Store API used here.
diff --git a/backend/plugins/kiro/tasks/log_extractor.go b/backend/plugins/kiro/tasks/log_extractor.go
index 476b06a..6ec5d16 100644
--- a/backend/plugins/kiro/tasks/log_extractor.go
+++ b/backend/plugins/kiro/tasks/log_extractor.go
@@ -18,9 +18,9 @@
package tasks
import (
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/plugins/kiro/models"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/plugins/kiro/models"
)
var (
diff --git a/backend/plugins/kiro/tasks/log_parser.go b/backend/plugins/kiro/tasks/log_parser.go
index 3de9a66..193fbd8 100644
--- a/backend/plugins/kiro/tasks/log_parser.go
+++ b/backend/plugins/kiro/tasks/log_parser.go
@@ -27,8 +27,8 @@
"path/filepath"
"strings"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/plugins/kiro/models"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/plugins/kiro/models"
)
// Markers used by the prompt heuristics. These read a prompt's text for signs
diff --git a/backend/plugins/kiro/tasks/normalize.go b/backend/plugins/kiro/tasks/normalize.go
index 89350b9..e8e7ce9 100644
--- a/backend/plugins/kiro/tasks/normalize.go
+++ b/backend/plugins/kiro/tasks/normalize.go
@@ -22,7 +22,7 @@
"strings"
"time"
- "github.com/apache/incubator-devlake/core/errors"
+ "github.com/apache/devlake/core/errors"
)
// Kiro exports the same logical value in several shapes across its two data
diff --git a/backend/plugins/kiro/tasks/s3_client.go b/backend/plugins/kiro/tasks/s3_client.go
index a0e2d19..1683725 100644
--- a/backend/plugins/kiro/tasks/s3_client.go
+++ b/backend/plugins/kiro/tasks/s3_client.go
@@ -27,8 +27,8 @@
"github.com/aws/aws-sdk-go/aws/session"
"github.com/aws/aws-sdk-go/service/s3"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/plugins/kiro/models"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/plugins/kiro/models"
)
// S3API is the subset of the S3 API this plugin uses, declared as an interface
diff --git a/backend/plugins/kiro/tasks/s3_client_test.go b/backend/plugins/kiro/tasks/s3_client_test.go
index 08c910f..ad38af0 100644
--- a/backend/plugins/kiro/tasks/s3_client_test.go
+++ b/backend/plugins/kiro/tasks/s3_client_test.go
@@ -28,7 +28,7 @@
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
- "github.com/apache/incubator-devlake/plugins/kiro/models"
+ "github.com/apache/devlake/plugins/kiro/models"
)
// mockS3 records the bucket each call addressed, so tests can prove a request
diff --git a/backend/plugins/kiro/tasks/s3_file_collector.go b/backend/plugins/kiro/tasks/s3_file_collector.go
index 552292e..5555ee7 100644
--- a/backend/plugins/kiro/tasks/s3_file_collector.go
+++ b/backend/plugins/kiro/tasks/s3_file_collector.go
@@ -24,10 +24,10 @@
"github.com/aws/aws-sdk-go/aws"
"github.com/aws/aws-sdk-go/service/s3"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/plugins/kiro/models"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/plugins/kiro/models"
)
var _ plugin.SubTaskEntryPoint = CollectKiroS3Files
diff --git a/backend/plugins/kiro/tasks/s3_file_collector_test.go b/backend/plugins/kiro/tasks/s3_file_collector_test.go
index e45b260..5e6069d 100644
--- a/backend/plugins/kiro/tasks/s3_file_collector_test.go
+++ b/backend/plugins/kiro/tasks/s3_file_collector_test.go
@@ -27,7 +27,7 @@
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
- "github.com/apache/incubator-devlake/plugins/kiro/models"
+ "github.com/apache/devlake/plugins/kiro/models"
)
func listOutput(truncated bool, keys ...string) *s3.ListObjectsV2Output {
diff --git a/backend/plugins/kiro/tasks/task_data.go b/backend/plugins/kiro/tasks/task_data.go
index c8b504f..c18fe16 100644
--- a/backend/plugins/kiro/tasks/task_data.go
+++ b/backend/plugins/kiro/tasks/task_data.go
@@ -20,7 +20,7 @@
import (
"fmt"
- "github.com/apache/incubator-devlake/plugins/kiro/models"
+ "github.com/apache/devlake/plugins/kiro/models"
)
// DefaultWorkerCount is how many objects are fetched concurrently.
diff --git a/backend/plugins/kiro/tasks/user_report_extractor.go b/backend/plugins/kiro/tasks/user_report_extractor.go
index ddef74a..d50a0cb 100644
--- a/backend/plugins/kiro/tasks/user_report_extractor.go
+++ b/backend/plugins/kiro/tasks/user_report_extractor.go
@@ -18,9 +18,9 @@
package tasks
import (
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/plugins/kiro/models"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/plugins/kiro/models"
)
var _ plugin.SubTaskEntryPoint = ExtractKiroUserReport
diff --git a/backend/plugins/kiro/tasks/user_report_parser.go b/backend/plugins/kiro/tasks/user_report_parser.go
index 7909b31..1c99fd8 100644
--- a/backend/plugins/kiro/tasks/user_report_parser.go
+++ b/backend/plugins/kiro/tasks/user_report_parser.go
@@ -25,8 +25,8 @@
"strings"
"time"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/plugins/kiro/models"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/plugins/kiro/models"
)
// Known column names in the user activity report. Only the first eleven are
diff --git a/backend/plugins/kiro/tasks/user_report_parser_test.go b/backend/plugins/kiro/tasks/user_report_parser_test.go
index 112a270..0a1d3b4 100644
--- a/backend/plugins/kiro/tasks/user_report_parser_test.go
+++ b/backend/plugins/kiro/tasks/user_report_parser_test.go
@@ -22,7 +22,7 @@
"path/filepath"
"testing"
- "github.com/apache/incubator-devlake/plugins/kiro/models"
+ "github.com/apache/devlake/plugins/kiro/models"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
)
diff --git a/backend/plugins/linear/api/blueprint_v200.go b/backend/plugins/linear/api/blueprint_v200.go
index a26a43a..6db613d 100644
--- a/backend/plugins/linear/api/blueprint_v200.go
+++ b/backend/plugins/linear/api/blueprint_v200.go
@@ -18,16 +18,16 @@
package api
import (
- "github.com/apache/incubator-devlake/core/errors"
- coreModels "github.com/apache/incubator-devlake/core/models"
- "github.com/apache/incubator-devlake/core/models/domainlayer/didgen"
- "github.com/apache/incubator-devlake/core/models/domainlayer/ticket"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/core/utils"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/helpers/srvhelper"
- "github.com/apache/incubator-devlake/plugins/linear/models"
- "github.com/apache/incubator-devlake/plugins/linear/tasks"
+ "github.com/apache/devlake/core/errors"
+ coreModels "github.com/apache/devlake/core/models"
+ "github.com/apache/devlake/core/models/domainlayer/didgen"
+ "github.com/apache/devlake/core/models/domainlayer/ticket"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/core/utils"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/helpers/srvhelper"
+ "github.com/apache/devlake/plugins/linear/models"
+ "github.com/apache/devlake/plugins/linear/tasks"
)
func MakePipelinePlanV200(
diff --git a/backend/plugins/linear/api/blueprint_v200_test.go b/backend/plugins/linear/api/blueprint_v200_test.go
index fe0d8b0..a1b367f 100644
--- a/backend/plugins/linear/api/blueprint_v200_test.go
+++ b/backend/plugins/linear/api/blueprint_v200_test.go
@@ -20,18 +20,18 @@
import (
"testing"
- "github.com/apache/incubator-devlake/core/models/common"
- "github.com/apache/incubator-devlake/core/plugin"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/helpers/srvhelper"
- mockplugin "github.com/apache/incubator-devlake/mocks/core/plugin"
- "github.com/apache/incubator-devlake/plugins/linear/models"
+ "github.com/apache/devlake/core/models/common"
+ "github.com/apache/devlake/core/plugin"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/helpers/srvhelper"
+ mockplugin "github.com/apache/devlake/mocks/core/plugin"
+ "github.com/apache/devlake/plugins/linear/models"
"github.com/stretchr/testify/assert"
)
func mockLinearPlugin(t *testing.T) {
mockMeta := mockplugin.NewPluginMeta(t)
- mockMeta.On("RootPkgPath").Return("github.com/apache/incubator-devlake/plugins/linear")
+ mockMeta.On("RootPkgPath").Return("github.com/apache/devlake/plugins/linear")
mockMeta.On("Name").Return("linear").Maybe()
_ = plugin.RegisterPlugin("linear", mockMeta)
}
diff --git a/backend/plugins/linear/api/connection_api.go b/backend/plugins/linear/api/connection_api.go
index c2c95c5..b3102ea 100644
--- a/backend/plugins/linear/api/connection_api.go
+++ b/backend/plugins/linear/api/connection_api.go
@@ -21,11 +21,11 @@
"context"
"net/http"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/linear/models"
- "github.com/apache/incubator-devlake/server/api/shared"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/linear/models"
+ "github.com/apache/devlake/server/api/shared"
)
const defaultEndpoint = "https://api.linear.app/graphql"
diff --git a/backend/plugins/linear/api/init.go b/backend/plugins/linear/api/init.go
index 850acf5..780474b 100644
--- a/backend/plugins/linear/api/init.go
+++ b/backend/plugins/linear/api/init.go
@@ -18,10 +18,10 @@
package api
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/linear/models"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/linear/models"
"github.com/go-playground/validator/v10"
)
diff --git a/backend/plugins/linear/api/remote_api.go b/backend/plugins/linear/api/remote_api.go
index 094c785..fd160e2 100644
--- a/backend/plugins/linear/api/remote_api.go
+++ b/backend/plugins/linear/api/remote_api.go
@@ -20,11 +20,11 @@
import (
"fmt"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- dsmodels "github.com/apache/incubator-devlake/helpers/pluginhelper/api/models"
- "github.com/apache/incubator-devlake/plugins/linear/models"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ dsmodels "github.com/apache/devlake/helpers/pluginhelper/api/models"
+ "github.com/apache/devlake/plugins/linear/models"
)
// LinearRemotePagination drives cursor-based pagination through the GraphQL
diff --git a/backend/plugins/linear/api/remote_api_test.go b/backend/plugins/linear/api/remote_api_test.go
index 801e0d5..811a35f 100644
--- a/backend/plugins/linear/api/remote_api_test.go
+++ b/backend/plugins/linear/api/remote_api_test.go
@@ -21,7 +21,7 @@
"encoding/json"
"testing"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
"github.com/stretchr/testify/assert"
)
diff --git a/backend/plugins/linear/api/scope_api.go b/backend/plugins/linear/api/scope_api.go
index 9871d1d..d794f16 100644
--- a/backend/plugins/linear/api/scope_api.go
+++ b/backend/plugins/linear/api/scope_api.go
@@ -18,10 +18,10 @@
package api
import (
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/linear/models"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/linear/models"
)
type PutScopesReqBody api.PutScopesReqBody[models.LinearTeam]
diff --git a/backend/plugins/linear/api/scope_config_api.go b/backend/plugins/linear/api/scope_config_api.go
index e70b800..5a8be81 100644
--- a/backend/plugins/linear/api/scope_config_api.go
+++ b/backend/plugins/linear/api/scope_config_api.go
@@ -18,8 +18,8 @@
package api
import (
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
)
// PostScopeConfig create scope config for Linear
diff --git a/backend/plugins/linear/e2e/account_test.go b/backend/plugins/linear/e2e/account_test.go
index 9cb8f3a..c83715b 100644
--- a/backend/plugins/linear/e2e/account_test.go
+++ b/backend/plugins/linear/e2e/account_test.go
@@ -20,12 +20,12 @@
import (
"testing"
- "github.com/apache/incubator-devlake/core/models/common"
- "github.com/apache/incubator-devlake/core/models/domainlayer/crossdomain"
- "github.com/apache/incubator-devlake/helpers/e2ehelper"
- "github.com/apache/incubator-devlake/plugins/linear/impl"
- "github.com/apache/incubator-devlake/plugins/linear/models"
- "github.com/apache/incubator-devlake/plugins/linear/tasks"
+ "github.com/apache/devlake/core/models/common"
+ "github.com/apache/devlake/core/models/domainlayer/crossdomain"
+ "github.com/apache/devlake/helpers/e2ehelper"
+ "github.com/apache/devlake/plugins/linear/impl"
+ "github.com/apache/devlake/plugins/linear/models"
+ "github.com/apache/devlake/plugins/linear/tasks"
)
func TestLinearAccountDataFlow(t *testing.T) {
diff --git a/backend/plugins/linear/e2e/board_test.go b/backend/plugins/linear/e2e/board_test.go
index eb4e048..3b52e96 100644
--- a/backend/plugins/linear/e2e/board_test.go
+++ b/backend/plugins/linear/e2e/board_test.go
@@ -20,12 +20,12 @@
import (
"testing"
- "github.com/apache/incubator-devlake/core/models/common"
- "github.com/apache/incubator-devlake/core/models/domainlayer/ticket"
- "github.com/apache/incubator-devlake/helpers/e2ehelper"
- "github.com/apache/incubator-devlake/plugins/linear/impl"
- "github.com/apache/incubator-devlake/plugins/linear/models"
- "github.com/apache/incubator-devlake/plugins/linear/tasks"
+ "github.com/apache/devlake/core/models/common"
+ "github.com/apache/devlake/core/models/domainlayer/ticket"
+ "github.com/apache/devlake/helpers/e2ehelper"
+ "github.com/apache/devlake/plugins/linear/impl"
+ "github.com/apache/devlake/plugins/linear/models"
+ "github.com/apache/devlake/plugins/linear/tasks"
)
// TestLinearBoardDataFlow verifies that a Linear team scope is converted into a
diff --git a/backend/plugins/linear/e2e/comment_test.go b/backend/plugins/linear/e2e/comment_test.go
index 67ee95a..5a593eb 100644
--- a/backend/plugins/linear/e2e/comment_test.go
+++ b/backend/plugins/linear/e2e/comment_test.go
@@ -20,12 +20,12 @@
import (
"testing"
- "github.com/apache/incubator-devlake/core/models/common"
- "github.com/apache/incubator-devlake/core/models/domainlayer/ticket"
- "github.com/apache/incubator-devlake/helpers/e2ehelper"
- "github.com/apache/incubator-devlake/plugins/linear/impl"
- "github.com/apache/incubator-devlake/plugins/linear/models"
- "github.com/apache/incubator-devlake/plugins/linear/tasks"
+ "github.com/apache/devlake/core/models/common"
+ "github.com/apache/devlake/core/models/domainlayer/ticket"
+ "github.com/apache/devlake/helpers/e2ehelper"
+ "github.com/apache/devlake/plugins/linear/impl"
+ "github.com/apache/devlake/plugins/linear/models"
+ "github.com/apache/devlake/plugins/linear/tasks"
)
func TestLinearCommentDataFlow(t *testing.T) {
diff --git a/backend/plugins/linear/e2e/cycle_test.go b/backend/plugins/linear/e2e/cycle_test.go
index 207e9c8..5630c3b 100644
--- a/backend/plugins/linear/e2e/cycle_test.go
+++ b/backend/plugins/linear/e2e/cycle_test.go
@@ -20,12 +20,12 @@
import (
"testing"
- "github.com/apache/incubator-devlake/core/models/common"
- "github.com/apache/incubator-devlake/core/models/domainlayer/ticket"
- "github.com/apache/incubator-devlake/helpers/e2ehelper"
- "github.com/apache/incubator-devlake/plugins/linear/impl"
- "github.com/apache/incubator-devlake/plugins/linear/models"
- "github.com/apache/incubator-devlake/plugins/linear/tasks"
+ "github.com/apache/devlake/core/models/common"
+ "github.com/apache/devlake/core/models/domainlayer/ticket"
+ "github.com/apache/devlake/helpers/e2ehelper"
+ "github.com/apache/devlake/plugins/linear/impl"
+ "github.com/apache/devlake/plugins/linear/models"
+ "github.com/apache/devlake/plugins/linear/tasks"
)
func TestLinearCycleDataFlow(t *testing.T) {
diff --git a/backend/plugins/linear/e2e/issue_history_leadtime_test.go b/backend/plugins/linear/e2e/issue_history_leadtime_test.go
index 7d4a4c9..794a7af 100644
--- a/backend/plugins/linear/e2e/issue_history_leadtime_test.go
+++ b/backend/plugins/linear/e2e/issue_history_leadtime_test.go
@@ -20,12 +20,12 @@
import (
"testing"
- "github.com/apache/incubator-devlake/core/models/common"
- "github.com/apache/incubator-devlake/core/models/domainlayer/ticket"
- "github.com/apache/incubator-devlake/helpers/e2ehelper"
- "github.com/apache/incubator-devlake/plugins/linear/impl"
- "github.com/apache/incubator-devlake/plugins/linear/models"
- "github.com/apache/incubator-devlake/plugins/linear/tasks"
+ "github.com/apache/devlake/core/models/common"
+ "github.com/apache/devlake/core/models/domainlayer/ticket"
+ "github.com/apache/devlake/helpers/e2ehelper"
+ "github.com/apache/devlake/plugins/linear/impl"
+ "github.com/apache/devlake/plugins/linear/models"
+ "github.com/apache/devlake/plugins/linear/tasks"
)
// TestLinearIssueHistoryLeadTime proves lead time is derived from the recorded
diff --git a/backend/plugins/linear/e2e/issue_history_test.go b/backend/plugins/linear/e2e/issue_history_test.go
index 31f5596..165f862 100644
--- a/backend/plugins/linear/e2e/issue_history_test.go
+++ b/backend/plugins/linear/e2e/issue_history_test.go
@@ -20,12 +20,12 @@
import (
"testing"
- "github.com/apache/incubator-devlake/core/models/common"
- "github.com/apache/incubator-devlake/core/models/domainlayer/ticket"
- "github.com/apache/incubator-devlake/helpers/e2ehelper"
- "github.com/apache/incubator-devlake/plugins/linear/impl"
- "github.com/apache/incubator-devlake/plugins/linear/models"
- "github.com/apache/incubator-devlake/plugins/linear/tasks"
+ "github.com/apache/devlake/core/models/common"
+ "github.com/apache/devlake/core/models/domainlayer/ticket"
+ "github.com/apache/devlake/helpers/e2ehelper"
+ "github.com/apache/devlake/plugins/linear/impl"
+ "github.com/apache/devlake/plugins/linear/models"
+ "github.com/apache/devlake/plugins/linear/tasks"
)
func TestLinearIssueHistoryDataFlow(t *testing.T) {
diff --git a/backend/plugins/linear/e2e/issue_incident_test.go b/backend/plugins/linear/e2e/issue_incident_test.go
index fb214fa..2d7528c 100644
--- a/backend/plugins/linear/e2e/issue_incident_test.go
+++ b/backend/plugins/linear/e2e/issue_incident_test.go
@@ -20,12 +20,12 @@
import (
"testing"
- "github.com/apache/incubator-devlake/core/models/common"
- "github.com/apache/incubator-devlake/core/models/domainlayer/ticket"
- "github.com/apache/incubator-devlake/helpers/e2ehelper"
- "github.com/apache/incubator-devlake/plugins/linear/impl"
- "github.com/apache/incubator-devlake/plugins/linear/models"
- "github.com/apache/incubator-devlake/plugins/linear/tasks"
+ "github.com/apache/devlake/core/models/common"
+ "github.com/apache/devlake/core/models/domainlayer/ticket"
+ "github.com/apache/devlake/helpers/e2ehelper"
+ "github.com/apache/devlake/plugins/linear/impl"
+ "github.com/apache/devlake/plugins/linear/models"
+ "github.com/apache/devlake/plugins/linear/tasks"
)
// TestLinearIssueIncidentMapping verifies label-based issue-type mapping. With a
diff --git a/backend/plugins/linear/e2e/issue_leadtime_test.go b/backend/plugins/linear/e2e/issue_leadtime_test.go
index 783820f..3f34f62 100644
--- a/backend/plugins/linear/e2e/issue_leadtime_test.go
+++ b/backend/plugins/linear/e2e/issue_leadtime_test.go
@@ -20,12 +20,12 @@
import (
"testing"
- "github.com/apache/incubator-devlake/core/models/common"
- "github.com/apache/incubator-devlake/core/models/domainlayer/ticket"
- "github.com/apache/incubator-devlake/helpers/e2ehelper"
- "github.com/apache/incubator-devlake/plugins/linear/impl"
- "github.com/apache/incubator-devlake/plugins/linear/models"
- "github.com/apache/incubator-devlake/plugins/linear/tasks"
+ "github.com/apache/devlake/core/models/common"
+ "github.com/apache/devlake/core/models/domainlayer/ticket"
+ "github.com/apache/devlake/helpers/e2ehelper"
+ "github.com/apache/devlake/plugins/linear/impl"
+ "github.com/apache/devlake/plugins/linear/models"
+ "github.com/apache/devlake/plugins/linear/tasks"
)
// TestLinearIssueNegativeLeadTime guards the lead-time fallback against
diff --git a/backend/plugins/linear/e2e/issue_longtitle_test.go b/backend/plugins/linear/e2e/issue_longtitle_test.go
index f85062c..37a0318 100644
--- a/backend/plugins/linear/e2e/issue_longtitle_test.go
+++ b/backend/plugins/linear/e2e/issue_longtitle_test.go
@@ -20,11 +20,11 @@
import (
"testing"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/helpers/e2ehelper"
- "github.com/apache/incubator-devlake/plugins/linear/impl"
- "github.com/apache/incubator-devlake/plugins/linear/models"
- "github.com/apache/incubator-devlake/plugins/linear/tasks"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/helpers/e2ehelper"
+ "github.com/apache/devlake/plugins/linear/impl"
+ "github.com/apache/devlake/plugins/linear/models"
+ "github.com/apache/devlake/plugins/linear/tasks"
"github.com/stretchr/testify/assert"
)
diff --git a/backend/plugins/linear/e2e/issue_test.go b/backend/plugins/linear/e2e/issue_test.go
index 5f98aad..8d7f07f 100644
--- a/backend/plugins/linear/e2e/issue_test.go
+++ b/backend/plugins/linear/e2e/issue_test.go
@@ -20,12 +20,12 @@
import (
"testing"
- "github.com/apache/incubator-devlake/core/models/common"
- "github.com/apache/incubator-devlake/core/models/domainlayer/ticket"
- "github.com/apache/incubator-devlake/helpers/e2ehelper"
- "github.com/apache/incubator-devlake/plugins/linear/impl"
- "github.com/apache/incubator-devlake/plugins/linear/models"
- "github.com/apache/incubator-devlake/plugins/linear/tasks"
+ "github.com/apache/devlake/core/models/common"
+ "github.com/apache/devlake/core/models/domainlayer/ticket"
+ "github.com/apache/devlake/helpers/e2ehelper"
+ "github.com/apache/devlake/plugins/linear/impl"
+ "github.com/apache/devlake/plugins/linear/models"
+ "github.com/apache/devlake/plugins/linear/tasks"
)
func TestLinearIssueDataFlow(t *testing.T) {
diff --git a/backend/plugins/linear/e2e/label_test.go b/backend/plugins/linear/e2e/label_test.go
index 4861f61..49336cc 100644
--- a/backend/plugins/linear/e2e/label_test.go
+++ b/backend/plugins/linear/e2e/label_test.go
@@ -20,12 +20,12 @@
import (
"testing"
- "github.com/apache/incubator-devlake/core/models/common"
- "github.com/apache/incubator-devlake/core/models/domainlayer/ticket"
- "github.com/apache/incubator-devlake/helpers/e2ehelper"
- "github.com/apache/incubator-devlake/plugins/linear/impl"
- "github.com/apache/incubator-devlake/plugins/linear/models"
- "github.com/apache/incubator-devlake/plugins/linear/tasks"
+ "github.com/apache/devlake/core/models/common"
+ "github.com/apache/devlake/core/models/domainlayer/ticket"
+ "github.com/apache/devlake/helpers/e2ehelper"
+ "github.com/apache/devlake/plugins/linear/impl"
+ "github.com/apache/devlake/plugins/linear/models"
+ "github.com/apache/devlake/plugins/linear/tasks"
)
func TestLinearLabelDataFlow(t *testing.T) {
diff --git a/backend/plugins/linear/e2e/sprint_issue_test.go b/backend/plugins/linear/e2e/sprint_issue_test.go
index 81e4508..f5c39c9 100644
--- a/backend/plugins/linear/e2e/sprint_issue_test.go
+++ b/backend/plugins/linear/e2e/sprint_issue_test.go
@@ -20,12 +20,12 @@
import (
"testing"
- "github.com/apache/incubator-devlake/core/models/common"
- "github.com/apache/incubator-devlake/core/models/domainlayer/ticket"
- "github.com/apache/incubator-devlake/helpers/e2ehelper"
- "github.com/apache/incubator-devlake/plugins/linear/impl"
- "github.com/apache/incubator-devlake/plugins/linear/models"
- "github.com/apache/incubator-devlake/plugins/linear/tasks"
+ "github.com/apache/devlake/core/models/common"
+ "github.com/apache/devlake/core/models/domainlayer/ticket"
+ "github.com/apache/devlake/helpers/e2ehelper"
+ "github.com/apache/devlake/plugins/linear/impl"
+ "github.com/apache/devlake/plugins/linear/models"
+ "github.com/apache/devlake/plugins/linear/tasks"
)
// TestLinearSprintIssueStaleCycle guards against stale sprint_issues rows when
diff --git a/backend/plugins/linear/e2e/workflow_state_test.go b/backend/plugins/linear/e2e/workflow_state_test.go
index 5af5c4a..db3f84b 100644
--- a/backend/plugins/linear/e2e/workflow_state_test.go
+++ b/backend/plugins/linear/e2e/workflow_state_test.go
@@ -20,11 +20,11 @@
import (
"testing"
- "github.com/apache/incubator-devlake/core/models/common"
- "github.com/apache/incubator-devlake/helpers/e2ehelper"
- "github.com/apache/incubator-devlake/plugins/linear/impl"
- "github.com/apache/incubator-devlake/plugins/linear/models"
- "github.com/apache/incubator-devlake/plugins/linear/tasks"
+ "github.com/apache/devlake/core/models/common"
+ "github.com/apache/devlake/helpers/e2ehelper"
+ "github.com/apache/devlake/plugins/linear/impl"
+ "github.com/apache/devlake/plugins/linear/models"
+ "github.com/apache/devlake/plugins/linear/tasks"
)
func TestLinearWorkflowStateDataFlow(t *testing.T) {
diff --git a/backend/plugins/linear/impl/impl.go b/backend/plugins/linear/impl/impl.go
index e1bc984..09db67d 100644
--- a/backend/plugins/linear/impl/impl.go
+++ b/backend/plugins/linear/impl/impl.go
@@ -21,16 +21,16 @@
"fmt"
"time"
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- coreModels "github.com/apache/incubator-devlake/core/models"
- "github.com/apache/incubator-devlake/core/plugin"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/linear/api"
- "github.com/apache/incubator-devlake/plugins/linear/models"
- "github.com/apache/incubator-devlake/plugins/linear/models/migrationscripts"
- "github.com/apache/incubator-devlake/plugins/linear/tasks"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ coreModels "github.com/apache/devlake/core/models"
+ "github.com/apache/devlake/core/plugin"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/linear/api"
+ "github.com/apache/devlake/plugins/linear/models"
+ "github.com/apache/devlake/plugins/linear/models/migrationscripts"
+ "github.com/apache/devlake/plugins/linear/tasks"
)
var _ interface {
@@ -61,7 +61,7 @@
}
func (p Linear) RootPkgPath() string {
- return "github.com/apache/incubator-devlake/plugins/linear"
+ return "github.com/apache/devlake/plugins/linear"
}
func (p Linear) Connection() dal.Tabler {
diff --git a/backend/plugins/linear/linear.go b/backend/plugins/linear/linear.go
index 2cb64a4..0b65728 100644
--- a/backend/plugins/linear/linear.go
+++ b/backend/plugins/linear/linear.go
@@ -18,8 +18,8 @@
package main // must be main for plugin entry point
import (
- "github.com/apache/incubator-devlake/core/runner"
- "github.com/apache/incubator-devlake/plugins/linear/impl"
+ "github.com/apache/devlake/core/runner"
+ "github.com/apache/devlake/plugins/linear/impl"
"github.com/spf13/cobra"
)
diff --git a/backend/plugins/linear/models/account.go b/backend/plugins/linear/models/account.go
index 7d1c937..b61f467 100644
--- a/backend/plugins/linear/models/account.go
+++ b/backend/plugins/linear/models/account.go
@@ -18,7 +18,7 @@
package models
import (
- "github.com/apache/incubator-devlake/core/models/common"
+ "github.com/apache/devlake/core/models/common"
)
// LinearAccount is a Linear user (tool layer), converted to crossdomain.Account.
diff --git a/backend/plugins/linear/models/connection.go b/backend/plugins/linear/models/connection.go
index 6f63e43..2bb6a4c 100644
--- a/backend/plugins/linear/models/connection.go
+++ b/backend/plugins/linear/models/connection.go
@@ -20,9 +20,9 @@
import (
"net/http"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/utils"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/utils"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
)
// LinearConn holds the essential information to connect to the Linear API.
diff --git a/backend/plugins/linear/models/cycle.go b/backend/plugins/linear/models/cycle.go
index 4f61370..c10d7d2 100644
--- a/backend/plugins/linear/models/cycle.go
+++ b/backend/plugins/linear/models/cycle.go
@@ -20,7 +20,7 @@
import (
"time"
- "github.com/apache/incubator-devlake/core/models/common"
+ "github.com/apache/devlake/core/models/common"
)
// LinearCycle is a Linear cycle (sprint-equivalent), converted to ticket.Sprint.
diff --git a/backend/plugins/linear/models/issue.go b/backend/plugins/linear/models/issue.go
index 991585d..b354793 100644
--- a/backend/plugins/linear/models/issue.go
+++ b/backend/plugins/linear/models/issue.go
@@ -20,7 +20,7 @@
import (
"time"
- "github.com/apache/incubator-devlake/core/models/common"
+ "github.com/apache/devlake/core/models/common"
)
// LinearIssue is the tool-layer representation of a Linear issue.
diff --git a/backend/plugins/linear/models/issue_comment.go b/backend/plugins/linear/models/issue_comment.go
index 8ba1850..4c1df1f 100644
--- a/backend/plugins/linear/models/issue_comment.go
+++ b/backend/plugins/linear/models/issue_comment.go
@@ -20,7 +20,7 @@
import (
"time"
- "github.com/apache/incubator-devlake/core/models/common"
+ "github.com/apache/devlake/core/models/common"
)
// LinearComment is the tool-layer representation of a comment on a Linear issue.
diff --git a/backend/plugins/linear/models/issue_history.go b/backend/plugins/linear/models/issue_history.go
index 027f6cb..652d1da 100644
--- a/backend/plugins/linear/models/issue_history.go
+++ b/backend/plugins/linear/models/issue_history.go
@@ -20,7 +20,7 @@
import (
"time"
- "github.com/apache/incubator-devlake/core/models/common"
+ "github.com/apache/devlake/core/models/common"
)
// LinearIssueHistory is a single entry in a Linear issue's history, used to
diff --git a/backend/plugins/linear/models/issue_label.go b/backend/plugins/linear/models/issue_label.go
index 76a4517..3076361 100644
--- a/backend/plugins/linear/models/issue_label.go
+++ b/backend/plugins/linear/models/issue_label.go
@@ -18,7 +18,7 @@
package models
import (
- "github.com/apache/incubator-devlake/core/models/common"
+ "github.com/apache/devlake/core/models/common"
)
// LinearIssueLabel joins a Linear issue to one of its labels. Labels are
diff --git a/backend/plugins/linear/models/migrationscripts/20260601_add_init_tables.go b/backend/plugins/linear/models/migrationscripts/20260601_add_init_tables.go
index 9bb5773..cad9685 100644
--- a/backend/plugins/linear/models/migrationscripts/20260601_add_init_tables.go
+++ b/backend/plugins/linear/models/migrationscripts/20260601_add_init_tables.go
@@ -18,10 +18,10 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/helpers/migrationhelper"
- "github.com/apache/incubator-devlake/plugins/linear/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/helpers/migrationhelper"
+ "github.com/apache/devlake/plugins/linear/models/migrationscripts/archived"
)
type addInitTables struct{}
diff --git a/backend/plugins/linear/models/migrationscripts/archived/models.go b/backend/plugins/linear/models/migrationscripts/archived/models.go
index a90c321..0fe89cc 100644
--- a/backend/plugins/linear/models/migrationscripts/archived/models.go
+++ b/backend/plugins/linear/models/migrationscripts/archived/models.go
@@ -23,7 +23,7 @@
import (
"time"
- "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/models/migrationscripts/archived"
)
type LinearConnection struct {
diff --git a/backend/plugins/linear/models/migrationscripts/register.go b/backend/plugins/linear/models/migrationscripts/register.go
index ec05474..7d91771 100644
--- a/backend/plugins/linear/models/migrationscripts/register.go
+++ b/backend/plugins/linear/models/migrationscripts/register.go
@@ -18,7 +18,7 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/plugin"
+ "github.com/apache/devlake/core/plugin"
)
// All return all the migration scripts
diff --git a/backend/plugins/linear/models/scope_config.go b/backend/plugins/linear/models/scope_config.go
index 309ce74..3d716d2 100644
--- a/backend/plugins/linear/models/scope_config.go
+++ b/backend/plugins/linear/models/scope_config.go
@@ -18,7 +18,7 @@
package models
import (
- "github.com/apache/incubator-devlake/core/models/common"
+ "github.com/apache/devlake/core/models/common"
)
// LinearScopeConfig keeps status mapping deterministic (Linear's
diff --git a/backend/plugins/linear/models/team.go b/backend/plugins/linear/models/team.go
index d622620..a237f0c 100644
--- a/backend/plugins/linear/models/team.go
+++ b/backend/plugins/linear/models/team.go
@@ -18,8 +18,8 @@
package models
import (
- "github.com/apache/incubator-devlake/core/models/common"
- "github.com/apache/incubator-devlake/core/plugin"
+ "github.com/apache/devlake/core/models/common"
+ "github.com/apache/devlake/core/plugin"
)
var _ plugin.ToolLayerScope = (*LinearTeam)(nil)
diff --git a/backend/plugins/linear/models/workflow_state.go b/backend/plugins/linear/models/workflow_state.go
index 9273f18..b9b0087 100644
--- a/backend/plugins/linear/models/workflow_state.go
+++ b/backend/plugins/linear/models/workflow_state.go
@@ -18,7 +18,7 @@
package models
import (
- "github.com/apache/incubator-devlake/core/models/common"
+ "github.com/apache/devlake/core/models/common"
)
// LinearWorkflowState is a Linear team's workflow state. Its Type
diff --git a/backend/plugins/linear/tasks/account_collector.go b/backend/plugins/linear/tasks/account_collector.go
index 88fa181..ce5e7d7 100644
--- a/backend/plugins/linear/tasks/account_collector.go
+++ b/backend/plugins/linear/tasks/account_collector.go
@@ -20,9 +20,9 @@
import (
"encoding/json"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
"github.com/merico-ai/graphql"
)
diff --git a/backend/plugins/linear/tasks/account_convertor.go b/backend/plugins/linear/tasks/account_convertor.go
index d3c8efd..7dd8fd6 100644
--- a/backend/plugins/linear/tasks/account_convertor.go
+++ b/backend/plugins/linear/tasks/account_convertor.go
@@ -20,14 +20,14 @@
import (
"reflect"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/domainlayer"
- "github.com/apache/incubator-devlake/core/models/domainlayer/crossdomain"
- "github.com/apache/incubator-devlake/core/models/domainlayer/didgen"
- "github.com/apache/incubator-devlake/core/plugin"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/linear/models"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/domainlayer"
+ "github.com/apache/devlake/core/models/domainlayer/crossdomain"
+ "github.com/apache/devlake/core/models/domainlayer/didgen"
+ "github.com/apache/devlake/core/plugin"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/linear/models"
)
var ConvertAccountsMeta = plugin.SubTaskMeta{
diff --git a/backend/plugins/linear/tasks/account_extractor.go b/backend/plugins/linear/tasks/account_extractor.go
index 19cc86a..614312a 100644
--- a/backend/plugins/linear/tasks/account_extractor.go
+++ b/backend/plugins/linear/tasks/account_extractor.go
@@ -20,10 +20,10 @@
import (
"encoding/json"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/linear/models"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/linear/models"
)
var ExtractAccountsMeta = plugin.SubTaskMeta{
diff --git a/backend/plugins/linear/tasks/api_client.go b/backend/plugins/linear/tasks/api_client.go
index 0ca6b8d..50fe2ce 100644
--- a/backend/plugins/linear/tasks/api_client.go
+++ b/backend/plugins/linear/tasks/api_client.go
@@ -23,11 +23,11 @@
"net/url"
"time"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/log"
- "github.com/apache/incubator-devlake/core/plugin"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/linear/models"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/log"
+ "github.com/apache/devlake/core/plugin"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/linear/models"
"github.com/merico-ai/graphql"
)
diff --git a/backend/plugins/linear/tasks/board_convertor.go b/backend/plugins/linear/tasks/board_convertor.go
index 9366efe..64fb224 100644
--- a/backend/plugins/linear/tasks/board_convertor.go
+++ b/backend/plugins/linear/tasks/board_convertor.go
@@ -20,14 +20,14 @@
import (
"reflect"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/domainlayer"
- "github.com/apache/incubator-devlake/core/models/domainlayer/didgen"
- "github.com/apache/incubator-devlake/core/models/domainlayer/ticket"
- "github.com/apache/incubator-devlake/core/plugin"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/linear/models"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/domainlayer"
+ "github.com/apache/devlake/core/models/domainlayer/didgen"
+ "github.com/apache/devlake/core/models/domainlayer/ticket"
+ "github.com/apache/devlake/core/plugin"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/linear/models"
)
// RAW_TEAMS_TABLE labels the raw-data lineage for the team-scope-derived board.
diff --git a/backend/plugins/linear/tasks/comment_collector.go b/backend/plugins/linear/tasks/comment_collector.go
index 14e801f..137067c 100644
--- a/backend/plugins/linear/tasks/comment_collector.go
+++ b/backend/plugins/linear/tasks/comment_collector.go
@@ -22,9 +22,9 @@
"reflect"
"time"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
"github.com/merico-ai/graphql"
)
diff --git a/backend/plugins/linear/tasks/comment_convertor.go b/backend/plugins/linear/tasks/comment_convertor.go
index 8c4729f..47977af 100644
--- a/backend/plugins/linear/tasks/comment_convertor.go
+++ b/backend/plugins/linear/tasks/comment_convertor.go
@@ -20,14 +20,14 @@
import (
"reflect"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/domainlayer"
- "github.com/apache/incubator-devlake/core/models/domainlayer/didgen"
- "github.com/apache/incubator-devlake/core/models/domainlayer/ticket"
- "github.com/apache/incubator-devlake/core/plugin"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/linear/models"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/domainlayer"
+ "github.com/apache/devlake/core/models/domainlayer/didgen"
+ "github.com/apache/devlake/core/models/domainlayer/ticket"
+ "github.com/apache/devlake/core/plugin"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/linear/models"
)
var ConvertCommentsMeta = plugin.SubTaskMeta{
diff --git a/backend/plugins/linear/tasks/comment_extractor.go b/backend/plugins/linear/tasks/comment_extractor.go
index 15b28a3..b3f27e2 100644
--- a/backend/plugins/linear/tasks/comment_extractor.go
+++ b/backend/plugins/linear/tasks/comment_extractor.go
@@ -20,10 +20,10 @@
import (
"encoding/json"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/linear/models"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/linear/models"
)
var ExtractCommentsMeta = plugin.SubTaskMeta{
diff --git a/backend/plugins/linear/tasks/cycle_collector.go b/backend/plugins/linear/tasks/cycle_collector.go
index 8857265..fabacc8 100644
--- a/backend/plugins/linear/tasks/cycle_collector.go
+++ b/backend/plugins/linear/tasks/cycle_collector.go
@@ -21,9 +21,9 @@
"encoding/json"
"time"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
"github.com/merico-ai/graphql"
)
diff --git a/backend/plugins/linear/tasks/cycle_convertor.go b/backend/plugins/linear/tasks/cycle_convertor.go
index ae4a0dd..9209554 100644
--- a/backend/plugins/linear/tasks/cycle_convertor.go
+++ b/backend/plugins/linear/tasks/cycle_convertor.go
@@ -21,14 +21,14 @@
"fmt"
"reflect"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/domainlayer"
- "github.com/apache/incubator-devlake/core/models/domainlayer/didgen"
- "github.com/apache/incubator-devlake/core/models/domainlayer/ticket"
- "github.com/apache/incubator-devlake/core/plugin"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/linear/models"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/domainlayer"
+ "github.com/apache/devlake/core/models/domainlayer/didgen"
+ "github.com/apache/devlake/core/models/domainlayer/ticket"
+ "github.com/apache/devlake/core/plugin"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/linear/models"
)
var ConvertCyclesMeta = plugin.SubTaskMeta{
diff --git a/backend/plugins/linear/tasks/cycle_extractor.go b/backend/plugins/linear/tasks/cycle_extractor.go
index 43a4233..096d78e 100644
--- a/backend/plugins/linear/tasks/cycle_extractor.go
+++ b/backend/plugins/linear/tasks/cycle_extractor.go
@@ -20,10 +20,10 @@
import (
"encoding/json"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/linear/models"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/linear/models"
)
var ExtractCyclesMeta = plugin.SubTaskMeta{
diff --git a/backend/plugins/linear/tasks/issue_collector.go b/backend/plugins/linear/tasks/issue_collector.go
index 9f5a0ae..221cc2c 100644
--- a/backend/plugins/linear/tasks/issue_collector.go
+++ b/backend/plugins/linear/tasks/issue_collector.go
@@ -21,10 +21,10 @@
"encoding/json"
"time"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/core/utils"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/core/utils"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
"github.com/merico-ai/graphql"
)
diff --git a/backend/plugins/linear/tasks/issue_convertor.go b/backend/plugins/linear/tasks/issue_convertor.go
index b124e59..2462616 100644
--- a/backend/plugins/linear/tasks/issue_convertor.go
+++ b/backend/plugins/linear/tasks/issue_convertor.go
@@ -21,14 +21,14 @@
"reflect"
"regexp"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/domainlayer"
- "github.com/apache/incubator-devlake/core/models/domainlayer/didgen"
- "github.com/apache/incubator-devlake/core/models/domainlayer/ticket"
- "github.com/apache/incubator-devlake/core/plugin"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/linear/models"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/domainlayer"
+ "github.com/apache/devlake/core/models/domainlayer/didgen"
+ "github.com/apache/devlake/core/models/domainlayer/ticket"
+ "github.com/apache/devlake/core/plugin"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/linear/models"
)
var ConvertIssuesMeta = plugin.SubTaskMeta{
diff --git a/backend/plugins/linear/tasks/issue_extractor.go b/backend/plugins/linear/tasks/issue_extractor.go
index e423076..97fe231 100644
--- a/backend/plugins/linear/tasks/issue_extractor.go
+++ b/backend/plugins/linear/tasks/issue_extractor.go
@@ -20,10 +20,10 @@
import (
"encoding/json"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/linear/models"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/linear/models"
)
var ExtractIssuesMeta = plugin.SubTaskMeta{
diff --git a/backend/plugins/linear/tasks/issue_history_collector.go b/backend/plugins/linear/tasks/issue_history_collector.go
index 11de7c2..847a268 100644
--- a/backend/plugins/linear/tasks/issue_history_collector.go
+++ b/backend/plugins/linear/tasks/issue_history_collector.go
@@ -22,9 +22,9 @@
"reflect"
"time"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
"github.com/merico-ai/graphql"
)
diff --git a/backend/plugins/linear/tasks/issue_history_convertor.go b/backend/plugins/linear/tasks/issue_history_convertor.go
index f1fa99d..6105125 100644
--- a/backend/plugins/linear/tasks/issue_history_convertor.go
+++ b/backend/plugins/linear/tasks/issue_history_convertor.go
@@ -21,14 +21,14 @@
"reflect"
"time"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/domainlayer"
- "github.com/apache/incubator-devlake/core/models/domainlayer/didgen"
- "github.com/apache/incubator-devlake/core/models/domainlayer/ticket"
- "github.com/apache/incubator-devlake/core/plugin"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/linear/models"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/domainlayer"
+ "github.com/apache/devlake/core/models/domainlayer/didgen"
+ "github.com/apache/devlake/core/models/domainlayer/ticket"
+ "github.com/apache/devlake/core/plugin"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/linear/models"
)
var ConvertIssueHistoryMeta = plugin.SubTaskMeta{
diff --git a/backend/plugins/linear/tasks/issue_history_extractor.go b/backend/plugins/linear/tasks/issue_history_extractor.go
index 006b92f..041861c 100644
--- a/backend/plugins/linear/tasks/issue_history_extractor.go
+++ b/backend/plugins/linear/tasks/issue_history_extractor.go
@@ -20,10 +20,10 @@
import (
"encoding/json"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/linear/models"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/linear/models"
)
var ExtractIssueHistoryMeta = plugin.SubTaskMeta{
diff --git a/backend/plugins/linear/tasks/label_convertor.go b/backend/plugins/linear/tasks/label_convertor.go
index e94826d..8967661 100644
--- a/backend/plugins/linear/tasks/label_convertor.go
+++ b/backend/plugins/linear/tasks/label_convertor.go
@@ -20,13 +20,13 @@
import (
"reflect"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/domainlayer/didgen"
- "github.com/apache/incubator-devlake/core/models/domainlayer/ticket"
- "github.com/apache/incubator-devlake/core/plugin"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/linear/models"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/domainlayer/didgen"
+ "github.com/apache/devlake/core/models/domainlayer/ticket"
+ "github.com/apache/devlake/core/plugin"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/linear/models"
)
var ConvertIssueLabelsMeta = plugin.SubTaskMeta{
diff --git a/backend/plugins/linear/tasks/shared.go b/backend/plugins/linear/tasks/shared.go
index 0a8cfe9..cc8ee22 100644
--- a/backend/plugins/linear/tasks/shared.go
+++ b/backend/plugins/linear/tasks/shared.go
@@ -20,9 +20,9 @@
import (
"time"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/models/domainlayer/ticket"
- "github.com/apache/incubator-devlake/plugins/linear/models"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/models/domainlayer/ticket"
+ "github.com/apache/devlake/plugins/linear/models"
)
// issuesToCollectChildrenClauses builds the cursor clauses that drive per-issue
diff --git a/backend/plugins/linear/tasks/shared_test.go b/backend/plugins/linear/tasks/shared_test.go
index eaf737c..73d279c 100644
--- a/backend/plugins/linear/tasks/shared_test.go
+++ b/backend/plugins/linear/tasks/shared_test.go
@@ -20,7 +20,7 @@
import (
"testing"
- "github.com/apache/incubator-devlake/core/models/domainlayer/ticket"
+ "github.com/apache/devlake/core/models/domainlayer/ticket"
"github.com/stretchr/testify/assert"
)
diff --git a/backend/plugins/linear/tasks/sprint_issue_convertor.go b/backend/plugins/linear/tasks/sprint_issue_convertor.go
index 7ebe467..b96ac69 100644
--- a/backend/plugins/linear/tasks/sprint_issue_convertor.go
+++ b/backend/plugins/linear/tasks/sprint_issue_convertor.go
@@ -20,13 +20,13 @@
import (
"reflect"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/domainlayer/didgen"
- "github.com/apache/incubator-devlake/core/models/domainlayer/ticket"
- "github.com/apache/incubator-devlake/core/plugin"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/linear/models"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/domainlayer/didgen"
+ "github.com/apache/devlake/core/models/domainlayer/ticket"
+ "github.com/apache/devlake/core/plugin"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/linear/models"
)
var ConvertSprintIssuesMeta = plugin.SubTaskMeta{
diff --git a/backend/plugins/linear/tasks/task_data.go b/backend/plugins/linear/tasks/task_data.go
index 19f991d..3cf2c43 100644
--- a/backend/plugins/linear/tasks/task_data.go
+++ b/backend/plugins/linear/tasks/task_data.go
@@ -20,8 +20,8 @@
import (
"time"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/linear/models"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/linear/models"
)
// LinearOptions are the per-scope options passed to a pipeline task.
diff --git a/backend/plugins/linear/tasks/workflow_state_collector.go b/backend/plugins/linear/tasks/workflow_state_collector.go
index 94c22d1..bbe2c1c 100644
--- a/backend/plugins/linear/tasks/workflow_state_collector.go
+++ b/backend/plugins/linear/tasks/workflow_state_collector.go
@@ -20,9 +20,9 @@
import (
"encoding/json"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
"github.com/merico-ai/graphql"
)
diff --git a/backend/plugins/linear/tasks/workflow_state_extractor.go b/backend/plugins/linear/tasks/workflow_state_extractor.go
index 75a2099..1c12c53 100644
--- a/backend/plugins/linear/tasks/workflow_state_extractor.go
+++ b/backend/plugins/linear/tasks/workflow_state_extractor.go
@@ -20,10 +20,10 @@
import (
"encoding/json"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/linear/models"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/linear/models"
)
var ExtractWorkflowStatesMeta = plugin.SubTaskMeta{
diff --git a/backend/plugins/linker/e2e/link_pr_and_issue_test.go b/backend/plugins/linker/e2e/link_pr_and_issue_test.go
index 15a0e47..97e70f8 100644
--- a/backend/plugins/linker/e2e/link_pr_and_issue_test.go
+++ b/backend/plugins/linker/e2e/link_pr_and_issue_test.go
@@ -21,12 +21,12 @@
"regexp"
"testing"
- "github.com/apache/incubator-devlake/core/models/domainlayer/code"
- "github.com/apache/incubator-devlake/core/models/domainlayer/crossdomain"
- "github.com/apache/incubator-devlake/core/models/domainlayer/ticket"
- "github.com/apache/incubator-devlake/helpers/e2ehelper"
- "github.com/apache/incubator-devlake/plugins/linker/impl"
- "github.com/apache/incubator-devlake/plugins/linker/tasks"
+ "github.com/apache/devlake/core/models/domainlayer/code"
+ "github.com/apache/devlake/core/models/domainlayer/crossdomain"
+ "github.com/apache/devlake/core/models/domainlayer/ticket"
+ "github.com/apache/devlake/helpers/e2ehelper"
+ "github.com/apache/devlake/plugins/linker/impl"
+ "github.com/apache/devlake/plugins/linker/tasks"
)
func TestLinkPrToIssueWithSharedRepo(t *testing.T) {
diff --git a/backend/plugins/linker/e2e/snapshot_tables/board_issues.csv b/backend/plugins/linker/e2e/snapshot_tables/board_issues.csv
index 0955b9c..d852e8b 100644
--- a/backend/plugins/linker/e2e/snapshot_tables/board_issues.csv
+++ b/backend/plugins/linker/e2e/snapshot_tables/board_issues.csv
@@ -1,4 +1,4 @@
"board_id","issue_id","created_at","updated_at","_raw_data_params","_raw_data_table","_raw_data_id","_raw_data_remark"
-"github:GithubRepo:1:384111310","github:GithubIssue:1:1237324696","2024-05-14 10:42:37.541","2024-05-28 00:25:41.436","{""ConnectionId"":1,""Name"":""apache/incubator-devlake""}","_raw_github_graphql_issues",69,""
-"github:GithubRepo:1:384111310","github:GithubIssue:1:1237324697","2024-05-14 10:42:37.541","2024-05-28 00:25:41.436","{""ConnectionId"":1,""Name"":""apache/incubator-devlake""}","_raw_github_graphql_issues",69,""
-"github:GithubRepo:1:384111310","github:GithubIssue:1:1237324698","2024-05-14 10:42:37.541","2024-05-28 00:25:41.436","{""ConnectionId"":1,""Name"":""apache/incubator-devlake""}","_raw_github_graphql_issues",69,""
+"github:GithubRepo:1:384111310","github:GithubIssue:1:1237324696","2024-05-14 10:42:37.541","2024-05-28 00:25:41.436","{""ConnectionId"":1,""Name"":""apache/devlake""}","_raw_github_graphql_issues",69,""
+"github:GithubRepo:1:384111310","github:GithubIssue:1:1237324697","2024-05-14 10:42:37.541","2024-05-28 00:25:41.436","{""ConnectionId"":1,""Name"":""apache/devlake""}","_raw_github_graphql_issues",69,""
+"github:GithubRepo:1:384111310","github:GithubIssue:1:1237324698","2024-05-14 10:42:37.541","2024-05-28 00:25:41.436","{""ConnectionId"":1,""Name"":""apache/devlake""}","_raw_github_graphql_issues",69,""
diff --git a/backend/plugins/linker/e2e/snapshot_tables/cross_project_board_issues.csv b/backend/plugins/linker/e2e/snapshot_tables/cross_project_board_issues.csv
index 8b61a7a..5f9a051 100644
--- a/backend/plugins/linker/e2e/snapshot_tables/cross_project_board_issues.csv
+++ b/backend/plugins/linker/e2e/snapshot_tables/cross_project_board_issues.csv
@@ -1,4 +1,4 @@
"board_id","issue_id","created_at","updated_at","_raw_data_params","_raw_data_table","_raw_data_id","_raw_data_remark"
-"github:GithubRepo:1:384111310","github:GithubIssue:1:1237324696","2024-05-14 10:42:37.541","2024-05-28 00:25:41.436","{""ConnectionId"":1,""Name"":""apache/incubator-devlake""}","_raw_github_graphql_issues",69,""
-"github:GithubRepo:1:384111310","github:GithubIssue:1:1237324697","2024-05-14 10:42:37.541","2024-05-28 00:25:41.436","{""ConnectionId"":1,""Name"":""apache/incubator-devlake""}","_raw_github_graphql_issues",69,""
+"github:GithubRepo:1:384111310","github:GithubIssue:1:1237324696","2024-05-14 10:42:37.541","2024-05-28 00:25:41.436","{""ConnectionId"":1,""Name"":""apache/devlake""}","_raw_github_graphql_issues",69,""
+"github:GithubRepo:1:384111310","github:GithubIssue:1:1237324697","2024-05-14 10:42:37.541","2024-05-28 00:25:41.436","{""ConnectionId"":1,""Name"":""apache/devlake""}","_raw_github_graphql_issues",69,""
"github:GithubRepo:2:999999999","github:GithubIssue:2:2001","2024-05-14 10:42:37.541","2024-05-28 00:25:41.436","{""ConnectionId"":2,""Name"":""other/repo""}","_raw_github_graphql_issues",70,""
diff --git a/backend/plugins/linker/e2e/snapshot_tables/cross_project_issues.csv b/backend/plugins/linker/e2e/snapshot_tables/cross_project_issues.csv
index 2805a0d..7187548 100644
--- a/backend/plugins/linker/e2e/snapshot_tables/cross_project_issues.csv
+++ b/backend/plugins/linker/e2e/snapshot_tables/cross_project_issues.csv
@@ -1,4 +1,4 @@
"id","created_at","updated_at","_raw_data_params","_raw_data_table","_raw_data_id","_raw_data_remark","url","icon_url","issue_key","title","description","epic_key","type","original_type","status","original_status","resolution_date","created_date","updated_date","lead_time_minutes","parent_issue_id","priority","story_point","original_estimate_minutes","time_spent_minutes","time_remaining_minutes","creator_id","creator_name","assignee_id","assignee_name","severity","component","original_project","urgency"
-"github:GithubIssue:1:1237324696","2024-05-14 10:42:37.529","2024-05-15 12:07:36.450","{""ConnectionId"":1,""Name"":""apache/incubator-devlake""}","_raw_github_graphql_issues",59,"","https://github.com/apache/incubator-devlake/issues/1884","","1884","Issue 1884","desc","","","type/feature-request","TODO","OPEN","2032-05-16 15:23:21.000","2022-05-16 15:23:21.000","2024-05-11 00:17:21.000",10,"","",11,1,12,11,"github:GithubAccount:1:14050754","Startrekzky","","","","","",""
-"github:GithubIssue:1:1237324697","2024-05-14 10:42:37.529","2024-05-15 12:07:36.450","{""ConnectionId"":1,""Name"":""apache/incubator-devlake""}","_raw_github_graphql_issues",59,"","https://github.com/apache/incubator-devlake/issues/1885","","1885","Issue 1885","desc","","","type/feature-request","TODO","OPEN","2032-05-16 15:23:21.000","2022-05-16 15:23:21.000","2024-05-11 00:17:21.000",10,"","",11,1,12,11,"github:GithubAccount:1:14050754","Startrekzky","","","","","",""
+"github:GithubIssue:1:1237324696","2024-05-14 10:42:37.529","2024-05-15 12:07:36.450","{""ConnectionId"":1,""Name"":""apache/devlake""}","_raw_github_graphql_issues",59,"","https://github.com/apache/devlake/issues/1884","","1884","Issue 1884","desc","","","type/feature-request","TODO","OPEN","2032-05-16 15:23:21.000","2022-05-16 15:23:21.000","2024-05-11 00:17:21.000",10,"","",11,1,12,11,"github:GithubAccount:1:14050754","Startrekzky","","","","","",""
+"github:GithubIssue:1:1237324697","2024-05-14 10:42:37.529","2024-05-15 12:07:36.450","{""ConnectionId"":1,""Name"":""apache/devlake""}","_raw_github_graphql_issues",59,"","https://github.com/apache/devlake/issues/1885","","1885","Issue 1885","desc","","","type/feature-request","TODO","OPEN","2032-05-16 15:23:21.000","2022-05-16 15:23:21.000","2024-05-11 00:17:21.000",10,"","",11,1,12,11,"github:GithubAccount:1:14050754","Startrekzky","","","","","",""
"github:GithubIssue:2:2001","2024-05-14 10:42:37.529","2024-05-15 12:07:36.450","{""ConnectionId"":2,""Name"":""other/repo""}","_raw_github_graphql_issues",60,"","https://github.com/other/repo/issues/2001","","2001","Issue 2001","desc","","","type/bug","TODO","OPEN","2032-05-16 15:23:21.000","2022-05-16 15:23:21.000","2024-05-11 00:17:21.000",10,"","",11,1,12,11,"github:GithubAccount:1:14050754","Startrekzky","","","","","",""
diff --git a/backend/plugins/linker/e2e/snapshot_tables/cross_project_pull_request_issues_after.csv b/backend/plugins/linker/e2e/snapshot_tables/cross_project_pull_request_issues_after.csv
index 87ff197..48d266a 100644
--- a/backend/plugins/linker/e2e/snapshot_tables/cross_project_pull_request_issues_after.csv
+++ b/backend/plugins/linker/e2e/snapshot_tables/cross_project_pull_request_issues_after.csv
@@ -2,4 +2,4 @@
github:GithubPullRequest:1:1819250573,github:GithubIssue:1:1237324696,7317,1884,,,0,"pull_requests,"
github:GithubPullRequest:1:1819250573,github:GithubIssue:1:1237324697,7317,1885,,,0,"pull_requests,"
github:GithubPullRequest:1:1819250574,github:GithubIssue:2:2001,7318,2001,,,0,"pull_requests,"
-github:GithubPullRequest:1:1819250574,github:GithubIssue:1:1237324696,7318,1884,"{""ConnectionId"":1,""Name"":""apache/incubator-devlake""}",_raw_github_api_pull_requests,191,""
+github:GithubPullRequest:1:1819250574,github:GithubIssue:1:1237324696,7318,1884,"{""ConnectionId"":1,""Name"":""apache/devlake""}",_raw_github_api_pull_requests,191,""
diff --git a/backend/plugins/linker/e2e/snapshot_tables/cross_project_pull_request_issues_before.csv b/backend/plugins/linker/e2e/snapshot_tables/cross_project_pull_request_issues_before.csv
index 217266f..6e5c626 100644
--- a/backend/plugins/linker/e2e/snapshot_tables/cross_project_pull_request_issues_before.csv
+++ b/backend/plugins/linker/e2e/snapshot_tables/cross_project_pull_request_issues_before.csv
@@ -1,4 +1,4 @@
pull_request_id,issue_id,pull_request_key,issue_key,_raw_data_params,_raw_data_table,_raw_data_id,_raw_data_remark
github:GithubPullRequest:1:1819250574,github:GithubIssue:1:1237324697,7318,1885,,,0,"pull_requests,"
github:GithubPullRequest:1:1819250574,github:GithubIssue:2:2001,7318,2001,,,0,"pull_requests,"
-github:GithubPullRequest:1:1819250574,github:GithubIssue:1:1237324696,7318,1884,"{""ConnectionId"":1,""Name"":""apache/incubator-devlake""}",_raw_github_api_pull_requests,191,""
+github:GithubPullRequest:1:1819250574,github:GithubIssue:1:1237324696,7318,1884,"{""ConnectionId"":1,""Name"":""apache/devlake""}",_raw_github_api_pull_requests,191,""
diff --git a/backend/plugins/linker/e2e/snapshot_tables/cross_project_pull_requests.csv b/backend/plugins/linker/e2e/snapshot_tables/cross_project_pull_requests.csv
index 8c6907f..32986ce 100644
--- a/backend/plugins/linker/e2e/snapshot_tables/cross_project_pull_requests.csv
+++ b/backend/plugins/linker/e2e/snapshot_tables/cross_project_pull_requests.csv
@@ -1,3 +1,3 @@
"id","created_at","updated_at","_raw_data_params","_raw_data_table","_raw_data_id","_raw_data_remark","base_repo_id","base_ref","base_commit_sha","head_repo_id","head_ref","head_commit_sha","merge_commit_sha","status","original_status","type","component","title","description","url","author_name","author_id","parent_pr_id","pull_request_key","created_date","merged_date","closed_date"
-"github:GithubPullRequest:1:1819250573","2024-05-15 12:07:36.778","2024-05-15 12:07:36.778","{""ConnectionId"":1,""Name"":""apache/incubator-devlake""}","_raw_github_api_pull_requests",191,"","github:GithubRepo:1:384111310","main","64c52748f3529784cb6c8a372691aa0f638fa73d","github:GithubRepo:1:384111310","fix#7275","14fb6488f2208e6a65374a86efce12dd460987e0","91dbce48759da14a4a030124c3ef751f1c5d8389","CLOSED","closed","","","fix: can't GET projects which have / in their name #1884 #1885","desc","https://github.com/apache/incubator-devlake/pull/7317","abeizn","github:GithubAccount:1:101256042","",7317,"2024-04-12 05:31:43.000","2024-04-13 05:31:43.000","2024-04-12 06:44:27.000"
-"github:GithubPullRequest:1:1819250574","2024-05-15 12:07:36.778","2024-05-15 12:07:36.778","{""ConnectionId"":1,""Name"":""apache/incubator-devlake""}","_raw_github_api_pull_requests",192,"","github:GithubRepo:1:384111310","main","64c52748f3529784cb6c8a372691aa0f638fa73d","github:GithubRepo:1:384111310","fix#2001","14fb6488f2208e6a65374a86efce12dd460987e0","","MERGED","merged","","","fix: something related to #2001","desc","https://github.com/apache/incubator-devlake/pull/7318","abeizn","github:GithubAccount:1:101256042","",7318,"2024-04-12 05:31:43.000","2024-04-13 05:31:43.000","2024-04-12 06:44:27.000"
+"github:GithubPullRequest:1:1819250573","2024-05-15 12:07:36.778","2024-05-15 12:07:36.778","{""ConnectionId"":1,""Name"":""apache/devlake""}","_raw_github_api_pull_requests",191,"","github:GithubRepo:1:384111310","main","64c52748f3529784cb6c8a372691aa0f638fa73d","github:GithubRepo:1:384111310","fix#7275","14fb6488f2208e6a65374a86efce12dd460987e0","91dbce48759da14a4a030124c3ef751f1c5d8389","CLOSED","closed","","","fix: can't GET projects which have / in their name #1884 #1885","desc","https://github.com/apache/devlake/pull/7317","abeizn","github:GithubAccount:1:101256042","",7317,"2024-04-12 05:31:43.000","2024-04-13 05:31:43.000","2024-04-12 06:44:27.000"
+"github:GithubPullRequest:1:1819250574","2024-05-15 12:07:36.778","2024-05-15 12:07:36.778","{""ConnectionId"":1,""Name"":""apache/devlake""}","_raw_github_api_pull_requests",192,"","github:GithubRepo:1:384111310","main","64c52748f3529784cb6c8a372691aa0f638fa73d","github:GithubRepo:1:384111310","fix#2001","14fb6488f2208e6a65374a86efce12dd460987e0","","MERGED","merged","","","fix: something related to #2001","desc","https://github.com/apache/devlake/pull/7318","abeizn","github:GithubAccount:1:101256042","",7318,"2024-04-12 05:31:43.000","2024-04-13 05:31:43.000","2024-04-12 06:44:27.000"
diff --git a/backend/plugins/linker/e2e/snapshot_tables/issues.csv b/backend/plugins/linker/e2e/snapshot_tables/issues.csv
index 5dde760..a6e8814 100644
--- a/backend/plugins/linker/e2e/snapshot_tables/issues.csv
+++ b/backend/plugins/linker/e2e/snapshot_tables/issues.csv
@@ -1,5 +1,5 @@
"id","created_at","updated_at","_raw_data_params","_raw_data_table","_raw_data_id","_raw_data_remark","url","icon_url","issue_key","title","description","epic_key","type","original_type","status","original_status","resolution_date","created_date","updated_date","lead_time_minutes","parent_issue_id","priority","story_point","original_estimate_minutes","time_spent_minutes","time_remaining_minutes","creator_id","creator_name","assignee_id","assignee_name","severity","component","original_project","urgency"
-"github:GithubIssue:1:1237324696","2024-05-14 10:42:37.529","2024-05-15 12:07:36.450","{""ConnectionId"":1,""Name"":""apache/incubator-devlake""}","_raw_github_graphql_issues",59,"","https://github.com/apache/incubator-devlake/issues/1884","","1884","Add a plugin for Ones","desc","","","type/feature-request,Stale,add-a-plugin","TODO","OPEN","2032-05-16 15:23:21.000","2022-05-16 15:23:21.000","2024-05-11 00:17:21.000",10,"","",11,1,12,11,"github:GithubAccount:1:14050754","Startrekzky","","","","","",""
-"github:GithubIssue:1:1237324697","2024-05-14 10:42:37.529","2024-05-15 12:07:36.450","{""ConnectionId"":1,""Name"":""apache/incubator-devlake""}","_raw_github_graphql_issues",59,"","https://github.com/apache/incubator-devlake/issues/1885","","1885","Add a plugin for Ones","desc","","","type/feature-request,Stale,add-a-plugin","TODO","OPEN","2032-05-16 15:23:21.000","2022-05-16 15:23:21.000","2024-05-11 00:17:21.000",10,"","",11,1,12,11,"github:GithubAccount:1:14050754","Startrekzky","","","","","",""
-"github:GithubIssue:1:1237324698","2024-05-14 10:42:37.529","2024-05-15 12:07:36.450","{""ConnectionId"":1,""Name"":""apache/incubator-devlake""}","_raw_github_graphql_issues",59,"","https://github.com/apache/incubator-devlake/issues/1886","","1886","Add a plugin for Ones","desc","","","type/feature-request,Stale,add-a-plugin","TODO","OPEN","2032-05-16 15:23:21.000","2022-05-16 15:23:21.000","2024-05-11 00:17:21.000",10,"","",11,1,12,11,"github:GithubAccount:1:14050754","Startrekzky","","","","","",""
-"github:GithubIssue:2:1237324696","2024-05-14 10:42:37.529","2024-05-15 12:07:36.450","{""ConnectionId"":2,""Name"":""apache/incubator-devlake""}","_raw_github_graphql_issues",59,"","https://github.com/apache/incubator-devlake/issues/1884","","1884","Add a plugin for Ones","desc","","","type/feature-request,Stale,add-a-plugin","TODO","OPEN","2032-05-16 15:23:21.000","2022-05-16 15:23:21.000","2024-05-11 00:17:21.000",10,"","",11,1,12,11,"github:GithubAccount:1:14050754","Startrekzky","","","","","",""
+"github:GithubIssue:1:1237324696","2024-05-14 10:42:37.529","2024-05-15 12:07:36.450","{""ConnectionId"":1,""Name"":""apache/devlake""}","_raw_github_graphql_issues",59,"","https://github.com/apache/devlake/issues/1884","","1884","Add a plugin for Ones","desc","","","type/feature-request,Stale,add-a-plugin","TODO","OPEN","2032-05-16 15:23:21.000","2022-05-16 15:23:21.000","2024-05-11 00:17:21.000",10,"","",11,1,12,11,"github:GithubAccount:1:14050754","Startrekzky","","","","","",""
+"github:GithubIssue:1:1237324697","2024-05-14 10:42:37.529","2024-05-15 12:07:36.450","{""ConnectionId"":1,""Name"":""apache/devlake""}","_raw_github_graphql_issues",59,"","https://github.com/apache/devlake/issues/1885","","1885","Add a plugin for Ones","desc","","","type/feature-request,Stale,add-a-plugin","TODO","OPEN","2032-05-16 15:23:21.000","2022-05-16 15:23:21.000","2024-05-11 00:17:21.000",10,"","",11,1,12,11,"github:GithubAccount:1:14050754","Startrekzky","","","","","",""
+"github:GithubIssue:1:1237324698","2024-05-14 10:42:37.529","2024-05-15 12:07:36.450","{""ConnectionId"":1,""Name"":""apache/devlake""}","_raw_github_graphql_issues",59,"","https://github.com/apache/devlake/issues/1886","","1886","Add a plugin for Ones","desc","","","type/feature-request,Stale,add-a-plugin","TODO","OPEN","2032-05-16 15:23:21.000","2022-05-16 15:23:21.000","2024-05-11 00:17:21.000",10,"","",11,1,12,11,"github:GithubAccount:1:14050754","Startrekzky","","","","","",""
+"github:GithubIssue:2:1237324696","2024-05-14 10:42:37.529","2024-05-15 12:07:36.450","{""ConnectionId"":2,""Name"":""apache/devlake""}","_raw_github_graphql_issues",59,"","https://github.com/apache/devlake/issues/1884","","1884","Add a plugin for Ones","desc","","","type/feature-request,Stale,add-a-plugin","TODO","OPEN","2032-05-16 15:23:21.000","2022-05-16 15:23:21.000","2024-05-11 00:17:21.000",10,"","",11,1,12,11,"github:GithubAccount:1:14050754","Startrekzky","","","","","",""
diff --git a/backend/plugins/linker/e2e/snapshot_tables/pull_requests.csv b/backend/plugins/linker/e2e/snapshot_tables/pull_requests.csv
index 3084711..f831589 100644
--- a/backend/plugins/linker/e2e/snapshot_tables/pull_requests.csv
+++ b/backend/plugins/linker/e2e/snapshot_tables/pull_requests.csv
@@ -1,3 +1,3 @@
"id","created_at","updated_at","_raw_data_params","_raw_data_table","_raw_data_id","_raw_data_remark","base_repo_id","base_ref","base_commit_sha","head_repo_id","head_ref","head_commit_sha","merge_commit_sha","status","original_status","type","component","title","description","url","author_name","author_id","parent_pr_id","pull_request_key","created_date","merged_date","closed_date"
-"github:GithubPullRequest:1:1819250573","2024-05-15 12:07:36.778","2024-05-15 12:07:36.778","{""ConnectionId"":1,""Name"":""apache/incubator-devlake""}","_raw_github_api_pull_requests",191,"","github:GithubRepo:1:384111310","main","64c52748f3529784cb6c8a372691aa0f638fa73d","github:GithubRepo:1:384111310","fix#7275","14fb6488f2208e6a65374a86efce12dd460987e0","91dbce48759da14a4a030124c3ef751f1c5d8389","CLOSED","closed","","","fix: can't GET projects which have / in their name #1884 #1885","desc","https://github.com/apache/incubator-devlake/pull/7317","abeizn","github:GithubAccount:1:101256042","",7317,"2024-04-12 05:31:43.000","2024-04-13 05:31:43.000","2024-04-12 06:44:27.000"
-"github:GithubPullRequest:1:1819250574","2024-05-15 12:07:36.778","2024-05-15 12:07:36.778","{""ConnectionId"":1,""Name"":""apache/incubator-devlake""}","_raw_github_api_pull_requests",192,"","github:GithubRepo:1:384111310","main","64c52748f3529784cb6c8a372691aa0f638fa73d","github:GithubRepo:1:384111310","fix#1886","14fb6488f2208e6a65374a86efce12dd460987e0","","MERGED","merged","","","Fix deployment policy recreation","no issue key here","https://github.com/apache/incubator-devlake/pull/7318","abeizn","github:GithubAccount:1:101256042","",7318,"2024-04-12 05:31:43.000","2024-04-13 05:31:43.000","2024-04-12 06:44:27.000"
+"github:GithubPullRequest:1:1819250573","2024-05-15 12:07:36.778","2024-05-15 12:07:36.778","{""ConnectionId"":1,""Name"":""apache/devlake""}","_raw_github_api_pull_requests",191,"","github:GithubRepo:1:384111310","main","64c52748f3529784cb6c8a372691aa0f638fa73d","github:GithubRepo:1:384111310","fix#7275","14fb6488f2208e6a65374a86efce12dd460987e0","91dbce48759da14a4a030124c3ef751f1c5d8389","CLOSED","closed","","","fix: can't GET projects which have / in their name #1884 #1885","desc","https://github.com/apache/devlake/pull/7317","abeizn","github:GithubAccount:1:101256042","",7317,"2024-04-12 05:31:43.000","2024-04-13 05:31:43.000","2024-04-12 06:44:27.000"
+"github:GithubPullRequest:1:1819250574","2024-05-15 12:07:36.778","2024-05-15 12:07:36.778","{""ConnectionId"":1,""Name"":""apache/devlake""}","_raw_github_api_pull_requests",192,"","github:GithubRepo:1:384111310","main","64c52748f3529784cb6c8a372691aa0f638fa73d","github:GithubRepo:1:384111310","fix#1886","14fb6488f2208e6a65374a86efce12dd460987e0","","MERGED","merged","","","Fix deployment policy recreation","no issue key here","https://github.com/apache/devlake/pull/7318","abeizn","github:GithubAccount:1:101256042","",7318,"2024-04-12 05:31:43.000","2024-04-13 05:31:43.000","2024-04-12 06:44:27.000"
diff --git a/backend/plugins/linker/impl/impl.go b/backend/plugins/linker/impl/impl.go
index e2efb80..b69b587 100644
--- a/backend/plugins/linker/impl/impl.go
+++ b/backend/plugins/linker/impl/impl.go
@@ -21,12 +21,12 @@
"encoding/json"
"regexp"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- coreModels "github.com/apache/incubator-devlake/core/models"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/plugins/linker/models/migrationscripts"
- "github.com/apache/incubator-devlake/plugins/linker/tasks"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ coreModels "github.com/apache/devlake/core/models"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/plugins/linker/models/migrationscripts"
+ "github.com/apache/devlake/plugins/linker/tasks"
)
// make sure interface is implemented
@@ -96,7 +96,7 @@
// RootPkgPath information lost when compiled as plugin(.so)
func (p Linker) RootPkgPath() string {
- return "github.com/apache/incubator-devlake/plugins/linker"
+ return "github.com/apache/devlake/plugins/linker"
}
func (p Linker) MigrationScripts() []plugin.MigrationScript {
diff --git a/backend/plugins/linker/linker.go b/backend/plugins/linker/linker.go
index 0f1bc45..b120e3f 100644
--- a/backend/plugins/linker/linker.go
+++ b/backend/plugins/linker/linker.go
@@ -18,8 +18,8 @@
package main
import (
- "github.com/apache/incubator-devlake/core/runner"
- "github.com/apache/incubator-devlake/plugins/linker/impl"
+ "github.com/apache/devlake/core/runner"
+ "github.com/apache/devlake/plugins/linker/impl"
"github.com/spf13/cobra"
)
diff --git a/backend/plugins/linker/models/migrationscripts/register.go b/backend/plugins/linker/models/migrationscripts/register.go
index 0aaa537..c95b4f1 100644
--- a/backend/plugins/linker/models/migrationscripts/register.go
+++ b/backend/plugins/linker/models/migrationscripts/register.go
@@ -18,7 +18,7 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/plugin"
+ "github.com/apache/devlake/core/plugin"
)
// All return all the migration scripts
diff --git a/backend/plugins/linker/tasks/link_pr_and_issue.go b/backend/plugins/linker/tasks/link_pr_and_issue.go
index faeeffd..76ad312 100644
--- a/backend/plugins/linker/tasks/link_pr_and_issue.go
+++ b/backend/plugins/linker/tasks/link_pr_and_issue.go
@@ -20,14 +20,14 @@
import (
"strings"
- "github.com/apache/incubator-devlake/core/models/domainlayer/code"
- "github.com/apache/incubator-devlake/core/models/domainlayer/crossdomain"
- "github.com/apache/incubator-devlake/core/models/domainlayer/ticket"
+ "github.com/apache/devlake/core/models/domainlayer/code"
+ "github.com/apache/devlake/core/models/domainlayer/crossdomain"
+ "github.com/apache/devlake/core/models/domainlayer/ticket"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
)
var LinkPrToIssueMeta = plugin.SubTaskMeta{
diff --git a/backend/plugins/linker/tasks/task_data.go b/backend/plugins/linker/tasks/task_data.go
index 37a37c3..02f6c3b 100644
--- a/backend/plugins/linker/tasks/task_data.go
+++ b/backend/plugins/linker/tasks/task_data.go
@@ -18,8 +18,8 @@
package tasks
import (
- "github.com/apache/incubator-devlake/core/errors"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/core/errors"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
"regexp"
)
diff --git a/backend/plugins/opsgenie/api/blueprint_v200.go b/backend/plugins/opsgenie/api/blueprint_v200.go
index 3b34e7f..c73e347 100644
--- a/backend/plugins/opsgenie/api/blueprint_v200.go
+++ b/backend/plugins/opsgenie/api/blueprint_v200.go
@@ -18,16 +18,16 @@
package api
import (
- "github.com/apache/incubator-devlake/core/errors"
- coreModels "github.com/apache/incubator-devlake/core/models"
- "github.com/apache/incubator-devlake/core/models/domainlayer"
- "github.com/apache/incubator-devlake/core/models/domainlayer/didgen"
- "github.com/apache/incubator-devlake/core/models/domainlayer/ticket"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/core/utils"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/helpers/srvhelper"
- "github.com/apache/incubator-devlake/plugins/opsgenie/models"
+ "github.com/apache/devlake/core/errors"
+ coreModels "github.com/apache/devlake/core/models"
+ "github.com/apache/devlake/core/models/domainlayer"
+ "github.com/apache/devlake/core/models/domainlayer/didgen"
+ "github.com/apache/devlake/core/models/domainlayer/ticket"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/core/utils"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/helpers/srvhelper"
+ "github.com/apache/devlake/plugins/opsgenie/models"
)
func MakeDataSourcePipelinePlanV200(
diff --git a/backend/plugins/opsgenie/api/connection_api.go b/backend/plugins/opsgenie/api/connection_api.go
index a56118c..a64dcdf 100644
--- a/backend/plugins/opsgenie/api/connection_api.go
+++ b/backend/plugins/opsgenie/api/connection_api.go
@@ -21,10 +21,10 @@
"context"
"net/http"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/opsgenie/models"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/opsgenie/models"
)
func testOpsgenieConn(ctx context.Context, connection models.OpsgenieConn) (*plugin.ApiResourceOutput, errors.Error) {
diff --git a/backend/plugins/opsgenie/api/init.go b/backend/plugins/opsgenie/api/init.go
index c72ee73..20f2ca4 100644
--- a/backend/plugins/opsgenie/api/init.go
+++ b/backend/plugins/opsgenie/api/init.go
@@ -18,10 +18,10 @@
package api
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/opsgenie/models"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/opsgenie/models"
"github.com/go-playground/validator/v10"
)
diff --git a/backend/plugins/opsgenie/api/remote_api.go b/backend/plugins/opsgenie/api/remote_api.go
index 2a5b161..1980327 100644
--- a/backend/plugins/opsgenie/api/remote_api.go
+++ b/backend/plugins/opsgenie/api/remote_api.go
@@ -22,13 +22,13 @@
"net/http"
"net/url"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/common"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- dsmodels "github.com/apache/incubator-devlake/helpers/pluginhelper/api/models"
- "github.com/apache/incubator-devlake/plugins/opsgenie/models"
- "github.com/apache/incubator-devlake/plugins/opsgenie/models/raw"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/common"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ dsmodels "github.com/apache/devlake/helpers/pluginhelper/api/models"
+ "github.com/apache/devlake/plugins/opsgenie/models"
+ "github.com/apache/devlake/plugins/opsgenie/models/raw"
)
type OpsgenieRemotePagination struct {
diff --git a/backend/plugins/opsgenie/api/scope_api.go b/backend/plugins/opsgenie/api/scope_api.go
index 572e75d..1dcb034 100644
--- a/backend/plugins/opsgenie/api/scope_api.go
+++ b/backend/plugins/opsgenie/api/scope_api.go
@@ -18,10 +18,10 @@
package api
import (
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/opsgenie/models"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/opsgenie/models"
)
type PutScopesReqBody api.PutScopesReqBody[models.Service]
diff --git a/backend/plugins/opsgenie/api/scope_state_api.go b/backend/plugins/opsgenie/api/scope_state_api.go
index 77b4764..7addb97 100644
--- a/backend/plugins/opsgenie/api/scope_state_api.go
+++ b/backend/plugins/opsgenie/api/scope_state_api.go
@@ -18,8 +18,8 @@
package api
import (
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
)
// GetScopeLatestSyncState get one opsgenie service's latest sync state
diff --git a/backend/plugins/opsgenie/api/swagger.go b/backend/plugins/opsgenie/api/swagger.go
index 8e34100..3e03c67 100644
--- a/backend/plugins/opsgenie/api/swagger.go
+++ b/backend/plugins/opsgenie/api/swagger.go
@@ -18,7 +18,7 @@
package api
import (
- "github.com/apache/incubator-devlake/plugins/opsgenie/tasks"
+ "github.com/apache/devlake/plugins/opsgenie/tasks"
)
type OpsgenieTaskOptions tasks.OpsgenieOptions
diff --git a/backend/plugins/opsgenie/e2e/incident_test.go b/backend/plugins/opsgenie/e2e/incident_test.go
index be189e9..4ac7a74 100644
--- a/backend/plugins/opsgenie/e2e/incident_test.go
+++ b/backend/plugins/opsgenie/e2e/incident_test.go
@@ -21,13 +21,13 @@
"fmt"
"testing"
- "github.com/apache/incubator-devlake/core/models/common"
- "github.com/apache/incubator-devlake/core/models/domainlayer/crossdomain"
- "github.com/apache/incubator-devlake/core/models/domainlayer/ticket"
- "github.com/apache/incubator-devlake/helpers/e2ehelper"
- "github.com/apache/incubator-devlake/plugins/opsgenie/impl"
- "github.com/apache/incubator-devlake/plugins/opsgenie/models"
- "github.com/apache/incubator-devlake/plugins/opsgenie/tasks"
+ "github.com/apache/devlake/core/models/common"
+ "github.com/apache/devlake/core/models/domainlayer/crossdomain"
+ "github.com/apache/devlake/core/models/domainlayer/ticket"
+ "github.com/apache/devlake/helpers/e2ehelper"
+ "github.com/apache/devlake/plugins/opsgenie/impl"
+ "github.com/apache/devlake/plugins/opsgenie/models"
+ "github.com/apache/devlake/plugins/opsgenie/tasks"
"github.com/stretchr/testify/require"
)
diff --git a/backend/plugins/opsgenie/impl/impl.go b/backend/plugins/opsgenie/impl/impl.go
index a3470da..8b249c8 100644
--- a/backend/plugins/opsgenie/impl/impl.go
+++ b/backend/plugins/opsgenie/impl/impl.go
@@ -20,16 +20,16 @@
import (
"fmt"
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- coreModels "github.com/apache/incubator-devlake/core/models"
- "github.com/apache/incubator-devlake/core/plugin"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/opsgenie/api"
- "github.com/apache/incubator-devlake/plugins/opsgenie/models"
- "github.com/apache/incubator-devlake/plugins/opsgenie/models/migrationscripts"
- "github.com/apache/incubator-devlake/plugins/opsgenie/tasks"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ coreModels "github.com/apache/devlake/core/models"
+ "github.com/apache/devlake/core/plugin"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/opsgenie/api"
+ "github.com/apache/devlake/plugins/opsgenie/models"
+ "github.com/apache/devlake/plugins/opsgenie/models/migrationscripts"
+ "github.com/apache/devlake/plugins/opsgenie/tasks"
)
// make sure interface is implemented
@@ -60,7 +60,7 @@
// PkgPath information lost when compiled as plugin(.so)
func (p Opsgenie) RootPkgPath() string {
- return "github.com/apache/incubator-devlake/plugins/opsgenie"
+ return "github.com/apache/devlake/plugins/opsgenie"
}
func (p Opsgenie) Name() string {
diff --git a/backend/plugins/opsgenie/models/assignment.go b/backend/plugins/opsgenie/models/assignment.go
index 16ffbb6..ccd8928 100644
--- a/backend/plugins/opsgenie/models/assignment.go
+++ b/backend/plugins/opsgenie/models/assignment.go
@@ -18,7 +18,7 @@
package models
import (
- "github.com/apache/incubator-devlake/core/models/common"
+ "github.com/apache/devlake/core/models/common"
)
type Assignment struct {
diff --git a/backend/plugins/opsgenie/models/connection.go b/backend/plugins/opsgenie/models/connection.go
index a3c26d0..561f184 100644
--- a/backend/plugins/opsgenie/models/connection.go
+++ b/backend/plugins/opsgenie/models/connection.go
@@ -19,11 +19,11 @@
import (
"fmt"
- "github.com/apache/incubator-devlake/core/utils"
+ "github.com/apache/devlake/core/utils"
"net/http"
- "github.com/apache/incubator-devlake/core/errors"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/core/errors"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
)
// AccessToken implements HTTP Token Authentication with Access Token
diff --git a/backend/plugins/opsgenie/models/incident.go b/backend/plugins/opsgenie/models/incident.go
index 822469a..1870af7 100644
--- a/backend/plugins/opsgenie/models/incident.go
+++ b/backend/plugins/opsgenie/models/incident.go
@@ -20,7 +20,7 @@
import (
"time"
- "github.com/apache/incubator-devlake/core/models/common"
+ "github.com/apache/devlake/core/models/common"
)
const (
diff --git a/backend/plugins/opsgenie/models/migrationscripts/20221115_add_init_tables.go b/backend/plugins/opsgenie/models/migrationscripts/20221115_add_init_tables.go
index d76794a..0236bfa 100644
--- a/backend/plugins/opsgenie/models/migrationscripts/20221115_add_init_tables.go
+++ b/backend/plugins/opsgenie/models/migrationscripts/20221115_add_init_tables.go
@@ -18,10 +18,10 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/helpers/migrationhelper"
- "github.com/apache/incubator-devlake/plugins/opsgenie/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/helpers/migrationhelper"
+ "github.com/apache/devlake/plugins/opsgenie/models/migrationscripts/archived"
)
type addInitTables struct{}
diff --git a/backend/plugins/opsgenie/models/migrationscripts/20230123_add_connection_fields.go b/backend/plugins/opsgenie/models/migrationscripts/20230123_add_connection_fields.go
index ab54d81..249a9d6 100644
--- a/backend/plugins/opsgenie/models/migrationscripts/20230123_add_connection_fields.go
+++ b/backend/plugins/opsgenie/models/migrationscripts/20230123_add_connection_fields.go
@@ -18,8 +18,8 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
)
type opsgenieConnection20230905 struct {
diff --git a/backend/plugins/opsgenie/models/migrationscripts/20230203_add_endpoint_proxy_to_conn.go b/backend/plugins/opsgenie/models/migrationscripts/20230203_add_endpoint_proxy_to_conn.go
index 6a1430e..0ee1faa 100644
--- a/backend/plugins/opsgenie/models/migrationscripts/20230203_add_endpoint_proxy_to_conn.go
+++ b/backend/plugins/opsgenie/models/migrationscripts/20230203_add_endpoint_proxy_to_conn.go
@@ -18,9 +18,9 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/helpers/migrationhelper"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/helpers/migrationhelper"
)
type connection20230203 struct {
diff --git a/backend/plugins/opsgenie/models/migrationscripts/20230203_add_transformation_rules.go b/backend/plugins/opsgenie/models/migrationscripts/20230203_add_transformation_rules.go
index 0e211e9..c905f8f 100644
--- a/backend/plugins/opsgenie/models/migrationscripts/20230203_add_transformation_rules.go
+++ b/backend/plugins/opsgenie/models/migrationscripts/20230203_add_transformation_rules.go
@@ -18,10 +18,10 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/helpers/migrationhelper"
- "github.com/apache/incubator-devlake/plugins/opsgenie/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/helpers/migrationhelper"
+ "github.com/apache/devlake/plugins/opsgenie/models/migrationscripts/archived"
)
type service20230303 struct {
diff --git a/backend/plugins/opsgenie/models/migrationscripts/20230531_scope_config.go b/backend/plugins/opsgenie/models/migrationscripts/20230531_scope_config.go
index bbd4c04..2b6c2d5 100644
--- a/backend/plugins/opsgenie/models/migrationscripts/20230531_scope_config.go
+++ b/backend/plugins/opsgenie/models/migrationscripts/20230531_scope_config.go
@@ -18,9 +18,9 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/helpers/migrationhelper"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/helpers/migrationhelper"
)
type renameTr2ScopeConfig struct {
diff --git a/backend/plugins/opsgenie/models/migrationscripts/20230605_remove_scope_config.go b/backend/plugins/opsgenie/models/migrationscripts/20230605_remove_scope_config.go
index 1b3fa4e..500c94b 100644
--- a/backend/plugins/opsgenie/models/migrationscripts/20230605_remove_scope_config.go
+++ b/backend/plugins/opsgenie/models/migrationscripts/20230605_remove_scope_config.go
@@ -18,8 +18,8 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
)
type removeScopeConfig struct {
diff --git a/backend/plugins/opsgenie/models/migrationscripts/20230630_add_raw_param_table_for_scopes.go b/backend/plugins/opsgenie/models/migrationscripts/20230630_add_raw_param_table_for_scopes.go
index 7c5d76a..90318e1 100644
--- a/backend/plugins/opsgenie/models/migrationscripts/20230630_add_raw_param_table_for_scopes.go
+++ b/backend/plugins/opsgenie/models/migrationscripts/20230630_add_raw_param_table_for_scopes.go
@@ -21,11 +21,11 @@
"encoding/json"
"fmt"
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/migrationhelper"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/migrationhelper"
)
var _ plugin.MigrationScript = (*addRawParamTableForScope)(nil)
diff --git a/backend/plugins/opsgenie/models/migrationscripts/20231214_add_tool_opsgenie_scope_configs.go b/backend/plugins/opsgenie/models/migrationscripts/20231214_add_tool_opsgenie_scope_configs.go
index 6738f02..4206e19 100644
--- a/backend/plugins/opsgenie/models/migrationscripts/20231214_add_tool_opsgenie_scope_configs.go
+++ b/backend/plugins/opsgenie/models/migrationscripts/20231214_add_tool_opsgenie_scope_configs.go
@@ -18,11 +18,11 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/models/migrationscripts/archived"
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
)
var _ plugin.MigrationScript = (*addOpsenieScopeConfig20231214)(nil)
diff --git a/backend/plugins/opsgenie/models/migrationscripts/20240614_add_new_fields_to_tool_opsgenie_scope_configs.go b/backend/plugins/opsgenie/models/migrationscripts/20240614_add_new_fields_to_tool_opsgenie_scope_configs.go
index 65be3b6..c76d6c4 100644
--- a/backend/plugins/opsgenie/models/migrationscripts/20240614_add_new_fields_to_tool_opsgenie_scope_configs.go
+++ b/backend/plugins/opsgenie/models/migrationscripts/20240614_add_new_fields_to_tool_opsgenie_scope_configs.go
@@ -18,9 +18,9 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
)
var _ plugin.MigrationScript = (*updateOpsenieScopeConfig20240614)(nil)
diff --git a/backend/plugins/opsgenie/models/migrationscripts/archived/assignment.go b/backend/plugins/opsgenie/models/migrationscripts/archived/assignment.go
index e6debcf..6b1f420 100644
--- a/backend/plugins/opsgenie/models/migrationscripts/archived/assignment.go
+++ b/backend/plugins/opsgenie/models/migrationscripts/archived/assignment.go
@@ -18,7 +18,7 @@
package archived
import (
- "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/models/migrationscripts/archived"
)
type Assignment struct {
diff --git a/backend/plugins/opsgenie/models/migrationscripts/archived/connection.go b/backend/plugins/opsgenie/models/migrationscripts/archived/connection.go
index d4882c4..08b5b90 100644
--- a/backend/plugins/opsgenie/models/migrationscripts/archived/connection.go
+++ b/backend/plugins/opsgenie/models/migrationscripts/archived/connection.go
@@ -18,7 +18,7 @@
package archived
import (
- "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/models/migrationscripts/archived"
)
type OpsgenieConnection struct {
diff --git a/backend/plugins/opsgenie/models/migrationscripts/archived/incident.go b/backend/plugins/opsgenie/models/migrationscripts/archived/incident.go
index 6611093..8e28d2c 100644
--- a/backend/plugins/opsgenie/models/migrationscripts/archived/incident.go
+++ b/backend/plugins/opsgenie/models/migrationscripts/archived/incident.go
@@ -20,7 +20,7 @@
import (
"time"
- "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/models/migrationscripts/archived"
)
type Incident struct {
diff --git a/backend/plugins/opsgenie/models/migrationscripts/archived/responder.go b/backend/plugins/opsgenie/models/migrationscripts/archived/responder.go
index c3507f1..57eeffb 100644
--- a/backend/plugins/opsgenie/models/migrationscripts/archived/responder.go
+++ b/backend/plugins/opsgenie/models/migrationscripts/archived/responder.go
@@ -17,7 +17,7 @@
package archived
-import "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
+import "github.com/apache/devlake/core/models/migrationscripts/archived"
type Responder struct {
archived.NoPKModel
diff --git a/backend/plugins/opsgenie/models/migrationscripts/archived/service.go b/backend/plugins/opsgenie/models/migrationscripts/archived/service.go
index 1daddb7..b7e8518 100644
--- a/backend/plugins/opsgenie/models/migrationscripts/archived/service.go
+++ b/backend/plugins/opsgenie/models/migrationscripts/archived/service.go
@@ -18,7 +18,7 @@
package archived
import (
- "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/models/migrationscripts/archived"
)
type (
diff --git a/backend/plugins/opsgenie/models/migrationscripts/archived/team.go b/backend/plugins/opsgenie/models/migrationscripts/archived/team.go
index d7f8f1b..d5711eb 100644
--- a/backend/plugins/opsgenie/models/migrationscripts/archived/team.go
+++ b/backend/plugins/opsgenie/models/migrationscripts/archived/team.go
@@ -17,7 +17,7 @@
package archived
-import "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
+import "github.com/apache/devlake/core/models/migrationscripts/archived"
type Team struct {
archived.NoPKModel
diff --git a/backend/plugins/opsgenie/models/migrationscripts/archived/transformation_rules.go b/backend/plugins/opsgenie/models/migrationscripts/archived/transformation_rules.go
index 35a8dfe..3382b80 100644
--- a/backend/plugins/opsgenie/models/migrationscripts/archived/transformation_rules.go
+++ b/backend/plugins/opsgenie/models/migrationscripts/archived/transformation_rules.go
@@ -18,7 +18,7 @@
package archived
import (
- "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/models/migrationscripts/archived"
)
type TransformationRules struct {
diff --git a/backend/plugins/opsgenie/models/migrationscripts/archived/user.go b/backend/plugins/opsgenie/models/migrationscripts/archived/user.go
index 5b37650..bb73efb 100644
--- a/backend/plugins/opsgenie/models/migrationscripts/archived/user.go
+++ b/backend/plugins/opsgenie/models/migrationscripts/archived/user.go
@@ -17,7 +17,7 @@
package archived
-import "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
+import "github.com/apache/devlake/core/models/migrationscripts/archived"
type User struct {
archived.NoPKModel
diff --git a/backend/plugins/opsgenie/models/migrationscripts/register.go b/backend/plugins/opsgenie/models/migrationscripts/register.go
index fd9b335..69bc3ce 100644
--- a/backend/plugins/opsgenie/models/migrationscripts/register.go
+++ b/backend/plugins/opsgenie/models/migrationscripts/register.go
@@ -18,7 +18,7 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/plugin"
+ "github.com/apache/devlake/core/plugin"
)
// All return all the migration scripts
diff --git a/backend/plugins/opsgenie/models/responder.go b/backend/plugins/opsgenie/models/responder.go
index 62b776c..4a7a1d2 100644
--- a/backend/plugins/opsgenie/models/responder.go
+++ b/backend/plugins/opsgenie/models/responder.go
@@ -18,7 +18,7 @@
package models
import (
- "github.com/apache/incubator-devlake/core/models/common"
+ "github.com/apache/devlake/core/models/common"
)
type Responder struct {
diff --git a/backend/plugins/opsgenie/models/scope_config.go b/backend/plugins/opsgenie/models/scope_config.go
index 671c598..da92997 100644
--- a/backend/plugins/opsgenie/models/scope_config.go
+++ b/backend/plugins/opsgenie/models/scope_config.go
@@ -17,7 +17,7 @@
package models
-import "github.com/apache/incubator-devlake/core/models/common"
+import "github.com/apache/devlake/core/models/common"
type OpsenieScopeConfig struct {
common.ScopeConfig `mapstructure:",squash" json:",inline" gorm:"embedded"`
diff --git a/backend/plugins/opsgenie/models/service.go b/backend/plugins/opsgenie/models/service.go
index 7c7b62d..8fe2bec 100644
--- a/backend/plugins/opsgenie/models/service.go
+++ b/backend/plugins/opsgenie/models/service.go
@@ -18,8 +18,8 @@
package models
import (
- "github.com/apache/incubator-devlake/core/models/common"
- "github.com/apache/incubator-devlake/core/plugin"
+ "github.com/apache/devlake/core/models/common"
+ "github.com/apache/devlake/core/plugin"
)
type OpsgenieParams struct {
diff --git a/backend/plugins/opsgenie/models/team.go b/backend/plugins/opsgenie/models/team.go
index 90053d8..94e2641 100644
--- a/backend/plugins/opsgenie/models/team.go
+++ b/backend/plugins/opsgenie/models/team.go
@@ -18,7 +18,7 @@
package models
import (
- "github.com/apache/incubator-devlake/core/models/common"
+ "github.com/apache/devlake/core/models/common"
)
type Team struct {
diff --git a/backend/plugins/opsgenie/models/user.go b/backend/plugins/opsgenie/models/user.go
index 3977252..0524281 100644
--- a/backend/plugins/opsgenie/models/user.go
+++ b/backend/plugins/opsgenie/models/user.go
@@ -18,7 +18,7 @@
package models
import (
- "github.com/apache/incubator-devlake/core/models/common"
+ "github.com/apache/devlake/core/models/common"
)
type User struct {
diff --git a/backend/plugins/opsgenie/opsgenie.go b/backend/plugins/opsgenie/opsgenie.go
index d9402a0..e43f7e4 100644
--- a/backend/plugins/opsgenie/opsgenie.go
+++ b/backend/plugins/opsgenie/opsgenie.go
@@ -18,8 +18,8 @@
package main
import (
- "github.com/apache/incubator-devlake/core/runner"
- "github.com/apache/incubator-devlake/plugins/opsgenie/impl"
+ "github.com/apache/devlake/core/runner"
+ "github.com/apache/devlake/plugins/opsgenie/impl"
"github.com/spf13/cobra"
)
diff --git a/backend/plugins/opsgenie/tasks/incidents_collector.go b/backend/plugins/opsgenie/tasks/incidents_collector.go
index 6d9db5c..70100f1 100644
--- a/backend/plugins/opsgenie/tasks/incidents_collector.go
+++ b/backend/plugins/opsgenie/tasks/incidents_collector.go
@@ -25,11 +25,11 @@
"reflect"
"time"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/opsgenie/models"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/opsgenie/models"
)
const RAW_INCIDENTS_TABLE = "opsgenie_incidents"
diff --git a/backend/plugins/opsgenie/tasks/incidents_converter.go b/backend/plugins/opsgenie/tasks/incidents_converter.go
index 1562fd6..50fe1f1 100644
--- a/backend/plugins/opsgenie/tasks/incidents_converter.go
+++ b/backend/plugins/opsgenie/tasks/incidents_converter.go
@@ -21,15 +21,15 @@
"reflect"
"time"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/common"
- "github.com/apache/incubator-devlake/core/models/domainlayer"
- "github.com/apache/incubator-devlake/core/models/domainlayer/didgen"
- "github.com/apache/incubator-devlake/core/models/domainlayer/ticket"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/opsgenie/models"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/common"
+ "github.com/apache/devlake/core/models/domainlayer"
+ "github.com/apache/devlake/core/models/domainlayer/didgen"
+ "github.com/apache/devlake/core/models/domainlayer/ticket"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/opsgenie/models"
)
var ConvertIncidentsMeta = plugin.SubTaskMeta{
diff --git a/backend/plugins/opsgenie/tasks/incidents_extractor.go b/backend/plugins/opsgenie/tasks/incidents_extractor.go
index 1f0066f..f64bcb5 100644
--- a/backend/plugins/opsgenie/tasks/incidents_extractor.go
+++ b/backend/plugins/opsgenie/tasks/incidents_extractor.go
@@ -20,11 +20,11 @@
import (
"encoding/json"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/opsgenie/models"
- "github.com/apache/incubator-devlake/plugins/opsgenie/models/raw"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/opsgenie/models"
+ "github.com/apache/devlake/plugins/opsgenie/models/raw"
)
var _ plugin.SubTaskEntryPoint = ExtractIncidents
diff --git a/backend/plugins/opsgenie/tasks/service_converter.go b/backend/plugins/opsgenie/tasks/service_converter.go
index d8a4683..5ce0390 100644
--- a/backend/plugins/opsgenie/tasks/service_converter.go
+++ b/backend/plugins/opsgenie/tasks/service_converter.go
@@ -20,14 +20,14 @@
import (
"reflect"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/domainlayer"
- "github.com/apache/incubator-devlake/core/models/domainlayer/didgen"
- "github.com/apache/incubator-devlake/core/models/domainlayer/ticket"
- "github.com/apache/incubator-devlake/core/plugin"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/opsgenie/models"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/domainlayer"
+ "github.com/apache/devlake/core/models/domainlayer/didgen"
+ "github.com/apache/devlake/core/models/domainlayer/ticket"
+ "github.com/apache/devlake/core/plugin"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/opsgenie/models"
)
var ConvertServicesMeta = plugin.SubTaskMeta{
diff --git a/backend/plugins/opsgenie/tasks/task_data.go b/backend/plugins/opsgenie/tasks/task_data.go
index 5d20fc8..674dcff 100644
--- a/backend/plugins/opsgenie/tasks/task_data.go
+++ b/backend/plugins/opsgenie/tasks/task_data.go
@@ -18,9 +18,9 @@
package tasks
import (
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/opsgenie/models"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/opsgenie/models"
)
type OpsgenieOptions struct {
diff --git a/backend/plugins/opsgenie/tasks/teams_collector.go b/backend/plugins/opsgenie/tasks/teams_collector.go
index 400ebec..f6aa86d 100644
--- a/backend/plugins/opsgenie/tasks/teams_collector.go
+++ b/backend/plugins/opsgenie/tasks/teams_collector.go
@@ -21,9 +21,9 @@
"encoding/json"
"net/http"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
)
const RAW_TEAMS_TABLE = "opsgenie_teams"
diff --git a/backend/plugins/opsgenie/tasks/teams_convertor.go b/backend/plugins/opsgenie/tasks/teams_convertor.go
index 08a1e58..7fbc1a2 100644
--- a/backend/plugins/opsgenie/tasks/teams_convertor.go
+++ b/backend/plugins/opsgenie/tasks/teams_convertor.go
@@ -20,14 +20,14 @@
import (
"reflect"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/domainlayer"
- "github.com/apache/incubator-devlake/core/models/domainlayer/crossdomain"
- "github.com/apache/incubator-devlake/core/models/domainlayer/didgen"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/opsgenie/models"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/domainlayer"
+ "github.com/apache/devlake/core/models/domainlayer/crossdomain"
+ "github.com/apache/devlake/core/models/domainlayer/didgen"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/opsgenie/models"
)
var ConvertTeamsMeta = plugin.SubTaskMeta{
diff --git a/backend/plugins/opsgenie/tasks/teams_extractor.go b/backend/plugins/opsgenie/tasks/teams_extractor.go
index 0ed6357..2f8e4eb 100644
--- a/backend/plugins/opsgenie/tasks/teams_extractor.go
+++ b/backend/plugins/opsgenie/tasks/teams_extractor.go
@@ -20,11 +20,11 @@
import (
"encoding/json"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/opsgenie/models"
- "github.com/apache/incubator-devlake/plugins/opsgenie/models/raw"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/opsgenie/models"
+ "github.com/apache/devlake/plugins/opsgenie/models/raw"
)
var _ plugin.SubTaskEntryPoint = ExtractTeams
diff --git a/backend/plugins/opsgenie/tasks/users_collector.go b/backend/plugins/opsgenie/tasks/users_collector.go
index d2b3302..ecb5c56 100644
--- a/backend/plugins/opsgenie/tasks/users_collector.go
+++ b/backend/plugins/opsgenie/tasks/users_collector.go
@@ -23,9 +23,9 @@
"net/http"
"net/url"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
)
const RAW_USERS_TABLE = "opsgenie_users"
diff --git a/backend/plugins/opsgenie/tasks/users_convertor.go b/backend/plugins/opsgenie/tasks/users_convertor.go
index ddd9c00..47d8b04 100644
--- a/backend/plugins/opsgenie/tasks/users_convertor.go
+++ b/backend/plugins/opsgenie/tasks/users_convertor.go
@@ -20,14 +20,14 @@
import (
"reflect"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/domainlayer"
- "github.com/apache/incubator-devlake/core/models/domainlayer/crossdomain"
- "github.com/apache/incubator-devlake/core/models/domainlayer/didgen"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/opsgenie/models"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/domainlayer"
+ "github.com/apache/devlake/core/models/domainlayer/crossdomain"
+ "github.com/apache/devlake/core/models/domainlayer/didgen"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/opsgenie/models"
)
var ConvertUsersMeta = plugin.SubTaskMeta{
diff --git a/backend/plugins/opsgenie/tasks/users_extractor.go b/backend/plugins/opsgenie/tasks/users_extractor.go
index 4482a0f..4ef3e1e 100644
--- a/backend/plugins/opsgenie/tasks/users_extractor.go
+++ b/backend/plugins/opsgenie/tasks/users_extractor.go
@@ -20,11 +20,11 @@
import (
"encoding/json"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/opsgenie/models"
- "github.com/apache/incubator-devlake/plugins/opsgenie/models/raw"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/opsgenie/models"
+ "github.com/apache/devlake/plugins/opsgenie/models/raw"
)
var _ plugin.SubTaskEntryPoint = ExtractUsers
diff --git a/backend/plugins/org/api/handlers.go b/backend/plugins/org/api/handlers.go
index d20ac9c..cc4c794 100644
--- a/backend/plugins/org/api/handlers.go
+++ b/backend/plugins/org/api/handlers.go
@@ -19,8 +19,8 @@
import (
"encoding/csv"
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
"github.com/gocarina/gocsv"
"net/http"
)
diff --git a/backend/plugins/org/api/project_mapping.go b/backend/plugins/org/api/project_mapping.go
index b70c951..22e6052 100644
--- a/backend/plugins/org/api/project_mapping.go
+++ b/backend/plugins/org/api/project_mapping.go
@@ -18,8 +18,8 @@
package api
import (
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
"net/http"
"github.com/gocarina/gocsv"
diff --git a/backend/plugins/org/api/store.go b/backend/plugins/org/api/store.go
index 8c50c10..4218a3d 100644
--- a/backend/plugins/org/api/store.go
+++ b/backend/plugins/org/api/store.go
@@ -18,11 +18,11 @@
package api
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/domainlayer/crossdomain"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/domainlayer/crossdomain"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
"reflect"
)
diff --git a/backend/plugins/org/api/team.go b/backend/plugins/org/api/team.go
index 133a97e..6f80c13 100644
--- a/backend/plugins/org/api/team.go
+++ b/backend/plugins/org/api/team.go
@@ -18,9 +18,9 @@
package api
import (
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/domainlayer/crossdomain"
- "github.com/apache/incubator-devlake/core/plugin"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/domainlayer/crossdomain"
+ "github.com/apache/devlake/core/plugin"
"net/http"
"github.com/gocarina/gocsv"
diff --git a/backend/plugins/org/api/types.go b/backend/plugins/org/api/types.go
index 6dc2960..b3b7b8c 100644
--- a/backend/plugins/org/api/types.go
+++ b/backend/plugins/org/api/types.go
@@ -20,9 +20,9 @@
import (
"strings"
- "github.com/apache/incubator-devlake/core/models/common"
- "github.com/apache/incubator-devlake/core/models/domainlayer"
- "github.com/apache/incubator-devlake/core/models/domainlayer/crossdomain"
+ "github.com/apache/devlake/core/models/common"
+ "github.com/apache/devlake/core/models/domainlayer"
+ "github.com/apache/devlake/core/models/domainlayer/crossdomain"
)
const TimeFormat = "2006-01-02"
diff --git a/backend/plugins/org/api/user.go b/backend/plugins/org/api/user.go
index addd034..b0dd5b5 100644
--- a/backend/plugins/org/api/user.go
+++ b/backend/plugins/org/api/user.go
@@ -18,9 +18,9 @@
package api
import (
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/domainlayer/crossdomain"
- "github.com/apache/incubator-devlake/core/plugin"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/domainlayer/crossdomain"
+ "github.com/apache/devlake/core/plugin"
"net/http"
"github.com/gocarina/gocsv"
diff --git a/backend/plugins/org/api/user_account_mapping.go b/backend/plugins/org/api/user_account_mapping.go
index ebf05e0..6b719c0 100644
--- a/backend/plugins/org/api/user_account_mapping.go
+++ b/backend/plugins/org/api/user_account_mapping.go
@@ -18,9 +18,9 @@
package api
import (
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/domainlayer/crossdomain"
- "github.com/apache/incubator-devlake/core/plugin"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/domainlayer/crossdomain"
+ "github.com/apache/devlake/core/plugin"
"net/http"
"github.com/gocarina/gocsv"
diff --git a/backend/plugins/org/e2e/project_mapping_test.go b/backend/plugins/org/e2e/project_mapping_test.go
index b66abae..30b29e8 100644
--- a/backend/plugins/org/e2e/project_mapping_test.go
+++ b/backend/plugins/org/e2e/project_mapping_test.go
@@ -20,11 +20,11 @@
import (
"testing"
- "github.com/apache/incubator-devlake/core/models/domainlayer/crossdomain"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/e2ehelper"
- "github.com/apache/incubator-devlake/plugins/org/impl"
- "github.com/apache/incubator-devlake/plugins/org/tasks"
+ "github.com/apache/devlake/core/models/domainlayer/crossdomain"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/e2ehelper"
+ "github.com/apache/devlake/plugins/org/impl"
+ "github.com/apache/devlake/plugins/org/tasks"
)
type scope struct {
diff --git a/backend/plugins/org/e2e/user_account_test.go b/backend/plugins/org/e2e/user_account_test.go
index 997c3f3..86b1700 100644
--- a/backend/plugins/org/e2e/user_account_test.go
+++ b/backend/plugins/org/e2e/user_account_test.go
@@ -18,10 +18,10 @@
package e2e
import (
- "github.com/apache/incubator-devlake/core/models/domainlayer/crossdomain"
- "github.com/apache/incubator-devlake/helpers/e2ehelper"
- "github.com/apache/incubator-devlake/plugins/org/impl"
- "github.com/apache/incubator-devlake/plugins/org/tasks"
+ "github.com/apache/devlake/core/models/domainlayer/crossdomain"
+ "github.com/apache/devlake/helpers/e2ehelper"
+ "github.com/apache/devlake/plugins/org/impl"
+ "github.com/apache/devlake/plugins/org/tasks"
"testing"
)
diff --git a/backend/plugins/org/impl/impl.go b/backend/plugins/org/impl/impl.go
index 39d020f..db561d7 100644
--- a/backend/plugins/org/impl/impl.go
+++ b/backend/plugins/org/impl/impl.go
@@ -18,14 +18,14 @@
package impl
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- coreModels "github.com/apache/incubator-devlake/core/models"
- "github.com/apache/incubator-devlake/core/plugin"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/org/api"
- "github.com/apache/incubator-devlake/plugins/org/tasks"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ coreModels "github.com/apache/devlake/core/models"
+ "github.com/apache/devlake/core/plugin"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/org/api"
+ "github.com/apache/devlake/plugins/org/tasks"
)
var _ interface {
@@ -99,7 +99,7 @@
}
func (p Org) RootPkgPath() string {
- return "github.com/apache/incubator-devlake/plugins/org"
+ return "github.com/apache/devlake/plugins/org"
}
// wrapHandler defers the resolution of p.handlers to request time.
diff --git a/backend/plugins/org/impl/impl_test.go b/backend/plugins/org/impl/impl_test.go
index 4b6313e..bf3af4e 100644
--- a/backend/plugins/org/impl/impl_test.go
+++ b/backend/plugins/org/impl/impl_test.go
@@ -20,7 +20,7 @@
import (
"testing"
- "github.com/apache/incubator-devlake/core/plugin"
+ "github.com/apache/devlake/core/plugin"
"github.com/stretchr/testify/assert"
)
diff --git a/backend/plugins/org/org.go b/backend/plugins/org/org.go
index ef29cc9..9ac6ce8 100644
--- a/backend/plugins/org/org.go
+++ b/backend/plugins/org/org.go
@@ -18,7 +18,7 @@
package main
import (
- "github.com/apache/incubator-devlake/plugins/org/impl"
+ "github.com/apache/devlake/plugins/org/impl"
)
var PluginEntry impl.Org //nolint
diff --git a/backend/plugins/org/tasks/project_mapping.go b/backend/plugins/org/tasks/project_mapping.go
index ede6fc8..a894a6b 100644
--- a/backend/plugins/org/tasks/project_mapping.go
+++ b/backend/plugins/org/tasks/project_mapping.go
@@ -18,11 +18,11 @@
package tasks
import (
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/common"
- "github.com/apache/incubator-devlake/core/models/domainlayer/crossdomain"
- "github.com/apache/incubator-devlake/core/plugin"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/common"
+ "github.com/apache/devlake/core/models/domainlayer/crossdomain"
+ "github.com/apache/devlake/core/plugin"
)
const DefaultBatchSize = 100
diff --git a/backend/plugins/org/tasks/sleep.go b/backend/plugins/org/tasks/sleep.go
index 43c887b..a7ac598 100644
--- a/backend/plugins/org/tasks/sleep.go
+++ b/backend/plugins/org/tasks/sleep.go
@@ -20,8 +20,8 @@
import (
"time"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
)
var SleepMeta = plugin.SubTaskMeta{
diff --git a/backend/plugins/org/tasks/task_data.go b/backend/plugins/org/tasks/task_data.go
index e3b3cae..5bf8312 100644
--- a/backend/plugins/org/tasks/task_data.go
+++ b/backend/plugins/org/tasks/task_data.go
@@ -17,7 +17,7 @@
package tasks
-import "github.com/apache/incubator-devlake/core/plugin"
+import "github.com/apache/devlake/core/plugin"
type Options struct {
ConnectionId uint64 `json:"connectionId"`
diff --git a/backend/plugins/org/tasks/user_account.go b/backend/plugins/org/tasks/user_account.go
index c8ea94d..2156b45 100644
--- a/backend/plugins/org/tasks/user_account.go
+++ b/backend/plugins/org/tasks/user_account.go
@@ -18,11 +18,11 @@
package tasks
import (
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/domainlayer/crossdomain"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/domainlayer/crossdomain"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
"reflect"
"strings"
)
diff --git a/backend/plugins/pagerduty/api/blueprint_v200.go b/backend/plugins/pagerduty/api/blueprint_v200.go
index 2e088b4..51accf6 100644
--- a/backend/plugins/pagerduty/api/blueprint_v200.go
+++ b/backend/plugins/pagerduty/api/blueprint_v200.go
@@ -18,16 +18,16 @@
package api
import (
- "github.com/apache/incubator-devlake/core/errors"
- coreModels "github.com/apache/incubator-devlake/core/models"
- "github.com/apache/incubator-devlake/core/models/domainlayer/didgen"
- "github.com/apache/incubator-devlake/core/models/domainlayer/ticket"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/core/utils"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/helpers/srvhelper"
- "github.com/apache/incubator-devlake/plugins/pagerduty/models"
- "github.com/apache/incubator-devlake/plugins/pagerduty/tasks"
+ "github.com/apache/devlake/core/errors"
+ coreModels "github.com/apache/devlake/core/models"
+ "github.com/apache/devlake/core/models/domainlayer/didgen"
+ "github.com/apache/devlake/core/models/domainlayer/ticket"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/core/utils"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/helpers/srvhelper"
+ "github.com/apache/devlake/plugins/pagerduty/models"
+ "github.com/apache/devlake/plugins/pagerduty/tasks"
)
func MakeDataSourcePipelinePlanV200(
diff --git a/backend/plugins/pagerduty/api/connection_api.go b/backend/plugins/pagerduty/api/connection_api.go
index dec5d96..858b98b 100644
--- a/backend/plugins/pagerduty/api/connection_api.go
+++ b/backend/plugins/pagerduty/api/connection_api.go
@@ -21,10 +21,10 @@
"context"
"net/http"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/pagerduty/models"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/pagerduty/models"
)
func testConnection(ctx context.Context, connection models.PagerDutyConn) (*plugin.ApiResourceOutput, errors.Error) {
diff --git a/backend/plugins/pagerduty/api/init.go b/backend/plugins/pagerduty/api/init.go
index 93eaf14..fe7cf0b 100644
--- a/backend/plugins/pagerduty/api/init.go
+++ b/backend/plugins/pagerduty/api/init.go
@@ -18,10 +18,10 @@
package api
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/pagerduty/models"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/pagerduty/models"
"github.com/go-playground/validator/v10"
)
diff --git a/backend/plugins/pagerduty/api/remote_api.go b/backend/plugins/pagerduty/api/remote_api.go
index c033900..31b2ab3 100644
--- a/backend/plugins/pagerduty/api/remote_api.go
+++ b/backend/plugins/pagerduty/api/remote_api.go
@@ -22,14 +22,14 @@
"net/url"
"strconv"
- "github.com/apache/incubator-devlake/core/models/common"
+ "github.com/apache/devlake/core/models/common"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- dsmodels "github.com/apache/incubator-devlake/helpers/pluginhelper/api/models"
- "github.com/apache/incubator-devlake/plugins/pagerduty/models"
- "github.com/apache/incubator-devlake/plugins/pagerduty/models/raw"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ dsmodels "github.com/apache/devlake/helpers/pluginhelper/api/models"
+ "github.com/apache/devlake/plugins/pagerduty/models"
+ "github.com/apache/devlake/plugins/pagerduty/models/raw"
)
type PagerdutyRemotePagination struct {
diff --git a/backend/plugins/pagerduty/api/scope_api.go b/backend/plugins/pagerduty/api/scope_api.go
index 81d094e..702c31a 100644
--- a/backend/plugins/pagerduty/api/scope_api.go
+++ b/backend/plugins/pagerduty/api/scope_api.go
@@ -18,10 +18,10 @@
package api
import (
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/pagerduty/models"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/pagerduty/models"
)
type PutScopesReqBody api.PutScopesReqBody[models.Service]
diff --git a/backend/plugins/pagerduty/api/scope_state_api.go b/backend/plugins/pagerduty/api/scope_state_api.go
index e800a2d..25dde94 100644
--- a/backend/plugins/pagerduty/api/scope_state_api.go
+++ b/backend/plugins/pagerduty/api/scope_state_api.go
@@ -18,8 +18,8 @@
package api
import (
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
)
// GetScopeLatestSyncState get one pagerduty service's latest sync state
diff --git a/backend/plugins/pagerduty/api/swagger.go b/backend/plugins/pagerduty/api/swagger.go
index ffd6a9d..443dbac 100644
--- a/backend/plugins/pagerduty/api/swagger.go
+++ b/backend/plugins/pagerduty/api/swagger.go
@@ -18,7 +18,7 @@
package api
import (
- "github.com/apache/incubator-devlake/plugins/pagerduty/tasks"
+ "github.com/apache/devlake/plugins/pagerduty/tasks"
)
type PagerDutyTaskOptions tasks.PagerDutyOptions
diff --git a/backend/plugins/pagerduty/e2e/incident_test.go b/backend/plugins/pagerduty/e2e/incident_test.go
index bba3c60..28b28f9 100644
--- a/backend/plugins/pagerduty/e2e/incident_test.go
+++ b/backend/plugins/pagerduty/e2e/incident_test.go
@@ -21,12 +21,12 @@
"fmt"
"testing"
- "github.com/apache/incubator-devlake/core/models/common"
- "github.com/apache/incubator-devlake/core/models/domainlayer/ticket"
- "github.com/apache/incubator-devlake/helpers/e2ehelper"
- "github.com/apache/incubator-devlake/plugins/pagerduty/impl"
- "github.com/apache/incubator-devlake/plugins/pagerduty/models"
- "github.com/apache/incubator-devlake/plugins/pagerduty/tasks"
+ "github.com/apache/devlake/core/models/common"
+ "github.com/apache/devlake/core/models/domainlayer/ticket"
+ "github.com/apache/devlake/helpers/e2ehelper"
+ "github.com/apache/devlake/plugins/pagerduty/impl"
+ "github.com/apache/devlake/plugins/pagerduty/models"
+ "github.com/apache/devlake/plugins/pagerduty/tasks"
"github.com/stretchr/testify/require"
)
diff --git a/backend/plugins/pagerduty/impl/impl.go b/backend/plugins/pagerduty/impl/impl.go
index 417156b..e0f22b6 100644
--- a/backend/plugins/pagerduty/impl/impl.go
+++ b/backend/plugins/pagerduty/impl/impl.go
@@ -20,16 +20,16 @@
import (
"fmt"
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- coreModels "github.com/apache/incubator-devlake/core/models"
- "github.com/apache/incubator-devlake/core/plugin"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/pagerduty/api"
- "github.com/apache/incubator-devlake/plugins/pagerduty/models"
- "github.com/apache/incubator-devlake/plugins/pagerduty/models/migrationscripts"
- "github.com/apache/incubator-devlake/plugins/pagerduty/tasks"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ coreModels "github.com/apache/devlake/core/models"
+ "github.com/apache/devlake/core/plugin"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/pagerduty/api"
+ "github.com/apache/devlake/plugins/pagerduty/models"
+ "github.com/apache/devlake/plugins/pagerduty/models/migrationscripts"
+ "github.com/apache/devlake/plugins/pagerduty/tasks"
)
// make sure interface is implemented
@@ -126,7 +126,7 @@
// RootPkgPath information lost when compiled as plugin(.so)
func (p PagerDuty) RootPkgPath() string {
- return "github.com/apache/incubator-devlake/plugins/pagerduty"
+ return "github.com/apache/devlake/plugins/pagerduty"
}
func (p PagerDuty) MigrationScripts() []plugin.MigrationScript {
diff --git a/backend/plugins/pagerduty/models/assignment.go b/backend/plugins/pagerduty/models/assignment.go
index 31d4d42..f620abb 100644
--- a/backend/plugins/pagerduty/models/assignment.go
+++ b/backend/plugins/pagerduty/models/assignment.go
@@ -18,7 +18,7 @@
package models
import (
- "github.com/apache/incubator-devlake/core/models/common"
+ "github.com/apache/devlake/core/models/common"
"time"
)
diff --git a/backend/plugins/pagerduty/models/connection.go b/backend/plugins/pagerduty/models/connection.go
index eb100f0..5b721e2 100644
--- a/backend/plugins/pagerduty/models/connection.go
+++ b/backend/plugins/pagerduty/models/connection.go
@@ -19,11 +19,11 @@
import (
"fmt"
- "github.com/apache/incubator-devlake/core/utils"
+ "github.com/apache/devlake/core/utils"
"net/http"
- "github.com/apache/incubator-devlake/core/errors"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/core/errors"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
)
// AccessToken implements HTTP Token Authentication with Access Token
diff --git a/backend/plugins/pagerduty/models/incident.go b/backend/plugins/pagerduty/models/incident.go
index 7c5bd49..612858f 100644
--- a/backend/plugins/pagerduty/models/incident.go
+++ b/backend/plugins/pagerduty/models/incident.go
@@ -18,7 +18,7 @@
package models
import (
- "github.com/apache/incubator-devlake/core/models/common"
+ "github.com/apache/devlake/core/models/common"
"time"
)
diff --git a/backend/plugins/pagerduty/models/migrationscripts/20221115_add_init_tables.go b/backend/plugins/pagerduty/models/migrationscripts/20221115_add_init_tables.go
index 6d5b3ee..4f5f40b 100644
--- a/backend/plugins/pagerduty/models/migrationscripts/20221115_add_init_tables.go
+++ b/backend/plugins/pagerduty/models/migrationscripts/20221115_add_init_tables.go
@@ -18,10 +18,10 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/helpers/migrationhelper"
- "github.com/apache/incubator-devlake/plugins/pagerduty/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/helpers/migrationhelper"
+ "github.com/apache/devlake/plugins/pagerduty/models/migrationscripts/archived"
)
type addInitTables struct{}
diff --git a/backend/plugins/pagerduty/models/migrationscripts/20230123_add_connection_fields.go b/backend/plugins/pagerduty/models/migrationscripts/20230123_add_connection_fields.go
index bd80939..8da252b 100644
--- a/backend/plugins/pagerduty/models/migrationscripts/20230123_add_connection_fields.go
+++ b/backend/plugins/pagerduty/models/migrationscripts/20230123_add_connection_fields.go
@@ -18,8 +18,8 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
)
type pagerdutyConnection20230123 struct {
diff --git a/backend/plugins/pagerduty/models/migrationscripts/20230203_add_endpoint_proxy_to_conn.go b/backend/plugins/pagerduty/models/migrationscripts/20230203_add_endpoint_proxy_to_conn.go
index 262b0bf..d8c6d00 100644
--- a/backend/plugins/pagerduty/models/migrationscripts/20230203_add_endpoint_proxy_to_conn.go
+++ b/backend/plugins/pagerduty/models/migrationscripts/20230203_add_endpoint_proxy_to_conn.go
@@ -18,9 +18,9 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/helpers/migrationhelper"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/helpers/migrationhelper"
)
type connection20230203 struct {
diff --git a/backend/plugins/pagerduty/models/migrationscripts/20230203_add_transformation_rules.go b/backend/plugins/pagerduty/models/migrationscripts/20230203_add_transformation_rules.go
index c7e8355..26bfd81 100644
--- a/backend/plugins/pagerduty/models/migrationscripts/20230203_add_transformation_rules.go
+++ b/backend/plugins/pagerduty/models/migrationscripts/20230203_add_transformation_rules.go
@@ -18,10 +18,10 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/helpers/migrationhelper"
- "github.com/apache/incubator-devlake/plugins/pagerduty/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/helpers/migrationhelper"
+ "github.com/apache/devlake/plugins/pagerduty/models/migrationscripts/archived"
)
type service20230303 struct {
diff --git a/backend/plugins/pagerduty/models/migrationscripts/20230531_scope_config.go b/backend/plugins/pagerduty/models/migrationscripts/20230531_scope_config.go
index ad39e07..70ca96d 100644
--- a/backend/plugins/pagerduty/models/migrationscripts/20230531_scope_config.go
+++ b/backend/plugins/pagerduty/models/migrationscripts/20230531_scope_config.go
@@ -18,9 +18,9 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/helpers/migrationhelper"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/helpers/migrationhelper"
)
type renameTr2ScopeConfig struct {
diff --git a/backend/plugins/pagerduty/models/migrationscripts/20230605_remove_scope_config.go b/backend/plugins/pagerduty/models/migrationscripts/20230605_remove_scope_config.go
index 37cf3bd..b3526cf 100644
--- a/backend/plugins/pagerduty/models/migrationscripts/20230605_remove_scope_config.go
+++ b/backend/plugins/pagerduty/models/migrationscripts/20230605_remove_scope_config.go
@@ -18,8 +18,8 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
)
type removeScopeConfig struct {
diff --git a/backend/plugins/pagerduty/models/migrationscripts/20230630_add_raw_param_table_for_scopes.go b/backend/plugins/pagerduty/models/migrationscripts/20230630_add_raw_param_table_for_scopes.go
index 3cba2e1..5723abb 100644
--- a/backend/plugins/pagerduty/models/migrationscripts/20230630_add_raw_param_table_for_scopes.go
+++ b/backend/plugins/pagerduty/models/migrationscripts/20230630_add_raw_param_table_for_scopes.go
@@ -21,11 +21,11 @@
"encoding/json"
"fmt"
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/migrationhelper"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/migrationhelper"
)
var _ plugin.MigrationScript = (*addRawParamTableForScope)(nil)
diff --git a/backend/plugins/pagerduty/models/migrationscripts/20230920_add_incident_priority.go b/backend/plugins/pagerduty/models/migrationscripts/20230920_add_incident_priority.go
index dc19e81..760b484 100644
--- a/backend/plugins/pagerduty/models/migrationscripts/20230920_add_incident_priority.go
+++ b/backend/plugins/pagerduty/models/migrationscripts/20230920_add_incident_priority.go
@@ -18,9 +18,9 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/helpers/migrationhelper"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/helpers/migrationhelper"
)
type addIncidentPriority struct {
diff --git a/backend/plugins/pagerduty/models/migrationscripts/20231214_add_tool_pagerduty_scope_configs.go b/backend/plugins/pagerduty/models/migrationscripts/20231214_add_tool_pagerduty_scope_configs.go
index 0b3f532..f697f6b 100644
--- a/backend/plugins/pagerduty/models/migrationscripts/20231214_add_tool_pagerduty_scope_configs.go
+++ b/backend/plugins/pagerduty/models/migrationscripts/20231214_add_tool_pagerduty_scope_configs.go
@@ -18,11 +18,11 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/models/migrationscripts/archived"
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
)
var _ plugin.MigrationScript = (*addPagerDutyScopeConfig20231214)(nil)
diff --git a/backend/plugins/pagerduty/models/migrationscripts/20240614_add_new_fields_to_tool_pagerduty_scope_configs.go b/backend/plugins/pagerduty/models/migrationscripts/20240614_add_new_fields_to_tool_pagerduty_scope_configs.go
index df66601..84a2812 100644
--- a/backend/plugins/pagerduty/models/migrationscripts/20240614_add_new_fields_to_tool_pagerduty_scope_configs.go
+++ b/backend/plugins/pagerduty/models/migrationscripts/20240614_add_new_fields_to_tool_pagerduty_scope_configs.go
@@ -18,9 +18,9 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
)
var _ plugin.MigrationScript = (*addPagerDutyScopeConfig20240614)(nil)
diff --git a/backend/plugins/pagerduty/models/migrationscripts/archived/assignment.go b/backend/plugins/pagerduty/models/migrationscripts/archived/assignment.go
index 144405d..7ca39aa 100644
--- a/backend/plugins/pagerduty/models/migrationscripts/archived/assignment.go
+++ b/backend/plugins/pagerduty/models/migrationscripts/archived/assignment.go
@@ -20,7 +20,7 @@
import (
"time"
- "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/models/migrationscripts/archived"
)
type Assignment struct {
diff --git a/backend/plugins/pagerduty/models/migrationscripts/archived/connection.go b/backend/plugins/pagerduty/models/migrationscripts/archived/connection.go
index 562179e..3828f71 100644
--- a/backend/plugins/pagerduty/models/migrationscripts/archived/connection.go
+++ b/backend/plugins/pagerduty/models/migrationscripts/archived/connection.go
@@ -18,7 +18,7 @@
package archived
import (
- "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/models/migrationscripts/archived"
)
type Connection struct {
diff --git a/backend/plugins/pagerduty/models/migrationscripts/archived/incident.go b/backend/plugins/pagerduty/models/migrationscripts/archived/incident.go
index 632dd86..f92f0e1 100644
--- a/backend/plugins/pagerduty/models/migrationscripts/archived/incident.go
+++ b/backend/plugins/pagerduty/models/migrationscripts/archived/incident.go
@@ -20,7 +20,7 @@
import (
"time"
- "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/models/migrationscripts/archived"
)
type Incident struct {
diff --git a/backend/plugins/pagerduty/models/migrationscripts/archived/service.go b/backend/plugins/pagerduty/models/migrationscripts/archived/service.go
index 5d7af2c..f399bf3 100644
--- a/backend/plugins/pagerduty/models/migrationscripts/archived/service.go
+++ b/backend/plugins/pagerduty/models/migrationscripts/archived/service.go
@@ -18,7 +18,7 @@
package archived
import (
- "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/models/migrationscripts/archived"
)
type (
diff --git a/backend/plugins/pagerduty/models/migrationscripts/archived/transformation_rules.go b/backend/plugins/pagerduty/models/migrationscripts/archived/transformation_rules.go
index 97de363..d7b29b2 100644
--- a/backend/plugins/pagerduty/models/migrationscripts/archived/transformation_rules.go
+++ b/backend/plugins/pagerduty/models/migrationscripts/archived/transformation_rules.go
@@ -18,7 +18,7 @@
package archived
import (
- "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/models/migrationscripts/archived"
)
type TransformationRules struct {
diff --git a/backend/plugins/pagerduty/models/migrationscripts/archived/user.go b/backend/plugins/pagerduty/models/migrationscripts/archived/user.go
index a98b8f5..6121a2d 100644
--- a/backend/plugins/pagerduty/models/migrationscripts/archived/user.go
+++ b/backend/plugins/pagerduty/models/migrationscripts/archived/user.go
@@ -17,7 +17,7 @@
package archived
-import "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
+import "github.com/apache/devlake/core/models/migrationscripts/archived"
type User struct {
archived.NoPKModel
diff --git a/backend/plugins/pagerduty/models/migrationscripts/register.go b/backend/plugins/pagerduty/models/migrationscripts/register.go
index a186f8c..4d5d2b9 100644
--- a/backend/plugins/pagerduty/models/migrationscripts/register.go
+++ b/backend/plugins/pagerduty/models/migrationscripts/register.go
@@ -18,7 +18,7 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/plugin"
+ "github.com/apache/devlake/core/plugin"
)
// All return all the migration scripts
diff --git a/backend/plugins/pagerduty/models/scope_config.go b/backend/plugins/pagerduty/models/scope_config.go
index 6d4a89d..18d937d 100644
--- a/backend/plugins/pagerduty/models/scope_config.go
+++ b/backend/plugins/pagerduty/models/scope_config.go
@@ -18,7 +18,7 @@
package models
import (
- "github.com/apache/incubator-devlake/core/models/common"
+ "github.com/apache/devlake/core/models/common"
)
type PagerdutyScopeConfig struct {
diff --git a/backend/plugins/pagerduty/models/service.go b/backend/plugins/pagerduty/models/service.go
index 868f1f5..249c66e 100644
--- a/backend/plugins/pagerduty/models/service.go
+++ b/backend/plugins/pagerduty/models/service.go
@@ -18,8 +18,8 @@
package models
import (
- "github.com/apache/incubator-devlake/core/models/common"
- "github.com/apache/incubator-devlake/core/plugin"
+ "github.com/apache/devlake/core/models/common"
+ "github.com/apache/devlake/core/plugin"
)
type PagerDutyParams struct {
diff --git a/backend/plugins/pagerduty/models/user.go b/backend/plugins/pagerduty/models/user.go
index 36799df..4b00dfc 100644
--- a/backend/plugins/pagerduty/models/user.go
+++ b/backend/plugins/pagerduty/models/user.go
@@ -18,7 +18,7 @@
package models
import (
- "github.com/apache/incubator-devlake/core/models/common"
+ "github.com/apache/devlake/core/models/common"
)
type User struct {
diff --git a/backend/plugins/pagerduty/pager_duty.go b/backend/plugins/pagerduty/pager_duty.go
index 34145fb..394afd5 100644
--- a/backend/plugins/pagerduty/pager_duty.go
+++ b/backend/plugins/pagerduty/pager_duty.go
@@ -18,8 +18,8 @@
package main
import (
- "github.com/apache/incubator-devlake/core/runner"
- "github.com/apache/incubator-devlake/plugins/pagerduty/impl"
+ "github.com/apache/devlake/core/runner"
+ "github.com/apache/devlake/plugins/pagerduty/impl"
"github.com/spf13/cobra"
)
diff --git a/backend/plugins/pagerduty/tasks/incidents_collector.go b/backend/plugins/pagerduty/tasks/incidents_collector.go
index 91068bf..81cc204 100644
--- a/backend/plugins/pagerduty/tasks/incidents_collector.go
+++ b/backend/plugins/pagerduty/tasks/incidents_collector.go
@@ -25,11 +25,11 @@
"reflect"
"time"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/pagerduty/models"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/pagerduty/models"
)
const RAW_INCIDENTS_TABLE = "pagerduty_incidents"
diff --git a/backend/plugins/pagerduty/tasks/incidents_converter.go b/backend/plugins/pagerduty/tasks/incidents_converter.go
index c84924f..dee8d32 100644
--- a/backend/plugins/pagerduty/tasks/incidents_converter.go
+++ b/backend/plugins/pagerduty/tasks/incidents_converter.go
@@ -22,15 +22,15 @@
"reflect"
"time"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/common"
- "github.com/apache/incubator-devlake/core/models/domainlayer"
- "github.com/apache/incubator-devlake/core/models/domainlayer/didgen"
- "github.com/apache/incubator-devlake/core/models/domainlayer/ticket"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/pagerduty/models"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/common"
+ "github.com/apache/devlake/core/models/domainlayer"
+ "github.com/apache/devlake/core/models/domainlayer/didgen"
+ "github.com/apache/devlake/core/models/domainlayer/ticket"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/pagerduty/models"
)
var ConvertIncidentsMeta = plugin.SubTaskMeta{
diff --git a/backend/plugins/pagerduty/tasks/incidents_extractor.go b/backend/plugins/pagerduty/tasks/incidents_extractor.go
index fb3617d..335fdc2 100644
--- a/backend/plugins/pagerduty/tasks/incidents_extractor.go
+++ b/backend/plugins/pagerduty/tasks/incidents_extractor.go
@@ -20,12 +20,12 @@
import (
"encoding/json"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/common"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/pagerduty/models"
- "github.com/apache/incubator-devlake/plugins/pagerduty/models/raw"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/common"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/pagerduty/models"
+ "github.com/apache/devlake/plugins/pagerduty/models/raw"
)
var _ plugin.SubTaskEntryPoint = ExtractIncidents
diff --git a/backend/plugins/pagerduty/tasks/service_converter.go b/backend/plugins/pagerduty/tasks/service_converter.go
index 4a6fca4..b56945e 100644
--- a/backend/plugins/pagerduty/tasks/service_converter.go
+++ b/backend/plugins/pagerduty/tasks/service_converter.go
@@ -18,14 +18,14 @@
package tasks
import (
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/domainlayer"
- "github.com/apache/incubator-devlake/core/models/domainlayer/didgen"
- "github.com/apache/incubator-devlake/core/models/domainlayer/ticket"
- "github.com/apache/incubator-devlake/core/plugin"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/pagerduty/models"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/domainlayer"
+ "github.com/apache/devlake/core/models/domainlayer/didgen"
+ "github.com/apache/devlake/core/models/domainlayer/ticket"
+ "github.com/apache/devlake/core/plugin"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/pagerduty/models"
"reflect"
)
diff --git a/backend/plugins/pagerduty/tasks/task_data.go b/backend/plugins/pagerduty/tasks/task_data.go
index 814e42c..e86481d 100644
--- a/backend/plugins/pagerduty/tasks/task_data.go
+++ b/backend/plugins/pagerduty/tasks/task_data.go
@@ -18,9 +18,9 @@
package tasks
import (
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/pagerduty/models"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/pagerduty/models"
)
type PagerDutyOptions struct {
diff --git a/backend/plugins/refdiff/api/connection.go b/backend/plugins/refdiff/api/connection.go
index 09291c6..06cec1e 100644
--- a/backend/plugins/refdiff/api/connection.go
+++ b/backend/plugins/refdiff/api/connection.go
@@ -18,8 +18,8 @@
package api
import (
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
"net/http"
)
diff --git a/backend/plugins/refdiff/e2e/deployment_commit_diff_test.go b/backend/plugins/refdiff/e2e/deployment_commit_diff_test.go
index 3cf598d..27a2098 100644
--- a/backend/plugins/refdiff/e2e/deployment_commit_diff_test.go
+++ b/backend/plugins/refdiff/e2e/deployment_commit_diff_test.go
@@ -20,13 +20,13 @@
import (
"testing"
- "github.com/apache/incubator-devlake/core/models/domainlayer/code"
- "github.com/apache/incubator-devlake/core/models/domainlayer/crossdomain"
- "github.com/apache/incubator-devlake/core/models/domainlayer/devops"
- "github.com/apache/incubator-devlake/helpers/e2ehelper"
- "github.com/apache/incubator-devlake/plugins/refdiff/impl"
- "github.com/apache/incubator-devlake/plugins/refdiff/models"
- "github.com/apache/incubator-devlake/plugins/refdiff/tasks"
+ "github.com/apache/devlake/core/models/domainlayer/code"
+ "github.com/apache/devlake/core/models/domainlayer/crossdomain"
+ "github.com/apache/devlake/core/models/domainlayer/devops"
+ "github.com/apache/devlake/helpers/e2ehelper"
+ "github.com/apache/devlake/plugins/refdiff/impl"
+ "github.com/apache/devlake/plugins/refdiff/models"
+ "github.com/apache/devlake/plugins/refdiff/tasks"
)
func TestDeploymentCommitDiffDataFlow(t *testing.T) {
diff --git a/backend/plugins/refdiff/impl/impl.go b/backend/plugins/refdiff/impl/impl.go
index b5572f6..963a344 100644
--- a/backend/plugins/refdiff/impl/impl.go
+++ b/backend/plugins/refdiff/impl/impl.go
@@ -18,12 +18,12 @@
package impl
import (
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/refdiff/models"
- "github.com/apache/incubator-devlake/plugins/refdiff/tasks"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/refdiff/models"
+ "github.com/apache/devlake/plugins/refdiff/tasks"
)
// make sure interface is implemented
@@ -104,7 +104,7 @@
// RootPkgPath information lost when compiled as plugin(.so)
func (p RefDiff) RootPkgPath() string {
- return "github.com/apache/incubator-devlake/plugins/refdiff"
+ return "github.com/apache/devlake/plugins/refdiff"
}
func (p RefDiff) ApiResources() map[string]map[string]plugin.ApiResourceHandler {
diff --git a/backend/plugins/refdiff/refdiff.go b/backend/plugins/refdiff/refdiff.go
index 0f2f50f..4667cd3 100644
--- a/backend/plugins/refdiff/refdiff.go
+++ b/backend/plugins/refdiff/refdiff.go
@@ -18,8 +18,8 @@
package main
import (
- "github.com/apache/incubator-devlake/core/runner"
- "github.com/apache/incubator-devlake/plugins/refdiff/impl"
+ "github.com/apache/devlake/core/runner"
+ "github.com/apache/devlake/plugins/refdiff/impl"
"github.com/spf13/cobra"
)
diff --git a/backend/plugins/refdiff/tasks/commit_diff_calculator.go b/backend/plugins/refdiff/tasks/commit_diff_calculator.go
index bfc1415..5e6ac9f 100644
--- a/backend/plugins/refdiff/tasks/commit_diff_calculator.go
+++ b/backend/plugins/refdiff/tasks/commit_diff_calculator.go
@@ -21,12 +21,12 @@
"fmt"
"reflect"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/domainlayer/code"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/plugins/refdiff/models"
- "github.com/apache/incubator-devlake/plugins/refdiff/utils"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/domainlayer/code"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/plugins/refdiff/models"
+ "github.com/apache/devlake/plugins/refdiff/utils"
)
func CalculateCommitsDiff(taskCtx plugin.SubTaskContext) errors.Error {
diff --git a/backend/plugins/refdiff/tasks/deployment_commit_diff_calculator.go b/backend/plugins/refdiff/tasks/deployment_commit_diff_calculator.go
index 0887f89..3f23851 100644
--- a/backend/plugins/refdiff/tasks/deployment_commit_diff_calculator.go
+++ b/backend/plugins/refdiff/tasks/deployment_commit_diff_calculator.go
@@ -21,13 +21,13 @@
"context"
"reflect"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/domainlayer/code"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/refdiff/models"
- "github.com/apache/incubator-devlake/plugins/refdiff/utils"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/domainlayer/code"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/refdiff/models"
+ "github.com/apache/devlake/plugins/refdiff/utils"
)
var CalculateDeploymentCommitsDiffMeta = plugin.SubTaskMeta{
diff --git a/backend/plugins/refdiff/tasks/ref_issue_diff_calculator.go b/backend/plugins/refdiff/tasks/ref_issue_diff_calculator.go
index ba5100e..e038566 100644
--- a/backend/plugins/refdiff/tasks/ref_issue_diff_calculator.go
+++ b/backend/plugins/refdiff/tasks/ref_issue_diff_calculator.go
@@ -21,12 +21,12 @@
"fmt"
"reflect"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/domainlayer/crossdomain"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/refdiff/models"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/domainlayer/crossdomain"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/refdiff/models"
)
// CaculatePairList Calculate the pair list both from Options.Pairs and TagPattern
diff --git a/backend/plugins/refdiff/tasks/refdiff_task_data.go b/backend/plugins/refdiff/tasks/refdiff_task_data.go
index c4bc074..a50c576 100644
--- a/backend/plugins/refdiff/tasks/refdiff_task_data.go
+++ b/backend/plugins/refdiff/tasks/refdiff_task_data.go
@@ -24,10 +24,10 @@
"strings"
"time"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/domainlayer/code"
- "github.com/apache/incubator-devlake/plugins/refdiff/models"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/domainlayer/code"
+ "github.com/apache/devlake/plugins/refdiff/models"
)
type RefdiffTaskData struct {
diff --git a/backend/plugins/refdiff/tasks/refs_pr_cherry_pick_calculator.go b/backend/plugins/refdiff/tasks/refs_pr_cherry_pick_calculator.go
index a3242cd..5ffd11b 100644
--- a/backend/plugins/refdiff/tasks/refs_pr_cherry_pick_calculator.go
+++ b/backend/plugins/refdiff/tasks/refs_pr_cherry_pick_calculator.go
@@ -18,10 +18,10 @@
package tasks
import (
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/domainlayer/code"
- "github.com/apache/incubator-devlake/core/plugin"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/domainlayer/code"
+ "github.com/apache/devlake/core/plugin"
"regexp"
"strconv"
"strings"
diff --git a/backend/plugins/rootly/api/blueprint_v200.go b/backend/plugins/rootly/api/blueprint_v200.go
index 9871bef..d2cd7a2 100644
--- a/backend/plugins/rootly/api/blueprint_v200.go
+++ b/backend/plugins/rootly/api/blueprint_v200.go
@@ -18,16 +18,16 @@
package api
import (
- "github.com/apache/incubator-devlake/core/errors"
- coreModels "github.com/apache/incubator-devlake/core/models"
- "github.com/apache/incubator-devlake/core/models/domainlayer/didgen"
- "github.com/apache/incubator-devlake/core/models/domainlayer/ticket"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/core/utils"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/helpers/srvhelper"
- "github.com/apache/incubator-devlake/plugins/rootly/models"
- "github.com/apache/incubator-devlake/plugins/rootly/tasks"
+ "github.com/apache/devlake/core/errors"
+ coreModels "github.com/apache/devlake/core/models"
+ "github.com/apache/devlake/core/models/domainlayer/didgen"
+ "github.com/apache/devlake/core/models/domainlayer/ticket"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/core/utils"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/helpers/srvhelper"
+ "github.com/apache/devlake/plugins/rootly/models"
+ "github.com/apache/devlake/plugins/rootly/tasks"
)
func MakeDataSourcePipelinePlanV200(
diff --git a/backend/plugins/rootly/api/connection_api.go b/backend/plugins/rootly/api/connection_api.go
index 3fb3660..ebf6045 100644
--- a/backend/plugins/rootly/api/connection_api.go
+++ b/backend/plugins/rootly/api/connection_api.go
@@ -21,10 +21,10 @@
"context"
"net/http"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/rootly/models"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/rootly/models"
)
func testConnection(ctx context.Context, connection models.RootlyConn) (*plugin.ApiResourceOutput, errors.Error) {
diff --git a/backend/plugins/rootly/api/init.go b/backend/plugins/rootly/api/init.go
index 3c16101..0a9bf08 100644
--- a/backend/plugins/rootly/api/init.go
+++ b/backend/plugins/rootly/api/init.go
@@ -18,10 +18,10 @@
package api
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/rootly/models"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/rootly/models"
"github.com/go-playground/validator/v10"
)
diff --git a/backend/plugins/rootly/api/remote_api.go b/backend/plugins/rootly/api/remote_api.go
index 0bb81ce..30263b5 100644
--- a/backend/plugins/rootly/api/remote_api.go
+++ b/backend/plugins/rootly/api/remote_api.go
@@ -23,13 +23,13 @@
"strconv"
"time"
- "github.com/apache/incubator-devlake/core/models/common"
+ "github.com/apache/devlake/core/models/common"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- dsmodels "github.com/apache/incubator-devlake/helpers/pluginhelper/api/models"
- "github.com/apache/incubator-devlake/plugins/rootly/models"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ dsmodels "github.com/apache/devlake/helpers/pluginhelper/api/models"
+ "github.com/apache/devlake/plugins/rootly/models"
)
type RootlyRemotePagination struct {
diff --git a/backend/plugins/rootly/api/scope_api.go b/backend/plugins/rootly/api/scope_api.go
index ef86334..bba7f7a 100644
--- a/backend/plugins/rootly/api/scope_api.go
+++ b/backend/plugins/rootly/api/scope_api.go
@@ -18,10 +18,10 @@
package api
import (
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/rootly/models"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/rootly/models"
)
type PutScopesReqBody api.PutScopesReqBody[models.Service]
diff --git a/backend/plugins/rootly/api/scope_state_api.go b/backend/plugins/rootly/api/scope_state_api.go
index 01be7dc..936bb28 100644
--- a/backend/plugins/rootly/api/scope_state_api.go
+++ b/backend/plugins/rootly/api/scope_state_api.go
@@ -18,8 +18,8 @@
package api
import (
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
)
// GetScopeLatestSyncState get one rootly service's latest sync state
diff --git a/backend/plugins/rootly/api/swagger.go b/backend/plugins/rootly/api/swagger.go
index aa60b93..0fb24dd 100644
--- a/backend/plugins/rootly/api/swagger.go
+++ b/backend/plugins/rootly/api/swagger.go
@@ -18,7 +18,7 @@
package api
import (
- "github.com/apache/incubator-devlake/plugins/rootly/tasks"
+ "github.com/apache/devlake/plugins/rootly/tasks"
)
type RootlyTaskOptions tasks.RootlyOptions
diff --git a/backend/plugins/rootly/e2e/incident_test.go b/backend/plugins/rootly/e2e/incident_test.go
index 15cc1d3..67c6d66 100644
--- a/backend/plugins/rootly/e2e/incident_test.go
+++ b/backend/plugins/rootly/e2e/incident_test.go
@@ -21,12 +21,12 @@
"fmt"
"testing"
- "github.com/apache/incubator-devlake/core/models/common"
- "github.com/apache/incubator-devlake/core/models/domainlayer/ticket"
- "github.com/apache/incubator-devlake/helpers/e2ehelper"
- "github.com/apache/incubator-devlake/plugins/rootly/impl"
- "github.com/apache/incubator-devlake/plugins/rootly/models"
- "github.com/apache/incubator-devlake/plugins/rootly/tasks"
+ "github.com/apache/devlake/core/models/common"
+ "github.com/apache/devlake/core/models/domainlayer/ticket"
+ "github.com/apache/devlake/helpers/e2ehelper"
+ "github.com/apache/devlake/plugins/rootly/impl"
+ "github.com/apache/devlake/plugins/rootly/models"
+ "github.com/apache/devlake/plugins/rootly/tasks"
"github.com/stretchr/testify/require"
)
diff --git a/backend/plugins/rootly/impl/impl.go b/backend/plugins/rootly/impl/impl.go
index 296bd6e..4ee03b4 100644
--- a/backend/plugins/rootly/impl/impl.go
+++ b/backend/plugins/rootly/impl/impl.go
@@ -20,16 +20,16 @@
import (
"fmt"
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- coreModels "github.com/apache/incubator-devlake/core/models"
- "github.com/apache/incubator-devlake/core/plugin"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/rootly/api"
- "github.com/apache/incubator-devlake/plugins/rootly/models"
- "github.com/apache/incubator-devlake/plugins/rootly/models/migrationscripts"
- "github.com/apache/incubator-devlake/plugins/rootly/tasks"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ coreModels "github.com/apache/devlake/core/models"
+ "github.com/apache/devlake/core/plugin"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/rootly/api"
+ "github.com/apache/devlake/plugins/rootly/models"
+ "github.com/apache/devlake/plugins/rootly/models/migrationscripts"
+ "github.com/apache/devlake/plugins/rootly/tasks"
)
// make sure interface is implemented
@@ -129,7 +129,7 @@
// RootPkgPath information lost when compiled as plugin(.so)
func (p Rootly) RootPkgPath() string {
- return "github.com/apache/incubator-devlake/plugins/rootly"
+ return "github.com/apache/devlake/plugins/rootly"
}
func (p Rootly) MigrationScripts() []plugin.MigrationScript {
diff --git a/backend/plugins/rootly/models/connection.go b/backend/plugins/rootly/models/connection.go
index 898d154..b0979a6 100644
--- a/backend/plugins/rootly/models/connection.go
+++ b/backend/plugins/rootly/models/connection.go
@@ -21,9 +21,9 @@
"fmt"
"net/http"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/utils"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/utils"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
)
type RootlyAccessToken helper.AccessToken
diff --git a/backend/plugins/rootly/models/incident.go b/backend/plugins/rootly/models/incident.go
index 804ed64..683a840 100644
--- a/backend/plugins/rootly/models/incident.go
+++ b/backend/plugins/rootly/models/incident.go
@@ -20,7 +20,7 @@
import (
"time"
- "github.com/apache/incubator-devlake/core/models/common"
+ "github.com/apache/devlake/core/models/common"
)
type Incident struct {
diff --git a/backend/plugins/rootly/models/migrationscripts/20260512_add_init_tables.go b/backend/plugins/rootly/models/migrationscripts/20260512_add_init_tables.go
index ec4ee5f..519568f 100644
--- a/backend/plugins/rootly/models/migrationscripts/20260512_add_init_tables.go
+++ b/backend/plugins/rootly/models/migrationscripts/20260512_add_init_tables.go
@@ -18,10 +18,10 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/helpers/migrationhelper"
- "github.com/apache/incubator-devlake/plugins/rootly/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/helpers/migrationhelper"
+ "github.com/apache/devlake/plugins/rootly/models/migrationscripts/archived"
)
type addInitTables struct{}
diff --git a/backend/plugins/rootly/models/migrationscripts/archived/connection.go b/backend/plugins/rootly/models/migrationscripts/archived/connection.go
index 5bfd1ad..6872e62 100644
--- a/backend/plugins/rootly/models/migrationscripts/archived/connection.go
+++ b/backend/plugins/rootly/models/migrationscripts/archived/connection.go
@@ -18,7 +18,7 @@
package archived
import (
- "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/models/migrationscripts/archived"
)
type Connection struct {
diff --git a/backend/plugins/rootly/models/migrationscripts/archived/incident.go b/backend/plugins/rootly/models/migrationscripts/archived/incident.go
index b787b8c..afee3b9 100644
--- a/backend/plugins/rootly/models/migrationscripts/archived/incident.go
+++ b/backend/plugins/rootly/models/migrationscripts/archived/incident.go
@@ -20,7 +20,7 @@
import (
"time"
- "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/models/migrationscripts/archived"
)
type Incident struct {
diff --git a/backend/plugins/rootly/models/migrationscripts/archived/scope_config.go b/backend/plugins/rootly/models/migrationscripts/archived/scope_config.go
index 4438c38..f60cd77 100644
--- a/backend/plugins/rootly/models/migrationscripts/archived/scope_config.go
+++ b/backend/plugins/rootly/models/migrationscripts/archived/scope_config.go
@@ -18,7 +18,7 @@
package archived
import (
- "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/models/migrationscripts/archived"
)
// ConnectionId and Name come from `common.ScopeConfig` on the live
diff --git a/backend/plugins/rootly/models/migrationscripts/archived/service.go b/backend/plugins/rootly/models/migrationscripts/archived/service.go
index 821b9ea..e368d3d 100644
--- a/backend/plugins/rootly/models/migrationscripts/archived/service.go
+++ b/backend/plugins/rootly/models/migrationscripts/archived/service.go
@@ -18,7 +18,7 @@
package archived
import (
- "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/models/migrationscripts/archived"
)
// ScopeConfigId mirrors the column that live `models.Service` gets via
diff --git a/backend/plugins/rootly/models/migrationscripts/archived/user.go b/backend/plugins/rootly/models/migrationscripts/archived/user.go
index d16851d..8731213 100644
--- a/backend/plugins/rootly/models/migrationscripts/archived/user.go
+++ b/backend/plugins/rootly/models/migrationscripts/archived/user.go
@@ -17,7 +17,7 @@
package archived
-import "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
+import "github.com/apache/devlake/core/models/migrationscripts/archived"
type User struct {
archived.NoPKModel
diff --git a/backend/plugins/rootly/models/migrationscripts/register.go b/backend/plugins/rootly/models/migrationscripts/register.go
index d333899..81d207b 100644
--- a/backend/plugins/rootly/models/migrationscripts/register.go
+++ b/backend/plugins/rootly/models/migrationscripts/register.go
@@ -18,7 +18,7 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/plugin"
+ "github.com/apache/devlake/core/plugin"
)
// All returns all the migration scripts for the rootly plugin
diff --git a/backend/plugins/rootly/models/scope_config.go b/backend/plugins/rootly/models/scope_config.go
index e292655..8e9e3f7 100644
--- a/backend/plugins/rootly/models/scope_config.go
+++ b/backend/plugins/rootly/models/scope_config.go
@@ -18,7 +18,7 @@
package models
import (
- "github.com/apache/incubator-devlake/core/models/common"
+ "github.com/apache/devlake/core/models/common"
)
type RootlyScopeConfig struct {
diff --git a/backend/plugins/rootly/models/service.go b/backend/plugins/rootly/models/service.go
index 317cfe9..da0aa50 100644
--- a/backend/plugins/rootly/models/service.go
+++ b/backend/plugins/rootly/models/service.go
@@ -18,8 +18,8 @@
package models
import (
- "github.com/apache/incubator-devlake/core/models/common"
- "github.com/apache/incubator-devlake/core/plugin"
+ "github.com/apache/devlake/core/models/common"
+ "github.com/apache/devlake/core/plugin"
)
type RootlyParams struct {
diff --git a/backend/plugins/rootly/models/user.go b/backend/plugins/rootly/models/user.go
index 4bf2543..0e17252 100644
--- a/backend/plugins/rootly/models/user.go
+++ b/backend/plugins/rootly/models/user.go
@@ -17,7 +17,7 @@
package models
-import "github.com/apache/incubator-devlake/core/models/common"
+import "github.com/apache/devlake/core/models/common"
type User struct {
common.NoPKModel
diff --git a/backend/plugins/rootly/rootly.go b/backend/plugins/rootly/rootly.go
index c1bb7d5..62d093c 100644
--- a/backend/plugins/rootly/rootly.go
+++ b/backend/plugins/rootly/rootly.go
@@ -18,8 +18,8 @@
package main
import (
- "github.com/apache/incubator-devlake/core/runner"
- "github.com/apache/incubator-devlake/plugins/rootly/impl"
+ "github.com/apache/devlake/core/runner"
+ "github.com/apache/devlake/plugins/rootly/impl"
"github.com/spf13/cobra"
)
diff --git a/backend/plugins/rootly/tasks/incidents_collector.go b/backend/plugins/rootly/tasks/incidents_collector.go
index 6528012..c4770dd 100644
--- a/backend/plugins/rootly/tasks/incidents_collector.go
+++ b/backend/plugins/rootly/tasks/incidents_collector.go
@@ -24,9 +24,9 @@
"net/url"
"time"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
)
const RAW_INCIDENTS_TABLE = "rootly_incidents"
diff --git a/backend/plugins/rootly/tasks/incidents_converter.go b/backend/plugins/rootly/tasks/incidents_converter.go
index daba86f..72e1e8b 100644
--- a/backend/plugins/rootly/tasks/incidents_converter.go
+++ b/backend/plugins/rootly/tasks/incidents_converter.go
@@ -23,14 +23,14 @@
"strings"
"time"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/domainlayer"
- "github.com/apache/incubator-devlake/core/models/domainlayer/didgen"
- "github.com/apache/incubator-devlake/core/models/domainlayer/ticket"
- "github.com/apache/incubator-devlake/core/plugin"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/rootly/models"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/domainlayer"
+ "github.com/apache/devlake/core/models/domainlayer/didgen"
+ "github.com/apache/devlake/core/models/domainlayer/ticket"
+ "github.com/apache/devlake/core/plugin"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/rootly/models"
)
var _ plugin.SubTaskEntryPoint = ConvertIncidents
diff --git a/backend/plugins/rootly/tasks/incidents_converter_test.go b/backend/plugins/rootly/tasks/incidents_converter_test.go
index 422f719..ea264cd 100644
--- a/backend/plugins/rootly/tasks/incidents_converter_test.go
+++ b/backend/plugins/rootly/tasks/incidents_converter_test.go
@@ -24,8 +24,8 @@
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
- "github.com/apache/incubator-devlake/core/models/domainlayer/ticket"
- "github.com/apache/incubator-devlake/plugins/rootly/models"
+ "github.com/apache/devlake/core/models/domainlayer/ticket"
+ "github.com/apache/devlake/plugins/rootly/models"
)
func TestMapStatus(t *testing.T) {
diff --git a/backend/plugins/rootly/tasks/incidents_extractor.go b/backend/plugins/rootly/tasks/incidents_extractor.go
index 3e812e2..39778c3 100644
--- a/backend/plugins/rootly/tasks/incidents_extractor.go
+++ b/backend/plugins/rootly/tasks/incidents_extractor.go
@@ -20,11 +20,11 @@
import (
"encoding/json"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/rootly/models"
- "github.com/apache/incubator-devlake/plugins/rootly/models/raw"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/rootly/models"
+ "github.com/apache/devlake/plugins/rootly/models/raw"
)
var _ plugin.SubTaskEntryPoint = ExtractIncidents
diff --git a/backend/plugins/rootly/tasks/incidents_extractor_test.go b/backend/plugins/rootly/tasks/incidents_extractor_test.go
index cba3410..4a77b34 100644
--- a/backend/plugins/rootly/tasks/incidents_extractor_test.go
+++ b/backend/plugins/rootly/tasks/incidents_extractor_test.go
@@ -24,7 +24,7 @@
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
- "github.com/apache/incubator-devlake/plugins/rootly/models"
+ "github.com/apache/devlake/plugins/rootly/models"
)
const baseHappyPathActive = `{
diff --git a/backend/plugins/rootly/tasks/service_converter.go b/backend/plugins/rootly/tasks/service_converter.go
index be5e890..17d4baa 100644
--- a/backend/plugins/rootly/tasks/service_converter.go
+++ b/backend/plugins/rootly/tasks/service_converter.go
@@ -20,14 +20,14 @@
import (
"reflect"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/domainlayer"
- "github.com/apache/incubator-devlake/core/models/domainlayer/didgen"
- "github.com/apache/incubator-devlake/core/models/domainlayer/ticket"
- "github.com/apache/incubator-devlake/core/plugin"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/rootly/models"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/domainlayer"
+ "github.com/apache/devlake/core/models/domainlayer/didgen"
+ "github.com/apache/devlake/core/models/domainlayer/ticket"
+ "github.com/apache/devlake/core/plugin"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/rootly/models"
)
var ConvertServicesMeta = plugin.SubTaskMeta{
diff --git a/backend/plugins/rootly/tasks/services_collector.go b/backend/plugins/rootly/tasks/services_collector.go
index 9800b47..c895303 100644
--- a/backend/plugins/rootly/tasks/services_collector.go
+++ b/backend/plugins/rootly/tasks/services_collector.go
@@ -21,9 +21,9 @@
"encoding/json"
"net/http"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
)
const RAW_SERVICES_TABLE = "rootly_services"
diff --git a/backend/plugins/rootly/tasks/services_extractor.go b/backend/plugins/rootly/tasks/services_extractor.go
index bc5cea0..f797a9f 100644
--- a/backend/plugins/rootly/tasks/services_extractor.go
+++ b/backend/plugins/rootly/tasks/services_extractor.go
@@ -20,12 +20,12 @@
import (
"encoding/json"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/rootly/models"
- "github.com/apache/incubator-devlake/plugins/rootly/models/raw"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/rootly/models"
+ "github.com/apache/devlake/plugins/rootly/models/raw"
)
var _ plugin.SubTaskEntryPoint = ExtractServices
diff --git a/backend/plugins/rootly/tasks/task_data.go b/backend/plugins/rootly/tasks/task_data.go
index c530d1d..4a4116b 100644
--- a/backend/plugins/rootly/tasks/task_data.go
+++ b/backend/plugins/rootly/tasks/task_data.go
@@ -18,9 +18,9 @@
package tasks
import (
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/rootly/models"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/rootly/models"
)
type RootlyOptions struct {
diff --git a/backend/plugins/schema_e2e/migration_schema_test.go b/backend/plugins/schema_e2e/migration_schema_test.go
index c03d864..ae1392b 100644
--- a/backend/plugins/schema_e2e/migration_schema_test.go
+++ b/backend/plugins/schema_e2e/migration_schema_test.go
@@ -32,63 +32,63 @@
"sync"
"testing"
- "github.com/apache/incubator-devlake/core/config"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/migration"
- coreMigration "github.com/apache/incubator-devlake/core/models/migrationscripts"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/core/runner"
- "github.com/apache/incubator-devlake/helpers/e2ehelper"
- "github.com/apache/incubator-devlake/impls/dalgorm"
- "github.com/apache/incubator-devlake/impls/logruslog"
+ "github.com/apache/devlake/core/config"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/migration"
+ coreMigration "github.com/apache/devlake/core/models/migrationscripts"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/core/runner"
+ "github.com/apache/devlake/helpers/e2ehelper"
+ "github.com/apache/devlake/impls/dalgorm"
+ "github.com/apache/devlake/impls/logruslog"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
"gorm.io/gorm/schema"
- ae "github.com/apache/incubator-devlake/plugins/ae/impl"
- argocd "github.com/apache/incubator-devlake/plugins/argocd/impl"
- asana "github.com/apache/incubator-devlake/plugins/asana/impl"
- azuredevops "github.com/apache/incubator-devlake/plugins/azuredevops_go/impl"
- bamboo "github.com/apache/incubator-devlake/plugins/bamboo/impl"
- bitbucket "github.com/apache/incubator-devlake/plugins/bitbucket/impl"
- bitbucket_server "github.com/apache/incubator-devlake/plugins/bitbucket_server/impl"
- circleci "github.com/apache/incubator-devlake/plugins/circleci/impl"
- claudeCode "github.com/apache/incubator-devlake/plugins/claude_code/impl"
- clickup "github.com/apache/incubator-devlake/plugins/clickup/impl"
- cursor "github.com/apache/incubator-devlake/plugins/cursor/impl"
- customize "github.com/apache/incubator-devlake/plugins/customize/impl"
- dora "github.com/apache/incubator-devlake/plugins/dora/impl"
- feishu "github.com/apache/incubator-devlake/plugins/feishu/impl"
- copilot "github.com/apache/incubator-devlake/plugins/gh-copilot/impl"
- gitee "github.com/apache/incubator-devlake/plugins/gitee/impl"
- gitextractor "github.com/apache/incubator-devlake/plugins/gitextractor/impl"
- github "github.com/apache/incubator-devlake/plugins/github/impl"
- githubGraphql "github.com/apache/incubator-devlake/plugins/github_graphql/impl"
- gitlab "github.com/apache/incubator-devlake/plugins/gitlab/impl"
- icla "github.com/apache/incubator-devlake/plugins/icla/impl"
- incidentio "github.com/apache/incubator-devlake/plugins/incidentio/impl"
- issueTrace "github.com/apache/incubator-devlake/plugins/issue_trace/impl"
- jenkins "github.com/apache/incubator-devlake/plugins/jenkins/impl"
- jira "github.com/apache/incubator-devlake/plugins/jira/impl"
- kiro "github.com/apache/incubator-devlake/plugins/kiro/impl"
- linear "github.com/apache/incubator-devlake/plugins/linear/impl"
- linker "github.com/apache/incubator-devlake/plugins/linker/impl"
- opsgenie "github.com/apache/incubator-devlake/plugins/opsgenie/impl"
- org "github.com/apache/incubator-devlake/plugins/org/impl"
- pagerduty "github.com/apache/incubator-devlake/plugins/pagerduty/impl"
- refdiff "github.com/apache/incubator-devlake/plugins/refdiff/impl"
- rootly "github.com/apache/incubator-devlake/plugins/rootly/impl"
- slack "github.com/apache/incubator-devlake/plugins/slack/impl"
- sonarqube "github.com/apache/incubator-devlake/plugins/sonarqube/impl"
- starrocks "github.com/apache/incubator-devlake/plugins/starrocks/impl"
- taiga "github.com/apache/incubator-devlake/plugins/taiga/impl"
- tapd "github.com/apache/incubator-devlake/plugins/tapd/impl"
- teambition "github.com/apache/incubator-devlake/plugins/teambition/impl"
- tempo "github.com/apache/incubator-devlake/plugins/tempo/impl"
- testmo "github.com/apache/incubator-devlake/plugins/testmo/impl"
- trello "github.com/apache/incubator-devlake/plugins/trello/impl"
- webhook "github.com/apache/incubator-devlake/plugins/webhook/impl"
- zentao "github.com/apache/incubator-devlake/plugins/zentao/impl"
+ ae "github.com/apache/devlake/plugins/ae/impl"
+ argocd "github.com/apache/devlake/plugins/argocd/impl"
+ asana "github.com/apache/devlake/plugins/asana/impl"
+ azuredevops "github.com/apache/devlake/plugins/azuredevops_go/impl"
+ bamboo "github.com/apache/devlake/plugins/bamboo/impl"
+ bitbucket "github.com/apache/devlake/plugins/bitbucket/impl"
+ bitbucket_server "github.com/apache/devlake/plugins/bitbucket_server/impl"
+ circleci "github.com/apache/devlake/plugins/circleci/impl"
+ claudeCode "github.com/apache/devlake/plugins/claude_code/impl"
+ clickup "github.com/apache/devlake/plugins/clickup/impl"
+ cursor "github.com/apache/devlake/plugins/cursor/impl"
+ customize "github.com/apache/devlake/plugins/customize/impl"
+ dora "github.com/apache/devlake/plugins/dora/impl"
+ feishu "github.com/apache/devlake/plugins/feishu/impl"
+ copilot "github.com/apache/devlake/plugins/gh-copilot/impl"
+ gitee "github.com/apache/devlake/plugins/gitee/impl"
+ gitextractor "github.com/apache/devlake/plugins/gitextractor/impl"
+ github "github.com/apache/devlake/plugins/github/impl"
+ githubGraphql "github.com/apache/devlake/plugins/github_graphql/impl"
+ gitlab "github.com/apache/devlake/plugins/gitlab/impl"
+ icla "github.com/apache/devlake/plugins/icla/impl"
+ incidentio "github.com/apache/devlake/plugins/incidentio/impl"
+ issueTrace "github.com/apache/devlake/plugins/issue_trace/impl"
+ jenkins "github.com/apache/devlake/plugins/jenkins/impl"
+ jira "github.com/apache/devlake/plugins/jira/impl"
+ kiro "github.com/apache/devlake/plugins/kiro/impl"
+ linear "github.com/apache/devlake/plugins/linear/impl"
+ linker "github.com/apache/devlake/plugins/linker/impl"
+ opsgenie "github.com/apache/devlake/plugins/opsgenie/impl"
+ org "github.com/apache/devlake/plugins/org/impl"
+ pagerduty "github.com/apache/devlake/plugins/pagerduty/impl"
+ refdiff "github.com/apache/devlake/plugins/refdiff/impl"
+ rootly "github.com/apache/devlake/plugins/rootly/impl"
+ slack "github.com/apache/devlake/plugins/slack/impl"
+ sonarqube "github.com/apache/devlake/plugins/sonarqube/impl"
+ starrocks "github.com/apache/devlake/plugins/starrocks/impl"
+ taiga "github.com/apache/devlake/plugins/taiga/impl"
+ tapd "github.com/apache/devlake/plugins/tapd/impl"
+ teambition "github.com/apache/devlake/plugins/teambition/impl"
+ tempo "github.com/apache/devlake/plugins/tempo/impl"
+ testmo "github.com/apache/devlake/plugins/testmo/impl"
+ trello "github.com/apache/devlake/plugins/trello/impl"
+ webhook "github.com/apache/devlake/plugins/webhook/impl"
+ zentao "github.com/apache/devlake/plugins/zentao/impl"
)
// allGoPlugins lists EVERY built-in Go plugin. Keep it in sync with the plugin
diff --git a/backend/plugins/schema_e2e/migration_upgrade_path_test.go b/backend/plugins/schema_e2e/migration_upgrade_path_test.go
index 60c8de4..428ae4e 100644
--- a/backend/plugins/schema_e2e/migration_upgrade_path_test.go
+++ b/backend/plugins/schema_e2e/migration_upgrade_path_test.go
@@ -21,23 +21,23 @@
"fmt"
"testing"
- "github.com/apache/incubator-devlake/core/config"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/core/runner"
- "github.com/apache/incubator-devlake/helpers/e2ehelper"
- "github.com/apache/incubator-devlake/impls/dalgorm"
- "github.com/apache/incubator-devlake/impls/logruslog"
+ "github.com/apache/devlake/core/config"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/core/runner"
+ "github.com/apache/devlake/helpers/e2ehelper"
+ "github.com/apache/devlake/impls/dalgorm"
+ "github.com/apache/devlake/impls/logruslog"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
"gorm.io/gorm"
- copilotimpl "github.com/apache/incubator-devlake/plugins/gh-copilot/impl"
- jiraimpl "github.com/apache/incubator-devlake/plugins/jira/impl"
- taigaimpl "github.com/apache/incubator-devlake/plugins/taiga/impl"
- teambitionimpl "github.com/apache/incubator-devlake/plugins/teambition/impl"
- testmoimpl "github.com/apache/incubator-devlake/plugins/testmo/impl"
+ copilotimpl "github.com/apache/devlake/plugins/gh-copilot/impl"
+ jiraimpl "github.com/apache/devlake/plugins/jira/impl"
+ taigaimpl "github.com/apache/devlake/plugins/taiga/impl"
+ teambitionimpl "github.com/apache/devlake/plugins/teambition/impl"
+ testmoimpl "github.com/apache/devlake/plugins/testmo/impl"
)
// ----------------------------------------------------------------------------
diff --git a/backend/plugins/slack/api/blueprint_v200.go b/backend/plugins/slack/api/blueprint_v200.go
index 8c1c30f..8267851 100644
--- a/backend/plugins/slack/api/blueprint_v200.go
+++ b/backend/plugins/slack/api/blueprint_v200.go
@@ -18,11 +18,11 @@
package api
import (
- "github.com/apache/incubator-devlake/core/errors"
- coreModels "github.com/apache/incubator-devlake/core/models"
- "github.com/apache/incubator-devlake/core/plugin"
- helperapi "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/slack/tasks"
+ "github.com/apache/devlake/core/errors"
+ coreModels "github.com/apache/devlake/core/models"
+ "github.com/apache/devlake/core/plugin"
+ helperapi "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/slack/tasks"
)
func MakeDataSourcePipelinePlanV200(
diff --git a/backend/plugins/slack/api/connection.go b/backend/plugins/slack/api/connection.go
index afa5cb3..0cbffeb 100644
--- a/backend/plugins/slack/api/connection.go
+++ b/backend/plugins/slack/api/connection.go
@@ -21,12 +21,12 @@
"context"
"net/http"
- "github.com/apache/incubator-devlake/server/api/shared"
+ "github.com/apache/devlake/server/api/shared"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/slack/models"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/slack/models"
)
type SlackTestConnResponse struct {
diff --git a/backend/plugins/slack/api/init.go b/backend/plugins/slack/api/init.go
index 7d2e0de..04a240b 100644
--- a/backend/plugins/slack/api/init.go
+++ b/backend/plugins/slack/api/init.go
@@ -18,11 +18,11 @@
package api
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/helpers/srvhelper"
- "github.com/apache/incubator-devlake/plugins/slack/models"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/helpers/srvhelper"
+ "github.com/apache/devlake/plugins/slack/models"
"github.com/go-playground/validator/v10"
)
diff --git a/backend/plugins/slack/api/remote_api.go b/backend/plugins/slack/api/remote_api.go
index 273f360..378d418 100644
--- a/backend/plugins/slack/api/remote_api.go
+++ b/backend/plugins/slack/api/remote_api.go
@@ -23,11 +23,11 @@
"strconv"
"strings"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- dsmodels "github.com/apache/incubator-devlake/helpers/pluginhelper/api/models"
- "github.com/apache/incubator-devlake/plugins/slack/models"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
+ dsmodels "github.com/apache/devlake/helpers/pluginhelper/api/models"
+ "github.com/apache/devlake/plugins/slack/models"
)
type SlackRemotePagination struct {
diff --git a/backend/plugins/slack/api/scope_api.go b/backend/plugins/slack/api/scope_api.go
index 68a264c..41b81f3 100644
--- a/backend/plugins/slack/api/scope_api.go
+++ b/backend/plugins/slack/api/scope_api.go
@@ -18,11 +18,11 @@
package api
import (
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/helpers/srvhelper"
- "github.com/apache/incubator-devlake/plugins/slack/models"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/helpers/srvhelper"
+ "github.com/apache/devlake/plugins/slack/models"
)
type PutScopesReqBody api.PutScopesReqBody[models.SlackChannel]
diff --git a/backend/plugins/slack/api/scope_state_api.go b/backend/plugins/slack/api/scope_state_api.go
index df8136e..9f6a9a9 100644
--- a/backend/plugins/slack/api/scope_state_api.go
+++ b/backend/plugins/slack/api/scope_state_api.go
@@ -18,8 +18,8 @@
package api
import (
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
)
// GetScopeLatestSyncState get one Slack channel's latest sync state
diff --git a/backend/plugins/slack/impl/impl.go b/backend/plugins/slack/impl/impl.go
index 47eb308..516ff42 100644
--- a/backend/plugins/slack/impl/impl.go
+++ b/backend/plugins/slack/impl/impl.go
@@ -20,17 +20,17 @@
import (
"fmt"
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/dal"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- coreModels "github.com/apache/incubator-devlake/core/models"
- "github.com/apache/incubator-devlake/core/plugin"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/slack/api"
- "github.com/apache/incubator-devlake/plugins/slack/models"
- "github.com/apache/incubator-devlake/plugins/slack/models/migrationscripts"
- "github.com/apache/incubator-devlake/plugins/slack/tasks"
+ "github.com/apache/devlake/core/errors"
+ coreModels "github.com/apache/devlake/core/models"
+ "github.com/apache/devlake/core/plugin"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/slack/api"
+ "github.com/apache/devlake/plugins/slack/models"
+ "github.com/apache/devlake/plugins/slack/models/migrationscripts"
+ "github.com/apache/devlake/plugins/slack/tasks"
)
var _ interface {
@@ -122,7 +122,7 @@
}
func (p Slack) RootPkgPath() string {
- return "github.com/apache/incubator-devlake/plugins/slack"
+ return "github.com/apache/devlake/plugins/slack"
}
func (p Slack) MigrationScripts() []plugin.MigrationScript {
diff --git a/backend/plugins/slack/models/channel.go b/backend/plugins/slack/models/channel.go
index edad51c..880077a 100644
--- a/backend/plugins/slack/models/channel.go
+++ b/backend/plugins/slack/models/channel.go
@@ -18,8 +18,8 @@
package models
import (
- "github.com/apache/incubator-devlake/core/models/common"
- "github.com/apache/incubator-devlake/core/plugin"
+ "github.com/apache/devlake/core/models/common"
+ "github.com/apache/devlake/core/plugin"
)
type SlackChannel struct {
diff --git a/backend/plugins/slack/models/channel_message.go b/backend/plugins/slack/models/channel_message.go
index 7e93b56..2c0a1a4 100644
--- a/backend/plugins/slack/models/channel_message.go
+++ b/backend/plugins/slack/models/channel_message.go
@@ -18,7 +18,7 @@
package models
import (
- "github.com/apache/incubator-devlake/core/models/common"
+ "github.com/apache/devlake/core/models/common"
)
type SlackChannelMessage struct {
diff --git a/backend/plugins/slack/models/connection.go b/backend/plugins/slack/models/connection.go
index 1808aa6..f80fa3d 100644
--- a/backend/plugins/slack/models/connection.go
+++ b/backend/plugins/slack/models/connection.go
@@ -18,8 +18,8 @@
package models
import (
- "github.com/apache/incubator-devlake/core/utils"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/core/utils"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
)
// SlackConn holds the essential information to connect to the Slack API
diff --git a/backend/plugins/slack/models/migrationscripts/20230421_add_init_tables.go b/backend/plugins/slack/models/migrationscripts/20230421_add_init_tables.go
index 21e3229..09e2edd 100644
--- a/backend/plugins/slack/models/migrationscripts/20230421_add_init_tables.go
+++ b/backend/plugins/slack/models/migrationscripts/20230421_add_init_tables.go
@@ -18,11 +18,11 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/migrationhelper"
- "github.com/apache/incubator-devlake/plugins/slack/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/migrationhelper"
+ "github.com/apache/devlake/plugins/slack/models/migrationscripts/archived"
)
type addInitTables struct {
diff --git a/backend/plugins/slack/models/migrationscripts/20250826_add_scope_config_id_to_channel.go b/backend/plugins/slack/models/migrationscripts/20250826_add_scope_config_id_to_channel.go
index 1d0bc95..80f9111 100644
--- a/backend/plugins/slack/models/migrationscripts/20250826_add_scope_config_id_to_channel.go
+++ b/backend/plugins/slack/models/migrationscripts/20250826_add_scope_config_id_to_channel.go
@@ -18,10 +18,10 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/migrationhelper"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/migrationhelper"
)
var _ plugin.MigrationScript = (*addScopeConfigIdToSlackChannel)(nil)
diff --git a/backend/plugins/slack/models/migrationscripts/archived/channel.go b/backend/plugins/slack/models/migrationscripts/archived/channel.go
index c747529..468cab3 100644
--- a/backend/plugins/slack/models/migrationscripts/archived/channel.go
+++ b/backend/plugins/slack/models/migrationscripts/archived/channel.go
@@ -18,7 +18,7 @@
package archived
import (
- "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/models/migrationscripts/archived"
)
type SlackChannel struct {
diff --git a/backend/plugins/slack/models/migrationscripts/archived/channel_message.go b/backend/plugins/slack/models/migrationscripts/archived/channel_message.go
index a58b24b..c8cfd0f 100644
--- a/backend/plugins/slack/models/migrationscripts/archived/channel_message.go
+++ b/backend/plugins/slack/models/migrationscripts/archived/channel_message.go
@@ -18,7 +18,7 @@
package archived
import (
- "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/models/migrationscripts/archived"
)
type SlackChannelMessage struct {
diff --git a/backend/plugins/slack/models/migrationscripts/archived/connection.go b/backend/plugins/slack/models/migrationscripts/archived/connection.go
index 8a6806d..b24b27e 100644
--- a/backend/plugins/slack/models/migrationscripts/archived/connection.go
+++ b/backend/plugins/slack/models/migrationscripts/archived/connection.go
@@ -18,7 +18,7 @@
package archived
import (
- commonArchived "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
+ commonArchived "github.com/apache/devlake/core/models/migrationscripts/archived"
)
type SlackConnection struct {
diff --git a/backend/plugins/slack/models/migrationscripts/register.go b/backend/plugins/slack/models/migrationscripts/register.go
index d00f39a..e74d807 100644
--- a/backend/plugins/slack/models/migrationscripts/register.go
+++ b/backend/plugins/slack/models/migrationscripts/register.go
@@ -18,7 +18,7 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/plugin"
+ "github.com/apache/devlake/core/plugin"
)
// All return all the migration scripts
diff --git a/backend/plugins/slack/slack.go b/backend/plugins/slack/slack.go
index a396cd0..b76449d 100644
--- a/backend/plugins/slack/slack.go
+++ b/backend/plugins/slack/slack.go
@@ -18,8 +18,8 @@
package main
import (
- "github.com/apache/incubator-devlake/core/runner"
- "github.com/apache/incubator-devlake/plugins/slack/impl"
+ "github.com/apache/devlake/core/runner"
+ "github.com/apache/devlake/plugins/slack/impl"
"github.com/spf13/cobra"
)
diff --git a/backend/plugins/slack/tasks/api_client.go b/backend/plugins/slack/tasks/api_client.go
index 8652596..d0f24aa 100644
--- a/backend/plugins/slack/tasks/api_client.go
+++ b/backend/plugins/slack/tasks/api_client.go
@@ -18,10 +18,10 @@
package tasks
import (
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/slack/models"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/slack/models"
)
func NewSlackApiClient(taskCtx plugin.TaskContext, connection *models.SlackConnection) (*api.ApiAsyncClient, errors.Error) {
diff --git a/backend/plugins/slack/tasks/channel_collector.go b/backend/plugins/slack/tasks/channel_collector.go
index d2a6f76..a935f4f 100644
--- a/backend/plugins/slack/tasks/channel_collector.go
+++ b/backend/plugins/slack/tasks/channel_collector.go
@@ -19,10 +19,10 @@
import (
"encoding/json"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/slack/apimodels"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/slack/apimodels"
"net/http"
"net/url"
"strconv"
diff --git a/backend/plugins/slack/tasks/channel_extractor.go b/backend/plugins/slack/tasks/channel_extractor.go
index 2374ba0..721f7c8 100644
--- a/backend/plugins/slack/tasks/channel_extractor.go
+++ b/backend/plugins/slack/tasks/channel_extractor.go
@@ -19,10 +19,10 @@
import (
"encoding/json"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/slack/models"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/slack/models"
)
var _ plugin.SubTaskEntryPoint = ExtractChannel
diff --git a/backend/plugins/slack/tasks/channel_message_collector.go b/backend/plugins/slack/tasks/channel_message_collector.go
index 98bc346..d65b4a2 100644
--- a/backend/plugins/slack/tasks/channel_message_collector.go
+++ b/backend/plugins/slack/tasks/channel_message_collector.go
@@ -23,10 +23,10 @@
"net/url"
"strconv"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/slack/apimodels"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/slack/apimodels"
)
const RAW_CHANNEL_MESSAGE_TABLE = "slack_channel_message"
diff --git a/backend/plugins/slack/tasks/channel_message_extractor.go b/backend/plugins/slack/tasks/channel_message_extractor.go
index 690fc56..d8bcfe3 100644
--- a/backend/plugins/slack/tasks/channel_message_extractor.go
+++ b/backend/plugins/slack/tasks/channel_message_extractor.go
@@ -20,11 +20,11 @@
import (
"encoding/json"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/slack/apimodels"
- "github.com/apache/incubator-devlake/plugins/slack/models"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/slack/apimodels"
+ "github.com/apache/devlake/plugins/slack/models"
)
var _ plugin.SubTaskEntryPoint = ExtractChannelMessage
diff --git a/backend/plugins/slack/tasks/task_data.go b/backend/plugins/slack/tasks/task_data.go
index a3366f0..fe8cb51 100644
--- a/backend/plugins/slack/tasks/task_data.go
+++ b/backend/plugins/slack/tasks/task_data.go
@@ -18,7 +18,7 @@
package tasks
import (
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
)
type SlackApiParams struct {
diff --git a/backend/plugins/slack/tasks/thread_collector.go b/backend/plugins/slack/tasks/thread_collector.go
index 5c88a74..45c2614 100644
--- a/backend/plugins/slack/tasks/thread_collector.go
+++ b/backend/plugins/slack/tasks/thread_collector.go
@@ -24,11 +24,11 @@
"reflect"
"strconv"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/slack/apimodels"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/slack/apimodels"
)
const RAW_THREAD_TABLE = "slack_thread"
diff --git a/backend/plugins/slack/tasks/thread_extractor.go b/backend/plugins/slack/tasks/thread_extractor.go
index 3e2bb66..21582ca 100644
--- a/backend/plugins/slack/tasks/thread_extractor.go
+++ b/backend/plugins/slack/tasks/thread_extractor.go
@@ -20,11 +20,11 @@
import (
"encoding/json"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/slack/apimodels"
- "github.com/apache/incubator-devlake/plugins/slack/models"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/slack/apimodels"
+ "github.com/apache/devlake/plugins/slack/models"
)
var _ plugin.SubTaskEntryPoint = ExtractThread
diff --git a/backend/plugins/sonarqube/api/blueprint_v200.go b/backend/plugins/sonarqube/api/blueprint_v200.go
index ba3b5ee..332d957 100644
--- a/backend/plugins/sonarqube/api/blueprint_v200.go
+++ b/backend/plugins/sonarqube/api/blueprint_v200.go
@@ -23,16 +23,16 @@
"net/http"
"net/url"
- "github.com/apache/incubator-devlake/core/errors"
- coreModels "github.com/apache/incubator-devlake/core/models"
- "github.com/apache/incubator-devlake/core/models/domainlayer"
- "github.com/apache/incubator-devlake/core/models/domainlayer/codequality"
- "github.com/apache/incubator-devlake/core/models/domainlayer/didgen"
- "github.com/apache/incubator-devlake/core/plugin"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/helpers/srvhelper"
- "github.com/apache/incubator-devlake/plugins/sonarqube/models"
- "github.com/apache/incubator-devlake/plugins/sonarqube/tasks"
+ "github.com/apache/devlake/core/errors"
+ coreModels "github.com/apache/devlake/core/models"
+ "github.com/apache/devlake/core/models/domainlayer"
+ "github.com/apache/devlake/core/models/domainlayer/codequality"
+ "github.com/apache/devlake/core/models/domainlayer/didgen"
+ "github.com/apache/devlake/core/plugin"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/helpers/srvhelper"
+ "github.com/apache/devlake/plugins/sonarqube/models"
+ "github.com/apache/devlake/plugins/sonarqube/tasks"
)
func MakeDataSourcePipelinePlanV200(
diff --git a/backend/plugins/sonarqube/api/connection_api.go b/backend/plugins/sonarqube/api/connection_api.go
index d387e5d..0595076 100644
--- a/backend/plugins/sonarqube/api/connection_api.go
+++ b/backend/plugins/sonarqube/api/connection_api.go
@@ -22,11 +22,11 @@
"fmt"
"net/http"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/sonarqube/models"
- "github.com/apache/incubator-devlake/server/api/shared"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/sonarqube/models"
+ "github.com/apache/devlake/server/api/shared"
)
type validation struct {
diff --git a/backend/plugins/sonarqube/api/init.go b/backend/plugins/sonarqube/api/init.go
index 9d3ca84..ba43c14 100644
--- a/backend/plugins/sonarqube/api/init.go
+++ b/backend/plugins/sonarqube/api/init.go
@@ -18,11 +18,11 @@
package api
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/helpers/srvhelper"
- "github.com/apache/incubator-devlake/plugins/sonarqube/models"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/helpers/srvhelper"
+ "github.com/apache/devlake/plugins/sonarqube/models"
"github.com/go-playground/validator/v10"
)
diff --git a/backend/plugins/sonarqube/api/remote_api.go b/backend/plugins/sonarqube/api/remote_api.go
index 02ca0f3..f8a9c87 100644
--- a/backend/plugins/sonarqube/api/remote_api.go
+++ b/backend/plugins/sonarqube/api/remote_api.go
@@ -22,11 +22,11 @@
"net/url"
"strings"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- dsmodels "github.com/apache/incubator-devlake/helpers/pluginhelper/api/models"
- "github.com/apache/incubator-devlake/plugins/sonarqube/models"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ dsmodels "github.com/apache/devlake/helpers/pluginhelper/api/models"
+ "github.com/apache/devlake/plugins/sonarqube/models"
)
type SonarqubeRemotePagination struct {
diff --git a/backend/plugins/sonarqube/api/scope_api.go b/backend/plugins/sonarqube/api/scope_api.go
index 2e7b46f..22bfa83 100644
--- a/backend/plugins/sonarqube/api/scope_api.go
+++ b/backend/plugins/sonarqube/api/scope_api.go
@@ -18,12 +18,12 @@
package api
import (
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/common"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/helpers/srvhelper"
- "github.com/apache/incubator-devlake/plugins/sonarqube/models"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/common"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/helpers/srvhelper"
+ "github.com/apache/devlake/plugins/sonarqube/models"
)
type PutScopesReqBody api.PutScopesReqBody[models.SonarqubeProject]
diff --git a/backend/plugins/sonarqube/api/scope_state_api.go b/backend/plugins/sonarqube/api/scope_state_api.go
index cad95de..45d497e 100644
--- a/backend/plugins/sonarqube/api/scope_state_api.go
+++ b/backend/plugins/sonarqube/api/scope_state_api.go
@@ -18,8 +18,8 @@
package api
import (
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
)
// GetScopeLatestSyncState get one sonarqube project's latest sync state
diff --git a/backend/plugins/sonarqube/e2e/account_test.go b/backend/plugins/sonarqube/e2e/account_test.go
index add755e..9d85fd7 100644
--- a/backend/plugins/sonarqube/e2e/account_test.go
+++ b/backend/plugins/sonarqube/e2e/account_test.go
@@ -21,12 +21,12 @@
"testing"
"time"
- "github.com/apache/incubator-devlake/core/models/common"
- "github.com/apache/incubator-devlake/core/models/domainlayer/crossdomain"
- "github.com/apache/incubator-devlake/helpers/e2ehelper"
- "github.com/apache/incubator-devlake/plugins/sonarqube/impl"
- "github.com/apache/incubator-devlake/plugins/sonarqube/models"
- "github.com/apache/incubator-devlake/plugins/sonarqube/tasks"
+ "github.com/apache/devlake/core/models/common"
+ "github.com/apache/devlake/core/models/domainlayer/crossdomain"
+ "github.com/apache/devlake/helpers/e2ehelper"
+ "github.com/apache/devlake/plugins/sonarqube/impl"
+ "github.com/apache/devlake/plugins/sonarqube/models"
+ "github.com/apache/devlake/plugins/sonarqube/tasks"
)
func TestSonarqubeAccountDataFlow(t *testing.T) {
diff --git a/backend/plugins/sonarqube/e2e/filemetrics_test.go b/backend/plugins/sonarqube/e2e/filemetrics_test.go
index 488ec5f..df9af24 100644
--- a/backend/plugins/sonarqube/e2e/filemetrics_test.go
+++ b/backend/plugins/sonarqube/e2e/filemetrics_test.go
@@ -19,12 +19,12 @@
"testing"
"time"
- "github.com/apache/incubator-devlake/core/models/common"
- "github.com/apache/incubator-devlake/core/models/domainlayer/codequality"
- "github.com/apache/incubator-devlake/helpers/e2ehelper"
- "github.com/apache/incubator-devlake/plugins/sonarqube/impl"
- "github.com/apache/incubator-devlake/plugins/sonarqube/models"
- "github.com/apache/incubator-devlake/plugins/sonarqube/tasks"
+ "github.com/apache/devlake/core/models/common"
+ "github.com/apache/devlake/core/models/domainlayer/codequality"
+ "github.com/apache/devlake/helpers/e2ehelper"
+ "github.com/apache/devlake/plugins/sonarqube/impl"
+ "github.com/apache/devlake/plugins/sonarqube/models"
+ "github.com/apache/devlake/plugins/sonarqube/tasks"
)
func TestSonarqubeFileMetricsDataFlow(t *testing.T) {
diff --git a/backend/plugins/sonarqube/e2e/hotspot_test.go b/backend/plugins/sonarqube/e2e/hotspot_test.go
index 8a73fd2..9250596 100644
--- a/backend/plugins/sonarqube/e2e/hotspot_test.go
+++ b/backend/plugins/sonarqube/e2e/hotspot_test.go
@@ -19,12 +19,12 @@
"testing"
"time"
- "github.com/apache/incubator-devlake/core/models/common"
- "github.com/apache/incubator-devlake/core/models/domainlayer/codequality"
- "github.com/apache/incubator-devlake/helpers/e2ehelper"
- "github.com/apache/incubator-devlake/plugins/sonarqube/impl"
- "github.com/apache/incubator-devlake/plugins/sonarqube/models"
- "github.com/apache/incubator-devlake/plugins/sonarqube/tasks"
+ "github.com/apache/devlake/core/models/common"
+ "github.com/apache/devlake/core/models/domainlayer/codequality"
+ "github.com/apache/devlake/helpers/e2ehelper"
+ "github.com/apache/devlake/plugins/sonarqube/impl"
+ "github.com/apache/devlake/plugins/sonarqube/models"
+ "github.com/apache/devlake/plugins/sonarqube/tasks"
)
func TestSonarqubeHotspotDataFlow(t *testing.T) {
diff --git a/backend/plugins/sonarqube/e2e/issue_code_block_long_component_test.go b/backend/plugins/sonarqube/e2e/issue_code_block_long_component_test.go
index 5eecac7..b127095 100644
--- a/backend/plugins/sonarqube/e2e/issue_code_block_long_component_test.go
+++ b/backend/plugins/sonarqube/e2e/issue_code_block_long_component_test.go
@@ -22,17 +22,17 @@
"testing"
"time"
- "github.com/apache/incubator-devlake/core/models/common"
- "github.com/apache/incubator-devlake/core/models/domainlayer"
- "github.com/apache/incubator-devlake/core/models/domainlayer/codequality"
- coremigrations "github.com/apache/incubator-devlake/core/models/migrationscripts"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/e2ehelper"
- implcontext "github.com/apache/incubator-devlake/impls/context"
- "github.com/apache/incubator-devlake/plugins/sonarqube/impl"
- "github.com/apache/incubator-devlake/plugins/sonarqube/models"
- sonarqubemigrations "github.com/apache/incubator-devlake/plugins/sonarqube/models/migrationscripts"
- "github.com/apache/incubator-devlake/plugins/sonarqube/tasks"
+ "github.com/apache/devlake/core/models/common"
+ "github.com/apache/devlake/core/models/domainlayer"
+ "github.com/apache/devlake/core/models/domainlayer/codequality"
+ coremigrations "github.com/apache/devlake/core/models/migrationscripts"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/e2ehelper"
+ implcontext "github.com/apache/devlake/impls/context"
+ "github.com/apache/devlake/plugins/sonarqube/impl"
+ "github.com/apache/devlake/plugins/sonarqube/models"
+ sonarqubemigrations "github.com/apache/devlake/plugins/sonarqube/models/migrationscripts"
+ "github.com/apache/devlake/plugins/sonarqube/tasks"
"github.com/stretchr/testify/require"
)
diff --git a/backend/plugins/sonarqube/e2e/issue_test.go b/backend/plugins/sonarqube/e2e/issue_test.go
index 66875de..444157a 100644
--- a/backend/plugins/sonarqube/e2e/issue_test.go
+++ b/backend/plugins/sonarqube/e2e/issue_test.go
@@ -19,12 +19,12 @@
"testing"
"time"
- "github.com/apache/incubator-devlake/core/models/common"
- "github.com/apache/incubator-devlake/core/models/domainlayer/codequality"
- "github.com/apache/incubator-devlake/helpers/e2ehelper"
- "github.com/apache/incubator-devlake/plugins/sonarqube/impl"
- "github.com/apache/incubator-devlake/plugins/sonarqube/models"
- "github.com/apache/incubator-devlake/plugins/sonarqube/tasks"
+ "github.com/apache/devlake/core/models/common"
+ "github.com/apache/devlake/core/models/domainlayer/codequality"
+ "github.com/apache/devlake/helpers/e2ehelper"
+ "github.com/apache/devlake/plugins/sonarqube/impl"
+ "github.com/apache/devlake/plugins/sonarqube/models"
+ "github.com/apache/devlake/plugins/sonarqube/tasks"
)
func TestSonarqubeIssueDataFlow(t *testing.T) {
diff --git a/backend/plugins/sonarqube/e2e/project_test.go b/backend/plugins/sonarqube/e2e/project_test.go
index e3dc8fc..510ddc3 100644
--- a/backend/plugins/sonarqube/e2e/project_test.go
+++ b/backend/plugins/sonarqube/e2e/project_test.go
@@ -21,12 +21,12 @@
"testing"
"time"
- "github.com/apache/incubator-devlake/core/models/common"
- "github.com/apache/incubator-devlake/core/models/domainlayer/codequality"
- "github.com/apache/incubator-devlake/helpers/e2ehelper"
- "github.com/apache/incubator-devlake/plugins/sonarqube/impl"
- "github.com/apache/incubator-devlake/plugins/sonarqube/models"
- "github.com/apache/incubator-devlake/plugins/sonarqube/tasks"
+ "github.com/apache/devlake/core/models/common"
+ "github.com/apache/devlake/core/models/domainlayer/codequality"
+ "github.com/apache/devlake/helpers/e2ehelper"
+ "github.com/apache/devlake/plugins/sonarqube/impl"
+ "github.com/apache/devlake/plugins/sonarqube/models"
+ "github.com/apache/devlake/plugins/sonarqube/tasks"
)
func TestSonarqubeProjectDataFlow(t *testing.T) {
diff --git a/backend/plugins/sonarqube/impl/impl.go b/backend/plugins/sonarqube/impl/impl.go
index 85ee668..86c16ab 100644
--- a/backend/plugins/sonarqube/impl/impl.go
+++ b/backend/plugins/sonarqube/impl/impl.go
@@ -21,19 +21,19 @@
"fmt"
"time"
- coreModels "github.com/apache/incubator-devlake/core/models"
+ coreModels "github.com/apache/devlake/core/models"
- "github.com/apache/incubator-devlake/core/dal"
+ "github.com/apache/devlake/core/dal"
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/sonarqube/api"
- "github.com/apache/incubator-devlake/plugins/sonarqube/models"
- "github.com/apache/incubator-devlake/plugins/sonarqube/models/migrationscripts"
- "github.com/apache/incubator-devlake/plugins/sonarqube/tasks"
+ "github.com/apache/devlake/plugins/sonarqube/api"
+ "github.com/apache/devlake/plugins/sonarqube/models"
+ "github.com/apache/devlake/plugins/sonarqube/models/migrationscripts"
+ "github.com/apache/devlake/plugins/sonarqube/tasks"
)
// make sure interface is implemented
@@ -165,7 +165,7 @@
// RootPkgPath information lost when compiled as plugin(.so)
func (p Sonarqube) RootPkgPath() string {
- return "github.com/apache/incubator-devlake/plugins/sonarqube"
+ return "github.com/apache/devlake/plugins/sonarqube"
}
func (p Sonarqube) MigrationScripts() []plugin.MigrationScript {
diff --git a/backend/plugins/sonarqube/models/connection.go b/backend/plugins/sonarqube/models/connection.go
index 0bbe124..eecd7c0 100644
--- a/backend/plugins/sonarqube/models/connection.go
+++ b/backend/plugins/sonarqube/models/connection.go
@@ -23,11 +23,11 @@
"net/http"
"strings"
- "github.com/apache/incubator-devlake/core/utils"
+ "github.com/apache/devlake/core/utils"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
)
const (
diff --git a/backend/plugins/sonarqube/models/connection_test.go b/backend/plugins/sonarqube/models/connection_test.go
index e92284a..eeb2bb5 100644
--- a/backend/plugins/sonarqube/models/connection_test.go
+++ b/backend/plugins/sonarqube/models/connection_test.go
@@ -20,7 +20,7 @@
import (
"testing"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
)
func TestValidateUserTokenPrefix(t *testing.T) {
diff --git a/backend/plugins/sonarqube/models/migrationscripts/20230227_add_init_tables.go b/backend/plugins/sonarqube/models/migrationscripts/20230227_add_init_tables.go
index 56de727..fb54609 100644
--- a/backend/plugins/sonarqube/models/migrationscripts/20230227_add_init_tables.go
+++ b/backend/plugins/sonarqube/models/migrationscripts/20230227_add_init_tables.go
@@ -18,10 +18,10 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/helpers/migrationhelper"
- "github.com/apache/incubator-devlake/plugins/sonarqube/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/helpers/migrationhelper"
+ "github.com/apache/devlake/plugins/sonarqube/models/migrationscripts/archived"
)
type addInitTables struct{}
diff --git a/backend/plugins/sonarqube/models/migrationscripts/20230316_modify_character_set.go b/backend/plugins/sonarqube/models/migrationscripts/20230316_modify_character_set.go
index b1f62cd..b0080e0 100644
--- a/backend/plugins/sonarqube/models/migrationscripts/20230316_modify_character_set.go
+++ b/backend/plugins/sonarqube/models/migrationscripts/20230316_modify_character_set.go
@@ -18,8 +18,8 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
)
type modifyCharacterSet struct{}
diff --git a/backend/plugins/sonarqube/models/migrationscripts/20230321_expend_project_key.go b/backend/plugins/sonarqube/models/migrationscripts/20230321_expend_project_key.go
index 721136e..8904b28 100644
--- a/backend/plugins/sonarqube/models/migrationscripts/20230321_expend_project_key.go
+++ b/backend/plugins/sonarqube/models/migrationscripts/20230321_expend_project_key.go
@@ -20,10 +20,10 @@
import (
"time"
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
- "github.com/apache/incubator-devlake/helpers/migrationhelper"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/helpers/migrationhelper"
)
type SonarqubeProject20230206Before struct {
diff --git a/backend/plugins/sonarqube/models/migrationscripts/20230630_add_raw_param_table_for_scopes.go b/backend/plugins/sonarqube/models/migrationscripts/20230630_add_raw_param_table_for_scopes.go
index da9f22d..b36524d 100644
--- a/backend/plugins/sonarqube/models/migrationscripts/20230630_add_raw_param_table_for_scopes.go
+++ b/backend/plugins/sonarqube/models/migrationscripts/20230630_add_raw_param_table_for_scopes.go
@@ -21,11 +21,11 @@
"encoding/json"
"fmt"
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/migrationhelper"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/migrationhelper"
)
var _ plugin.MigrationScript = (*addRawParamTableForScope)(nil)
diff --git a/backend/plugins/sonarqube/models/migrationscripts/20230922_add_scope_config_id.go b/backend/plugins/sonarqube/models/migrationscripts/20230922_add_scope_config_id.go
index 161afe6..a03ade0 100644
--- a/backend/plugins/sonarqube/models/migrationscripts/20230922_add_scope_config_id.go
+++ b/backend/plugins/sonarqube/models/migrationscripts/20230922_add_scope_config_id.go
@@ -18,10 +18,10 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/migrationhelper"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/migrationhelper"
)
var _ plugin.MigrationScript = (*addScopeConfigIdToProject)(nil)
diff --git a/backend/plugins/sonarqube/models/migrationscripts/20230927_modify_file_metrics_key_length.go b/backend/plugins/sonarqube/models/migrationscripts/20230927_modify_file_metrics_key_length.go
index e43aae7..fb85c1a 100644
--- a/backend/plugins/sonarqube/models/migrationscripts/20230927_modify_file_metrics_key_length.go
+++ b/backend/plugins/sonarqube/models/migrationscripts/20230927_modify_file_metrics_key_length.go
@@ -20,11 +20,11 @@
import (
"net/url"
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/migrationhelper"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/migrationhelper"
)
var _ plugin.MigrationScript = (*modifyFileMetricsKeyLength)(nil)
diff --git a/backend/plugins/sonarqube/models/migrationscripts/20231007_modify_component_length.go b/backend/plugins/sonarqube/models/migrationscripts/20231007_modify_component_length.go
index e47ed72..e780d4d 100644
--- a/backend/plugins/sonarqube/models/migrationscripts/20231007_modify_component_length.go
+++ b/backend/plugins/sonarqube/models/migrationscripts/20231007_modify_component_length.go
@@ -18,11 +18,11 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/migrationhelper"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/migrationhelper"
)
var _ plugin.MigrationScript = (*modifyComponentLength)(nil)
diff --git a/backend/plugins/sonarqube/models/migrationscripts/20231214_add_tool_sonarqube_scope_configs.go b/backend/plugins/sonarqube/models/migrationscripts/20231214_add_tool_sonarqube_scope_configs.go
index 55e16d8..eed6846 100644
--- a/backend/plugins/sonarqube/models/migrationscripts/20231214_add_tool_sonarqube_scope_configs.go
+++ b/backend/plugins/sonarqube/models/migrationscripts/20231214_add_tool_sonarqube_scope_configs.go
@@ -18,11 +18,11 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/models/migrationscripts/archived"
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
)
var _ plugin.MigrationScript = (*addSonarQubeScopeConfig20231214)(nil)
diff --git a/backend/plugins/sonarqube/models/migrationscripts/20240325_modify_commit_character_type.go b/backend/plugins/sonarqube/models/migrationscripts/20240325_modify_commit_character_type.go
index 1e61f13..aa7d003 100644
--- a/backend/plugins/sonarqube/models/migrationscripts/20240325_modify_commit_character_type.go
+++ b/backend/plugins/sonarqube/models/migrationscripts/20240325_modify_commit_character_type.go
@@ -18,8 +18,8 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
)
type modifyCommitCharacterType struct{}
diff --git a/backend/plugins/sonarqube/models/migrationscripts/20240508_modify_commit_character_type.go b/backend/plugins/sonarqube/models/migrationscripts/20240508_modify_commit_character_type.go
index 1a13017..8ff1b69 100644
--- a/backend/plugins/sonarqube/models/migrationscripts/20240508_modify_commit_character_type.go
+++ b/backend/plugins/sonarqube/models/migrationscripts/20240508_modify_commit_character_type.go
@@ -18,8 +18,8 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
)
type modifyCommitCharacterType0508 struct{}
diff --git a/backend/plugins/sonarqube/models/migrationscripts/20240614_update_tool_sonarqube_scope_configs.go b/backend/plugins/sonarqube/models/migrationscripts/20240614_update_tool_sonarqube_scope_configs.go
index 35610e7..56d750a 100644
--- a/backend/plugins/sonarqube/models/migrationscripts/20240614_update_tool_sonarqube_scope_configs.go
+++ b/backend/plugins/sonarqube/models/migrationscripts/20240614_update_tool_sonarqube_scope_configs.go
@@ -18,9 +18,9 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
)
var _ plugin.MigrationScript = (*updateSonarQubeScopeConfig20240614)(nil)
diff --git a/backend/plugins/sonarqube/models/migrationscripts/20240709_modify_name_length.go b/backend/plugins/sonarqube/models/migrationscripts/20240709_modify_name_length.go
index 146da42..753d38d 100644
--- a/backend/plugins/sonarqube/models/migrationscripts/20240709_modify_name_length.go
+++ b/backend/plugins/sonarqube/models/migrationscripts/20240709_modify_name_length.go
@@ -18,10 +18,10 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/migrationhelper"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/migrationhelper"
)
var _ plugin.MigrationScript = (*modifyNameLength)(nil)
diff --git a/backend/plugins/sonarqube/models/migrationscripts/20240813_change_issue_component_type.go b/backend/plugins/sonarqube/models/migrationscripts/20240813_change_issue_component_type.go
index 45fd5c3..9870c61 100644
--- a/backend/plugins/sonarqube/models/migrationscripts/20240813_change_issue_component_type.go
+++ b/backend/plugins/sonarqube/models/migrationscripts/20240813_change_issue_component_type.go
@@ -18,9 +18,9 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
)
var _ plugin.MigrationScript = (*changeIssueComponentType)(nil)
diff --git a/backend/plugins/sonarqube/models/migrationscripts/20240813_increase_project_key_length.go b/backend/plugins/sonarqube/models/migrationscripts/20240813_increase_project_key_length.go
index ed19816..03dabe7 100644
--- a/backend/plugins/sonarqube/models/migrationscripts/20240813_increase_project_key_length.go
+++ b/backend/plugins/sonarqube/models/migrationscripts/20240813_increase_project_key_length.go
@@ -18,9 +18,9 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
)
var _ plugin.MigrationScript = (*increaseProjectKeyLength)(nil)
diff --git a/backend/plugins/sonarqube/models/migrationscripts/20240930_add_connection_orgs.go b/backend/plugins/sonarqube/models/migrationscripts/20240930_add_connection_orgs.go
index 87f64a1..fb936ec 100644
--- a/backend/plugins/sonarqube/models/migrationscripts/20240930_add_connection_orgs.go
+++ b/backend/plugins/sonarqube/models/migrationscripts/20240930_add_connection_orgs.go
@@ -18,10 +18,10 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/migrationhelper"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/migrationhelper"
)
var _ plugin.MigrationScript = (*addOrgToConn)(nil)
diff --git a/backend/plugins/sonarqube/models/migrationscripts/20241010_add_issue_impacts.go b/backend/plugins/sonarqube/models/migrationscripts/20241010_add_issue_impacts.go
index 00ed243..e86d1b8 100644
--- a/backend/plugins/sonarqube/models/migrationscripts/20241010_add_issue_impacts.go
+++ b/backend/plugins/sonarqube/models/migrationscripts/20241010_add_issue_impacts.go
@@ -18,11 +18,11 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/migrationhelper"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/migrationhelper"
)
var _ plugin.MigrationScript = (*addIssueImpacts)(nil)
diff --git a/backend/plugins/sonarqube/models/migrationscripts/20250527_extend_field_size.go b/backend/plugins/sonarqube/models/migrationscripts/20250527_extend_field_size.go
index dcb6b87..0e83a68 100644
--- a/backend/plugins/sonarqube/models/migrationscripts/20250527_extend_field_size.go
+++ b/backend/plugins/sonarqube/models/migrationscripts/20250527_extend_field_size.go
@@ -18,9 +18,9 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
)
var _ plugin.MigrationScript = (*extendSonarqubeFieldSize)(nil)
diff --git a/backend/plugins/sonarqube/models/migrationscripts/20260701_change_issue_code_block_component_type.go b/backend/plugins/sonarqube/models/migrationscripts/20260701_change_issue_code_block_component_type.go
index 3ba3a00..c6864dd 100644
--- a/backend/plugins/sonarqube/models/migrationscripts/20260701_change_issue_code_block_component_type.go
+++ b/backend/plugins/sonarqube/models/migrationscripts/20260701_change_issue_code_block_component_type.go
@@ -18,9 +18,9 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
)
var _ plugin.MigrationScript = (*changeIssueCodeBlockComponentType)(nil)
diff --git a/backend/plugins/sonarqube/models/migrationscripts/20260707_add_project_metrics_history.go b/backend/plugins/sonarqube/models/migrationscripts/20260707_add_project_metrics_history.go
index d060f46..27d813a 100644
--- a/backend/plugins/sonarqube/models/migrationscripts/20260707_add_project_metrics_history.go
+++ b/backend/plugins/sonarqube/models/migrationscripts/20260707_add_project_metrics_history.go
@@ -20,11 +20,11 @@
import (
"time"
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/migrationhelper"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/migrationhelper"
)
var _ plugin.MigrationScript = (*addProjectMetricsHistory)(nil)
diff --git a/backend/plugins/sonarqube/models/migrationscripts/archived/connection.go b/backend/plugins/sonarqube/models/migrationscripts/archived/connection.go
index 1337f06..2955dbc 100644
--- a/backend/plugins/sonarqube/models/migrationscripts/archived/connection.go
+++ b/backend/plugins/sonarqube/models/migrationscripts/archived/connection.go
@@ -18,7 +18,7 @@
package archived
import (
- "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/models/migrationscripts/archived"
)
type BaseConnection struct {
diff --git a/backend/plugins/sonarqube/models/migrationscripts/archived/sonarqube_account.go b/backend/plugins/sonarqube/models/migrationscripts/archived/sonarqube_account.go
index bba3490..23ee610 100644
--- a/backend/plugins/sonarqube/models/migrationscripts/archived/sonarqube_account.go
+++ b/backend/plugins/sonarqube/models/migrationscripts/archived/sonarqube_account.go
@@ -18,7 +18,7 @@
package archived
import (
- "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/models/migrationscripts/archived"
)
type SonarqubeAccount struct {
diff --git a/backend/plugins/sonarqube/models/migrationscripts/archived/sonarqube_file_metrics.go b/backend/plugins/sonarqube/models/migrationscripts/archived/sonarqube_file_metrics.go
index 8673362..31b2f31 100644
--- a/backend/plugins/sonarqube/models/migrationscripts/archived/sonarqube_file_metrics.go
+++ b/backend/plugins/sonarqube/models/migrationscripts/archived/sonarqube_file_metrics.go
@@ -18,7 +18,7 @@
package archived
import (
- "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/models/migrationscripts/archived"
)
type SonarqubeFileMetrics struct {
diff --git a/backend/plugins/sonarqube/models/migrationscripts/archived/sonarqube_hotspot.go b/backend/plugins/sonarqube/models/migrationscripts/archived/sonarqube_hotspot.go
index 96ef656..6a9394c 100644
--- a/backend/plugins/sonarqube/models/migrationscripts/archived/sonarqube_hotspot.go
+++ b/backend/plugins/sonarqube/models/migrationscripts/archived/sonarqube_hotspot.go
@@ -20,7 +20,7 @@
import (
"time"
- "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/models/migrationscripts/archived"
)
type SonarqubeHotspot struct {
diff --git a/backend/plugins/sonarqube/models/migrationscripts/archived/sonarqube_issue.go b/backend/plugins/sonarqube/models/migrationscripts/archived/sonarqube_issue.go
index 1cc375a..df1c404 100644
--- a/backend/plugins/sonarqube/models/migrationscripts/archived/sonarqube_issue.go
+++ b/backend/plugins/sonarqube/models/migrationscripts/archived/sonarqube_issue.go
@@ -20,7 +20,7 @@
import (
"time"
- "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/models/migrationscripts/archived"
)
type SonarqubeIssue struct {
diff --git a/backend/plugins/sonarqube/models/migrationscripts/archived/sonarqube_issue_code_block.go b/backend/plugins/sonarqube/models/migrationscripts/archived/sonarqube_issue_code_block.go
index 5942806..398ace5 100644
--- a/backend/plugins/sonarqube/models/migrationscripts/archived/sonarqube_issue_code_block.go
+++ b/backend/plugins/sonarqube/models/migrationscripts/archived/sonarqube_issue_code_block.go
@@ -17,7 +17,7 @@
package archived
-import "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
+import "github.com/apache/devlake/core/models/migrationscripts/archived"
type SonarqubeIssueCodeBlock struct {
ConnectionId uint64 `gorm:"primaryKey"`
diff --git a/backend/plugins/sonarqube/models/migrationscripts/archived/sonarqube_project.go b/backend/plugins/sonarqube/models/migrationscripts/archived/sonarqube_project.go
index e1db5d4..ff8b08c 100644
--- a/backend/plugins/sonarqube/models/migrationscripts/archived/sonarqube_project.go
+++ b/backend/plugins/sonarqube/models/migrationscripts/archived/sonarqube_project.go
@@ -20,7 +20,7 @@
import (
"time"
- "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/models/migrationscripts/archived"
)
type SonarqubeProject struct {
diff --git a/backend/plugins/sonarqube/models/migrationscripts/register.go b/backend/plugins/sonarqube/models/migrationscripts/register.go
index 4e1e590..d963259 100644
--- a/backend/plugins/sonarqube/models/migrationscripts/register.go
+++ b/backend/plugins/sonarqube/models/migrationscripts/register.go
@@ -17,7 +17,7 @@
package migrationscripts
-import "github.com/apache/incubator-devlake/core/plugin"
+import "github.com/apache/devlake/core/plugin"
// All return all the migration scripts
func All() []plugin.MigrationScript {
diff --git a/backend/plugins/sonarqube/models/sonarqube_account.go b/backend/plugins/sonarqube/models/sonarqube_account.go
index 8e37545..02025c4 100644
--- a/backend/plugins/sonarqube/models/sonarqube_account.go
+++ b/backend/plugins/sonarqube/models/sonarqube_account.go
@@ -18,7 +18,7 @@
package models
import (
- "github.com/apache/incubator-devlake/core/models/common"
+ "github.com/apache/devlake/core/models/common"
)
type SonarqubeAccount struct {
diff --git a/backend/plugins/sonarqube/models/sonarqube_file_metrics.go b/backend/plugins/sonarqube/models/sonarqube_file_metrics.go
index aa03d5b..07120f3 100644
--- a/backend/plugins/sonarqube/models/sonarqube_file_metrics.go
+++ b/backend/plugins/sonarqube/models/sonarqube_file_metrics.go
@@ -18,7 +18,7 @@
package models
import (
- "github.com/apache/incubator-devlake/core/models/common"
+ "github.com/apache/devlake/core/models/common"
)
type SonarqubeFileMetrics struct {
diff --git a/backend/plugins/sonarqube/models/sonarqube_hotspot.go b/backend/plugins/sonarqube/models/sonarqube_hotspot.go
index 28e7b0b..4002cc5 100644
--- a/backend/plugins/sonarqube/models/sonarqube_hotspot.go
+++ b/backend/plugins/sonarqube/models/sonarqube_hotspot.go
@@ -18,7 +18,7 @@
package models
import (
- "github.com/apache/incubator-devlake/core/models/common"
+ "github.com/apache/devlake/core/models/common"
)
type SonarqubeHotspot struct {
diff --git a/backend/plugins/sonarqube/models/sonarqube_issue.go b/backend/plugins/sonarqube/models/sonarqube_issue.go
index 0c8df22..52685f7 100644
--- a/backend/plugins/sonarqube/models/sonarqube_issue.go
+++ b/backend/plugins/sonarqube/models/sonarqube_issue.go
@@ -18,7 +18,7 @@
package models
import (
- "github.com/apache/incubator-devlake/core/models/common"
+ "github.com/apache/devlake/core/models/common"
)
type SonarqubeIssue struct {
diff --git a/backend/plugins/sonarqube/models/sonarqube_issue_code_block.go b/backend/plugins/sonarqube/models/sonarqube_issue_code_block.go
index b363863..f198f9a 100644
--- a/backend/plugins/sonarqube/models/sonarqube_issue_code_block.go
+++ b/backend/plugins/sonarqube/models/sonarqube_issue_code_block.go
@@ -17,7 +17,7 @@
package models
-import "github.com/apache/incubator-devlake/core/models/common"
+import "github.com/apache/devlake/core/models/common"
type SonarqubeIssueCodeBlock struct {
ConnectionId uint64 `gorm:"primaryKey"`
diff --git a/backend/plugins/sonarqube/models/sonarqube_project.go b/backend/plugins/sonarqube/models/sonarqube_project.go
index aeb5713..045a637 100644
--- a/backend/plugins/sonarqube/models/sonarqube_project.go
+++ b/backend/plugins/sonarqube/models/sonarqube_project.go
@@ -18,8 +18,8 @@
package models
import (
- "github.com/apache/incubator-devlake/core/models/common"
- "github.com/apache/incubator-devlake/core/plugin"
+ "github.com/apache/devlake/core/models/common"
+ "github.com/apache/devlake/core/plugin"
)
var _ plugin.ToolLayerScope = (*SonarqubeProject)(nil)
diff --git a/backend/plugins/sonarqube/models/sonarqube_project_analyses.go b/backend/plugins/sonarqube/models/sonarqube_project_analyses.go
index 55dac5f..49d3709 100644
--- a/backend/plugins/sonarqube/models/sonarqube_project_analyses.go
+++ b/backend/plugins/sonarqube/models/sonarqube_project_analyses.go
@@ -20,7 +20,7 @@
import (
"time"
- "github.com/apache/incubator-devlake/core/models/common"
+ "github.com/apache/devlake/core/models/common"
)
type SonarqubeProjectAnalysis struct {
diff --git a/backend/plugins/sonarqube/models/sonarqube_project_metrics_history.go b/backend/plugins/sonarqube/models/sonarqube_project_metrics_history.go
index ebd5552..f346de9 100644
--- a/backend/plugins/sonarqube/models/sonarqube_project_metrics_history.go
+++ b/backend/plugins/sonarqube/models/sonarqube_project_metrics_history.go
@@ -20,7 +20,7 @@
import (
"time"
- "github.com/apache/incubator-devlake/core/models/common"
+ "github.com/apache/devlake/core/models/common"
)
type SonarqubeProjectMetricsHistory struct {
diff --git a/backend/plugins/sonarqube/sonarqube.go b/backend/plugins/sonarqube/sonarqube.go
index 739ca2a..e2e1817 100644
--- a/backend/plugins/sonarqube/sonarqube.go
+++ b/backend/plugins/sonarqube/sonarqube.go
@@ -18,8 +18,8 @@
package main
import (
- "github.com/apache/incubator-devlake/core/runner"
- "github.com/apache/incubator-devlake/plugins/sonarqube/impl"
+ "github.com/apache/devlake/core/runner"
+ "github.com/apache/devlake/plugins/sonarqube/impl"
"github.com/spf13/cobra"
)
diff --git a/backend/plugins/sonarqube/tasks/account_convertor.go b/backend/plugins/sonarqube/tasks/account_convertor.go
index 8ed5a43..69f3335 100644
--- a/backend/plugins/sonarqube/tasks/account_convertor.go
+++ b/backend/plugins/sonarqube/tasks/account_convertor.go
@@ -20,14 +20,14 @@
import (
"reflect"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/domainlayer"
- "github.com/apache/incubator-devlake/core/models/domainlayer/crossdomain"
- "github.com/apache/incubator-devlake/core/models/domainlayer/didgen"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/sonarqube/models"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/domainlayer"
+ "github.com/apache/devlake/core/models/domainlayer/crossdomain"
+ "github.com/apache/devlake/core/models/domainlayer/didgen"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/sonarqube/models"
)
func ConvertAccounts(taskCtx plugin.SubTaskContext) errors.Error {
diff --git a/backend/plugins/sonarqube/tasks/accounts_collector.go b/backend/plugins/sonarqube/tasks/accounts_collector.go
index 0a30b57..fadeb18 100644
--- a/backend/plugins/sonarqube/tasks/accounts_collector.go
+++ b/backend/plugins/sonarqube/tasks/accounts_collector.go
@@ -23,9 +23,9 @@
"net/http"
"net/url"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
)
const RAW_ACCOUNTS_TABLE = "sonarqube_api_accounts"
diff --git a/backend/plugins/sonarqube/tasks/accounts_extractor.go b/backend/plugins/sonarqube/tasks/accounts_extractor.go
index 1d139b3..f4b4840 100644
--- a/backend/plugins/sonarqube/tasks/accounts_extractor.go
+++ b/backend/plugins/sonarqube/tasks/accounts_extractor.go
@@ -20,10 +20,10 @@
import (
"encoding/json"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/sonarqube/models"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/sonarqube/models"
)
var _ plugin.SubTaskEntryPoint = ExtractAccounts
diff --git a/backend/plugins/sonarqube/tasks/api_client.go b/backend/plugins/sonarqube/tasks/api_client.go
index 958535f..8896d1b 100644
--- a/backend/plugins/sonarqube/tasks/api_client.go
+++ b/backend/plugins/sonarqube/tasks/api_client.go
@@ -18,10 +18,10 @@
package tasks
import (
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/sonarqube/models"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/sonarqube/models"
)
// CreateApiClient creates a new asynchronize API Client for AE
diff --git a/backend/plugins/sonarqube/tasks/filemetrics_additional_collector.go b/backend/plugins/sonarqube/tasks/filemetrics_additional_collector.go
index 945338d..954ea81 100644
--- a/backend/plugins/sonarqube/tasks/filemetrics_additional_collector.go
+++ b/backend/plugins/sonarqube/tasks/filemetrics_additional_collector.go
@@ -20,9 +20,9 @@
import (
"encoding/json"
"fmt"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
"net/http"
"net/url"
)
diff --git a/backend/plugins/sonarqube/tasks/filemetrics_additional_extractor.go b/backend/plugins/sonarqube/tasks/filemetrics_additional_extractor.go
index 42c1b88..54b9795 100644
--- a/backend/plugins/sonarqube/tasks/filemetrics_additional_extractor.go
+++ b/backend/plugins/sonarqube/tasks/filemetrics_additional_extractor.go
@@ -20,10 +20,10 @@
import (
"encoding/json"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/sonarqube/models"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/sonarqube/models"
)
var _ plugin.SubTaskEntryPoint = ExtractAdditionalFileMetrics
diff --git a/backend/plugins/sonarqube/tasks/filemetrics_collector.go b/backend/plugins/sonarqube/tasks/filemetrics_collector.go
index e42fe3f..6f5e7d6 100644
--- a/backend/plugins/sonarqube/tasks/filemetrics_collector.go
+++ b/backend/plugins/sonarqube/tasks/filemetrics_collector.go
@@ -23,9 +23,9 @@
"net/http"
"net/url"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
)
const RAW_FILEMETRICS_TABLE = "sonarqube_api_filemetrics"
diff --git a/backend/plugins/sonarqube/tasks/filemetrics_convertor.go b/backend/plugins/sonarqube/tasks/filemetrics_convertor.go
index 80d9725..7c1e3e7 100644
--- a/backend/plugins/sonarqube/tasks/filemetrics_convertor.go
+++ b/backend/plugins/sonarqube/tasks/filemetrics_convertor.go
@@ -18,14 +18,14 @@
package tasks
import (
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/domainlayer"
- "github.com/apache/incubator-devlake/core/models/domainlayer/codequality"
- "github.com/apache/incubator-devlake/core/models/domainlayer/didgen"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- sonarqubeModels "github.com/apache/incubator-devlake/plugins/sonarqube/models"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/domainlayer"
+ "github.com/apache/devlake/core/models/domainlayer/codequality"
+ "github.com/apache/devlake/core/models/domainlayer/didgen"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ sonarqubeModels "github.com/apache/devlake/plugins/sonarqube/models"
"reflect"
)
diff --git a/backend/plugins/sonarqube/tasks/filemetrics_extractor.go b/backend/plugins/sonarqube/tasks/filemetrics_extractor.go
index 24c1f7f..4663287 100644
--- a/backend/plugins/sonarqube/tasks/filemetrics_extractor.go
+++ b/backend/plugins/sonarqube/tasks/filemetrics_extractor.go
@@ -19,10 +19,10 @@
import (
"encoding/json"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/sonarqube/models"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/sonarqube/models"
)
var _ plugin.SubTaskEntryPoint = ExtractFilemetrics
diff --git a/backend/plugins/sonarqube/tasks/hotspots_collector.go b/backend/plugins/sonarqube/tasks/hotspots_collector.go
index 436eaa9..eb0574d 100644
--- a/backend/plugins/sonarqube/tasks/hotspots_collector.go
+++ b/backend/plugins/sonarqube/tasks/hotspots_collector.go
@@ -23,10 +23,10 @@
"net/http"
"net/url"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/common"
- "github.com/apache/incubator-devlake/core/plugin"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/common"
+ "github.com/apache/devlake/core/plugin"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
)
const RAW_HOTSPOTS_TABLE = "sonarqube_api_hotspots"
diff --git a/backend/plugins/sonarqube/tasks/hotspots_convertor.go b/backend/plugins/sonarqube/tasks/hotspots_convertor.go
index 2016890..7f38b2c 100644
--- a/backend/plugins/sonarqube/tasks/hotspots_convertor.go
+++ b/backend/plugins/sonarqube/tasks/hotspots_convertor.go
@@ -20,14 +20,14 @@
import (
"reflect"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/domainlayer"
- "github.com/apache/incubator-devlake/core/models/domainlayer/codequality"
- "github.com/apache/incubator-devlake/core/models/domainlayer/didgen"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- sonarqubeModels "github.com/apache/incubator-devlake/plugins/sonarqube/models"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/domainlayer"
+ "github.com/apache/devlake/core/models/domainlayer/codequality"
+ "github.com/apache/devlake/core/models/domainlayer/didgen"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ sonarqubeModels "github.com/apache/devlake/plugins/sonarqube/models"
)
var ConvertHotspotsMeta = plugin.SubTaskMeta{
diff --git a/backend/plugins/sonarqube/tasks/hotspots_extractor.go b/backend/plugins/sonarqube/tasks/hotspots_extractor.go
index 53b22f7..9efb899 100644
--- a/backend/plugins/sonarqube/tasks/hotspots_extractor.go
+++ b/backend/plugins/sonarqube/tasks/hotspots_extractor.go
@@ -20,11 +20,11 @@
import (
"encoding/json"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/common"
- "github.com/apache/incubator-devlake/core/plugin"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/sonarqube/models"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/common"
+ "github.com/apache/devlake/core/plugin"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/sonarqube/models"
)
var _ plugin.SubTaskEntryPoint = ExtractHotspots
diff --git a/backend/plugins/sonarqube/tasks/issue_code_blocks_convertor.go b/backend/plugins/sonarqube/tasks/issue_code_blocks_convertor.go
index deb3279..0d924cb 100644
--- a/backend/plugins/sonarqube/tasks/issue_code_blocks_convertor.go
+++ b/backend/plugins/sonarqube/tasks/issue_code_blocks_convertor.go
@@ -20,15 +20,15 @@
import (
"reflect"
- "github.com/apache/incubator-devlake/core/models/domainlayer/codequality"
+ "github.com/apache/devlake/core/models/domainlayer/codequality"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/domainlayer"
- "github.com/apache/incubator-devlake/core/models/domainlayer/didgen"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/sonarqube/models"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/domainlayer"
+ "github.com/apache/devlake/core/models/domainlayer/didgen"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/sonarqube/models"
)
func ConvertIssueCodeBlocks(taskCtx plugin.SubTaskContext) errors.Error {
diff --git a/backend/plugins/sonarqube/tasks/issue_code_blocks_convertor_test.go b/backend/plugins/sonarqube/tasks/issue_code_blocks_convertor_test.go
index c3d703f..9351233 100644
--- a/backend/plugins/sonarqube/tasks/issue_code_blocks_convertor_test.go
+++ b/backend/plugins/sonarqube/tasks/issue_code_blocks_convertor_test.go
@@ -21,8 +21,8 @@
"reflect"
"testing"
- "github.com/apache/incubator-devlake/core/models/domainlayer/codequality"
- "github.com/apache/incubator-devlake/plugins/sonarqube/models"
+ "github.com/apache/devlake/core/models/domainlayer/codequality"
+ "github.com/apache/devlake/plugins/sonarqube/models"
"github.com/stretchr/testify/require"
)
diff --git a/backend/plugins/sonarqube/tasks/issue_impacts_convertor.go b/backend/plugins/sonarqube/tasks/issue_impacts_convertor.go
index be8ab45..b26471d 100644
--- a/backend/plugins/sonarqube/tasks/issue_impacts_convertor.go
+++ b/backend/plugins/sonarqube/tasks/issue_impacts_convertor.go
@@ -20,13 +20,13 @@
import (
"reflect"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/domainlayer/codequality"
- "github.com/apache/incubator-devlake/core/models/domainlayer/didgen"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- sonarqubeModels "github.com/apache/incubator-devlake/plugins/sonarqube/models"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/domainlayer/codequality"
+ "github.com/apache/devlake/core/models/domainlayer/didgen"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ sonarqubeModels "github.com/apache/devlake/plugins/sonarqube/models"
)
var ConvertIssueImpactsMeta = plugin.SubTaskMeta{
diff --git a/backend/plugins/sonarqube/tasks/issues_collector.go b/backend/plugins/sonarqube/tasks/issues_collector.go
index 76e2e1f..5ecce4f 100644
--- a/backend/plugins/sonarqube/tasks/issues_collector.go
+++ b/backend/plugins/sonarqube/tasks/issues_collector.go
@@ -24,10 +24,10 @@
"net/url"
"time"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/common"
- "github.com/apache/incubator-devlake/core/plugin"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/common"
+ "github.com/apache/devlake/core/plugin"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
)
const RAW_ISSUES_TABLE = "sonarqube_api_issues"
diff --git a/backend/plugins/sonarqube/tasks/issues_convertor.go b/backend/plugins/sonarqube/tasks/issues_convertor.go
index 7d3c967..0a75acd 100644
--- a/backend/plugins/sonarqube/tasks/issues_convertor.go
+++ b/backend/plugins/sonarqube/tasks/issues_convertor.go
@@ -20,14 +20,14 @@
import (
"reflect"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/domainlayer"
- "github.com/apache/incubator-devlake/core/models/domainlayer/codequality"
- "github.com/apache/incubator-devlake/core/models/domainlayer/didgen"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- sonarqubeModels "github.com/apache/incubator-devlake/plugins/sonarqube/models"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/domainlayer"
+ "github.com/apache/devlake/core/models/domainlayer/codequality"
+ "github.com/apache/devlake/core/models/domainlayer/didgen"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ sonarqubeModels "github.com/apache/devlake/plugins/sonarqube/models"
)
var ConvertIssuesMeta = plugin.SubTaskMeta{
diff --git a/backend/plugins/sonarqube/tasks/issues_extractor.go b/backend/plugins/sonarqube/tasks/issues_extractor.go
index 042214b..fac852c 100644
--- a/backend/plugins/sonarqube/tasks/issues_extractor.go
+++ b/backend/plugins/sonarqube/tasks/issues_extractor.go
@@ -22,12 +22,12 @@
"encoding/json"
"strings"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/common"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/core/utils"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/sonarqube/models"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/common"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/core/utils"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/sonarqube/models"
)
var _ plugin.SubTaskEntryPoint = ExtractIssues
diff --git a/backend/plugins/sonarqube/tasks/project_analyses_collector.go b/backend/plugins/sonarqube/tasks/project_analyses_collector.go
index 37682fd..b606384 100644
--- a/backend/plugins/sonarqube/tasks/project_analyses_collector.go
+++ b/backend/plugins/sonarqube/tasks/project_analyses_collector.go
@@ -23,10 +23,10 @@
"net/http"
"net/url"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/sonarqube/models"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/sonarqube/models"
)
const RAW_PROJECT_ANALYSES_TABLE = "sonarqube_api_project_analyses"
diff --git a/backend/plugins/sonarqube/tasks/project_analyses_extractor.go b/backend/plugins/sonarqube/tasks/project_analyses_extractor.go
index ac10d8d..bcf804c 100644
--- a/backend/plugins/sonarqube/tasks/project_analyses_extractor.go
+++ b/backend/plugins/sonarqube/tasks/project_analyses_extractor.go
@@ -21,10 +21,10 @@
"encoding/json"
"time"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/sonarqube/models"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/sonarqube/models"
)
var _ plugin.SubTaskEntryPoint = ExtractProjectAnalyses
diff --git a/backend/plugins/sonarqube/tasks/project_metrics_history_collector.go b/backend/plugins/sonarqube/tasks/project_metrics_history_collector.go
index fa2b026..d079cc2 100644
--- a/backend/plugins/sonarqube/tasks/project_metrics_history_collector.go
+++ b/backend/plugins/sonarqube/tasks/project_metrics_history_collector.go
@@ -23,10 +23,10 @@
"net/http"
"net/url"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/sonarqube/models"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/sonarqube/models"
)
const RAW_PROJECT_METRICS_HISTORY_TABLE = "sonarqube_api_project_metrics_history"
diff --git a/backend/plugins/sonarqube/tasks/project_metrics_history_convertor.go b/backend/plugins/sonarqube/tasks/project_metrics_history_convertor.go
index bf59aa1..3b74156 100644
--- a/backend/plugins/sonarqube/tasks/project_metrics_history_convertor.go
+++ b/backend/plugins/sonarqube/tasks/project_metrics_history_convertor.go
@@ -23,14 +23,14 @@
"strconv"
"time"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/domainlayer"
- "github.com/apache/incubator-devlake/core/models/domainlayer/codequality"
- "github.com/apache/incubator-devlake/core/models/domainlayer/didgen"
- "github.com/apache/incubator-devlake/core/plugin"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- sonarqubeModels "github.com/apache/incubator-devlake/plugins/sonarqube/models"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/domainlayer"
+ "github.com/apache/devlake/core/models/domainlayer/codequality"
+ "github.com/apache/devlake/core/models/domainlayer/didgen"
+ "github.com/apache/devlake/core/plugin"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
+ sonarqubeModels "github.com/apache/devlake/plugins/sonarqube/models"
)
var ConvertProjectMetricsHistoryMeta = plugin.SubTaskMeta{
diff --git a/backend/plugins/sonarqube/tasks/project_metrics_history_extractor.go b/backend/plugins/sonarqube/tasks/project_metrics_history_extractor.go
index 430ff19..04df915 100644
--- a/backend/plugins/sonarqube/tasks/project_metrics_history_extractor.go
+++ b/backend/plugins/sonarqube/tasks/project_metrics_history_extractor.go
@@ -21,10 +21,10 @@
"encoding/json"
"time"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/sonarqube/models"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/sonarqube/models"
)
var _ plugin.SubTaskEntryPoint = ExtractProjectMetricsHistory
diff --git a/backend/plugins/sonarqube/tasks/projects_convertor.go b/backend/plugins/sonarqube/tasks/projects_convertor.go
index 3e3c1eb..2125cbd 100644
--- a/backend/plugins/sonarqube/tasks/projects_convertor.go
+++ b/backend/plugins/sonarqube/tasks/projects_convertor.go
@@ -20,14 +20,14 @@
import (
"reflect"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/domainlayer"
- "github.com/apache/incubator-devlake/core/models/domainlayer/codequality"
- "github.com/apache/incubator-devlake/core/models/domainlayer/didgen"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- sonarqubeModels "github.com/apache/incubator-devlake/plugins/sonarqube/models"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/domainlayer"
+ "github.com/apache/devlake/core/models/domainlayer/codequality"
+ "github.com/apache/devlake/core/models/domainlayer/didgen"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ sonarqubeModels "github.com/apache/devlake/plugins/sonarqube/models"
)
const RAW_PROJECTS_TABLE = "sonarqube_api_projects"
diff --git a/backend/plugins/sonarqube/tasks/shared.go b/backend/plugins/sonarqube/tasks/shared.go
index 99c2261..5a00e9d 100644
--- a/backend/plugins/sonarqube/tasks/shared.go
+++ b/backend/plugins/sonarqube/tasks/shared.go
@@ -26,10 +26,10 @@
"strconv"
"unicode"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/sonarqube/models"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/sonarqube/models"
)
func CreateRawDataSubTaskArgs(taskCtx plugin.SubTaskContext, rawTable string) (*api.RawDataSubTaskArgs, *SonarqubeTaskData) {
diff --git a/backend/plugins/sonarqube/tasks/shared_test.go b/backend/plugins/sonarqube/tasks/shared_test.go
index 84f30dd..138c9d1 100644
--- a/backend/plugins/sonarqube/tasks/shared_test.go
+++ b/backend/plugins/sonarqube/tasks/shared_test.go
@@ -19,8 +19,8 @@
import (
"crypto/sha256"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/sonarqube/models"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/sonarqube/models"
"io/ioutil"
"net/http"
"strings"
diff --git a/backend/plugins/sonarqube/tasks/task_data.go b/backend/plugins/sonarqube/tasks/task_data.go
index 06cb83d..4293495 100644
--- a/backend/plugins/sonarqube/tasks/task_data.go
+++ b/backend/plugins/sonarqube/tasks/task_data.go
@@ -20,8 +20,8 @@
import (
"time"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
)
type SonarqubeOptions struct {
diff --git a/backend/plugins/starrocks/api/connection.go b/backend/plugins/starrocks/api/connection.go
index 078d454..6f023eb 100644
--- a/backend/plugins/starrocks/api/connection.go
+++ b/backend/plugins/starrocks/api/connection.go
@@ -18,8 +18,8 @@
package api
import (
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
"net/http"
)
diff --git a/backend/plugins/starrocks/impl/impl.go b/backend/plugins/starrocks/impl/impl.go
index 511b8c7..35cf147 100644
--- a/backend/plugins/starrocks/impl/impl.go
+++ b/backend/plugins/starrocks/impl/impl.go
@@ -18,11 +18,11 @@
package impl
import (
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/starrocks/tasks"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/starrocks/tasks"
)
type StarRocks struct{}
diff --git a/backend/plugins/starrocks/starrocks.go b/backend/plugins/starrocks/starrocks.go
index c942e8e..4b0cd44 100644
--- a/backend/plugins/starrocks/starrocks.go
+++ b/backend/plugins/starrocks/starrocks.go
@@ -18,8 +18,8 @@
package main
import (
- "github.com/apache/incubator-devlake/core/runner"
- "github.com/apache/incubator-devlake/plugins/starrocks/impl"
+ "github.com/apache/devlake/core/runner"
+ "github.com/apache/devlake/plugins/starrocks/impl"
"github.com/spf13/cobra"
)
diff --git a/backend/plugins/starrocks/tasks/tasks.go b/backend/plugins/starrocks/tasks/tasks.go
index 8245ad5..e7c76d7 100644
--- a/backend/plugins/starrocks/tasks/tasks.go
+++ b/backend/plugins/starrocks/tasks/tasks.go
@@ -31,11 +31,11 @@
"golang.org/x/exp/slices"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/impls/dalgorm"
- "github.com/apache/incubator-devlake/plugins/starrocks/utils"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/impls/dalgorm"
+ "github.com/apache/devlake/plugins/starrocks/utils"
"github.com/jackc/pgx/v5/pgtype"
"gorm.io/driver/mysql"
diff --git a/backend/plugins/table_info_test.go b/backend/plugins/table_info_test.go
index 5567d4b..c73b0e1 100644
--- a/backend/plugins/table_info_test.go
+++ b/backend/plugins/table_info_test.go
@@ -20,51 +20,51 @@
import (
"testing"
- "github.com/apache/incubator-devlake/helpers/unithelper"
- ae "github.com/apache/incubator-devlake/plugins/ae/impl"
- argocd "github.com/apache/incubator-devlake/plugins/argocd/impl"
- asana "github.com/apache/incubator-devlake/plugins/asana/impl"
- azuredevops "github.com/apache/incubator-devlake/plugins/azuredevops_go/impl"
- bamboo "github.com/apache/incubator-devlake/plugins/bamboo/impl"
- bitbucket "github.com/apache/incubator-devlake/plugins/bitbucket/impl"
- bitbucket_server "github.com/apache/incubator-devlake/plugins/bitbucket_server/impl"
- circleci "github.com/apache/incubator-devlake/plugins/circleci/impl"
- claudeCode "github.com/apache/incubator-devlake/plugins/claude_code/impl"
- clickup "github.com/apache/incubator-devlake/plugins/clickup/impl"
- cursor "github.com/apache/incubator-devlake/plugins/cursor/impl"
- customize "github.com/apache/incubator-devlake/plugins/customize/impl"
- dora "github.com/apache/incubator-devlake/plugins/dora/impl"
- feishu "github.com/apache/incubator-devlake/plugins/feishu/impl"
- copilot "github.com/apache/incubator-devlake/plugins/gh-copilot/impl"
- gitee "github.com/apache/incubator-devlake/plugins/gitee/impl"
- gitextractor "github.com/apache/incubator-devlake/plugins/gitextractor/impl"
- github "github.com/apache/incubator-devlake/plugins/github/impl"
- githubGraphql "github.com/apache/incubator-devlake/plugins/github_graphql/impl"
- gitlab "github.com/apache/incubator-devlake/plugins/gitlab/impl"
- icla "github.com/apache/incubator-devlake/plugins/icla/impl"
- incidentio "github.com/apache/incubator-devlake/plugins/incidentio/impl"
- issueTrace "github.com/apache/incubator-devlake/plugins/issue_trace/impl"
- jenkins "github.com/apache/incubator-devlake/plugins/jenkins/impl"
- jira "github.com/apache/incubator-devlake/plugins/jira/impl"
- kiro "github.com/apache/incubator-devlake/plugins/kiro/impl"
- linear "github.com/apache/incubator-devlake/plugins/linear/impl"
- linker "github.com/apache/incubator-devlake/plugins/linker/impl"
- opsgenie "github.com/apache/incubator-devlake/plugins/opsgenie/impl"
- org "github.com/apache/incubator-devlake/plugins/org/impl"
- pagerduty "github.com/apache/incubator-devlake/plugins/pagerduty/impl"
- refdiff "github.com/apache/incubator-devlake/plugins/refdiff/impl"
- rootly "github.com/apache/incubator-devlake/plugins/rootly/impl"
- slack "github.com/apache/incubator-devlake/plugins/slack/impl"
- sonarqube "github.com/apache/incubator-devlake/plugins/sonarqube/impl"
- starrocks "github.com/apache/incubator-devlake/plugins/starrocks/impl"
- taiga "github.com/apache/incubator-devlake/plugins/taiga/impl"
- tapd "github.com/apache/incubator-devlake/plugins/tapd/impl"
- teambition "github.com/apache/incubator-devlake/plugins/teambition/impl"
- tempo "github.com/apache/incubator-devlake/plugins/tempo/impl"
- testmo "github.com/apache/incubator-devlake/plugins/testmo/impl"
- trello "github.com/apache/incubator-devlake/plugins/trello/impl"
- webhook "github.com/apache/incubator-devlake/plugins/webhook/impl"
- zentao "github.com/apache/incubator-devlake/plugins/zentao/impl"
+ "github.com/apache/devlake/helpers/unithelper"
+ ae "github.com/apache/devlake/plugins/ae/impl"
+ argocd "github.com/apache/devlake/plugins/argocd/impl"
+ asana "github.com/apache/devlake/plugins/asana/impl"
+ azuredevops "github.com/apache/devlake/plugins/azuredevops_go/impl"
+ bamboo "github.com/apache/devlake/plugins/bamboo/impl"
+ bitbucket "github.com/apache/devlake/plugins/bitbucket/impl"
+ bitbucket_server "github.com/apache/devlake/plugins/bitbucket_server/impl"
+ circleci "github.com/apache/devlake/plugins/circleci/impl"
+ claudeCode "github.com/apache/devlake/plugins/claude_code/impl"
+ clickup "github.com/apache/devlake/plugins/clickup/impl"
+ cursor "github.com/apache/devlake/plugins/cursor/impl"
+ customize "github.com/apache/devlake/plugins/customize/impl"
+ dora "github.com/apache/devlake/plugins/dora/impl"
+ feishu "github.com/apache/devlake/plugins/feishu/impl"
+ copilot "github.com/apache/devlake/plugins/gh-copilot/impl"
+ gitee "github.com/apache/devlake/plugins/gitee/impl"
+ gitextractor "github.com/apache/devlake/plugins/gitextractor/impl"
+ github "github.com/apache/devlake/plugins/github/impl"
+ githubGraphql "github.com/apache/devlake/plugins/github_graphql/impl"
+ gitlab "github.com/apache/devlake/plugins/gitlab/impl"
+ icla "github.com/apache/devlake/plugins/icla/impl"
+ incidentio "github.com/apache/devlake/plugins/incidentio/impl"
+ issueTrace "github.com/apache/devlake/plugins/issue_trace/impl"
+ jenkins "github.com/apache/devlake/plugins/jenkins/impl"
+ jira "github.com/apache/devlake/plugins/jira/impl"
+ kiro "github.com/apache/devlake/plugins/kiro/impl"
+ linear "github.com/apache/devlake/plugins/linear/impl"
+ linker "github.com/apache/devlake/plugins/linker/impl"
+ opsgenie "github.com/apache/devlake/plugins/opsgenie/impl"
+ org "github.com/apache/devlake/plugins/org/impl"
+ pagerduty "github.com/apache/devlake/plugins/pagerduty/impl"
+ refdiff "github.com/apache/devlake/plugins/refdiff/impl"
+ rootly "github.com/apache/devlake/plugins/rootly/impl"
+ slack "github.com/apache/devlake/plugins/slack/impl"
+ sonarqube "github.com/apache/devlake/plugins/sonarqube/impl"
+ starrocks "github.com/apache/devlake/plugins/starrocks/impl"
+ taiga "github.com/apache/devlake/plugins/taiga/impl"
+ tapd "github.com/apache/devlake/plugins/tapd/impl"
+ teambition "github.com/apache/devlake/plugins/teambition/impl"
+ tempo "github.com/apache/devlake/plugins/tempo/impl"
+ testmo "github.com/apache/devlake/plugins/testmo/impl"
+ trello "github.com/apache/devlake/plugins/trello/impl"
+ webhook "github.com/apache/devlake/plugins/webhook/impl"
+ zentao "github.com/apache/devlake/plugins/zentao/impl"
)
func Test_GetPluginTablesInfo(t *testing.T) {
diff --git a/backend/plugins/taiga/api/blueprint_v200.go b/backend/plugins/taiga/api/blueprint_v200.go
index 3eabf1a..3abd061 100644
--- a/backend/plugins/taiga/api/blueprint_v200.go
+++ b/backend/plugins/taiga/api/blueprint_v200.go
@@ -20,15 +20,15 @@
import (
"context"
- "github.com/apache/incubator-devlake/core/errors"
- coreModels "github.com/apache/incubator-devlake/core/models"
- "github.com/apache/incubator-devlake/core/models/domainlayer"
- "github.com/apache/incubator-devlake/core/models/domainlayer/didgen"
- "github.com/apache/incubator-devlake/core/models/domainlayer/ticket"
- "github.com/apache/incubator-devlake/core/plugin"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/helpers/srvhelper"
- "github.com/apache/incubator-devlake/plugins/taiga/models"
+ "github.com/apache/devlake/core/errors"
+ coreModels "github.com/apache/devlake/core/models"
+ "github.com/apache/devlake/core/models/domainlayer"
+ "github.com/apache/devlake/core/models/domainlayer/didgen"
+ "github.com/apache/devlake/core/models/domainlayer/ticket"
+ "github.com/apache/devlake/core/plugin"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/helpers/srvhelper"
+ "github.com/apache/devlake/plugins/taiga/models"
)
type TaigaTaskOptions struct {
diff --git a/backend/plugins/taiga/api/connection_api.go b/backend/plugins/taiga/api/connection_api.go
index 88021be..fed1d55 100644
--- a/backend/plugins/taiga/api/connection_api.go
+++ b/backend/plugins/taiga/api/connection_api.go
@@ -22,11 +22,11 @@
"fmt"
"net/http"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/taiga/models"
- "github.com/apache/incubator-devlake/server/api/shared"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/taiga/models"
+ "github.com/apache/devlake/server/api/shared"
)
// TaigaTestConnResponse is the response struct for testing a connection
diff --git a/backend/plugins/taiga/api/init.go b/backend/plugins/taiga/api/init.go
index 82b3324..ca04ee9 100644
--- a/backend/plugins/taiga/api/init.go
+++ b/backend/plugins/taiga/api/init.go
@@ -18,10 +18,10 @@
package api
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/taiga/models"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/taiga/models"
"github.com/go-playground/validator/v10"
)
diff --git a/backend/plugins/taiga/api/remote_api.go b/backend/plugins/taiga/api/remote_api.go
index a0cc0b0..04a3c0c 100644
--- a/backend/plugins/taiga/api/remote_api.go
+++ b/backend/plugins/taiga/api/remote_api.go
@@ -21,11 +21,11 @@
"fmt"
"net/url"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- dsmodels "github.com/apache/incubator-devlake/helpers/pluginhelper/api/models"
- "github.com/apache/incubator-devlake/plugins/taiga/models"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ dsmodels "github.com/apache/devlake/helpers/pluginhelper/api/models"
+ "github.com/apache/devlake/plugins/taiga/models"
)
type TaigaRemotePagination struct {
diff --git a/backend/plugins/taiga/api/scope_api.go b/backend/plugins/taiga/api/scope_api.go
index 3b8c128..7810605 100644
--- a/backend/plugins/taiga/api/scope_api.go
+++ b/backend/plugins/taiga/api/scope_api.go
@@ -18,10 +18,10 @@
package api
import (
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/taiga/models"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/taiga/models"
)
type PutScopesReqBody api.PutScopesReqBody[models.TaigaProject]
diff --git a/backend/plugins/taiga/api/scope_config_api.go b/backend/plugins/taiga/api/scope_config_api.go
index f162da3..2035844 100644
--- a/backend/plugins/taiga/api/scope_config_api.go
+++ b/backend/plugins/taiga/api/scope_config_api.go
@@ -18,8 +18,8 @@
package api
import (
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
)
func CreateScopeConfig(input *plugin.ApiResourceInput) (*plugin.ApiResourceOutput, errors.Error) {
diff --git a/backend/plugins/taiga/e2e/epic_test.go b/backend/plugins/taiga/e2e/epic_test.go
index 47ac0c5..dffa9ef 100644
--- a/backend/plugins/taiga/e2e/epic_test.go
+++ b/backend/plugins/taiga/e2e/epic_test.go
@@ -20,12 +20,12 @@
import (
"testing"
- "github.com/apache/incubator-devlake/core/models/common"
- "github.com/apache/incubator-devlake/core/models/domainlayer/ticket"
- "github.com/apache/incubator-devlake/helpers/e2ehelper"
- "github.com/apache/incubator-devlake/plugins/taiga/impl"
- "github.com/apache/incubator-devlake/plugins/taiga/models"
- "github.com/apache/incubator-devlake/plugins/taiga/tasks"
+ "github.com/apache/devlake/core/models/common"
+ "github.com/apache/devlake/core/models/domainlayer/ticket"
+ "github.com/apache/devlake/helpers/e2ehelper"
+ "github.com/apache/devlake/plugins/taiga/impl"
+ "github.com/apache/devlake/plugins/taiga/models"
+ "github.com/apache/devlake/plugins/taiga/tasks"
)
// TestTaigaEpicDataFlow verifies the full extract → convert pipeline for
diff --git a/backend/plugins/taiga/e2e/issue_test.go b/backend/plugins/taiga/e2e/issue_test.go
index 7ab3c9c..43ce1ce 100644
--- a/backend/plugins/taiga/e2e/issue_test.go
+++ b/backend/plugins/taiga/e2e/issue_test.go
@@ -20,12 +20,12 @@
import (
"testing"
- "github.com/apache/incubator-devlake/core/models/common"
- "github.com/apache/incubator-devlake/core/models/domainlayer/ticket"
- "github.com/apache/incubator-devlake/helpers/e2ehelper"
- "github.com/apache/incubator-devlake/plugins/taiga/impl"
- "github.com/apache/incubator-devlake/plugins/taiga/models"
- "github.com/apache/incubator-devlake/plugins/taiga/tasks"
+ "github.com/apache/devlake/core/models/common"
+ "github.com/apache/devlake/core/models/domainlayer/ticket"
+ "github.com/apache/devlake/helpers/e2ehelper"
+ "github.com/apache/devlake/plugins/taiga/impl"
+ "github.com/apache/devlake/plugins/taiga/models"
+ "github.com/apache/devlake/plugins/taiga/tasks"
)
// TestTaigaIssueDataFlow verifies the full extract → convert pipeline for
diff --git a/backend/plugins/taiga/e2e/project_test.go b/backend/plugins/taiga/e2e/project_test.go
index d1e8aa8..3f49bd5 100644
--- a/backend/plugins/taiga/e2e/project_test.go
+++ b/backend/plugins/taiga/e2e/project_test.go
@@ -20,12 +20,12 @@
import (
"testing"
- "github.com/apache/incubator-devlake/core/models/common"
- "github.com/apache/incubator-devlake/core/models/domainlayer/ticket"
- "github.com/apache/incubator-devlake/helpers/e2ehelper"
- "github.com/apache/incubator-devlake/plugins/taiga/impl"
- "github.com/apache/incubator-devlake/plugins/taiga/models"
- "github.com/apache/incubator-devlake/plugins/taiga/tasks"
+ "github.com/apache/devlake/core/models/common"
+ "github.com/apache/devlake/core/models/domainlayer/ticket"
+ "github.com/apache/devlake/helpers/e2ehelper"
+ "github.com/apache/devlake/plugins/taiga/impl"
+ "github.com/apache/devlake/plugins/taiga/models"
+ "github.com/apache/devlake/plugins/taiga/tasks"
)
// TestTaigaProjectDataFlow verifies the full extract → convert pipeline for
diff --git a/backend/plugins/taiga/e2e/task_test.go b/backend/plugins/taiga/e2e/task_test.go
index aefa1fb..75c059b 100644
--- a/backend/plugins/taiga/e2e/task_test.go
+++ b/backend/plugins/taiga/e2e/task_test.go
@@ -20,12 +20,12 @@
import (
"testing"
- "github.com/apache/incubator-devlake/core/models/common"
- "github.com/apache/incubator-devlake/core/models/domainlayer/ticket"
- "github.com/apache/incubator-devlake/helpers/e2ehelper"
- "github.com/apache/incubator-devlake/plugins/taiga/impl"
- "github.com/apache/incubator-devlake/plugins/taiga/models"
- "github.com/apache/incubator-devlake/plugins/taiga/tasks"
+ "github.com/apache/devlake/core/models/common"
+ "github.com/apache/devlake/core/models/domainlayer/ticket"
+ "github.com/apache/devlake/helpers/e2ehelper"
+ "github.com/apache/devlake/plugins/taiga/impl"
+ "github.com/apache/devlake/plugins/taiga/models"
+ "github.com/apache/devlake/plugins/taiga/tasks"
)
// TestTaigaTaskDataFlow verifies the full extract → convert pipeline for
diff --git a/backend/plugins/taiga/e2e/user_story_test.go b/backend/plugins/taiga/e2e/user_story_test.go
index 1cb8553..7886e35 100644
--- a/backend/plugins/taiga/e2e/user_story_test.go
+++ b/backend/plugins/taiga/e2e/user_story_test.go
@@ -20,12 +20,12 @@
import (
"testing"
- "github.com/apache/incubator-devlake/core/models/common"
- "github.com/apache/incubator-devlake/core/models/domainlayer/ticket"
- "github.com/apache/incubator-devlake/helpers/e2ehelper"
- "github.com/apache/incubator-devlake/plugins/taiga/impl"
- "github.com/apache/incubator-devlake/plugins/taiga/models"
- "github.com/apache/incubator-devlake/plugins/taiga/tasks"
+ "github.com/apache/devlake/core/models/common"
+ "github.com/apache/devlake/core/models/domainlayer/ticket"
+ "github.com/apache/devlake/helpers/e2ehelper"
+ "github.com/apache/devlake/plugins/taiga/impl"
+ "github.com/apache/devlake/plugins/taiga/models"
+ "github.com/apache/devlake/plugins/taiga/tasks"
)
// TestTaigaUserStoryDataFlow verifies the full extract → convert pipeline
diff --git a/backend/plugins/taiga/impl/impl.go b/backend/plugins/taiga/impl/impl.go
index 73e6e5b..1f8a4bb 100644
--- a/backend/plugins/taiga/impl/impl.go
+++ b/backend/plugins/taiga/impl/impl.go
@@ -20,16 +20,16 @@
import (
"fmt"
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- coreModels "github.com/apache/incubator-devlake/core/models"
- "github.com/apache/incubator-devlake/core/plugin"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/taiga/api"
- "github.com/apache/incubator-devlake/plugins/taiga/models"
- "github.com/apache/incubator-devlake/plugins/taiga/models/migrationscripts"
- "github.com/apache/incubator-devlake/plugins/taiga/tasks"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ coreModels "github.com/apache/devlake/core/models"
+ "github.com/apache/devlake/core/plugin"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/taiga/api"
+ "github.com/apache/devlake/plugins/taiga/models"
+ "github.com/apache/devlake/plugins/taiga/models/migrationscripts"
+ "github.com/apache/devlake/plugins/taiga/tasks"
)
var _ interface {
@@ -190,7 +190,7 @@
}
func (p Taiga) RootPkgPath() string {
- return "github.com/apache/incubator-devlake/plugins/taiga"
+ return "github.com/apache/devlake/plugins/taiga"
}
func (p Taiga) MigrationScripts() []plugin.MigrationScript {
diff --git a/backend/plugins/taiga/models/connection.go b/backend/plugins/taiga/models/connection.go
index e979793..4e45ca7 100644
--- a/backend/plugins/taiga/models/connection.go
+++ b/backend/plugins/taiga/models/connection.go
@@ -25,9 +25,9 @@
"net/http"
"strings"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/utils"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/utils"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
)
// TaigaConn holds the essential information to connect to the Taiga API
diff --git a/backend/plugins/taiga/models/epic.go b/backend/plugins/taiga/models/epic.go
index 1c808b3..d977bad 100644
--- a/backend/plugins/taiga/models/epic.go
+++ b/backend/plugins/taiga/models/epic.go
@@ -20,7 +20,7 @@
import (
"time"
- "github.com/apache/incubator-devlake/core/models/common"
+ "github.com/apache/devlake/core/models/common"
)
// TaigaEpic represents an epic in Taiga
diff --git a/backend/plugins/taiga/models/issue.go b/backend/plugins/taiga/models/issue.go
index 90dda4f..d73d52c 100644
--- a/backend/plugins/taiga/models/issue.go
+++ b/backend/plugins/taiga/models/issue.go
@@ -20,7 +20,7 @@
import (
"time"
- "github.com/apache/incubator-devlake/core/models/common"
+ "github.com/apache/devlake/core/models/common"
)
// TaigaIssue represents an issue (bug/enhancement/question) in Taiga
diff --git a/backend/plugins/taiga/models/migrationscripts/20250220_add_init_tables.go b/backend/plugins/taiga/models/migrationscripts/20250220_add_init_tables.go
index 3a0a6be..04fc7f9 100644
--- a/backend/plugins/taiga/models/migrationscripts/20250220_add_init_tables.go
+++ b/backend/plugins/taiga/models/migrationscripts/20250220_add_init_tables.go
@@ -20,9 +20,9 @@
import (
"time"
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/helpers/migrationhelper"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/helpers/migrationhelper"
)
type TaigaConnection20250220 struct {
diff --git a/backend/plugins/taiga/models/migrationscripts/20260306_add_task_issue_epic_tables.go b/backend/plugins/taiga/models/migrationscripts/20260306_add_task_issue_epic_tables.go
index ff84ba1..8d2ac35 100644
--- a/backend/plugins/taiga/models/migrationscripts/20260306_add_task_issue_epic_tables.go
+++ b/backend/plugins/taiga/models/migrationscripts/20260306_add_task_issue_epic_tables.go
@@ -20,9 +20,9 @@
import (
"time"
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/helpers/migrationhelper"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/helpers/migrationhelper"
)
type TaigaTask20260306 struct {
diff --git a/backend/plugins/taiga/models/migrationscripts/20260727_add_missing_scope_config_columns.go b/backend/plugins/taiga/models/migrationscripts/20260727_add_missing_scope_config_columns.go
index 84fa66c..7057203 100644
--- a/backend/plugins/taiga/models/migrationscripts/20260727_add_missing_scope_config_columns.go
+++ b/backend/plugins/taiga/models/migrationscripts/20260727_add_missing_scope_config_columns.go
@@ -20,10 +20,10 @@
import (
"encoding/json"
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
- "github.com/apache/incubator-devlake/helpers/migrationhelper"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/helpers/migrationhelper"
)
// taigaScopeConfig20260727 mirrors models.TaigaScopeConfig. The initial
diff --git a/backend/plugins/taiga/models/migrationscripts/register.go b/backend/plugins/taiga/models/migrationscripts/register.go
index da91884..33308dd 100644
--- a/backend/plugins/taiga/models/migrationscripts/register.go
+++ b/backend/plugins/taiga/models/migrationscripts/register.go
@@ -18,7 +18,7 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/plugin"
+ "github.com/apache/devlake/core/plugin"
)
// All return all the migration scripts
diff --git a/backend/plugins/taiga/models/project.go b/backend/plugins/taiga/models/project.go
index 7b26125..5ec0f6a 100644
--- a/backend/plugins/taiga/models/project.go
+++ b/backend/plugins/taiga/models/project.go
@@ -20,8 +20,8 @@
import (
"fmt"
- "github.com/apache/incubator-devlake/core/models/common"
- "github.com/apache/incubator-devlake/core/plugin"
+ "github.com/apache/devlake/core/models/common"
+ "github.com/apache/devlake/core/plugin"
)
// TaigaProject represents a Taiga project (scope)
diff --git a/backend/plugins/taiga/models/scope_config.go b/backend/plugins/taiga/models/scope_config.go
index c639708..af8a962 100644
--- a/backend/plugins/taiga/models/scope_config.go
+++ b/backend/plugins/taiga/models/scope_config.go
@@ -18,8 +18,8 @@
package models
import (
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/common"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/common"
)
type StatusMapping struct {
diff --git a/backend/plugins/taiga/models/task.go b/backend/plugins/taiga/models/task.go
index 248267c..2b631e9 100644
--- a/backend/plugins/taiga/models/task.go
+++ b/backend/plugins/taiga/models/task.go
@@ -20,7 +20,7 @@
import (
"time"
- "github.com/apache/incubator-devlake/core/models/common"
+ "github.com/apache/devlake/core/models/common"
)
// TaigaTask represents a task (sub-task of a user story) in Taiga
diff --git a/backend/plugins/taiga/models/user_story.go b/backend/plugins/taiga/models/user_story.go
index 4985844..ca77e15 100644
--- a/backend/plugins/taiga/models/user_story.go
+++ b/backend/plugins/taiga/models/user_story.go
@@ -20,7 +20,7 @@
import (
"time"
- "github.com/apache/incubator-devlake/core/models/common"
+ "github.com/apache/devlake/core/models/common"
)
// TaigaUserStory represents a user story in Taiga
diff --git a/backend/plugins/taiga/taiga.go b/backend/plugins/taiga/taiga.go
index 4a6da00..c33d64f 100644
--- a/backend/plugins/taiga/taiga.go
+++ b/backend/plugins/taiga/taiga.go
@@ -18,8 +18,8 @@
package main // must be main for plugin entry point
import (
- "github.com/apache/incubator-devlake/core/runner"
- "github.com/apache/incubator-devlake/plugins/taiga/impl"
+ "github.com/apache/devlake/core/runner"
+ "github.com/apache/devlake/plugins/taiga/impl"
"github.com/spf13/cobra"
)
diff --git a/backend/plugins/taiga/tasks/api_client.go b/backend/plugins/taiga/tasks/api_client.go
index 4b722cc..4afa692 100644
--- a/backend/plugins/taiga/tasks/api_client.go
+++ b/backend/plugins/taiga/tasks/api_client.go
@@ -18,10 +18,10 @@
package tasks
import (
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/taiga/models"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/taiga/models"
)
func NewTaigaApiClient(taskCtx plugin.TaskContext, connection *models.TaigaConnection) (*api.ApiAsyncClient, errors.Error) {
diff --git a/backend/plugins/taiga/tasks/epic_collector.go b/backend/plugins/taiga/tasks/epic_collector.go
index f99d48a..4deec5c 100644
--- a/backend/plugins/taiga/tasks/epic_collector.go
+++ b/backend/plugins/taiga/tasks/epic_collector.go
@@ -23,9 +23,9 @@
"net/http"
"net/url"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
)
const RAW_EPIC_TABLE = "taiga_api_epics"
diff --git a/backend/plugins/taiga/tasks/epic_convertor.go b/backend/plugins/taiga/tasks/epic_convertor.go
index ed5bb53..1be0ca9 100644
--- a/backend/plugins/taiga/tasks/epic_convertor.go
+++ b/backend/plugins/taiga/tasks/epic_convertor.go
@@ -18,14 +18,14 @@
package tasks
import (
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/domainlayer"
- "github.com/apache/incubator-devlake/core/models/domainlayer/didgen"
- "github.com/apache/incubator-devlake/core/models/domainlayer/ticket"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/taiga/models"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/domainlayer"
+ "github.com/apache/devlake/core/models/domainlayer/didgen"
+ "github.com/apache/devlake/core/models/domainlayer/ticket"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/taiga/models"
)
var ConvertEpicsMeta = plugin.SubTaskMeta{
diff --git a/backend/plugins/taiga/tasks/epic_extractor.go b/backend/plugins/taiga/tasks/epic_extractor.go
index 6acd76d..104c7a2 100644
--- a/backend/plugins/taiga/tasks/epic_extractor.go
+++ b/backend/plugins/taiga/tasks/epic_extractor.go
@@ -21,10 +21,10 @@
"encoding/json"
"time"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/taiga/models"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/taiga/models"
)
var _ plugin.SubTaskEntryPoint = ExtractEpics
diff --git a/backend/plugins/taiga/tasks/issue_collector.go b/backend/plugins/taiga/tasks/issue_collector.go
index cf79d53..937baea 100644
--- a/backend/plugins/taiga/tasks/issue_collector.go
+++ b/backend/plugins/taiga/tasks/issue_collector.go
@@ -23,9 +23,9 @@
"net/http"
"net/url"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
)
const RAW_ISSUE_TABLE = "taiga_api_issues"
diff --git a/backend/plugins/taiga/tasks/issue_convertor.go b/backend/plugins/taiga/tasks/issue_convertor.go
index 5612a3b..4692514 100644
--- a/backend/plugins/taiga/tasks/issue_convertor.go
+++ b/backend/plugins/taiga/tasks/issue_convertor.go
@@ -20,14 +20,14 @@
import (
"strings"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/domainlayer"
- "github.com/apache/incubator-devlake/core/models/domainlayer/didgen"
- "github.com/apache/incubator-devlake/core/models/domainlayer/ticket"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/taiga/models"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/domainlayer"
+ "github.com/apache/devlake/core/models/domainlayer/didgen"
+ "github.com/apache/devlake/core/models/domainlayer/ticket"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/taiga/models"
)
var ConvertIssuesMeta = plugin.SubTaskMeta{
diff --git a/backend/plugins/taiga/tasks/issue_extractor.go b/backend/plugins/taiga/tasks/issue_extractor.go
index f2dd54c..1eb45f4 100644
--- a/backend/plugins/taiga/tasks/issue_extractor.go
+++ b/backend/plugins/taiga/tasks/issue_extractor.go
@@ -21,10 +21,10 @@
"encoding/json"
"time"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/taiga/models"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/taiga/models"
)
var _ plugin.SubTaskEntryPoint = ExtractIssues
diff --git a/backend/plugins/taiga/tasks/project_collector.go b/backend/plugins/taiga/tasks/project_collector.go
index 4a6462b..70f1fd2 100644
--- a/backend/plugins/taiga/tasks/project_collector.go
+++ b/backend/plugins/taiga/tasks/project_collector.go
@@ -21,9 +21,9 @@
"encoding/json"
"net/http"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
)
const RAW_PROJECT_TABLE = "taiga_api_projects"
diff --git a/backend/plugins/taiga/tasks/project_convertor.go b/backend/plugins/taiga/tasks/project_convertor.go
index 032831d..1abb48a 100644
--- a/backend/plugins/taiga/tasks/project_convertor.go
+++ b/backend/plugins/taiga/tasks/project_convertor.go
@@ -20,14 +20,14 @@
import (
"reflect"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/domainlayer"
- "github.com/apache/incubator-devlake/core/models/domainlayer/didgen"
- "github.com/apache/incubator-devlake/core/models/domainlayer/ticket"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/taiga/models"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/domainlayer"
+ "github.com/apache/devlake/core/models/domainlayer/didgen"
+ "github.com/apache/devlake/core/models/domainlayer/ticket"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/taiga/models"
)
var ConvertProjectsMeta = plugin.SubTaskMeta{
diff --git a/backend/plugins/taiga/tasks/project_extractor.go b/backend/plugins/taiga/tasks/project_extractor.go
index 669e347..904cfcb 100644
--- a/backend/plugins/taiga/tasks/project_extractor.go
+++ b/backend/plugins/taiga/tasks/project_extractor.go
@@ -20,11 +20,11 @@
import (
"encoding/json"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/common"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/taiga/models"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/common"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/taiga/models"
)
var _ plugin.SubTaskEntryPoint = ExtractProjects
diff --git a/backend/plugins/taiga/tasks/task_collector.go b/backend/plugins/taiga/tasks/task_collector.go
index fabec6e..4d0f6a6 100644
--- a/backend/plugins/taiga/tasks/task_collector.go
+++ b/backend/plugins/taiga/tasks/task_collector.go
@@ -23,9 +23,9 @@
"net/http"
"net/url"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
)
const RAW_TASK_TABLE = "taiga_api_tasks"
diff --git a/backend/plugins/taiga/tasks/task_convertor.go b/backend/plugins/taiga/tasks/task_convertor.go
index f13b516..2aa80de 100644
--- a/backend/plugins/taiga/tasks/task_convertor.go
+++ b/backend/plugins/taiga/tasks/task_convertor.go
@@ -18,14 +18,14 @@
package tasks
import (
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/domainlayer"
- "github.com/apache/incubator-devlake/core/models/domainlayer/didgen"
- "github.com/apache/incubator-devlake/core/models/domainlayer/ticket"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/taiga/models"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/domainlayer"
+ "github.com/apache/devlake/core/models/domainlayer/didgen"
+ "github.com/apache/devlake/core/models/domainlayer/ticket"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/taiga/models"
)
var ConvertTasksMeta = plugin.SubTaskMeta{
diff --git a/backend/plugins/taiga/tasks/task_data.go b/backend/plugins/taiga/tasks/task_data.go
index dd6b3d5..5f97c7e 100644
--- a/backend/plugins/taiga/tasks/task_data.go
+++ b/backend/plugins/taiga/tasks/task_data.go
@@ -20,9 +20,9 @@
import (
"fmt"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/taiga/models"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/taiga/models"
)
type TaigaOptions struct {
diff --git a/backend/plugins/taiga/tasks/task_extractor.go b/backend/plugins/taiga/tasks/task_extractor.go
index 29bece0..219cac3 100644
--- a/backend/plugins/taiga/tasks/task_extractor.go
+++ b/backend/plugins/taiga/tasks/task_extractor.go
@@ -21,10 +21,10 @@
"encoding/json"
"time"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/taiga/models"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/taiga/models"
)
var _ plugin.SubTaskEntryPoint = ExtractTasks
diff --git a/backend/plugins/taiga/tasks/user_story_collector.go b/backend/plugins/taiga/tasks/user_story_collector.go
index 80f3ec7..1fa69f8 100644
--- a/backend/plugins/taiga/tasks/user_story_collector.go
+++ b/backend/plugins/taiga/tasks/user_story_collector.go
@@ -23,9 +23,9 @@
"net/http"
"net/url"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
)
const RAW_USER_STORY_TABLE = "taiga_api_user_stories"
diff --git a/backend/plugins/taiga/tasks/user_story_convertor.go b/backend/plugins/taiga/tasks/user_story_convertor.go
index 963a25a..0b07450 100644
--- a/backend/plugins/taiga/tasks/user_story_convertor.go
+++ b/backend/plugins/taiga/tasks/user_story_convertor.go
@@ -20,14 +20,14 @@
import (
"fmt"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/domainlayer"
- "github.com/apache/incubator-devlake/core/models/domainlayer/didgen"
- "github.com/apache/incubator-devlake/core/models/domainlayer/ticket"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/taiga/models"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/domainlayer"
+ "github.com/apache/devlake/core/models/domainlayer/didgen"
+ "github.com/apache/devlake/core/models/domainlayer/ticket"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/taiga/models"
)
var ConvertUserStoriesMeta = plugin.SubTaskMeta{
diff --git a/backend/plugins/taiga/tasks/user_story_extractor.go b/backend/plugins/taiga/tasks/user_story_extractor.go
index 642981e..883024f 100644
--- a/backend/plugins/taiga/tasks/user_story_extractor.go
+++ b/backend/plugins/taiga/tasks/user_story_extractor.go
@@ -21,10 +21,10 @@
"encoding/json"
"time"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/taiga/models"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/taiga/models"
)
var _ plugin.SubTaskEntryPoint = ExtractUserStories
diff --git a/backend/plugins/tapd/api/blueprint_v200.go b/backend/plugins/tapd/api/blueprint_v200.go
index abb8695..c92c05b 100644
--- a/backend/plugins/tapd/api/blueprint_v200.go
+++ b/backend/plugins/tapd/api/blueprint_v200.go
@@ -18,16 +18,16 @@
package api
import (
- "github.com/apache/incubator-devlake/core/errors"
- coreModels "github.com/apache/incubator-devlake/core/models"
- "github.com/apache/incubator-devlake/core/models/domainlayer/didgen"
- "github.com/apache/incubator-devlake/core/models/domainlayer/ticket"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/core/utils"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/helpers/srvhelper"
- "github.com/apache/incubator-devlake/plugins/tapd/models"
- "github.com/apache/incubator-devlake/plugins/tapd/tasks"
+ "github.com/apache/devlake/core/errors"
+ coreModels "github.com/apache/devlake/core/models"
+ "github.com/apache/devlake/core/models/domainlayer/didgen"
+ "github.com/apache/devlake/core/models/domainlayer/ticket"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/core/utils"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/helpers/srvhelper"
+ "github.com/apache/devlake/plugins/tapd/models"
+ "github.com/apache/devlake/plugins/tapd/tasks"
)
func MakeDataSourcePipelinePlanV200(
diff --git a/backend/plugins/tapd/api/connection_api.go b/backend/plugins/tapd/api/connection_api.go
index 97224d7..a27dee9 100644
--- a/backend/plugins/tapd/api/connection_api.go
+++ b/backend/plugins/tapd/api/connection_api.go
@@ -22,12 +22,12 @@
"fmt"
"net/http"
- "github.com/apache/incubator-devlake/server/api/shared"
+ "github.com/apache/devlake/server/api/shared"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/tapd/models"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/tapd/models"
)
type TapdTestConnResponse struct {
diff --git a/backend/plugins/tapd/api/init.go b/backend/plugins/tapd/api/init.go
index 029f53a..c7ec388 100644
--- a/backend/plugins/tapd/api/init.go
+++ b/backend/plugins/tapd/api/init.go
@@ -18,11 +18,11 @@
package api
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/helpers/srvhelper"
- "github.com/apache/incubator-devlake/plugins/tapd/models"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/helpers/srvhelper"
+ "github.com/apache/devlake/plugins/tapd/models"
"github.com/go-playground/validator/v10"
)
diff --git a/backend/plugins/tapd/api/remote_api.go b/backend/plugins/tapd/api/remote_api.go
index cce9bcf..ce892aa 100644
--- a/backend/plugins/tapd/api/remote_api.go
+++ b/backend/plugins/tapd/api/remote_api.go
@@ -22,12 +22,12 @@
"net/url"
"sort"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- dsmodels "github.com/apache/incubator-devlake/helpers/pluginhelper/api/models"
- "github.com/apache/incubator-devlake/helpers/srvhelper"
- "github.com/apache/incubator-devlake/plugins/tapd/models"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ dsmodels "github.com/apache/devlake/helpers/pluginhelper/api/models"
+ "github.com/apache/devlake/helpers/srvhelper"
+ "github.com/apache/devlake/plugins/tapd/models"
)
func listTapdRemoteScopes(
diff --git a/backend/plugins/tapd/api/scope_api.go b/backend/plugins/tapd/api/scope_api.go
index 8f020cc..0782315 100644
--- a/backend/plugins/tapd/api/scope_api.go
+++ b/backend/plugins/tapd/api/scope_api.go
@@ -20,10 +20,10 @@
import (
"strings"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/tapd/models"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/tapd/models"
)
type PutScopesReqBody api.PutScopesReqBody[models.TapdWorkspace]
diff --git a/backend/plugins/tapd/api/scope_config_api.go b/backend/plugins/tapd/api/scope_config_api.go
index 25d10eb..80d179e 100644
--- a/backend/plugins/tapd/api/scope_config_api.go
+++ b/backend/plugins/tapd/api/scope_config_api.go
@@ -18,8 +18,8 @@
package api
import (
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
)
// CreateScopeConfig create scope config for Tapd
diff --git a/backend/plugins/tapd/api/scope_state_api.go b/backend/plugins/tapd/api/scope_state_api.go
index 046df41..704426e 100644
--- a/backend/plugins/tapd/api/scope_state_api.go
+++ b/backend/plugins/tapd/api/scope_state_api.go
@@ -18,8 +18,8 @@
package api
import (
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
)
// GetScopeLatestSyncState get one tapd workspace's latest sync state
diff --git a/backend/plugins/tapd/api/swagger.go b/backend/plugins/tapd/api/swagger.go
index da296b3..5fb5479 100644
--- a/backend/plugins/tapd/api/swagger.go
+++ b/backend/plugins/tapd/api/swagger.go
@@ -18,7 +18,7 @@
package api
import (
- "github.com/apache/incubator-devlake/plugins/tapd/tasks"
+ "github.com/apache/devlake/plugins/tapd/tasks"
)
type TapdTaskOptions tasks.TapdOptions
diff --git a/backend/plugins/tapd/e2e/bug_changelog_test.go b/backend/plugins/tapd/e2e/bug_changelog_test.go
index 68493e9..4966f31 100644
--- a/backend/plugins/tapd/e2e/bug_changelog_test.go
+++ b/backend/plugins/tapd/e2e/bug_changelog_test.go
@@ -20,11 +20,11 @@
import (
"testing"
- "github.com/apache/incubator-devlake/core/models/domainlayer/ticket"
- "github.com/apache/incubator-devlake/helpers/e2ehelper"
- "github.com/apache/incubator-devlake/plugins/tapd/impl"
- "github.com/apache/incubator-devlake/plugins/tapd/models"
- "github.com/apache/incubator-devlake/plugins/tapd/tasks"
+ "github.com/apache/devlake/core/models/domainlayer/ticket"
+ "github.com/apache/devlake/helpers/e2ehelper"
+ "github.com/apache/devlake/plugins/tapd/impl"
+ "github.com/apache/devlake/plugins/tapd/models"
+ "github.com/apache/devlake/plugins/tapd/tasks"
)
func TestTapdBugChangelogDataFlow(t *testing.T) {
diff --git a/backend/plugins/tapd/e2e/bug_custom_field_test.go b/backend/plugins/tapd/e2e/bug_custom_field_test.go
index cbab446..c523bea 100644
--- a/backend/plugins/tapd/e2e/bug_custom_field_test.go
+++ b/backend/plugins/tapd/e2e/bug_custom_field_test.go
@@ -18,10 +18,10 @@
package e2e
import (
- "github.com/apache/incubator-devlake/helpers/e2ehelper"
- "github.com/apache/incubator-devlake/plugins/tapd/impl"
- "github.com/apache/incubator-devlake/plugins/tapd/models"
- "github.com/apache/incubator-devlake/plugins/tapd/tasks"
+ "github.com/apache/devlake/helpers/e2ehelper"
+ "github.com/apache/devlake/plugins/tapd/impl"
+ "github.com/apache/devlake/plugins/tapd/models"
+ "github.com/apache/devlake/plugins/tapd/tasks"
"testing"
)
diff --git a/backend/plugins/tapd/e2e/bugs_commit_test.go b/backend/plugins/tapd/e2e/bugs_commit_test.go
index a2e0dad..2e8cb89 100644
--- a/backend/plugins/tapd/e2e/bugs_commit_test.go
+++ b/backend/plugins/tapd/e2e/bugs_commit_test.go
@@ -18,12 +18,12 @@
package e2e
import (
- "github.com/apache/incubator-devlake/core/models/common"
- "github.com/apache/incubator-devlake/core/models/domainlayer/crossdomain"
- "github.com/apache/incubator-devlake/helpers/e2ehelper"
- "github.com/apache/incubator-devlake/plugins/tapd/impl"
- "github.com/apache/incubator-devlake/plugins/tapd/models"
- "github.com/apache/incubator-devlake/plugins/tapd/tasks"
+ "github.com/apache/devlake/core/models/common"
+ "github.com/apache/devlake/core/models/domainlayer/crossdomain"
+ "github.com/apache/devlake/helpers/e2ehelper"
+ "github.com/apache/devlake/plugins/tapd/impl"
+ "github.com/apache/devlake/plugins/tapd/models"
+ "github.com/apache/devlake/plugins/tapd/tasks"
"testing"
)
diff --git a/backend/plugins/tapd/e2e/bugs_test.go b/backend/plugins/tapd/e2e/bugs_test.go
index 6c676fd..3fd6043 100644
--- a/backend/plugins/tapd/e2e/bugs_test.go
+++ b/backend/plugins/tapd/e2e/bugs_test.go
@@ -20,12 +20,12 @@
import (
"testing"
- "github.com/apache/incubator-devlake/core/models/common"
- "github.com/apache/incubator-devlake/core/models/domainlayer/ticket"
- "github.com/apache/incubator-devlake/helpers/e2ehelper"
- "github.com/apache/incubator-devlake/plugins/tapd/impl"
- "github.com/apache/incubator-devlake/plugins/tapd/models"
- "github.com/apache/incubator-devlake/plugins/tapd/tasks"
+ "github.com/apache/devlake/core/models/common"
+ "github.com/apache/devlake/core/models/domainlayer/ticket"
+ "github.com/apache/devlake/helpers/e2ehelper"
+ "github.com/apache/devlake/plugins/tapd/impl"
+ "github.com/apache/devlake/plugins/tapd/models"
+ "github.com/apache/devlake/plugins/tapd/tasks"
)
func TestTapdBugDataFlow(t *testing.T) {
diff --git a/backend/plugins/tapd/e2e/iterations_test.go b/backend/plugins/tapd/e2e/iterations_test.go
index c9f747c..8698fcb 100644
--- a/backend/plugins/tapd/e2e/iterations_test.go
+++ b/backend/plugins/tapd/e2e/iterations_test.go
@@ -18,11 +18,11 @@
package e2e
import (
- "github.com/apache/incubator-devlake/core/models/domainlayer/ticket"
- "github.com/apache/incubator-devlake/helpers/e2ehelper"
- "github.com/apache/incubator-devlake/plugins/tapd/impl"
- "github.com/apache/incubator-devlake/plugins/tapd/models"
- "github.com/apache/incubator-devlake/plugins/tapd/tasks"
+ "github.com/apache/devlake/core/models/domainlayer/ticket"
+ "github.com/apache/devlake/helpers/e2ehelper"
+ "github.com/apache/devlake/plugins/tapd/impl"
+ "github.com/apache/devlake/plugins/tapd/models"
+ "github.com/apache/devlake/plugins/tapd/tasks"
"testing"
)
diff --git a/backend/plugins/tapd/e2e/stories_commit_test.go b/backend/plugins/tapd/e2e/stories_commit_test.go
index d6b6325..8c622de 100644
--- a/backend/plugins/tapd/e2e/stories_commit_test.go
+++ b/backend/plugins/tapd/e2e/stories_commit_test.go
@@ -18,12 +18,12 @@
package e2e
import (
- "github.com/apache/incubator-devlake/core/models/common"
- "github.com/apache/incubator-devlake/core/models/domainlayer/crossdomain"
- "github.com/apache/incubator-devlake/helpers/e2ehelper"
- "github.com/apache/incubator-devlake/plugins/tapd/impl"
- "github.com/apache/incubator-devlake/plugins/tapd/models"
- "github.com/apache/incubator-devlake/plugins/tapd/tasks"
+ "github.com/apache/devlake/core/models/common"
+ "github.com/apache/devlake/core/models/domainlayer/crossdomain"
+ "github.com/apache/devlake/helpers/e2ehelper"
+ "github.com/apache/devlake/plugins/tapd/impl"
+ "github.com/apache/devlake/plugins/tapd/models"
+ "github.com/apache/devlake/plugins/tapd/tasks"
"testing"
)
diff --git a/backend/plugins/tapd/e2e/stories_test.go b/backend/plugins/tapd/e2e/stories_test.go
index e7650ca..f3ade91 100644
--- a/backend/plugins/tapd/e2e/stories_test.go
+++ b/backend/plugins/tapd/e2e/stories_test.go
@@ -20,12 +20,12 @@
import (
"testing"
- "github.com/apache/incubator-devlake/core/models/common"
- "github.com/apache/incubator-devlake/core/models/domainlayer/ticket"
- "github.com/apache/incubator-devlake/helpers/e2ehelper"
- "github.com/apache/incubator-devlake/plugins/tapd/impl"
- "github.com/apache/incubator-devlake/plugins/tapd/models"
- "github.com/apache/incubator-devlake/plugins/tapd/tasks"
+ "github.com/apache/devlake/core/models/common"
+ "github.com/apache/devlake/core/models/domainlayer/ticket"
+ "github.com/apache/devlake/helpers/e2ehelper"
+ "github.com/apache/devlake/plugins/tapd/impl"
+ "github.com/apache/devlake/plugins/tapd/models"
+ "github.com/apache/devlake/plugins/tapd/tasks"
)
func TestTapdStoryDataFlow(t *testing.T) {
diff --git a/backend/plugins/tapd/e2e/story_and_bug_status_test.go b/backend/plugins/tapd/e2e/story_and_bug_status_test.go
index 46802c4..ee65da7 100644
--- a/backend/plugins/tapd/e2e/story_and_bug_status_test.go
+++ b/backend/plugins/tapd/e2e/story_and_bug_status_test.go
@@ -18,10 +18,10 @@
package e2e
import (
- "github.com/apache/incubator-devlake/helpers/e2ehelper"
- "github.com/apache/incubator-devlake/plugins/tapd/impl"
- "github.com/apache/incubator-devlake/plugins/tapd/models"
- "github.com/apache/incubator-devlake/plugins/tapd/tasks"
+ "github.com/apache/devlake/helpers/e2ehelper"
+ "github.com/apache/devlake/plugins/tapd/impl"
+ "github.com/apache/devlake/plugins/tapd/models"
+ "github.com/apache/devlake/plugins/tapd/tasks"
"testing"
)
diff --git a/backend/plugins/tapd/e2e/story_bug_test.go b/backend/plugins/tapd/e2e/story_bug_test.go
index 6f48434..cd0a0a9 100644
--- a/backend/plugins/tapd/e2e/story_bug_test.go
+++ b/backend/plugins/tapd/e2e/story_bug_test.go
@@ -18,10 +18,10 @@
package e2e
import (
- "github.com/apache/incubator-devlake/helpers/e2ehelper"
- "github.com/apache/incubator-devlake/plugins/tapd/impl"
- "github.com/apache/incubator-devlake/plugins/tapd/models"
- "github.com/apache/incubator-devlake/plugins/tapd/tasks"
+ "github.com/apache/devlake/helpers/e2ehelper"
+ "github.com/apache/devlake/plugins/tapd/impl"
+ "github.com/apache/devlake/plugins/tapd/models"
+ "github.com/apache/devlake/plugins/tapd/tasks"
"testing"
)
diff --git a/backend/plugins/tapd/e2e/story_category_test.go b/backend/plugins/tapd/e2e/story_category_test.go
index 0d5b32a..3e6df3e 100644
--- a/backend/plugins/tapd/e2e/story_category_test.go
+++ b/backend/plugins/tapd/e2e/story_category_test.go
@@ -18,10 +18,10 @@
package e2e
import (
- "github.com/apache/incubator-devlake/helpers/e2ehelper"
- "github.com/apache/incubator-devlake/plugins/tapd/impl"
- "github.com/apache/incubator-devlake/plugins/tapd/models"
- "github.com/apache/incubator-devlake/plugins/tapd/tasks"
+ "github.com/apache/devlake/helpers/e2ehelper"
+ "github.com/apache/devlake/plugins/tapd/impl"
+ "github.com/apache/devlake/plugins/tapd/models"
+ "github.com/apache/devlake/plugins/tapd/tasks"
"testing"
)
diff --git a/backend/plugins/tapd/e2e/story_changelog_test.go b/backend/plugins/tapd/e2e/story_changelog_test.go
index dc70b30..4c67789 100644
--- a/backend/plugins/tapd/e2e/story_changelog_test.go
+++ b/backend/plugins/tapd/e2e/story_changelog_test.go
@@ -20,11 +20,11 @@
import (
"testing"
- "github.com/apache/incubator-devlake/core/models/domainlayer/ticket"
- "github.com/apache/incubator-devlake/helpers/e2ehelper"
- "github.com/apache/incubator-devlake/plugins/tapd/impl"
- "github.com/apache/incubator-devlake/plugins/tapd/models"
- "github.com/apache/incubator-devlake/plugins/tapd/tasks"
+ "github.com/apache/devlake/core/models/domainlayer/ticket"
+ "github.com/apache/devlake/helpers/e2ehelper"
+ "github.com/apache/devlake/plugins/tapd/impl"
+ "github.com/apache/devlake/plugins/tapd/models"
+ "github.com/apache/devlake/plugins/tapd/tasks"
)
func TestTapdStoryChangelogDataFlow(t *testing.T) {
diff --git a/backend/plugins/tapd/e2e/story_custom_field_test.go b/backend/plugins/tapd/e2e/story_custom_field_test.go
index 5144e44..6841b61 100644
--- a/backend/plugins/tapd/e2e/story_custom_field_test.go
+++ b/backend/plugins/tapd/e2e/story_custom_field_test.go
@@ -18,10 +18,10 @@
package e2e
import (
- "github.com/apache/incubator-devlake/helpers/e2ehelper"
- "github.com/apache/incubator-devlake/plugins/tapd/impl"
- "github.com/apache/incubator-devlake/plugins/tapd/models"
- "github.com/apache/incubator-devlake/plugins/tapd/tasks"
+ "github.com/apache/devlake/helpers/e2ehelper"
+ "github.com/apache/devlake/plugins/tapd/impl"
+ "github.com/apache/devlake/plugins/tapd/models"
+ "github.com/apache/devlake/plugins/tapd/tasks"
"testing"
)
diff --git a/backend/plugins/tapd/e2e/task_changelog_test.go b/backend/plugins/tapd/e2e/task_changelog_test.go
index 98fa948..89a579b 100644
--- a/backend/plugins/tapd/e2e/task_changelog_test.go
+++ b/backend/plugins/tapd/e2e/task_changelog_test.go
@@ -20,11 +20,11 @@
import (
"testing"
- "github.com/apache/incubator-devlake/core/models/domainlayer/ticket"
- "github.com/apache/incubator-devlake/helpers/e2ehelper"
- "github.com/apache/incubator-devlake/plugins/tapd/impl"
- "github.com/apache/incubator-devlake/plugins/tapd/models"
- "github.com/apache/incubator-devlake/plugins/tapd/tasks"
+ "github.com/apache/devlake/core/models/domainlayer/ticket"
+ "github.com/apache/devlake/helpers/e2ehelper"
+ "github.com/apache/devlake/plugins/tapd/impl"
+ "github.com/apache/devlake/plugins/tapd/models"
+ "github.com/apache/devlake/plugins/tapd/tasks"
)
func TestTapdTaskChangelogDataFlow(t *testing.T) {
diff --git a/backend/plugins/tapd/e2e/task_custom_field_test.go b/backend/plugins/tapd/e2e/task_custom_field_test.go
index a94d15a..ea7eaef 100644
--- a/backend/plugins/tapd/e2e/task_custom_field_test.go
+++ b/backend/plugins/tapd/e2e/task_custom_field_test.go
@@ -18,10 +18,10 @@
package e2e
import (
- "github.com/apache/incubator-devlake/helpers/e2ehelper"
- "github.com/apache/incubator-devlake/plugins/tapd/impl"
- "github.com/apache/incubator-devlake/plugins/tapd/models"
- "github.com/apache/incubator-devlake/plugins/tapd/tasks"
+ "github.com/apache/devlake/helpers/e2ehelper"
+ "github.com/apache/devlake/plugins/tapd/impl"
+ "github.com/apache/devlake/plugins/tapd/models"
+ "github.com/apache/devlake/plugins/tapd/tasks"
"testing"
)
diff --git a/backend/plugins/tapd/e2e/tasks_commit_test.go b/backend/plugins/tapd/e2e/tasks_commit_test.go
index 40eb51b..0abf15a 100644
--- a/backend/plugins/tapd/e2e/tasks_commit_test.go
+++ b/backend/plugins/tapd/e2e/tasks_commit_test.go
@@ -18,12 +18,12 @@
package e2e
import (
- "github.com/apache/incubator-devlake/core/models/common"
- "github.com/apache/incubator-devlake/core/models/domainlayer/crossdomain"
- "github.com/apache/incubator-devlake/helpers/e2ehelper"
- "github.com/apache/incubator-devlake/plugins/tapd/impl"
- "github.com/apache/incubator-devlake/plugins/tapd/models"
- "github.com/apache/incubator-devlake/plugins/tapd/tasks"
+ "github.com/apache/devlake/core/models/common"
+ "github.com/apache/devlake/core/models/domainlayer/crossdomain"
+ "github.com/apache/devlake/helpers/e2ehelper"
+ "github.com/apache/devlake/plugins/tapd/impl"
+ "github.com/apache/devlake/plugins/tapd/models"
+ "github.com/apache/devlake/plugins/tapd/tasks"
"testing"
)
diff --git a/backend/plugins/tapd/e2e/tasks_test.go b/backend/plugins/tapd/e2e/tasks_test.go
index 95a7c68..2c1eb43 100644
--- a/backend/plugins/tapd/e2e/tasks_test.go
+++ b/backend/plugins/tapd/e2e/tasks_test.go
@@ -20,12 +20,12 @@
import (
"testing"
- "github.com/apache/incubator-devlake/core/models/common"
- "github.com/apache/incubator-devlake/core/models/domainlayer/ticket"
- "github.com/apache/incubator-devlake/helpers/e2ehelper"
- "github.com/apache/incubator-devlake/plugins/tapd/impl"
- "github.com/apache/incubator-devlake/plugins/tapd/models"
- "github.com/apache/incubator-devlake/plugins/tapd/tasks"
+ "github.com/apache/devlake/core/models/common"
+ "github.com/apache/devlake/core/models/domainlayer/ticket"
+ "github.com/apache/devlake/helpers/e2ehelper"
+ "github.com/apache/devlake/plugins/tapd/impl"
+ "github.com/apache/devlake/plugins/tapd/models"
+ "github.com/apache/devlake/plugins/tapd/tasks"
)
func TestTapdTaskDataFlow(t *testing.T) {
diff --git a/backend/plugins/tapd/e2e/workitem_type_test.go b/backend/plugins/tapd/e2e/workitem_type_test.go
index 3e1283c..45453bd 100644
--- a/backend/plugins/tapd/e2e/workitem_type_test.go
+++ b/backend/plugins/tapd/e2e/workitem_type_test.go
@@ -18,10 +18,10 @@
package e2e
import (
- "github.com/apache/incubator-devlake/helpers/e2ehelper"
- "github.com/apache/incubator-devlake/plugins/tapd/impl"
- "github.com/apache/incubator-devlake/plugins/tapd/models"
- "github.com/apache/incubator-devlake/plugins/tapd/tasks"
+ "github.com/apache/devlake/helpers/e2ehelper"
+ "github.com/apache/devlake/plugins/tapd/impl"
+ "github.com/apache/devlake/plugins/tapd/models"
+ "github.com/apache/devlake/plugins/tapd/tasks"
"testing"
)
diff --git a/backend/plugins/tapd/e2e/worklog_test.go b/backend/plugins/tapd/e2e/worklog_test.go
index f15b80c..a1d1ade 100644
--- a/backend/plugins/tapd/e2e/worklog_test.go
+++ b/backend/plugins/tapd/e2e/worklog_test.go
@@ -18,11 +18,11 @@
package e2e
import (
- "github.com/apache/incubator-devlake/core/models/domainlayer/ticket"
- "github.com/apache/incubator-devlake/helpers/e2ehelper"
- "github.com/apache/incubator-devlake/plugins/tapd/impl"
- "github.com/apache/incubator-devlake/plugins/tapd/models"
- "github.com/apache/incubator-devlake/plugins/tapd/tasks"
+ "github.com/apache/devlake/core/models/domainlayer/ticket"
+ "github.com/apache/devlake/helpers/e2ehelper"
+ "github.com/apache/devlake/plugins/tapd/impl"
+ "github.com/apache/devlake/plugins/tapd/models"
+ "github.com/apache/devlake/plugins/tapd/tasks"
"testing"
)
diff --git a/backend/plugins/tapd/impl/impl.go b/backend/plugins/tapd/impl/impl.go
index a73130b..c231bf6 100644
--- a/backend/plugins/tapd/impl/impl.go
+++ b/backend/plugins/tapd/impl/impl.go
@@ -21,16 +21,16 @@
"fmt"
"time"
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- coreModels "github.com/apache/incubator-devlake/core/models"
- "github.com/apache/incubator-devlake/core/plugin"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/tapd/api"
- "github.com/apache/incubator-devlake/plugins/tapd/models"
- "github.com/apache/incubator-devlake/plugins/tapd/models/migrationscripts"
- "github.com/apache/incubator-devlake/plugins/tapd/tasks"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ coreModels "github.com/apache/devlake/core/models"
+ "github.com/apache/devlake/core/plugin"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/tapd/api"
+ "github.com/apache/devlake/plugins/tapd/models"
+ "github.com/apache/devlake/plugins/tapd/models/migrationscripts"
+ "github.com/apache/devlake/plugins/tapd/tasks"
)
var _ interface {
@@ -255,7 +255,7 @@
}
func (p Tapd) RootPkgPath() string {
- return "github.com/apache/incubator-devlake/plugins/tapd"
+ return "github.com/apache/devlake/plugins/tapd"
}
func (p Tapd) MigrationScripts() []plugin.MigrationScript {
diff --git a/backend/plugins/tapd/models/account.go b/backend/plugins/tapd/models/account.go
index 0a925e9..4c4794b 100644
--- a/backend/plugins/tapd/models/account.go
+++ b/backend/plugins/tapd/models/account.go
@@ -18,7 +18,7 @@
package models
import (
- "github.com/apache/incubator-devlake/core/models/common"
+ "github.com/apache/devlake/core/models/common"
)
type TapdAccount struct {
diff --git a/backend/plugins/tapd/models/bug.go b/backend/plugins/tapd/models/bug.go
index c2fb467..b02a954 100644
--- a/backend/plugins/tapd/models/bug.go
+++ b/backend/plugins/tapd/models/bug.go
@@ -21,7 +21,7 @@
"encoding/json"
"time"
- "github.com/apache/incubator-devlake/core/models/common"
+ "github.com/apache/devlake/core/models/common"
)
type TapdBug struct {
diff --git a/backend/plugins/tapd/models/bug_changelog.go b/backend/plugins/tapd/models/bug_changelog.go
index 8b4302b..dac3f05 100644
--- a/backend/plugins/tapd/models/bug_changelog.go
+++ b/backend/plugins/tapd/models/bug_changelog.go
@@ -18,7 +18,7 @@
package models
import (
- "github.com/apache/incubator-devlake/core/models/common"
+ "github.com/apache/devlake/core/models/common"
)
type TapdBugChangelog struct {
diff --git a/backend/plugins/tapd/models/bug_commit.go b/backend/plugins/tapd/models/bug_commit.go
index 1d584fd..e4cce7d 100644
--- a/backend/plugins/tapd/models/bug_commit.go
+++ b/backend/plugins/tapd/models/bug_commit.go
@@ -20,7 +20,7 @@
import (
"time"
- "github.com/apache/incubator-devlake/core/models/common"
+ "github.com/apache/devlake/core/models/common"
)
type TapdBugCommit struct {
diff --git a/backend/plugins/tapd/models/bug_custom_field.go b/backend/plugins/tapd/models/bug_custom_field.go
index 779302d..88e788a 100644
--- a/backend/plugins/tapd/models/bug_custom_field.go
+++ b/backend/plugins/tapd/models/bug_custom_field.go
@@ -18,7 +18,7 @@
package models
import (
- "github.com/apache/incubator-devlake/core/models/common"
+ "github.com/apache/devlake/core/models/common"
)
type TapdBugCustomFields struct {
diff --git a/backend/plugins/tapd/models/bug_custom_field_value.go b/backend/plugins/tapd/models/bug_custom_field_value.go
index 4d83d39..d8ecca6 100644
--- a/backend/plugins/tapd/models/bug_custom_field_value.go
+++ b/backend/plugins/tapd/models/bug_custom_field_value.go
@@ -18,7 +18,7 @@
package models
import (
- "github.com/apache/incubator-devlake/core/models/common"
+ "github.com/apache/devlake/core/models/common"
)
type TapdBugCustomFieldValue struct {
diff --git a/backend/plugins/tapd/models/bug_label.go b/backend/plugins/tapd/models/bug_label.go
index 4cd6165..c613f23 100644
--- a/backend/plugins/tapd/models/bug_label.go
+++ b/backend/plugins/tapd/models/bug_label.go
@@ -18,7 +18,7 @@
package models
import (
- "github.com/apache/incubator-devlake/core/models/common"
+ "github.com/apache/devlake/core/models/common"
)
type TapdBugLabel struct {
diff --git a/backend/plugins/tapd/models/bug_status.go b/backend/plugins/tapd/models/bug_status.go
index f77f891..cb1288f 100644
--- a/backend/plugins/tapd/models/bug_status.go
+++ b/backend/plugins/tapd/models/bug_status.go
@@ -18,7 +18,7 @@
package models
import (
- "github.com/apache/incubator-devlake/core/models/common"
+ "github.com/apache/devlake/core/models/common"
)
type TapdBugStatus struct {
diff --git a/backend/plugins/tapd/models/changelog.go b/backend/plugins/tapd/models/changelog.go
index 4a13852..566c79e 100644
--- a/backend/plugins/tapd/models/changelog.go
+++ b/backend/plugins/tapd/models/changelog.go
@@ -18,7 +18,7 @@
package models
import (
- "github.com/apache/incubator-devlake/core/models/common"
+ "github.com/apache/devlake/core/models/common"
"time"
)
diff --git a/backend/plugins/tapd/models/connection.go b/backend/plugins/tapd/models/connection.go
index 4d26aec..00f0b5e 100644
--- a/backend/plugins/tapd/models/connection.go
+++ b/backend/plugins/tapd/models/connection.go
@@ -18,7 +18,7 @@
package models
import (
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
)
// TapdConn holds the essential information to connect to the TapdConn API
diff --git a/backend/plugins/tapd/models/iteration.go b/backend/plugins/tapd/models/iteration.go
index 16a8f86..84d68dc 100644
--- a/backend/plugins/tapd/models/iteration.go
+++ b/backend/plugins/tapd/models/iteration.go
@@ -18,7 +18,7 @@
package models
import (
- "github.com/apache/incubator-devlake/core/models/common"
+ "github.com/apache/devlake/core/models/common"
)
type TapdIteration struct {
diff --git a/backend/plugins/tapd/models/iteration_bug.go b/backend/plugins/tapd/models/iteration_bug.go
index 6883f99..f2a852c 100644
--- a/backend/plugins/tapd/models/iteration_bug.go
+++ b/backend/plugins/tapd/models/iteration_bug.go
@@ -18,7 +18,7 @@
package models
import (
- "github.com/apache/incubator-devlake/core/models/common"
+ "github.com/apache/devlake/core/models/common"
)
type TapdIterationBug struct {
diff --git a/backend/plugins/tapd/models/iteration_story.go b/backend/plugins/tapd/models/iteration_story.go
index 76024ce..638c267 100644
--- a/backend/plugins/tapd/models/iteration_story.go
+++ b/backend/plugins/tapd/models/iteration_story.go
@@ -18,7 +18,7 @@
package models
import (
- "github.com/apache/incubator-devlake/core/models/common"
+ "github.com/apache/devlake/core/models/common"
)
type TapdIterationStory struct {
diff --git a/backend/plugins/tapd/models/iteration_task.go b/backend/plugins/tapd/models/iteration_task.go
index 0c65ac4..e2c1fa4 100644
--- a/backend/plugins/tapd/models/iteration_task.go
+++ b/backend/plugins/tapd/models/iteration_task.go
@@ -18,7 +18,7 @@
package models
import (
- "github.com/apache/incubator-devlake/core/models/common"
+ "github.com/apache/devlake/core/models/common"
)
type TapdIterationTask struct {
diff --git a/backend/plugins/tapd/models/life_time.go b/backend/plugins/tapd/models/life_time.go
index a1187f8..1128f07 100644
--- a/backend/plugins/tapd/models/life_time.go
+++ b/backend/plugins/tapd/models/life_time.go
@@ -17,7 +17,7 @@
package models
-import "github.com/apache/incubator-devlake/core/models/common"
+import "github.com/apache/devlake/core/models/common"
type TapdLifeTime struct {
ConnectionId uint64 `gorm:"primaryKey"`
diff --git a/backend/plugins/tapd/models/migrationscripts/20221109_add_init_tables.go b/backend/plugins/tapd/models/migrationscripts/20221109_add_init_tables.go
index 1be3d05..3c67335 100644
--- a/backend/plugins/tapd/models/migrationscripts/20221109_add_init_tables.go
+++ b/backend/plugins/tapd/models/migrationscripts/20221109_add_init_tables.go
@@ -18,10 +18,10 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/helpers/migrationhelper"
- "github.com/apache/incubator-devlake/plugins/tapd/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/helpers/migrationhelper"
+ "github.com/apache/devlake/plugins/tapd/models/migrationscripts/archived"
)
type addInitTables struct{}
diff --git a/backend/plugins/tapd/models/migrationscripts/20230115_encode_connection_token.go b/backend/plugins/tapd/models/migrationscripts/20230115_encode_connection_token.go
index 7b7c245..cdd4977 100644
--- a/backend/plugins/tapd/models/migrationscripts/20230115_encode_connection_token.go
+++ b/backend/plugins/tapd/models/migrationscripts/20230115_encode_connection_token.go
@@ -18,12 +18,12 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/config"
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/migrationhelper"
- "github.com/apache/incubator-devlake/plugins/tapd/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/config"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/migrationhelper"
+ "github.com/apache/devlake/plugins/tapd/models/migrationscripts/archived"
)
type encodeConnToken struct{}
diff --git a/backend/plugins/tapd/models/migrationscripts/20230323_add_transformation.go b/backend/plugins/tapd/models/migrationscripts/20230323_add_transformation.go
index 6df06aa..03c1bd7 100644
--- a/backend/plugins/tapd/models/migrationscripts/20230323_add_transformation.go
+++ b/backend/plugins/tapd/models/migrationscripts/20230323_add_transformation.go
@@ -18,11 +18,11 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/helpers/migrationhelper"
- "github.com/apache/incubator-devlake/plugins/tapd/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/helpers/migrationhelper"
+ "github.com/apache/devlake/plugins/tapd/models/migrationscripts/archived"
)
type TapdWorkspace20230323 struct {
diff --git a/backend/plugins/tapd/models/migrationscripts/20230330_delete_issue.go b/backend/plugins/tapd/models/migrationscripts/20230330_delete_issue.go
index b62777a..9f71eb1 100644
--- a/backend/plugins/tapd/models/migrationscripts/20230330_delete_issue.go
+++ b/backend/plugins/tapd/models/migrationscripts/20230330_delete_issue.go
@@ -18,9 +18,9 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/plugins/tapd/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/plugins/tapd/models/migrationscripts/archived"
)
type deleteIssue struct{}
diff --git a/backend/plugins/tapd/models/migrationscripts/20230411_modify_custom_field_name.go b/backend/plugins/tapd/models/migrationscripts/20230411_modify_custom_field_name.go
index 2120138..001ffde 100644
--- a/backend/plugins/tapd/models/migrationscripts/20230411_modify_custom_field_name.go
+++ b/backend/plugins/tapd/models/migrationscripts/20230411_modify_custom_field_name.go
@@ -21,9 +21,9 @@
"fmt"
"strings"
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
"gorm.io/gorm/clause"
)
diff --git a/backend/plugins/tapd/models/migrationscripts/20230412_add_custom_field_value.go b/backend/plugins/tapd/models/migrationscripts/20230412_add_custom_field_value.go
index 7b5e001..9fc2806 100644
--- a/backend/plugins/tapd/models/migrationscripts/20230412_add_custom_field_value.go
+++ b/backend/plugins/tapd/models/migrationscripts/20230412_add_custom_field_value.go
@@ -18,10 +18,10 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/helpers/migrationhelper"
- "github.com/apache/incubator-devlake/plugins/tapd/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/helpers/migrationhelper"
+ "github.com/apache/devlake/plugins/tapd/models/migrationscripts/archived"
)
type addCustomFieldValue struct{}
diff --git a/backend/plugins/tapd/models/migrationscripts/20230531_scope_config.go b/backend/plugins/tapd/models/migrationscripts/20230531_scope_config.go
index a446bd5..14d06f2 100644
--- a/backend/plugins/tapd/models/migrationscripts/20230531_scope_config.go
+++ b/backend/plugins/tapd/models/migrationscripts/20230531_scope_config.go
@@ -18,9 +18,9 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/helpers/migrationhelper"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/helpers/migrationhelper"
)
type renameTr2ScopeConfig struct {
diff --git a/backend/plugins/tapd/models/migrationscripts/20230630_add_raw_param_table_for_scopes.go b/backend/plugins/tapd/models/migrationscripts/20230630_add_raw_param_table_for_scopes.go
index 723301e..f674ba2 100644
--- a/backend/plugins/tapd/models/migrationscripts/20230630_add_raw_param_table_for_scopes.go
+++ b/backend/plugins/tapd/models/migrationscripts/20230630_add_raw_param_table_for_scopes.go
@@ -22,11 +22,11 @@
"fmt"
"strconv"
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/migrationhelper"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/migrationhelper"
)
var _ plugin.MigrationScript = (*addRawParamTableForScope)(nil)
diff --git a/backend/plugins/tapd/models/migrationscripts/20231026_add_connection_id_to_labels.go b/backend/plugins/tapd/models/migrationscripts/20231026_add_connection_id_to_labels.go
index 8343051..7dba6a1 100644
--- a/backend/plugins/tapd/models/migrationscripts/20231026_add_connection_id_to_labels.go
+++ b/backend/plugins/tapd/models/migrationscripts/20231026_add_connection_id_to_labels.go
@@ -18,11 +18,11 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/migrationhelper"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/migrationhelper"
)
var _ plugin.MigrationScript = (*addConnIdToLabels)(nil)
diff --git a/backend/plugins/tapd/models/migrationscripts/20240415_add_company_id_to_connection.go b/backend/plugins/tapd/models/migrationscripts/20240415_add_company_id_to_connection.go
index 347e2de..65daf1f 100644
--- a/backend/plugins/tapd/models/migrationscripts/20240415_add_company_id_to_connection.go
+++ b/backend/plugins/tapd/models/migrationscripts/20240415_add_company_id_to_connection.go
@@ -18,10 +18,10 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/migrationhelper"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/migrationhelper"
)
var _ plugin.MigrationScript = (*addCompanyIdToConnection)(nil)
diff --git a/backend/plugins/tapd/models/migrationscripts/20250221_add_lifetime_tables.go b/backend/plugins/tapd/models/migrationscripts/20250221_add_lifetime_tables.go
index 157848f..61f76d3 100644
--- a/backend/plugins/tapd/models/migrationscripts/20250221_add_lifetime_tables.go
+++ b/backend/plugins/tapd/models/migrationscripts/20250221_add_lifetime_tables.go
@@ -20,11 +20,11 @@
import (
"time"
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/migrationhelper"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/migrationhelper"
)
type TapdLifeTime struct {
diff --git a/backend/plugins/tapd/models/migrationscripts/20250305_update_scope_config.go b/backend/plugins/tapd/models/migrationscripts/20250305_update_scope_config.go
index 6a4c9aa..c1e4a7a 100644
--- a/backend/plugins/tapd/models/migrationscripts/20250305_update_scope_config.go
+++ b/backend/plugins/tapd/models/migrationscripts/20250305_update_scope_config.go
@@ -20,9 +20,9 @@
import (
"time"
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/helpers/migrationhelper"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/helpers/migrationhelper"
)
type TapdScopeConfig20250305 struct {
diff --git a/backend/plugins/tapd/models/migrationscripts/archived/account.go b/backend/plugins/tapd/models/migrationscripts/archived/account.go
index d176767..75ff7c8 100644
--- a/backend/plugins/tapd/models/migrationscripts/archived/account.go
+++ b/backend/plugins/tapd/models/migrationscripts/archived/account.go
@@ -18,7 +18,7 @@
package archived
import (
- "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/models/migrationscripts/archived"
)
type TapdAccount struct {
diff --git a/backend/plugins/tapd/models/migrationscripts/archived/bug.go b/backend/plugins/tapd/models/migrationscripts/archived/bug.go
index cceda00..58f6194 100644
--- a/backend/plugins/tapd/models/migrationscripts/archived/bug.go
+++ b/backend/plugins/tapd/models/migrationscripts/archived/bug.go
@@ -20,7 +20,7 @@
import (
"time"
- "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/models/migrationscripts/archived"
)
type TapdBug struct {
diff --git a/backend/plugins/tapd/models/migrationscripts/archived/bug_changelog.go b/backend/plugins/tapd/models/migrationscripts/archived/bug_changelog.go
index 5f667ba..a84cb75 100644
--- a/backend/plugins/tapd/models/migrationscripts/archived/bug_changelog.go
+++ b/backend/plugins/tapd/models/migrationscripts/archived/bug_changelog.go
@@ -20,7 +20,7 @@
import (
"time"
- "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/models/migrationscripts/archived"
)
type TapdBugChangelog struct {
diff --git a/backend/plugins/tapd/models/migrationscripts/archived/bug_commit.go b/backend/plugins/tapd/models/migrationscripts/archived/bug_commit.go
index 3da0690..edead42 100644
--- a/backend/plugins/tapd/models/migrationscripts/archived/bug_commit.go
+++ b/backend/plugins/tapd/models/migrationscripts/archived/bug_commit.go
@@ -20,7 +20,7 @@
import (
"time"
- "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/models/migrationscripts/archived"
)
type TapdBugCommit struct {
diff --git a/backend/plugins/tapd/models/migrationscripts/archived/bug_custom_field.go b/backend/plugins/tapd/models/migrationscripts/archived/bug_custom_field.go
index 0d1721a..e02349e 100644
--- a/backend/plugins/tapd/models/migrationscripts/archived/bug_custom_field.go
+++ b/backend/plugins/tapd/models/migrationscripts/archived/bug_custom_field.go
@@ -18,7 +18,7 @@
package archived
import (
- "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/models/migrationscripts/archived"
)
type TapdBugCustomFields struct {
diff --git a/backend/plugins/tapd/models/migrationscripts/archived/bug_custom_field_value.go b/backend/plugins/tapd/models/migrationscripts/archived/bug_custom_field_value.go
index 58a8d94..3ab2d16 100644
--- a/backend/plugins/tapd/models/migrationscripts/archived/bug_custom_field_value.go
+++ b/backend/plugins/tapd/models/migrationscripts/archived/bug_custom_field_value.go
@@ -18,7 +18,7 @@
package archived
import (
- "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/models/migrationscripts/archived"
)
type TapdBugCustomFieldValue struct {
diff --git a/backend/plugins/tapd/models/migrationscripts/archived/bug_label.go b/backend/plugins/tapd/models/migrationscripts/archived/bug_label.go
index 3cd954f..4044ff7 100644
--- a/backend/plugins/tapd/models/migrationscripts/archived/bug_label.go
+++ b/backend/plugins/tapd/models/migrationscripts/archived/bug_label.go
@@ -18,7 +18,7 @@
package archived
import (
- "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/models/migrationscripts/archived"
)
type TapdBugLabel struct {
diff --git a/backend/plugins/tapd/models/migrationscripts/archived/bug_status.go b/backend/plugins/tapd/models/migrationscripts/archived/bug_status.go
index 822221c..4fc2a91 100644
--- a/backend/plugins/tapd/models/migrationscripts/archived/bug_status.go
+++ b/backend/plugins/tapd/models/migrationscripts/archived/bug_status.go
@@ -18,7 +18,7 @@
package archived
import (
- "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/models/migrationscripts/archived"
)
type TapdBugStatus struct {
diff --git a/backend/plugins/tapd/models/migrationscripts/archived/iteration.go b/backend/plugins/tapd/models/migrationscripts/archived/iteration.go
index da25a9c..c495247 100644
--- a/backend/plugins/tapd/models/migrationscripts/archived/iteration.go
+++ b/backend/plugins/tapd/models/migrationscripts/archived/iteration.go
@@ -20,7 +20,7 @@
import (
"time"
- "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/models/migrationscripts/archived"
)
type TapdIteration struct {
diff --git a/backend/plugins/tapd/models/migrationscripts/archived/iteration_bug.go b/backend/plugins/tapd/models/migrationscripts/archived/iteration_bug.go
index e3511a2..27eba6d 100644
--- a/backend/plugins/tapd/models/migrationscripts/archived/iteration_bug.go
+++ b/backend/plugins/tapd/models/migrationscripts/archived/iteration_bug.go
@@ -20,7 +20,7 @@
import (
"time"
- "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/models/migrationscripts/archived"
)
type TapdIterationBug struct {
diff --git a/backend/plugins/tapd/models/migrationscripts/archived/iteration_story.go b/backend/plugins/tapd/models/migrationscripts/archived/iteration_story.go
index 83d9ea5..2262bd7 100644
--- a/backend/plugins/tapd/models/migrationscripts/archived/iteration_story.go
+++ b/backend/plugins/tapd/models/migrationscripts/archived/iteration_story.go
@@ -20,7 +20,7 @@
import (
"time"
- "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/models/migrationscripts/archived"
)
type TapdIterationStory struct {
diff --git a/backend/plugins/tapd/models/migrationscripts/archived/iteration_task.go b/backend/plugins/tapd/models/migrationscripts/archived/iteration_task.go
index fe930c0..5747001 100644
--- a/backend/plugins/tapd/models/migrationscripts/archived/iteration_task.go
+++ b/backend/plugins/tapd/models/migrationscripts/archived/iteration_task.go
@@ -20,7 +20,7 @@
import (
"time"
- "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/models/migrationscripts/archived"
)
type TapdIterationTask struct {
diff --git a/backend/plugins/tapd/models/migrationscripts/archived/story.go b/backend/plugins/tapd/models/migrationscripts/archived/story.go
index 8b1bf41..bc7fc7c 100644
--- a/backend/plugins/tapd/models/migrationscripts/archived/story.go
+++ b/backend/plugins/tapd/models/migrationscripts/archived/story.go
@@ -20,7 +20,7 @@
import (
"time"
- "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/models/migrationscripts/archived"
)
type TapdStory struct {
diff --git a/backend/plugins/tapd/models/migrationscripts/archived/story_bug.go b/backend/plugins/tapd/models/migrationscripts/archived/story_bug.go
index 9f4abfb..ae7a76d 100644
--- a/backend/plugins/tapd/models/migrationscripts/archived/story_bug.go
+++ b/backend/plugins/tapd/models/migrationscripts/archived/story_bug.go
@@ -18,7 +18,7 @@
package archived
import (
- "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/models/migrationscripts/archived"
"time"
)
diff --git a/backend/plugins/tapd/models/migrationscripts/archived/story_category.go b/backend/plugins/tapd/models/migrationscripts/archived/story_category.go
index f3aebfd..7a2802c 100644
--- a/backend/plugins/tapd/models/migrationscripts/archived/story_category.go
+++ b/backend/plugins/tapd/models/migrationscripts/archived/story_category.go
@@ -20,7 +20,7 @@
import (
"time"
- "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/models/migrationscripts/archived"
)
type TapdStoryCategory struct {
diff --git a/backend/plugins/tapd/models/migrationscripts/archived/story_changelog.go b/backend/plugins/tapd/models/migrationscripts/archived/story_changelog.go
index dd511f0..88efc62 100644
--- a/backend/plugins/tapd/models/migrationscripts/archived/story_changelog.go
+++ b/backend/plugins/tapd/models/migrationscripts/archived/story_changelog.go
@@ -20,7 +20,7 @@
import (
"time"
- "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/models/migrationscripts/archived"
)
type TapdStoryChangelog struct {
diff --git a/backend/plugins/tapd/models/migrationscripts/archived/story_commits.go b/backend/plugins/tapd/models/migrationscripts/archived/story_commits.go
index e65dbaf..4053275 100644
--- a/backend/plugins/tapd/models/migrationscripts/archived/story_commits.go
+++ b/backend/plugins/tapd/models/migrationscripts/archived/story_commits.go
@@ -20,7 +20,7 @@
import (
"time"
- "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/models/migrationscripts/archived"
)
type TapdStoryCommit struct {
diff --git a/backend/plugins/tapd/models/migrationscripts/archived/story_custom_field.go b/backend/plugins/tapd/models/migrationscripts/archived/story_custom_field.go
index 38b13d1..bd7cdc4 100644
--- a/backend/plugins/tapd/models/migrationscripts/archived/story_custom_field.go
+++ b/backend/plugins/tapd/models/migrationscripts/archived/story_custom_field.go
@@ -18,7 +18,7 @@
package archived
import (
- "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/models/migrationscripts/archived"
)
type TapdStoryCustomFields struct {
diff --git a/backend/plugins/tapd/models/migrationscripts/archived/story_custom_field_value.go b/backend/plugins/tapd/models/migrationscripts/archived/story_custom_field_value.go
index 14fe7a1..ba1fae4 100644
--- a/backend/plugins/tapd/models/migrationscripts/archived/story_custom_field_value.go
+++ b/backend/plugins/tapd/models/migrationscripts/archived/story_custom_field_value.go
@@ -18,7 +18,7 @@
package archived
import (
- "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/models/migrationscripts/archived"
)
type TapdStoryCustomFieldValue struct {
diff --git a/backend/plugins/tapd/models/migrationscripts/archived/story_label.go b/backend/plugins/tapd/models/migrationscripts/archived/story_label.go
index ceeb0ce..c759ecf 100644
--- a/backend/plugins/tapd/models/migrationscripts/archived/story_label.go
+++ b/backend/plugins/tapd/models/migrationscripts/archived/story_label.go
@@ -18,7 +18,7 @@
package archived
import (
- "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/models/migrationscripts/archived"
)
type TapdStoryLabel struct {
diff --git a/backend/plugins/tapd/models/migrationscripts/archived/story_status.go b/backend/plugins/tapd/models/migrationscripts/archived/story_status.go
index 496a0eb..b3baa76 100644
--- a/backend/plugins/tapd/models/migrationscripts/archived/story_status.go
+++ b/backend/plugins/tapd/models/migrationscripts/archived/story_status.go
@@ -18,7 +18,7 @@
package archived
import (
- "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/models/migrationscripts/archived"
)
type TapdStoryStatus struct {
diff --git a/backend/plugins/tapd/models/migrationscripts/archived/sub_workspace.go b/backend/plugins/tapd/models/migrationscripts/archived/sub_workspace.go
index d746c79..5a6b1ab 100644
--- a/backend/plugins/tapd/models/migrationscripts/archived/sub_workspace.go
+++ b/backend/plugins/tapd/models/migrationscripts/archived/sub_workspace.go
@@ -20,7 +20,7 @@
import (
"time"
- "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/models/migrationscripts/archived"
)
type TapdSubWorkspace struct {
diff --git a/backend/plugins/tapd/models/migrationscripts/archived/tapd_connection.go b/backend/plugins/tapd/models/migrationscripts/archived/tapd_connection.go
index 9af60b1..a56e7c6 100644
--- a/backend/plugins/tapd/models/migrationscripts/archived/tapd_connection.go
+++ b/backend/plugins/tapd/models/migrationscripts/archived/tapd_connection.go
@@ -18,7 +18,7 @@
package archived
import (
- "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/models/migrationscripts/archived"
)
type BaseConnection struct {
diff --git a/backend/plugins/tapd/models/migrationscripts/archived/task.go b/backend/plugins/tapd/models/migrationscripts/archived/task.go
index 00ec751..b6c3bdf 100644
--- a/backend/plugins/tapd/models/migrationscripts/archived/task.go
+++ b/backend/plugins/tapd/models/migrationscripts/archived/task.go
@@ -20,7 +20,7 @@
import (
"time"
- "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/models/migrationscripts/archived"
)
type TapdTask struct {
diff --git a/backend/plugins/tapd/models/migrationscripts/archived/task_changelog.go b/backend/plugins/tapd/models/migrationscripts/archived/task_changelog.go
index ac3e35a..8f5db9a 100644
--- a/backend/plugins/tapd/models/migrationscripts/archived/task_changelog.go
+++ b/backend/plugins/tapd/models/migrationscripts/archived/task_changelog.go
@@ -20,7 +20,7 @@
import (
"time"
- "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/models/migrationscripts/archived"
)
type TapdTaskChangelog struct {
diff --git a/backend/plugins/tapd/models/migrationscripts/archived/task_commits.go b/backend/plugins/tapd/models/migrationscripts/archived/task_commits.go
index 2c9b875..7fe8ada 100644
--- a/backend/plugins/tapd/models/migrationscripts/archived/task_commits.go
+++ b/backend/plugins/tapd/models/migrationscripts/archived/task_commits.go
@@ -20,7 +20,7 @@
import (
"time"
- "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/models/migrationscripts/archived"
)
type TapdTaskCommit struct {
diff --git a/backend/plugins/tapd/models/migrationscripts/archived/task_custom_field.go b/backend/plugins/tapd/models/migrationscripts/archived/task_custom_field.go
index f695e07..c1f4dfe 100644
--- a/backend/plugins/tapd/models/migrationscripts/archived/task_custom_field.go
+++ b/backend/plugins/tapd/models/migrationscripts/archived/task_custom_field.go
@@ -18,7 +18,7 @@
package archived
import (
- "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/models/migrationscripts/archived"
)
type TapdTaskCustomFields struct {
diff --git a/backend/plugins/tapd/models/migrationscripts/archived/task_custom_field_value.go b/backend/plugins/tapd/models/migrationscripts/archived/task_custom_field_value.go
index 3d85373..6480005 100644
--- a/backend/plugins/tapd/models/migrationscripts/archived/task_custom_field_value.go
+++ b/backend/plugins/tapd/models/migrationscripts/archived/task_custom_field_value.go
@@ -18,7 +18,7 @@
package archived
import (
- "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/models/migrationscripts/archived"
)
type TapdTaskCustomFieldValue struct {
diff --git a/backend/plugins/tapd/models/migrationscripts/archived/task_label.go b/backend/plugins/tapd/models/migrationscripts/archived/task_label.go
index b8b5dd5..8413dd5 100644
--- a/backend/plugins/tapd/models/migrationscripts/archived/task_label.go
+++ b/backend/plugins/tapd/models/migrationscripts/archived/task_label.go
@@ -18,7 +18,7 @@
package archived
import (
- "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/models/migrationscripts/archived"
)
type TapdTaskLabel struct {
diff --git a/backend/plugins/tapd/models/migrationscripts/archived/transformation_rule.go b/backend/plugins/tapd/models/migrationscripts/archived/transformation_rule.go
index 9dbb315..efda53b 100644
--- a/backend/plugins/tapd/models/migrationscripts/archived/transformation_rule.go
+++ b/backend/plugins/tapd/models/migrationscripts/archived/transformation_rule.go
@@ -19,7 +19,7 @@
import (
"encoding/json"
- "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/models/migrationscripts/archived"
)
type TapdTransformationRule struct {
diff --git a/backend/plugins/tapd/models/migrationscripts/archived/workitem_type.go b/backend/plugins/tapd/models/migrationscripts/archived/workitem_type.go
index b0e787d..fc26c3d 100644
--- a/backend/plugins/tapd/models/migrationscripts/archived/workitem_type.go
+++ b/backend/plugins/tapd/models/migrationscripts/archived/workitem_type.go
@@ -20,7 +20,7 @@
import (
"time"
- "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/models/migrationscripts/archived"
)
type TapdWorkitemType struct {
diff --git a/backend/plugins/tapd/models/migrationscripts/archived/worklog.go b/backend/plugins/tapd/models/migrationscripts/archived/worklog.go
index 862fabb..01afd38 100644
--- a/backend/plugins/tapd/models/migrationscripts/archived/worklog.go
+++ b/backend/plugins/tapd/models/migrationscripts/archived/worklog.go
@@ -20,7 +20,7 @@
import (
"time"
- "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/models/migrationscripts/archived"
)
type TapdWorklog struct {
diff --git a/backend/plugins/tapd/models/migrationscripts/archived/workspace.go b/backend/plugins/tapd/models/migrationscripts/archived/workspace.go
index 5b7ebf7..70f2281 100644
--- a/backend/plugins/tapd/models/migrationscripts/archived/workspace.go
+++ b/backend/plugins/tapd/models/migrationscripts/archived/workspace.go
@@ -20,7 +20,7 @@
import (
"time"
- "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/models/migrationscripts/archived"
)
type TapdWorkspace struct {
diff --git a/backend/plugins/tapd/models/migrationscripts/archived/workspace_bug.go b/backend/plugins/tapd/models/migrationscripts/archived/workspace_bug.go
index 16cf692..03e8f47 100644
--- a/backend/plugins/tapd/models/migrationscripts/archived/workspace_bug.go
+++ b/backend/plugins/tapd/models/migrationscripts/archived/workspace_bug.go
@@ -18,7 +18,7 @@
package archived
import (
- "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/models/migrationscripts/archived"
)
type TapdWorkSpaceBug struct {
diff --git a/backend/plugins/tapd/models/migrationscripts/archived/workspace_story.go b/backend/plugins/tapd/models/migrationscripts/archived/workspace_story.go
index b94f289..cd8fb2b 100644
--- a/backend/plugins/tapd/models/migrationscripts/archived/workspace_story.go
+++ b/backend/plugins/tapd/models/migrationscripts/archived/workspace_story.go
@@ -18,7 +18,7 @@
package archived
import (
- "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/models/migrationscripts/archived"
)
type TapdWorkSpaceStory struct {
diff --git a/backend/plugins/tapd/models/migrationscripts/archived/workspace_task.go b/backend/plugins/tapd/models/migrationscripts/archived/workspace_task.go
index c4da937..590bd51 100644
--- a/backend/plugins/tapd/models/migrationscripts/archived/workspace_task.go
+++ b/backend/plugins/tapd/models/migrationscripts/archived/workspace_task.go
@@ -18,7 +18,7 @@
package archived
import (
- "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/models/migrationscripts/archived"
)
type TapdWorkSpaceTask struct {
diff --git a/backend/plugins/tapd/models/migrationscripts/register.go b/backend/plugins/tapd/models/migrationscripts/register.go
index 18b4fe8..9190315 100644
--- a/backend/plugins/tapd/models/migrationscripts/register.go
+++ b/backend/plugins/tapd/models/migrationscripts/register.go
@@ -18,7 +18,7 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/plugin"
+ "github.com/apache/devlake/core/plugin"
)
// All return all the migration scripts
diff --git a/backend/plugins/tapd/models/scope_config.go b/backend/plugins/tapd/models/scope_config.go
index dbe9224..74ec97d 100644
--- a/backend/plugins/tapd/models/scope_config.go
+++ b/backend/plugins/tapd/models/scope_config.go
@@ -18,7 +18,7 @@
package models
import (
- "github.com/apache/incubator-devlake/core/models/common"
+ "github.com/apache/devlake/core/models/common"
)
type TapdScopeConfig struct {
diff --git a/backend/plugins/tapd/models/story.go b/backend/plugins/tapd/models/story.go
index 9915d65..0c15024 100644
--- a/backend/plugins/tapd/models/story.go
+++ b/backend/plugins/tapd/models/story.go
@@ -21,7 +21,7 @@
"encoding/json"
"time"
- "github.com/apache/incubator-devlake/core/models/common"
+ "github.com/apache/devlake/core/models/common"
)
type TapdStory struct {
diff --git a/backend/plugins/tapd/models/story_bug.go b/backend/plugins/tapd/models/story_bug.go
index 87f11fe..5b38840 100644
--- a/backend/plugins/tapd/models/story_bug.go
+++ b/backend/plugins/tapd/models/story_bug.go
@@ -18,7 +18,7 @@
package models
import (
- "github.com/apache/incubator-devlake/core/models/common"
+ "github.com/apache/devlake/core/models/common"
"time"
)
diff --git a/backend/plugins/tapd/models/story_category.go b/backend/plugins/tapd/models/story_category.go
index b33c188..763147a 100644
--- a/backend/plugins/tapd/models/story_category.go
+++ b/backend/plugins/tapd/models/story_category.go
@@ -18,7 +18,7 @@
package models
import (
- "github.com/apache/incubator-devlake/core/models/common"
+ "github.com/apache/devlake/core/models/common"
)
type TapdStoryCategory struct {
diff --git a/backend/plugins/tapd/models/story_changelog.go b/backend/plugins/tapd/models/story_changelog.go
index 29354a2..99d4d9c 100644
--- a/backend/plugins/tapd/models/story_changelog.go
+++ b/backend/plugins/tapd/models/story_changelog.go
@@ -20,7 +20,7 @@
import (
"encoding/json"
- "github.com/apache/incubator-devlake/core/models/common"
+ "github.com/apache/devlake/core/models/common"
)
type TapdStoryChangelog struct {
diff --git a/backend/plugins/tapd/models/story_commits.go b/backend/plugins/tapd/models/story_commits.go
index 57fd7b2..a3c57ef 100644
--- a/backend/plugins/tapd/models/story_commits.go
+++ b/backend/plugins/tapd/models/story_commits.go
@@ -20,7 +20,7 @@
import (
"time"
- "github.com/apache/incubator-devlake/core/models/common"
+ "github.com/apache/devlake/core/models/common"
)
type TapdStoryCommit struct {
diff --git a/backend/plugins/tapd/models/story_custom_field.go b/backend/plugins/tapd/models/story_custom_field.go
index f4b6a73..4834df2 100644
--- a/backend/plugins/tapd/models/story_custom_field.go
+++ b/backend/plugins/tapd/models/story_custom_field.go
@@ -18,7 +18,7 @@
package models
import (
- "github.com/apache/incubator-devlake/core/models/common"
+ "github.com/apache/devlake/core/models/common"
)
type TapdStoryCustomFields struct {
diff --git a/backend/plugins/tapd/models/story_custom_field_value.go b/backend/plugins/tapd/models/story_custom_field_value.go
index bb0e77c..6171877 100644
--- a/backend/plugins/tapd/models/story_custom_field_value.go
+++ b/backend/plugins/tapd/models/story_custom_field_value.go
@@ -18,7 +18,7 @@
package models
import (
- "github.com/apache/incubator-devlake/core/models/common"
+ "github.com/apache/devlake/core/models/common"
)
type TapdStoryCustomFieldValue struct {
diff --git a/backend/plugins/tapd/models/story_label.go b/backend/plugins/tapd/models/story_label.go
index e8ff80f..4a18d50 100644
--- a/backend/plugins/tapd/models/story_label.go
+++ b/backend/plugins/tapd/models/story_label.go
@@ -18,7 +18,7 @@
package models
import (
- "github.com/apache/incubator-devlake/core/models/common"
+ "github.com/apache/devlake/core/models/common"
)
type TapdStoryLabel struct {
diff --git a/backend/plugins/tapd/models/story_status.go b/backend/plugins/tapd/models/story_status.go
index b6fa081..44497ca 100644
--- a/backend/plugins/tapd/models/story_status.go
+++ b/backend/plugins/tapd/models/story_status.go
@@ -18,7 +18,7 @@
package models
import (
- "github.com/apache/incubator-devlake/core/models/common"
+ "github.com/apache/devlake/core/models/common"
)
type TapdStoryStatus struct {
diff --git a/backend/plugins/tapd/models/task.go b/backend/plugins/tapd/models/task.go
index fa4041c..c1d75c6 100644
--- a/backend/plugins/tapd/models/task.go
+++ b/backend/plugins/tapd/models/task.go
@@ -21,7 +21,7 @@
"encoding/json"
"time"
- "github.com/apache/incubator-devlake/core/models/common"
+ "github.com/apache/devlake/core/models/common"
)
type TapdTask struct {
diff --git a/backend/plugins/tapd/models/task_changelog.go b/backend/plugins/tapd/models/task_changelog.go
index 7d0f454..e4e569b 100644
--- a/backend/plugins/tapd/models/task_changelog.go
+++ b/backend/plugins/tapd/models/task_changelog.go
@@ -20,7 +20,7 @@
import (
"encoding/json"
- "github.com/apache/incubator-devlake/core/models/common"
+ "github.com/apache/devlake/core/models/common"
)
type TapdTaskChangelog struct {
diff --git a/backend/plugins/tapd/models/task_commits.go b/backend/plugins/tapd/models/task_commits.go
index 0dd0680..879fe0e 100644
--- a/backend/plugins/tapd/models/task_commits.go
+++ b/backend/plugins/tapd/models/task_commits.go
@@ -20,7 +20,7 @@
import (
"time"
- "github.com/apache/incubator-devlake/core/models/common"
+ "github.com/apache/devlake/core/models/common"
)
type TapdTaskCommit struct {
diff --git a/backend/plugins/tapd/models/task_custom_field.go b/backend/plugins/tapd/models/task_custom_field.go
index 3d82570..95fad66 100644
--- a/backend/plugins/tapd/models/task_custom_field.go
+++ b/backend/plugins/tapd/models/task_custom_field.go
@@ -18,7 +18,7 @@
package models
import (
- "github.com/apache/incubator-devlake/core/models/common"
+ "github.com/apache/devlake/core/models/common"
)
type TapdTaskCustomFields struct {
diff --git a/backend/plugins/tapd/models/task_custom_field_value.go b/backend/plugins/tapd/models/task_custom_field_value.go
index 2c6d15a..ba1b2e9 100644
--- a/backend/plugins/tapd/models/task_custom_field_value.go
+++ b/backend/plugins/tapd/models/task_custom_field_value.go
@@ -18,7 +18,7 @@
package models
import (
- "github.com/apache/incubator-devlake/core/models/common"
+ "github.com/apache/devlake/core/models/common"
)
type TapdTaskCustomFieldValue struct {
diff --git a/backend/plugins/tapd/models/task_label.go b/backend/plugins/tapd/models/task_label.go
index 337c7c9..d973db4 100644
--- a/backend/plugins/tapd/models/task_label.go
+++ b/backend/plugins/tapd/models/task_label.go
@@ -18,7 +18,7 @@
package models
import (
- "github.com/apache/incubator-devlake/core/models/common"
+ "github.com/apache/devlake/core/models/common"
)
type TapdTaskLabel struct {
diff --git a/backend/plugins/tapd/models/workitem_type.go b/backend/plugins/tapd/models/workitem_type.go
index 213a78c..97745c2 100644
--- a/backend/plugins/tapd/models/workitem_type.go
+++ b/backend/plugins/tapd/models/workitem_type.go
@@ -18,7 +18,7 @@
package models
import (
- "github.com/apache/incubator-devlake/core/models/common"
+ "github.com/apache/devlake/core/models/common"
)
type TapdWorkitemType struct {
diff --git a/backend/plugins/tapd/models/worklog.go b/backend/plugins/tapd/models/worklog.go
index 05b89e2..7549742 100644
--- a/backend/plugins/tapd/models/worklog.go
+++ b/backend/plugins/tapd/models/worklog.go
@@ -18,7 +18,7 @@
package models
import (
- "github.com/apache/incubator-devlake/core/models/common"
+ "github.com/apache/devlake/core/models/common"
)
type TapdWorklog struct {
diff --git a/backend/plugins/tapd/models/workspace.go b/backend/plugins/tapd/models/workspace.go
index a4ebff6..08d2c96 100644
--- a/backend/plugins/tapd/models/workspace.go
+++ b/backend/plugins/tapd/models/workspace.go
@@ -20,8 +20,8 @@
import (
"fmt"
- "github.com/apache/incubator-devlake/core/models/common"
- "github.com/apache/incubator-devlake/core/plugin"
+ "github.com/apache/devlake/core/models/common"
+ "github.com/apache/devlake/core/plugin"
)
type WorkspacesResponse struct {
diff --git a/backend/plugins/tapd/models/workspace_bug.go b/backend/plugins/tapd/models/workspace_bug.go
index c7e1843..50c5bb5 100644
--- a/backend/plugins/tapd/models/workspace_bug.go
+++ b/backend/plugins/tapd/models/workspace_bug.go
@@ -18,7 +18,7 @@
package models
import (
- "github.com/apache/incubator-devlake/core/models/common"
+ "github.com/apache/devlake/core/models/common"
)
type TapdWorkSpaceBug struct {
diff --git a/backend/plugins/tapd/models/workspace_story.go b/backend/plugins/tapd/models/workspace_story.go
index 133bec6..54cbb41 100644
--- a/backend/plugins/tapd/models/workspace_story.go
+++ b/backend/plugins/tapd/models/workspace_story.go
@@ -18,7 +18,7 @@
package models
import (
- "github.com/apache/incubator-devlake/core/models/common"
+ "github.com/apache/devlake/core/models/common"
)
type TapdWorkSpaceStory struct {
diff --git a/backend/plugins/tapd/models/workspace_task.go b/backend/plugins/tapd/models/workspace_task.go
index 39a82f2..7060834 100644
--- a/backend/plugins/tapd/models/workspace_task.go
+++ b/backend/plugins/tapd/models/workspace_task.go
@@ -18,7 +18,7 @@
package models
import (
- "github.com/apache/incubator-devlake/core/models/common"
+ "github.com/apache/devlake/core/models/common"
)
type TapdWorkSpaceTask struct {
diff --git a/backend/plugins/tapd/tapd.go b/backend/plugins/tapd/tapd.go
index c7d8831..a05e31e 100644
--- a/backend/plugins/tapd/tapd.go
+++ b/backend/plugins/tapd/tapd.go
@@ -18,8 +18,8 @@
package main
import (
- "github.com/apache/incubator-devlake/core/runner"
- "github.com/apache/incubator-devlake/plugins/tapd/impl"
+ "github.com/apache/devlake/core/runner"
+ "github.com/apache/devlake/plugins/tapd/impl"
"github.com/spf13/cobra"
)
diff --git a/backend/plugins/tapd/tasks/account_collector.go b/backend/plugins/tapd/tasks/account_collector.go
index e1cf3e6..71eb46e 100644
--- a/backend/plugins/tapd/tasks/account_collector.go
+++ b/backend/plugins/tapd/tasks/account_collector.go
@@ -20,9 +20,9 @@
import (
"encoding/json"
"fmt"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
"net/http"
"net/url"
)
diff --git a/backend/plugins/tapd/tasks/account_converter.go b/backend/plugins/tapd/tasks/account_converter.go
index e2bafe1..3b88663 100644
--- a/backend/plugins/tapd/tasks/account_converter.go
+++ b/backend/plugins/tapd/tasks/account_converter.go
@@ -20,13 +20,13 @@
import (
"reflect"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/domainlayer"
- "github.com/apache/incubator-devlake/core/models/domainlayer/crossdomain"
- "github.com/apache/incubator-devlake/core/plugin"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/tapd/models"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/domainlayer"
+ "github.com/apache/devlake/core/models/domainlayer/crossdomain"
+ "github.com/apache/devlake/core/plugin"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/tapd/models"
)
var ConvertAccountsMeta = plugin.SubTaskMeta{
diff --git a/backend/plugins/tapd/tasks/account_extractor.go b/backend/plugins/tapd/tasks/account_extractor.go
index fdb1594..66c9db5 100644
--- a/backend/plugins/tapd/tasks/account_extractor.go
+++ b/backend/plugins/tapd/tasks/account_extractor.go
@@ -19,10 +19,10 @@
import (
"encoding/json"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/tapd/models"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/tapd/models"
)
var _ plugin.SubTaskEntryPoint = ExtractAccounts
diff --git a/backend/plugins/tapd/tasks/api_client.go b/backend/plugins/tapd/tasks/api_client.go
index 4ae8349..bb14b0c 100644
--- a/backend/plugins/tapd/tasks/api_client.go
+++ b/backend/plugins/tapd/tasks/api_client.go
@@ -18,10 +18,10 @@
package tasks
import (
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/tapd/models"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/tapd/models"
)
func NewTapdApiClient(taskCtx plugin.TaskContext, connection *models.TapdConnection) (*api.ApiAsyncClient, errors.Error) {
diff --git a/backend/plugins/tapd/tasks/bug_changelog_collector.go b/backend/plugins/tapd/tasks/bug_changelog_collector.go
index a394c1c..e1b2b99 100644
--- a/backend/plugins/tapd/tasks/bug_changelog_collector.go
+++ b/backend/plugins/tapd/tasks/bug_changelog_collector.go
@@ -21,9 +21,9 @@
"fmt"
"net/url"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
)
const RAW_BUG_CHANGELOG_TABLE = "tapd_api_bug_changelogs"
diff --git a/backend/plugins/tapd/tasks/bug_changelog_converter.go b/backend/plugins/tapd/tasks/bug_changelog_converter.go
index c22a162..f71290b 100644
--- a/backend/plugins/tapd/tasks/bug_changelog_converter.go
+++ b/backend/plugins/tapd/tasks/bug_changelog_converter.go
@@ -21,15 +21,15 @@
"reflect"
"time"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/common"
- "github.com/apache/incubator-devlake/core/models/domainlayer"
- "github.com/apache/incubator-devlake/core/models/domainlayer/didgen"
- "github.com/apache/incubator-devlake/core/models/domainlayer/ticket"
- "github.com/apache/incubator-devlake/core/plugin"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/tapd/models"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/common"
+ "github.com/apache/devlake/core/models/domainlayer"
+ "github.com/apache/devlake/core/models/domainlayer/didgen"
+ "github.com/apache/devlake/core/models/domainlayer/ticket"
+ "github.com/apache/devlake/core/plugin"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/tapd/models"
)
type BugChangelogItemResult struct {
diff --git a/backend/plugins/tapd/tasks/bug_changelog_extractor.go b/backend/plugins/tapd/tasks/bug_changelog_extractor.go
index 8757e5a..30a435a 100644
--- a/backend/plugins/tapd/tasks/bug_changelog_extractor.go
+++ b/backend/plugins/tapd/tasks/bug_changelog_extractor.go
@@ -20,10 +20,10 @@
import (
"encoding/json"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/tapd/models"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/tapd/models"
)
var _ plugin.SubTaskEntryPoint = ExtractBugChangelog
diff --git a/backend/plugins/tapd/tasks/bug_collector.go b/backend/plugins/tapd/tasks/bug_collector.go
index 56479b1..50f7192 100644
--- a/backend/plugins/tapd/tasks/bug_collector.go
+++ b/backend/plugins/tapd/tasks/bug_collector.go
@@ -21,9 +21,9 @@
"fmt"
"net/url"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
)
const RAW_BUG_TABLE = "tapd_api_bugs"
diff --git a/backend/plugins/tapd/tasks/bug_commit_collector.go b/backend/plugins/tapd/tasks/bug_commit_collector.go
index f3abeaf..74b83d5 100644
--- a/backend/plugins/tapd/tasks/bug_commit_collector.go
+++ b/backend/plugins/tapd/tasks/bug_commit_collector.go
@@ -24,11 +24,11 @@
"net/url"
"reflect"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/tapd/models"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/tapd/models"
)
const RAW_BUG_COMMIT_TABLE = "tapd_api_bug_commits"
diff --git a/backend/plugins/tapd/tasks/bug_commit_converter.go b/backend/plugins/tapd/tasks/bug_commit_converter.go
index f47dc4c..b8f66dc 100644
--- a/backend/plugins/tapd/tasks/bug_commit_converter.go
+++ b/backend/plugins/tapd/tasks/bug_commit_converter.go
@@ -22,13 +22,13 @@
"reflect"
"strings"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/domainlayer/crossdomain"
- "github.com/apache/incubator-devlake/core/models/domainlayer/didgen"
- "github.com/apache/incubator-devlake/core/plugin"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/tapd/models"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/domainlayer/crossdomain"
+ "github.com/apache/devlake/core/models/domainlayer/didgen"
+ "github.com/apache/devlake/core/plugin"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/tapd/models"
)
func ConvertBugCommit(taskCtx plugin.SubTaskContext) errors.Error {
diff --git a/backend/plugins/tapd/tasks/bug_commit_extractor.go b/backend/plugins/tapd/tasks/bug_commit_extractor.go
index 9c08d21..542cd47 100644
--- a/backend/plugins/tapd/tasks/bug_commit_extractor.go
+++ b/backend/plugins/tapd/tasks/bug_commit_extractor.go
@@ -19,10 +19,10 @@
import (
"encoding/json"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/tapd/models"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/tapd/models"
)
var _ plugin.SubTaskEntryPoint = ExtractBugCommits
diff --git a/backend/plugins/tapd/tasks/bug_converter.go b/backend/plugins/tapd/tasks/bug_converter.go
index f3f920d..77e6fca 100644
--- a/backend/plugins/tapd/tasks/bug_converter.go
+++ b/backend/plugins/tapd/tasks/bug_converter.go
@@ -23,14 +23,14 @@
"strconv"
"time"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/domainlayer"
- "github.com/apache/incubator-devlake/core/models/domainlayer/didgen"
- "github.com/apache/incubator-devlake/core/models/domainlayer/ticket"
- "github.com/apache/incubator-devlake/core/plugin"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/tapd/models"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/domainlayer"
+ "github.com/apache/devlake/core/models/domainlayer/didgen"
+ "github.com/apache/devlake/core/models/domainlayer/ticket"
+ "github.com/apache/devlake/core/plugin"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/tapd/models"
)
func ConvertBug(taskCtx plugin.SubTaskContext) errors.Error {
diff --git a/backend/plugins/tapd/tasks/bug_custom_field_enricher.go b/backend/plugins/tapd/tasks/bug_custom_field_enricher.go
index 1ac86fa..f2d6ea5 100644
--- a/backend/plugins/tapd/tasks/bug_custom_field_enricher.go
+++ b/backend/plugins/tapd/tasks/bug_custom_field_enricher.go
@@ -19,11 +19,11 @@
import (
"fmt"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/tapd/models"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/tapd/models"
"reflect"
)
diff --git a/backend/plugins/tapd/tasks/bug_custom_fields_collector.go b/backend/plugins/tapd/tasks/bug_custom_fields_collector.go
index 71489d5..558e6b6 100644
--- a/backend/plugins/tapd/tasks/bug_custom_fields_collector.go
+++ b/backend/plugins/tapd/tasks/bug_custom_fields_collector.go
@@ -20,9 +20,9 @@
import (
"encoding/json"
"fmt"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
"net/http"
"net/url"
)
diff --git a/backend/plugins/tapd/tasks/bug_custom_fields_extractor.go b/backend/plugins/tapd/tasks/bug_custom_fields_extractor.go
index 8fdfcc3..b1f6002 100644
--- a/backend/plugins/tapd/tasks/bug_custom_fields_extractor.go
+++ b/backend/plugins/tapd/tasks/bug_custom_fields_extractor.go
@@ -19,10 +19,10 @@
import (
"encoding/json"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/tapd/models"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/tapd/models"
)
var _ plugin.SubTaskEntryPoint = ExtractBugCustomFields
diff --git a/backend/plugins/tapd/tasks/bug_extractor.go b/backend/plugins/tapd/tasks/bug_extractor.go
index 43cab73..e9da0c0 100644
--- a/backend/plugins/tapd/tasks/bug_extractor.go
+++ b/backend/plugins/tapd/tasks/bug_extractor.go
@@ -23,12 +23,12 @@
"strings"
"time"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/domainlayer/ticket"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/helpers/utils"
- "github.com/apache/incubator-devlake/plugins/tapd/models"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/domainlayer/ticket"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/helpers/utils"
+ "github.com/apache/devlake/plugins/tapd/models"
)
var _ plugin.SubTaskEntryPoint = ExtractBugs
diff --git a/backend/plugins/tapd/tasks/bug_label_convertor.go b/backend/plugins/tapd/tasks/bug_label_convertor.go
index 6c6f65b..0c42163 100644
--- a/backend/plugins/tapd/tasks/bug_label_convertor.go
+++ b/backend/plugins/tapd/tasks/bug_label_convertor.go
@@ -20,13 +20,13 @@
import (
"reflect"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/domainlayer/didgen"
- "github.com/apache/incubator-devlake/core/models/domainlayer/ticket"
- "github.com/apache/incubator-devlake/core/plugin"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/tapd/models"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/domainlayer/didgen"
+ "github.com/apache/devlake/core/models/domainlayer/ticket"
+ "github.com/apache/devlake/core/plugin"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/tapd/models"
)
var ConvertBugLabelsMeta = plugin.SubTaskMeta{
diff --git a/backend/plugins/tapd/tasks/bug_status_collector.go b/backend/plugins/tapd/tasks/bug_status_collector.go
index 4f3b489..c869ead 100644
--- a/backend/plugins/tapd/tasks/bug_status_collector.go
+++ b/backend/plugins/tapd/tasks/bug_status_collector.go
@@ -19,9 +19,9 @@
import (
"fmt"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
"net/url"
)
diff --git a/backend/plugins/tapd/tasks/bug_status_extractor.go b/backend/plugins/tapd/tasks/bug_status_extractor.go
index bb72c95..f3bcde7 100644
--- a/backend/plugins/tapd/tasks/bug_status_extractor.go
+++ b/backend/plugins/tapd/tasks/bug_status_extractor.go
@@ -18,10 +18,10 @@
package tasks
import (
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/tapd/models"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/tapd/models"
)
var _ plugin.SubTaskEntryPoint = ExtractBugStatus
diff --git a/backend/plugins/tapd/tasks/bug_status_last_step_collector.go b/backend/plugins/tapd/tasks/bug_status_last_step_collector.go
index 633a7c6..59da32b 100644
--- a/backend/plugins/tapd/tasks/bug_status_last_step_collector.go
+++ b/backend/plugins/tapd/tasks/bug_status_last_step_collector.go
@@ -19,9 +19,9 @@
import (
"fmt"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
"net/url"
)
diff --git a/backend/plugins/tapd/tasks/bug_status_last_step_enricher.go b/backend/plugins/tapd/tasks/bug_status_last_step_enricher.go
index ed07b6d..52fab98 100644
--- a/backend/plugins/tapd/tasks/bug_status_last_step_enricher.go
+++ b/backend/plugins/tapd/tasks/bug_status_last_step_enricher.go
@@ -19,11 +19,11 @@
import (
"encoding/json"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/tapd/models"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/tapd/models"
)
var _ plugin.SubTaskEntryPoint = EnrichBugStatusLastStep
diff --git a/backend/plugins/tapd/tasks/iteration_collector.go b/backend/plugins/tapd/tasks/iteration_collector.go
index 1fc7b72..a43c79e 100644
--- a/backend/plugins/tapd/tasks/iteration_collector.go
+++ b/backend/plugins/tapd/tasks/iteration_collector.go
@@ -23,9 +23,9 @@
"net/http"
"net/url"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
)
const RAW_ITERATION_TABLE = "tapd_api_iterations"
diff --git a/backend/plugins/tapd/tasks/iteration_converter.go b/backend/plugins/tapd/tasks/iteration_converter.go
index 72e87ba..6fdcecc 100644
--- a/backend/plugins/tapd/tasks/iteration_converter.go
+++ b/backend/plugins/tapd/tasks/iteration_converter.go
@@ -19,13 +19,13 @@
import (
"fmt"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/domainlayer"
- "github.com/apache/incubator-devlake/core/models/domainlayer/ticket"
- "github.com/apache/incubator-devlake/core/plugin"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/tapd/models"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/domainlayer"
+ "github.com/apache/devlake/core/models/domainlayer/ticket"
+ "github.com/apache/devlake/core/plugin"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/tapd/models"
"reflect"
"time"
)
diff --git a/backend/plugins/tapd/tasks/iteration_extractor.go b/backend/plugins/tapd/tasks/iteration_extractor.go
index f3b7bf0..24aeeb4 100644
--- a/backend/plugins/tapd/tasks/iteration_extractor.go
+++ b/backend/plugins/tapd/tasks/iteration_extractor.go
@@ -19,10 +19,10 @@
import (
"encoding/json"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/tapd/models"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/tapd/models"
)
var _ plugin.SubTaskEntryPoint = ExtractIterations
diff --git a/backend/plugins/tapd/tasks/shared.go b/backend/plugins/tapd/tasks/shared.go
index 3f69865..0f217d5 100644
--- a/backend/plugins/tapd/tasks/shared.go
+++ b/backend/plugins/tapd/tasks/shared.go
@@ -27,13 +27,13 @@
"strconv"
"strings"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/domainlayer/didgen"
- "github.com/apache/incubator-devlake/core/models/domainlayer/ticket"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/tapd/models"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/domainlayer/didgen"
+ "github.com/apache/devlake/core/models/domainlayer/ticket"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/tapd/models"
)
type Page struct {
diff --git a/backend/plugins/tapd/tasks/shared_test.go b/backend/plugins/tapd/tasks/shared_test.go
index 6763d5b..985e6d5 100644
--- a/backend/plugins/tapd/tasks/shared_test.go
+++ b/backend/plugins/tapd/tasks/shared_test.go
@@ -19,11 +19,11 @@
import (
"encoding/json"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- mockdal "github.com/apache/incubator-devlake/mocks/core/dal"
- mockplugin "github.com/apache/incubator-devlake/mocks/core/plugin"
- "github.com/apache/incubator-devlake/plugins/tapd/models"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ mockdal "github.com/apache/devlake/mocks/core/dal"
+ mockplugin "github.com/apache/devlake/mocks/core/plugin"
+ "github.com/apache/devlake/plugins/tapd/models"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/mock"
"io/ioutil"
@@ -239,7 +239,7 @@
{"", ""},
}
mockMeta := mockplugin.NewPluginMeta(t)
- mockMeta.On("RootPkgPath").Return("github.com/apache/incubator-devlake/plugins/tapd")
+ mockMeta.On("RootPkgPath").Return("github.com/apache/devlake/plugins/tapd")
mockMeta.On("Name").Return("tapd").Maybe()
err := plugin.RegisterPlugin("tapd", mockMeta)
assert.Nil(t, err)
diff --git a/backend/plugins/tapd/tasks/story_bug_collector.go b/backend/plugins/tapd/tasks/story_bug_collector.go
index 3154982..194b3e1 100644
--- a/backend/plugins/tapd/tasks/story_bug_collector.go
+++ b/backend/plugins/tapd/tasks/story_bug_collector.go
@@ -22,11 +22,11 @@
"net/url"
"reflect"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/tapd/models"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/tapd/models"
)
const RAW_STORY_BUG_TABLE = "tapd_api_story_bugs"
diff --git a/backend/plugins/tapd/tasks/story_bug_extractor.go b/backend/plugins/tapd/tasks/story_bug_extractor.go
index e075f23..88e3033 100644
--- a/backend/plugins/tapd/tasks/story_bug_extractor.go
+++ b/backend/plugins/tapd/tasks/story_bug_extractor.go
@@ -19,10 +19,10 @@
import (
"encoding/json"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/tapd/models"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/tapd/models"
)
var _ plugin.SubTaskEntryPoint = ExtractStoryBugs
diff --git a/backend/plugins/tapd/tasks/story_category_collector.go b/backend/plugins/tapd/tasks/story_category_collector.go
index 88cdf20..55db8fd 100644
--- a/backend/plugins/tapd/tasks/story_category_collector.go
+++ b/backend/plugins/tapd/tasks/story_category_collector.go
@@ -20,9 +20,9 @@
import (
"encoding/json"
"fmt"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
"net/http"
"net/url"
)
diff --git a/backend/plugins/tapd/tasks/story_category_extractor.go b/backend/plugins/tapd/tasks/story_category_extractor.go
index d1eb3b1..e1acd74 100644
--- a/backend/plugins/tapd/tasks/story_category_extractor.go
+++ b/backend/plugins/tapd/tasks/story_category_extractor.go
@@ -19,10 +19,10 @@
import (
"encoding/json"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/tapd/models"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/tapd/models"
)
var _ plugin.SubTaskEntryPoint = ExtractStoryCategories
diff --git a/backend/plugins/tapd/tasks/story_changelog_collector.go b/backend/plugins/tapd/tasks/story_changelog_collector.go
index 83d195e..f48abe7 100644
--- a/backend/plugins/tapd/tasks/story_changelog_collector.go
+++ b/backend/plugins/tapd/tasks/story_changelog_collector.go
@@ -21,9 +21,9 @@
"fmt"
"net/url"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
)
const RAW_STORY_CHANGELOG_TABLE = "tapd_api_story_changelogs"
diff --git a/backend/plugins/tapd/tasks/story_changelog_converter.go b/backend/plugins/tapd/tasks/story_changelog_converter.go
index a51b106..f500cde 100644
--- a/backend/plugins/tapd/tasks/story_changelog_converter.go
+++ b/backend/plugins/tapd/tasks/story_changelog_converter.go
@@ -22,15 +22,15 @@
"reflect"
"time"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/common"
- "github.com/apache/incubator-devlake/core/models/domainlayer"
- "github.com/apache/incubator-devlake/core/models/domainlayer/didgen"
- "github.com/apache/incubator-devlake/core/models/domainlayer/ticket"
- "github.com/apache/incubator-devlake/core/plugin"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/tapd/models"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/common"
+ "github.com/apache/devlake/core/models/domainlayer"
+ "github.com/apache/devlake/core/models/domainlayer/didgen"
+ "github.com/apache/devlake/core/models/domainlayer/ticket"
+ "github.com/apache/devlake/core/plugin"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/tapd/models"
)
type StoryChangelogItemResult struct {
diff --git a/backend/plugins/tapd/tasks/story_changelog_extractor.go b/backend/plugins/tapd/tasks/story_changelog_extractor.go
index 17bf1ce..25da9b3 100644
--- a/backend/plugins/tapd/tasks/story_changelog_extractor.go
+++ b/backend/plugins/tapd/tasks/story_changelog_extractor.go
@@ -19,10 +19,10 @@
import (
"encoding/json"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/tapd/models"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/tapd/models"
"github.com/spf13/cast"
)
@@ -57,7 +57,7 @@
for _, fc := range storyChangelog.FieldChanges {
if fc.IsStepChange {
// ignore step change
- // https://github.com/apache/incubator-devlake/issues/8355#issuecomment-2756726463
+ // https://github.com/apache/devlake/issues/8355#issuecomment-2756726463
continue
}
var item models.TapdStoryChangelogItem
diff --git a/backend/plugins/tapd/tasks/story_collector.go b/backend/plugins/tapd/tasks/story_collector.go
index f030abb..b3234ad 100644
--- a/backend/plugins/tapd/tasks/story_collector.go
+++ b/backend/plugins/tapd/tasks/story_collector.go
@@ -21,9 +21,9 @@
"fmt"
"net/url"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
)
const RAW_STORY_TABLE = "tapd_api_stories"
diff --git a/backend/plugins/tapd/tasks/story_commit_collector.go b/backend/plugins/tapd/tasks/story_commit_collector.go
index 21044f3..25cfe89 100644
--- a/backend/plugins/tapd/tasks/story_commit_collector.go
+++ b/backend/plugins/tapd/tasks/story_commit_collector.go
@@ -24,11 +24,11 @@
"net/url"
"reflect"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/tapd/models"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/tapd/models"
)
const RAW_STORY_COMMIT_TABLE = "tapd_api_story_commits"
diff --git a/backend/plugins/tapd/tasks/story_commit_converter.go b/backend/plugins/tapd/tasks/story_commit_converter.go
index b98ddbc..d197c28 100644
--- a/backend/plugins/tapd/tasks/story_commit_converter.go
+++ b/backend/plugins/tapd/tasks/story_commit_converter.go
@@ -22,13 +22,13 @@
"reflect"
"strings"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/domainlayer/crossdomain"
- "github.com/apache/incubator-devlake/core/models/domainlayer/didgen"
- "github.com/apache/incubator-devlake/core/plugin"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/tapd/models"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/domainlayer/crossdomain"
+ "github.com/apache/devlake/core/models/domainlayer/didgen"
+ "github.com/apache/devlake/core/plugin"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/tapd/models"
)
func ConvertStoryCommit(taskCtx plugin.SubTaskContext) errors.Error {
diff --git a/backend/plugins/tapd/tasks/story_commit_extractor.go b/backend/plugins/tapd/tasks/story_commit_extractor.go
index 6ec8143..858232e 100644
--- a/backend/plugins/tapd/tasks/story_commit_extractor.go
+++ b/backend/plugins/tapd/tasks/story_commit_extractor.go
@@ -19,10 +19,10 @@
import (
"encoding/json"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/tapd/models"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/tapd/models"
)
var _ plugin.SubTaskEntryPoint = ExtractStoryCommits
diff --git a/backend/plugins/tapd/tasks/story_converter.go b/backend/plugins/tapd/tasks/story_converter.go
index d33d881..5923e46 100644
--- a/backend/plugins/tapd/tasks/story_converter.go
+++ b/backend/plugins/tapd/tasks/story_converter.go
@@ -22,14 +22,14 @@
"strconv"
"time"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/domainlayer"
- "github.com/apache/incubator-devlake/core/models/domainlayer/didgen"
- "github.com/apache/incubator-devlake/core/models/domainlayer/ticket"
- "github.com/apache/incubator-devlake/core/plugin"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/tapd/models"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/domainlayer"
+ "github.com/apache/devlake/core/models/domainlayer/didgen"
+ "github.com/apache/devlake/core/models/domainlayer/ticket"
+ "github.com/apache/devlake/core/plugin"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/tapd/models"
)
func ConvertStory(taskCtx plugin.SubTaskContext) errors.Error {
diff --git a/backend/plugins/tapd/tasks/story_custom_field_enricher.go b/backend/plugins/tapd/tasks/story_custom_field_enricher.go
index 49224ee..fcdc31a 100644
--- a/backend/plugins/tapd/tasks/story_custom_field_enricher.go
+++ b/backend/plugins/tapd/tasks/story_custom_field_enricher.go
@@ -19,11 +19,11 @@
import (
"fmt"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/tapd/models"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/tapd/models"
"reflect"
)
diff --git a/backend/plugins/tapd/tasks/story_custom_fields_collector.go b/backend/plugins/tapd/tasks/story_custom_fields_collector.go
index 414119a..cc11470 100644
--- a/backend/plugins/tapd/tasks/story_custom_fields_collector.go
+++ b/backend/plugins/tapd/tasks/story_custom_fields_collector.go
@@ -20,9 +20,9 @@
import (
"encoding/json"
"fmt"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
"net/http"
"net/url"
)
diff --git a/backend/plugins/tapd/tasks/story_custom_fields_extractor.go b/backend/plugins/tapd/tasks/story_custom_fields_extractor.go
index 9a41a28..f9ea587 100644
--- a/backend/plugins/tapd/tasks/story_custom_fields_extractor.go
+++ b/backend/plugins/tapd/tasks/story_custom_fields_extractor.go
@@ -19,10 +19,10 @@
import (
"encoding/json"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/tapd/models"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/tapd/models"
)
var _ plugin.SubTaskEntryPoint = ExtractStoryCustomFields
diff --git a/backend/plugins/tapd/tasks/story_extractor.go b/backend/plugins/tapd/tasks/story_extractor.go
index 2c384ae..f86791f 100644
--- a/backend/plugins/tapd/tasks/story_extractor.go
+++ b/backend/plugins/tapd/tasks/story_extractor.go
@@ -23,12 +23,12 @@
"strings"
"time"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/domainlayer/ticket"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/helpers/utils"
- "github.com/apache/incubator-devlake/plugins/tapd/models"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/domainlayer/ticket"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/helpers/utils"
+ "github.com/apache/devlake/plugins/tapd/models"
)
var _ plugin.SubTaskEntryPoint = ExtractStories
diff --git a/backend/plugins/tapd/tasks/story_label_convertor.go b/backend/plugins/tapd/tasks/story_label_convertor.go
index 33c4e5d..f12e872 100644
--- a/backend/plugins/tapd/tasks/story_label_convertor.go
+++ b/backend/plugins/tapd/tasks/story_label_convertor.go
@@ -20,13 +20,13 @@
import (
"reflect"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/domainlayer/didgen"
- "github.com/apache/incubator-devlake/core/models/domainlayer/ticket"
- "github.com/apache/incubator-devlake/core/plugin"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/tapd/models"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/domainlayer/didgen"
+ "github.com/apache/devlake/core/models/domainlayer/ticket"
+ "github.com/apache/devlake/core/plugin"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/tapd/models"
)
var ConvertStoryLabelsMeta = plugin.SubTaskMeta{
diff --git a/backend/plugins/tapd/tasks/story_status_collector.go b/backend/plugins/tapd/tasks/story_status_collector.go
index 72b7724..c30d0b1 100644
--- a/backend/plugins/tapd/tasks/story_status_collector.go
+++ b/backend/plugins/tapd/tasks/story_status_collector.go
@@ -19,9 +19,9 @@
import (
"fmt"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
"net/url"
)
diff --git a/backend/plugins/tapd/tasks/story_status_extractor.go b/backend/plugins/tapd/tasks/story_status_extractor.go
index 286218b..4816d34 100644
--- a/backend/plugins/tapd/tasks/story_status_extractor.go
+++ b/backend/plugins/tapd/tasks/story_status_extractor.go
@@ -18,10 +18,10 @@
package tasks
import (
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/tapd/models"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/tapd/models"
)
var _ plugin.SubTaskEntryPoint = ExtractStoryStatus
diff --git a/backend/plugins/tapd/tasks/story_status_last_step_collector.go b/backend/plugins/tapd/tasks/story_status_last_step_collector.go
index 8e8276c..28a27d4 100644
--- a/backend/plugins/tapd/tasks/story_status_last_step_collector.go
+++ b/backend/plugins/tapd/tasks/story_status_last_step_collector.go
@@ -21,9 +21,9 @@
"fmt"
"net/url"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
)
const RAW_STORY_STATUS_LAST_STEP_TABLE = "tapd_api_story_status_last_steps"
diff --git a/backend/plugins/tapd/tasks/story_status_last_step_enricher.go b/backend/plugins/tapd/tasks/story_status_last_step_enricher.go
index 8e2429a..dd0841d 100644
--- a/backend/plugins/tapd/tasks/story_status_last_step_enricher.go
+++ b/backend/plugins/tapd/tasks/story_status_last_step_enricher.go
@@ -19,11 +19,11 @@
import (
"encoding/json"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/tapd/models"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/tapd/models"
)
var _ plugin.SubTaskEntryPoint = EnrichStoryStatusLastStep
diff --git a/backend/plugins/tapd/tasks/task_changelog_collector.go b/backend/plugins/tapd/tasks/task_changelog_collector.go
index 66aa60b..b5a4a55 100644
--- a/backend/plugins/tapd/tasks/task_changelog_collector.go
+++ b/backend/plugins/tapd/tasks/task_changelog_collector.go
@@ -21,9 +21,9 @@
"fmt"
"net/url"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
)
const RAW_TASK_CHANGELOG_TABLE = "tapd_api_task_changelogs"
diff --git a/backend/plugins/tapd/tasks/task_changelog_converter.go b/backend/plugins/tapd/tasks/task_changelog_converter.go
index d82e642..b47c27a 100644
--- a/backend/plugins/tapd/tasks/task_changelog_converter.go
+++ b/backend/plugins/tapd/tasks/task_changelog_converter.go
@@ -22,15 +22,15 @@
"reflect"
"time"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/common"
- "github.com/apache/incubator-devlake/core/models/domainlayer"
- "github.com/apache/incubator-devlake/core/models/domainlayer/didgen"
- "github.com/apache/incubator-devlake/core/models/domainlayer/ticket"
- "github.com/apache/incubator-devlake/core/plugin"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/tapd/models"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/common"
+ "github.com/apache/devlake/core/models/domainlayer"
+ "github.com/apache/devlake/core/models/domainlayer/didgen"
+ "github.com/apache/devlake/core/models/domainlayer/ticket"
+ "github.com/apache/devlake/core/plugin"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/tapd/models"
)
type TaskChangelogItemResult struct {
diff --git a/backend/plugins/tapd/tasks/task_changelog_extractor.go b/backend/plugins/tapd/tasks/task_changelog_extractor.go
index 1c777f9..7aaef43 100644
--- a/backend/plugins/tapd/tasks/task_changelog_extractor.go
+++ b/backend/plugins/tapd/tasks/task_changelog_extractor.go
@@ -19,10 +19,10 @@
import (
"encoding/json"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/tapd/models"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/tapd/models"
"github.com/spf13/cast"
"strings"
)
diff --git a/backend/plugins/tapd/tasks/task_collector.go b/backend/plugins/tapd/tasks/task_collector.go
index 9b5beb3..88406f2 100644
--- a/backend/plugins/tapd/tasks/task_collector.go
+++ b/backend/plugins/tapd/tasks/task_collector.go
@@ -21,9 +21,9 @@
"fmt"
"net/url"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
)
const RAW_TASK_TABLE = "tapd_api_tasks"
diff --git a/backend/plugins/tapd/tasks/task_commit_collector.go b/backend/plugins/tapd/tasks/task_commit_collector.go
index 56c374d..656e95c 100644
--- a/backend/plugins/tapd/tasks/task_commit_collector.go
+++ b/backend/plugins/tapd/tasks/task_commit_collector.go
@@ -24,11 +24,11 @@
"net/url"
"reflect"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/tapd/models"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/tapd/models"
)
const RAW_TASK_COMMIT_TABLE = "tapd_api_task_commits"
diff --git a/backend/plugins/tapd/tasks/task_commit_converter.go b/backend/plugins/tapd/tasks/task_commit_converter.go
index aec0348..013f41c 100644
--- a/backend/plugins/tapd/tasks/task_commit_converter.go
+++ b/backend/plugins/tapd/tasks/task_commit_converter.go
@@ -22,13 +22,13 @@
"reflect"
"strings"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/domainlayer/crossdomain"
- "github.com/apache/incubator-devlake/core/models/domainlayer/didgen"
- "github.com/apache/incubator-devlake/core/plugin"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/tapd/models"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/domainlayer/crossdomain"
+ "github.com/apache/devlake/core/models/domainlayer/didgen"
+ "github.com/apache/devlake/core/plugin"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/tapd/models"
)
func ConvertTaskCommit(taskCtx plugin.SubTaskContext) errors.Error {
diff --git a/backend/plugins/tapd/tasks/task_commit_extractor.go b/backend/plugins/tapd/tasks/task_commit_extractor.go
index 62eb0e5..4aed552 100644
--- a/backend/plugins/tapd/tasks/task_commit_extractor.go
+++ b/backend/plugins/tapd/tasks/task_commit_extractor.go
@@ -19,10 +19,10 @@
import (
"encoding/json"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/tapd/models"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/tapd/models"
)
var _ plugin.SubTaskEntryPoint = ExtractTaskCommits
diff --git a/backend/plugins/tapd/tasks/task_converter.go b/backend/plugins/tapd/tasks/task_converter.go
index 1b50068..a9d0086 100644
--- a/backend/plugins/tapd/tasks/task_converter.go
+++ b/backend/plugins/tapd/tasks/task_converter.go
@@ -22,14 +22,14 @@
"strconv"
"time"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/domainlayer"
- "github.com/apache/incubator-devlake/core/models/domainlayer/didgen"
- "github.com/apache/incubator-devlake/core/models/domainlayer/ticket"
- "github.com/apache/incubator-devlake/core/plugin"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/tapd/models"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/domainlayer"
+ "github.com/apache/devlake/core/models/domainlayer/didgen"
+ "github.com/apache/devlake/core/models/domainlayer/ticket"
+ "github.com/apache/devlake/core/plugin"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/tapd/models"
)
func ConvertTask(taskCtx plugin.SubTaskContext) errors.Error {
diff --git a/backend/plugins/tapd/tasks/task_custom_field_enricher.go b/backend/plugins/tapd/tasks/task_custom_field_enricher.go
index 6858253..f0fb3f2 100644
--- a/backend/plugins/tapd/tasks/task_custom_field_enricher.go
+++ b/backend/plugins/tapd/tasks/task_custom_field_enricher.go
@@ -19,11 +19,11 @@
import (
"fmt"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/tapd/models"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/tapd/models"
"reflect"
)
diff --git a/backend/plugins/tapd/tasks/task_custom_fields_collector.go b/backend/plugins/tapd/tasks/task_custom_fields_collector.go
index a8f0deb..b0ea722 100644
--- a/backend/plugins/tapd/tasks/task_custom_fields_collector.go
+++ b/backend/plugins/tapd/tasks/task_custom_fields_collector.go
@@ -20,9 +20,9 @@
import (
"encoding/json"
"fmt"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
"net/http"
"net/url"
)
diff --git a/backend/plugins/tapd/tasks/task_custom_fields_extractor.go b/backend/plugins/tapd/tasks/task_custom_fields_extractor.go
index ac756c8..fd987d9 100644
--- a/backend/plugins/tapd/tasks/task_custom_fields_extractor.go
+++ b/backend/plugins/tapd/tasks/task_custom_fields_extractor.go
@@ -19,10 +19,10 @@
import (
"encoding/json"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/tapd/models"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/tapd/models"
)
var _ plugin.SubTaskEntryPoint = ExtractTaskCustomFields
diff --git a/backend/plugins/tapd/tasks/task_data.go b/backend/plugins/tapd/tasks/task_data.go
index a13f612..a2b3a3a 100644
--- a/backend/plugins/tapd/tasks/task_data.go
+++ b/backend/plugins/tapd/tasks/task_data.go
@@ -20,9 +20,9 @@
import (
"time"
- "github.com/apache/incubator-devlake/core/errors"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/tapd/models"
+ "github.com/apache/devlake/core/errors"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/tapd/models"
)
type TapdOptions struct {
diff --git a/backend/plugins/tapd/tasks/task_extractor.go b/backend/plugins/tapd/tasks/task_extractor.go
index 11a6727..43888ee 100644
--- a/backend/plugins/tapd/tasks/task_extractor.go
+++ b/backend/plugins/tapd/tasks/task_extractor.go
@@ -23,12 +23,12 @@
"strings"
"time"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/domainlayer/ticket"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/helpers/utils"
- "github.com/apache/incubator-devlake/plugins/tapd/models"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/domainlayer/ticket"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/helpers/utils"
+ "github.com/apache/devlake/plugins/tapd/models"
)
var _ plugin.SubTaskEntryPoint = ExtractTasks
diff --git a/backend/plugins/tapd/tasks/task_label_convertor.go b/backend/plugins/tapd/tasks/task_label_convertor.go
index 2c801f5..564a419 100644
--- a/backend/plugins/tapd/tasks/task_label_convertor.go
+++ b/backend/plugins/tapd/tasks/task_label_convertor.go
@@ -20,13 +20,13 @@
import (
"reflect"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/domainlayer/didgen"
- "github.com/apache/incubator-devlake/core/models/domainlayer/ticket"
- "github.com/apache/incubator-devlake/core/plugin"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/tapd/models"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/domainlayer/didgen"
+ "github.com/apache/devlake/core/models/domainlayer/ticket"
+ "github.com/apache/devlake/core/plugin"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/tapd/models"
)
var ConvertTaskLabelsMeta = plugin.SubTaskMeta{
diff --git a/backend/plugins/tapd/tasks/workitem_lifetime_collector.go b/backend/plugins/tapd/tasks/workitem_lifetime_collector.go
index 183b6f8..6d864da 100644
--- a/backend/plugins/tapd/tasks/workitem_lifetime_collector.go
+++ b/backend/plugins/tapd/tasks/workitem_lifetime_collector.go
@@ -22,11 +22,11 @@
"net/url"
"reflect"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/tapd/models"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/tapd/models"
)
const RAW_LIFE_TIME_TABLE = "tapd_api_life_times"
diff --git a/backend/plugins/tapd/tasks/workitem_lifetime_extractor.go b/backend/plugins/tapd/tasks/workitem_lifetime_extractor.go
index 746cd9b..f5e93b7 100644
--- a/backend/plugins/tapd/tasks/workitem_lifetime_extractor.go
+++ b/backend/plugins/tapd/tasks/workitem_lifetime_extractor.go
@@ -20,10 +20,10 @@
import (
"encoding/json"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/tapd/models"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/tapd/models"
)
func ExtractLifeTimes(taskCtx plugin.SubTaskContext) errors.Error {
diff --git a/backend/plugins/tapd/tasks/workitem_type_collector.go b/backend/plugins/tapd/tasks/workitem_type_collector.go
index 91a3246..97185f5 100644
--- a/backend/plugins/tapd/tasks/workitem_type_collector.go
+++ b/backend/plugins/tapd/tasks/workitem_type_collector.go
@@ -20,9 +20,9 @@
import (
"encoding/json"
"fmt"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
"net/http"
"net/url"
)
diff --git a/backend/plugins/tapd/tasks/workitem_type_extractor.go b/backend/plugins/tapd/tasks/workitem_type_extractor.go
index b6547cc..2ca3267 100644
--- a/backend/plugins/tapd/tasks/workitem_type_extractor.go
+++ b/backend/plugins/tapd/tasks/workitem_type_extractor.go
@@ -19,10 +19,10 @@
import (
"encoding/json"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/tapd/models"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/tapd/models"
)
var _ plugin.SubTaskEntryPoint = ExtractWorkitemTypes
diff --git a/backend/plugins/tapd/tasks/worklog_collector.go b/backend/plugins/tapd/tasks/worklog_collector.go
index c651a20..bdb1bea 100644
--- a/backend/plugins/tapd/tasks/worklog_collector.go
+++ b/backend/plugins/tapd/tasks/worklog_collector.go
@@ -21,9 +21,9 @@
"fmt"
"net/url"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
)
const RAW_WORKLOG_TABLE = "tapd_api_worklogs"
diff --git a/backend/plugins/tapd/tasks/worklog_converter.go b/backend/plugins/tapd/tasks/worklog_converter.go
index d310689..c604f99 100644
--- a/backend/plugins/tapd/tasks/worklog_converter.go
+++ b/backend/plugins/tapd/tasks/worklog_converter.go
@@ -22,14 +22,14 @@
"strings"
"time"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/domainlayer"
- "github.com/apache/incubator-devlake/core/models/domainlayer/didgen"
- "github.com/apache/incubator-devlake/core/models/domainlayer/ticket"
- "github.com/apache/incubator-devlake/core/plugin"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/tapd/models"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/domainlayer"
+ "github.com/apache/devlake/core/models/domainlayer/didgen"
+ "github.com/apache/devlake/core/models/domainlayer/ticket"
+ "github.com/apache/devlake/core/plugin"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/tapd/models"
)
func ConvertWorklog(taskCtx plugin.SubTaskContext) errors.Error {
diff --git a/backend/plugins/tapd/tasks/worklog_extractor.go b/backend/plugins/tapd/tasks/worklog_extractor.go
index 25b6164..648595e 100644
--- a/backend/plugins/tapd/tasks/worklog_extractor.go
+++ b/backend/plugins/tapd/tasks/worklog_extractor.go
@@ -19,10 +19,10 @@
import (
"encoding/json"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/tapd/models"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/tapd/models"
)
var _ plugin.SubTaskEntryPoint = ExtractWorklogs
diff --git a/backend/plugins/tapd/tasks/workspace_converter.go b/backend/plugins/tapd/tasks/workspace_converter.go
index 725772a..64a1768 100644
--- a/backend/plugins/tapd/tasks/workspace_converter.go
+++ b/backend/plugins/tapd/tasks/workspace_converter.go
@@ -20,12 +20,12 @@
import (
"fmt"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/domainlayer"
- "github.com/apache/incubator-devlake/core/models/domainlayer/ticket"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/plugins/tapd/models"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/domainlayer"
+ "github.com/apache/devlake/core/models/domainlayer/ticket"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/plugins/tapd/models"
)
func ConvertWorkspace(taskCtx plugin.SubTaskContext) errors.Error {
diff --git a/backend/plugins/teambition/api/blueprint_v200.go b/backend/plugins/teambition/api/blueprint_v200.go
index e85a3dd..1fe47e0 100644
--- a/backend/plugins/teambition/api/blueprint_v200.go
+++ b/backend/plugins/teambition/api/blueprint_v200.go
@@ -18,16 +18,16 @@
package api
import (
- "github.com/apache/incubator-devlake/plugins/teambition/models"
- "github.com/apache/incubator-devlake/plugins/teambition/tasks"
+ "github.com/apache/devlake/plugins/teambition/models"
+ "github.com/apache/devlake/plugins/teambition/tasks"
- "github.com/apache/incubator-devlake/core/errors"
- coreModels "github.com/apache/incubator-devlake/core/models"
- "github.com/apache/incubator-devlake/core/models/domainlayer/devops"
- "github.com/apache/incubator-devlake/core/models/domainlayer/didgen"
- "github.com/apache/incubator-devlake/core/plugin"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/helpers/srvhelper"
+ "github.com/apache/devlake/core/errors"
+ coreModels "github.com/apache/devlake/core/models"
+ "github.com/apache/devlake/core/models/domainlayer/devops"
+ "github.com/apache/devlake/core/models/domainlayer/didgen"
+ "github.com/apache/devlake/core/plugin"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/helpers/srvhelper"
)
func MakeDataSourcePipelinePlanV200(
diff --git a/backend/plugins/teambition/api/connection_api.go b/backend/plugins/teambition/api/connection_api.go
index d8d1053..626c4af 100644
--- a/backend/plugins/teambition/api/connection_api.go
+++ b/backend/plugins/teambition/api/connection_api.go
@@ -22,12 +22,12 @@
"fmt"
"net/http"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/teambition/models"
- "github.com/apache/incubator-devlake/plugins/teambition/tasks"
- "github.com/apache/incubator-devlake/server/api/shared"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/teambition/models"
+ "github.com/apache/devlake/plugins/teambition/tasks"
+ "github.com/apache/devlake/server/api/shared"
)
type TeambitionTestConnResponse struct {
diff --git a/backend/plugins/teambition/api/init.go b/backend/plugins/teambition/api/init.go
index d429405..9d665c4 100644
--- a/backend/plugins/teambition/api/init.go
+++ b/backend/plugins/teambition/api/init.go
@@ -18,10 +18,10 @@
package api
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/teambition/models"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/teambition/models"
"github.com/go-playground/validator/v10"
)
diff --git a/backend/plugins/teambition/api/remote_api.go b/backend/plugins/teambition/api/remote_api.go
index 97ced73..d699c79 100644
--- a/backend/plugins/teambition/api/remote_api.go
+++ b/backend/plugins/teambition/api/remote_api.go
@@ -21,11 +21,11 @@
"fmt"
"net/url"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- dsmodels "github.com/apache/incubator-devlake/helpers/pluginhelper/api/models"
- "github.com/apache/incubator-devlake/plugins/teambition/models"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ dsmodels "github.com/apache/devlake/helpers/pluginhelper/api/models"
+ "github.com/apache/devlake/plugins/teambition/models"
)
type TeambitionPagination struct {
diff --git a/backend/plugins/teambition/api/scope_api.go b/backend/plugins/teambition/api/scope_api.go
index 495cfc8..e274f6b 100644
--- a/backend/plugins/teambition/api/scope_api.go
+++ b/backend/plugins/teambition/api/scope_api.go
@@ -18,10 +18,10 @@
package api
import (
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/teambition/models"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/teambition/models"
)
type PutScopesReqBody api.PutScopesReqBody[models.TeambitionProject]
diff --git a/backend/plugins/teambition/api/scope_config_api.go b/backend/plugins/teambition/api/scope_config_api.go
index 6294cb5..92e3ef3 100644
--- a/backend/plugins/teambition/api/scope_config_api.go
+++ b/backend/plugins/teambition/api/scope_config_api.go
@@ -18,8 +18,8 @@
package api
import (
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
)
// PostScopeConfig create scope config for Azure DevOps
diff --git a/backend/plugins/teambition/e2e/changelogs_test.go b/backend/plugins/teambition/e2e/changelogs_test.go
index b5acc1e..443c36c 100644
--- a/backend/plugins/teambition/e2e/changelogs_test.go
+++ b/backend/plugins/teambition/e2e/changelogs_test.go
@@ -18,13 +18,13 @@
package e2e
import (
- "github.com/apache/incubator-devlake/core/models/common"
- "github.com/apache/incubator-devlake/core/models/domainlayer"
- "github.com/apache/incubator-devlake/core/models/domainlayer/ticket"
- "github.com/apache/incubator-devlake/helpers/e2ehelper"
- "github.com/apache/incubator-devlake/plugins/teambition/impl"
- "github.com/apache/incubator-devlake/plugins/teambition/models"
- "github.com/apache/incubator-devlake/plugins/teambition/tasks"
+ "github.com/apache/devlake/core/models/common"
+ "github.com/apache/devlake/core/models/domainlayer"
+ "github.com/apache/devlake/core/models/domainlayer/ticket"
+ "github.com/apache/devlake/helpers/e2ehelper"
+ "github.com/apache/devlake/plugins/teambition/impl"
+ "github.com/apache/devlake/plugins/teambition/models"
+ "github.com/apache/devlake/plugins/teambition/tasks"
"testing"
)
diff --git a/backend/plugins/teambition/e2e/projects_test.go b/backend/plugins/teambition/e2e/projects_test.go
index b512c2d..c0c4e42 100644
--- a/backend/plugins/teambition/e2e/projects_test.go
+++ b/backend/plugins/teambition/e2e/projects_test.go
@@ -18,13 +18,13 @@
package e2e
import (
- "github.com/apache/incubator-devlake/core/models/common"
- "github.com/apache/incubator-devlake/core/models/domainlayer"
- "github.com/apache/incubator-devlake/core/models/domainlayer/ticket"
- "github.com/apache/incubator-devlake/helpers/e2ehelper"
- "github.com/apache/incubator-devlake/plugins/teambition/impl"
- "github.com/apache/incubator-devlake/plugins/teambition/models"
- "github.com/apache/incubator-devlake/plugins/teambition/tasks"
+ "github.com/apache/devlake/core/models/common"
+ "github.com/apache/devlake/core/models/domainlayer"
+ "github.com/apache/devlake/core/models/domainlayer/ticket"
+ "github.com/apache/devlake/helpers/e2ehelper"
+ "github.com/apache/devlake/plugins/teambition/impl"
+ "github.com/apache/devlake/plugins/teambition/models"
+ "github.com/apache/devlake/plugins/teambition/tasks"
"testing"
)
diff --git a/backend/plugins/teambition/e2e/sprint_test.go b/backend/plugins/teambition/e2e/sprint_test.go
index 2b472a4..32dffe0 100644
--- a/backend/plugins/teambition/e2e/sprint_test.go
+++ b/backend/plugins/teambition/e2e/sprint_test.go
@@ -18,13 +18,13 @@
package e2e
import (
- "github.com/apache/incubator-devlake/core/models/common"
- "github.com/apache/incubator-devlake/core/models/domainlayer"
- "github.com/apache/incubator-devlake/core/models/domainlayer/ticket"
- "github.com/apache/incubator-devlake/helpers/e2ehelper"
- "github.com/apache/incubator-devlake/plugins/teambition/impl"
- "github.com/apache/incubator-devlake/plugins/teambition/models"
- "github.com/apache/incubator-devlake/plugins/teambition/tasks"
+ "github.com/apache/devlake/core/models/common"
+ "github.com/apache/devlake/core/models/domainlayer"
+ "github.com/apache/devlake/core/models/domainlayer/ticket"
+ "github.com/apache/devlake/helpers/e2ehelper"
+ "github.com/apache/devlake/plugins/teambition/impl"
+ "github.com/apache/devlake/plugins/teambition/models"
+ "github.com/apache/devlake/plugins/teambition/tasks"
"testing"
)
diff --git a/backend/plugins/teambition/e2e/task_comment_test.go b/backend/plugins/teambition/e2e/task_comment_test.go
index a1ebb4c..d549679 100644
--- a/backend/plugins/teambition/e2e/task_comment_test.go
+++ b/backend/plugins/teambition/e2e/task_comment_test.go
@@ -20,13 +20,13 @@
import (
"testing"
- "github.com/apache/incubator-devlake/core/models/common"
- "github.com/apache/incubator-devlake/core/models/domainlayer"
- "github.com/apache/incubator-devlake/core/models/domainlayer/ticket"
- "github.com/apache/incubator-devlake/helpers/e2ehelper"
- "github.com/apache/incubator-devlake/plugins/teambition/impl"
- "github.com/apache/incubator-devlake/plugins/teambition/models"
- "github.com/apache/incubator-devlake/plugins/teambition/tasks"
+ "github.com/apache/devlake/core/models/common"
+ "github.com/apache/devlake/core/models/domainlayer"
+ "github.com/apache/devlake/core/models/domainlayer/ticket"
+ "github.com/apache/devlake/helpers/e2ehelper"
+ "github.com/apache/devlake/plugins/teambition/impl"
+ "github.com/apache/devlake/plugins/teambition/models"
+ "github.com/apache/devlake/plugins/teambition/tasks"
)
func TestTeambitionTaskComment(t *testing.T) {
diff --git a/backend/plugins/teambition/e2e/task_scenarios_test.go b/backend/plugins/teambition/e2e/task_scenarios_test.go
index dc852f9..0c8a201 100644
--- a/backend/plugins/teambition/e2e/task_scenarios_test.go
+++ b/backend/plugins/teambition/e2e/task_scenarios_test.go
@@ -18,11 +18,11 @@
package e2e
import (
- "github.com/apache/incubator-devlake/core/models/common"
- "github.com/apache/incubator-devlake/helpers/e2ehelper"
- "github.com/apache/incubator-devlake/plugins/teambition/impl"
- "github.com/apache/incubator-devlake/plugins/teambition/models"
- "github.com/apache/incubator-devlake/plugins/teambition/tasks"
+ "github.com/apache/devlake/core/models/common"
+ "github.com/apache/devlake/helpers/e2ehelper"
+ "github.com/apache/devlake/plugins/teambition/impl"
+ "github.com/apache/devlake/plugins/teambition/models"
+ "github.com/apache/devlake/plugins/teambition/tasks"
"testing"
)
diff --git a/backend/plugins/teambition/e2e/task_tag_test.go b/backend/plugins/teambition/e2e/task_tag_test.go
index 481972b..884045e 100644
--- a/backend/plugins/teambition/e2e/task_tag_test.go
+++ b/backend/plugins/teambition/e2e/task_tag_test.go
@@ -18,13 +18,13 @@
package e2e
import (
- "github.com/apache/incubator-devlake/core/models/common"
- "github.com/apache/incubator-devlake/core/models/domainlayer"
- "github.com/apache/incubator-devlake/core/models/domainlayer/ticket"
- "github.com/apache/incubator-devlake/helpers/e2ehelper"
- "github.com/apache/incubator-devlake/plugins/teambition/impl"
- "github.com/apache/incubator-devlake/plugins/teambition/models"
- "github.com/apache/incubator-devlake/plugins/teambition/tasks"
+ "github.com/apache/devlake/core/models/common"
+ "github.com/apache/devlake/core/models/domainlayer"
+ "github.com/apache/devlake/core/models/domainlayer/ticket"
+ "github.com/apache/devlake/helpers/e2ehelper"
+ "github.com/apache/devlake/plugins/teambition/impl"
+ "github.com/apache/devlake/plugins/teambition/models"
+ "github.com/apache/devlake/plugins/teambition/tasks"
"testing"
)
diff --git a/backend/plugins/teambition/e2e/task_test.go b/backend/plugins/teambition/e2e/task_test.go
index 31d5e41..c242c56 100644
--- a/backend/plugins/teambition/e2e/task_test.go
+++ b/backend/plugins/teambition/e2e/task_test.go
@@ -18,13 +18,13 @@
package e2e
import (
- "github.com/apache/incubator-devlake/core/models/common"
- "github.com/apache/incubator-devlake/core/models/domainlayer"
- "github.com/apache/incubator-devlake/core/models/domainlayer/ticket"
- "github.com/apache/incubator-devlake/helpers/e2ehelper"
- "github.com/apache/incubator-devlake/plugins/teambition/impl"
- "github.com/apache/incubator-devlake/plugins/teambition/models"
- "github.com/apache/incubator-devlake/plugins/teambition/tasks"
+ "github.com/apache/devlake/core/models/common"
+ "github.com/apache/devlake/core/models/domainlayer"
+ "github.com/apache/devlake/core/models/domainlayer/ticket"
+ "github.com/apache/devlake/helpers/e2ehelper"
+ "github.com/apache/devlake/plugins/teambition/impl"
+ "github.com/apache/devlake/plugins/teambition/models"
+ "github.com/apache/devlake/plugins/teambition/tasks"
"testing"
)
diff --git a/backend/plugins/teambition/e2e/task_work_flow_status_test.go b/backend/plugins/teambition/e2e/task_work_flow_status_test.go
index b8eef64..f60e6da 100644
--- a/backend/plugins/teambition/e2e/task_work_flow_status_test.go
+++ b/backend/plugins/teambition/e2e/task_work_flow_status_test.go
@@ -18,11 +18,11 @@
package e2e
import (
- "github.com/apache/incubator-devlake/core/models/common"
- "github.com/apache/incubator-devlake/helpers/e2ehelper"
- "github.com/apache/incubator-devlake/plugins/teambition/impl"
- "github.com/apache/incubator-devlake/plugins/teambition/models"
- "github.com/apache/incubator-devlake/plugins/teambition/tasks"
+ "github.com/apache/devlake/core/models/common"
+ "github.com/apache/devlake/helpers/e2ehelper"
+ "github.com/apache/devlake/plugins/teambition/impl"
+ "github.com/apache/devlake/plugins/teambition/models"
+ "github.com/apache/devlake/plugins/teambition/tasks"
"testing"
)
diff --git a/backend/plugins/teambition/e2e/task_worktime_test.go b/backend/plugins/teambition/e2e/task_worktime_test.go
index d04bf77..3c49b7f 100644
--- a/backend/plugins/teambition/e2e/task_worktime_test.go
+++ b/backend/plugins/teambition/e2e/task_worktime_test.go
@@ -18,13 +18,13 @@
package e2e
import (
- "github.com/apache/incubator-devlake/core/models/common"
- "github.com/apache/incubator-devlake/core/models/domainlayer"
- "github.com/apache/incubator-devlake/core/models/domainlayer/ticket"
- "github.com/apache/incubator-devlake/helpers/e2ehelper"
- "github.com/apache/incubator-devlake/plugins/teambition/impl"
- "github.com/apache/incubator-devlake/plugins/teambition/models"
- "github.com/apache/incubator-devlake/plugins/teambition/tasks"
+ "github.com/apache/devlake/core/models/common"
+ "github.com/apache/devlake/core/models/domainlayer"
+ "github.com/apache/devlake/core/models/domainlayer/ticket"
+ "github.com/apache/devlake/helpers/e2ehelper"
+ "github.com/apache/devlake/plugins/teambition/impl"
+ "github.com/apache/devlake/plugins/teambition/models"
+ "github.com/apache/devlake/plugins/teambition/tasks"
"testing"
)
diff --git a/backend/plugins/teambition/impl/impl.go b/backend/plugins/teambition/impl/impl.go
index a9aa53a..95854de 100644
--- a/backend/plugins/teambition/impl/impl.go
+++ b/backend/plugins/teambition/impl/impl.go
@@ -20,16 +20,16 @@
import (
"fmt"
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- coreModels "github.com/apache/incubator-devlake/core/models"
- "github.com/apache/incubator-devlake/core/plugin"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/teambition/api"
- "github.com/apache/incubator-devlake/plugins/teambition/models"
- "github.com/apache/incubator-devlake/plugins/teambition/models/migrationscripts"
- "github.com/apache/incubator-devlake/plugins/teambition/tasks"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ coreModels "github.com/apache/devlake/core/models"
+ "github.com/apache/devlake/core/plugin"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/teambition/api"
+ "github.com/apache/devlake/plugins/teambition/models"
+ "github.com/apache/devlake/plugins/teambition/models/migrationscripts"
+ "github.com/apache/devlake/plugins/teambition/tasks"
)
// make sure interface is implemented
@@ -159,7 +159,7 @@
// RootPkgPath PkgPath information lost when compiled as plugin(.so)
func (p Teambition) RootPkgPath() string {
- return "github.com/apache/incubator-devlake/plugins/teambition"
+ return "github.com/apache/devlake/plugins/teambition"
}
func (p Teambition) MigrationScripts() []plugin.MigrationScript {
diff --git a/backend/plugins/teambition/models/account.go b/backend/plugins/teambition/models/account.go
index 48332b5..faea40b 100644
--- a/backend/plugins/teambition/models/account.go
+++ b/backend/plugins/teambition/models/account.go
@@ -18,7 +18,7 @@
package models
import (
- "github.com/apache/incubator-devlake/core/models/common"
+ "github.com/apache/devlake/core/models/common"
)
type TeambitionAccount struct {
diff --git a/backend/plugins/teambition/models/connection.go b/backend/plugins/teambition/models/connection.go
index fcee357..d1383e8 100644
--- a/backend/plugins/teambition/models/connection.go
+++ b/backend/plugins/teambition/models/connection.go
@@ -19,9 +19,9 @@
import (
"fmt"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/utils"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/utils"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
"github.com/golang-jwt/jwt/v5"
"net/http"
"time"
diff --git a/backend/plugins/teambition/models/migrationscripts/20230314_add_init_tables.go b/backend/plugins/teambition/models/migrationscripts/20230314_add_init_tables.go
index 2b854b0..6752aca 100644
--- a/backend/plugins/teambition/models/migrationscripts/20230314_add_init_tables.go
+++ b/backend/plugins/teambition/models/migrationscripts/20230314_add_init_tables.go
@@ -18,10 +18,10 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/helpers/migrationhelper"
- "github.com/apache/incubator-devlake/plugins/teambition/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/helpers/migrationhelper"
+ "github.com/apache/devlake/plugins/teambition/models/migrationscripts/archived"
)
type addInitTables struct{}
diff --git a/backend/plugins/teambition/models/migrationscripts/20231123_recreate_teambition_connections.go b/backend/plugins/teambition/models/migrationscripts/20231123_recreate_teambition_connections.go
index ca36340..236a5a3 100644
--- a/backend/plugins/teambition/models/migrationscripts/20231123_recreate_teambition_connections.go
+++ b/backend/plugins/teambition/models/migrationscripts/20231123_recreate_teambition_connections.go
@@ -18,10 +18,10 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
- "github.com/apache/incubator-devlake/core/plugin"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/plugin"
)
var _ plugin.MigrationScript = (*reCreateTeambitionConnections)(nil)
diff --git a/backend/plugins/teambition/models/migrationscripts/20240417_add_scope_config_id.go b/backend/plugins/teambition/models/migrationscripts/20240417_add_scope_config_id.go
index f445676..b153761 100644
--- a/backend/plugins/teambition/models/migrationscripts/20240417_add_scope_config_id.go
+++ b/backend/plugins/teambition/models/migrationscripts/20240417_add_scope_config_id.go
@@ -18,10 +18,10 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/migrationhelper"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/migrationhelper"
)
var _ plugin.MigrationScript = (*addScopeConfigId)(nil)
diff --git a/backend/plugins/teambition/models/migrationscripts/20250529_add_app_id_back.go b/backend/plugins/teambition/models/migrationscripts/20250529_add_app_id_back.go
index 855bab0..927f614 100644
--- a/backend/plugins/teambition/models/migrationscripts/20250529_add_app_id_back.go
+++ b/backend/plugins/teambition/models/migrationscripts/20250529_add_app_id_back.go
@@ -18,10 +18,10 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/migrationhelper"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/migrationhelper"
)
var _ plugin.MigrationScript = (*addAppIdBack)(nil)
diff --git a/backend/plugins/teambition/models/migrationscripts/20260727_add_missing_scope_config_columns.go b/backend/plugins/teambition/models/migrationscripts/20260727_add_missing_scope_config_columns.go
index 0b29b9c..2c8d9dc 100644
--- a/backend/plugins/teambition/models/migrationscripts/20260727_add_missing_scope_config_columns.go
+++ b/backend/plugins/teambition/models/migrationscripts/20260727_add_missing_scope_config_columns.go
@@ -20,10 +20,10 @@
import (
"fmt"
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
- "github.com/apache/incubator-devlake/helpers/migrationhelper"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/helpers/migrationhelper"
)
const teambitionScopeConfigTable20260727 = "_tool_teambition_scope_configs"
diff --git a/backend/plugins/teambition/models/migrationscripts/archived/account.go b/backend/plugins/teambition/models/migrationscripts/archived/account.go
index 7f83ee6..cb0df63 100644
--- a/backend/plugins/teambition/models/migrationscripts/archived/account.go
+++ b/backend/plugins/teambition/models/migrationscripts/archived/account.go
@@ -20,7 +20,7 @@
import (
"time"
- "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/models/migrationscripts/archived"
)
type TeambitionAccount struct {
diff --git a/backend/plugins/teambition/models/migrationscripts/archived/project.go b/backend/plugins/teambition/models/migrationscripts/archived/project.go
index e1ceb09..8034399 100644
--- a/backend/plugins/teambition/models/migrationscripts/archived/project.go
+++ b/backend/plugins/teambition/models/migrationscripts/archived/project.go
@@ -20,7 +20,7 @@
import (
"time"
- "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/models/migrationscripts/archived"
)
type TeambitionProject struct {
diff --git a/backend/plugins/teambition/models/migrationscripts/archived/sprint.go b/backend/plugins/teambition/models/migrationscripts/archived/sprint.go
index 5ad35c6..7fd4170 100644
--- a/backend/plugins/teambition/models/migrationscripts/archived/sprint.go
+++ b/backend/plugins/teambition/models/migrationscripts/archived/sprint.go
@@ -20,7 +20,7 @@
import (
"time"
- "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/models/migrationscripts/archived"
)
type TeambitionSprint struct {
diff --git a/backend/plugins/teambition/models/migrationscripts/archived/task.go b/backend/plugins/teambition/models/migrationscripts/archived/task.go
index 5c4fda7..437a9a8 100644
--- a/backend/plugins/teambition/models/migrationscripts/archived/task.go
+++ b/backend/plugins/teambition/models/migrationscripts/archived/task.go
@@ -20,7 +20,7 @@
import (
"time"
- "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/models/migrationscripts/archived"
)
type TeambitionTask struct {
diff --git a/backend/plugins/teambition/models/migrationscripts/archived/task_activity.go b/backend/plugins/teambition/models/migrationscripts/archived/task_activity.go
index a2f5015..3ac54a3 100644
--- a/backend/plugins/teambition/models/migrationscripts/archived/task_activity.go
+++ b/backend/plugins/teambition/models/migrationscripts/archived/task_activity.go
@@ -20,7 +20,7 @@
import (
"time"
- "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/models/migrationscripts/archived"
)
type TeambitionTaskActivity struct {
diff --git a/backend/plugins/teambition/models/migrationscripts/archived/task_flow_status.go b/backend/plugins/teambition/models/migrationscripts/archived/task_flow_status.go
index 3931d7f..41b6808 100644
--- a/backend/plugins/teambition/models/migrationscripts/archived/task_flow_status.go
+++ b/backend/plugins/teambition/models/migrationscripts/archived/task_flow_status.go
@@ -20,7 +20,7 @@
import (
"time"
- "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/models/migrationscripts/archived"
)
type TeambitionTaskFlowStatus struct {
diff --git a/backend/plugins/teambition/models/migrationscripts/archived/task_scenario.go b/backend/plugins/teambition/models/migrationscripts/archived/task_scenario.go
index fd9583e..a8e20e7 100644
--- a/backend/plugins/teambition/models/migrationscripts/archived/task_scenario.go
+++ b/backend/plugins/teambition/models/migrationscripts/archived/task_scenario.go
@@ -20,7 +20,7 @@
import (
"time"
- "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/models/migrationscripts/archived"
)
type TeambitionTaskScenario struct {
diff --git a/backend/plugins/teambition/models/migrationscripts/archived/task_tag.go b/backend/plugins/teambition/models/migrationscripts/archived/task_tag.go
index c59827e..11d6610 100644
--- a/backend/plugins/teambition/models/migrationscripts/archived/task_tag.go
+++ b/backend/plugins/teambition/models/migrationscripts/archived/task_tag.go
@@ -20,7 +20,7 @@
import (
"time"
- "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/models/migrationscripts/archived"
)
type TeambitionTaskTag struct {
diff --git a/backend/plugins/teambition/models/migrationscripts/archived/task_tag_task.go b/backend/plugins/teambition/models/migrationscripts/archived/task_tag_task.go
index 784dae6..6a0a800 100644
--- a/backend/plugins/teambition/models/migrationscripts/archived/task_tag_task.go
+++ b/backend/plugins/teambition/models/migrationscripts/archived/task_tag_task.go
@@ -18,7 +18,7 @@
package archived
import (
- "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/models/migrationscripts/archived"
)
type TeambitionTaskTagTask struct {
diff --git a/backend/plugins/teambition/models/migrationscripts/archived/task_worktime.go b/backend/plugins/teambition/models/migrationscripts/archived/task_worktime.go
index f171add..0537676 100644
--- a/backend/plugins/teambition/models/migrationscripts/archived/task_worktime.go
+++ b/backend/plugins/teambition/models/migrationscripts/archived/task_worktime.go
@@ -20,7 +20,7 @@
import (
"time"
- "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/models/migrationscripts/archived"
)
type TeambitionTaskWorktime struct {
diff --git a/backend/plugins/teambition/models/migrationscripts/register.go b/backend/plugins/teambition/models/migrationscripts/register.go
index d761a15..8fe20f0 100644
--- a/backend/plugins/teambition/models/migrationscripts/register.go
+++ b/backend/plugins/teambition/models/migrationscripts/register.go
@@ -17,7 +17,7 @@
package migrationscripts
-import "github.com/apache/incubator-devlake/core/plugin"
+import "github.com/apache/devlake/core/plugin"
// All return all the migration scripts
func All() []plugin.MigrationScript {
diff --git a/backend/plugins/teambition/models/project.go b/backend/plugins/teambition/models/project.go
index 59531c3..69309fd 100644
--- a/backend/plugins/teambition/models/project.go
+++ b/backend/plugins/teambition/models/project.go
@@ -18,8 +18,8 @@
package models
import (
- "github.com/apache/incubator-devlake/core/models/common"
- "github.com/apache/incubator-devlake/core/plugin"
+ "github.com/apache/devlake/core/models/common"
+ "github.com/apache/devlake/core/plugin"
)
func (t TeambitionProject) ConvertApiScope() plugin.ToolLayerScope {
diff --git a/backend/plugins/teambition/models/scope_config.go b/backend/plugins/teambition/models/scope_config.go
index d97585c..ba0ae51 100644
--- a/backend/plugins/teambition/models/scope_config.go
+++ b/backend/plugins/teambition/models/scope_config.go
@@ -18,7 +18,7 @@
package models
import (
- "github.com/apache/incubator-devlake/core/models/common"
+ "github.com/apache/devlake/core/models/common"
)
type TeambitionScopeConfig struct {
diff --git a/backend/plugins/teambition/models/sprint.go b/backend/plugins/teambition/models/sprint.go
index 8bc05f8..d43f532 100644
--- a/backend/plugins/teambition/models/sprint.go
+++ b/backend/plugins/teambition/models/sprint.go
@@ -18,7 +18,7 @@
package models
import (
- "github.com/apache/incubator-devlake/core/models/common"
+ "github.com/apache/devlake/core/models/common"
)
type TeambitionSprint struct {
diff --git a/backend/plugins/teambition/models/task.go b/backend/plugins/teambition/models/task.go
index 872cecf..f8a561a 100644
--- a/backend/plugins/teambition/models/task.go
+++ b/backend/plugins/teambition/models/task.go
@@ -18,7 +18,7 @@
package models
import (
- "github.com/apache/incubator-devlake/core/models/common"
+ "github.com/apache/devlake/core/models/common"
)
type TeambitionTask struct {
diff --git a/backend/plugins/teambition/models/task_activity.go b/backend/plugins/teambition/models/task_activity.go
index 35782de..c6f8edc 100644
--- a/backend/plugins/teambition/models/task_activity.go
+++ b/backend/plugins/teambition/models/task_activity.go
@@ -18,7 +18,7 @@
package models
import (
- "github.com/apache/incubator-devlake/core/models/common"
+ "github.com/apache/devlake/core/models/common"
)
type TeambitionTaskActivity struct {
diff --git a/backend/plugins/teambition/models/task_flow_status.go b/backend/plugins/teambition/models/task_flow_status.go
index 5410c22..89021cc 100644
--- a/backend/plugins/teambition/models/task_flow_status.go
+++ b/backend/plugins/teambition/models/task_flow_status.go
@@ -18,7 +18,7 @@
package models
import (
- "github.com/apache/incubator-devlake/core/models/common"
+ "github.com/apache/devlake/core/models/common"
)
type TeambitionTaskFlowStatus struct {
diff --git a/backend/plugins/teambition/models/task_scenario.go b/backend/plugins/teambition/models/task_scenario.go
index 75f9c2b..61bbd05 100644
--- a/backend/plugins/teambition/models/task_scenario.go
+++ b/backend/plugins/teambition/models/task_scenario.go
@@ -18,7 +18,7 @@
package models
import (
- "github.com/apache/incubator-devlake/core/models/common"
+ "github.com/apache/devlake/core/models/common"
)
type TeambitionTaskScenario struct {
diff --git a/backend/plugins/teambition/models/task_tag.go b/backend/plugins/teambition/models/task_tag.go
index 0ffc9df..a088198 100644
--- a/backend/plugins/teambition/models/task_tag.go
+++ b/backend/plugins/teambition/models/task_tag.go
@@ -18,7 +18,7 @@
package models
import (
- "github.com/apache/incubator-devlake/core/models/common"
+ "github.com/apache/devlake/core/models/common"
)
type TeambitionTaskTag struct {
diff --git a/backend/plugins/teambition/models/task_tag_task.go b/backend/plugins/teambition/models/task_tag_task.go
index db2e93e..d030561 100644
--- a/backend/plugins/teambition/models/task_tag_task.go
+++ b/backend/plugins/teambition/models/task_tag_task.go
@@ -17,7 +17,7 @@
package models
-import "github.com/apache/incubator-devlake/core/models/common"
+import "github.com/apache/devlake/core/models/common"
type TeambitionTaskTagTask struct {
ConnectionId uint64 `gorm:"primaryKey;type:BIGINT"`
diff --git a/backend/plugins/teambition/models/task_worktime.go b/backend/plugins/teambition/models/task_worktime.go
index 2795079..563ab69 100644
--- a/backend/plugins/teambition/models/task_worktime.go
+++ b/backend/plugins/teambition/models/task_worktime.go
@@ -18,7 +18,7 @@
package models
import (
- "github.com/apache/incubator-devlake/core/models/common"
+ "github.com/apache/devlake/core/models/common"
)
type TeambitionTaskWorktime struct {
diff --git a/backend/plugins/teambition/tasks/account_collector.go b/backend/plugins/teambition/tasks/account_collector.go
index db916bd..cd2309c 100644
--- a/backend/plugins/teambition/tasks/account_collector.go
+++ b/backend/plugins/teambition/tasks/account_collector.go
@@ -19,9 +19,9 @@
import (
"encoding/json"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
"net/http"
"net/url"
)
diff --git a/backend/plugins/teambition/tasks/account_converter.go b/backend/plugins/teambition/tasks/account_converter.go
index f266244..192f14e 100644
--- a/backend/plugins/teambition/tasks/account_converter.go
+++ b/backend/plugins/teambition/tasks/account_converter.go
@@ -18,13 +18,13 @@
package tasks
import (
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/domainlayer"
- "github.com/apache/incubator-devlake/core/models/domainlayer/crossdomain"
- "github.com/apache/incubator-devlake/core/plugin"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/teambition/models"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/domainlayer"
+ "github.com/apache/devlake/core/models/domainlayer/crossdomain"
+ "github.com/apache/devlake/core/plugin"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/teambition/models"
"reflect"
)
diff --git a/backend/plugins/teambition/tasks/account_extractor.go b/backend/plugins/teambition/tasks/account_extractor.go
index 7522dc2..c07bae7 100644
--- a/backend/plugins/teambition/tasks/account_extractor.go
+++ b/backend/plugins/teambition/tasks/account_extractor.go
@@ -19,10 +19,10 @@
import (
"encoding/json"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/teambition/models"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/teambition/models"
)
var _ plugin.SubTaskEntryPoint = ExtractAccounts
diff --git a/backend/plugins/teambition/tasks/api_client.go b/backend/plugins/teambition/tasks/api_client.go
index 82d9ed5..db9eb81 100644
--- a/backend/plugins/teambition/tasks/api_client.go
+++ b/backend/plugins/teambition/tasks/api_client.go
@@ -18,10 +18,10 @@
package tasks
import (
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/teambition/models"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/teambition/models"
)
func NewTeambitionApiClient(taskCtx plugin.TaskContext, connection *models.TeambitionConnection) (*api.ApiAsyncClient, errors.Error) {
diff --git a/backend/plugins/teambition/tasks/project_collector.go b/backend/plugins/teambition/tasks/project_collector.go
index 2ea1ffc..8f850de 100644
--- a/backend/plugins/teambition/tasks/project_collector.go
+++ b/backend/plugins/teambition/tasks/project_collector.go
@@ -20,9 +20,9 @@
import (
"encoding/json"
"fmt"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
"net/http"
"net/url"
)
diff --git a/backend/plugins/teambition/tasks/project_convertor.go b/backend/plugins/teambition/tasks/project_convertor.go
index abeddf2..9df82ac 100644
--- a/backend/plugins/teambition/tasks/project_convertor.go
+++ b/backend/plugins/teambition/tasks/project_convertor.go
@@ -21,13 +21,13 @@
"fmt"
"reflect"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/domainlayer"
- "github.com/apache/incubator-devlake/core/models/domainlayer/ticket"
- "github.com/apache/incubator-devlake/core/plugin"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/teambition/models"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/domainlayer"
+ "github.com/apache/devlake/core/models/domainlayer/ticket"
+ "github.com/apache/devlake/core/plugin"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/teambition/models"
)
var ConvertProjectsMeta = plugin.SubTaskMeta{
diff --git a/backend/plugins/teambition/tasks/project_extractor.go b/backend/plugins/teambition/tasks/project_extractor.go
index d850fb9..f91ebdc 100644
--- a/backend/plugins/teambition/tasks/project_extractor.go
+++ b/backend/plugins/teambition/tasks/project_extractor.go
@@ -19,10 +19,10 @@
import (
"encoding/json"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/teambition/models"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/teambition/models"
)
var _ plugin.SubTaskEntryPoint = ExtractProjects
diff --git a/backend/plugins/teambition/tasks/shared.go b/backend/plugins/teambition/tasks/shared.go
index 7fbf56e..00a0b2c 100644
--- a/backend/plugins/teambition/tasks/shared.go
+++ b/backend/plugins/teambition/tasks/shared.go
@@ -18,12 +18,12 @@
package tasks
import (
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/domainlayer/didgen"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/teambition/models"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/domainlayer/didgen"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/teambition/models"
)
type TeambitionComRes[T any] struct {
diff --git a/backend/plugins/teambition/tasks/sprint_collector.go b/backend/plugins/teambition/tasks/sprint_collector.go
index 21ca795..7a8e6c6 100644
--- a/backend/plugins/teambition/tasks/sprint_collector.go
+++ b/backend/plugins/teambition/tasks/sprint_collector.go
@@ -20,9 +20,9 @@
import (
"encoding/json"
"fmt"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
"net/http"
"net/url"
)
diff --git a/backend/plugins/teambition/tasks/sprint_convertor.go b/backend/plugins/teambition/tasks/sprint_convertor.go
index f5d4d41..d8ec6ef 100644
--- a/backend/plugins/teambition/tasks/sprint_convertor.go
+++ b/backend/plugins/teambition/tasks/sprint_convertor.go
@@ -19,13 +19,13 @@
import (
"fmt"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/domainlayer"
- "github.com/apache/incubator-devlake/core/models/domainlayer/ticket"
- "github.com/apache/incubator-devlake/core/plugin"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/teambition/models"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/domainlayer"
+ "github.com/apache/devlake/core/models/domainlayer/ticket"
+ "github.com/apache/devlake/core/plugin"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/teambition/models"
"reflect"
)
diff --git a/backend/plugins/teambition/tasks/sprint_extractor.go b/backend/plugins/teambition/tasks/sprint_extractor.go
index 397fe89..448ceef 100644
--- a/backend/plugins/teambition/tasks/sprint_extractor.go
+++ b/backend/plugins/teambition/tasks/sprint_extractor.go
@@ -19,10 +19,10 @@
import (
"encoding/json"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/teambition/models"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/teambition/models"
)
var _ plugin.SubTaskEntryPoint = ExtractSprints
diff --git a/backend/plugins/teambition/tasks/task_activity_collector.go b/backend/plugins/teambition/tasks/task_activity_collector.go
index a6034fd..143edad 100644
--- a/backend/plugins/teambition/tasks/task_activity_collector.go
+++ b/backend/plugins/teambition/tasks/task_activity_collector.go
@@ -20,11 +20,11 @@
import (
"encoding/json"
"fmt"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/teambition/models"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/teambition/models"
"net/http"
"net/url"
"reflect"
diff --git a/backend/plugins/teambition/tasks/task_activity_extractor.go b/backend/plugins/teambition/tasks/task_activity_extractor.go
index aa1c90a..7519149 100644
--- a/backend/plugins/teambition/tasks/task_activity_extractor.go
+++ b/backend/plugins/teambition/tasks/task_activity_extractor.go
@@ -19,10 +19,10 @@
import (
"encoding/json"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/teambition/models"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/teambition/models"
)
var _ plugin.SubTaskEntryPoint = ExtractTaskActivities
diff --git a/backend/plugins/teambition/tasks/task_changelog_converter.go b/backend/plugins/teambition/tasks/task_changelog_converter.go
index f01076e..8a9cf0a 100644
--- a/backend/plugins/teambition/tasks/task_changelog_converter.go
+++ b/backend/plugins/teambition/tasks/task_changelog_converter.go
@@ -18,13 +18,13 @@
package tasks
import (
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/domainlayer"
- "github.com/apache/incubator-devlake/core/models/domainlayer/ticket"
- "github.com/apache/incubator-devlake/core/plugin"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/teambition/models"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/domainlayer"
+ "github.com/apache/devlake/core/models/domainlayer/ticket"
+ "github.com/apache/devlake/core/plugin"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/teambition/models"
"reflect"
)
diff --git a/backend/plugins/teambition/tasks/task_collector.go b/backend/plugins/teambition/tasks/task_collector.go
index 4296749..98259d8 100644
--- a/backend/plugins/teambition/tasks/task_collector.go
+++ b/backend/plugins/teambition/tasks/task_collector.go
@@ -23,9 +23,9 @@
"net/http"
"net/url"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
)
const RAW_TASK_TABLE = "teambition_api_tasks"
diff --git a/backend/plugins/teambition/tasks/task_comment_converter.go b/backend/plugins/teambition/tasks/task_comment_converter.go
index 1ee9a28..17f74f4 100644
--- a/backend/plugins/teambition/tasks/task_comment_converter.go
+++ b/backend/plugins/teambition/tasks/task_comment_converter.go
@@ -21,13 +21,13 @@
"encoding/json"
"reflect"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/domainlayer"
- "github.com/apache/incubator-devlake/core/models/domainlayer/ticket"
- "github.com/apache/incubator-devlake/core/plugin"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/teambition/models"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/domainlayer"
+ "github.com/apache/devlake/core/models/domainlayer/ticket"
+ "github.com/apache/devlake/core/plugin"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/teambition/models"
)
var ConvertTaskCommentsMeta = plugin.SubTaskMeta{
diff --git a/backend/plugins/teambition/tasks/task_converter.go b/backend/plugins/teambition/tasks/task_converter.go
index aa2071d..cc13c1a 100644
--- a/backend/plugins/teambition/tasks/task_converter.go
+++ b/backend/plugins/teambition/tasks/task_converter.go
@@ -24,13 +24,13 @@
"strings"
"time"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/domainlayer"
- "github.com/apache/incubator-devlake/core/models/domainlayer/ticket"
- "github.com/apache/incubator-devlake/core/plugin"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/teambition/models"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/domainlayer"
+ "github.com/apache/devlake/core/models/domainlayer/ticket"
+ "github.com/apache/devlake/core/plugin"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/teambition/models"
)
var ConvertTasksMeta = plugin.SubTaskMeta{
diff --git a/backend/plugins/teambition/tasks/task_data.go b/backend/plugins/teambition/tasks/task_data.go
index 961f1f3..c1ce2f9 100644
--- a/backend/plugins/teambition/tasks/task_data.go
+++ b/backend/plugins/teambition/tasks/task_data.go
@@ -20,8 +20,8 @@
import (
"time"
- "github.com/apache/incubator-devlake/core/errors"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/core/errors"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
)
type TeambitionOptions struct {
diff --git a/backend/plugins/teambition/tasks/task_extractor.go b/backend/plugins/teambition/tasks/task_extractor.go
index abe1465..22168d8 100644
--- a/backend/plugins/teambition/tasks/task_extractor.go
+++ b/backend/plugins/teambition/tasks/task_extractor.go
@@ -20,10 +20,10 @@
import (
"encoding/json"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/teambition/models"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/teambition/models"
)
var _ plugin.SubTaskEntryPoint = ExtractTasks
diff --git a/backend/plugins/teambition/tasks/task_flow_status_collector.go b/backend/plugins/teambition/tasks/task_flow_status_collector.go
index 42e31b3..11ff7bc 100644
--- a/backend/plugins/teambition/tasks/task_flow_status_collector.go
+++ b/backend/plugins/teambition/tasks/task_flow_status_collector.go
@@ -20,9 +20,9 @@
import (
"encoding/json"
"fmt"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
"net/http"
"net/url"
)
diff --git a/backend/plugins/teambition/tasks/task_flow_status_extractor.go b/backend/plugins/teambition/tasks/task_flow_status_extractor.go
index 2aef6ac..6515844 100644
--- a/backend/plugins/teambition/tasks/task_flow_status_extractor.go
+++ b/backend/plugins/teambition/tasks/task_flow_status_extractor.go
@@ -19,10 +19,10 @@
import (
"encoding/json"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/teambition/models"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/teambition/models"
)
var _ plugin.SubTaskEntryPoint = ExtractTaskFlowStatus
diff --git a/backend/plugins/teambition/tasks/task_scenario_collector.go b/backend/plugins/teambition/tasks/task_scenario_collector.go
index 79348c5..c1f3b55 100644
--- a/backend/plugins/teambition/tasks/task_scenario_collector.go
+++ b/backend/plugins/teambition/tasks/task_scenario_collector.go
@@ -23,9 +23,9 @@
"net/http"
"net/url"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
)
const RAW_TASK_SCENARIOS_TABLE = "teambition_api_task_scenarios"
diff --git a/backend/plugins/teambition/tasks/task_scenario_extractor.go b/backend/plugins/teambition/tasks/task_scenario_extractor.go
index 10214fa..5d0cc70 100644
--- a/backend/plugins/teambition/tasks/task_scenario_extractor.go
+++ b/backend/plugins/teambition/tasks/task_scenario_extractor.go
@@ -19,10 +19,10 @@
import (
"encoding/json"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/teambition/models"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/teambition/models"
)
var _ plugin.SubTaskEntryPoint = ExtractTaskScenarios
diff --git a/backend/plugins/teambition/tasks/task_tag_collector.go b/backend/plugins/teambition/tasks/task_tag_collector.go
index f3eb389..77b71d5 100644
--- a/backend/plugins/teambition/tasks/task_tag_collector.go
+++ b/backend/plugins/teambition/tasks/task_tag_collector.go
@@ -20,9 +20,9 @@
import (
"encoding/json"
"fmt"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
"net/http"
"net/url"
)
diff --git a/backend/plugins/teambition/tasks/task_tag_extractor.go b/backend/plugins/teambition/tasks/task_tag_extractor.go
index b7fdfbd..3a1eaeb 100644
--- a/backend/plugins/teambition/tasks/task_tag_extractor.go
+++ b/backend/plugins/teambition/tasks/task_tag_extractor.go
@@ -20,10 +20,10 @@
import (
"encoding/json"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/teambition/models"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/teambition/models"
)
var _ plugin.SubTaskEntryPoint = ExtractTaskTags
diff --git a/backend/plugins/teambition/tasks/task_tag_task_converter.go b/backend/plugins/teambition/tasks/task_tag_task_converter.go
index d8710b3..6c85217 100644
--- a/backend/plugins/teambition/tasks/task_tag_task_converter.go
+++ b/backend/plugins/teambition/tasks/task_tag_task_converter.go
@@ -18,12 +18,12 @@
package tasks
import (
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/domainlayer/ticket"
- "github.com/apache/incubator-devlake/core/plugin"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/teambition/models"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/domainlayer/ticket"
+ "github.com/apache/devlake/core/plugin"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/teambition/models"
"reflect"
)
diff --git a/backend/plugins/teambition/tasks/task_worktime_collector.go b/backend/plugins/teambition/tasks/task_worktime_collector.go
index 7d19096..bf55475 100644
--- a/backend/plugins/teambition/tasks/task_worktime_collector.go
+++ b/backend/plugins/teambition/tasks/task_worktime_collector.go
@@ -19,11 +19,11 @@
import (
"encoding/json"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/teambition/models"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/teambition/models"
"net/http"
"net/url"
"reflect"
diff --git a/backend/plugins/teambition/tasks/task_worktime_converter.go b/backend/plugins/teambition/tasks/task_worktime_converter.go
index 7983934..e50b944 100644
--- a/backend/plugins/teambition/tasks/task_worktime_converter.go
+++ b/backend/plugins/teambition/tasks/task_worktime_converter.go
@@ -18,13 +18,13 @@
package tasks
import (
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/domainlayer"
- "github.com/apache/incubator-devlake/core/models/domainlayer/ticket"
- "github.com/apache/incubator-devlake/core/plugin"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/teambition/models"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/domainlayer"
+ "github.com/apache/devlake/core/models/domainlayer/ticket"
+ "github.com/apache/devlake/core/plugin"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/teambition/models"
"reflect"
)
diff --git a/backend/plugins/teambition/tasks/task_worktime_extractor.go b/backend/plugins/teambition/tasks/task_worktime_extractor.go
index e42b385..d10f244 100644
--- a/backend/plugins/teambition/tasks/task_worktime_extractor.go
+++ b/backend/plugins/teambition/tasks/task_worktime_extractor.go
@@ -19,10 +19,10 @@
import (
"encoding/json"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/teambition/models"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/teambition/models"
)
var _ plugin.SubTaskEntryPoint = ExtractTaskWorktime
diff --git a/backend/plugins/teambition/teambition.go b/backend/plugins/teambition/teambition.go
index 86b4b26..460ed3e 100644
--- a/backend/plugins/teambition/teambition.go
+++ b/backend/plugins/teambition/teambition.go
@@ -18,8 +18,8 @@
package main
import (
- "github.com/apache/incubator-devlake/core/runner"
- "github.com/apache/incubator-devlake/plugins/teambition/impl"
+ "github.com/apache/devlake/core/runner"
+ "github.com/apache/devlake/plugins/teambition/impl"
"github.com/spf13/cobra"
)
diff --git a/backend/plugins/tempo/api/blueprint_v200.go b/backend/plugins/tempo/api/blueprint_v200.go
index f786dd6..a75ae13 100644
--- a/backend/plugins/tempo/api/blueprint_v200.go
+++ b/backend/plugins/tempo/api/blueprint_v200.go
@@ -20,15 +20,15 @@
import (
"context"
- "github.com/apache/incubator-devlake/core/errors"
- coreModels "github.com/apache/incubator-devlake/core/models"
- "github.com/apache/incubator-devlake/core/models/domainlayer"
- "github.com/apache/incubator-devlake/core/models/domainlayer/didgen"
- "github.com/apache/incubator-devlake/core/models/domainlayer/ticket"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/helpers/srvhelper"
- "github.com/apache/incubator-devlake/plugins/tempo/models"
+ "github.com/apache/devlake/core/errors"
+ coreModels "github.com/apache/devlake/core/models"
+ "github.com/apache/devlake/core/models/domainlayer"
+ "github.com/apache/devlake/core/models/domainlayer/didgen"
+ "github.com/apache/devlake/core/models/domainlayer/ticket"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/helpers/srvhelper"
+ "github.com/apache/devlake/plugins/tempo/models"
)
func MakeDataSourcePipelinePlanV200(
diff --git a/backend/plugins/tempo/api/connection.go b/backend/plugins/tempo/api/connection.go
index 5ee6f99..12d8e4c 100644
--- a/backend/plugins/tempo/api/connection.go
+++ b/backend/plugins/tempo/api/connection.go
@@ -21,11 +21,11 @@
"context"
"net/http"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/tempo/models"
- "github.com/apache/incubator-devlake/server/api/shared"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/tempo/models"
+ "github.com/apache/devlake/server/api/shared"
)
type TempoTestConnResponse struct {
diff --git a/backend/plugins/tempo/api/init.go b/backend/plugins/tempo/api/init.go
index 47ce280..9253cb2 100644
--- a/backend/plugins/tempo/api/init.go
+++ b/backend/plugins/tempo/api/init.go
@@ -18,10 +18,10 @@
package api
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/tempo/models"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/tempo/models"
)
var basicRes context.BasicRes
diff --git a/backend/plugins/tempo/api/remote.go b/backend/plugins/tempo/api/remote.go
index 8dd7199..d8dd4ee 100644
--- a/backend/plugins/tempo/api/remote.go
+++ b/backend/plugins/tempo/api/remote.go
@@ -22,11 +22,11 @@
"strconv"
"strings"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- dsmodels "github.com/apache/incubator-devlake/helpers/pluginhelper/api/models"
- "github.com/apache/incubator-devlake/plugins/tempo/models"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ dsmodels "github.com/apache/devlake/helpers/pluginhelper/api/models"
+ "github.com/apache/devlake/plugins/tempo/models"
)
type TempoRemotePagination struct {
diff --git a/backend/plugins/tempo/api/scope.go b/backend/plugins/tempo/api/scope.go
index 4f54612..5eb482a 100644
--- a/backend/plugins/tempo/api/scope.go
+++ b/backend/plugins/tempo/api/scope.go
@@ -18,10 +18,10 @@
package api
import (
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/tempo/models"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/tempo/models"
)
type PutScopesReqBody api.PutScopesReqBody[models.TempoTeam]
diff --git a/backend/plugins/tempo/api/scope_config.go b/backend/plugins/tempo/api/scope_config.go
index 851aeac..8dee4ef 100644
--- a/backend/plugins/tempo/api/scope_config.go
+++ b/backend/plugins/tempo/api/scope_config.go
@@ -18,8 +18,8 @@
package api
import (
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
)
// CreateScopeConfig create scope config for Tempo
diff --git a/backend/plugins/tempo/e2e/worklog_test.go b/backend/plugins/tempo/e2e/worklog_test.go
index bb4ea26..1b08af8 100644
--- a/backend/plugins/tempo/e2e/worklog_test.go
+++ b/backend/plugins/tempo/e2e/worklog_test.go
@@ -20,11 +20,11 @@
import (
"testing"
- "github.com/apache/incubator-devlake/core/models/domainlayer/ticket"
- "github.com/apache/incubator-devlake/helpers/e2ehelper"
- "github.com/apache/incubator-devlake/plugins/tempo/impl"
- "github.com/apache/incubator-devlake/plugins/tempo/models"
- "github.com/apache/incubator-devlake/plugins/tempo/tasks"
+ "github.com/apache/devlake/core/models/domainlayer/ticket"
+ "github.com/apache/devlake/helpers/e2ehelper"
+ "github.com/apache/devlake/plugins/tempo/impl"
+ "github.com/apache/devlake/plugins/tempo/models"
+ "github.com/apache/devlake/plugins/tempo/tasks"
)
func TestWorklogDataFlow(t *testing.T) {
diff --git a/backend/plugins/tempo/impl/impl.go b/backend/plugins/tempo/impl/impl.go
index 0666033..87884f3 100644
--- a/backend/plugins/tempo/impl/impl.go
+++ b/backend/plugins/tempo/impl/impl.go
@@ -20,17 +20,17 @@
import (
"fmt"
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- coreModels "github.com/apache/incubator-devlake/core/models"
- "github.com/apache/incubator-devlake/core/plugin"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ coreModels "github.com/apache/devlake/core/models"
+ "github.com/apache/devlake/core/plugin"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/tempo/api"
- "github.com/apache/incubator-devlake/plugins/tempo/models"
- "github.com/apache/incubator-devlake/plugins/tempo/models/migrationscripts"
- "github.com/apache/incubator-devlake/plugins/tempo/tasks"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/tempo/api"
+ "github.com/apache/devlake/plugins/tempo/models"
+ "github.com/apache/devlake/plugins/tempo/models/migrationscripts"
+ "github.com/apache/devlake/plugins/tempo/tasks"
)
var _ interface {
@@ -137,7 +137,7 @@
}
func (p Tempo) RootPkgPath() string {
- return "github.com/apache/incubator-devlake/plugins/tempo"
+ return "github.com/apache/devlake/plugins/tempo"
}
func (p Tempo) MigrationScripts() []plugin.MigrationScript {
diff --git a/backend/plugins/tempo/models/connection.go b/backend/plugins/tempo/models/connection.go
index 2322dc9..3e44317 100644
--- a/backend/plugins/tempo/models/connection.go
+++ b/backend/plugins/tempo/models/connection.go
@@ -18,9 +18,9 @@
package models
import (
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/models/common"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/models/common"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
)
// TempoConn holds the essential information to connect to the Tempo API
diff --git a/backend/plugins/tempo/models/migrationscripts/archived/models.go b/backend/plugins/tempo/models/migrationscripts/archived/models.go
index 76f0a9e..c93a2ac 100644
--- a/backend/plugins/tempo/models/migrationscripts/archived/models.go
+++ b/backend/plugins/tempo/models/migrationscripts/archived/models.go
@@ -18,7 +18,7 @@
package archived
import (
- "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/models/migrationscripts/archived"
)
type TempoConnection struct {
diff --git a/backend/plugins/tempo/models/migrationscripts/register.go b/backend/plugins/tempo/models/migrationscripts/register.go
index 42e280a..49d6289 100644
--- a/backend/plugins/tempo/models/migrationscripts/register.go
+++ b/backend/plugins/tempo/models/migrationscripts/register.go
@@ -18,7 +18,7 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/plugin"
+ "github.com/apache/devlake/core/plugin"
)
// All returns all the migration scripts
diff --git a/backend/plugins/tempo/models/migrationscripts/register_tables.go b/backend/plugins/tempo/models/migrationscripts/register_tables.go
index ee4e7c8..cd20948 100644
--- a/backend/plugins/tempo/models/migrationscripts/register_tables.go
+++ b/backend/plugins/tempo/models/migrationscripts/register_tables.go
@@ -18,10 +18,10 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/helpers/migrationhelper"
- "github.com/apache/incubator-devlake/plugins/tempo/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/helpers/migrationhelper"
+ "github.com/apache/devlake/plugins/tempo/models/migrationscripts/archived"
)
type tempoInitTables20240401 struct{}
diff --git a/backend/plugins/tempo/models/team.go b/backend/plugins/tempo/models/team.go
index d29f3fd..86067f2 100644
--- a/backend/plugins/tempo/models/team.go
+++ b/backend/plugins/tempo/models/team.go
@@ -20,8 +20,8 @@
import (
"fmt"
- "github.com/apache/incubator-devlake/core/models/common"
- "github.com/apache/incubator-devlake/core/plugin"
+ "github.com/apache/devlake/core/models/common"
+ "github.com/apache/devlake/core/plugin"
"gorm.io/gorm"
)
diff --git a/backend/plugins/tempo/models/worklog.go b/backend/plugins/tempo/models/worklog.go
index 780c69e..009301e 100644
--- a/backend/plugins/tempo/models/worklog.go
+++ b/backend/plugins/tempo/models/worklog.go
@@ -18,7 +18,7 @@
package models
import (
- "github.com/apache/incubator-devlake/core/models/common"
+ "github.com/apache/devlake/core/models/common"
)
type TempoWorklog struct {
diff --git a/backend/plugins/tempo/tasks/api_client.go b/backend/plugins/tempo/tasks/api_client.go
index 8dcefb1..84f918f 100644
--- a/backend/plugins/tempo/tasks/api_client.go
+++ b/backend/plugins/tempo/tasks/api_client.go
@@ -18,10 +18,10 @@
package tasks
import (
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/tempo/models"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/tempo/models"
)
const (
diff --git a/backend/plugins/tempo/tasks/tasks.go b/backend/plugins/tempo/tasks/tasks.go
index 547282d..56f85ae 100644
--- a/backend/plugins/tempo/tasks/tasks.go
+++ b/backend/plugins/tempo/tasks/tasks.go
@@ -18,8 +18,8 @@
package tasks
import (
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/tempo/models"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/tempo/models"
)
const (
diff --git a/backend/plugins/tempo/tasks/team_collector.go b/backend/plugins/tempo/tasks/team_collector.go
index 1ac9e2f..ab65383 100644
--- a/backend/plugins/tempo/tasks/team_collector.go
+++ b/backend/plugins/tempo/tasks/team_collector.go
@@ -24,10 +24,10 @@
"strconv"
"time"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/tempo/models"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/tempo/models"
)
var CollectTeamsMeta = plugin.SubTaskMeta{
diff --git a/backend/plugins/tempo/tasks/team_extractor.go b/backend/plugins/tempo/tasks/team_extractor.go
index 1ecbc34..502100a 100644
--- a/backend/plugins/tempo/tasks/team_extractor.go
+++ b/backend/plugins/tempo/tasks/team_extractor.go
@@ -20,10 +20,10 @@
import (
"encoding/json"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/tempo/models"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/tempo/models"
)
var ExtractTeamsMeta = plugin.SubTaskMeta{
diff --git a/backend/plugins/tempo/tasks/worklog_collector.go b/backend/plugins/tempo/tasks/worklog_collector.go
index 28738e3..528b0b8 100644
--- a/backend/plugins/tempo/tasks/worklog_collector.go
+++ b/backend/plugins/tempo/tasks/worklog_collector.go
@@ -25,10 +25,10 @@
"strconv"
"time"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/tempo/models"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/tempo/models"
)
var CollectWorklogsMeta = plugin.SubTaskMeta{
diff --git a/backend/plugins/tempo/tasks/worklog_convertor.go b/backend/plugins/tempo/tasks/worklog_convertor.go
index 60ee32a..b5c62aa 100644
--- a/backend/plugins/tempo/tasks/worklog_convertor.go
+++ b/backend/plugins/tempo/tasks/worklog_convertor.go
@@ -22,13 +22,13 @@
"reflect"
"time"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/domainlayer"
- "github.com/apache/incubator-devlake/core/models/domainlayer/ticket"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/tempo/models"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/domainlayer"
+ "github.com/apache/devlake/core/models/domainlayer/ticket"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/tempo/models"
)
var ConvertWorklogsMeta = plugin.SubTaskMeta{
diff --git a/backend/plugins/tempo/tasks/worklog_extractor.go b/backend/plugins/tempo/tasks/worklog_extractor.go
index 3137086..19b82c7 100644
--- a/backend/plugins/tempo/tasks/worklog_extractor.go
+++ b/backend/plugins/tempo/tasks/worklog_extractor.go
@@ -20,10 +20,10 @@
import (
"encoding/json"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/tempo/models"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/tempo/models"
)
var ExtractWorklogsMeta = plugin.SubTaskMeta{
diff --git a/backend/plugins/tempo/tempo.go b/backend/plugins/tempo/tempo.go
index 8b75aee..fa42125 100644
--- a/backend/plugins/tempo/tempo.go
+++ b/backend/plugins/tempo/tempo.go
@@ -18,8 +18,8 @@
package main // must be main for plugin entry point
import (
- "github.com/apache/incubator-devlake/core/runner"
- "github.com/apache/incubator-devlake/plugins/tempo/impl"
+ "github.com/apache/devlake/core/runner"
+ "github.com/apache/devlake/plugins/tempo/impl"
"github.com/spf13/cobra"
)
diff --git a/backend/plugins/testmo/api/blueprint_v200.go b/backend/plugins/testmo/api/blueprint_v200.go
index 56b8eaf..6023e5f 100644
--- a/backend/plugins/testmo/api/blueprint_v200.go
+++ b/backend/plugins/testmo/api/blueprint_v200.go
@@ -18,13 +18,13 @@
package api
import (
- "github.com/apache/incubator-devlake/core/errors"
- coreModels "github.com/apache/incubator-devlake/core/models"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/helpers/srvhelper"
- "github.com/apache/incubator-devlake/plugins/testmo/models"
- "github.com/apache/incubator-devlake/plugins/testmo/tasks"
+ "github.com/apache/devlake/core/errors"
+ coreModels "github.com/apache/devlake/core/models"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/helpers/srvhelper"
+ "github.com/apache/devlake/plugins/testmo/models"
+ "github.com/apache/devlake/plugins/testmo/tasks"
)
func MakeDataSourcePipelinePlanV200(
diff --git a/backend/plugins/testmo/api/connection.go b/backend/plugins/testmo/api/connection.go
index 9ddb312..1e25282 100644
--- a/backend/plugins/testmo/api/connection.go
+++ b/backend/plugins/testmo/api/connection.go
@@ -21,10 +21,10 @@
"context"
"net/http"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/testmo/models"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/testmo/models"
)
func testConnection(ctx context.Context, connection models.TestmoConn) (*plugin.ApiResourceOutput, errors.Error) {
diff --git a/backend/plugins/testmo/api/init.go b/backend/plugins/testmo/api/init.go
index 1741335..ba07e6f 100644
--- a/backend/plugins/testmo/api/init.go
+++ b/backend/plugins/testmo/api/init.go
@@ -18,10 +18,10 @@
package api
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/testmo/models"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/testmo/models"
"github.com/go-playground/validator/v10"
)
diff --git a/backend/plugins/testmo/api/remote_api.go b/backend/plugins/testmo/api/remote_api.go
index 6c83a03..0eb4993 100644
--- a/backend/plugins/testmo/api/remote_api.go
+++ b/backend/plugins/testmo/api/remote_api.go
@@ -22,12 +22,12 @@
"net/url"
"strconv"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- dsmodels "github.com/apache/incubator-devlake/helpers/pluginhelper/api/models"
- "github.com/apache/incubator-devlake/plugins/testmo/models"
- "github.com/apache/incubator-devlake/plugins/testmo/models/raw"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ dsmodels "github.com/apache/devlake/helpers/pluginhelper/api/models"
+ "github.com/apache/devlake/plugins/testmo/models"
+ "github.com/apache/devlake/plugins/testmo/models/raw"
)
type TestmoRemotePagination struct {
diff --git a/backend/plugins/testmo/api/scope.go b/backend/plugins/testmo/api/scope.go
index 4897ade..6b32d98 100644
--- a/backend/plugins/testmo/api/scope.go
+++ b/backend/plugins/testmo/api/scope.go
@@ -18,8 +18,8 @@
package api
import (
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
)
func GetScope(input *plugin.ApiResourceInput) (*plugin.ApiResourceOutput, errors.Error) {
diff --git a/backend/plugins/testmo/api/scope_config.go b/backend/plugins/testmo/api/scope_config.go
index 09687b8..60e53bb 100644
--- a/backend/plugins/testmo/api/scope_config.go
+++ b/backend/plugins/testmo/api/scope_config.go
@@ -18,8 +18,8 @@
package api
import (
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
)
func CreateScopeConfig(input *plugin.ApiResourceInput) (*plugin.ApiResourceOutput, errors.Error) {
diff --git a/backend/plugins/testmo/api/scope_state_api.go b/backend/plugins/testmo/api/scope_state_api.go
index d3ce9e6..0b95c33 100644
--- a/backend/plugins/testmo/api/scope_state_api.go
+++ b/backend/plugins/testmo/api/scope_state_api.go
@@ -18,8 +18,8 @@
package api
import (
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
)
// GetScopeLatestSyncState get one testmo project's latest sync state
diff --git a/backend/plugins/testmo/api/swagger.go b/backend/plugins/testmo/api/swagger.go
index bb82550..2882170 100644
--- a/backend/plugins/testmo/api/swagger.go
+++ b/backend/plugins/testmo/api/swagger.go
@@ -18,7 +18,7 @@
package api
import (
- "github.com/apache/incubator-devlake/plugins/testmo/tasks"
+ "github.com/apache/devlake/plugins/testmo/tasks"
)
type TestmoTaskOptions tasks.TestmoOptions
diff --git a/backend/plugins/testmo/impl/impl.go b/backend/plugins/testmo/impl/impl.go
index 9ef23f9..c93d393 100644
--- a/backend/plugins/testmo/impl/impl.go
+++ b/backend/plugins/testmo/impl/impl.go
@@ -20,16 +20,16 @@
import (
"fmt"
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- coreModels "github.com/apache/incubator-devlake/core/models"
- "github.com/apache/incubator-devlake/core/plugin"
- pluginhelper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/testmo/api"
- "github.com/apache/incubator-devlake/plugins/testmo/models"
- "github.com/apache/incubator-devlake/plugins/testmo/models/migrationscripts"
- "github.com/apache/incubator-devlake/plugins/testmo/tasks"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ coreModels "github.com/apache/devlake/core/models"
+ "github.com/apache/devlake/core/plugin"
+ pluginhelper "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/testmo/api"
+ "github.com/apache/devlake/plugins/testmo/models"
+ "github.com/apache/devlake/plugins/testmo/models/migrationscripts"
+ "github.com/apache/devlake/plugins/testmo/tasks"
)
var _ interface {
@@ -133,7 +133,7 @@
}
func (p Testmo) RootPkgPath() string {
- return "github.com/apache/incubator-devlake/plugins/testmo"
+ return "github.com/apache/devlake/plugins/testmo"
}
func (p Testmo) MigrationScripts() []plugin.MigrationScript {
diff --git a/backend/plugins/testmo/models/automation_run.go b/backend/plugins/testmo/models/automation_run.go
index 89e90e4..4d435d6 100644
--- a/backend/plugins/testmo/models/automation_run.go
+++ b/backend/plugins/testmo/models/automation_run.go
@@ -20,7 +20,7 @@
import (
"time"
- "github.com/apache/incubator-devlake/core/models/common"
+ "github.com/apache/devlake/core/models/common"
)
type TestmoAutomationRun struct {
diff --git a/backend/plugins/testmo/models/connection.go b/backend/plugins/testmo/models/connection.go
index 45f4e61..5e16b89 100644
--- a/backend/plugins/testmo/models/connection.go
+++ b/backend/plugins/testmo/models/connection.go
@@ -18,7 +18,7 @@
package models
import (
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
)
// TestmoConn holds the essential information to connect to the Testmo API
diff --git a/backend/plugins/testmo/models/migrationscripts/20240101_add_init_tables.go b/backend/plugins/testmo/models/migrationscripts/20240101_add_init_tables.go
index 4103d5d..0da12d3 100644
--- a/backend/plugins/testmo/models/migrationscripts/20240101_add_init_tables.go
+++ b/backend/plugins/testmo/models/migrationscripts/20240101_add_init_tables.go
@@ -18,11 +18,11 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/migrationhelper"
- "github.com/apache/incubator-devlake/plugins/testmo/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/migrationhelper"
+ "github.com/apache/devlake/plugins/testmo/models/migrationscripts/archived"
)
type addInitTables struct{}
diff --git a/backend/plugins/testmo/models/migrationscripts/20250629_add_scope_config_id.go b/backend/plugins/testmo/models/migrationscripts/20250629_add_scope_config_id.go
index 8f7e7f1..f9be19f 100644
--- a/backend/plugins/testmo/models/migrationscripts/20250629_add_scope_config_id.go
+++ b/backend/plugins/testmo/models/migrationscripts/20250629_add_scope_config_id.go
@@ -18,10 +18,10 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/migrationhelper"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/migrationhelper"
)
var _ plugin.MigrationScript = (*addScopeConfigIdToProject)(nil)
diff --git a/backend/plugins/testmo/models/migrationscripts/20250629_add_scope_config_id_to_projects.go b/backend/plugins/testmo/models/migrationscripts/20250629_add_scope_config_id_to_projects.go
index b13d123..fa0781b 100644
--- a/backend/plugins/testmo/models/migrationscripts/20250629_add_scope_config_id_to_projects.go
+++ b/backend/plugins/testmo/models/migrationscripts/20250629_add_scope_config_id_to_projects.go
@@ -18,10 +18,10 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/migrationhelper"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/migrationhelper"
)
type addScopeConfigIdToProjects struct{}
diff --git a/backend/plugins/testmo/models/migrationscripts/20250808_replace_tests_with_runs.go b/backend/plugins/testmo/models/migrationscripts/20250808_replace_tests_with_runs.go
index 3d7a6d7..e90c376 100644
--- a/backend/plugins/testmo/models/migrationscripts/20250808_replace_tests_with_runs.go
+++ b/backend/plugins/testmo/models/migrationscripts/20250808_replace_tests_with_runs.go
@@ -18,11 +18,11 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/migrationhelper"
- "github.com/apache/incubator-devlake/plugins/testmo/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/migrationhelper"
+ "github.com/apache/devlake/plugins/testmo/models/migrationscripts/archived"
)
type replaceTestsWithRuns struct{}
diff --git a/backend/plugins/testmo/models/migrationscripts/20250905_fix_raw_table_names_and_schemas.go b/backend/plugins/testmo/models/migrationscripts/20250905_fix_raw_table_names_and_schemas.go
index 9ade2d9..34cef1e 100644
--- a/backend/plugins/testmo/models/migrationscripts/20250905_fix_raw_table_names_and_schemas.go
+++ b/backend/plugins/testmo/models/migrationscripts/20250905_fix_raw_table_names_and_schemas.go
@@ -18,10 +18,10 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
)
type fixRawTableNamesAndSchemas struct{}
diff --git a/backend/plugins/testmo/models/migrationscripts/20260727_add_missing_scope_config_columns.go b/backend/plugins/testmo/models/migrationscripts/20260727_add_missing_scope_config_columns.go
index 11048f6..00e05b8 100644
--- a/backend/plugins/testmo/models/migrationscripts/20260727_add_missing_scope_config_columns.go
+++ b/backend/plugins/testmo/models/migrationscripts/20260727_add_missing_scope_config_columns.go
@@ -18,10 +18,10 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
- "github.com/apache/incubator-devlake/helpers/migrationhelper"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/helpers/migrationhelper"
)
// testmoScopeConfig20260727 mirrors models.TestmoScopeConfig. The migration
diff --git a/backend/plugins/testmo/models/migrationscripts/archived/automation_run.go b/backend/plugins/testmo/models/migrationscripts/archived/automation_run.go
index b448d57..5ef2f99 100644
--- a/backend/plugins/testmo/models/migrationscripts/archived/automation_run.go
+++ b/backend/plugins/testmo/models/migrationscripts/archived/automation_run.go
@@ -20,7 +20,7 @@
import (
"time"
- "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/models/migrationscripts/archived"
)
type TestmoAutomationRun struct {
diff --git a/backend/plugins/testmo/models/migrationscripts/archived/connection.go b/backend/plugins/testmo/models/migrationscripts/archived/connection.go
index 995a739..c3d0f53 100644
--- a/backend/plugins/testmo/models/migrationscripts/archived/connection.go
+++ b/backend/plugins/testmo/models/migrationscripts/archived/connection.go
@@ -18,7 +18,7 @@
package archived
import (
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
)
type TestmoConn struct {
diff --git a/backend/plugins/testmo/models/migrationscripts/archived/milestone.go b/backend/plugins/testmo/models/migrationscripts/archived/milestone.go
index cc48c7d..50992f9 100644
--- a/backend/plugins/testmo/models/migrationscripts/archived/milestone.go
+++ b/backend/plugins/testmo/models/migrationscripts/archived/milestone.go
@@ -20,7 +20,7 @@
import (
"time"
- "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/models/migrationscripts/archived"
)
type TestmoMilestone struct {
diff --git a/backend/plugins/testmo/models/migrationscripts/archived/project.go b/backend/plugins/testmo/models/migrationscripts/archived/project.go
index 8bff79e..3591e3b 100644
--- a/backend/plugins/testmo/models/migrationscripts/archived/project.go
+++ b/backend/plugins/testmo/models/migrationscripts/archived/project.go
@@ -18,7 +18,7 @@
package archived
import (
- "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/models/migrationscripts/archived"
)
type TestmoProject struct {
diff --git a/backend/plugins/testmo/models/migrationscripts/archived/run.go b/backend/plugins/testmo/models/migrationscripts/archived/run.go
index 3205b5d..6a8b2e0 100644
--- a/backend/plugins/testmo/models/migrationscripts/archived/run.go
+++ b/backend/plugins/testmo/models/migrationscripts/archived/run.go
@@ -20,7 +20,7 @@
import (
"time"
- corearchived "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
+ corearchived "github.com/apache/devlake/core/models/migrationscripts/archived"
)
type TestmoRun struct {
diff --git a/backend/plugins/testmo/models/migrationscripts/archived/scope_config.go b/backend/plugins/testmo/models/migrationscripts/archived/scope_config.go
index d462453..f7ab6ec 100644
--- a/backend/plugins/testmo/models/migrationscripts/archived/scope_config.go
+++ b/backend/plugins/testmo/models/migrationscripts/archived/scope_config.go
@@ -18,7 +18,7 @@
package archived
import (
- "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/models/migrationscripts/archived"
)
type TestmoScopeConfig struct {
diff --git a/backend/plugins/testmo/models/migrationscripts/archived/test.go b/backend/plugins/testmo/models/migrationscripts/archived/test.go
index ed40300..152d9c8 100644
--- a/backend/plugins/testmo/models/migrationscripts/archived/test.go
+++ b/backend/plugins/testmo/models/migrationscripts/archived/test.go
@@ -20,7 +20,7 @@
import (
"time"
- "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/models/migrationscripts/archived"
)
type TestmoTest struct {
diff --git a/backend/plugins/testmo/models/migrationscripts/register.go b/backend/plugins/testmo/models/migrationscripts/register.go
index 95f2ae4..7c5e14b 100644
--- a/backend/plugins/testmo/models/migrationscripts/register.go
+++ b/backend/plugins/testmo/models/migrationscripts/register.go
@@ -17,7 +17,7 @@
package migrationscripts
-import "github.com/apache/incubator-devlake/core/plugin"
+import "github.com/apache/devlake/core/plugin"
func All() []plugin.MigrationScript {
return []plugin.MigrationScript{
diff --git a/backend/plugins/testmo/models/milestone.go b/backend/plugins/testmo/models/milestone.go
index b2c1692..c6d157e 100644
--- a/backend/plugins/testmo/models/milestone.go
+++ b/backend/plugins/testmo/models/milestone.go
@@ -20,7 +20,7 @@
import (
"time"
- "github.com/apache/incubator-devlake/core/models/common"
+ "github.com/apache/devlake/core/models/common"
)
type TestmoMilestone struct {
diff --git a/backend/plugins/testmo/models/project.go b/backend/plugins/testmo/models/project.go
index d74119c..917f8df 100644
--- a/backend/plugins/testmo/models/project.go
+++ b/backend/plugins/testmo/models/project.go
@@ -20,8 +20,8 @@
import (
"fmt"
- "github.com/apache/incubator-devlake/core/models/common"
- "github.com/apache/incubator-devlake/core/plugin"
+ "github.com/apache/devlake/core/models/common"
+ "github.com/apache/devlake/core/plugin"
)
type TestmoProject struct {
diff --git a/backend/plugins/testmo/models/run.go b/backend/plugins/testmo/models/run.go
index 42f7b9a..87570bf 100644
--- a/backend/plugins/testmo/models/run.go
+++ b/backend/plugins/testmo/models/run.go
@@ -20,7 +20,7 @@
import (
"time"
- "github.com/apache/incubator-devlake/core/models/common"
+ "github.com/apache/devlake/core/models/common"
)
type TestmoRun struct {
diff --git a/backend/plugins/testmo/models/scope_config.go b/backend/plugins/testmo/models/scope_config.go
index 8c7062c..fae71c3 100644
--- a/backend/plugins/testmo/models/scope_config.go
+++ b/backend/plugins/testmo/models/scope_config.go
@@ -18,7 +18,7 @@
package models
import (
- "github.com/apache/incubator-devlake/core/models/common"
+ "github.com/apache/devlake/core/models/common"
)
type TestmoScopeConfig struct {
diff --git a/backend/plugins/testmo/tasks/api_client.go b/backend/plugins/testmo/tasks/api_client.go
index 1ee660a..d8dc5f5 100644
--- a/backend/plugins/testmo/tasks/api_client.go
+++ b/backend/plugins/testmo/tasks/api_client.go
@@ -18,10 +18,10 @@
package tasks
import (
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/testmo/models"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/testmo/models"
)
func CreateApiClient(taskCtx plugin.TaskContext, connection *models.TestmoConnection) (*helper.ApiAsyncClient, errors.Error) {
diff --git a/backend/plugins/testmo/tasks/automation_run_collector.go b/backend/plugins/testmo/tasks/automation_run_collector.go
index 86cd6db..e512411 100644
--- a/backend/plugins/testmo/tasks/automation_run_collector.go
+++ b/backend/plugins/testmo/tasks/automation_run_collector.go
@@ -23,9 +23,9 @@
"net/http"
"net/url"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
)
const RAW_AUTOMATION_RUN_TABLE = "testmo_automation_runs"
diff --git a/backend/plugins/testmo/tasks/automation_run_converter.go b/backend/plugins/testmo/tasks/automation_run_converter.go
index 2f1046f..5671b33 100644
--- a/backend/plugins/testmo/tasks/automation_run_converter.go
+++ b/backend/plugins/testmo/tasks/automation_run_converter.go
@@ -20,11 +20,11 @@
import (
"reflect"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- testmoModels "github.com/apache/incubator-devlake/plugins/testmo/models"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
+ testmoModels "github.com/apache/devlake/plugins/testmo/models"
)
var ConvertAutomationRunsMeta = plugin.SubTaskMeta{
diff --git a/backend/plugins/testmo/tasks/automation_run_extractor.go b/backend/plugins/testmo/tasks/automation_run_extractor.go
index d97f7ed..0386b60 100644
--- a/backend/plugins/testmo/tasks/automation_run_extractor.go
+++ b/backend/plugins/testmo/tasks/automation_run_extractor.go
@@ -21,10 +21,10 @@
"encoding/json"
"time"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/testmo/models"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/testmo/models"
)
var ExtractAutomationRunsMeta = plugin.SubTaskMeta{
diff --git a/backend/plugins/testmo/tasks/milestone_collector.go b/backend/plugins/testmo/tasks/milestone_collector.go
index 332afde..a2d8e2d 100644
--- a/backend/plugins/testmo/tasks/milestone_collector.go
+++ b/backend/plugins/testmo/tasks/milestone_collector.go
@@ -23,9 +23,9 @@
"net/http"
"net/url"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
)
const RAW_MILESTONE_TABLE = "testmo_milestones"
diff --git a/backend/plugins/testmo/tasks/milestone_extractor.go b/backend/plugins/testmo/tasks/milestone_extractor.go
index 91b6804..f316e4d 100644
--- a/backend/plugins/testmo/tasks/milestone_extractor.go
+++ b/backend/plugins/testmo/tasks/milestone_extractor.go
@@ -21,10 +21,10 @@
"encoding/json"
"time"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/testmo/models"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/testmo/models"
)
var ExtractMilestonesMeta = plugin.SubTaskMeta{
diff --git a/backend/plugins/testmo/tasks/project_collector.go b/backend/plugins/testmo/tasks/project_collector.go
index 7c15223..6f84785 100644
--- a/backend/plugins/testmo/tasks/project_collector.go
+++ b/backend/plugins/testmo/tasks/project_collector.go
@@ -21,9 +21,9 @@
"encoding/json"
"net/http"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
)
const RAW_PROJECT_TABLE = "testmo_projects"
diff --git a/backend/plugins/testmo/tasks/project_converter.go b/backend/plugins/testmo/tasks/project_converter.go
index 3bd5f96..7fb59e6 100644
--- a/backend/plugins/testmo/tasks/project_converter.go
+++ b/backend/plugins/testmo/tasks/project_converter.go
@@ -21,14 +21,14 @@
"fmt"
"reflect"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/domainlayer"
- "github.com/apache/incubator-devlake/core/models/domainlayer/didgen"
- "github.com/apache/incubator-devlake/core/models/domainlayer/qa"
- "github.com/apache/incubator-devlake/core/plugin"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- testmoModels "github.com/apache/incubator-devlake/plugins/testmo/models"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/domainlayer"
+ "github.com/apache/devlake/core/models/domainlayer/didgen"
+ "github.com/apache/devlake/core/models/domainlayer/qa"
+ "github.com/apache/devlake/core/plugin"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
+ testmoModels "github.com/apache/devlake/plugins/testmo/models"
)
var ConvertProjectsMeta = plugin.SubTaskMeta{
diff --git a/backend/plugins/testmo/tasks/project_extractor.go b/backend/plugins/testmo/tasks/project_extractor.go
index cdba2d0..ef9dc68 100644
--- a/backend/plugins/testmo/tasks/project_extractor.go
+++ b/backend/plugins/testmo/tasks/project_extractor.go
@@ -20,11 +20,11 @@
import (
"encoding/json"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/common"
- "github.com/apache/incubator-devlake/core/plugin"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/testmo/models"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/common"
+ "github.com/apache/devlake/core/plugin"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/testmo/models"
)
var ExtractProjectsMeta = plugin.SubTaskMeta{
diff --git a/backend/plugins/testmo/tasks/run_collector.go b/backend/plugins/testmo/tasks/run_collector.go
index 956f3f2..08c2720 100644
--- a/backend/plugins/testmo/tasks/run_collector.go
+++ b/backend/plugins/testmo/tasks/run_collector.go
@@ -23,9 +23,9 @@
"net/http"
"net/url"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
)
const RAW_RUN_TABLE = "testmo_runs"
diff --git a/backend/plugins/testmo/tasks/run_converter.go b/backend/plugins/testmo/tasks/run_converter.go
index 4f91541..eed634b 100644
--- a/backend/plugins/testmo/tasks/run_converter.go
+++ b/backend/plugins/testmo/tasks/run_converter.go
@@ -20,14 +20,14 @@
import (
"reflect"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/domainlayer"
- "github.com/apache/incubator-devlake/core/models/domainlayer/didgen"
- "github.com/apache/incubator-devlake/core/models/domainlayer/qa"
- "github.com/apache/incubator-devlake/core/plugin"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- testmoModels "github.com/apache/incubator-devlake/plugins/testmo/models"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/domainlayer"
+ "github.com/apache/devlake/core/models/domainlayer/didgen"
+ "github.com/apache/devlake/core/models/domainlayer/qa"
+ "github.com/apache/devlake/core/plugin"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
+ testmoModels "github.com/apache/devlake/plugins/testmo/models"
)
var ConvertRunsMeta = plugin.SubTaskMeta{
diff --git a/backend/plugins/testmo/tasks/run_extractor.go b/backend/plugins/testmo/tasks/run_extractor.go
index 95c37f2..c1de757 100644
--- a/backend/plugins/testmo/tasks/run_extractor.go
+++ b/backend/plugins/testmo/tasks/run_extractor.go
@@ -23,10 +23,10 @@
"strings"
"time"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/testmo/models"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/testmo/models"
)
var ExtractRunsMeta = plugin.SubTaskMeta{
diff --git a/backend/plugins/testmo/tasks/shared.go b/backend/plugins/testmo/tasks/shared.go
index 2686301..3a2e86d 100644
--- a/backend/plugins/testmo/tasks/shared.go
+++ b/backend/plugins/testmo/tasks/shared.go
@@ -24,10 +24,10 @@
"net/http"
"net/url"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/testmo/models"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/testmo/models"
)
func DecodeTaskOptions(options map[string]interface{}) (*TestmoOptions, errors.Error) {
diff --git a/backend/plugins/testmo/tasks/task_data.go b/backend/plugins/testmo/tasks/task_data.go
index 8543268..c76d8cf 100644
--- a/backend/plugins/testmo/tasks/task_data.go
+++ b/backend/plugins/testmo/tasks/task_data.go
@@ -20,8 +20,8 @@
import (
"time"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/testmo/models"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/testmo/models"
)
type TestmoOptions struct {
diff --git a/backend/plugins/testmo/testmo.go b/backend/plugins/testmo/testmo.go
index 57e6130..7b9aecd 100644
--- a/backend/plugins/testmo/testmo.go
+++ b/backend/plugins/testmo/testmo.go
@@ -18,8 +18,8 @@
package main
import (
- "github.com/apache/incubator-devlake/core/runner"
- "github.com/apache/incubator-devlake/plugins/testmo/impl"
+ "github.com/apache/devlake/core/runner"
+ "github.com/apache/devlake/plugins/testmo/impl"
"github.com/spf13/cobra"
)
diff --git a/backend/plugins/trello/api/blueprint_v200.go b/backend/plugins/trello/api/blueprint_v200.go
index 18fd513..aaeabf2 100644
--- a/backend/plugins/trello/api/blueprint_v200.go
+++ b/backend/plugins/trello/api/blueprint_v200.go
@@ -18,19 +18,19 @@
package api
import (
- "github.com/apache/incubator-devlake/core/models/domainlayer/ticket"
+ "github.com/apache/devlake/core/models/domainlayer/ticket"
- "github.com/apache/incubator-devlake/plugins/trello/models"
- "github.com/apache/incubator-devlake/plugins/trello/tasks"
+ "github.com/apache/devlake/plugins/trello/models"
+ "github.com/apache/devlake/plugins/trello/tasks"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/utils"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/utils"
- coreModels "github.com/apache/incubator-devlake/core/models"
- "github.com/apache/incubator-devlake/core/models/domainlayer/didgen"
- "github.com/apache/incubator-devlake/core/plugin"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/helpers/srvhelper"
+ coreModels "github.com/apache/devlake/core/models"
+ "github.com/apache/devlake/core/models/domainlayer/didgen"
+ "github.com/apache/devlake/core/plugin"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/helpers/srvhelper"
)
func MakePipelinePlanV200(
diff --git a/backend/plugins/trello/api/connection_api.go b/backend/plugins/trello/api/connection_api.go
index 994065e..4376377 100644
--- a/backend/plugins/trello/api/connection_api.go
+++ b/backend/plugins/trello/api/connection_api.go
@@ -21,12 +21,12 @@
"context"
"net/http"
- "github.com/apache/incubator-devlake/server/api/shared"
+ "github.com/apache/devlake/server/api/shared"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/trello/models"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/trello/models"
)
type TrelloTestConnResponse struct {
diff --git a/backend/plugins/trello/api/init.go b/backend/plugins/trello/api/init.go
index 3b9b152..979ea4a 100644
--- a/backend/plugins/trello/api/init.go
+++ b/backend/plugins/trello/api/init.go
@@ -18,10 +18,10 @@
package api
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/trello/models"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/trello/models"
"github.com/go-playground/validator/v10"
)
diff --git a/backend/plugins/trello/api/remote_api.go b/backend/plugins/trello/api/remote_api.go
index 75ffb33..eb3a1fd 100644
--- a/backend/plugins/trello/api/remote_api.go
+++ b/backend/plugins/trello/api/remote_api.go
@@ -18,8 +18,8 @@
package api
import (
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
)
// @Summary Remote server API proxy
diff --git a/backend/plugins/trello/api/scope_api.go b/backend/plugins/trello/api/scope_api.go
index 89eedc4..3efe91f 100644
--- a/backend/plugins/trello/api/scope_api.go
+++ b/backend/plugins/trello/api/scope_api.go
@@ -18,10 +18,10 @@
package api
import (
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/trello/models"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/trello/models"
)
type PutScopesReqBody api.PutScopesReqBody[models.TrelloBoard]
diff --git a/backend/plugins/trello/api/scope_config_api.go b/backend/plugins/trello/api/scope_config_api.go
index 026e8cc..740a608 100644
--- a/backend/plugins/trello/api/scope_config_api.go
+++ b/backend/plugins/trello/api/scope_config_api.go
@@ -18,8 +18,8 @@
package api
import (
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
)
// PostScopeConfig create scope config for Trello
diff --git a/backend/plugins/trello/api/swagger.go b/backend/plugins/trello/api/swagger.go
index ca92577..3f6ba46 100644
--- a/backend/plugins/trello/api/swagger.go
+++ b/backend/plugins/trello/api/swagger.go
@@ -18,7 +18,7 @@
package api
import (
- "github.com/apache/incubator-devlake/plugins/trello/tasks"
+ "github.com/apache/devlake/plugins/trello/tasks"
)
type TrelloTaskOptions tasks.TrelloOptions
diff --git a/backend/plugins/trello/e2e/card_test.go b/backend/plugins/trello/e2e/card_test.go
index 23abb74..876ff56 100644
--- a/backend/plugins/trello/e2e/card_test.go
+++ b/backend/plugins/trello/e2e/card_test.go
@@ -18,11 +18,11 @@
package e2e
import (
- "github.com/apache/incubator-devlake/core/models/common"
- "github.com/apache/incubator-devlake/helpers/e2ehelper"
- "github.com/apache/incubator-devlake/plugins/trello/impl"
- "github.com/apache/incubator-devlake/plugins/trello/models"
- "github.com/apache/incubator-devlake/plugins/trello/tasks"
+ "github.com/apache/devlake/core/models/common"
+ "github.com/apache/devlake/helpers/e2ehelper"
+ "github.com/apache/devlake/plugins/trello/impl"
+ "github.com/apache/devlake/plugins/trello/models"
+ "github.com/apache/devlake/plugins/trello/tasks"
"testing"
)
diff --git a/backend/plugins/trello/e2e/check_items_test.go b/backend/plugins/trello/e2e/check_items_test.go
index 96bae9b..f7335d0 100644
--- a/backend/plugins/trello/e2e/check_items_test.go
+++ b/backend/plugins/trello/e2e/check_items_test.go
@@ -18,11 +18,11 @@
package e2e
import (
- "github.com/apache/incubator-devlake/core/models/common"
- "github.com/apache/incubator-devlake/helpers/e2ehelper"
- "github.com/apache/incubator-devlake/plugins/trello/impl"
- "github.com/apache/incubator-devlake/plugins/trello/models"
- "github.com/apache/incubator-devlake/plugins/trello/tasks"
+ "github.com/apache/devlake/core/models/common"
+ "github.com/apache/devlake/helpers/e2ehelper"
+ "github.com/apache/devlake/plugins/trello/impl"
+ "github.com/apache/devlake/plugins/trello/models"
+ "github.com/apache/devlake/plugins/trello/tasks"
"testing"
)
diff --git a/backend/plugins/trello/e2e/labels_test.go b/backend/plugins/trello/e2e/labels_test.go
index 11043c7..3c56b52 100644
--- a/backend/plugins/trello/e2e/labels_test.go
+++ b/backend/plugins/trello/e2e/labels_test.go
@@ -18,11 +18,11 @@
package e2e
import (
- "github.com/apache/incubator-devlake/core/models/common"
- "github.com/apache/incubator-devlake/helpers/e2ehelper"
- "github.com/apache/incubator-devlake/plugins/trello/impl"
- "github.com/apache/incubator-devlake/plugins/trello/models"
- "github.com/apache/incubator-devlake/plugins/trello/tasks"
+ "github.com/apache/devlake/core/models/common"
+ "github.com/apache/devlake/helpers/e2ehelper"
+ "github.com/apache/devlake/plugins/trello/impl"
+ "github.com/apache/devlake/plugins/trello/models"
+ "github.com/apache/devlake/plugins/trello/tasks"
"testing"
)
diff --git a/backend/plugins/trello/e2e/lists_test.go b/backend/plugins/trello/e2e/lists_test.go
index d02bf16..d4b4206 100644
--- a/backend/plugins/trello/e2e/lists_test.go
+++ b/backend/plugins/trello/e2e/lists_test.go
@@ -18,11 +18,11 @@
package e2e
import (
- "github.com/apache/incubator-devlake/core/models/common"
- "github.com/apache/incubator-devlake/helpers/e2ehelper"
- "github.com/apache/incubator-devlake/plugins/trello/impl"
- "github.com/apache/incubator-devlake/plugins/trello/models"
- "github.com/apache/incubator-devlake/plugins/trello/tasks"
+ "github.com/apache/devlake/core/models/common"
+ "github.com/apache/devlake/helpers/e2ehelper"
+ "github.com/apache/devlake/plugins/trello/impl"
+ "github.com/apache/devlake/plugins/trello/models"
+ "github.com/apache/devlake/plugins/trello/tasks"
"testing"
)
diff --git a/backend/plugins/trello/e2e/members_test.go b/backend/plugins/trello/e2e/members_test.go
index 159469d..66fc930 100644
--- a/backend/plugins/trello/e2e/members_test.go
+++ b/backend/plugins/trello/e2e/members_test.go
@@ -18,11 +18,11 @@
package e2e
import (
- "github.com/apache/incubator-devlake/core/models/common"
- "github.com/apache/incubator-devlake/helpers/e2ehelper"
- "github.com/apache/incubator-devlake/plugins/trello/impl"
- "github.com/apache/incubator-devlake/plugins/trello/models"
- "github.com/apache/incubator-devlake/plugins/trello/tasks"
+ "github.com/apache/devlake/core/models/common"
+ "github.com/apache/devlake/helpers/e2ehelper"
+ "github.com/apache/devlake/plugins/trello/impl"
+ "github.com/apache/devlake/plugins/trello/models"
+ "github.com/apache/devlake/plugins/trello/tasks"
"testing"
)
diff --git a/backend/plugins/trello/impl/impl.go b/backend/plugins/trello/impl/impl.go
index f6b3ee4..91125b4 100644
--- a/backend/plugins/trello/impl/impl.go
+++ b/backend/plugins/trello/impl/impl.go
@@ -20,16 +20,16 @@
import (
"fmt"
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- coreModels "github.com/apache/incubator-devlake/core/models"
- "github.com/apache/incubator-devlake/core/plugin"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/trello/api"
- "github.com/apache/incubator-devlake/plugins/trello/models"
- "github.com/apache/incubator-devlake/plugins/trello/models/migrationscripts"
- "github.com/apache/incubator-devlake/plugins/trello/tasks"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ coreModels "github.com/apache/devlake/core/models"
+ "github.com/apache/devlake/core/plugin"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/trello/api"
+ "github.com/apache/devlake/plugins/trello/models"
+ "github.com/apache/devlake/plugins/trello/models/migrationscripts"
+ "github.com/apache/devlake/plugins/trello/tasks"
)
var _ interface {
@@ -127,7 +127,7 @@
}
func (p Trello) RootPkgPath() string {
- return "github.com/apache/incubator-devlake/plugins/trello"
+ return "github.com/apache/devlake/plugins/trello"
}
func (p Trello) MigrationScripts() []plugin.MigrationScript {
diff --git a/backend/plugins/trello/models/board.go b/backend/plugins/trello/models/board.go
index 426836c..a123946 100644
--- a/backend/plugins/trello/models/board.go
+++ b/backend/plugins/trello/models/board.go
@@ -18,8 +18,8 @@
package models
import (
- "github.com/apache/incubator-devlake/core/models/common"
- "github.com/apache/incubator-devlake/core/plugin"
+ "github.com/apache/devlake/core/models/common"
+ "github.com/apache/devlake/core/plugin"
)
var _ plugin.ToolLayerScope = (*TrelloBoard)(nil)
diff --git a/backend/plugins/trello/models/card.go b/backend/plugins/trello/models/card.go
index fc7750b..ce7e195 100644
--- a/backend/plugins/trello/models/card.go
+++ b/backend/plugins/trello/models/card.go
@@ -18,7 +18,7 @@
package models
import (
- "github.com/apache/incubator-devlake/core/models/common"
+ "github.com/apache/devlake/core/models/common"
"time"
)
diff --git a/backend/plugins/trello/models/check_item.go b/backend/plugins/trello/models/check_item.go
index 08899fe..f8e5c04 100644
--- a/backend/plugins/trello/models/check_item.go
+++ b/backend/plugins/trello/models/check_item.go
@@ -18,7 +18,7 @@
package models
import (
- "github.com/apache/incubator-devlake/core/models/common"
+ "github.com/apache/devlake/core/models/common"
)
type TrelloCheckItem struct {
diff --git a/backend/plugins/trello/models/connection.go b/backend/plugins/trello/models/connection.go
index 8020772..963835b 100644
--- a/backend/plugins/trello/models/connection.go
+++ b/backend/plugins/trello/models/connection.go
@@ -19,9 +19,9 @@
import (
"fmt"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/utils"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/utils"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
"net/http"
)
diff --git a/backend/plugins/trello/models/label.go b/backend/plugins/trello/models/label.go
index b27d6c9..be31080 100644
--- a/backend/plugins/trello/models/label.go
+++ b/backend/plugins/trello/models/label.go
@@ -17,7 +17,7 @@
package models
-import "github.com/apache/incubator-devlake/core/models/common"
+import "github.com/apache/devlake/core/models/common"
type TrelloLabel struct {
ID string `gorm:"primaryKey;type:varchar(255)"`
diff --git a/backend/plugins/trello/models/list.go b/backend/plugins/trello/models/list.go
index 09feb2e..ff0787f 100644
--- a/backend/plugins/trello/models/list.go
+++ b/backend/plugins/trello/models/list.go
@@ -18,7 +18,7 @@
package models
import (
- "github.com/apache/incubator-devlake/core/models/common"
+ "github.com/apache/devlake/core/models/common"
)
type TrelloList struct {
diff --git a/backend/plugins/trello/models/member.go b/backend/plugins/trello/models/member.go
index 3f92788..1fcfe29 100644
--- a/backend/plugins/trello/models/member.go
+++ b/backend/plugins/trello/models/member.go
@@ -17,7 +17,7 @@
package models
-import "github.com/apache/incubator-devlake/core/models/common"
+import "github.com/apache/devlake/core/models/common"
type TrelloMember struct {
ID string `gorm:"primaryKey;type:varchar(255)"`
diff --git a/backend/plugins/trello/models/migrationscripts/20230305_add_init_tables.go b/backend/plugins/trello/models/migrationscripts/20230305_add_init_tables.go
index 9dfa1e8..6923da0 100644
--- a/backend/plugins/trello/models/migrationscripts/20230305_add_init_tables.go
+++ b/backend/plugins/trello/models/migrationscripts/20230305_add_init_tables.go
@@ -18,10 +18,10 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/helpers/migrationhelper"
- "github.com/apache/incubator-devlake/plugins/trello/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/helpers/migrationhelper"
+ "github.com/apache/devlake/plugins/trello/models/migrationscripts/archived"
)
type addInitTables struct{}
diff --git a/backend/plugins/trello/models/migrationscripts/20230322_add_connection_id_to_transformation_rules.go b/backend/plugins/trello/models/migrationscripts/20230322_add_connection_id_to_transformation_rules.go
index b8cc07d..6a35fb2 100644
--- a/backend/plugins/trello/models/migrationscripts/20230322_add_connection_id_to_transformation_rules.go
+++ b/backend/plugins/trello/models/migrationscripts/20230322_add_connection_id_to_transformation_rules.go
@@ -18,11 +18,11 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/helpers/migrationhelper"
- "github.com/apache/incubator-devlake/plugins/trello/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/helpers/migrationhelper"
+ "github.com/apache/devlake/plugins/trello/models/migrationscripts/archived"
)
type addConnectionIdToTransformationRule struct{}
diff --git a/backend/plugins/trello/models/migrationscripts/20230531_scope_config.go b/backend/plugins/trello/models/migrationscripts/20230531_scope_config.go
index e8f3d7c..379740d 100644
--- a/backend/plugins/trello/models/migrationscripts/20230531_scope_config.go
+++ b/backend/plugins/trello/models/migrationscripts/20230531_scope_config.go
@@ -18,9 +18,9 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/helpers/migrationhelper"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/helpers/migrationhelper"
)
type renameTr2ScopeConfig struct {
diff --git a/backend/plugins/trello/models/migrationscripts/20230630_add_raw_param_table_for_scopes.go b/backend/plugins/trello/models/migrationscripts/20230630_add_raw_param_table_for_scopes.go
index 1d36131..1eaf84e 100644
--- a/backend/plugins/trello/models/migrationscripts/20230630_add_raw_param_table_for_scopes.go
+++ b/backend/plugins/trello/models/migrationscripts/20230630_add_raw_param_table_for_scopes.go
@@ -21,11 +21,11 @@
"encoding/json"
"fmt"
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/migrationhelper"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/migrationhelper"
)
var _ plugin.MigrationScript = (*addRawParamTableForScope)(nil)
diff --git a/backend/plugins/trello/models/migrationscripts/archived/board.go b/backend/plugins/trello/models/migrationscripts/archived/board.go
index 7368c35..87edd9f 100644
--- a/backend/plugins/trello/models/migrationscripts/archived/board.go
+++ b/backend/plugins/trello/models/migrationscripts/archived/board.go
@@ -17,7 +17,7 @@
package archived
-import "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
+import "github.com/apache/devlake/core/models/migrationscripts/archived"
type TrelloBoard struct {
archived.NoPKModel `json:"-" mapstructure:"-"`
diff --git a/backend/plugins/trello/models/migrationscripts/archived/card.go b/backend/plugins/trello/models/migrationscripts/archived/card.go
index a0e9e4a..5fb1b4e 100644
--- a/backend/plugins/trello/models/migrationscripts/archived/card.go
+++ b/backend/plugins/trello/models/migrationscripts/archived/card.go
@@ -20,7 +20,7 @@
import (
"time"
- "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/models/migrationscripts/archived"
)
type TrelloCard struct {
diff --git a/backend/plugins/trello/models/migrationscripts/archived/check_item.go b/backend/plugins/trello/models/migrationscripts/archived/check_item.go
index f5691ae..97dfbf8 100644
--- a/backend/plugins/trello/models/migrationscripts/archived/check_item.go
+++ b/backend/plugins/trello/models/migrationscripts/archived/check_item.go
@@ -18,7 +18,7 @@
package archived
import (
- "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/models/migrationscripts/archived"
)
type TrelloCheckItem struct {
diff --git a/backend/plugins/trello/models/migrationscripts/archived/connection.go b/backend/plugins/trello/models/migrationscripts/archived/connection.go
index c1389c3..5105d1a 100644
--- a/backend/plugins/trello/models/migrationscripts/archived/connection.go
+++ b/backend/plugins/trello/models/migrationscripts/archived/connection.go
@@ -18,7 +18,7 @@
package archived
import (
- "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/models/migrationscripts/archived"
)
// TrelloConnection holds TrelloConn plus ID/Name for database storage
diff --git a/backend/plugins/trello/models/migrationscripts/archived/label.go b/backend/plugins/trello/models/migrationscripts/archived/label.go
index 4919475..220cc06 100644
--- a/backend/plugins/trello/models/migrationscripts/archived/label.go
+++ b/backend/plugins/trello/models/migrationscripts/archived/label.go
@@ -18,7 +18,7 @@
package archived
import (
- "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/models/migrationscripts/archived"
)
type TrelloLabel struct {
diff --git a/backend/plugins/trello/models/migrationscripts/archived/list.go b/backend/plugins/trello/models/migrationscripts/archived/list.go
index a9a6cbc..a29b550 100644
--- a/backend/plugins/trello/models/migrationscripts/archived/list.go
+++ b/backend/plugins/trello/models/migrationscripts/archived/list.go
@@ -18,7 +18,7 @@
package archived
import (
- "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/models/migrationscripts/archived"
)
type TrelloList struct {
diff --git a/backend/plugins/trello/models/migrationscripts/archived/member.go b/backend/plugins/trello/models/migrationscripts/archived/member.go
index 9e9fe40..f06dcd2 100644
--- a/backend/plugins/trello/models/migrationscripts/archived/member.go
+++ b/backend/plugins/trello/models/migrationscripts/archived/member.go
@@ -18,7 +18,7 @@
package archived
import (
- "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/models/migrationscripts/archived"
)
type TrelloMember struct {
diff --git a/backend/plugins/trello/models/migrationscripts/archived/transformation_rule.go b/backend/plugins/trello/models/migrationscripts/archived/transformation_rule.go
index ecdec00..108b3ed 100644
--- a/backend/plugins/trello/models/migrationscripts/archived/transformation_rule.go
+++ b/backend/plugins/trello/models/migrationscripts/archived/transformation_rule.go
@@ -18,7 +18,7 @@
package archived
import (
- "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/models/migrationscripts/archived"
)
type TrelloTransformationRule struct {
diff --git a/backend/plugins/trello/models/migrationscripts/register.go b/backend/plugins/trello/models/migrationscripts/register.go
index e822bbe..46213d2 100644
--- a/backend/plugins/trello/models/migrationscripts/register.go
+++ b/backend/plugins/trello/models/migrationscripts/register.go
@@ -18,7 +18,7 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/plugin"
+ "github.com/apache/devlake/core/plugin"
)
// All return all the migration scripts
diff --git a/backend/plugins/trello/models/scope_config.go b/backend/plugins/trello/models/scope_config.go
index a7c30d6..53fa62f 100644
--- a/backend/plugins/trello/models/scope_config.go
+++ b/backend/plugins/trello/models/scope_config.go
@@ -18,7 +18,7 @@
package models
import (
- "github.com/apache/incubator-devlake/core/models/common"
+ "github.com/apache/devlake/core/models/common"
)
type TrelloScopeConfig struct {
diff --git a/backend/plugins/trello/tasks/api_client.go b/backend/plugins/trello/tasks/api_client.go
index f2e1487..f25e587 100644
--- a/backend/plugins/trello/tasks/api_client.go
+++ b/backend/plugins/trello/tasks/api_client.go
@@ -18,10 +18,10 @@
package tasks
import (
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/trello/models"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/trello/models"
)
// CreateApiClient creates a new API Client for Trello
diff --git a/backend/plugins/trello/tasks/card_collector.go b/backend/plugins/trello/tasks/card_collector.go
index 64a6574..9544ce6 100644
--- a/backend/plugins/trello/tasks/card_collector.go
+++ b/backend/plugins/trello/tasks/card_collector.go
@@ -19,9 +19,9 @@
import (
"encoding/json"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
"net/http"
)
diff --git a/backend/plugins/trello/tasks/card_extractor.go b/backend/plugins/trello/tasks/card_extractor.go
index 9836ef8..e1f3d81 100644
--- a/backend/plugins/trello/tasks/card_extractor.go
+++ b/backend/plugins/trello/tasks/card_extractor.go
@@ -19,10 +19,10 @@
import (
"encoding/json"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/trello/models"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/trello/models"
"time"
)
diff --git a/backend/plugins/trello/tasks/check_item_collector.go b/backend/plugins/trello/tasks/check_item_collector.go
index a9f7545..6feee9e 100644
--- a/backend/plugins/trello/tasks/check_item_collector.go
+++ b/backend/plugins/trello/tasks/check_item_collector.go
@@ -19,9 +19,9 @@
import (
"encoding/json"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
"net/http"
)
diff --git a/backend/plugins/trello/tasks/check_item_extractor.go b/backend/plugins/trello/tasks/check_item_extractor.go
index 40cf9fb..e427aee 100644
--- a/backend/plugins/trello/tasks/check_item_extractor.go
+++ b/backend/plugins/trello/tasks/check_item_extractor.go
@@ -19,10 +19,10 @@
import (
"encoding/json"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/trello/models"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/trello/models"
)
var _ plugin.SubTaskEntryPoint = ExtractCheckItem
diff --git a/backend/plugins/trello/tasks/label_collector.go b/backend/plugins/trello/tasks/label_collector.go
index bac260c..28541f7 100644
--- a/backend/plugins/trello/tasks/label_collector.go
+++ b/backend/plugins/trello/tasks/label_collector.go
@@ -19,9 +19,9 @@
import (
"encoding/json"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
"net/http"
)
diff --git a/backend/plugins/trello/tasks/label_extractor.go b/backend/plugins/trello/tasks/label_extractor.go
index 6c6b430..ad9a7e4 100644
--- a/backend/plugins/trello/tasks/label_extractor.go
+++ b/backend/plugins/trello/tasks/label_extractor.go
@@ -19,10 +19,10 @@
import (
"encoding/json"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/trello/models"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/trello/models"
)
var _ plugin.SubTaskEntryPoint = ExtractLabel
diff --git a/backend/plugins/trello/tasks/list_collector.go b/backend/plugins/trello/tasks/list_collector.go
index 1493a9c..2588abe 100644
--- a/backend/plugins/trello/tasks/list_collector.go
+++ b/backend/plugins/trello/tasks/list_collector.go
@@ -19,9 +19,9 @@
import (
"encoding/json"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
"net/http"
)
diff --git a/backend/plugins/trello/tasks/list_extractor.go b/backend/plugins/trello/tasks/list_extractor.go
index 836c5b1..56f4d98 100644
--- a/backend/plugins/trello/tasks/list_extractor.go
+++ b/backend/plugins/trello/tasks/list_extractor.go
@@ -19,10 +19,10 @@
import (
"encoding/json"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/trello/models"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/trello/models"
)
var _ plugin.SubTaskEntryPoint = ExtractList
diff --git a/backend/plugins/trello/tasks/member_collector.go b/backend/plugins/trello/tasks/member_collector.go
index 48abda6..726a9b6 100644
--- a/backend/plugins/trello/tasks/member_collector.go
+++ b/backend/plugins/trello/tasks/member_collector.go
@@ -19,9 +19,9 @@
import (
"encoding/json"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
"net/http"
)
diff --git a/backend/plugins/trello/tasks/member_extractor.go b/backend/plugins/trello/tasks/member_extractor.go
index f84df3b..b0de1de 100644
--- a/backend/plugins/trello/tasks/member_extractor.go
+++ b/backend/plugins/trello/tasks/member_extractor.go
@@ -19,10 +19,10 @@
import (
"encoding/json"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/trello/models"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/trello/models"
)
var _ plugin.SubTaskEntryPoint = ExtractMember
diff --git a/backend/plugins/trello/tasks/task_data.go b/backend/plugins/trello/tasks/task_data.go
index a3e859d..c0ad1d7 100644
--- a/backend/plugins/trello/tasks/task_data.go
+++ b/backend/plugins/trello/tasks/task_data.go
@@ -18,8 +18,8 @@
package tasks
import (
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/trello/models"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/trello/models"
)
type TrelloOptions struct {
diff --git a/backend/plugins/trello/trello.go b/backend/plugins/trello/trello.go
index d820670..2e0a2b3 100644
--- a/backend/plugins/trello/trello.go
+++ b/backend/plugins/trello/trello.go
@@ -18,8 +18,8 @@
package main // must be main for plugin entry point
import (
- "github.com/apache/incubator-devlake/core/runner"
- "github.com/apache/incubator-devlake/plugins/trello/impl"
+ "github.com/apache/devlake/core/runner"
+ "github.com/apache/devlake/plugins/trello/impl"
"github.com/spf13/cobra"
)
diff --git a/backend/plugins/webhook/api/blueprint_v200.go b/backend/plugins/webhook/api/blueprint_v200.go
index 6dca8ff..c869fa1 100644
--- a/backend/plugins/webhook/api/blueprint_v200.go
+++ b/backend/plugins/webhook/api/blueprint_v200.go
@@ -20,14 +20,14 @@
import (
"fmt"
- "github.com/apache/incubator-devlake/core/errors"
- coreModels "github.com/apache/incubator-devlake/core/models"
- "github.com/apache/incubator-devlake/core/models/domainlayer"
- "github.com/apache/incubator-devlake/core/models/domainlayer/code"
- "github.com/apache/incubator-devlake/core/models/domainlayer/devops"
- "github.com/apache/incubator-devlake/core/models/domainlayer/ticket"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/plugins/webhook/models"
+ "github.com/apache/devlake/core/errors"
+ coreModels "github.com/apache/devlake/core/models"
+ "github.com/apache/devlake/core/models/domainlayer"
+ "github.com/apache/devlake/core/models/domainlayer/code"
+ "github.com/apache/devlake/core/models/domainlayer/devops"
+ "github.com/apache/devlake/core/models/domainlayer/ticket"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/plugins/webhook/models"
)
func MakeDataSourcePipelinePlanV200(connectionId uint64) (coreModels.PipelinePlan, []plugin.Scope, errors.Error) {
diff --git a/backend/plugins/webhook/api/connection.go b/backend/plugins/webhook/api/connection.go
index 16f027d..9292d07 100644
--- a/backend/plugins/webhook/api/connection.go
+++ b/backend/plugins/webhook/api/connection.go
@@ -23,11 +23,11 @@
"strconv"
"strings"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- coreModels "github.com/apache/incubator-devlake/core/models"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/plugins/webhook/models"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ coreModels "github.com/apache/devlake/core/models"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/plugins/webhook/models"
)
// PostConnections
diff --git a/backend/plugins/webhook/api/deployments.go b/backend/plugins/webhook/api/deployments.go
index b65ca9d..b6f95e2 100644
--- a/backend/plugins/webhook/api/deployments.go
+++ b/backend/plugins/webhook/api/deployments.go
@@ -24,20 +24,20 @@
"strings"
"time"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/log"
- "github.com/apache/incubator-devlake/server/services"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/log"
+ "github.com/apache/devlake/server/services"
- "github.com/apache/incubator-devlake/helpers/dbhelper"
+ "github.com/apache/devlake/helpers/dbhelper"
"github.com/go-playground/validator/v10"
- "github.com/apache/incubator-devlake/core/errors"
- coremodels "github.com/apache/incubator-devlake/core/models"
- "github.com/apache/incubator-devlake/core/models/domainlayer"
- "github.com/apache/incubator-devlake/core/models/domainlayer/devops"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/webhook/models"
+ "github.com/apache/devlake/core/errors"
+ coremodels "github.com/apache/devlake/core/models"
+ "github.com/apache/devlake/core/models/domainlayer"
+ "github.com/apache/devlake/core/models/domainlayer/devops"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/webhook/models"
)
type WebhookDeploymentReq struct {
diff --git a/backend/plugins/webhook/api/init.go b/backend/plugins/webhook/api/init.go
index 848dd88..96c5fd8 100644
--- a/backend/plugins/webhook/api/init.go
+++ b/backend/plugins/webhook/api/init.go
@@ -18,11 +18,11 @@
package api
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/log"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/apikeyhelper"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/log"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/apikeyhelper"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
"github.com/go-playground/validator/v10"
)
diff --git a/backend/plugins/webhook/api/issues.go b/backend/plugins/webhook/api/issues.go
index e280d4c..ff8721f 100644
--- a/backend/plugins/webhook/api/issues.go
+++ b/backend/plugins/webhook/api/issues.go
@@ -22,16 +22,16 @@
"net/http"
"time"
- "github.com/apache/incubator-devlake/core/log"
- "github.com/apache/incubator-devlake/helpers/dbhelper"
+ "github.com/apache/devlake/core/log"
+ "github.com/apache/devlake/helpers/dbhelper"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/domainlayer"
- "github.com/apache/incubator-devlake/core/models/domainlayer/ticket"
- "github.com/apache/incubator-devlake/core/plugin"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/webhook/models"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/domainlayer"
+ "github.com/apache/devlake/core/models/domainlayer/ticket"
+ "github.com/apache/devlake/core/plugin"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/webhook/models"
"github.com/go-playground/validator/v10"
)
diff --git a/backend/plugins/webhook/api/pull_requests.go b/backend/plugins/webhook/api/pull_requests.go
index 50fcee5..65741ab 100644
--- a/backend/plugins/webhook/api/pull_requests.go
+++ b/backend/plugins/webhook/api/pull_requests.go
@@ -22,18 +22,18 @@
"net/http"
"time"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/log"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/log"
- "github.com/apache/incubator-devlake/helpers/dbhelper"
+ "github.com/apache/devlake/helpers/dbhelper"
"github.com/go-playground/validator/v10"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/domainlayer"
- "github.com/apache/incubator-devlake/core/models/domainlayer/code"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/webhook/models"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/domainlayer"
+ "github.com/apache/devlake/core/models/domainlayer/code"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/webhook/models"
)
type WebhookPullRequestReq struct {
diff --git a/backend/plugins/webhook/impl/impl.go b/backend/plugins/webhook/impl/impl.go
index 97dc59a..a4611ac 100644
--- a/backend/plugins/webhook/impl/impl.go
+++ b/backend/plugins/webhook/impl/impl.go
@@ -18,14 +18,14 @@
package impl
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- coreModels "github.com/apache/incubator-devlake/core/models"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/plugins/webhook/api"
- "github.com/apache/incubator-devlake/plugins/webhook/models"
- "github.com/apache/incubator-devlake/plugins/webhook/models/migrationscripts"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ coreModels "github.com/apache/devlake/core/models"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/plugins/webhook/api"
+ "github.com/apache/devlake/plugins/webhook/models"
+ "github.com/apache/devlake/plugins/webhook/models/migrationscripts"
)
// make sure interface is implemented
@@ -69,7 +69,7 @@
// RootPkgPath information lost when compiled as plugin(.so)
func (p Webhook) RootPkgPath() string {
- return "github.com/apache/incubator-devlake/plugins/webhook"
+ return "github.com/apache/devlake/plugins/webhook"
}
func (p Webhook) MigrationScripts() []plugin.MigrationScript {
diff --git a/backend/plugins/webhook/models/connection.go b/backend/plugins/webhook/models/connection.go
index c9d56b9..bfc7255 100644
--- a/backend/plugins/webhook/models/connection.go
+++ b/backend/plugins/webhook/models/connection.go
@@ -18,7 +18,7 @@
package models
import (
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
)
type WebhookConnection struct {
diff --git a/backend/plugins/webhook/models/migrationscripts/20220908_add_init_tables.go b/backend/plugins/webhook/models/migrationscripts/20220908_add_init_tables.go
index 74d611d..57cfb39 100644
--- a/backend/plugins/webhook/models/migrationscripts/20220908_add_init_tables.go
+++ b/backend/plugins/webhook/models/migrationscripts/20220908_add_init_tables.go
@@ -18,10 +18,10 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/helpers/migrationhelper"
- "github.com/apache/incubator-devlake/plugins/webhook/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/helpers/migrationhelper"
+ "github.com/apache/devlake/plugins/webhook/models/migrationscripts/archived"
)
type addInitTables struct{}
diff --git a/backend/plugins/webhook/models/migrationscripts/20231116_add_api_keys.go b/backend/plugins/webhook/models/migrationscripts/20231116_add_api_keys.go
index c2be2a2..762820f 100644
--- a/backend/plugins/webhook/models/migrationscripts/20231116_add_api_keys.go
+++ b/backend/plugins/webhook/models/migrationscripts/20231116_add_api_keys.go
@@ -22,13 +22,13 @@
"crypto/rand"
"crypto/sha256"
"fmt"
- "github.com/apache/incubator-devlake/core/config"
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- archivedBase "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/plugins/webhook/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/config"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ archivedBase "github.com/apache/devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/plugins/webhook/models/migrationscripts/archived"
"math/big"
"regexp"
"strings"
diff --git a/backend/plugins/webhook/models/migrationscripts/archived/api_keys.go b/backend/plugins/webhook/models/migrationscripts/archived/api_keys.go
index 7bb247a..191db56 100644
--- a/backend/plugins/webhook/models/migrationscripts/archived/api_keys.go
+++ b/backend/plugins/webhook/models/migrationscripts/archived/api_keys.go
@@ -18,7 +18,7 @@
package archived
import (
- "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/models/migrationscripts/archived"
"time"
)
diff --git a/backend/plugins/webhook/models/migrationscripts/archived/connection.go b/backend/plugins/webhook/models/migrationscripts/archived/connection.go
index ee3f102..c31cda1 100644
--- a/backend/plugins/webhook/models/migrationscripts/archived/connection.go
+++ b/backend/plugins/webhook/models/migrationscripts/archived/connection.go
@@ -18,7 +18,7 @@
package archived
import (
- "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/models/migrationscripts/archived"
)
type BaseConnection struct {
diff --git a/backend/plugins/webhook/models/migrationscripts/register.go b/backend/plugins/webhook/models/migrationscripts/register.go
index 4f3b8a6..7992c9f 100644
--- a/backend/plugins/webhook/models/migrationscripts/register.go
+++ b/backend/plugins/webhook/models/migrationscripts/register.go
@@ -18,7 +18,7 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/plugin"
+ "github.com/apache/devlake/core/plugin"
)
// All return all the migration scripts
diff --git a/backend/plugins/webhook/webhook.go b/backend/plugins/webhook/webhook.go
index 53b1ece..6152cce 100644
--- a/backend/plugins/webhook/webhook.go
+++ b/backend/plugins/webhook/webhook.go
@@ -18,7 +18,7 @@
package main
import (
- "github.com/apache/incubator-devlake/plugins/webhook/impl"
+ "github.com/apache/devlake/plugins/webhook/impl"
"github.com/spf13/cobra"
)
diff --git a/backend/plugins/zentao/api/blueprint_v200.go b/backend/plugins/zentao/api/blueprint_v200.go
index 1da9355..eae2a8d 100644
--- a/backend/plugins/zentao/api/blueprint_v200.go
+++ b/backend/plugins/zentao/api/blueprint_v200.go
@@ -18,16 +18,16 @@
package api
import (
- "github.com/apache/incubator-devlake/core/errors"
- coreModels "github.com/apache/incubator-devlake/core/models"
- "github.com/apache/incubator-devlake/core/models/domainlayer/didgen"
- "github.com/apache/incubator-devlake/core/models/domainlayer/ticket"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/core/utils"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/helpers/srvhelper"
- "github.com/apache/incubator-devlake/plugins/zentao/models"
- "github.com/apache/incubator-devlake/plugins/zentao/tasks"
+ "github.com/apache/devlake/core/errors"
+ coreModels "github.com/apache/devlake/core/models"
+ "github.com/apache/devlake/core/models/domainlayer/didgen"
+ "github.com/apache/devlake/core/models/domainlayer/ticket"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/core/utils"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/helpers/srvhelper"
+ "github.com/apache/devlake/plugins/zentao/models"
+ "github.com/apache/devlake/plugins/zentao/tasks"
)
func MakeDataSourcePipelinePlanV200(
diff --git a/backend/plugins/zentao/api/connection_api.go b/backend/plugins/zentao/api/connection_api.go
index f3e17db..279add2 100644
--- a/backend/plugins/zentao/api/connection_api.go
+++ b/backend/plugins/zentao/api/connection_api.go
@@ -22,14 +22,14 @@
"net/http"
"time"
- "github.com/apache/incubator-devlake/core/runner"
+ "github.com/apache/devlake/core/runner"
- "github.com/apache/incubator-devlake/server/api/shared"
+ "github.com/apache/devlake/server/api/shared"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/zentao/models"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/zentao/models"
)
type ZentaoTestConnResponse struct {
diff --git a/backend/plugins/zentao/api/init.go b/backend/plugins/zentao/api/init.go
index e73abe3..c46db50 100644
--- a/backend/plugins/zentao/api/init.go
+++ b/backend/plugins/zentao/api/init.go
@@ -18,10 +18,10 @@
package api
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/zentao/models"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/zentao/models"
"github.com/go-playground/validator/v10"
)
diff --git a/backend/plugins/zentao/api/remote_api.go b/backend/plugins/zentao/api/remote_api.go
index 53c2091..8ee4e11 100644
--- a/backend/plugins/zentao/api/remote_api.go
+++ b/backend/plugins/zentao/api/remote_api.go
@@ -21,11 +21,11 @@
"fmt"
"net/url"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- dsmodels "github.com/apache/incubator-devlake/helpers/pluginhelper/api/models"
- "github.com/apache/incubator-devlake/plugins/zentao/models"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ dsmodels "github.com/apache/devlake/helpers/pluginhelper/api/models"
+ "github.com/apache/devlake/plugins/zentao/models"
)
type ZentaoRemotePagination struct {
diff --git a/backend/plugins/zentao/api/scope_api.go b/backend/plugins/zentao/api/scope_api.go
index fbe4a4c..268cf69 100644
--- a/backend/plugins/zentao/api/scope_api.go
+++ b/backend/plugins/zentao/api/scope_api.go
@@ -18,10 +18,10 @@
package api
import (
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/zentao/models"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/zentao/models"
)
type PutScopesReqBody api.PutScopesReqBody[models.ZentaoProject]
diff --git a/backend/plugins/zentao/api/scope_config_api.go b/backend/plugins/zentao/api/scope_config_api.go
index 9ce1a61..52206e8 100644
--- a/backend/plugins/zentao/api/scope_config_api.go
+++ b/backend/plugins/zentao/api/scope_config_api.go
@@ -18,8 +18,8 @@
package api
import (
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
)
// PostScopeConfig create scope config for Zentao
diff --git a/backend/plugins/zentao/api/scope_state_api.go b/backend/plugins/zentao/api/scope_state_api.go
index 7a20fe6..db977d2 100644
--- a/backend/plugins/zentao/api/scope_state_api.go
+++ b/backend/plugins/zentao/api/scope_state_api.go
@@ -18,8 +18,8 @@
package api
import (
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
)
// GetScopeLatestSyncState get one zentao project's latest sync state
diff --git a/backend/plugins/zentao/e2e/account_test.go b/backend/plugins/zentao/e2e/account_test.go
index a42ad4d..7e6bf1e 100644
--- a/backend/plugins/zentao/e2e/account_test.go
+++ b/backend/plugins/zentao/e2e/account_test.go
@@ -19,14 +19,14 @@
import (
gocontext "context"
- "github.com/apache/incubator-devlake/core/models/common"
- "github.com/apache/incubator-devlake/core/models/domainlayer/crossdomain"
- "github.com/apache/incubator-devlake/core/runner"
- "github.com/apache/incubator-devlake/helpers/e2ehelper"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/zentao/impl"
- "github.com/apache/incubator-devlake/plugins/zentao/models"
- "github.com/apache/incubator-devlake/plugins/zentao/tasks"
+ "github.com/apache/devlake/core/models/common"
+ "github.com/apache/devlake/core/models/domainlayer/crossdomain"
+ "github.com/apache/devlake/core/runner"
+ "github.com/apache/devlake/helpers/e2ehelper"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/zentao/impl"
+ "github.com/apache/devlake/plugins/zentao/models"
+ "github.com/apache/devlake/plugins/zentao/tasks"
"testing"
"time"
)
diff --git a/backend/plugins/zentao/e2e/bug_commits_test.go b/backend/plugins/zentao/e2e/bug_commits_test.go
index 0b5ab4b..10f9e59 100644
--- a/backend/plugins/zentao/e2e/bug_commits_test.go
+++ b/backend/plugins/zentao/e2e/bug_commits_test.go
@@ -20,12 +20,12 @@
import (
"testing"
- "github.com/apache/incubator-devlake/core/models/common"
- "github.com/apache/incubator-devlake/core/models/domainlayer/crossdomain"
- "github.com/apache/incubator-devlake/helpers/e2ehelper"
- "github.com/apache/incubator-devlake/plugins/zentao/impl"
- "github.com/apache/incubator-devlake/plugins/zentao/models"
- "github.com/apache/incubator-devlake/plugins/zentao/tasks"
+ "github.com/apache/devlake/core/models/common"
+ "github.com/apache/devlake/core/models/domainlayer/crossdomain"
+ "github.com/apache/devlake/helpers/e2ehelper"
+ "github.com/apache/devlake/plugins/zentao/impl"
+ "github.com/apache/devlake/plugins/zentao/models"
+ "github.com/apache/devlake/plugins/zentao/tasks"
)
func TestZentaoBugCommitsDataFlow(t *testing.T) {
diff --git a/backend/plugins/zentao/e2e/bug_test.go b/backend/plugins/zentao/e2e/bug_test.go
index 4acc3b1..8cc2bd3 100644
--- a/backend/plugins/zentao/e2e/bug_test.go
+++ b/backend/plugins/zentao/e2e/bug_test.go
@@ -20,12 +20,12 @@
import (
"testing"
- "github.com/apache/incubator-devlake/core/models/common"
- "github.com/apache/incubator-devlake/core/models/domainlayer/ticket"
- "github.com/apache/incubator-devlake/helpers/e2ehelper"
- "github.com/apache/incubator-devlake/plugins/zentao/impl"
- "github.com/apache/incubator-devlake/plugins/zentao/models"
- "github.com/apache/incubator-devlake/plugins/zentao/tasks"
+ "github.com/apache/devlake/core/models/common"
+ "github.com/apache/devlake/core/models/domainlayer/ticket"
+ "github.com/apache/devlake/helpers/e2ehelper"
+ "github.com/apache/devlake/plugins/zentao/impl"
+ "github.com/apache/devlake/plugins/zentao/models"
+ "github.com/apache/devlake/plugins/zentao/tasks"
)
func TestZentaoBugDataFlow(t *testing.T) {
diff --git a/backend/plugins/zentao/e2e/changelog_test.go b/backend/plugins/zentao/e2e/changelog_test.go
index b0d38ed..0189709 100644
--- a/backend/plugins/zentao/e2e/changelog_test.go
+++ b/backend/plugins/zentao/e2e/changelog_test.go
@@ -20,15 +20,15 @@
import (
"testing"
- "github.com/apache/incubator-devlake/core/config"
- "github.com/apache/incubator-devlake/core/models/common"
- "github.com/apache/incubator-devlake/core/models/domainlayer/ticket"
- "github.com/apache/incubator-devlake/core/runner"
- "github.com/apache/incubator-devlake/helpers/e2ehelper"
- "github.com/apache/incubator-devlake/impls/dalgorm"
- "github.com/apache/incubator-devlake/plugins/zentao/impl"
- "github.com/apache/incubator-devlake/plugins/zentao/models"
- "github.com/apache/incubator-devlake/plugins/zentao/tasks"
+ "github.com/apache/devlake/core/config"
+ "github.com/apache/devlake/core/models/common"
+ "github.com/apache/devlake/core/models/domainlayer/ticket"
+ "github.com/apache/devlake/core/runner"
+ "github.com/apache/devlake/helpers/e2ehelper"
+ "github.com/apache/devlake/impls/dalgorm"
+ "github.com/apache/devlake/plugins/zentao/impl"
+ "github.com/apache/devlake/plugins/zentao/models"
+ "github.com/apache/devlake/plugins/zentao/tasks"
"github.com/spf13/viper"
)
diff --git a/backend/plugins/zentao/e2e/check_connection_test.go b/backend/plugins/zentao/e2e/check_connection_test.go
index 5b70300..7fbdb9b 100644
--- a/backend/plugins/zentao/e2e/check_connection_test.go
+++ b/backend/plugins/zentao/e2e/check_connection_test.go
@@ -18,11 +18,11 @@
package e2e
import (
- "github.com/apache/incubator-devlake/core/runner"
+ "github.com/apache/devlake/core/runner"
"testing"
"time"
- "github.com/apache/incubator-devlake/core/config"
+ "github.com/apache/devlake/core/config"
)
func TestZentaoCheckDbConnection(t *testing.T) {
diff --git a/backend/plugins/zentao/e2e/execution_test.go b/backend/plugins/zentao/e2e/execution_test.go
index 175e819..0162ea1 100644
--- a/backend/plugins/zentao/e2e/execution_test.go
+++ b/backend/plugins/zentao/e2e/execution_test.go
@@ -20,12 +20,12 @@
import (
"testing"
- "github.com/apache/incubator-devlake/core/models/common"
- "github.com/apache/incubator-devlake/core/models/domainlayer/ticket"
- "github.com/apache/incubator-devlake/helpers/e2ehelper"
- "github.com/apache/incubator-devlake/plugins/zentao/impl"
- "github.com/apache/incubator-devlake/plugins/zentao/models"
- "github.com/apache/incubator-devlake/plugins/zentao/tasks"
+ "github.com/apache/devlake/core/models/common"
+ "github.com/apache/devlake/core/models/domainlayer/ticket"
+ "github.com/apache/devlake/helpers/e2ehelper"
+ "github.com/apache/devlake/plugins/zentao/impl"
+ "github.com/apache/devlake/plugins/zentao/models"
+ "github.com/apache/devlake/plugins/zentao/tasks"
)
func TestZentaoExecutionDataFlow(t *testing.T) {
diff --git a/backend/plugins/zentao/e2e/story_commits_test.go b/backend/plugins/zentao/e2e/story_commits_test.go
index e3932d4..5659457 100644
--- a/backend/plugins/zentao/e2e/story_commits_test.go
+++ b/backend/plugins/zentao/e2e/story_commits_test.go
@@ -20,12 +20,12 @@
import (
"testing"
- "github.com/apache/incubator-devlake/core/models/common"
- "github.com/apache/incubator-devlake/core/models/domainlayer/crossdomain"
- "github.com/apache/incubator-devlake/helpers/e2ehelper"
- "github.com/apache/incubator-devlake/plugins/zentao/impl"
- "github.com/apache/incubator-devlake/plugins/zentao/models"
- "github.com/apache/incubator-devlake/plugins/zentao/tasks"
+ "github.com/apache/devlake/core/models/common"
+ "github.com/apache/devlake/core/models/domainlayer/crossdomain"
+ "github.com/apache/devlake/helpers/e2ehelper"
+ "github.com/apache/devlake/plugins/zentao/impl"
+ "github.com/apache/devlake/plugins/zentao/models"
+ "github.com/apache/devlake/plugins/zentao/tasks"
)
func TestZentaoStoryCommitsDataFlow(t *testing.T) {
diff --git a/backend/plugins/zentao/e2e/story_test.go b/backend/plugins/zentao/e2e/story_test.go
index ce6b987..a9e7bb2 100644
--- a/backend/plugins/zentao/e2e/story_test.go
+++ b/backend/plugins/zentao/e2e/story_test.go
@@ -20,12 +20,12 @@
import (
"testing"
- "github.com/apache/incubator-devlake/core/models/common"
- "github.com/apache/incubator-devlake/core/models/domainlayer/ticket"
- "github.com/apache/incubator-devlake/helpers/e2ehelper"
- "github.com/apache/incubator-devlake/plugins/zentao/impl"
- "github.com/apache/incubator-devlake/plugins/zentao/models"
- "github.com/apache/incubator-devlake/plugins/zentao/tasks"
+ "github.com/apache/devlake/core/models/common"
+ "github.com/apache/devlake/core/models/domainlayer/ticket"
+ "github.com/apache/devlake/helpers/e2ehelper"
+ "github.com/apache/devlake/plugins/zentao/impl"
+ "github.com/apache/devlake/plugins/zentao/models"
+ "github.com/apache/devlake/plugins/zentao/tasks"
)
func TestZentaoStoryDataFlow(t *testing.T) {
diff --git a/backend/plugins/zentao/e2e/task_commits_test.go b/backend/plugins/zentao/e2e/task_commits_test.go
index ff85f96..ca6094b 100644
--- a/backend/plugins/zentao/e2e/task_commits_test.go
+++ b/backend/plugins/zentao/e2e/task_commits_test.go
@@ -20,12 +20,12 @@
import (
"testing"
- "github.com/apache/incubator-devlake/core/models/common"
- "github.com/apache/incubator-devlake/core/models/domainlayer/crossdomain"
- "github.com/apache/incubator-devlake/helpers/e2ehelper"
- "github.com/apache/incubator-devlake/plugins/zentao/impl"
- "github.com/apache/incubator-devlake/plugins/zentao/models"
- "github.com/apache/incubator-devlake/plugins/zentao/tasks"
+ "github.com/apache/devlake/core/models/common"
+ "github.com/apache/devlake/core/models/domainlayer/crossdomain"
+ "github.com/apache/devlake/helpers/e2ehelper"
+ "github.com/apache/devlake/plugins/zentao/impl"
+ "github.com/apache/devlake/plugins/zentao/models"
+ "github.com/apache/devlake/plugins/zentao/tasks"
)
func TestZentaoTaskCommitsDataFlow(t *testing.T) {
diff --git a/backend/plugins/zentao/e2e/task_test.go b/backend/plugins/zentao/e2e/task_test.go
index 2e0ff8f..acf252c 100644
--- a/backend/plugins/zentao/e2e/task_test.go
+++ b/backend/plugins/zentao/e2e/task_test.go
@@ -20,12 +20,12 @@
import (
"testing"
- "github.com/apache/incubator-devlake/core/models/common"
- "github.com/apache/incubator-devlake/core/models/domainlayer/ticket"
- "github.com/apache/incubator-devlake/helpers/e2ehelper"
- "github.com/apache/incubator-devlake/plugins/zentao/impl"
- "github.com/apache/incubator-devlake/plugins/zentao/models"
- "github.com/apache/incubator-devlake/plugins/zentao/tasks"
+ "github.com/apache/devlake/core/models/common"
+ "github.com/apache/devlake/core/models/domainlayer/ticket"
+ "github.com/apache/devlake/helpers/e2ehelper"
+ "github.com/apache/devlake/plugins/zentao/impl"
+ "github.com/apache/devlake/plugins/zentao/models"
+ "github.com/apache/devlake/plugins/zentao/tasks"
)
func TestZentaoTaskDataFlow(t *testing.T) {
diff --git a/backend/plugins/zentao/e2e/task_worklogs_test.go b/backend/plugins/zentao/e2e/task_worklogs_test.go
index 444a704..e061017 100644
--- a/backend/plugins/zentao/e2e/task_worklogs_test.go
+++ b/backend/plugins/zentao/e2e/task_worklogs_test.go
@@ -20,12 +20,12 @@
import (
"testing"
- "github.com/apache/incubator-devlake/core/models/common"
- "github.com/apache/incubator-devlake/core/models/domainlayer/ticket"
- "github.com/apache/incubator-devlake/helpers/e2ehelper"
- "github.com/apache/incubator-devlake/plugins/zentao/impl"
- "github.com/apache/incubator-devlake/plugins/zentao/models"
- "github.com/apache/incubator-devlake/plugins/zentao/tasks"
+ "github.com/apache/devlake/core/models/common"
+ "github.com/apache/devlake/core/models/domainlayer/ticket"
+ "github.com/apache/devlake/helpers/e2ehelper"
+ "github.com/apache/devlake/plugins/zentao/impl"
+ "github.com/apache/devlake/plugins/zentao/models"
+ "github.com/apache/devlake/plugins/zentao/tasks"
)
func TestZentaoTaskWorklogDataFlow(t *testing.T) {
diff --git a/backend/plugins/zentao/impl/impl.go b/backend/plugins/zentao/impl/impl.go
index 2111426..791472f 100644
--- a/backend/plugins/zentao/impl/impl.go
+++ b/backend/plugins/zentao/impl/impl.go
@@ -20,18 +20,18 @@
import (
"fmt"
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- coreModels "github.com/apache/incubator-devlake/core/models"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/core/runner"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/impls/dalgorm"
- "github.com/apache/incubator-devlake/plugins/zentao/api"
- "github.com/apache/incubator-devlake/plugins/zentao/models"
- "github.com/apache/incubator-devlake/plugins/zentao/models/migrationscripts"
- "github.com/apache/incubator-devlake/plugins/zentao/tasks"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ coreModels "github.com/apache/devlake/core/models"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/core/runner"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/impls/dalgorm"
+ "github.com/apache/devlake/plugins/zentao/api"
+ "github.com/apache/devlake/plugins/zentao/models"
+ "github.com/apache/devlake/plugins/zentao/models/migrationscripts"
+ "github.com/apache/devlake/plugins/zentao/tasks"
"github.com/spf13/viper"
)
@@ -237,7 +237,7 @@
// RootPkgPath information lost when compiled as plugin(.so)
func (p Zentao) RootPkgPath() string {
- return "github.com/apache/incubator-devlake/plugins/zentao"
+ return "github.com/apache/devlake/plugins/zentao"
}
func (p Zentao) MigrationScripts() []plugin.MigrationScript {
diff --git a/backend/plugins/zentao/models/account.go b/backend/plugins/zentao/models/account.go
index f289bb5..1558575 100644
--- a/backend/plugins/zentao/models/account.go
+++ b/backend/plugins/zentao/models/account.go
@@ -18,7 +18,7 @@
package models
import (
- "github.com/apache/incubator-devlake/core/models/common"
+ "github.com/apache/devlake/core/models/common"
)
type ZentaoAccount struct {
diff --git a/backend/plugins/zentao/models/bug.go b/backend/plugins/zentao/models/bug.go
index c1db204..328a09c 100644
--- a/backend/plugins/zentao/models/bug.go
+++ b/backend/plugins/zentao/models/bug.go
@@ -22,7 +22,7 @@
"encoding/json"
"time"
- "github.com/apache/incubator-devlake/core/models/common"
+ "github.com/apache/devlake/core/models/common"
)
type ApiAccount struct {
diff --git a/backend/plugins/zentao/models/bug_commits.go b/backend/plugins/zentao/models/bug_commits.go
index 3666d03..3703015 100644
--- a/backend/plugins/zentao/models/bug_commits.go
+++ b/backend/plugins/zentao/models/bug_commits.go
@@ -18,7 +18,7 @@
package models
import (
- "github.com/apache/incubator-devlake/core/models/common"
+ "github.com/apache/devlake/core/models/common"
)
type ZentaoBugCommitsRes struct {
diff --git a/backend/plugins/zentao/models/changelog.go b/backend/plugins/zentao/models/changelog.go
index 91ea87a..cd43ef3 100644
--- a/backend/plugins/zentao/models/changelog.go
+++ b/backend/plugins/zentao/models/changelog.go
@@ -20,7 +20,7 @@
import (
"time"
- "github.com/apache/incubator-devlake/core/models/common"
+ "github.com/apache/devlake/core/models/common"
)
type ZentaoChangelog struct {
diff --git a/backend/plugins/zentao/models/connection.go b/backend/plugins/zentao/models/connection.go
index 949dd36..bb68d8f 100644
--- a/backend/plugins/zentao/models/connection.go
+++ b/backend/plugins/zentao/models/connection.go
@@ -23,9 +23,9 @@
"net/url"
"strings"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
)
// PrepareApiClient fetches token from Zentao API for future requests
diff --git a/backend/plugins/zentao/models/department.go b/backend/plugins/zentao/models/department.go
index 945e6c9..eb2d8a1 100644
--- a/backend/plugins/zentao/models/department.go
+++ b/backend/plugins/zentao/models/department.go
@@ -18,7 +18,7 @@
package models
import (
- "github.com/apache/incubator-devlake/core/models/common"
+ "github.com/apache/devlake/core/models/common"
)
type ZentaoDepartment struct {
diff --git a/backend/plugins/zentao/models/execution.go b/backend/plugins/zentao/models/execution.go
index eee06cd..bd3d7e1 100644
--- a/backend/plugins/zentao/models/execution.go
+++ b/backend/plugins/zentao/models/execution.go
@@ -18,7 +18,7 @@
package models
import (
- "github.com/apache/incubator-devlake/core/models/common"
+ "github.com/apache/devlake/core/models/common"
)
type ZentaoExecutionRes struct {
diff --git a/backend/plugins/zentao/models/execution_stories.go b/backend/plugins/zentao/models/execution_stories.go
index 82b919c..f6eec73 100644
--- a/backend/plugins/zentao/models/execution_stories.go
+++ b/backend/plugins/zentao/models/execution_stories.go
@@ -18,7 +18,7 @@
package models
import (
- "github.com/apache/incubator-devlake/core/models/common"
+ "github.com/apache/devlake/core/models/common"
)
type ZentaoExecutionStory struct {
diff --git a/backend/plugins/zentao/models/execution_summary.go b/backend/plugins/zentao/models/execution_summary.go
index 2609697..579b9c8 100644
--- a/backend/plugins/zentao/models/execution_summary.go
+++ b/backend/plugins/zentao/models/execution_summary.go
@@ -18,7 +18,7 @@
package models
import (
- "github.com/apache/incubator-devlake/core/models/common"
+ "github.com/apache/devlake/core/models/common"
)
type ZentaoExecutionSummary struct {
diff --git a/backend/plugins/zentao/models/migrationscripts/20221121_add_init_tables.go b/backend/plugins/zentao/models/migrationscripts/20221121_add_init_tables.go
index 7845f77..4a3af2d 100644
--- a/backend/plugins/zentao/models/migrationscripts/20221121_add_init_tables.go
+++ b/backend/plugins/zentao/models/migrationscripts/20221121_add_init_tables.go
@@ -18,10 +18,10 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/helpers/migrationhelper"
- "github.com/apache/incubator-devlake/plugins/zentao/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/helpers/migrationhelper"
+ "github.com/apache/devlake/plugins/zentao/models/migrationscripts/archived"
)
type addInitTables struct{}
diff --git a/backend/plugins/zentao/models/migrationscripts/20230601_add_scope_config.go b/backend/plugins/zentao/models/migrationscripts/20230601_add_scope_config.go
index 38b0f4f..94e5450 100644
--- a/backend/plugins/zentao/models/migrationscripts/20230601_add_scope_config.go
+++ b/backend/plugins/zentao/models/migrationscripts/20230601_add_scope_config.go
@@ -18,10 +18,10 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/helpers/migrationhelper"
- "github.com/apache/incubator-devlake/plugins/zentao/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/helpers/migrationhelper"
+ "github.com/apache/devlake/plugins/zentao/models/migrationscripts/archived"
)
type addScopeConfigTables struct{}
diff --git a/backend/plugins/zentao/models/migrationscripts/20230605_add_issue_repo_commits.go b/backend/plugins/zentao/models/migrationscripts/20230605_add_issue_repo_commits.go
index 004d665..07795b7 100644
--- a/backend/plugins/zentao/models/migrationscripts/20230605_add_issue_repo_commits.go
+++ b/backend/plugins/zentao/models/migrationscripts/20230605_add_issue_repo_commits.go
@@ -18,10 +18,10 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/helpers/migrationhelper"
- "github.com/apache/incubator-devlake/plugins/zentao/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/helpers/migrationhelper"
+ "github.com/apache/devlake/plugins/zentao/models/migrationscripts/archived"
)
type addIssueRepoCommitsTables struct{}
diff --git a/backend/plugins/zentao/models/migrationscripts/20230608_add_init_changelog_tables.go b/backend/plugins/zentao/models/migrationscripts/20230608_add_init_changelog_tables.go
index 1d44e51..7933c74 100644
--- a/backend/plugins/zentao/models/migrationscripts/20230608_add_init_changelog_tables.go
+++ b/backend/plugins/zentao/models/migrationscripts/20230608_add_init_changelog_tables.go
@@ -18,10 +18,10 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/helpers/migrationhelper"
- "github.com/apache/incubator-devlake/plugins/zentao/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/helpers/migrationhelper"
+ "github.com/apache/devlake/plugins/zentao/models/migrationscripts/archived"
)
type addInitChangelogTables struct{}
diff --git a/backend/plugins/zentao/models/migrationscripts/20230627_add_task_left.go b/backend/plugins/zentao/models/migrationscripts/20230627_add_task_left.go
index 762157a..7bb140e 100644
--- a/backend/plugins/zentao/models/migrationscripts/20230627_add_task_left.go
+++ b/backend/plugins/zentao/models/migrationscripts/20230627_add_task_left.go
@@ -18,9 +18,9 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/helpers/migrationhelper"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/helpers/migrationhelper"
)
type addTaskLeft struct{}
diff --git a/backend/plugins/zentao/models/migrationscripts/20230630_add_raw_param_table_for_project_scopes.go b/backend/plugins/zentao/models/migrationscripts/20230630_add_raw_param_table_for_project_scopes.go
index e291ed7..e726d86 100644
--- a/backend/plugins/zentao/models/migrationscripts/20230630_add_raw_param_table_for_project_scopes.go
+++ b/backend/plugins/zentao/models/migrationscripts/20230630_add_raw_param_table_for_project_scopes.go
@@ -22,11 +22,11 @@
"fmt"
"strconv"
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/migrationhelper"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/migrationhelper"
)
var _ plugin.MigrationScript = (*addRawParamTableForScope)(nil)
diff --git a/backend/plugins/zentao/models/migrationscripts/20230705_add_execution_stories.go b/backend/plugins/zentao/models/migrationscripts/20230705_add_execution_stories.go
index 41ac0f6..b2a464e 100644
--- a/backend/plugins/zentao/models/migrationscripts/20230705_add_execution_stories.go
+++ b/backend/plugins/zentao/models/migrationscripts/20230705_add_execution_stories.go
@@ -18,10 +18,10 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/helpers/migrationhelper"
- "github.com/apache/incubator-devlake/plugins/zentao/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/helpers/migrationhelper"
+ "github.com/apache/devlake/plugins/zentao/models/migrationscripts/archived"
)
type addExecutionStoryAndExecutionSummary struct{}
diff --git a/backend/plugins/zentao/models/migrationscripts/20230803_drop_total_real.go b/backend/plugins/zentao/models/migrationscripts/20230803_drop_total_real.go
index d7ba642..9ae573d 100644
--- a/backend/plugins/zentao/models/migrationscripts/20230803_drop_total_real.go
+++ b/backend/plugins/zentao/models/migrationscripts/20230803_drop_total_real.go
@@ -18,9 +18,9 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/plugins/zentao/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/plugins/zentao/models/migrationscripts/archived"
)
type dropTotalReal struct{}
diff --git a/backend/plugins/zentao/models/migrationscripts/20250219_add_worklogs.go b/backend/plugins/zentao/models/migrationscripts/20250219_add_worklogs.go
index 0b11778..6a5660e 100644
--- a/backend/plugins/zentao/models/migrationscripts/20250219_add_worklogs.go
+++ b/backend/plugins/zentao/models/migrationscripts/20250219_add_worklogs.go
@@ -18,10 +18,10 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/helpers/migrationhelper"
- "github.com/apache/incubator-devlake/plugins/zentao/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/helpers/migrationhelper"
+ "github.com/apache/devlake/plugins/zentao/models/migrationscripts/archived"
)
type addWorklogs struct{}
diff --git a/backend/plugins/zentao/models/migrationscripts/20250305_update_scope_config.go b/backend/plugins/zentao/models/migrationscripts/20250305_update_scope_config.go
index 2a460e2..d6b08e0 100644
--- a/backend/plugins/zentao/models/migrationscripts/20250305_update_scope_config.go
+++ b/backend/plugins/zentao/models/migrationscripts/20250305_update_scope_config.go
@@ -20,9 +20,9 @@
import (
"time"
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/helpers/migrationhelper"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/helpers/migrationhelper"
)
type ZentaoScopeConfig20250305 struct {
diff --git a/backend/plugins/zentao/models/migrationscripts/archived/account.go b/backend/plugins/zentao/models/migrationscripts/archived/account.go
index 464e81b..6d90792 100644
--- a/backend/plugins/zentao/models/migrationscripts/archived/account.go
+++ b/backend/plugins/zentao/models/migrationscripts/archived/account.go
@@ -18,7 +18,7 @@
package archived
import (
- "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/models/migrationscripts/archived"
)
type ZentaoAccount struct {
diff --git a/backend/plugins/zentao/models/migrationscripts/archived/bug.go b/backend/plugins/zentao/models/migrationscripts/archived/bug.go
index 750a3ee..3868128 100644
--- a/backend/plugins/zentao/models/migrationscripts/archived/bug.go
+++ b/backend/plugins/zentao/models/migrationscripts/archived/bug.go
@@ -20,7 +20,7 @@
import (
"time"
- "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/models/migrationscripts/archived"
)
type ZentaoBug struct {
diff --git a/backend/plugins/zentao/models/migrationscripts/archived/bug_commits.go b/backend/plugins/zentao/models/migrationscripts/archived/bug_commits.go
index 7bd02af..146edbd 100644
--- a/backend/plugins/zentao/models/migrationscripts/archived/bug_commits.go
+++ b/backend/plugins/zentao/models/migrationscripts/archived/bug_commits.go
@@ -18,7 +18,7 @@
package archived
import (
- "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/models/migrationscripts/archived"
)
type ZentaoBugCommit struct {
diff --git a/backend/plugins/zentao/models/migrationscripts/archived/changelog.go b/backend/plugins/zentao/models/migrationscripts/archived/changelog.go
index baaa95d..19b3e84 100644
--- a/backend/plugins/zentao/models/migrationscripts/archived/changelog.go
+++ b/backend/plugins/zentao/models/migrationscripts/archived/changelog.go
@@ -20,7 +20,7 @@
import (
"time"
- "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/models/migrationscripts/archived"
)
type ZentaoChangelog struct {
diff --git a/backend/plugins/zentao/models/migrationscripts/archived/connection.go b/backend/plugins/zentao/models/migrationscripts/archived/connection.go
index 7bee6db..5e53d13 100644
--- a/backend/plugins/zentao/models/migrationscripts/archived/connection.go
+++ b/backend/plugins/zentao/models/migrationscripts/archived/connection.go
@@ -18,7 +18,7 @@
package archived
import (
- "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/models/migrationscripts/archived"
)
// This object conforms to what the frontend currently sends.
diff --git a/backend/plugins/zentao/models/migrationscripts/archived/department.go b/backend/plugins/zentao/models/migrationscripts/archived/department.go
index 3c35039..b4902e6 100644
--- a/backend/plugins/zentao/models/migrationscripts/archived/department.go
+++ b/backend/plugins/zentao/models/migrationscripts/archived/department.go
@@ -18,7 +18,7 @@
package archived
import (
- "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/models/migrationscripts/archived"
)
type ZentaoDepartment struct {
diff --git a/backend/plugins/zentao/models/migrationscripts/archived/execution.go b/backend/plugins/zentao/models/migrationscripts/archived/execution.go
index 46193e0..36e3e80 100644
--- a/backend/plugins/zentao/models/migrationscripts/archived/execution.go
+++ b/backend/plugins/zentao/models/migrationscripts/archived/execution.go
@@ -20,7 +20,7 @@
import (
"time"
- "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/models/migrationscripts/archived"
)
type ZentaoExecution struct {
diff --git a/backend/plugins/zentao/models/migrationscripts/archived/execution_stories.go b/backend/plugins/zentao/models/migrationscripts/archived/execution_stories.go
index 8b818f0..e105076 100644
--- a/backend/plugins/zentao/models/migrationscripts/archived/execution_stories.go
+++ b/backend/plugins/zentao/models/migrationscripts/archived/execution_stories.go
@@ -18,7 +18,7 @@
package archived
import (
- "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/models/migrationscripts/archived"
)
type ZentaoExecutionStory struct {
diff --git a/backend/plugins/zentao/models/migrationscripts/archived/execution_summary.go b/backend/plugins/zentao/models/migrationscripts/archived/execution_summary.go
index 308085dd..d850550 100644
--- a/backend/plugins/zentao/models/migrationscripts/archived/execution_summary.go
+++ b/backend/plugins/zentao/models/migrationscripts/archived/execution_summary.go
@@ -18,7 +18,7 @@
package archived
import (
- "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/models/migrationscripts/archived"
)
type ZentaoExecutionSummary struct {
diff --git a/backend/plugins/zentao/models/migrationscripts/archived/product.go b/backend/plugins/zentao/models/migrationscripts/archived/product.go
index 67c4cec..ebb3f0c 100644
--- a/backend/plugins/zentao/models/migrationscripts/archived/product.go
+++ b/backend/plugins/zentao/models/migrationscripts/archived/product.go
@@ -20,7 +20,7 @@
import (
"time"
- "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/models/migrationscripts/archived"
)
type ZentaoProduct struct {
diff --git a/backend/plugins/zentao/models/migrationscripts/archived/product_summary.go b/backend/plugins/zentao/models/migrationscripts/archived/product_summary.go
index 6b603e9..99376b3 100644
--- a/backend/plugins/zentao/models/migrationscripts/archived/product_summary.go
+++ b/backend/plugins/zentao/models/migrationscripts/archived/product_summary.go
@@ -18,7 +18,7 @@
package archived
import (
- "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/models/migrationscripts/archived"
)
type ZentaoProductSummary struct {
diff --git a/backend/plugins/zentao/models/migrationscripts/archived/project.go b/backend/plugins/zentao/models/migrationscripts/archived/project.go
index 59470a1..579172e 100644
--- a/backend/plugins/zentao/models/migrationscripts/archived/project.go
+++ b/backend/plugins/zentao/models/migrationscripts/archived/project.go
@@ -20,7 +20,7 @@
import (
"time"
- "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/models/migrationscripts/archived"
)
type ZentaoProject struct {
diff --git a/backend/plugins/zentao/models/migrationscripts/archived/project_stories.go b/backend/plugins/zentao/models/migrationscripts/archived/project_stories.go
index dbeb77e..7a966db 100644
--- a/backend/plugins/zentao/models/migrationscripts/archived/project_stories.go
+++ b/backend/plugins/zentao/models/migrationscripts/archived/project_stories.go
@@ -18,7 +18,7 @@
package archived
import (
- "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/models/migrationscripts/archived"
)
type ZentaoProjectStory struct {
diff --git a/backend/plugins/zentao/models/migrationscripts/archived/scope_config.go b/backend/plugins/zentao/models/migrationscripts/archived/scope_config.go
index 5eb5bb0..738319d 100644
--- a/backend/plugins/zentao/models/migrationscripts/archived/scope_config.go
+++ b/backend/plugins/zentao/models/migrationscripts/archived/scope_config.go
@@ -20,7 +20,7 @@
import (
"encoding/json"
- "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/models/migrationscripts/archived"
)
type ZentaoScopeConfig struct {
diff --git a/backend/plugins/zentao/models/migrationscripts/archived/story.go b/backend/plugins/zentao/models/migrationscripts/archived/story.go
index b8ee19a..cf16f8e 100644
--- a/backend/plugins/zentao/models/migrationscripts/archived/story.go
+++ b/backend/plugins/zentao/models/migrationscripts/archived/story.go
@@ -20,7 +20,7 @@
import (
"time"
- "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/models/migrationscripts/archived"
)
type ZentaoStory struct {
diff --git a/backend/plugins/zentao/models/migrationscripts/archived/story_commits.go b/backend/plugins/zentao/models/migrationscripts/archived/story_commits.go
index e4dc4d1..6f4d3f3 100644
--- a/backend/plugins/zentao/models/migrationscripts/archived/story_commits.go
+++ b/backend/plugins/zentao/models/migrationscripts/archived/story_commits.go
@@ -18,7 +18,7 @@
package archived
import (
- "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/models/migrationscripts/archived"
)
type ZentaoStoryCommit struct {
diff --git a/backend/plugins/zentao/models/migrationscripts/archived/task.go b/backend/plugins/zentao/models/migrationscripts/archived/task.go
index 1b2f0e2..ae2e6bd 100644
--- a/backend/plugins/zentao/models/migrationscripts/archived/task.go
+++ b/backend/plugins/zentao/models/migrationscripts/archived/task.go
@@ -20,7 +20,7 @@
import (
"time"
- "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/models/migrationscripts/archived"
)
type ZentaoTask struct {
diff --git a/backend/plugins/zentao/models/migrationscripts/archived/task_commits.go b/backend/plugins/zentao/models/migrationscripts/archived/task_commits.go
index 198e0fe..960058a 100644
--- a/backend/plugins/zentao/models/migrationscripts/archived/task_commits.go
+++ b/backend/plugins/zentao/models/migrationscripts/archived/task_commits.go
@@ -18,7 +18,7 @@
package archived
import (
- "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/models/migrationscripts/archived"
)
type ZentaoTaskCommit struct {
diff --git a/backend/plugins/zentao/models/migrationscripts/archived/worklog.go b/backend/plugins/zentao/models/migrationscripts/archived/worklog.go
index 86fdca6..a04b7da 100644
--- a/backend/plugins/zentao/models/migrationscripts/archived/worklog.go
+++ b/backend/plugins/zentao/models/migrationscripts/archived/worklog.go
@@ -18,7 +18,7 @@
package archived
import (
- "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/models/migrationscripts/archived"
)
type ZentaoWorklog struct {
diff --git a/backend/plugins/zentao/models/migrationscripts/register.go b/backend/plugins/zentao/models/migrationscripts/register.go
index 8e7dee7..4b5c7a2 100644
--- a/backend/plugins/zentao/models/migrationscripts/register.go
+++ b/backend/plugins/zentao/models/migrationscripts/register.go
@@ -18,7 +18,7 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/plugin"
+ "github.com/apache/devlake/core/plugin"
)
// All return all the migration scripts
diff --git a/backend/plugins/zentao/models/product.go b/backend/plugins/zentao/models/product.go
index 5569f8a..c6e432f 100644
--- a/backend/plugins/zentao/models/product.go
+++ b/backend/plugins/zentao/models/product.go
@@ -18,7 +18,7 @@
package models
import (
- "github.com/apache/incubator-devlake/core/models/common"
+ "github.com/apache/devlake/core/models/common"
)
type ZentaoProductRes struct {
diff --git a/backend/plugins/zentao/models/product_summary.go b/backend/plugins/zentao/models/product_summary.go
index f448af7..a0ec7bb 100644
--- a/backend/plugins/zentao/models/product_summary.go
+++ b/backend/plugins/zentao/models/product_summary.go
@@ -17,7 +17,7 @@
package models
-import "github.com/apache/incubator-devlake/core/models/common"
+import "github.com/apache/devlake/core/models/common"
type ZentaoProductSummary struct {
common.NoPKModel
diff --git a/backend/plugins/zentao/models/project.go b/backend/plugins/zentao/models/project.go
index bc44d1b..f68d4be 100644
--- a/backend/plugins/zentao/models/project.go
+++ b/backend/plugins/zentao/models/project.go
@@ -25,8 +25,8 @@
"github.com/spf13/cast"
- "github.com/apache/incubator-devlake/core/models/common"
- "github.com/apache/incubator-devlake/core/plugin"
+ "github.com/apache/devlake/core/models/common"
+ "github.com/apache/devlake/core/plugin"
)
type OperatedBy struct {
diff --git a/backend/plugins/zentao/models/project_stories.go b/backend/plugins/zentao/models/project_stories.go
index 79a02f3..66756fb 100644
--- a/backend/plugins/zentao/models/project_stories.go
+++ b/backend/plugins/zentao/models/project_stories.go
@@ -18,7 +18,7 @@
package models
import (
- "github.com/apache/incubator-devlake/core/models/common"
+ "github.com/apache/devlake/core/models/common"
)
type ZentaoProjectStory struct {
diff --git a/backend/plugins/zentao/models/scope_config.go b/backend/plugins/zentao/models/scope_config.go
index e0e2d03..dd0b0c4 100644
--- a/backend/plugins/zentao/models/scope_config.go
+++ b/backend/plugins/zentao/models/scope_config.go
@@ -18,7 +18,7 @@
package models
import (
- "github.com/apache/incubator-devlake/core/models/common"
+ "github.com/apache/devlake/core/models/common"
)
type ZentaoScopeConfig struct {
diff --git a/backend/plugins/zentao/models/story.go b/backend/plugins/zentao/models/story.go
index 192cd2a..e9d8a2c 100644
--- a/backend/plugins/zentao/models/story.go
+++ b/backend/plugins/zentao/models/story.go
@@ -21,7 +21,7 @@
"encoding/json"
"time"
- "github.com/apache/incubator-devlake/core/models/common"
+ "github.com/apache/devlake/core/models/common"
)
type ZentaoStoryRes struct {
diff --git a/backend/plugins/zentao/models/story_commits.go b/backend/plugins/zentao/models/story_commits.go
index 8a1280c..c8cf0d5 100644
--- a/backend/plugins/zentao/models/story_commits.go
+++ b/backend/plugins/zentao/models/story_commits.go
@@ -18,7 +18,7 @@
package models
import (
- "github.com/apache/incubator-devlake/core/models/common"
+ "github.com/apache/devlake/core/models/common"
)
type ZentaoStoryCommitsRes struct {
diff --git a/backend/plugins/zentao/models/task.go b/backend/plugins/zentao/models/task.go
index c2deff9..9d5ef41 100644
--- a/backend/plugins/zentao/models/task.go
+++ b/backend/plugins/zentao/models/task.go
@@ -21,7 +21,7 @@
"encoding/json"
"time"
- "github.com/apache/incubator-devlake/core/models/common"
+ "github.com/apache/devlake/core/models/common"
)
type ZentaoTaskRes struct {
diff --git a/backend/plugins/zentao/models/task_commits.go b/backend/plugins/zentao/models/task_commits.go
index 16434bf..644b8b4 100644
--- a/backend/plugins/zentao/models/task_commits.go
+++ b/backend/plugins/zentao/models/task_commits.go
@@ -18,7 +18,7 @@
package models
import (
- "github.com/apache/incubator-devlake/core/models/common"
+ "github.com/apache/devlake/core/models/common"
)
type ZentaoTaskCommitsRes struct {
diff --git a/backend/plugins/zentao/models/worklog.go b/backend/plugins/zentao/models/worklog.go
index 24ec382..908bdd7 100644
--- a/backend/plugins/zentao/models/worklog.go
+++ b/backend/plugins/zentao/models/worklog.go
@@ -18,7 +18,7 @@
package models
import (
- "github.com/apache/incubator-devlake/core/models/common"
+ "github.com/apache/devlake/core/models/common"
)
type ZentaoWorklog struct {
diff --git a/backend/plugins/zentao/tasks/account_collector.go b/backend/plugins/zentao/tasks/account_collector.go
index 4dafaa0..92fd550 100644
--- a/backend/plugins/zentao/tasks/account_collector.go
+++ b/backend/plugins/zentao/tasks/account_collector.go
@@ -23,9 +23,9 @@
"net/http"
"net/url"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
)
const RAW_ACCOUNT_TABLE = "zentao_api_accounts"
diff --git a/backend/plugins/zentao/tasks/account_convertor.go b/backend/plugins/zentao/tasks/account_convertor.go
index 1a07a12..1ce8008 100644
--- a/backend/plugins/zentao/tasks/account_convertor.go
+++ b/backend/plugins/zentao/tasks/account_convertor.go
@@ -20,14 +20,14 @@
import (
"reflect"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/domainlayer"
- "github.com/apache/incubator-devlake/core/models/domainlayer/crossdomain"
- "github.com/apache/incubator-devlake/core/models/domainlayer/didgen"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/zentao/models"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/domainlayer"
+ "github.com/apache/devlake/core/models/domainlayer/crossdomain"
+ "github.com/apache/devlake/core/models/domainlayer/didgen"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/zentao/models"
)
var _ plugin.SubTaskEntryPoint = ConvertAccount
diff --git a/backend/plugins/zentao/tasks/account_extractor.go b/backend/plugins/zentao/tasks/account_extractor.go
index 653d0a9..d34b3d3 100644
--- a/backend/plugins/zentao/tasks/account_extractor.go
+++ b/backend/plugins/zentao/tasks/account_extractor.go
@@ -20,10 +20,10 @@
import (
"encoding/json"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/zentao/models"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/zentao/models"
)
var _ plugin.SubTaskEntryPoint = ExtractAccount
diff --git a/backend/plugins/zentao/tasks/api_client.go b/backend/plugins/zentao/tasks/api_client.go
index 075cdf7..ce8f8c4 100644
--- a/backend/plugins/zentao/tasks/api_client.go
+++ b/backend/plugins/zentao/tasks/api_client.go
@@ -22,10 +22,10 @@
"strconv"
"time"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/zentao/models"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/zentao/models"
)
func NewZentaoApiClient(taskCtx plugin.TaskContext, connection *models.ZentaoConnection) (*api.ApiAsyncClient, error) {
diff --git a/backend/plugins/zentao/tasks/bug_collector.go b/backend/plugins/zentao/tasks/bug_collector.go
index 17b5675..3c4c41b 100644
--- a/backend/plugins/zentao/tasks/bug_collector.go
+++ b/backend/plugins/zentao/tasks/bug_collector.go
@@ -23,9 +23,9 @@
"net/http"
"net/url"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
)
const RAW_BUG_TABLE = "zentao_api_bugs"
diff --git a/backend/plugins/zentao/tasks/bug_commits_collector.go b/backend/plugins/zentao/tasks/bug_commits_collector.go
index bf2a441..d15c09a 100644
--- a/backend/plugins/zentao/tasks/bug_commits_collector.go
+++ b/backend/plugins/zentao/tasks/bug_commits_collector.go
@@ -22,12 +22,12 @@
"net/http"
"reflect"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/common"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/zentao/models"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/common"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/zentao/models"
)
const RAW_BUG_COMMITS_TABLE = "zentao_api_bug_commits"
diff --git a/backend/plugins/zentao/tasks/bug_commits_extractor.go b/backend/plugins/zentao/tasks/bug_commits_extractor.go
index 66d17a3..42fef83 100644
--- a/backend/plugins/zentao/tasks/bug_commits_extractor.go
+++ b/backend/plugins/zentao/tasks/bug_commits_extractor.go
@@ -23,10 +23,10 @@
"path"
"regexp"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/zentao/models"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/zentao/models"
)
var _ plugin.SubTaskEntryPoint = ExtractBugCommits
diff --git a/backend/plugins/zentao/tasks/bug_convertor.go b/backend/plugins/zentao/tasks/bug_convertor.go
index 9f23d11..a1af838 100644
--- a/backend/plugins/zentao/tasks/bug_convertor.go
+++ b/backend/plugins/zentao/tasks/bug_convertor.go
@@ -21,14 +21,14 @@
"reflect"
"strconv"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/domainlayer"
- "github.com/apache/incubator-devlake/core/models/domainlayer/didgen"
- "github.com/apache/incubator-devlake/core/models/domainlayer/ticket"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/zentao/models"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/domainlayer"
+ "github.com/apache/devlake/core/models/domainlayer/didgen"
+ "github.com/apache/devlake/core/models/domainlayer/ticket"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/zentao/models"
)
var _ plugin.SubTaskEntryPoint = ConvertBug
diff --git a/backend/plugins/zentao/tasks/bug_extractor.go b/backend/plugins/zentao/tasks/bug_extractor.go
index d79a7be..9fd518b 100644
--- a/backend/plugins/zentao/tasks/bug_extractor.go
+++ b/backend/plugins/zentao/tasks/bug_extractor.go
@@ -22,12 +22,12 @@
"github.com/spf13/cast"
"time"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/domainlayer/ticket"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/helpers/utils"
- "github.com/apache/incubator-devlake/plugins/zentao/models"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/domainlayer/ticket"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/helpers/utils"
+ "github.com/apache/devlake/plugins/zentao/models"
)
var _ plugin.SubTaskEntryPoint = ExtractBug
diff --git a/backend/plugins/zentao/tasks/bug_repo_commits_collector.go b/backend/plugins/zentao/tasks/bug_repo_commits_collector.go
index 347ad12..6d39114 100644
--- a/backend/plugins/zentao/tasks/bug_repo_commits_collector.go
+++ b/backend/plugins/zentao/tasks/bug_repo_commits_collector.go
@@ -22,11 +22,11 @@
"net/http"
"reflect"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/zentao/models"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/zentao/models"
)
const RAW_BUG_REPO_COMMITS_TABLE = "zentao_api_bug_repo_commits"
diff --git a/backend/plugins/zentao/tasks/bug_repo_commits_convertor.go b/backend/plugins/zentao/tasks/bug_repo_commits_convertor.go
index 28434d2..bd3ae81 100644
--- a/backend/plugins/zentao/tasks/bug_repo_commits_convertor.go
+++ b/backend/plugins/zentao/tasks/bug_repo_commits_convertor.go
@@ -21,13 +21,13 @@
"github.com/spf13/cast"
"reflect"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/domainlayer/crossdomain"
- "github.com/apache/incubator-devlake/core/models/domainlayer/didgen"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/zentao/models"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/domainlayer/crossdomain"
+ "github.com/apache/devlake/core/models/domainlayer/didgen"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/zentao/models"
)
var _ plugin.SubTaskEntryPoint = ConvertBugRepoCommits
diff --git a/backend/plugins/zentao/tasks/bug_repo_commits_dbget.go b/backend/plugins/zentao/tasks/bug_repo_commits_dbget.go
index ea68f42..097466c 100644
--- a/backend/plugins/zentao/tasks/bug_repo_commits_dbget.go
+++ b/backend/plugins/zentao/tasks/bug_repo_commits_dbget.go
@@ -22,11 +22,11 @@
"reflect"
"strconv"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/zentao/models"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/zentao/models"
)
var _ plugin.SubTaskEntryPoint = DBGetBugRepoCommits
diff --git a/backend/plugins/zentao/tasks/bug_repo_commits_extractor.go b/backend/plugins/zentao/tasks/bug_repo_commits_extractor.go
index 4ae6d54..3abf89d 100644
--- a/backend/plugins/zentao/tasks/bug_repo_commits_extractor.go
+++ b/backend/plugins/zentao/tasks/bug_repo_commits_extractor.go
@@ -19,10 +19,10 @@
import (
"encoding/json"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/zentao/models"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/zentao/models"
)
var _ plugin.SubTaskEntryPoint = ExtractBugRepoCommits
diff --git a/backend/plugins/zentao/tasks/changelog_convertor.go b/backend/plugins/zentao/tasks/changelog_convertor.go
index 61d3d1e..f5ec0f3 100644
--- a/backend/plugins/zentao/tasks/changelog_convertor.go
+++ b/backend/plugins/zentao/tasks/changelog_convertor.go
@@ -22,15 +22,15 @@
"reflect"
"strconv"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/common"
- "github.com/apache/incubator-devlake/core/models/domainlayer"
- "github.com/apache/incubator-devlake/core/models/domainlayer/didgen"
- "github.com/apache/incubator-devlake/core/models/domainlayer/ticket"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/zentao/models"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/common"
+ "github.com/apache/devlake/core/models/domainlayer"
+ "github.com/apache/devlake/core/models/domainlayer/didgen"
+ "github.com/apache/devlake/core/models/domainlayer/ticket"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/zentao/models"
)
var _ plugin.SubTaskEntryPoint = ConvertChangelog
diff --git a/backend/plugins/zentao/tasks/changelog_dbget.go b/backend/plugins/zentao/tasks/changelog_dbget.go
index aa181ef..f182777 100644
--- a/backend/plugins/zentao/tasks/changelog_dbget.go
+++ b/backend/plugins/zentao/tasks/changelog_dbget.go
@@ -21,11 +21,11 @@
"encoding/json"
"reflect"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/zentao/models"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/zentao/models"
)
var _ plugin.SubTaskEntryPoint = DBGetActionHistory
diff --git a/backend/plugins/zentao/tasks/department_collector.go b/backend/plugins/zentao/tasks/department_collector.go
index ea6e2a2..7ff738e 100644
--- a/backend/plugins/zentao/tasks/department_collector.go
+++ b/backend/plugins/zentao/tasks/department_collector.go
@@ -21,9 +21,9 @@
"encoding/json"
"net/http"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
)
const RAW_DEPARTMENT_TABLE = "zentao_api_departments"
diff --git a/backend/plugins/zentao/tasks/department_extractor.go b/backend/plugins/zentao/tasks/department_extractor.go
index d6cd5ad..1d877a8 100644
--- a/backend/plugins/zentao/tasks/department_extractor.go
+++ b/backend/plugins/zentao/tasks/department_extractor.go
@@ -20,10 +20,10 @@
import (
"encoding/json"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/zentao/models"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/zentao/models"
)
var _ plugin.SubTaskEntryPoint = ExtractDepartment
diff --git a/backend/plugins/zentao/tasks/execution_collector.go b/backend/plugins/zentao/tasks/execution_collector.go
index 0aa20a9..3d2692c 100644
--- a/backend/plugins/zentao/tasks/execution_collector.go
+++ b/backend/plugins/zentao/tasks/execution_collector.go
@@ -23,9 +23,9 @@
"net/http"
"net/url"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
)
const RAW_EXECUTION_TABLE = "zentao_api_executions"
diff --git a/backend/plugins/zentao/tasks/execution_convertor.go b/backend/plugins/zentao/tasks/execution_convertor.go
index 41d80d3..58f97b5 100644
--- a/backend/plugins/zentao/tasks/execution_convertor.go
+++ b/backend/plugins/zentao/tasks/execution_convertor.go
@@ -21,14 +21,14 @@
"fmt"
"reflect"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/domainlayer"
- "github.com/apache/incubator-devlake/core/models/domainlayer/didgen"
- "github.com/apache/incubator-devlake/core/models/domainlayer/ticket"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/zentao/models"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/domainlayer"
+ "github.com/apache/devlake/core/models/domainlayer/didgen"
+ "github.com/apache/devlake/core/models/domainlayer/ticket"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/zentao/models"
)
var _ plugin.SubTaskEntryPoint = ConvertExecutions
diff --git a/backend/plugins/zentao/tasks/execution_extractor.go b/backend/plugins/zentao/tasks/execution_extractor.go
index 1b94772..30ebb9b 100644
--- a/backend/plugins/zentao/tasks/execution_extractor.go
+++ b/backend/plugins/zentao/tasks/execution_extractor.go
@@ -19,10 +19,10 @@
import (
"encoding/json"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/zentao/models"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/zentao/models"
)
var _ plugin.SubTaskEntryPoint = ExtractExecutions
diff --git a/backend/plugins/zentao/tasks/execution_story_collector.go b/backend/plugins/zentao/tasks/execution_story_collector.go
index 3a90577..9c2dcb5 100644
--- a/backend/plugins/zentao/tasks/execution_story_collector.go
+++ b/backend/plugins/zentao/tasks/execution_story_collector.go
@@ -20,9 +20,9 @@
import (
"encoding/json"
"fmt"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
"net/http"
"net/url"
)
diff --git a/backend/plugins/zentao/tasks/execution_story_convertor.go b/backend/plugins/zentao/tasks/execution_story_convertor.go
index 0153680..0504a2c 100644
--- a/backend/plugins/zentao/tasks/execution_story_convertor.go
+++ b/backend/plugins/zentao/tasks/execution_story_convertor.go
@@ -20,13 +20,13 @@
import (
"reflect"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/domainlayer/didgen"
- "github.com/apache/incubator-devlake/core/models/domainlayer/ticket"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/zentao/models"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/domainlayer/didgen"
+ "github.com/apache/devlake/core/models/domainlayer/ticket"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/zentao/models"
)
var _ plugin.SubTaskEntryPoint = ConvertExecutionStory
diff --git a/backend/plugins/zentao/tasks/execution_summary_collector.go b/backend/plugins/zentao/tasks/execution_summary_collector.go
index 843a2d4..f5d4df7 100644
--- a/backend/plugins/zentao/tasks/execution_summary_collector.go
+++ b/backend/plugins/zentao/tasks/execution_summary_collector.go
@@ -23,9 +23,9 @@
"net/http"
"net/url"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
)
const RAW_EXECUTION_SUMMARY_TABLE = "zentao_api_execution_summary"
diff --git a/backend/plugins/zentao/tasks/execution_summary_dev_collector.go b/backend/plugins/zentao/tasks/execution_summary_dev_collector.go
index a520d27..6a38ae4 100644
--- a/backend/plugins/zentao/tasks/execution_summary_dev_collector.go
+++ b/backend/plugins/zentao/tasks/execution_summary_dev_collector.go
@@ -22,11 +22,11 @@
"fmt"
"net/http"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/zentao/models"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/zentao/models"
)
const RAW_EXECUTION_SUMMARY_DEV_TABLE = "zentao_api_execution_summary_dev"
diff --git a/backend/plugins/zentao/tasks/execution_summary_dev_extractor.go b/backend/plugins/zentao/tasks/execution_summary_dev_extractor.go
index b77ab4f..c2ef0f5 100644
--- a/backend/plugins/zentao/tasks/execution_summary_dev_extractor.go
+++ b/backend/plugins/zentao/tasks/execution_summary_dev_extractor.go
@@ -21,10 +21,10 @@
"strconv"
"strings"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/zentao/models"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/zentao/models"
)
var _ plugin.SubTaskEntryPoint = ExtractExecutionSummaryDev
diff --git a/backend/plugins/zentao/tasks/execution_summary_extractor.go b/backend/plugins/zentao/tasks/execution_summary_extractor.go
index 3aecf9c..723207f 100644
--- a/backend/plugins/zentao/tasks/execution_summary_extractor.go
+++ b/backend/plugins/zentao/tasks/execution_summary_extractor.go
@@ -20,10 +20,10 @@
import (
"encoding/json"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/zentao/models"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/zentao/models"
)
var _ plugin.SubTaskEntryPoint = ExtractExecutionSummary
diff --git a/backend/plugins/zentao/tasks/iterator.go b/backend/plugins/zentao/tasks/iterator.go
index b55bfd5..72c339d 100644
--- a/backend/plugins/zentao/tasks/iterator.go
+++ b/backend/plugins/zentao/tasks/iterator.go
@@ -18,8 +18,8 @@
package tasks
import (
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
)
type iteratorConcator struct {
diff --git a/backend/plugins/zentao/tasks/project_convertor.go b/backend/plugins/zentao/tasks/project_convertor.go
index b09ef94..2c07709 100644
--- a/backend/plugins/zentao/tasks/project_convertor.go
+++ b/backend/plugins/zentao/tasks/project_convertor.go
@@ -19,14 +19,14 @@
import (
"fmt"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/domainlayer"
- "github.com/apache/incubator-devlake/core/models/domainlayer/didgen"
- "github.com/apache/incubator-devlake/core/models/domainlayer/ticket"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/zentao/models"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/domainlayer"
+ "github.com/apache/devlake/core/models/domainlayer/didgen"
+ "github.com/apache/devlake/core/models/domainlayer/ticket"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/zentao/models"
"reflect"
)
diff --git a/backend/plugins/zentao/tasks/shared.go b/backend/plugins/zentao/tasks/shared.go
index aa11405..751093e 100644
--- a/backend/plugins/zentao/tasks/shared.go
+++ b/backend/plugins/zentao/tasks/shared.go
@@ -26,11 +26,11 @@
"regexp"
"strings"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/zentao/models"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/zentao/models"
)
type input struct {
diff --git a/backend/plugins/zentao/tasks/story_collector.go b/backend/plugins/zentao/tasks/story_collector.go
index 40b077a..6954bf9 100644
--- a/backend/plugins/zentao/tasks/story_collector.go
+++ b/backend/plugins/zentao/tasks/story_collector.go
@@ -23,9 +23,9 @@
"net/http"
"net/url"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
)
const RAW_STORY_TABLE = "zentao_api_stories"
diff --git a/backend/plugins/zentao/tasks/story_commits_collector.go b/backend/plugins/zentao/tasks/story_commits_collector.go
index 85404a3..1c9025e 100644
--- a/backend/plugins/zentao/tasks/story_commits_collector.go
+++ b/backend/plugins/zentao/tasks/story_commits_collector.go
@@ -22,12 +22,12 @@
"net/http"
"reflect"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/common"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/zentao/models"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/common"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/zentao/models"
)
const RAW_STORY_COMMITS_TABLE = "zentao_api_story_commits"
diff --git a/backend/plugins/zentao/tasks/story_commits_extractor.go b/backend/plugins/zentao/tasks/story_commits_extractor.go
index 91f1d3f..0efda75 100644
--- a/backend/plugins/zentao/tasks/story_commits_extractor.go
+++ b/backend/plugins/zentao/tasks/story_commits_extractor.go
@@ -23,10 +23,10 @@
"path"
"regexp"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/zentao/models"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/zentao/models"
)
var _ plugin.SubTaskEntryPoint = ExtractStoryCommits
diff --git a/backend/plugins/zentao/tasks/story_convertor.go b/backend/plugins/zentao/tasks/story_convertor.go
index 6a0bc81..624eb72 100644
--- a/backend/plugins/zentao/tasks/story_convertor.go
+++ b/backend/plugins/zentao/tasks/story_convertor.go
@@ -21,14 +21,14 @@
"reflect"
"strconv"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/domainlayer"
- "github.com/apache/incubator-devlake/core/models/domainlayer/didgen"
- "github.com/apache/incubator-devlake/core/models/domainlayer/ticket"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/zentao/models"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/domainlayer"
+ "github.com/apache/devlake/core/models/domainlayer/didgen"
+ "github.com/apache/devlake/core/models/domainlayer/ticket"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/zentao/models"
)
var _ plugin.SubTaskEntryPoint = ConvertStory
diff --git a/backend/plugins/zentao/tasks/story_extractor.go b/backend/plugins/zentao/tasks/story_extractor.go
index d09c193..77a627d 100644
--- a/backend/plugins/zentao/tasks/story_extractor.go
+++ b/backend/plugins/zentao/tasks/story_extractor.go
@@ -21,12 +21,12 @@
"encoding/json"
"time"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/domainlayer/ticket"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- helpers "github.com/apache/incubator-devlake/helpers/utils"
- "github.com/apache/incubator-devlake/plugins/zentao/models"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/domainlayer/ticket"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ helpers "github.com/apache/devlake/helpers/utils"
+ "github.com/apache/devlake/plugins/zentao/models"
)
var _ plugin.SubTaskEntryPoint = ExtractStory
diff --git a/backend/plugins/zentao/tasks/story_repo_commits_collector.go b/backend/plugins/zentao/tasks/story_repo_commits_collector.go
index 865d109..ace15f3 100644
--- a/backend/plugins/zentao/tasks/story_repo_commits_collector.go
+++ b/backend/plugins/zentao/tasks/story_repo_commits_collector.go
@@ -22,11 +22,11 @@
"net/http"
"reflect"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/zentao/models"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/zentao/models"
)
const RAW_STORY_REPO_COMMITS_TABLE = "zentao_api_story_repo_commits"
diff --git a/backend/plugins/zentao/tasks/story_repo_commits_convertor.go b/backend/plugins/zentao/tasks/story_repo_commits_convertor.go
index 9e470c4..82775a1 100644
--- a/backend/plugins/zentao/tasks/story_repo_commits_convertor.go
+++ b/backend/plugins/zentao/tasks/story_repo_commits_convertor.go
@@ -22,13 +22,13 @@
"github.com/spf13/cast"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/domainlayer/crossdomain"
- "github.com/apache/incubator-devlake/core/models/domainlayer/didgen"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/zentao/models"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/domainlayer/crossdomain"
+ "github.com/apache/devlake/core/models/domainlayer/didgen"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/zentao/models"
)
var _ plugin.SubTaskEntryPoint = ConvertStoryRepoCommits
diff --git a/backend/plugins/zentao/tasks/story_repo_commits_dbget.go b/backend/plugins/zentao/tasks/story_repo_commits_dbget.go
index a3ee112..9affd43 100644
--- a/backend/plugins/zentao/tasks/story_repo_commits_dbget.go
+++ b/backend/plugins/zentao/tasks/story_repo_commits_dbget.go
@@ -22,11 +22,11 @@
"reflect"
"strconv"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/zentao/models"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/zentao/models"
)
var _ plugin.SubTaskEntryPoint = DBGetStoryRepoCommits
diff --git a/backend/plugins/zentao/tasks/story_repo_commits_extractor.go b/backend/plugins/zentao/tasks/story_repo_commits_extractor.go
index a4c35fd..626f074 100644
--- a/backend/plugins/zentao/tasks/story_repo_commits_extractor.go
+++ b/backend/plugins/zentao/tasks/story_repo_commits_extractor.go
@@ -20,10 +20,10 @@
import (
"encoding/json"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/zentao/models"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/zentao/models"
)
var _ plugin.SubTaskEntryPoint = ExtractStoryRepoCommits
diff --git a/backend/plugins/zentao/tasks/task_collector.go b/backend/plugins/zentao/tasks/task_collector.go
index ac0d9d7..3303490 100644
--- a/backend/plugins/zentao/tasks/task_collector.go
+++ b/backend/plugins/zentao/tasks/task_collector.go
@@ -24,11 +24,11 @@
"net/url"
"reflect"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/zentao/models"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/zentao/models"
)
const RAW_TASK_TABLE = "zentao_api_tasks"
diff --git a/backend/plugins/zentao/tasks/task_collector_test.go b/backend/plugins/zentao/tasks/task_collector_test.go
index 06c77b4..824cd97 100644
--- a/backend/plugins/zentao/tasks/task_collector_test.go
+++ b/backend/plugins/zentao/tasks/task_collector_test.go
@@ -18,7 +18,7 @@
package tasks
import (
- "github.com/apache/incubator-devlake/plugins/zentao/models"
+ "github.com/apache/devlake/plugins/zentao/models"
"reflect"
"testing"
)
diff --git a/backend/plugins/zentao/tasks/task_commits_collector.go b/backend/plugins/zentao/tasks/task_commits_collector.go
index 219a500..4301a82 100644
--- a/backend/plugins/zentao/tasks/task_commits_collector.go
+++ b/backend/plugins/zentao/tasks/task_commits_collector.go
@@ -22,11 +22,11 @@
"net/http"
"reflect"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/zentao/models"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/zentao/models"
)
const RAW_TASK_COMMITS_TABLE = "zentao_api_task_commits"
diff --git a/backend/plugins/zentao/tasks/task_commits_extractor.go b/backend/plugins/zentao/tasks/task_commits_extractor.go
index c2f2bf1..45f4d85 100644
--- a/backend/plugins/zentao/tasks/task_commits_extractor.go
+++ b/backend/plugins/zentao/tasks/task_commits_extractor.go
@@ -23,10 +23,10 @@
"path"
"regexp"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/zentao/models"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/zentao/models"
)
var _ plugin.SubTaskEntryPoint = ExtractTaskCommits
diff --git a/backend/plugins/zentao/tasks/task_convertor.go b/backend/plugins/zentao/tasks/task_convertor.go
index 8894030..942f25f 100644
--- a/backend/plugins/zentao/tasks/task_convertor.go
+++ b/backend/plugins/zentao/tasks/task_convertor.go
@@ -21,14 +21,14 @@
"reflect"
"strconv"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/domainlayer"
- "github.com/apache/incubator-devlake/core/models/domainlayer/didgen"
- "github.com/apache/incubator-devlake/core/models/domainlayer/ticket"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/zentao/models"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/domainlayer"
+ "github.com/apache/devlake/core/models/domainlayer/didgen"
+ "github.com/apache/devlake/core/models/domainlayer/ticket"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/zentao/models"
)
var _ plugin.SubTaskEntryPoint = ConvertTask
diff --git a/backend/plugins/zentao/tasks/task_data.go b/backend/plugins/zentao/tasks/task_data.go
index b1f4d56..671348b 100644
--- a/backend/plugins/zentao/tasks/task_data.go
+++ b/backend/plugins/zentao/tasks/task_data.go
@@ -20,10 +20,10 @@
import (
"fmt"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/zentao/models"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/zentao/models"
"github.com/go-viper/mapstructure/v2"
)
diff --git a/backend/plugins/zentao/tasks/task_extractor.go b/backend/plugins/zentao/tasks/task_extractor.go
index 77d2af5..5fa4096 100644
--- a/backend/plugins/zentao/tasks/task_extractor.go
+++ b/backend/plugins/zentao/tasks/task_extractor.go
@@ -22,12 +22,12 @@
"github.com/spf13/cast"
"time"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/domainlayer/ticket"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/helpers/utils"
- "github.com/apache/incubator-devlake/plugins/zentao/models"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/domainlayer/ticket"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/helpers/utils"
+ "github.com/apache/devlake/plugins/zentao/models"
)
var _ plugin.SubTaskEntryPoint = ExtractTask
diff --git a/backend/plugins/zentao/tasks/task_repo_commits_collector.go b/backend/plugins/zentao/tasks/task_repo_commits_collector.go
index ea0d59f..5623ae1 100644
--- a/backend/plugins/zentao/tasks/task_repo_commits_collector.go
+++ b/backend/plugins/zentao/tasks/task_repo_commits_collector.go
@@ -22,11 +22,11 @@
"net/http"
"reflect"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/zentao/models"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/zentao/models"
)
const RAW_TASK_REPO_COMMITS_TABLE = "zentao_api_task_repo_commits"
diff --git a/backend/plugins/zentao/tasks/task_repo_commits_convertor.go b/backend/plugins/zentao/tasks/task_repo_commits_convertor.go
index 6f0fb4f..821a80a 100644
--- a/backend/plugins/zentao/tasks/task_repo_commits_convertor.go
+++ b/backend/plugins/zentao/tasks/task_repo_commits_convertor.go
@@ -22,13 +22,13 @@
"github.com/spf13/cast"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/domainlayer/crossdomain"
- "github.com/apache/incubator-devlake/core/models/domainlayer/didgen"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/zentao/models"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/domainlayer/crossdomain"
+ "github.com/apache/devlake/core/models/domainlayer/didgen"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/zentao/models"
)
var _ plugin.SubTaskEntryPoint = ConvertTaskRepoCommits
diff --git a/backend/plugins/zentao/tasks/task_repo_commits_dbget.go b/backend/plugins/zentao/tasks/task_repo_commits_dbget.go
index 630d247..56a819e 100644
--- a/backend/plugins/zentao/tasks/task_repo_commits_dbget.go
+++ b/backend/plugins/zentao/tasks/task_repo_commits_dbget.go
@@ -22,11 +22,11 @@
"reflect"
"strconv"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/zentao/models"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/zentao/models"
)
var _ plugin.SubTaskEntryPoint = DBGetTaskRepoCommits
diff --git a/backend/plugins/zentao/tasks/task_repo_commits_extractor.go b/backend/plugins/zentao/tasks/task_repo_commits_extractor.go
index 40de4fd..cfcb854 100644
--- a/backend/plugins/zentao/tasks/task_repo_commits_extractor.go
+++ b/backend/plugins/zentao/tasks/task_repo_commits_extractor.go
@@ -20,10 +20,10 @@
import (
"encoding/json"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/zentao/models"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/zentao/models"
)
var _ plugin.SubTaskEntryPoint = ExtractTaskRepoCommits
diff --git a/backend/plugins/zentao/tasks/task_worklog_collector.go b/backend/plugins/zentao/tasks/task_worklog_collector.go
index 4bf6102..ddd817e 100644
--- a/backend/plugins/zentao/tasks/task_worklog_collector.go
+++ b/backend/plugins/zentao/tasks/task_worklog_collector.go
@@ -23,11 +23,11 @@
"net/url"
"reflect"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/zentao/models"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/zentao/models"
)
const RAW_TASK_WORKLOGS_TABLE = "zentao_api_task_worklogs"
diff --git a/backend/plugins/zentao/tasks/task_worklog_convertor.go b/backend/plugins/zentao/tasks/task_worklog_convertor.go
index 9fea703..e023560 100644
--- a/backend/plugins/zentao/tasks/task_worklog_convertor.go
+++ b/backend/plugins/zentao/tasks/task_worklog_convertor.go
@@ -20,15 +20,15 @@
import (
"reflect"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/common"
- "github.com/apache/incubator-devlake/core/models/domainlayer"
- "github.com/apache/incubator-devlake/core/models/domainlayer/didgen"
- "github.com/apache/incubator-devlake/core/models/domainlayer/ticket"
- "github.com/apache/incubator-devlake/core/plugin"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/zentao/models"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/common"
+ "github.com/apache/devlake/core/models/domainlayer"
+ "github.com/apache/devlake/core/models/domainlayer/didgen"
+ "github.com/apache/devlake/core/models/domainlayer/ticket"
+ "github.com/apache/devlake/core/plugin"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/zentao/models"
)
var ConvertTaskWorklogsMeta = plugin.SubTaskMeta{
diff --git a/backend/plugins/zentao/tasks/task_worklog_extractor.go b/backend/plugins/zentao/tasks/task_worklog_extractor.go
index 9288906..53558ae 100644
--- a/backend/plugins/zentao/tasks/task_worklog_extractor.go
+++ b/backend/plugins/zentao/tasks/task_worklog_extractor.go
@@ -19,10 +19,10 @@
import (
"encoding/json"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/zentao/models"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/zentao/models"
)
var _ plugin.SubTaskEntryPoint = ExtractTaskWorklogs
diff --git a/backend/plugins/zentao/zentao.go b/backend/plugins/zentao/zentao.go
index fb1713c..e6ed593 100644
--- a/backend/plugins/zentao/zentao.go
+++ b/backend/plugins/zentao/zentao.go
@@ -18,8 +18,8 @@
package main
import (
- "github.com/apache/incubator-devlake/core/runner"
- "github.com/apache/incubator-devlake/plugins/zentao/impl"
+ "github.com/apache/devlake/core/runner"
+ "github.com/apache/devlake/plugins/zentao/impl"
"github.com/spf13/cobra"
)
diff --git a/backend/python/README.md b/backend/python/README.md
index 3873e52..17bf0ce 100644
--- a/backend/python/README.md
+++ b/backend/python/README.md
@@ -258,7 +258,7 @@
to migrate; don't directly use the actual model because that may change over time. Instead, define a model that is a copy of the main one, and use that in the
migration - this model's code will never change (Hence, it's a snapshot).
Also, keep in mind, that Python only supports writing schema migrations. If your flow requires data migrations as well, at this time, the code needs to
-be written in Go. See [this Go package](https://github.com/apache/incubator-devlake/tree/main/backend/server/services/remote/models/migrationscripts) for example.
+be written in Go. See [this Go package](https://github.com/apache/devlake/tree/main/backend/server/services/remote/models/migrationscripts) for example.
To declare a new migration script, you decorate a function with the `migration` decorator. The function name should describe what the script does. The `migration` decorator takes a version number that should be a 14 digits timestamp in the format `YYYYMMDDhhmmss`. The function takes a `MigrationScriptBuilder` as a parameter. This builder exposes methods to execute migration operations.
@@ -328,7 +328,7 @@
The `collect` method takes a `state` dictionary and a context object and yields tuples of raw data and new state.
The last state that the plugin yielded for a given connection will be reused during the next collection.
The plugin can use this `state` to store information necessary to perform incremental collection of data. This operates
-independently of the way Go manages state, and is tracked by the table `_pydevlake_subtask_runs`. See [this issue](https://github.com/apache/incubator-devlake/issues/4880)
+independently of the way Go manages state, and is tracked by the table `_pydevlake_subtask_runs`. See [this issue](https://github.com/apache/devlake/issues/4880)
for a proposed improvement to this feature.
The `extract` method takes a raw data object and returns a tool model.
diff --git a/backend/scripts/build-server.sh b/backend/scripts/build-server.sh
index 4944ac1..b390185 100755
--- a/backend/scripts/build-server.sh
+++ b/backend/scripts/build-server.sh
@@ -27,4 +27,4 @@
EXTRA="-gcflags='all=-N -l'"
fi
-go build $EXTRA -ldflags "-X 'github.com/apache/incubator-devlake/core/version.Version=$VERSION'" -o $ROOT_DIR/bin/lake $ROOT_DIR/server/
\ No newline at end of file
+go build $EXTRA -ldflags "-X 'github.com/apache/devlake/core/version.Version=$VERSION'" -o $ROOT_DIR/bin/lake $ROOT_DIR/server/
\ No newline at end of file
diff --git a/backend/server/api/api.go b/backend/server/api/api.go
index 4c880ec..3116e59 100644
--- a/backend/server/api/api.go
+++ b/backend/server/api/api.go
@@ -31,16 +31,16 @@
ginSwagger "github.com/swaggo/gin-swagger"
"github.com/swaggo/swag"
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/impls/logruslog"
- "github.com/apache/incubator-devlake/server/api/auth"
- _ "github.com/apache/incubator-devlake/server/api/docs"
- "github.com/apache/incubator-devlake/server/api/ping"
- "github.com/apache/incubator-devlake/server/api/shared"
- "github.com/apache/incubator-devlake/server/api/version"
- "github.com/apache/incubator-devlake/server/services"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/impls/logruslog"
+ "github.com/apache/devlake/server/api/auth"
+ _ "github.com/apache/devlake/server/api/docs"
+ "github.com/apache/devlake/server/api/ping"
+ "github.com/apache/devlake/server/api/shared"
+ "github.com/apache/devlake/server/api/version"
+ "github.com/apache/devlake/server/services"
)
const DB_MIGRATION_REQUIRED = `
diff --git a/backend/server/api/apikeys/apikeys.go b/backend/server/api/apikeys/apikeys.go
index 4c24967..84a45ef 100644
--- a/backend/server/api/apikeys/apikeys.go
+++ b/backend/server/api/apikeys/apikeys.go
@@ -21,11 +21,11 @@
"net/http"
"strconv"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models"
- "github.com/apache/incubator-devlake/impls/logruslog"
- "github.com/apache/incubator-devlake/server/api/shared"
- "github.com/apache/incubator-devlake/server/services"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models"
+ "github.com/apache/devlake/impls/logruslog"
+ "github.com/apache/devlake/server/api/shared"
+ "github.com/apache/devlake/server/services"
"github.com/gin-gonic/gin"
)
diff --git a/backend/server/api/auth/auth.go b/backend/server/api/auth/auth.go
index aead556..7eac2b7 100644
--- a/backend/server/api/auth/auth.go
+++ b/backend/server/api/auth/auth.go
@@ -39,12 +39,12 @@
"github.com/google/uuid"
"golang.org/x/oauth2"
- corectx "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/log"
- "github.com/apache/incubator-devlake/helpers/oidchelper"
- "github.com/apache/incubator-devlake/server/api/shared"
+ corectx "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/log"
+ "github.com/apache/devlake/helpers/oidchelper"
+ "github.com/apache/devlake/server/api/shared"
)
// Auth-related route paths, defined in one place so router registration and
diff --git a/backend/server/api/auth/cleanup.go b/backend/server/api/auth/cleanup.go
index 3dcaf74..c418865 100644
--- a/backend/server/api/auth/cleanup.go
+++ b/backend/server/api/auth/cleanup.go
@@ -21,8 +21,8 @@
"context"
"time"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/log"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/log"
)
const (
diff --git a/backend/server/api/auth/handlers_test.go b/backend/server/api/auth/handlers_test.go
index 7067fa9..1a279ce 100644
--- a/backend/server/api/auth/handlers_test.go
+++ b/backend/server/api/auth/handlers_test.go
@@ -35,10 +35,10 @@
"github.com/golang-jwt/jwt/v5"
"github.com/stretchr/testify/mock"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/helpers/oidchelper"
- "github.com/apache/incubator-devlake/impls/logruslog"
- mockdal "github.com/apache/incubator-devlake/mocks/core/dal"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/helpers/oidchelper"
+ "github.com/apache/devlake/impls/logruslog"
+ mockdal "github.com/apache/devlake/mocks/core/dal"
)
// fakeIdP is a minimal OIDC provider sufficient for go-oidc discovery,
diff --git a/backend/server/api/auth/middleware.go b/backend/server/api/auth/middleware.go
index 231f4d5..e908056 100644
--- a/backend/server/api/auth/middleware.go
+++ b/backend/server/api/auth/middleware.go
@@ -24,9 +24,9 @@
"github.com/gin-gonic/gin"
- "github.com/apache/incubator-devlake/core/models/common"
- "github.com/apache/incubator-devlake/helpers/oidchelper"
- "github.com/apache/incubator-devlake/server/api/shared"
+ "github.com/apache/devlake/core/models/common"
+ "github.com/apache/devlake/helpers/oidchelper"
+ "github.com/apache/devlake/server/api/shared"
)
// publicPaths is the set of routes reachable without authentication.
diff --git a/backend/server/api/auth/revocation_cache.go b/backend/server/api/auth/revocation_cache.go
index b704d1b..cd6e70f 100644
--- a/backend/server/api/auth/revocation_cache.go
+++ b/backend/server/api/auth/revocation_cache.go
@@ -22,8 +22,8 @@
"sync"
"time"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/log"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/log"
)
// revocationRefreshInterval is how often the cache reloads the revoked-jti
diff --git a/backend/server/api/auth/store.go b/backend/server/api/auth/store.go
index 751624e..69a1351 100644
--- a/backend/server/api/auth/store.go
+++ b/backend/server/api/auth/store.go
@@ -20,8 +20,8 @@
import (
"time"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
)
// AuthSession is the persisted record backing one signed session JWT. It is
diff --git a/backend/server/api/blueprints/blueprints.go b/backend/server/api/blueprints/blueprints.go
index 8410274..be26953 100644
--- a/backend/server/api/blueprints/blueprints.go
+++ b/backend/server/api/blueprints/blueprints.go
@@ -21,10 +21,10 @@
"net/http"
"strconv"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models"
- "github.com/apache/incubator-devlake/server/api/shared"
- "github.com/apache/incubator-devlake/server/services"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models"
+ "github.com/apache/devlake/server/api/shared"
+ "github.com/apache/devlake/server/services"
"github.com/gin-gonic/gin"
)
diff --git a/backend/server/api/domainlayer/repos.go b/backend/server/api/domainlayer/repos.go
index ae42166..26b8f80 100644
--- a/backend/server/api/domainlayer/repos.go
+++ b/backend/server/api/domainlayer/repos.go
@@ -18,9 +18,9 @@
package domainlayer
import (
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/server/api/shared"
- "github.com/apache/incubator-devlake/server/services"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/server/api/shared"
+ "github.com/apache/devlake/server/services"
"net/http"
"github.com/gin-gonic/gin"
diff --git a/backend/server/api/middlewares.go b/backend/server/api/middlewares.go
index e1609b1..567e3a9 100644
--- a/backend/server/api/middlewares.go
+++ b/backend/server/api/middlewares.go
@@ -26,14 +26,14 @@
"strings"
"time"
- "github.com/apache/incubator-devlake/core/log"
+ "github.com/apache/devlake/core/log"
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/common"
- "github.com/apache/incubator-devlake/helpers/apikeyhelper"
- "github.com/apache/incubator-devlake/server/api/shared"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/common"
+ "github.com/apache/devlake/helpers/apikeyhelper"
+ "github.com/apache/devlake/server/api/shared"
"github.com/gin-gonic/gin"
)
diff --git a/backend/server/api/middlewares_forwardsecret_test.go b/backend/server/api/middlewares_forwardsecret_test.go
index b5e13ed..4b390aa 100644
--- a/backend/server/api/middlewares_forwardsecret_test.go
+++ b/backend/server/api/middlewares_forwardsecret_test.go
@@ -26,12 +26,12 @@
"github.com/gin-gonic/gin"
"github.com/spf13/viper"
- "github.com/apache/incubator-devlake/core/config"
- corecontext "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/log"
- "github.com/apache/incubator-devlake/impls/logruslog"
- "github.com/apache/incubator-devlake/server/api/shared"
+ "github.com/apache/devlake/core/config"
+ corecontext "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/log"
+ "github.com/apache/devlake/impls/logruslog"
+ "github.com/apache/devlake/server/api/shared"
)
type proxyAuthTestBasicRes struct {
diff --git a/backend/server/api/middlewares_rest_auth_test.go b/backend/server/api/middlewares_rest_auth_test.go
index 41d421b..a148239 100644
--- a/backend/server/api/middlewares_rest_auth_test.go
+++ b/backend/server/api/middlewares_rest_auth_test.go
@@ -22,14 +22,14 @@
"net/http/httptest"
"testing"
- "github.com/apache/incubator-devlake/core/config"
- coremodels "github.com/apache/incubator-devlake/core/models"
- "github.com/apache/incubator-devlake/core/models/common"
- "github.com/apache/incubator-devlake/helpers/apikeyhelper"
- contextimpl "github.com/apache/incubator-devlake/impls/context"
- "github.com/apache/incubator-devlake/impls/logruslog"
- mockdal "github.com/apache/incubator-devlake/mocks/core/dal"
- "github.com/apache/incubator-devlake/server/api/shared"
+ "github.com/apache/devlake/core/config"
+ coremodels "github.com/apache/devlake/core/models"
+ "github.com/apache/devlake/core/models/common"
+ "github.com/apache/devlake/helpers/apikeyhelper"
+ contextimpl "github.com/apache/devlake/impls/context"
+ "github.com/apache/devlake/impls/logruslog"
+ mockdal "github.com/apache/devlake/mocks/core/dal"
+ "github.com/apache/devlake/server/api/shared"
"github.com/gin-gonic/gin"
"github.com/stretchr/testify/mock"
)
diff --git a/backend/server/api/middlewares_test.go b/backend/server/api/middlewares_test.go
index bb6d1f2..e9a386d 100644
--- a/backend/server/api/middlewares_test.go
+++ b/backend/server/api/middlewares_test.go
@@ -23,9 +23,9 @@
"strings"
"testing"
- corectx "github.com/apache/incubator-devlake/core/context"
- contextimpl "github.com/apache/incubator-devlake/impls/context"
- "github.com/apache/incubator-devlake/impls/logruslog"
+ corectx "github.com/apache/devlake/core/context"
+ contextimpl "github.com/apache/devlake/impls/context"
+ "github.com/apache/devlake/impls/logruslog"
"github.com/gin-gonic/gin"
"github.com/spf13/viper"
)
diff --git a/backend/server/api/ping/ping.go b/backend/server/api/ping/ping.go
index 4da7652..b0b35b7 100644
--- a/backend/server/api/ping/ping.go
+++ b/backend/server/api/ping/ping.go
@@ -20,8 +20,8 @@
import (
"net/http"
- "github.com/apache/incubator-devlake/server/api/shared"
- "github.com/apache/incubator-devlake/server/services"
+ "github.com/apache/devlake/server/api/shared"
+ "github.com/apache/devlake/server/services"
"github.com/gin-gonic/gin"
)
diff --git a/backend/server/api/pipelines/pipelines.go b/backend/server/api/pipelines/pipelines.go
index af533ba..721866f 100644
--- a/backend/server/api/pipelines/pipelines.go
+++ b/backend/server/api/pipelines/pipelines.go
@@ -18,10 +18,10 @@
package pipelines
import (
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models"
- "github.com/apache/incubator-devlake/server/api/shared"
- "github.com/apache/incubator-devlake/server/services"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models"
+ "github.com/apache/devlake/server/api/shared"
+ "github.com/apache/devlake/server/services"
"net/http"
"os"
"path/filepath"
diff --git a/backend/server/api/plugininfo/plugininifo.go b/backend/server/api/plugininfo/plugininifo.go
index 8f754be..de32fbc 100644
--- a/backend/server/api/plugininfo/plugininifo.go
+++ b/backend/server/api/plugininfo/plugininifo.go
@@ -19,12 +19,12 @@
import (
"fmt"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/domainlayer/domaininfo"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/core/utils"
- "github.com/apache/incubator-devlake/server/api/shared"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/domainlayer/domaininfo"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/core/utils"
+ "github.com/apache/devlake/server/api/shared"
"github.com/gin-gonic/gin"
"gorm.io/gorm/schema"
"net/http"
diff --git a/backend/server/api/project/project.go b/backend/server/api/project/project.go
index e826c71..71b7c41 100644
--- a/backend/server/api/project/project.go
+++ b/backend/server/api/project/project.go
@@ -20,10 +20,10 @@
import (
"net/http"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models"
- "github.com/apache/incubator-devlake/server/api/shared"
- "github.com/apache/incubator-devlake/server/services"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models"
+ "github.com/apache/devlake/server/api/shared"
+ "github.com/apache/devlake/server/services"
"github.com/gin-gonic/gin"
)
diff --git a/backend/server/api/push/push.go b/backend/server/api/push/push.go
index 77e7191..15b501b 100644
--- a/backend/server/api/push/push.go
+++ b/backend/server/api/push/push.go
@@ -19,9 +19,9 @@
import (
"fmt"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/server/api/shared"
- "github.com/apache/incubator-devlake/server/services"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/server/api/shared"
+ "github.com/apache/devlake/server/services"
"net/http"
"github.com/gin-gonic/gin"
diff --git a/backend/server/api/router.go b/backend/server/api/router.go
index a26e6b4..a6d4562 100644
--- a/backend/server/api/router.go
+++ b/backend/server/api/router.go
@@ -22,23 +22,23 @@
"net/http"
"strings"
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/impls/logruslog"
- "github.com/apache/incubator-devlake/server/api/apikeys"
- "github.com/apache/incubator-devlake/server/api/auth"
- "github.com/apache/incubator-devlake/server/api/store"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/impls/logruslog"
+ "github.com/apache/devlake/server/api/apikeys"
+ "github.com/apache/devlake/server/api/auth"
+ "github.com/apache/devlake/server/api/store"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/server/api/blueprints"
- "github.com/apache/incubator-devlake/server/api/domainlayer"
- "github.com/apache/incubator-devlake/server/api/pipelines"
- "github.com/apache/incubator-devlake/server/api/plugininfo"
- "github.com/apache/incubator-devlake/server/api/project"
- "github.com/apache/incubator-devlake/server/api/push"
- "github.com/apache/incubator-devlake/server/api/shared"
- "github.com/apache/incubator-devlake/server/api/task"
- "github.com/apache/incubator-devlake/server/services"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/server/api/blueprints"
+ "github.com/apache/devlake/server/api/domainlayer"
+ "github.com/apache/devlake/server/api/pipelines"
+ "github.com/apache/devlake/server/api/plugininfo"
+ "github.com/apache/devlake/server/api/project"
+ "github.com/apache/devlake/server/api/push"
+ "github.com/apache/devlake/server/api/shared"
+ "github.com/apache/devlake/server/api/task"
+ "github.com/apache/devlake/server/services"
"github.com/gin-gonic/gin"
)
diff --git a/backend/server/api/shared/api_output.go b/backend/server/api/shared/api_output.go
index 27e114d..cf724d8 100644
--- a/backend/server/api/shared/api_output.go
+++ b/backend/server/api/shared/api_output.go
@@ -20,9 +20,9 @@
import (
"net/http"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models"
- "github.com/apache/incubator-devlake/impls/logruslog"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models"
+ "github.com/apache/devlake/impls/logruslog"
"github.com/gin-gonic/gin"
)
diff --git a/backend/server/api/shared/gin_utils.go b/backend/server/api/shared/gin_utils.go
index c15d0a7..447b65f 100644
--- a/backend/server/api/shared/gin_utils.go
+++ b/backend/server/api/shared/gin_utils.go
@@ -21,7 +21,7 @@
"context"
"net/http"
- "github.com/apache/incubator-devlake/core/models/common"
+ "github.com/apache/devlake/core/models/common"
"github.com/gin-gonic/gin"
)
diff --git a/backend/server/api/store/store.go b/backend/server/api/store/store.go
index 14e78dc..38d6614 100644
--- a/backend/server/api/store/store.go
+++ b/backend/server/api/store/store.go
@@ -21,10 +21,10 @@
"fmt"
"net/http"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models"
- "github.com/apache/incubator-devlake/server/api/shared"
- "github.com/apache/incubator-devlake/server/services"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models"
+ "github.com/apache/devlake/server/api/shared"
+ "github.com/apache/devlake/server/services"
"github.com/gin-gonic/gin"
)
diff --git a/backend/server/api/task/task.go b/backend/server/api/task/task.go
index 594e9d6..883367e 100644
--- a/backend/server/api/task/task.go
+++ b/backend/server/api/task/task.go
@@ -21,10 +21,10 @@
"net/http"
"strconv"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models"
- "github.com/apache/incubator-devlake/server/api/shared"
- "github.com/apache/incubator-devlake/server/services"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models"
+ "github.com/apache/devlake/server/api/shared"
+ "github.com/apache/devlake/server/services"
"github.com/gin-gonic/gin"
)
diff --git a/backend/server/api/version/version.go b/backend/server/api/version/version.go
index 56ff56e..254220b 100644
--- a/backend/server/api/version/version.go
+++ b/backend/server/api/version/version.go
@@ -18,7 +18,7 @@
package version
import (
- "github.com/apache/incubator-devlake/core/version"
+ "github.com/apache/devlake/core/version"
"net/http"
"github.com/gin-gonic/gin"
diff --git a/backend/server/main.go b/backend/server/main.go
index 664eaf0..7a52c65 100644
--- a/backend/server/main.go
+++ b/backend/server/main.go
@@ -18,10 +18,10 @@
package main
import (
- "github.com/apache/incubator-devlake/core/config"
- "github.com/apache/incubator-devlake/core/plugin"
- _ "github.com/apache/incubator-devlake/core/version"
- "github.com/apache/incubator-devlake/server/api"
+ "github.com/apache/devlake/core/config"
+ "github.com/apache/devlake/core/plugin"
+ _ "github.com/apache/devlake/core/version"
+ "github.com/apache/devlake/server/api"
)
func main() {
diff --git a/backend/server/services/apikeys.go b/backend/server/services/apikeys.go
index f1a4990..76619c9 100644
--- a/backend/server/services/apikeys.go
+++ b/backend/server/services/apikeys.go
@@ -18,11 +18,11 @@
package services
import (
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models"
- "github.com/apache/incubator-devlake/core/models/common"
- "github.com/apache/incubator-devlake/helpers/apikeyhelper"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models"
+ "github.com/apache/devlake/core/models/common"
+ "github.com/apache/devlake/helpers/apikeyhelper"
)
// ApiKeysQuery used to query api keys as the api key input
diff --git a/backend/server/services/base.go b/backend/server/services/base.go
index 9872774..64bab6e 100644
--- a/backend/server/services/base.go
+++ b/backend/server/services/base.go
@@ -18,7 +18,7 @@
package services
import (
- "github.com/apache/incubator-devlake/core/errors"
+ "github.com/apache/devlake/core/errors"
)
// Pagination holds the paginate information
diff --git a/backend/server/services/blueprint.go b/backend/server/services/blueprint.go
index 2fb05c3..9f78f57 100644
--- a/backend/server/services/blueprint.go
+++ b/backend/server/services/blueprint.go
@@ -23,13 +23,13 @@
"strings"
"sync"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/services"
+ "github.com/apache/devlake/helpers/pluginhelper/services"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/impls/logruslog"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/impls/logruslog"
"github.com/robfig/cron/v3"
)
diff --git a/backend/server/services/blueprint_makeplan_v200.go b/backend/server/services/blueprint_makeplan_v200.go
index c7c5aaa..e1cf9b2 100644
--- a/backend/server/services/blueprint_makeplan_v200.go
+++ b/backend/server/services/blueprint_makeplan_v200.go
@@ -22,9 +22,9 @@
"fmt"
"strings"
- "github.com/apache/incubator-devlake/core/errors"
- coreModels "github.com/apache/incubator-devlake/core/models"
- "github.com/apache/incubator-devlake/core/plugin"
+ "github.com/apache/devlake/core/errors"
+ coreModels "github.com/apache/devlake/core/models"
+ "github.com/apache/devlake/core/plugin"
)
// GeneratePlanJsonV200 generates pipeline plan according v2.0.0 definition
diff --git a/backend/server/services/blueprint_makeplan_v200_test.go b/backend/server/services/blueprint_makeplan_v200_test.go
index cfd2f49..161f95e 100644
--- a/backend/server/services/blueprint_makeplan_v200_test.go
+++ b/backend/server/services/blueprint_makeplan_v200_test.go
@@ -21,13 +21,13 @@
"encoding/json"
"testing"
- coreModels "github.com/apache/incubator-devlake/core/models"
- "github.com/apache/incubator-devlake/core/models/domainlayer"
- "github.com/apache/incubator-devlake/core/models/domainlayer/code"
- "github.com/apache/incubator-devlake/core/models/domainlayer/ticket"
- "github.com/apache/incubator-devlake/core/plugin"
- mockplugin "github.com/apache/incubator-devlake/mocks/core/plugin"
- "github.com/apache/incubator-devlake/plugins/org/tasks"
+ coreModels "github.com/apache/devlake/core/models"
+ "github.com/apache/devlake/core/models/domainlayer"
+ "github.com/apache/devlake/core/models/domainlayer/code"
+ "github.com/apache/devlake/core/models/domainlayer/ticket"
+ "github.com/apache/devlake/core/plugin"
+ mockplugin "github.com/apache/devlake/mocks/core/plugin"
+ "github.com/apache/devlake/plugins/org/tasks"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/mock"
)
@@ -43,17 +43,17 @@
}
githubOutputPlan := coreModels.PipelinePlan{
{
- {Plugin: githubName, Options: map[string]interface{}{"name": "apache/incubator-devlake"}},
- {Plugin: "gitextractor", Options: map[string]interface{}{"url": "http://gihub.com/apache/incubator-devlake.git"}},
+ {Plugin: githubName, Options: map[string]interface{}{"name": "apache/devlake"}},
+ {Plugin: "gitextractor", Options: map[string]interface{}{"url": "http://gihub.com/apache/devlake.git"}},
},
{
- {Plugin: githubName, Options: map[string]interface{}{"name": "apache/incubator-devlake-website"}},
- {Plugin: "gitextractor", Options: map[string]interface{}{"url": "http://gihub.com/apache/incubator-devlake-website.git"}},
+ {Plugin: githubName, Options: map[string]interface{}{"name": "apache/devlake-website"}},
+ {Plugin: "gitextractor", Options: map[string]interface{}{"url": "http://gihub.com/apache/devlake-website.git"}},
},
}
githubOutputScopes := []plugin.Scope{
- &code.Repo{DomainEntity: domainlayer.DomainEntity{Id: "github:GithubRepo:1:123"}, Name: "apache/incubator-devlake"},
- &ticket.Board{DomainEntity: domainlayer.DomainEntity{Id: "github:GithubRepo:1:123"}, Name: "apache/incubator-devlake"},
+ &code.Repo{DomainEntity: domainlayer.DomainEntity{Id: "github:GithubRepo:1:123"}, Name: "apache/devlake"},
+ &ticket.Board{DomainEntity: domainlayer.DomainEntity{Id: "github:GithubRepo:1:123"}, Name: "apache/devlake"},
}
github := new(mockplugin.CompositeDataSourcePluginBlueprintV200)
github.On("MakeDataSourcePipelinePlanV200", githubConnId, githubScopes).Return(githubOutputPlan, githubOutputScopes, nil)
diff --git a/backend/server/services/blueprint_test.go b/backend/server/services/blueprint_test.go
index f0a6070..d5f80ae 100644
--- a/backend/server/services/blueprint_test.go
+++ b/backend/server/services/blueprint_test.go
@@ -20,7 +20,7 @@
import (
"testing"
- coreModels "github.com/apache/incubator-devlake/core/models"
+ coreModels "github.com/apache/devlake/core/models"
"github.com/stretchr/testify/assert"
)
diff --git a/backend/server/services/dm_code.go b/backend/server/services/dm_code.go
index 4fa4cda..f643b47 100644
--- a/backend/server/services/dm_code.go
+++ b/backend/server/services/dm_code.go
@@ -18,9 +18,9 @@
package services
import (
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/domainlayer/code"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/domainlayer/code"
)
// GetRepos FIXME ...
diff --git a/backend/server/services/init.go b/backend/server/services/init.go
index a4eb334..9bad768 100644
--- a/backend/server/services/init.go
+++ b/backend/server/services/init.go
@@ -21,15 +21,15 @@
"sync"
"time"
- "github.com/apache/incubator-devlake/core/config"
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/log"
- "github.com/apache/incubator-devlake/core/models/migrationscripts"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/core/runner"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/services"
+ "github.com/apache/devlake/core/config"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/log"
+ "github.com/apache/devlake/core/models/migrationscripts"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/core/runner"
+ "github.com/apache/devlake/helpers/pluginhelper/services"
"github.com/go-playground/validator/v10"
"github.com/robfig/cron/v3"
)
diff --git a/backend/server/services/locking.go b/backend/server/services/locking.go
index f663b0c..b729910 100644
--- a/backend/server/services/locking.go
+++ b/backend/server/services/locking.go
@@ -22,10 +22,10 @@
"os"
"time"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models"
- "github.com/apache/incubator-devlake/core/version"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models"
+ "github.com/apache/devlake/core/version"
)
// long last transaction for database locking
diff --git a/backend/server/services/pipeline.go b/backend/server/services/pipeline.go
index f998f36..bc7b6f9 100644
--- a/backend/server/services/pipeline.go
+++ b/backend/server/services/pipeline.go
@@ -31,13 +31,13 @@
"github.com/spf13/cast"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/core/utils"
- "github.com/apache/incubator-devlake/helpers/dbhelper"
- "github.com/apache/incubator-devlake/impls/logruslog"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/core/utils"
+ "github.com/apache/devlake/helpers/dbhelper"
+ "github.com/apache/devlake/impls/logruslog"
"github.com/google/uuid"
"golang.org/x/sync/semaphore"
)
diff --git a/backend/server/services/pipeline_helper.go b/backend/server/services/pipeline_helper.go
index d7da0c3..f3ac386 100644
--- a/backend/server/services/pipeline_helper.go
+++ b/backend/server/services/pipeline_helper.go
@@ -22,10 +22,10 @@
"sync"
"time"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models"
- "github.com/apache/incubator-devlake/helpers/dbhelper"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models"
+ "github.com/apache/devlake/helpers/dbhelper"
)
var createDbPipelineLock sync.Mutex
diff --git a/backend/server/services/pipeline_notification.go b/backend/server/services/pipeline_notification.go
index 5370abc..41541ef 100644
--- a/backend/server/services/pipeline_notification.go
+++ b/backend/server/services/pipeline_notification.go
@@ -18,7 +18,7 @@
package services
import (
- "github.com/apache/incubator-devlake/core/errors"
+ "github.com/apache/devlake/core/errors"
"time"
)
diff --git a/backend/server/services/pipeline_notification_impl.go b/backend/server/services/pipeline_notification_impl.go
index 2a4a096..388e9df 100644
--- a/backend/server/services/pipeline_notification_impl.go
+++ b/backend/server/services/pipeline_notification_impl.go
@@ -22,9 +22,9 @@
"encoding/hex"
"encoding/json"
"fmt"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models"
- "github.com/apache/incubator-devlake/core/utils"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models"
+ "github.com/apache/devlake/core/utils"
"io"
"net/http"
"strings"
diff --git a/backend/server/services/pipeline_runner.go b/backend/server/services/pipeline_runner.go
index 8f7fcd2..578ea09 100644
--- a/backend/server/services/pipeline_runner.go
+++ b/backend/server/services/pipeline_runner.go
@@ -20,12 +20,12 @@
import (
"context"
"fmt"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/log"
- "github.com/apache/incubator-devlake/core/models"
- "github.com/apache/incubator-devlake/core/runner"
- "github.com/apache/incubator-devlake/impls/logruslog"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/log"
+ "github.com/apache/devlake/core/models"
+ "github.com/apache/devlake/core/runner"
+ "github.com/apache/devlake/impls/logruslog"
"time"
)
diff --git a/backend/server/services/pluginapi.go b/backend/server/services/pluginapi.go
index 72c0f79..4bcc348 100644
--- a/backend/server/services/pluginapi.go
+++ b/backend/server/services/pluginapi.go
@@ -18,8 +18,8 @@
package services
import (
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
)
/*
diff --git a/backend/server/services/probes.go b/backend/server/services/probes.go
index c799bc8..2c2cb47 100644
--- a/backend/server/services/probes.go
+++ b/backend/server/services/probes.go
@@ -20,9 +20,9 @@
import (
"time"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models"
)
// Ready returns the readiness status of the service
diff --git a/backend/server/services/project.go b/backend/server/services/project.go
index a1b92b0..3fb8d4f 100644
--- a/backend/server/services/project.go
+++ b/backend/server/services/project.go
@@ -24,11 +24,11 @@
"strings"
"time"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models"
- "github.com/apache/incubator-devlake/core/models/domainlayer/crossdomain"
- helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models"
+ "github.com/apache/devlake/core/models/domainlayer/crossdomain"
+ helper "github.com/apache/devlake/helpers/pluginhelper/api"
)
type ProjectService interface {
diff --git a/backend/server/services/pushapi.go b/backend/server/services/pushapi.go
index 7882b0a..5d9b9cf 100644
--- a/backend/server/services/pushapi.go
+++ b/backend/server/services/pushapi.go
@@ -18,9 +18,9 @@
package services
import (
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/server/services/pushapiaccess"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/server/services/pushapiaccess"
)
// InsertRow FIXME ...
diff --git a/backend/server/services/pushapiaccess/access.go b/backend/server/services/pushapiaccess/access.go
index 40f213b..7cfc32c 100644
--- a/backend/server/services/pushapiaccess/access.go
+++ b/backend/server/services/pushapiaccess/access.go
@@ -21,7 +21,7 @@
"regexp"
"strings"
- "github.com/apache/incubator-devlake/core/errors"
+ "github.com/apache/devlake/core/errors"
)
var tableNameRegex = regexp.MustCompile(`^[a-zA-Z0-9_]+$`)
diff --git a/backend/server/services/remote/bridge/bridge.go b/backend/server/services/remote/bridge/bridge.go
index 727ef7e..825eef4 100644
--- a/backend/server/services/remote/bridge/bridge.go
+++ b/backend/server/services/remote/bridge/bridge.go
@@ -18,9 +18,9 @@
package bridge
import (
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/server/services/remote/models"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/server/services/remote/models"
)
type (
diff --git a/backend/server/services/remote/bridge/cmd.go b/backend/server/services/remote/bridge/cmd.go
index 1f47f94..2a3c9e5 100644
--- a/backend/server/services/remote/bridge/cmd.go
+++ b/backend/server/services/remote/bridge/cmd.go
@@ -23,10 +23,10 @@
"os/exec"
"path"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/log"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/core/utils"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/log"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/core/utils"
)
type CmdInvoker struct {
diff --git a/backend/server/services/remote/bridge/context.go b/backend/server/services/remote/bridge/context.go
index 08393dd..6bc33d7 100644
--- a/backend/server/services/remote/bridge/context.go
+++ b/backend/server/services/remote/bridge/context.go
@@ -20,12 +20,12 @@
import (
"context"
- "github.com/apache/incubator-devlake/core/config"
- ctx "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/log"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/impls/logruslog"
+ "github.com/apache/devlake/core/config"
+ ctx "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/log"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/impls/logruslog"
"github.com/spf13/viper"
)
diff --git a/backend/server/services/remote/bridge/returns.go b/backend/server/services/remote/bridge/returns.go
index 44eed2c..353fdee 100644
--- a/backend/server/services/remote/bridge/returns.go
+++ b/backend/server/services/remote/bridge/returns.go
@@ -20,7 +20,7 @@
import (
"encoding/json"
- "github.com/apache/incubator-devlake/core/errors"
+ "github.com/apache/devlake/core/errors"
)
type (
diff --git a/backend/server/services/remote/init.go b/backend/server/services/remote/init.go
index 5005b3c..69a6e1a 100644
--- a/backend/server/services/remote/init.go
+++ b/backend/server/services/remote/init.go
@@ -20,11 +20,11 @@
import (
"fmt"
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- pluginCore "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/server/services/remote/models"
- remote "github.com/apache/incubator-devlake/server/services/remote/plugin"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ pluginCore "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/server/services/remote/models"
+ remote "github.com/apache/devlake/server/services/remote/plugin"
)
var (
diff --git a/backend/server/services/remote/models/conversion.go b/backend/server/services/remote/models/conversion.go
index 7c44a1b..2aa6257 100644
--- a/backend/server/services/remote/models/conversion.go
+++ b/backend/server/services/remote/models/conversion.go
@@ -24,11 +24,11 @@
"strings"
"time"
- "github.com/apache/incubator-devlake/impls/dalgorm"
+ "github.com/apache/devlake/impls/dalgorm"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models"
- "github.com/apache/incubator-devlake/core/utils"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models"
+ "github.com/apache/devlake/core/utils"
"gorm.io/datatypes"
)
diff --git a/backend/server/services/remote/models/dynamic_domain_scopes.go b/backend/server/services/remote/models/dynamic_domain_scopes.go
index 232c89b..848d5f1 100644
--- a/backend/server/services/remote/models/dynamic_domain_scopes.go
+++ b/backend/server/services/remote/models/dynamic_domain_scopes.go
@@ -21,12 +21,12 @@
"encoding/json"
"fmt"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/domainlayer/code"
- "github.com/apache/incubator-devlake/core/models/domainlayer/codequality"
- "github.com/apache/incubator-devlake/core/models/domainlayer/devops"
- "github.com/apache/incubator-devlake/core/models/domainlayer/ticket"
- "github.com/apache/incubator-devlake/core/plugin"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/domainlayer/code"
+ "github.com/apache/devlake/core/models/domainlayer/codequality"
+ "github.com/apache/devlake/core/models/domainlayer/devops"
+ "github.com/apache/devlake/core/models/domainlayer/ticket"
+ "github.com/apache/devlake/core/plugin"
)
func newScopeByTypeName(typeName string) (plugin.Scope, errors.Error) {
diff --git a/backend/server/services/remote/models/migration.go b/backend/server/services/remote/models/migration.go
index 2dccb7b..077635d 100644
--- a/backend/server/services/remote/models/migration.go
+++ b/backend/server/services/remote/models/migration.go
@@ -20,13 +20,13 @@
import (
"encoding/json"
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models"
- "github.com/apache/incubator-devlake/core/models/common"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models"
+ "github.com/apache/devlake/core/models/common"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
)
type Operation interface {
diff --git a/backend/server/services/remote/models/migrationscripts/azuredevops/azuredevops_20230714_add_raw_data_params.go b/backend/server/services/remote/models/migrationscripts/azuredevops/azuredevops_20230714_add_raw_data_params.go
index aaeb1d0..08a87b1 100644
--- a/backend/server/services/remote/models/migrationscripts/azuredevops/azuredevops_20230714_add_raw_data_params.go
+++ b/backend/server/services/remote/models/migrationscripts/azuredevops/azuredevops_20230714_add_raw_data_params.go
@@ -20,11 +20,11 @@
import (
"encoding/json"
"fmt"
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/migrationhelper"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/migrationhelper"
)
var _ plugin.MigrationScript = (*AddRawDataForScope)(nil)
diff --git a/backend/server/services/remote/models/migrationscripts/azuredevops/azuredevops_20230714_decrypt_azdo_fields.go b/backend/server/services/remote/models/migrationscripts/azuredevops/azuredevops_20230714_decrypt_azdo_fields.go
index d02cb10..019ef82 100644
--- a/backend/server/services/remote/models/migrationscripts/azuredevops/azuredevops_20230714_decrypt_azdo_fields.go
+++ b/backend/server/services/remote/models/migrationscripts/azuredevops/azuredevops_20230714_decrypt_azdo_fields.go
@@ -18,11 +18,11 @@
package azuredevops
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/migrationhelper"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/migrationhelper"
)
var _ plugin.MigrationScript = (*DecryptConnectionFields)(nil)
diff --git a/backend/server/services/remote/models/migrationscripts/azuredevops/azuredevops_20240201_unique_connection_name.go b/backend/server/services/remote/models/migrationscripts/azuredevops/azuredevops_20240201_unique_connection_name.go
index 03f7278..77f1b83 100644
--- a/backend/server/services/remote/models/migrationscripts/azuredevops/azuredevops_20240201_unique_connection_name.go
+++ b/backend/server/services/remote/models/migrationscripts/azuredevops/azuredevops_20240201_unique_connection_name.go
@@ -19,11 +19,11 @@
import (
"fmt"
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/migrationhelper"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models/migrationscripts/archived"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/migrationhelper"
)
var _ plugin.MigrationScript = (*DecryptConnectionFields)(nil)
diff --git a/backend/server/services/remote/models/migrationscripts/register.go b/backend/server/services/remote/models/migrationscripts/register.go
index 454ae4b..a686c8d 100644
--- a/backend/server/services/remote/models/migrationscripts/register.go
+++ b/backend/server/services/remote/models/migrationscripts/register.go
@@ -18,8 +18,8 @@
package migrationscripts
import (
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/server/services/remote/models/migrationscripts/azuredevops"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/server/services/remote/models/migrationscripts/azuredevops"
)
var allMigrations = map[string][]plugin.MigrationScript{
diff --git a/backend/server/services/remote/models/models.go b/backend/server/services/remote/models/models.go
index 58cd39c..ae6f06b 100644
--- a/backend/server/services/remote/models/models.go
+++ b/backend/server/services/remote/models/models.go
@@ -20,10 +20,10 @@
import (
"reflect"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models"
- "github.com/apache/incubator-devlake/core/models/common"
- "github.com/apache/incubator-devlake/core/plugin"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models"
+ "github.com/apache/devlake/core/models/common"
+ "github.com/apache/devlake/core/plugin"
)
type PluginExtension string
diff --git a/backend/server/services/remote/models/plugin_remote.go b/backend/server/services/remote/models/plugin_remote.go
index 9882836..6ea3f22 100644
--- a/backend/server/services/remote/models/plugin_remote.go
+++ b/backend/server/services/remote/models/plugin_remote.go
@@ -18,7 +18,7 @@
package models
import (
- "github.com/apache/incubator-devlake/core/plugin"
+ "github.com/apache/devlake/core/plugin"
)
// RemotePlugin API supported by plugins running in different/remote processes
diff --git a/backend/server/services/remote/plugin/connection_api.go b/backend/server/services/remote/plugin/connection_api.go
index 38c832e..16f4d8d 100644
--- a/backend/server/services/remote/plugin/connection_api.go
+++ b/backend/server/services/remote/plugin/connection_api.go
@@ -22,10 +22,10 @@
"fmt"
"github.com/spf13/cast"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/server/api/shared"
- "github.com/apache/incubator-devlake/server/services/remote/bridge"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/server/api/shared"
+ "github.com/apache/devlake/server/services/remote/bridge"
"net/http"
)
diff --git a/backend/server/services/remote/plugin/default_api.go b/backend/server/services/remote/plugin/default_api.go
index 83ead13..ab9f9a4 100644
--- a/backend/server/services/remote/plugin/default_api.go
+++ b/backend/server/services/remote/plugin/default_api.go
@@ -18,11 +18,11 @@
package plugin
import (
- "github.com/apache/incubator-devlake/core/models"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/server/services/remote/bridge"
- remoteModel "github.com/apache/incubator-devlake/server/services/remote/models"
+ "github.com/apache/devlake/core/models"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/server/services/remote/bridge"
+ remoteModel "github.com/apache/devlake/server/services/remote/models"
)
type pluginAPI struct {
diff --git a/backend/server/services/remote/plugin/doc/open_api.go b/backend/server/services/remote/plugin/doc/open_api.go
index 8a754f9..d3ad0a0 100644
--- a/backend/server/services/remote/plugin/doc/open_api.go
+++ b/backend/server/services/remote/plugin/doc/open_api.go
@@ -25,10 +25,10 @@
"strings"
"text/template"
- "github.com/apache/incubator-devlake/core/config"
+ "github.com/apache/devlake/core/config"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/server/services/remote/models"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/server/services/remote/models"
)
func GenerateOpenApiSpec(pluginInfo *models.PluginInfo) (*string, errors.Error) {
diff --git a/backend/server/services/remote/plugin/init.go b/backend/server/services/remote/plugin/init.go
index 12a2fa9..6040b6e 100644
--- a/backend/server/services/remote/plugin/init.go
+++ b/backend/server/services/remote/plugin/init.go
@@ -18,10 +18,10 @@
package plugin
import (
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/server/services/remote/bridge"
- "github.com/apache/incubator-devlake/server/services/remote/models"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/server/services/remote/bridge"
+ "github.com/apache/devlake/server/services/remote/models"
"github.com/go-playground/validator/v10"
)
diff --git a/backend/server/services/remote/plugin/plugin_extensions.go b/backend/server/services/remote/plugin/plugin_extensions.go
index 5f1f461..74d8750 100644
--- a/backend/server/services/remote/plugin/plugin_extensions.go
+++ b/backend/server/services/remote/plugin/plugin_extensions.go
@@ -20,11 +20,11 @@
import (
"encoding/json"
- "github.com/apache/incubator-devlake/core/errors"
- coreModels "github.com/apache/incubator-devlake/core/models"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/server/services/remote/bridge"
- "github.com/apache/incubator-devlake/server/services/remote/models"
+ "github.com/apache/devlake/core/errors"
+ coreModels "github.com/apache/devlake/core/models"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/server/services/remote/bridge"
+ "github.com/apache/devlake/server/services/remote/models"
)
type (
diff --git a/backend/server/services/remote/plugin/plugin_impl.go b/backend/server/services/remote/plugin/plugin_impl.go
index 2c4b4a4..1cf7683 100644
--- a/backend/server/services/remote/plugin/plugin_impl.go
+++ b/backend/server/services/remote/plugin/plugin_impl.go
@@ -20,16 +20,16 @@
import (
"fmt"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- coreModels "github.com/apache/incubator-devlake/core/models"
- "github.com/apache/incubator-devlake/core/models/common"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/server/services/remote/bridge"
- "github.com/apache/incubator-devlake/server/services/remote/models"
- "github.com/apache/incubator-devlake/server/services/remote/models/migrationscripts"
- "github.com/apache/incubator-devlake/server/services/remote/plugin/doc"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ coreModels "github.com/apache/devlake/core/models"
+ "github.com/apache/devlake/core/models/common"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/server/services/remote/bridge"
+ "github.com/apache/devlake/server/services/remote/models"
+ "github.com/apache/devlake/server/services/remote/models/migrationscripts"
+ "github.com/apache/devlake/server/services/remote/plugin/doc"
)
type (
@@ -223,7 +223,7 @@
// Indeed, DomainIdGenerator uses FindPluginNameBySubPkgPath that returns the name of the first plugin
// whose RootPkgPath is a prefix of the type package path.
// So we forge a fake package path that is not a prefix of any go plugin package path.
- return "github.com/apache/incubator-devlake/services/remote/fakepackages/" + p.name
+ return "github.com/apache/devlake/services/remote/fakepackages/" + p.name
}
func (p *remotePluginImpl) ApiResources() map[string]map[string]plugin.ApiResourceHandler {
diff --git a/backend/server/services/remote/plugin/remote_scope_api.go b/backend/server/services/remote/plugin/remote_scope_api.go
index 200449b..b8f8c7d 100644
--- a/backend/server/services/remote/plugin/remote_scope_api.go
+++ b/backend/server/services/remote/plugin/remote_scope_api.go
@@ -18,13 +18,13 @@
package plugin
import (
- "github.com/apache/incubator-devlake/core/models"
+ "github.com/apache/devlake/core/models"
"net/http"
"strconv"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/server/services/remote/bridge"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/server/services/remote/bridge"
)
type RemoteScopesOutput struct {
diff --git a/backend/server/services/remote/plugin/scope_api.go b/backend/server/services/remote/plugin/scope_api.go
index 78c36f3..03accce 100644
--- a/backend/server/services/remote/plugin/scope_api.go
+++ b/backend/server/services/remote/plugin/scope_api.go
@@ -22,12 +22,12 @@
"sort"
"strings"
- "github.com/apache/incubator-devlake/server/services/remote/models"
+ "github.com/apache/devlake/server/services/remote/models"
"github.com/go-viper/mapstructure/v2"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
)
type request struct {
diff --git a/backend/server/services/remote/plugin/scope_config_api.go b/backend/server/services/remote/plugin/scope_config_api.go
index f3a54fd..c4aced3 100644
--- a/backend/server/services/remote/plugin/scope_config_api.go
+++ b/backend/server/services/remote/plugin/scope_config_api.go
@@ -21,12 +21,12 @@
"net/http"
"strconv"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- coreModels "github.com/apache/incubator-devlake/core/models"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/server/services/remote/models"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ coreModels "github.com/apache/devlake/core/models"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/server/services/remote/models"
)
func (pa *pluginAPI) PostScopeConfigs(input *plugin.ApiResourceInput) (*plugin.ApiResourceOutput, errors.Error) {
diff --git a/backend/server/services/remote/plugin/scope_db_helper.go b/backend/server/services/remote/plugin/scope_db_helper.go
index 5e19f08..e2091c2 100644
--- a/backend/server/services/remote/plugin/scope_db_helper.go
+++ b/backend/server/services/remote/plugin/scope_db_helper.go
@@ -21,12 +21,12 @@
"fmt"
"time"
- "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/server/services/remote/models"
+ "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/server/services/remote/models"
)
type ScopeDatabaseHelperImpl struct {
diff --git a/backend/server/services/remote/run/run.go b/backend/server/services/remote/run/run.go
index d9b2c63..893b678 100644
--- a/backend/server/services/remote/run/run.go
+++ b/backend/server/services/remote/run/run.go
@@ -21,10 +21,10 @@
"encoding/json"
"fmt"
- "github.com/apache/incubator-devlake/core/runner"
- "github.com/apache/incubator-devlake/server/services/remote"
- "github.com/apache/incubator-devlake/server/services/remote/bridge"
- "github.com/apache/incubator-devlake/server/services/remote/models"
+ "github.com/apache/devlake/core/runner"
+ "github.com/apache/devlake/server/services/remote"
+ "github.com/apache/devlake/server/services/remote/bridge"
+ "github.com/apache/devlake/server/services/remote/models"
"github.com/spf13/cobra"
)
diff --git a/backend/server/services/store.go b/backend/server/services/store.go
index 5b4e250..4773601 100644
--- a/backend/server/services/store.go
+++ b/backend/server/services/store.go
@@ -20,9 +20,9 @@
import (
"fmt"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models"
)
func GetStore(storeKey string) (*models.Store, errors.Error) {
diff --git a/backend/server/services/task.go b/backend/server/services/task.go
index a416d88..803a30a 100644
--- a/backend/server/services/task.go
+++ b/backend/server/services/task.go
@@ -23,11 +23,11 @@
"math"
"strings"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/log"
- "github.com/apache/incubator-devlake/core/models"
- "github.com/apache/incubator-devlake/impls/logruslog"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/log"
+ "github.com/apache/devlake/core/models"
+ "github.com/apache/devlake/impls/logruslog"
)
var taskLog = logruslog.Global.Nested("task service")
diff --git a/backend/server/services/task_runner.go b/backend/server/services/task_runner.go
index e9706c6..25f2f0a 100644
--- a/backend/server/services/task_runner.go
+++ b/backend/server/services/task_runner.go
@@ -20,11 +20,11 @@
import (
"context"
"fmt"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/log"
- "github.com/apache/incubator-devlake/core/models"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/core/runner"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/log"
+ "github.com/apache/devlake/core/models"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/core/runner"
"sync"
)
diff --git a/backend/test/e2e/manual/Readme.md b/backend/test/e2e/manual/Readme.md
index 1fea1cf..964e22b 100644
--- a/backend/test/e2e/manual/Readme.md
+++ b/backend/test/e2e/manual/Readme.md
@@ -46,7 +46,7 @@
```go
package azuredevops
-import "github.com/apache/incubator-devlake/test/helper"
+import "github.com/apache/devlake/test/helper"
func init() {
helper.SetTestConfig(TestConfig{
diff --git a/backend/test/e2e/manual/argocd/argocd_test.go b/backend/test/e2e/manual/argocd/argocd_test.go
index 67bc8bf..4de6e41 100644
--- a/backend/test/e2e/manual/argocd/argocd_test.go
+++ b/backend/test/e2e/manual/argocd/argocd_test.go
@@ -21,14 +21,14 @@
"fmt"
"testing"
- "github.com/apache/incubator-devlake/core/config"
- "github.com/apache/incubator-devlake/core/models"
- "github.com/apache/incubator-devlake/core/models/common"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- argocdimpl "github.com/apache/incubator-devlake/plugins/argocd/impl"
- argocdmodels "github.com/apache/incubator-devlake/plugins/argocd/models"
- "github.com/apache/incubator-devlake/test/helper"
+ "github.com/apache/devlake/core/config"
+ "github.com/apache/devlake/core/models"
+ "github.com/apache/devlake/core/models/common"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ argocdimpl "github.com/apache/devlake/plugins/argocd/impl"
+ argocdmodels "github.com/apache/devlake/plugins/argocd/models"
+ "github.com/apache/devlake/test/helper"
"github.com/stretchr/testify/require"
)
diff --git a/backend/test/e2e/manual/azuredevops/azure_test.go b/backend/test/e2e/manual/azuredevops/azure_test.go
index d24c94c..d3cc2b1 100644
--- a/backend/test/e2e/manual/azuredevops/azure_test.go
+++ b/backend/test/e2e/manual/azuredevops/azure_test.go
@@ -24,13 +24,13 @@
"testing"
"time"
- "github.com/apache/incubator-devlake/core/config"
- "github.com/apache/incubator-devlake/core/models"
- "github.com/apache/incubator-devlake/core/models/common"
- "github.com/apache/incubator-devlake/core/plugin"
- gitextractor "github.com/apache/incubator-devlake/plugins/gitextractor/impl"
- pluginmodels "github.com/apache/incubator-devlake/plugins/pagerduty/models"
- "github.com/apache/incubator-devlake/test/helper"
+ "github.com/apache/devlake/core/config"
+ "github.com/apache/devlake/core/models"
+ "github.com/apache/devlake/core/models/common"
+ "github.com/apache/devlake/core/plugin"
+ gitextractor "github.com/apache/devlake/plugins/gitextractor/impl"
+ pluginmodels "github.com/apache/devlake/plugins/pagerduty/models"
+ "github.com/apache/devlake/test/helper"
"github.com/stretchr/testify/require"
)
diff --git a/backend/test/e2e/manual/azuredevops/models.go b/backend/test/e2e/manual/azuredevops/models.go
index e9b83da..87c198a 100644
--- a/backend/test/e2e/manual/azuredevops/models.go
+++ b/backend/test/e2e/manual/azuredevops/models.go
@@ -18,7 +18,7 @@
package azuredevops
import (
- "github.com/apache/incubator-devlake/core/models/common"
+ "github.com/apache/devlake/core/models/common"
)
// These models correspond to Python models
diff --git a/backend/test/e2e/manual/gitlab/gitlab_test.go b/backend/test/e2e/manual/gitlab/gitlab_test.go
index 2b8b5ab..0817879 100644
--- a/backend/test/e2e/manual/gitlab/gitlab_test.go
+++ b/backend/test/e2e/manual/gitlab/gitlab_test.go
@@ -22,15 +22,15 @@
"net/http"
"testing"
- "github.com/apache/incubator-devlake/core/config"
- "github.com/apache/incubator-devlake/core/models"
- "github.com/apache/incubator-devlake/core/models/common"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- gitextractor "github.com/apache/incubator-devlake/plugins/gitextractor/impl"
- gitlab "github.com/apache/incubator-devlake/plugins/gitlab/impl"
- pluginmodels "github.com/apache/incubator-devlake/plugins/gitlab/models"
- "github.com/apache/incubator-devlake/test/helper"
+ "github.com/apache/devlake/core/config"
+ "github.com/apache/devlake/core/models"
+ "github.com/apache/devlake/core/models/common"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ gitextractor "github.com/apache/devlake/plugins/gitextractor/impl"
+ gitlab "github.com/apache/devlake/plugins/gitlab/impl"
+ pluginmodels "github.com/apache/devlake/plugins/gitlab/models"
+ "github.com/apache/devlake/test/helper"
"github.com/stretchr/testify/require"
)
diff --git a/backend/test/e2e/manual/pagerduty/pagerduty_test.go b/backend/test/e2e/manual/pagerduty/pagerduty_test.go
index c0dfc50..a30318c 100644
--- a/backend/test/e2e/manual/pagerduty/pagerduty_test.go
+++ b/backend/test/e2e/manual/pagerduty/pagerduty_test.go
@@ -23,13 +23,13 @@
"testing"
"time"
- "github.com/apache/incubator-devlake/core/config"
- "github.com/apache/incubator-devlake/core/models"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/pagerduty/impl"
- pluginmodels "github.com/apache/incubator-devlake/plugins/pagerduty/models"
- "github.com/apache/incubator-devlake/test/helper"
+ "github.com/apache/devlake/core/config"
+ "github.com/apache/devlake/core/models"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/pagerduty/impl"
+ pluginmodels "github.com/apache/devlake/plugins/pagerduty/models"
+ "github.com/apache/devlake/test/helper"
"github.com/stretchr/testify/require"
)
diff --git a/backend/test/e2e/manual/testmo/testmo_test.go b/backend/test/e2e/manual/testmo/testmo_test.go
index bc3653d..a0cd7fa 100644
--- a/backend/test/e2e/manual/testmo/testmo_test.go
+++ b/backend/test/e2e/manual/testmo/testmo_test.go
@@ -22,13 +22,13 @@
"net/http"
"testing"
- "github.com/apache/incubator-devlake/core/config"
- "github.com/apache/incubator-devlake/core/models"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
- "github.com/apache/incubator-devlake/plugins/testmo/impl"
- pluginmodels "github.com/apache/incubator-devlake/plugins/testmo/models"
- "github.com/apache/incubator-devlake/test/helper"
+ "github.com/apache/devlake/core/config"
+ "github.com/apache/devlake/core/models"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/plugins/testmo/impl"
+ pluginmodels "github.com/apache/devlake/plugins/testmo/models"
+ "github.com/apache/devlake/test/helper"
"github.com/stretchr/testify/require"
)
diff --git a/backend/test/e2e/remote/helper.go b/backend/test/e2e/remote/helper.go
index e94f6a4..c35d8ed 100644
--- a/backend/test/e2e/remote/helper.go
+++ b/backend/test/e2e/remote/helper.go
@@ -25,14 +25,14 @@
"testing"
"time"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/services"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/helpers/pluginhelper/services"
- "github.com/apache/incubator-devlake/core/models"
- "github.com/apache/incubator-devlake/core/plugin"
+ "github.com/apache/devlake/core/models"
+ "github.com/apache/devlake/core/plugin"
"github.com/stretchr/testify/require"
- "github.com/apache/incubator-devlake/test/helper"
+ "github.com/apache/devlake/test/helper"
)
const (
diff --git a/backend/test/e2e/remote/python_plugin_test.go b/backend/test/e2e/remote/python_plugin_test.go
index 8dd9c29..33f80b2 100644
--- a/backend/test/e2e/remote/python_plugin_test.go
+++ b/backend/test/e2e/remote/python_plugin_test.go
@@ -21,9 +21,9 @@
"net/http"
"testing"
- "github.com/apache/incubator-devlake/core/models"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/test/helper"
+ "github.com/apache/devlake/core/models"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/test/helper"
"github.com/stretchr/testify/require"
)
diff --git a/backend/test/e2e/services/pipeline_runner_test.go b/backend/test/e2e/services/pipeline_runner_test.go
index e8a5f66..12a916e 100644
--- a/backend/test/e2e/services/pipeline_runner_test.go
+++ b/backend/test/e2e/services/pipeline_runner_test.go
@@ -21,10 +21,10 @@
"testing"
"time"
- "github.com/apache/incubator-devlake/core/dal"
- "github.com/apache/incubator-devlake/core/models"
- "github.com/apache/incubator-devlake/server/services"
- "github.com/apache/incubator-devlake/test/helper"
+ "github.com/apache/devlake/core/dal"
+ "github.com/apache/devlake/core/models"
+ "github.com/apache/devlake/server/services"
+ "github.com/apache/devlake/test/helper"
"github.com/stretchr/testify/assert"
)
diff --git a/backend/test/e2e/services/server_startup_test.go b/backend/test/e2e/services/server_startup_test.go
index b856513..0d0eaf3 100644
--- a/backend/test/e2e/services/server_startup_test.go
+++ b/backend/test/e2e/services/server_startup_test.go
@@ -20,36 +20,36 @@
import (
"testing"
- "github.com/apache/incubator-devlake/core/plugin"
- ae "github.com/apache/incubator-devlake/plugins/ae/impl"
- bamboo "github.com/apache/incubator-devlake/plugins/bamboo/impl"
- bitbucket "github.com/apache/incubator-devlake/plugins/bitbucket/impl"
- customize "github.com/apache/incubator-devlake/plugins/customize/impl"
- dora "github.com/apache/incubator-devlake/plugins/dora/impl"
- feishu "github.com/apache/incubator-devlake/plugins/feishu/impl"
- gitee "github.com/apache/incubator-devlake/plugins/gitee/impl"
- gitextractor "github.com/apache/incubator-devlake/plugins/gitextractor/impl"
- github "github.com/apache/incubator-devlake/plugins/github/impl"
- githubGraphql "github.com/apache/incubator-devlake/plugins/github_graphql/impl"
- gitlab "github.com/apache/incubator-devlake/plugins/gitlab/impl"
- icla "github.com/apache/incubator-devlake/plugins/icla/impl"
- incidentio "github.com/apache/incubator-devlake/plugins/incidentio/impl"
- jenkins "github.com/apache/incubator-devlake/plugins/jenkins/impl"
- jira "github.com/apache/incubator-devlake/plugins/jira/impl"
- org "github.com/apache/incubator-devlake/plugins/org/impl"
- pagerduty "github.com/apache/incubator-devlake/plugins/pagerduty/impl"
- refdiff "github.com/apache/incubator-devlake/plugins/refdiff/impl"
- rootly "github.com/apache/incubator-devlake/plugins/rootly/impl"
- slack "github.com/apache/incubator-devlake/plugins/slack/impl"
- sonarqube "github.com/apache/incubator-devlake/plugins/sonarqube/impl"
- starrocks "github.com/apache/incubator-devlake/plugins/starrocks/impl"
- tapd "github.com/apache/incubator-devlake/plugins/tapd/impl"
- teambition "github.com/apache/incubator-devlake/plugins/teambition/impl"
- testmo "github.com/apache/incubator-devlake/plugins/testmo/impl"
- trello "github.com/apache/incubator-devlake/plugins/trello/impl"
- webhook "github.com/apache/incubator-devlake/plugins/webhook/impl"
- zentao "github.com/apache/incubator-devlake/plugins/zentao/impl"
- "github.com/apache/incubator-devlake/test/helper"
+ "github.com/apache/devlake/core/plugin"
+ ae "github.com/apache/devlake/plugins/ae/impl"
+ bamboo "github.com/apache/devlake/plugins/bamboo/impl"
+ bitbucket "github.com/apache/devlake/plugins/bitbucket/impl"
+ customize "github.com/apache/devlake/plugins/customize/impl"
+ dora "github.com/apache/devlake/plugins/dora/impl"
+ feishu "github.com/apache/devlake/plugins/feishu/impl"
+ gitee "github.com/apache/devlake/plugins/gitee/impl"
+ gitextractor "github.com/apache/devlake/plugins/gitextractor/impl"
+ github "github.com/apache/devlake/plugins/github/impl"
+ githubGraphql "github.com/apache/devlake/plugins/github_graphql/impl"
+ gitlab "github.com/apache/devlake/plugins/gitlab/impl"
+ icla "github.com/apache/devlake/plugins/icla/impl"
+ incidentio "github.com/apache/devlake/plugins/incidentio/impl"
+ jenkins "github.com/apache/devlake/plugins/jenkins/impl"
+ jira "github.com/apache/devlake/plugins/jira/impl"
+ org "github.com/apache/devlake/plugins/org/impl"
+ pagerduty "github.com/apache/devlake/plugins/pagerduty/impl"
+ refdiff "github.com/apache/devlake/plugins/refdiff/impl"
+ rootly "github.com/apache/devlake/plugins/rootly/impl"
+ slack "github.com/apache/devlake/plugins/slack/impl"
+ sonarqube "github.com/apache/devlake/plugins/sonarqube/impl"
+ starrocks "github.com/apache/devlake/plugins/starrocks/impl"
+ tapd "github.com/apache/devlake/plugins/tapd/impl"
+ teambition "github.com/apache/devlake/plugins/teambition/impl"
+ testmo "github.com/apache/devlake/plugins/testmo/impl"
+ trello "github.com/apache/devlake/plugins/trello/impl"
+ webhook "github.com/apache/devlake/plugins/webhook/impl"
+ zentao "github.com/apache/devlake/plugins/zentao/impl"
+ "github.com/apache/devlake/test/helper"
"github.com/stretchr/testify/require"
)
diff --git a/backend/test/helper/api.go b/backend/test/helper/api.go
index e07c89d..f7e5a95 100644
--- a/backend/test/helper/api.go
+++ b/backend/test/helper/api.go
@@ -24,13 +24,13 @@
"strings"
"time"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/services"
+ "github.com/apache/devlake/helpers/pluginhelper/services"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/models"
- "github.com/apache/incubator-devlake/server/api/blueprints"
- apiProject "github.com/apache/incubator-devlake/server/api/project"
- "github.com/apache/incubator-devlake/server/api/shared"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/models"
+ "github.com/apache/devlake/server/api/blueprints"
+ apiProject "github.com/apache/devlake/server/api/project"
+ "github.com/apache/devlake/server/api/shared"
"github.com/stretchr/testify/require"
)
diff --git a/backend/test/helper/bootstrap.go b/backend/test/helper/bootstrap.go
index 6cf2da3..39777ae 100644
--- a/backend/test/helper/bootstrap.go
+++ b/backend/test/helper/bootstrap.go
@@ -18,10 +18,10 @@
package helper
import (
- "github.com/apache/incubator-devlake/core/config"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/runner"
- "github.com/apache/incubator-devlake/impls/logruslog"
+ "github.com/apache/devlake/core/config"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/runner"
+ "github.com/apache/devlake/impls/logruslog"
)
// InitDB Bootstraps the database by getting rid of all the tables
diff --git a/backend/test/helper/client.go b/backend/test/helper/client.go
index 8e39d6f..750b453 100644
--- a/backend/test/helper/client.go
+++ b/backend/test/helper/client.go
@@ -32,23 +32,23 @@
"testing"
"time"
- "github.com/apache/incubator-devlake/core/dal"
- dora "github.com/apache/incubator-devlake/plugins/dora/impl"
- org "github.com/apache/incubator-devlake/plugins/org/impl"
- refdiff "github.com/apache/incubator-devlake/plugins/refdiff/impl"
+ "github.com/apache/devlake/core/dal"
+ dora "github.com/apache/devlake/plugins/dora/impl"
+ org "github.com/apache/devlake/plugins/org/impl"
+ refdiff "github.com/apache/devlake/plugins/refdiff/impl"
- "github.com/apache/incubator-devlake/core/config"
- corectx "github.com/apache/incubator-devlake/core/context"
- "github.com/apache/incubator-devlake/core/errors"
- "github.com/apache/incubator-devlake/core/log"
- "github.com/apache/incubator-devlake/core/migration"
- "github.com/apache/incubator-devlake/core/models"
- "github.com/apache/incubator-devlake/core/plugin"
- "github.com/apache/incubator-devlake/core/runner"
- contextimpl "github.com/apache/incubator-devlake/impls/context"
- "github.com/apache/incubator-devlake/impls/dalgorm"
- "github.com/apache/incubator-devlake/impls/logruslog"
- "github.com/apache/incubator-devlake/server/api"
+ "github.com/apache/devlake/core/config"
+ corectx "github.com/apache/devlake/core/context"
+ "github.com/apache/devlake/core/errors"
+ "github.com/apache/devlake/core/log"
+ "github.com/apache/devlake/core/migration"
+ "github.com/apache/devlake/core/models"
+ "github.com/apache/devlake/core/plugin"
+ "github.com/apache/devlake/core/runner"
+ contextimpl "github.com/apache/devlake/impls/context"
+ "github.com/apache/devlake/impls/dalgorm"
+ "github.com/apache/devlake/impls/logruslog"
+ "github.com/apache/devlake/server/api"
"github.com/spf13/viper"
"github.com/stretchr/testify/require"
"gorm.io/gorm"
diff --git a/backend/test/helper/client_factory.go b/backend/test/helper/client_factory.go
index cbd58dc..ae140a3 100644
--- a/backend/test/helper/client_factory.go
+++ b/backend/test/helper/client_factory.go
@@ -18,8 +18,8 @@
package helper
import (
- "github.com/apache/incubator-devlake/core/config"
- "github.com/apache/incubator-devlake/core/plugin"
+ "github.com/apache/devlake/core/config"
+ "github.com/apache/devlake/core/plugin"
"testing"
)
diff --git a/backend/test/helper/db_selector.go b/backend/test/helper/db_selector.go
index 9cbe235..9c55f22 100644
--- a/backend/test/helper/db_selector.go
+++ b/backend/test/helper/db_selector.go
@@ -21,7 +21,7 @@
"fmt"
"os"
- "github.com/apache/incubator-devlake/core/config"
+ "github.com/apache/devlake/core/config"
)
// UseMySQL FIXME
diff --git a/backend/test/helper/init.go b/backend/test/helper/init.go
index 8d8559a..390ce40 100644
--- a/backend/test/helper/init.go
+++ b/backend/test/helper/init.go
@@ -18,7 +18,7 @@
package helper
import (
- "github.com/apache/incubator-devlake/core/errors"
+ "github.com/apache/devlake/core/errors"
"os"
"path/filepath"
)
diff --git a/backend/test/helper/models.go b/backend/test/helper/models.go
index 8e0bbbc..83dfc45 100644
--- a/backend/test/helper/models.go
+++ b/backend/test/helper/models.go
@@ -20,10 +20,10 @@
import (
"time"
- "github.com/apache/incubator-devlake/core/config"
- "github.com/apache/incubator-devlake/core/models"
+ "github.com/apache/devlake/core/config"
+ "github.com/apache/devlake/core/models"
- "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
+ "github.com/apache/devlake/helpers/pluginhelper/api"
)
type (
diff --git a/backend/test/helper/utils.go b/backend/test/helper/utils.go
index f1e2288..3fc0c8b 100644
--- a/backend/test/helper/utils.go
+++ b/backend/test/helper/utils.go
@@ -26,7 +26,7 @@
"reflect"
"strings"
- "github.com/apache/incubator-devlake/core/plugin"
+ "github.com/apache/devlake/core/plugin"
)
// IsWSL FIXME
diff --git a/backend/test/init.go b/backend/test/init.go
index cb60aef..5003dd3 100644
--- a/backend/test/init.go
+++ b/backend/test/init.go
@@ -18,8 +18,8 @@
package main
import (
- "github.com/apache/incubator-devlake/core/config"
- "github.com/apache/incubator-devlake/test/helper"
+ "github.com/apache/devlake/core/config"
+ "github.com/apache/devlake/test/helper"
)
func main() {
diff --git a/config-ui/.tool-versions b/config-ui/.tool-versions
new file mode 100644
index 0000000..8f177f8
--- /dev/null
+++ b/config-ui/.tool-versions
@@ -0,0 +1 @@
+nodejs 19.9.0
diff --git a/config-ui/index.html b/config-ui/index.html
index 0fbaec8..9061084 100644
--- a/config-ui/index.html
+++ b/config-ui/index.html
@@ -16,15 +16,15 @@
-->
<!--
-____ _______ __ _ _ _ _______
+____ _______ __ _ _ _ _______
| _ \| ____\ \ / / | | / \ | |/ / ____|
-| | | | _| \ \ / / | | / _ \ | ' /| _|
-| |_| | |___ \ V / | |___ / ___ \| . \| |___
+| | | | _| \ \ / / | | / _ \ | ' /| _|
+| |_| | |___ \ V / | |___ / ___ \| . \| |___
|____/|_____| \_/ |_____/_/ \_\_|\_\_____|
CONFIGURATION-UI
-Link: https://github.com/apache/incubator-devlake
+Link: https://github.com/apache/devlake
-->
<!DOCTYPE html>
diff --git a/config-ui/src/plugins/register/claude-code/config.tsx b/config-ui/src/plugins/register/claude-code/config.tsx
index 2c97200..f37a9aa 100644
--- a/config-ui/src/plugins/register/claude-code/config.tsx
+++ b/config-ui/src/plugins/register/claude-code/config.tsx
@@ -28,7 +28,7 @@
sort: 6.6,
isBeta: true,
connection: {
- docLink: 'https://github.com/apache/incubator-devlake/tree/main/backend/plugins/claude_code',
+ docLink: 'https://github.com/apache/devlake/tree/main/backend/plugins/claude_code',
initialValues: {
endpoint: 'https://api.anthropic.com',
organization: '',
diff --git a/config-ui/src/plugins/register/gh-copilot/config.tsx b/config-ui/src/plugins/register/gh-copilot/config.tsx
index 5382b0f..c12696c 100644
--- a/config-ui/src/plugins/register/gh-copilot/config.tsx
+++ b/config-ui/src/plugins/register/gh-copilot/config.tsx
@@ -28,7 +28,7 @@
sort: 6.5,
isBeta: true,
connection: {
- docLink: 'https://github.com/apache/incubator-devlake/blob/main/backend/plugins/gh-copilot/README.md',
+ docLink: 'https://github.com/apache/devlake/blob/main/backend/plugins/gh-copilot/README.md',
initialValues: {
endpoint: 'https://api.github.com',
organization: '',
diff --git a/config-ui/src/routes/blueprint/detail/components/advanced-editor/example/general.ts b/config-ui/src/routes/blueprint/detail/components/advanced-editor/example/general.ts
index 27574d6..32f5116 100644
--- a/config-ui/src/routes/blueprint/detail/components/advanced-editor/example/general.ts
+++ b/config-ui/src/routes/blueprint/detail/components/advanced-editor/example/general.ts
@@ -42,7 +42,7 @@
{
plugin: 'github',
options: {
- repo: 'incubator-devlake',
+ repo: 'devlake',
owner: 'apache',
connectionId: 1,
},
diff --git a/config-ui/src/routes/blueprint/detail/components/advanced-editor/example/gitextractor.ts b/config-ui/src/routes/blueprint/detail/components/advanced-editor/example/gitextractor.ts
index 97b16d4..042c323 100644
--- a/config-ui/src/routes/blueprint/detail/components/advanced-editor/example/gitextractor.ts
+++ b/config-ui/src/routes/blueprint/detail/components/advanced-editor/example/gitextractor.ts
@@ -21,7 +21,7 @@
{
plugin: 'gitextractor',
options: {
- url: 'https://github.com/apache/incubator-devlake.git',
+ url: 'https://github.com/apache/devlake.git',
repoId: 'github:GithubRepo:384111310',
},
},
diff --git a/config-ui/src/routes/blueprint/detail/components/advanced-editor/example/github.ts b/config-ui/src/routes/blueprint/detail/components/advanced-editor/example/github.ts
index ef265e1..cd69257 100644
--- a/config-ui/src/routes/blueprint/detail/components/advanced-editor/example/github.ts
+++ b/config-ui/src/routes/blueprint/detail/components/advanced-editor/example/github.ts
@@ -21,7 +21,7 @@
{
plugin: 'github',
options: {
- repo: 'incubator-devlake',
+ repo: 'devlake',
owner: 'apache',
connectionId: 1,
},
diff --git a/config-ui/src/routes/error/index.tsx b/config-ui/src/routes/error/index.tsx
index 9e02bf6..fa48c37 100644
--- a/config-ui/src/routes/error/index.tsx
+++ b/config-ui/src/routes/error/index.tsx
@@ -48,7 +48,7 @@
</Button>
<Button
onClick={() =>
- window.open('https://github.com/apache/incubator-devlake', '_blank', 'noopener,noreferrer')
+ window.open('https://github.com/apache/devlake', '_blank', 'noopener,noreferrer')
}
>
Visit GitHub
diff --git a/config-ui/src/routes/layout/config.tsx b/config-ui/src/routes/layout/config.tsx
index 53bb63e..ae6ac5d 100644
--- a/config-ui/src/routes/layout/config.tsx
+++ b/config-ui/src/routes/layout/config.tsx
@@ -110,7 +110,7 @@
icon: <ApiOutlined />,
},
{
- link: 'https://github.com/apache/incubator-devlake',
+ link: 'https://github.com/apache/devlake',
label: 'GitHub',
icon: <GithubOutlined />,
},
diff --git a/config-ui/src/routes/onboard/step-4.tsx b/config-ui/src/routes/onboard/step-4.tsx
index 97d5bd0..c7e32d6 100644
--- a/config-ui/src/routes/onboard/step-4.tsx
+++ b/config-ui/src/routes/onboard/step-4.tsx
@@ -296,7 +296,7 @@
<div className="tip">
Please verify your network connection and ensure your token's rate limits have not been exceeded, then
attempt to collect the data again. Alternatively, you may report the issue by filing a bug on{' '}
- <ExternalLink link="https://github.com/apache/incubator-devlake/issues/new/choose">GitHub</ExternalLink>.
+ <ExternalLink link="https://github.com/apache/devlake/issues/new/choose">GitHub</ExternalLink>.
</div>
<CloseCircleOutlined style={{ fontSize: 120, color: red5 }} />
<div className="action">
diff --git a/grafana/dashboards/mysql/Taiga.json b/grafana/dashboards/mysql/Taiga.json
index 454f627..34accf1 100644
--- a/grafana/dashboards/mysql/Taiga.json
+++ b/grafana/dashboards/mysql/Taiga.json
@@ -65,7 +65,7 @@
{
"targetBlank": true,
"title": "Taiga Plugin",
- "url": "https://github.com/apache/incubator-devlake"
+ "url": "https://github.com/apache/devlake"
}
],
"options": {
diff --git a/grafana/dashboards/postgresql/Taiga.json b/grafana/dashboards/postgresql/Taiga.json
index 39bd23a..042a47d 100644
--- a/grafana/dashboards/postgresql/Taiga.json
+++ b/grafana/dashboards/postgresql/Taiga.json
@@ -65,7 +65,7 @@
{
"targetBlank": true,
"title": "Taiga Plugin",
- "url": "https://github.com/apache/incubator-devlake"
+ "url": "https://github.com/apache/devlake"
}
],
"options": {