From f7428d6874edbab9dbdd66564ec47f3cccf01d66 Mon Sep 17 00:00:00 2001 From: Klesh Wong Date: Wed, 2 Sep 2026 12:42:30 +0800 Subject: [PATCH 1/3] chore: remove incubator prefix --- LICENSE | 8 +- backend/DevelopmentManual.md | 6 +- backend/core/context/basic_res.go | 6 +- backend/core/dal/dal.go | 2 +- backend/core/dal/identifier.go | 2 +- backend/core/domain_tables_info_test.go | 4 +- backend/core/migration/linter/main.go | 18 +-- backend/core/migration/migrator.go | 8 +- backend/core/migration/migrator_test.go | 14 +-- backend/core/models/api_key.go | 2 +- backend/core/models/blueprint.go | 2 +- backend/core/models/common/base.go | 2 +- backend/core/models/common/cst_time_test.go | 2 +- .../core/models/domainlayer/code/commit.go | 4 +- .../models/domainlayer/code/commit_parent.go | 2 +- .../models/domainlayer/code/pull_request.go | 4 +- .../code/pull_request_assignees.go | 2 +- .../domainlayer/code/pull_request_comment.go | 2 +- .../domainlayer/code/pull_request_commit.go | 2 +- .../domainlayer/code/pull_request_labels.go | 2 +- .../code/pull_request_reviewers.go | 2 +- backend/core/models/domainlayer/code/ref.go | 2 +- .../domainlayer/code/refs_pr_cherry_pick.go | 2 +- backend/core/models/domainlayer/code/repo.go | 4 +- .../models/domainlayer/code/repo_commit.go | 2 +- .../codequality/cq_file_metrics.go | 2 +- .../codequality/cq_issue_code_blocks.go | 2 +- .../domainlayer/codequality/cq_issues.go | 4 +- .../codequality/cq_project_metrics_history.go | 2 +- .../domainlayer/codequality/cq_projects.go | 6 +- .../models/domainlayer/crossdomain/account.go | 2 +- .../domainlayer/crossdomain/board_repo.go | 2 +- .../domainlayer/crossdomain/issue_commit.go | 2 +- .../crossdomain/issue_repo_commits.go | 2 +- ...roject_incident_deployment_relationship.go | 2 +- .../crossdomain/project_mapping.go | 2 +- .../crossdomain/project_pr_metric.go | 2 +- .../crossdomain/pull_request_issue.go | 2 +- .../crossdomain/refs_issues_diff.go | 2 +- .../models/domainlayer/crossdomain/team.go | 2 +- .../domainlayer/crossdomain/team_user.go | 2 +- .../models/domainlayer/crossdomain/user.go | 2 +- .../domainlayer/crossdomain/user_account.go | 2 +- .../domainlayer/devops/cicd_deployment.go | 2 +- .../devops/cicd_deployment_commit.go | 2 +- .../domainlayer/devops/cicd_pipeline.go | 2 +- .../devops/cicd_pipeline_commmit.go | 2 +- .../models/domainlayer/devops/cicd_release.go | 2 +- .../models/domainlayer/devops/cicd_scope.go | 4 +- .../models/domainlayer/devops/cicd_task.go | 2 +- .../domainlayer/didgen/domain_id_generator.go | 6 +- .../didgen/domain_id_generator_test.go | 6 +- .../domainlayer/domaininfo/domaininfo.go | 14 +-- .../core/models/domainlayer/domainlayer.go | 2 +- backend/core/models/domainlayer/qa/qa_api.go | 2 +- .../core/models/domainlayer/qa/qa_project.go | 2 +- .../models/domainlayer/qa/qa_test_case.go | 2 +- .../domainlayer/qa/qa_test_case_execution.go | 2 +- .../core/models/domainlayer/ticket/board.go | 6 +- .../models/domainlayer/ticket/board_issue.go | 2 +- .../models/domainlayer/ticket/incident.go | 2 +- .../domainlayer/ticket/incident_assginee.go | 2 +- .../core/models/domainlayer/ticket/issue.go | 2 +- .../domainlayer/ticket/issue_assignee.go | 2 +- .../domainlayer/ticket/issue_changelog.go | 2 +- .../domainlayer/ticket/issue_comment.go | 2 +- .../ticket/issue_custom_array_fields.go | 2 +- .../models/domainlayer/ticket/issue_label.go | 2 +- .../domainlayer/ticket/issue_relationship.go | 2 +- .../core/models/domainlayer/ticket/sprint.go | 4 +- .../core/models/domainlayer/ticket/worklog.go | 2 +- backend/core/models/dynamic_tabler.go | 4 +- .../20220406_add_frame_tables.go | 10 +- .../20220505_rename_pipeline_step_to_stage.go | 6 +- .../20220601_add_subtasks_to_task_table.go | 6 +- .../20220616_add_blueprint_mode.go | 8 +- .../20220622_rename_tasks_to_plan.go | 6 +- .../20220707_reset_domain_tables.go | 10 +- .../20220711_add_subtasks_table.go | 8 +- .../20220722_commitfile_component.go | 10 +- .../20220725_add_project_mapping_table.go | 8 +- .../migrationscripts/20220727_remove_notes.go | 8 +- ...9_rename_columns_of_pull_request_issues.go | 6 +- ...20220801_add_nopkmodel_to_commit_parent.go | 8 +- .../20220818_add_cicd_tables.go | 10 +- ...ame_columns_of_pr_comment_issue_comment.go | 6 +- .../20220829_modify_tables_for_dora.go | 8 +- .../20220830_add_type_field_in_board.go | 6 +- .../20220903_encrypt_blueprint.go | 10 +- .../20220904_encrypt_pipeline.go | 10 +- .../20220905_modify_cicd_pipeline.go | 8 +- .../20220908_modify_cicd_tasks.go | 6 +- .../20220913_add_origin_value_for_pr.go | 6 +- ...0913_add_raw_data_origin_to_board_repos.go | 8 +- .../20220913_fix_commitfile_id_toolong.go | 10 +- .../20220915_rename_pipeline_commits.go | 8 +- .../20220918_commit_line_change.go | 8 +- .../migrationscripts/20220927_add_snapshot.go | 8 +- ...0220929_change_leadtimeminutes_to_int64.go | 12 +- .../20221101_add_collector_state.go | 6 +- .../20221107_add_skip_on_fail.go | 8 +- .../20221107_remove_cicd_pipeline_relation.go | 4 +- .../20221109_add_project_tables.go | 10 +- .../20221109_modify_commits_diffs.go | 8 +- .../20221109_rename_project_metrics.go | 6 +- .../20221111_add_project_pr_metric.go | 8 +- .../migrationscripts/20221115_add_labels.go | 6 +- .../20221117_add_project_to_blueprint.go | 8 +- .../20221120_add_project_issue_metric.go | 8 +- .../20221125_add_collector_state.go | 8 +- .../20221201_add_enable_to_project_metric.go | 8 +- .../20221201_add_project_pr_metric.go | 8 +- ...0221207_add_cicd_scope_drop_builds_jobs.go | 8 +- ...20221215_add_original_project_to_issues.go | 6 +- .../20221221_add_error_name.go | 6 +- .../migrationscripts/20221221_encrypt_task.go | 10 +- .../20221230_add_original_type_to_issue.go | 6 +- .../20230208_add_code_quality.go | 8 +- ...30213_add_time_after_to_collector_state.go | 6 +- .../20230214_issue_storypoint_to_float.go | 10 +- .../20230222_add_commit_sha_index.go | 8 +- .../20230222_add_host_namespace_reponame.go | 8 +- ...e_createddateafter_from_collector_state.go | 6 +- .../20230402_add_issue_assignee.go | 8 +- .../20230405_rename_tap_collector_state.go | 6 +- ...6_rename_cicd_pipeline_commits_repo_url.go | 6 +- ...rename_project_pr_metrict_deployment_id.go | 6 +- ..._add_commit_authored_date_in_pr_commits.go | 8 +- .../20230426_add_cicd_deployment_commits.go | 10 +- ...508_add_original_status_to_pull_request.go | 6 +- .../20230511_add_calendar_months.go | 6 +- ...ange_pull_request_id_type_in_prcomments.go | 10 +- .../20230516_rename_finished_commits_diffs.go | 6 +- ...0517_add_updated_date_to_issue_comments.go | 6 +- .../20230725_add_api_key_tables.go | 10 +- .../20230728_tasks_use_json.go | 10 +- .../20230816_add_issue_relationship_table.go | 8 +- .../20230821_modify_cicd_pipelines_to_text.go | 10 +- .../20230822_drop_tap_state.go | 6 +- .../20230829_normalize_bp_settings.go | 12 +- .../20230831_add_cicd_deployments_table.go | 10 +- .../20230911_add_sync_policy.go | 6 +- .../20230921_add_issue_custom_array_fields.go | 8 +- ...ove_position_from_pull_request_comments.go | 6 +- ...20231115_change_duration_sec_to_float64.go | 10 +- ...inal_status_and_result_to_devops_tables.go | 6 +- ...22_add_some_date_field_in_devops_tables.go | 8 +- ...d_commit_msg_to_cicd_deployment_commits.go | 6 +- ...ued_duration_sec_field_in_devops_tables.go | 8 +- ...31205_modify_issue_original_type_length.go | 6 +- ...add_commit_msg_to_cicd_pipeline_commits.go | 6 +- ...15_modify_issue_leadtimeminutes_to_uint.go | 10 +- .../20240116_modify_fileds_sort.go | 4 +- .../20240117_add_urgency_to_issues.go | 6 +- .../20240124_modify_refs_id_length.go | 12 +- .../20240129_add_original_environment.go | 6 +- .../20240308_add_subtaskname_to_deployment.go | 6 +- .../20240318_add_devlake_store.go | 6 +- .../20240322_add_field_to_subtasks.go | 6 +- ...add_display_title_and_url_to_deployment.go | 8 +- .../20240424_add_subtask_states.go | 6 +- .../20240514_add_cicd_release.go | 8 +- ...20240515_add_commit_sha_to_cicd_release.go | 8 +- ...cicd_deployment_commits_repo_url_length.go | 6 +- ...y_cicd_pipeline_commits_repo_url_length.go | 6 +- ...e_issue_key_type_in_pull_request_issues.go | 8 +- ...lugin_option_in_project_metric_settings.go | 10 +- ...20240531_add_pr_assignees_and_reviewers.go | 8 +- ..._request_id_index_for_pr_comments_table.go | 6 +- ...l_request_id_index_for_pr_commits_table.go | 4 +- ...07_modify_pr_assignees_and_reviewers_id.go | 8 +- ...1_init_incidents_and_incident_assignees.go | 8 +- .../20240621_rename_project_issue_metrics.go | 6 +- .../20240710_add_changes_to_pr.go | 6 +- .../20240710_add_merge_by_to_pr.go | 6 +- .../20240725_add_is_draft_to_pr.go | 6 +- ...31_add_datefields_to_project_pr_metrics.go | 6 +- ...0240731_add_table_scope_id_to_incidents.go | 6 +- .../20240801_add_assignee_id_to_incidents.go | 6 +- .../20240813_add_is_subtask_to_issue.go | 6 +- .../20240813_change_issue_component_type.go | 6 +- .../20240813_increase_project_key_length.go | 6 +- ...20240906_add_is_child_to_cicd_pipelines.go | 6 +- ...0919_increase_cq_issue_component_length.go | 6 +- .../20241010_add_ca_issue_impacts.go | 8 +- .../20250303_add_due_date_to_issues.go | 6 +- .../20250421_create_qa_tables.go | 8 +- .../20250527_extend_field_size_for_cq.go | 6 +- .../20250710_issue_fix_version.go | 6 +- .../20250813_add_pipeline_priority.go | 8 +- .../20251022_fix_null_priority.go | 8 +- ...0260217_modify_cicd_deployments_to_text.go | 10 +- ...d_is_invalid_to_qa_test_case_executions.go | 6 +- ...7_increase_cq_issues_project_key_length.go | 6 +- .../20260426_add_auth_sessions.go | 8 +- ...20260629_change_issue_component_to_text.go | 6 +- ...629_change_issue_component_to_text_test.go | 6 +- ..._cq_issue_code_blocks_component_to_text.go | 6 +- ...20260707_add_cq_project_metrics_history.go | 8 +- .../20260720_add_is_bot_to_accounts.go | 6 +- .../20260722_add_sprint_velocity_fields.go | 6 +- ...818_add_blueprint_id_index_to_pipelines.go | 6 +- .../20260819_expand_text_columns.go | 6 +- .../20260819_expand_text_columns_test.go | 6 +- .../core/models/migrationscripts/register.go | 2 +- backend/core/models/notification.go | 2 +- backend/core/models/pipeline.go | 2 +- backend/core/models/project.go | 2 +- backend/core/models/task.go | 2 +- backend/core/plugin/api_client.go | 2 +- backend/core/plugin/hub.go | 4 +- backend/core/plugin/plugin_api.go | 6 +- backend/core/plugin/plugin_blueprint.go | 14 +-- backend/core/plugin/plugin_datasource.go | 4 +- backend/core/plugin/plugin_init.go | 4 +- backend/core/plugin/plugin_meta.go | 2 +- backend/core/plugin/plugin_metric.go | 2 +- backend/core/plugin/plugin_migration.go | 4 +- backend/core/plugin/plugin_model.go | 2 +- backend/core/plugin/plugin_task.go | 6 +- backend/core/plugin/plugin_utils.go | 4 +- backend/core/plugin/plugin_utils_test.go | 2 +- backend/core/runner/basic_res.go | 14 +-- backend/core/runner/db.go | 8 +- backend/core/runner/directrun.go | 6 +- backend/core/runner/loader.go | 12 +- backend/core/runner/migration.go | 8 +- backend/core/runner/run_pipeline.go | 8 +- backend/core/runner/run_task.go | 22 ++-- backend/core/utils/io.go | 2 +- backend/core/utils/ipc.go | 2 +- backend/core/utils/json.go | 2 +- backend/core/utils/network_helper.go | 2 +- backend/core/utils/strconv.go | 2 +- backend/core/utils/strings.go | 2 +- backend/core/utils/strings_test.go | 2 +- backend/go.mod | 2 +- backend/helpers/apikeyhelper/apikeyhelper.go | 16 +-- backend/helpers/dbhelper/txhelper.go | 8 +- backend/helpers/e2ehelper/data_flow_tester.go | 26 ++--- .../e2ehelper/data_flow_tester_test.go | 10 +- backend/helpers/e2ehelper/migration_db.go | 10 +- .../migrationhelper/migrationhelper.go | 10 +- .../migrationhelper/migrationhelper_test.go | 14 +-- backend/helpers/oidchelper/config.go | 4 +- backend/helpers/oidchelper/config_test.go | 8 +- .../pluginhelper/api/api_async_client.go | 8 +- .../helpers/pluginhelper/api/api_client.go | 10 +- .../pluginhelper/api/api_client_test.go | 4 +- .../helpers/pluginhelper/api/api_collector.go | 8 +- .../pluginhelper/api/api_collector_func.go | 2 +- .../api/api_collector_stateful.go | 4 +- .../pluginhelper/api/api_collector_test.go | 10 +- .../helpers/pluginhelper/api/api_extractor.go | 8 +- .../api/api_extractor_stateful.go | 8 +- .../pluginhelper/api/api_ratelimit_calc.go | 2 +- .../helpers/pluginhelper/api/api_rawdata.go | 4 +- .../api/apihelperabstract/validate.go | 2 +- .../helpers/pluginhelper/api/batch_save.go | 8 +- .../pluginhelper/api/batch_save_divider.go | 10 +- .../api/batch_save_divider_test.go | 8 +- .../api/collector_state_manager.go | 8 +- .../api/collector_state_manager_test.go | 10 +- .../helpers/pluginhelper/api/config_util.go | 4 +- .../pluginhelper/api/config_util_test.go | 2 +- .../helpers/pluginhelper/api/connection.go | 2 +- .../pluginhelper/api/connection_auths.go | 6 +- .../pluginhelper/api/connection_helper.go | 18 +-- .../pluginhelper/api/data_convertor.go | 6 +- .../api/data_convertor_stateful.go | 6 +- .../helpers/pluginhelper/api/data_enricher.go | 8 +- .../api/ds_connection_api_helper.go | 10 +- backend/helpers/pluginhelper/api/ds_helper.go | 6 +- .../api/ds_remote_api_proxy_api.go | 6 +- .../api/ds_remote_api_scope_list_helper.go | 6 +- .../api/ds_remote_api_scope_search_helper.go | 8 +- .../pluginhelper/api/ds_scope_api_helper.go | 14 +-- .../api/ds_scope_config_api_helper.go | 10 +- .../pluginhelper/api/enrich_with_regex.go | 2 +- .../pluginhelper/api/graphql_async_client.go | 8 +- .../pluginhelper/api/graphql_collector.go | 6 +- .../api/issue_repo_commit_convertor.go | 2 +- .../api/issue_repo_commit_convertor_test.go | 18 +-- backend/helpers/pluginhelper/api/iterator.go | 4 +- .../helpers/pluginhelper/api/mapstructure.go | 6 +- .../pluginhelper/api/mapstructure_test.go | 2 +- .../helpers/pluginhelper/api/misc_helpers.go | 6 +- .../pluginhelper/api/model_api_helper.go | 14 +-- .../models/ds_remote_api_scope_list_entry.go | 2 +- .../helpers/pluginhelper/api/pipeline_plan.go | 10 +- .../pluginhelper/api/pipeline_plan_test.go | 2 +- .../pluginhelper/api/reflection_helper.go | 2 +- .../pluginhelper/api/remote_api_helper.go | 8 +- .../pluginhelper/api/scope_config_helper.go | 14 +-- .../pluginhelper/api/scope_db_helper.go | 8 +- .../pluginhelper/api/scope_generic_helper.go | 20 ++-- .../helpers/pluginhelper/api/scope_helper.go | 8 +- .../pluginhelper/api/scope_helper_test.go | 10 +- .../pluginhelper/api/subtask_state_manager.go | 10 +- .../api/subtask_state_manager_test.go | 8 +- .../pluginhelper/api/worker_scheduler.go | 4 +- .../pluginhelper/api/worker_scheduler_test.go | 4 +- .../helpers/pluginhelper/csv_file_iterator.go | 2 +- .../helpers/pluginhelper/csv_file_writer.go | 2 +- .../pluginhelper/services/blueprint_helper.go | 10 +- .../subtaskmeta/sorter/interface.go | 4 +- .../subtaskmeta/sorter/subtask.go | 4 +- .../subtaskmeta/sorter/subtask_test.go | 2 +- .../pluginhelper/subtaskmeta/sorter/table.go | 4 +- .../subtaskmeta/sorter/table_test.go | 4 +- .../srvhelper/connection_service_helper.go | 10 +- backend/helpers/srvhelper/dsrefs.go | 2 +- .../helpers/srvhelper/model_service_helper.go | 12 +- .../srvhelper/scope_config_service_helper.go | 10 +- .../helpers/srvhelper/scope_service_helper.go | 12 +- .../srvhelper/scope_service_helper_test.go | 4 +- backend/helpers/unithelper/dummy_baesres.go | 4 +- backend/helpers/unithelper/dummy_logger.go | 2 +- .../unithelper/dummy_subtaskcontext.go | 4 +- .../helpers/unithelper/table_info_checker.go | 4 +- backend/helpers/utils/field.go | 2 +- backend/helpers/utils/mapstructure.go | 6 +- backend/helpers/utils/mapstructure_test.go | 4 +- backend/impls/context/default_basic_res.go | 8 +- backend/impls/context/default_exec_context.go | 4 +- .../impls/context/default_subtask_context.go | 6 +- backend/impls/context/default_task_context.go | 8 +- backend/impls/dalgorm/dalgorm.go | 8 +- backend/impls/dalgorm/dalgorm_transaction.go | 4 +- backend/impls/dalgorm/db_mapper.go | 2 +- backend/impls/dalgorm/encdec_serializer.go | 4 +- backend/impls/logruslog/init.go | 6 +- backend/impls/logruslog/logger.go | 4 +- backend/impls/logruslog/stream.go | 2 +- backend/impls/logruslog/utils.go | 4 +- backend/plugins/ae/ae.go | 4 +- backend/plugins/ae/api/connection.go | 10 +- backend/plugins/ae/api/init.go | 6 +- backend/plugins/ae/e2e/commit_test.go | 10 +- backend/plugins/ae/e2e/project_test.go | 8 +- backend/plugins/ae/impl/impl.go | 20 ++-- backend/plugins/ae/models/commit.go | 2 +- backend/plugins/ae/models/connection.go | 6 +- .../20220714_add_init_tables.go | 12 +- .../migrationscripts/archived/commit.go | 2 +- .../migrationscripts/archived/project.go | 2 +- .../ae/models/migrationscripts/register.go | 2 +- backend/plugins/ae/models/project.go | 2 +- backend/plugins/ae/tasks/api_client.go | 8 +- backend/plugins/ae/tasks/commits_collector.go | 6 +- backend/plugins/ae/tasks/commits_convertor.go | 8 +- backend/plugins/ae/tasks/commits_extractor.go | 8 +- backend/plugins/ae/tasks/project_collector.go | 6 +- backend/plugins/ae/tasks/project_extractor.go | 8 +- backend/plugins/ae/tasks/task_data.go | 2 +- backend/plugins/argocd/api/blueprint_v200.go | 22 ++-- backend/plugins/argocd/api/connection_api.go | 10 +- backend/plugins/argocd/api/init.go | 8 +- backend/plugins/argocd/api/remote_api.go | 10 +- backend/plugins/argocd/api/scope_api.go | 4 +- .../plugins/argocd/api/scope_config_api.go | 4 +- backend/plugins/argocd/argocd.go | 4 +- backend/plugins/argocd/impl/impl.go | 20 ++-- backend/plugins/argocd/models/application.go | 4 +- .../plugins/argocd/models/application_test.go | 2 +- backend/plugins/argocd/models/connection.go | 4 +- .../plugins/argocd/models/connection_test.go | 2 +- .../20250101_add_init_tables.go | 10 +- .../20251102_add_image_support.go | 10 +- ...0260331_add_repo_url_to_sync_operations.go | 6 +- .../migrationscripts/archived/models.go | 2 +- .../models/migrationscripts/register.go | 2 +- .../plugins/argocd/models/revision_image.go | 2 +- backend/plugins/argocd/models/scope_config.go | 2 +- .../plugins/argocd/models/sync_operation.go | 2 +- backend/plugins/argocd/tasks/api_client.go | 8 +- .../argocd/tasks/application_collector.go | 8 +- .../argocd/tasks/application_convertor.go | 16 +-- .../tasks/application_convertor_test.go | 2 +- .../argocd/tasks/application_extractor.go | 8 +- backend/plugins/argocd/tasks/register.go | 12 +- .../argocd/tasks/sync_operation_collector.go | 8 +- .../argocd/tasks/sync_operation_convertor.go | 16 +-- .../tasks/sync_operation_convertor_test.go | 6 +- .../argocd/tasks/sync_operation_extractor.go | 12 +- backend/plugins/argocd/tasks/task_data.go | 6 +- .../plugins/argocd/tasks/task_data_test.go | 2 +- backend/plugins/asana/api/blueprint_v200.go | 20 ++-- backend/plugins/asana/api/connection_api.go | 10 +- backend/plugins/asana/api/init.go | 8 +- backend/plugins/asana/api/remote_api.go | 10 +- backend/plugins/asana/api/scope_api.go | 8 +- backend/plugins/asana/api/scope_config_api.go | 4 +- backend/plugins/asana/api/swagger.go | 2 +- backend/plugins/asana/asana.go | 4 +- backend/plugins/asana/e2e/project_test.go | 12 +- backend/plugins/asana/e2e/task_test.go | 10 +- backend/plugins/asana/impl/impl.go | 22 ++-- backend/plugins/asana/models/connection.go | 6 +- backend/plugins/asana/models/custom_field.go | 2 +- backend/plugins/asana/models/membership.go | 2 +- .../20250203_add_init_tables.go | 8 +- .../20250212_add_missing_tables.go | 8 +- ...0212_add_scope_config_issue_type_fields.go | 6 +- ...20250212_add_task_transformation_fields.go | 6 +- .../20250212_add_user_photo_url.go | 6 +- ...0219_add_connection_id_to_scope_configs.go | 6 +- ...20260509000001_encrypt_connection_token.go | 8 +- .../migrationscripts/archived/models.go | 2 +- .../asana/models/migrationscripts/register.go | 2 +- backend/plugins/asana/models/project.go | 4 +- backend/plugins/asana/models/scope_config.go | 2 +- backend/plugins/asana/models/section.go | 2 +- backend/plugins/asana/models/story.go | 2 +- backend/plugins/asana/models/tag.go | 2 +- backend/plugins/asana/models/task.go | 2 +- backend/plugins/asana/models/team.go | 2 +- backend/plugins/asana/models/user.go | 2 +- backend/plugins/asana/models/workspace.go | 2 +- backend/plugins/asana/tasks/api_client.go | 8 +- .../plugins/asana/tasks/project_collector.go | 8 +- .../plugins/asana/tasks/project_convertor.go | 16 +-- .../plugins/asana/tasks/project_extractor.go | 8 +- .../plugins/asana/tasks/section_collector.go | 8 +- .../plugins/asana/tasks/section_extractor.go | 8 +- .../plugins/asana/tasks/story_collector.go | 10 +- .../plugins/asana/tasks/story_convertor.go | 16 +-- .../plugins/asana/tasks/story_extractor.go | 8 +- .../plugins/asana/tasks/subtask_collector.go | 10 +- .../plugins/asana/tasks/subtask_extractor.go | 8 +- backend/plugins/asana/tasks/tag_collector.go | 10 +- backend/plugins/asana/tasks/tag_extractor.go | 8 +- backend/plugins/asana/tasks/task_collector.go | 8 +- backend/plugins/asana/tasks/task_convertor.go | 16 +-- backend/plugins/asana/tasks/task_data.go | 6 +- backend/plugins/asana/tasks/task_extractor.go | 8 +- backend/plugins/asana/tasks/user_collector.go | 8 +- backend/plugins/asana/tasks/user_convertor.go | 16 +-- backend/plugins/asana/tasks/user_extractor.go | 8 +- .../azuredevops_go/api/azuredevops/client.go | 8 +- .../api/azuredevops/client_onprem_test.go | 4 +- .../api/azuredevops/client_test.go | 4 +- .../azuredevops_go/api/blueprint_v200.go | 24 ++-- .../azuredevops_go/api/blueprint_v200_test.go | 18 +-- .../azuredevops_go/api/connection_api.go | 12 +- backend/plugins/azuredevops_go/api/init.go | 8 +- .../plugins/azuredevops_go/api/remote_api.go | 8 +- .../azuredevops_go/api/remote_helper.go | 21 ++-- .../plugins/azuredevops_go/api/scope_api.go | 8 +- .../azuredevops_go/api/scope_config_api.go | 4 +- backend/plugins/azuredevops_go/api/swagger.go | 2 +- backend/plugins/azuredevops_go/azuredevops.go | 4 +- .../plugins/azuredevops_go/e2e/build_test.go | 14 +-- .../azuredevops_go/e2e/pr_commit_test.go | 12 +- backend/plugins/azuredevops_go/e2e/pr_test.go | 12 +- .../plugins/azuredevops_go/e2e/repo_test.go | 14 +-- .../e2e/timeline_records_test.go | 12 +- backend/plugins/azuredevops_go/impl/impl.go | 30 ++--- .../plugins/azuredevops_go/models/build.go | 2 +- .../plugins/azuredevops_go/models/commit.go | 2 +- .../azuredevops_go/models/connection.go | 8 +- .../20240211_add_init_tables.go | 8 +- .../20240413_add_remote_repo_support.go | 8 +- .../20260722_add_endpoint_to_azuredevops.go | 6 +- .../20260726_add_username_to_azuredevops.go | 6 +- .../models/migrationscripts/archived/build.go | 2 +- .../migrationscripts/archived/commit.go | 2 +- .../migrationscripts/archived/connection.go | 2 +- .../models/migrationscripts/archived/pr.go | 2 +- .../migrationscripts/archived/pr_commit.go | 2 +- .../migrationscripts/archived/pr_label.go | 2 +- .../models/migrationscripts/archived/repo.go | 2 +- .../migrationscripts/archived/repo_commit.go | 2 +- .../migrationscripts/archived/scope_config.go | 2 +- .../archived/timeline_record.go | 2 +- .../models/migrationscripts/archived/user.go | 2 +- .../models/migrationscripts/register.go | 2 +- backend/plugins/azuredevops_go/models/pr.go | 2 +- .../azuredevops_go/models/pr_commit.go | 2 +- .../plugins/azuredevops_go/models/pr_label.go | 2 +- .../plugins/azuredevops_go/models/project.go | 4 +- backend/plugins/azuredevops_go/models/repo.go | 4 +- .../azuredevops_go/models/repo_commit.go | 2 +- .../azuredevops_go/models/scope_config.go | 4 +- .../azuredevops_go/models/timeline_record.go | 2 +- backend/plugins/azuredevops_go/models/user.go | 2 +- .../azuredevops_go/tasks/account_collector.go | 6 +- .../azuredevops_go/tasks/account_converter.go | 16 +-- .../azuredevops_go/tasks/account_extractor.go | 8 +- .../azuredevops_go/tasks/api_client.go | 8 +- .../tasks/ci_cd_build_collector.go | 8 +- .../tasks/ci_cd_build_converter.go | 16 +-- .../tasks/ci_cd_build_extractor.go | 8 +- .../tasks/ci_cd_timeline_records_collector.go | 10 +- .../tasks/ci_cd_timeline_records_converter.go | 16 +-- .../tasks/ci_cd_timeline_records_extractor.go | 8 +- .../azuredevops_go/tasks/commit_collector.go | 6 +- .../azuredevops_go/tasks/commit_converter.go | 14 +-- .../azuredevops_go/tasks/commit_extractor.go | 10 +- .../azuredevops_go/tasks/pr_collector.go | 6 +- .../tasks/pr_commit_collector.go | 10 +- .../tasks/pr_commit_converter.go | 14 +-- .../tasks/pr_commit_extractor.go | 8 +- .../azuredevops_go/tasks/pr_converter.go | 16 +-- .../azuredevops_go/tasks/pr_extractor.go | 10 +- .../tasks/pr_label_converter.go | 14 +-- .../plugins/azuredevops_go/tasks/register.go | 2 +- .../azuredevops_go/tasks/repo_converter.go | 18 +-- .../plugins/azuredevops_go/tasks/shared.go | 8 +- .../azuredevops_go/tasks/shared_test.go | 2 +- .../plugins/azuredevops_go/tasks/task_data.go | 6 +- backend/plugins/bamboo/api/blueprint_v200.go | 18 +-- backend/plugins/bamboo/api/connection_api.go | 10 +- backend/plugins/bamboo/api/init.go | 8 +- backend/plugins/bamboo/api/remote_api.go | 10 +- backend/plugins/bamboo/api/scope_api.go | 8 +- .../plugins/bamboo/api/scope_config_api.go | 4 +- backend/plugins/bamboo/api/scope_state_api.go | 4 +- backend/plugins/bamboo/bamboo.go | 4 +- .../plugins/bamboo/e2e/deploy_build_test.go | 14 +-- backend/plugins/bamboo/e2e/deploy_test.go | 8 +- backend/plugins/bamboo/e2e/job_build_test.go | 14 +-- backend/plugins/bamboo/e2e/job_test.go | 8 +- .../bamboo/e2e/plan_build_commits_test.go | 12 +- backend/plugins/bamboo/e2e/plan_build_test.go | 14 +-- backend/plugins/bamboo/e2e/plan_test.go | 12 +- backend/plugins/bamboo/impl/impl.go | 24 ++-- backend/plugins/bamboo/models/connection.go | 6 +- backend/plugins/bamboo/models/deploy.go | 2 +- backend/plugins/bamboo/models/deploy_build.go | 2 +- backend/plugins/bamboo/models/job.go | 2 +- backend/plugins/bamboo/models/job_build.go | 2 +- .../20230309_add_init_tables.go | 8 +- ...d_connection_id_to_transformation_rules.go | 10 +- .../20230419_add_type_and_environment.go | 6 +- .../migrationscripts/20230518_scope_config.go | 6 +- ...20230630_add_raw_param_table_for_scopes.go | 10 +- .../20230725_add_scopeConfigId_to_plan.go | 6 +- .../20230801_add_env_name_pattern.go | 6 +- .../20230807_add_plan_result_key.go | 8 +- ...230919_rename_tool_bamboo_deploy_builds.go | 6 +- ..._rename_tool_bamboo_deploy_environments.go | 6 +- .../20230920_rename_raw_tables.go | 6 +- .../20231121_add_missing_primary_key.go | 8 +- ...0231128_add_queued_fields_in_job_builds.go | 6 +- .../20240411_add_link_href_to_plan_build.go | 6 +- .../migrationscripts/archived/deploy.go | 2 +- .../migrationscripts/archived/deploy_build.go | 2 +- .../models/migrationscripts/archived/job.go | 2 +- .../migrationscripts/archived/job_build.go | 2 +- .../models/migrationscripts/archived/plan.go | 2 +- .../migrationscripts/archived/plan_build.go | 2 +- .../archived/plan_build_commit.go | 2 +- .../migrationscripts/archived/project.go | 2 +- .../archived/transformation_rule.go | 2 +- .../models/migrationscripts/register.go | 2 +- backend/plugins/bamboo/models/plan.go | 4 +- backend/plugins/bamboo/models/plan_build.go | 2 +- .../bamboo/models/plan_build_commit.go | 2 +- backend/plugins/bamboo/models/scope_config.go | 2 +- backend/plugins/bamboo/tasks/api_client.go | 8 +- .../bamboo/tasks/deploy_build_collector.go | 10 +- .../bamboo/tasks/deploy_build_extractor.go | 8 +- ...oy_build_to_deployment_commit_convertor.go | 18 +-- .../deploy_build_to_deployment_convertor.go | 16 +-- .../plugins/bamboo/tasks/deploy_collector.go | 6 +- .../plugins/bamboo/tasks/deploy_extractor.go | 8 +- .../bamboo/tasks/job_build_collector.go | 10 +- .../bamboo/tasks/job_build_convertor.go | 16 +-- .../bamboo/tasks/job_build_extractor.go | 10 +- backend/plugins/bamboo/tasks/job_collector.go | 8 +- backend/plugins/bamboo/tasks/job_extractor.go | 8 +- .../bamboo/tasks/plan_build_collector.go | 6 +- .../bamboo/tasks/plan_build_convertor.go | 16 +-- .../bamboo/tasks/plan_build_extractor.go | 10 +- .../bamboo/tasks/plan_commit_convertor.go | 14 +-- .../plugins/bamboo/tasks/plan_convertor.go | 16 +-- backend/plugins/bamboo/tasks/shared.go | 8 +- backend/plugins/bamboo/tasks/task_data.go | 6 +- .../plugins/bitbucket/api/blueprint_v200.go | 26 ++--- .../bitbucket/api/blueprint_v200_test.go | 14 +-- .../plugins/bitbucket/api/connection_api.go | 10 +- .../bitbucket/api/connection_api_test.go | 6 +- backend/plugins/bitbucket/api/init.go | 8 +- backend/plugins/bitbucket/api/remote_api.go | 10 +- .../plugins/bitbucket/api/remote_api_test.go | 4 +- backend/plugins/bitbucket/api/scope_api.go | 8 +- .../plugins/bitbucket/api/scope_config_api.go | 4 +- .../bitbucket/api/scope_duplicates_api.go | 6 +- .../api/scope_duplicates_api_test.go | 2 +- .../plugins/bitbucket/api/scope_state_api.go | 4 +- backend/plugins/bitbucket/bitbucket.go | 4 +- backend/plugins/bitbucket/e2e/account_test.go | 12 +- backend/plugins/bitbucket/e2e/comment_test.go | 12 +- .../plugins/bitbucket/e2e/deployments_test.go | 10 +- backend/plugins/bitbucket/e2e/issue_test.go | 12 +- .../bitbucket/e2e/pipeline_steps_test.go | 12 +- .../plugins/bitbucket/e2e/pipelines_test.go | 12 +- .../plugins/bitbucket/e2e/pr_commit_test.go | 12 +- backend/plugins/bitbucket/e2e/pr_test.go | 10 +- backend/plugins/bitbucket/e2e/repo_test.go | 18 +-- backend/plugins/bitbucket/impl/impl.go | 24 ++-- backend/plugins/bitbucket/models/account.go | 2 +- backend/plugins/bitbucket/models/commit.go | 2 +- .../plugins/bitbucket/models/connection.go | 6 +- .../bitbucket/models/connection_test.go | 2 +- .../plugins/bitbucket/models/deployment.go | 2 +- backend/plugins/bitbucket/models/issue.go | 2 +- .../plugins/bitbucket/models/issue_comment.go | 2 +- .../20220803_add_init_tables.go | 8 +- .../20220914_add_pipeline_tables.go | 6 +- .../20221008_add_prcommits_tables.go | 6 +- .../20221013_add_deployment_tables.go | 6 +- ..._RepoId_CommitSha_field_pipeline_tables.go | 4 +- .../20230206_add_scope_and_transformation.go | 10 +- .../20230215_add_pipeline_step.go | 8 +- ...d_connection_id_to_transformation_rules.go | 8 +- ...30410_add_type_env_to_pipeline_and_step.go | 6 +- ...11_add_RepoId_field_pipelinestep_tables.go | 6 +- .../20230417_add_repo_id_to_pr.go | 8 +- .../20230420_add_pr_commit_author_info.go | 8 +- .../migrationscripts/20230525_scope_config.go | 6 +- ...20230630_add_raw_param_table_for_scopes.go | 10 +- .../20231025_add_build_number_to_pipelines.go | 6 +- ...rimary_key_for_bitbucket_pipeline_steps.go | 8 +- .../20240717_add_merge_by_to_pr.go | 6 +- .../20240813_change_issue_component_type.go | 6 +- .../20251001_add_api_token_auth.go | 8 +- .../20251226_add_pr_reviewer_table.go | 8 +- .../migrationscripts/archived/account.go | 2 +- .../migrationscripts/archived/commit.go | 2 +- .../migrationscripts/archived/connection.go | 2 +- .../migrationscripts/archived/deployment.go | 2 +- .../models/migrationscripts/archived/issue.go | 2 +- .../archived/issue_comment.go | 2 +- .../migrationscripts/archived/pipeline.go | 2 +- .../archived/pipeline_step.go | 2 +- .../models/migrationscripts/archived/pr.go | 2 +- .../migrationscripts/archived/pr_comment.go | 2 +- .../migrationscripts/archived/pr_commit.go | 2 +- .../models/migrationscripts/archived/repo.go | 2 +- .../migrationscripts/archived/repo_commit.go | 2 +- .../archived/transformation_rule.go | 2 +- .../models/migrationscripts/register.go | 2 +- backend/plugins/bitbucket/models/pipeline.go | 2 +- .../plugins/bitbucket/models/pipeline_step.go | 2 +- backend/plugins/bitbucket/models/pr.go | 2 +- .../plugins/bitbucket/models/pr_comment.go | 2 +- backend/plugins/bitbucket/models/pr_commit.go | 2 +- .../plugins/bitbucket/models/pr_reviewer.go | 2 +- backend/plugins/bitbucket/models/repo.go | 4 +- .../plugins/bitbucket/models/repo_commit.go | 2 +- .../plugins/bitbucket/models/scope_config.go | 2 +- .../bitbucket/tasks/account_convertor.go | 16 +-- .../bitbucket/tasks/account_extractor.go | 4 +- backend/plugins/bitbucket/tasks/api_client.go | 8 +- backend/plugins/bitbucket/tasks/api_common.go | 8 +- .../bitbucket/tasks/api_common_test.go | 2 +- .../bitbucket/tasks/commit_collector.go | 6 +- .../bitbucket/tasks/commit_convertor.go | 14 +-- .../bitbucket/tasks/commit_extractor.go | 8 +- .../bitbucket/tasks/deployment_collector.go | 6 +- .../bitbucket/tasks/deployment_convertor.go | 16 +-- .../bitbucket/tasks/deployment_extractor.go | 8 +- .../bitbucket/tasks/issue_collector.go | 6 +- .../tasks/issue_comment_collector.go | 6 +- .../tasks/issue_comment_convertor.go | 16 +-- .../tasks/issue_comment_extractor.go | 8 +- .../bitbucket/tasks/issue_convertor.go | 16 +-- .../bitbucket/tasks/issue_extractor.go | 10 +- .../bitbucket/tasks/pipeline_collector.go | 6 +- .../bitbucket/tasks/pipeline_convertor.go | 16 +-- .../bitbucket/tasks/pipeline_extractor.go | 12 +- .../tasks/pipeline_steps_collector.go | 6 +- .../tasks/pipeline_steps_convertor.go | 16 +-- .../tasks/pipeline_steps_extractor.go | 10 +- .../plugins/bitbucket/tasks/pr_collector.go | 6 +- .../bitbucket/tasks/pr_comment_collector.go | 6 +- .../bitbucket/tasks/pr_comment_convertor.go | 16 +-- .../bitbucket/tasks/pr_comment_extractor.go | 8 +- .../bitbucket/tasks/pr_commit_collector.go | 6 +- .../bitbucket/tasks/pr_commit_convertor.go | 14 +-- .../bitbucket/tasks/pr_commit_extractor.go | 8 +- .../plugins/bitbucket/tasks/pr_convertor.go | 16 +-- .../plugins/bitbucket/tasks/pr_extractor.go | 10 +- .../bitbucket/tasks/pr_reviewer_convertor.go | 14 +-- .../plugins/bitbucket/tasks/repo_convertor.go | 20 ++-- backend/plugins/bitbucket/tasks/task_data.go | 6 +- .../bitbucket_server/api/blueprint_v200.go | 26 ++--- .../bitbucket_server/api/connection.go | 10 +- backend/plugins/bitbucket_server/api/init.go | 8 +- .../bitbucket_server/api/remote_api.go | 10 +- .../plugins/bitbucket_server/api/scope_api.go | 8 +- .../bitbucket_server/api/scope_config_api.go | 4 +- .../bitbucket_server/api/scope_state_api.go | 4 +- .../bitbucket_server/bitbucket_server.go | 4 +- .../bitbucket_server/e2e/pr_commit_test.go | 12 +- .../plugins/bitbucket_server/e2e/pr_test.go | 10 +- backend/plugins/bitbucket_server/impl/impl.go | 22 ++-- .../bitbucket_server/models/connection.go | 4 +- .../20240115_add_init_tables.go | 8 +- .../migrationscripts/archived/connection.go | 4 +- .../models/migrationscripts/archived/pr.go | 2 +- .../migrationscripts/archived/pr_comment.go | 2 +- .../migrationscripts/archived/pr_commit.go | 2 +- .../models/migrationscripts/archived/repo.go | 2 +- .../migrationscripts/archived/scope_config.go | 2 +- .../models/migrationscripts/archived/user.go | 2 +- .../models/migrationscripts/register.go | 2 +- backend/plugins/bitbucket_server/models/pr.go | 2 +- .../bitbucket_server/models/pr_comment.go | 2 +- .../bitbucket_server/models/pr_commit.go | 2 +- .../plugins/bitbucket_server/models/repo.go | 4 +- .../bitbucket_server/models/scope_config.go | 2 +- .../plugins/bitbucket_server/models/user.go | 2 +- .../bitbucket_server/tasks/api_client.go | 8 +- .../bitbucket_server/tasks/api_common.go | 8 +- .../tasks/pr_activity_collector.go | 6 +- .../tasks/pr_activity_extractor.go | 8 +- .../bitbucket_server/tasks/pr_collector.go | 6 +- .../tasks/pr_comment_convertor.go | 16 +-- .../tasks/pr_commit_collector.go | 6 +- .../tasks/pr_commit_convertor.go | 14 +-- .../tasks/pr_commit_extractor.go | 8 +- .../bitbucket_server/tasks/pr_convertor.go | 16 +-- .../bitbucket_server/tasks/pr_extractor.go | 12 +- .../bitbucket_server/tasks/repo_convertor.go | 20 ++-- .../bitbucket_server/tasks/task_data.go | 6 +- .../bitbucket_server/tasks/user_convertor.go | 16 +-- .../bitbucket_server/tasks/user_extractor.go | 4 +- .../plugins/circleci/api/blueprint_v200.go | 20 ++-- .../plugins/circleci/api/connection_api.go | 10 +- backend/plugins/circleci/api/init.go | 10 +- backend/plugins/circleci/api/remote_api.go | 12 +- backend/plugins/circleci/api/scope_api.go | 8 +- .../plugins/circleci/api/scope_config_api.go | 4 +- .../plugins/circleci/api/scope_state_api.go | 4 +- backend/plugins/circleci/circleci.go | 4 +- .../plugins/circleci/e2e/incremental_test.go | 14 +-- .../circleci/e2e/job_collector_test.go | 10 +- backend/plugins/circleci/e2e/job_test.go | 16 +-- backend/plugins/circleci/e2e/pipeline_test.go | 10 +- backend/plugins/circleci/e2e/project_test.go | 14 +-- backend/plugins/circleci/e2e/workflow_test.go | 16 +-- backend/plugins/circleci/impl/impl.go | 24 ++-- backend/plugins/circleci/models/account.go | 2 +- backend/plugins/circleci/models/connection.go | 6 +- backend/plugins/circleci/models/job.go | 2 +- .../20230326_add_init_tables.go | 8 +- ...231129_add_fields_to_tool_circleci_jobs.go | 4 +- ...60322_rename_created_at_to_created_date.go | 4 +- .../migrationscripts/archived/account.go | 2 +- .../migrationscripts/archived/connection.go | 2 +- .../models/migrationscripts/archived/job.go | 2 +- .../migrationscripts/archived/pipeline.go | 2 +- .../migrationscripts/archived/project.go | 2 +- .../migrationscripts/archived/scope_config.go | 2 +- .../migrationscripts/archived/workflow.go | 2 +- .../models/migrationscripts/register.go | 2 +- backend/plugins/circleci/models/pipeline.go | 2 +- backend/plugins/circleci/models/project.go | 4 +- .../plugins/circleci/models/scope_config.go | 2 +- backend/plugins/circleci/models/workflow.go | 2 +- .../circleci/tasks/account_collector.go | 6 +- .../circleci/tasks/account_converter.go | 14 +-- .../circleci/tasks/account_extractor.go | 8 +- backend/plugins/circleci/tasks/api_client.go | 8 +- .../plugins/circleci/tasks/job_collector.go | 10 +- .../plugins/circleci/tasks/job_converter.go | 14 +-- .../plugins/circleci/tasks/job_extractor.go | 8 +- .../circleci/tasks/pipeline_collector.go | 6 +- .../circleci/tasks/pipeline_extractor.go | 8 +- .../circleci/tasks/project_collector.go | 6 +- .../circleci/tasks/project_converter.go | 14 +-- .../circleci/tasks/project_extractor.go | 8 +- backend/plugins/circleci/tasks/shared.go | 12 +- backend/plugins/circleci/tasks/shared_test.go | 2 +- backend/plugins/circleci/tasks/task_data.go | 6 +- .../circleci/tasks/workflow_collector.go | 10 +- .../circleci/tasks/workflow_converter.go | 14 +-- .../circleci/tasks/workflow_extractor.go | 8 +- .../plugins/claude_code/api/blueprint_v200.go | 14 +-- backend/plugins/claude_code/api/connection.go | 8 +- .../claude_code/api/connection_test.go | 2 +- backend/plugins/claude_code/api/init.go | 8 +- backend/plugins/claude_code/api/remote_api.go | 12 +- backend/plugins/claude_code/api/scope.go | 4 +- .../plugins/claude_code/api/scope_config.go | 4 +- .../claude_code/api/test_connection.go | 10 +- backend/plugins/claude_code/claude_code.go | 4 +- .../claude_code/impl/connection_helper.go | 2 +- backend/plugins/claude_code/impl/impl.go | 22 ++-- .../claude_code/models/activity_summary.go | 2 +- .../claude_code/models/chat_project.go | 2 +- .../plugins/claude_code/models/connection.go | 6 +- .../claude_code/models/connection_test.go | 2 +- .../claude_code/models/connector_usage.go | 2 +- .../migrationscripts/20260309_initialize.go | 8 +- .../20260319_add_custom_headers.go | 8 +- .../20260319_replace_analytics_tables.go | 8 +- .../models/migrationscripts/register.go | 2 +- backend/plugins/claude_code/models/models.go | 2 +- backend/plugins/claude_code/models/scope.go | 4 +- .../claude_code/models/scope_config.go | 4 +- .../plugins/claude_code/models/skill_usage.go | 2 +- .../claude_code/models/user_activity.go | 2 +- .../service/connection_test_helper.go | 8 +- .../tasks/activity_summary_collector.go | 6 +- .../tasks/activity_summary_extractor.go | 8 +- .../plugins/claude_code/tasks/api_client.go | 10 +- .../tasks/chat_project_collector.go | 6 +- .../tasks/chat_project_extractor.go | 8 +- .../claude_code/tasks/collector_utils.go | 4 +- .../tasks/connector_usage_collector.go | 6 +- .../tasks/connector_usage_extractor.go | 8 +- backend/plugins/claude_code/tasks/register.go | 2 +- .../tasks/skill_usage_collector.go | 6 +- .../tasks/skill_usage_extractor.go | 8 +- backend/plugins/claude_code/tasks/subtasks.go | 2 +- .../plugins/claude_code/tasks/task_data.go | 2 +- .../tasks/user_activity_collector.go | 6 +- .../tasks/user_activity_extractor.go | 8 +- backend/plugins/clickup/api/blueprint_v200.go | 20 ++-- backend/plugins/clickup/api/connection_api.go | 12 +- backend/plugins/clickup/api/init.go | 8 +- backend/plugins/clickup/api/remote_api.go | 10 +- backend/plugins/clickup/api/scope_api.go | 8 +- .../plugins/clickup/api/scope_config_api.go | 4 +- backend/plugins/clickup/clickup.go | 4 +- backend/plugins/clickup/impl/impl.go | 22 ++-- backend/plugins/clickup/models/connection.go | 6 +- backend/plugins/clickup/models/folder.go | 4 +- backend/plugins/clickup/models/list.go | 2 +- .../20260720_add_init_tables.go | 8 +- .../20260722_add_folder_scope.go | 8 +- .../20260723_add_list_type_patterns.go | 8 +- .../migrationscripts/archived/models.go | 2 +- .../models/migrationscripts/register.go | 2 +- .../plugins/clickup/models/scope_config.go | 2 +- backend/plugins/clickup/models/task.go | 2 +- .../plugins/clickup/models/task_comment.go | 2 +- backend/plugins/clickup/models/user.go | 2 +- backend/plugins/clickup/tasks/api_client.go | 8 +- .../plugins/clickup/tasks/folder_convertor.go | 16 +-- .../plugins/clickup/tasks/list_collector.go | 6 +- .../plugins/clickup/tasks/list_extractor.go | 8 +- backend/plugins/clickup/tasks/shared.go | 6 +- backend/plugins/clickup/tasks/shared_test.go | 4 +- .../plugins/clickup/tasks/sprint_convertor.go | 16 +-- .../plugins/clickup/tasks/task_collector.go | 10 +- .../plugins/clickup/tasks/task_convertor.go | 16 +-- .../clickup/tasks/task_convertor_test.go | 2 +- backend/plugins/clickup/tasks/task_data.go | 4 +- .../plugins/clickup/tasks/task_extractor.go | 8 +- .../plugins/clickup/tasks/user_collector.go | 6 +- .../plugins/clickup/tasks/user_convertor.go | 16 +-- .../plugins/clickup/tasks/user_extractor.go | 8 +- backend/plugins/cursor/api/blueprint_v200.go | 14 +-- backend/plugins/cursor/api/connection.go | 8 +- backend/plugins/cursor/api/init.go | 8 +- backend/plugins/cursor/api/remote_api.go | 12 +- backend/plugins/cursor/api/scope.go | 4 +- backend/plugins/cursor/api/scope_config.go | 4 +- backend/plugins/cursor/api/test_connection.go | 10 +- backend/plugins/cursor/cursor.go | 4 +- backend/plugins/cursor/e2e/extractors_test.go | 16 +-- .../plugins/cursor/impl/connection_helper.go | 2 +- backend/plugins/cursor/impl/impl.go | 22 ++-- backend/plugins/cursor/models/connection.go | 6 +- backend/plugins/cursor/models/daily_usage.go | 2 +- backend/plugins/cursor/models/member.go | 2 +- .../migrationscripts/20260709_initialize.go | 8 +- .../20260710_requests_costs_float.go | 4 +- .../20260714_add_daily_usage.go | 8 +- .../20260716_add_daily_usage_line_fields.go | 8 +- .../models/migrationscripts/register.go | 2 +- backend/plugins/cursor/models/models.go | 2 +- backend/plugins/cursor/models/scope.go | 4 +- backend/plugins/cursor/models/scope_config.go | 4 +- backend/plugins/cursor/models/usage_event.go | 2 +- backend/plugins/cursor/models/user_spend.go | 2 +- .../cursor/service/connection_test_helper.go | 8 +- backend/plugins/cursor/tasks/api_client.go | 8 +- .../plugins/cursor/tasks/collector_utils.go | 6 +- .../cursor/tasks/collector_utils_test.go | 4 +- .../cursor/tasks/daily_usage_collector.go | 6 +- .../cursor/tasks/daily_usage_extractor.go | 8 +- .../plugins/cursor/tasks/extract_stateful.go | 10 +- backend/plugins/cursor/tasks/extract_utils.go | 4 +- .../plugins/cursor/tasks/members_collector.go | 6 +- .../plugins/cursor/tasks/members_extractor.go | 8 +- backend/plugins/cursor/tasks/register.go | 2 +- backend/plugins/cursor/tasks/retry_after.go | 4 +- backend/plugins/cursor/tasks/subtasks.go | 2 +- backend/plugins/cursor/tasks/task_data.go | 2 +- .../cursor/tasks/usage_events_collector.go | 6 +- .../cursor/tasks/usage_events_extractor.go | 8 +- .../cursor/tasks/user_spend_collector.go | 6 +- .../cursor/tasks/user_spend_extractor.go | 8 +- backend/plugins/customize/api/csv_issue.go | 4 +- backend/plugins/customize/api/csv_qa.go | 4 +- backend/plugins/customize/api/field.go | 12 +- backend/plugins/customize/api/swagger.go | 2 +- backend/plugins/customize/customize.go | 6 +- .../customize/e2e/customized_fields_test.go | 10 +- .../customize/e2e/extract_fields_test.go | 12 +- .../e2e/import_issue_changelogs_test.go | 10 +- .../e2e/import_issue_commits_test.go | 8 +- .../e2e/import_issue_repo_commits_test.go | 10 +- .../e2e/import_issue_worklogs_test.go | 10 +- .../customize/e2e/import_issues_test.go | 12 +- .../customize/e2e/import_qa_apis_test.go | 10 +- .../e2e/import_qa_test_cases_test.go | 12 +- .../customize/e2e/import_sprint_test.go | 8 +- .../e2e/import_test_case_execution_test.go | 10 +- .../e2e/raw_tables/issue_repo_commits.csv | 4 +- .../issue_repo_commits_incremental.csv | 4 +- .../snapshot_tables/issue_repo_commits.csv | 8 +- backend/plugins/customize/impl/impl.go | 18 +-- .../customize/models/customized_field.go | 2 +- .../20230201_add_customized_fields.go | 6 +- .../archived/customized_field.go | 2 +- .../models/migrationscripts/register.go | 2 +- backend/plugins/customize/service/service.go | 18 +-- .../tasks/customized_fields_extractor.go | 12 +- .../tasks/customized_fields_extractor_test.go | 4 +- backend/plugins/dora/api/data.go | 4 +- backend/plugins/dora/dora.go | 4 +- .../e2e/calculate_change_lead_time_test.go | 14 +-- .../e2e/connect_incident_to_deploy_test.go | 14 +-- .../e2e/deployment_commits_generator_test.go | 10 +- .../prev_deployment_commit_enricher_test.go | 10 +- backend/plugins/dora/impl/impl.go | 14 +-- backend/plugins/dora/impl/impl_test.go | 4 +- .../20220928_add_dora_benchmark.go | 8 +- .../20240104_fix_dora_benchmark_metric.go | 4 +- .../20240223_add_dora_2023_benchmark.go | 8 +- .../dora/models/migrationscripts/register.go | 2 +- .../dora/tasks/change_lead_time_calculator.go | 14 +-- .../dora/tasks/cicd_task_env_enricher.go | 4 +- .../tasks/deployment_commits_generator.go | 14 +-- .../dora/tasks/deployment_generator.go | 12 +- .../dora/tasks/incident_deploy_connector.go | 16 +-- .../tasks/incident_from_issue_generator.go | 14 +-- .../tasks/prev_deployment_commit_enricher.go | 10 +- backend/plugins/dora/tasks/task_data.go | 4 +- backend/plugins/feishu/api/connection.go | 10 +- backend/plugins/feishu/api/init.go | 6 +- backend/plugins/feishu/e2e/meeting_test.go | 8 +- backend/plugins/feishu/feishu.go | 4 +- backend/plugins/feishu/impl/impl.go | 22 ++-- backend/plugins/feishu/models/chat_item.go | 2 +- backend/plugins/feishu/models/connection.go | 10 +- .../feishu/models/meeting_top_user_item.go | 2 +- backend/plugins/feishu/models/message.go | 2 +- .../20230421_add_init_tables.go | 10 +- .../migrationscripts/archived/chat_item.go | 2 +- .../migrationscripts/archived/connection.go | 2 +- .../archived/meeting_top_user_item.go | 2 +- .../migrationscripts/archived/message.go | 2 +- .../models/migrationscripts/register.go | 2 +- backend/plugins/feishu/tasks/api_client.go | 8 +- .../plugins/feishu/tasks/chat_collector.go | 8 +- .../plugins/feishu/tasks/chat_extractor.go | 8 +- .../tasks/meeting_top_user_item_collector.go | 8 +- .../tasks/meeting_top_user_item_extractor.go | 8 +- .../plugins/feishu/tasks/message_collector.go | 10 +- .../plugins/feishu/tasks/message_extractor.go | 10 +- backend/plugins/feishu/tasks/task_data.go | 2 +- .../plugins/gh-copilot/api/blueprint_v200.go | 14 +-- backend/plugins/gh-copilot/api/connection.go | 8 +- .../plugins/gh-copilot/api/connection_test.go | 2 +- backend/plugins/gh-copilot/api/init.go | 8 +- backend/plugins/gh-copilot/api/remote_api.go | 10 +- backend/plugins/gh-copilot/api/scope.go | 10 +- .../plugins/gh-copilot/api/scope_config.go | 4 +- .../plugins/gh-copilot/api/test_connection.go | 10 +- backend/plugins/gh-copilot/copilot.go | 4 +- .../plugins/gh-copilot/e2e/metrics_test.go | 16 +-- backend/plugins/gh-copilot/impl/impl.go | 22 ++-- backend/plugins/gh-copilot/impl/options.go | 2 +- .../plugins/gh-copilot/models/connection.go | 6 +- .../models/enterprise_ai_credit_usage.go | 2 +- .../gh-copilot/models/enterprise_metrics.go | 2 +- .../gh-copilot/models/language_metrics.go | 2 +- .../migrationscripts/20250100_initialize.go | 8 +- ...add_raw_data_origin_to_language_metrics.go | 8 +- .../20260105_add_raw_data_origin_to_seats.go | 8 +- .../20260116_add_name_fields_to_scopes.go | 8 +- .../20260121_add_scope_configs.go | 8 +- ...212_add_pr_fields_to_enterprise_metrics.go | 8 +- .../20260212_v2_usage_metrics.go | 8 +- ...303_add_organization_id_to_user_metrics.go | 6 +- .../20260527_add_copilot_metrics_gaps.go | 8 +- .../20260708_add_ai_credit_usage_metrics.go | 8 +- ...1_fix_ai_credit_usage_breakdown_columns.go | 8 +- .../models/migrationscripts/register.go | 2 +- backend/plugins/gh-copilot/models/models.go | 2 +- .../gh-copilot/models/org_ai_credit_usage.go | 2 +- .../plugins/gh-copilot/models/org_metrics.go | 2 +- backend/plugins/gh-copilot/models/scope.go | 4 +- .../plugins/gh-copilot/models/scope_config.go | 4 +- backend/plugins/gh-copilot/models/seat.go | 2 +- .../gh-copilot/models/user_ai_credit_usage.go | 2 +- .../plugins/gh-copilot/models/user_metrics.go | 2 +- .../plugins/gh-copilot/models/user_team.go | 2 +- .../service/connection_test_helper.go | 8 +- .../gh-copilot/tasks/ai_credit_collector.go | 6 +- .../gh-copilot/tasks/ai_credit_extractor.go | 8 +- .../plugins/gh-copilot/tasks/api_client.go | 10 +- .../gh-copilot/tasks/api_client_test.go | 2 +- .../tasks/enterprise_metrics_collector.go | 6 +- .../tasks/enterprise_metrics_extractor.go | 8 +- .../plugins/gh-copilot/tasks/github_errors.go | 2 +- .../tasks/metrics_collector_test.go | 2 +- .../gh-copilot/tasks/metrics_extractor.go | 8 +- .../gh-copilot/tasks/org_metrics_collector.go | 6 +- backend/plugins/gh-copilot/tasks/register.go | 2 +- .../tasks/report_download_helper.go | 6 +- .../gh-copilot/tasks/seat_collector.go | 6 +- .../gh-copilot/tasks/seat_extractor.go | 8 +- backend/plugins/gh-copilot/tasks/subtasks.go | 2 +- backend/plugins/gh-copilot/tasks/task_data.go | 2 +- .../tasks/user_metrics_collector.go | 8 +- .../tasks/user_metrics_extractor.go | 8 +- .../gh-copilot/tasks/user_teams_collector.go | 6 +- .../gh-copilot/tasks/user_teams_extractor.go | 8 +- backend/plugins/gitee/api/connection.go | 10 +- backend/plugins/gitee/api/init.go | 6 +- backend/plugins/gitee/gitee.go | 4 +- backend/plugins/gitee/impl/impl.go | 20 ++-- backend/plugins/gitee/models/account.go | 2 +- backend/plugins/gitee/models/commit.go | 2 +- backend/plugins/gitee/models/commit_stats.go | 2 +- backend/plugins/gitee/models/connection.go | 6 +- backend/plugins/gitee/models/issue.go | 2 +- backend/plugins/gitee/models/issue_comment.go | 2 +- backend/plugins/gitee/models/issue_label.go | 2 +- .../20220714_add_init_tables.go | 10 +- ...20_add_commit_author_info_in_pr_commits.go | 8 +- .../20230922_add_scope_config_id.go | 8 +- .../20240813_change_issue_component_type.go | 6 +- .../migrationscripts/archived/account.go | 2 +- .../migrationscripts/archived/commit.go | 2 +- .../migrationscripts/archived/commit_stat.go | 2 +- .../migrationscripts/archived/connection.go | 2 +- .../models/migrationscripts/archived/issue.go | 2 +- .../archived/issue_comment.go | 2 +- .../migrationscripts/archived/issue_label.go | 2 +- .../migrationscripts/archived/pull_request.go | 2 +- .../archived/pull_request_comment.go | 2 +- .../archived/pull_request_commit.go | 2 +- .../archived/pull_request_issue.go | 2 +- .../archived/pull_request_label.go | 2 +- .../models/migrationscripts/archived/repo.go | 2 +- .../migrationscripts/archived/repo_commit.go | 2 +- .../migrationscripts/archived/reviewer.go | 2 +- .../gitee/models/migrationscripts/register.go | 2 +- backend/plugins/gitee/models/pull_request.go | 2 +- .../gitee/models/pull_request_comment.go | 2 +- .../gitee/models/pull_request_commit.go | 2 +- .../gitee/models/pull_request_issue.go | 2 +- .../gitee/models/pull_request_label.go | 2 +- backend/plugins/gitee/models/repo.go | 4 +- backend/plugins/gitee/models/repo_commit.go | 2 +- backend/plugins/gitee/models/reviewer.go | 2 +- .../plugins/gitee/tasks/account_convertor.go | 16 +-- backend/plugins/gitee/tasks/api_client.go | 8 +- .../plugins/gitee/tasks/commit_collector.go | 10 +- .../plugins/gitee/tasks/commit_convertor.go | 14 +-- .../plugins/gitee/tasks/commit_extractor.go | 10 +- .../gitee/tasks/commit_stats_collector.go | 10 +- .../gitee/tasks/commit_stats_extractor.go | 12 +- .../plugins/gitee/tasks/issue_collector.go | 10 +- .../gitee/tasks/issue_comment_collector.go | 10 +- .../gitee/tasks/issue_comment_convertor.go | 16 +-- .../gitee/tasks/issue_comment_extractor.go | 12 +- .../plugins/gitee/tasks/issue_convertor.go | 16 +-- .../plugins/gitee/tasks/issue_extractor.go | 12 +- .../gitee/tasks/issue_label_convertor.go | 14 +-- backend/plugins/gitee/tasks/pr_collector.go | 10 +- .../gitee/tasks/pr_comment_convertor.go | 16 +-- .../gitee/tasks/pr_commit_collector.go | 10 +- .../gitee/tasks/pr_commit_convertor.go | 14 +-- .../gitee/tasks/pr_commit_extractor.go | 10 +- backend/plugins/gitee/tasks/pr_convertor.go | 16 +-- backend/plugins/gitee/tasks/pr_extractor.go | 10 +- .../plugins/gitee/tasks/pr_issue_convertor.go | 14 +-- .../plugins/gitee/tasks/pr_issue_enricher.go | 10 +- .../plugins/gitee/tasks/pr_label_convertor.go | 14 +-- .../gitee/tasks/pr_review_collector.go | 10 +- .../gitee/tasks/pr_review_extractor.go | 10 +- backend/plugins/gitee/tasks/repo_collector.go | 6 +- backend/plugins/gitee/tasks/repo_convertor.go | 20 ++-- backend/plugins/gitee/tasks/repo_extractor.go | 10 +- backend/plugins/gitee/tasks/shared.go | 8 +- backend/plugins/gitee/tasks/task_data.go | 6 +- backend/plugins/gitextractor/gitextractor.go | 4 +- backend/plugins/gitextractor/impl/impl.go | 14 +-- .../plugins/gitextractor/models/interface.go | 4 +- backend/plugins/gitextractor/parser/clone.go | 2 +- .../gitextractor/parser/clone_gitcli.go | 10 +- backend/plugins/gitextractor/parser/repo.go | 2 +- .../plugins/gitextractor/parser/repo_gogit.go | 14 +-- .../gitextractor/parser/repo_libgit2.go | 14 +-- backend/plugins/gitextractor/store/csv.go | 4 +- .../plugins/gitextractor/store/csv_test.go | 2 +- .../plugins/gitextractor/store/database.go | 14 +-- .../plugins/gitextractor/tasks/repo_cloner.go | 8 +- .../gitextractor/tasks/repo_collector.go | 6 +- backend/plugins/github/api/blueprint_v200.go | 26 ++--- backend/plugins/github/api/connection_api.go | 10 +- backend/plugins/github/api/init.go | 8 +- backend/plugins/github/api/remote_api.go | 10 +- backend/plugins/github/api/scope_api.go | 10 +- .../plugins/github/api/scope_config_api.go | 4 +- .../github/api/scope_duplicates_api.go | 6 +- .../github/api/scope_duplicates_api_test.go | 2 +- backend/plugins/github/api/scope_state_api.go | 4 +- backend/plugins/github/api/swagger.go | 2 +- backend/plugins/github/e2e/account_test.go | 14 +-- backend/plugins/github/e2e/cicd_job_test.go | 14 +-- backend/plugins/github/e2e/cicd_run_test.go | 14 +-- backend/plugins/github/e2e/comment_test.go | 12 +- backend/plugins/github/e2e/commit_test.go | 2 +- backend/plugins/github/e2e/event_test.go | 8 +- .../plugins/github/e2e/issue_assignee_test.go | 12 +- .../github/e2e/issue_field_value_test.go | 10 +- backend/plugins/github/e2e/issue_test.go | 10 +- backend/plugins/github/e2e/milestone_test.go | 10 +- backend/plugins/github/e2e/pr_commit_test.go | 10 +- .../github/e2e/pr_enrich_issue_test.go | 10 +- backend/plugins/github/e2e/pr_review_test.go | 12 +- backend/plugins/github/e2e/pr_test.go | 12 +- .../e2e/raw_tables/_raw_github_api_issues.csv | 84 +++++++------- .../raw_tables/_raw_github_api_milestones.csv | 2 +- backend/plugins/github/e2e/repo_test.go | 18 +-- .../_tool_github_milestones.csv | 2 +- .../github/e2e/snapshot_tables/sprints.csv | 2 +- backend/plugins/github/github.go | 4 +- backend/plugins/github/impl/impl.go | 28 ++--- backend/plugins/github/impl/impl_test.go | 4 +- backend/plugins/github/models/account.go | 2 +- backend/plugins/github/models/account_org.go | 2 +- backend/plugins/github/models/commit.go | 2 +- backend/plugins/github/models/commit_stats.go | 2 +- backend/plugins/github/models/connection.go | 8 +- .../plugins/github/models/connection_test.go | 4 +- backend/plugins/github/models/deployment.go | 2 +- backend/plugins/github/models/issue.go | 2 +- .../plugins/github/models/issue_assignee.go | 2 +- .../plugins/github/models/issue_comment.go | 2 +- backend/plugins/github/models/issue_event.go | 2 +- .../github/models/issue_field_value.go | 2 +- backend/plugins/github/models/issue_label.go | 2 +- backend/plugins/github/models/job.go | 2 +- .../20220715_add_init_tables.go | 10 +- .../20220728_add_runs_table.go | 6 +- .../20220729_add_jobs_table.go | 6 +- .../20220802_add_pipeline_table.go | 6 +- .../20220908_delete_pipeline_table.go | 4 +- ...220919_add_headrepoId_field_in_githubPr.go | 4 +- ...21114_add_enable_graphql_for_connection.go | 6 +- .../20221214_add_trasformation_rule_table.go | 8 +- .../20221214_concat_owner_name_for_repo.go | 6 +- .../20221230_add_std_type_to_githubissue.go | 4 +- ...d_connection_id_to_transformation_rules.go | 8 +- .../20230418_add_env_to_run_and_job.go | 6 +- ...19_add_commit_author_info_in_pr_commits.go | 8 +- .../20230428_add_multi_auth.go | 6 +- .../20230518_fix_run_name_to_text.go | 6 +- .../migrationscripts/20230526_scope_config.go | 6 +- .../20230530_add_issue_assignee.go | 6 +- .../migrationscripts/20230612_add_fullName.go | 6 +- ...20230630_add_raw_param_table_for_scopes.go | 10 +- .../20230913_add_tool_demployments.go | 6 +- .../20231018_modify_tool_github_milestones.go | 10 +- ...me_pattern_to_tool_github_scope_configs.go | 8 +- .../20231205_modify_issue_type_length.go | 6 +- .../20240410_add_workflow_display_title.go | 6 +- .../20240514_add_github_release.go | 8 +- .../20240515_add_release_commit_sha.go | 6 +- .../20240710_add_merge_by_to_pr.go | 6 +- .../20240711_restruct_github_reviewers.go | 10 +- .../20240725_add_is_draft_to_pr.go | 6 +- .../20240813_change_issue_component_type.go | 6 +- .../20240821_add_index_to_tool_github_jobs.go | 6 +- .../20241120_add_refresh_token_fields.go | 6 +- ...connection_token_expires_at_to_nullable.go | 6 +- ...0260216_add_pr_size_excluded_extensions.go | 8 +- .../20260809_add_github_issue_fields.go | 8 +- .../20260819_expand_text_columns.go | 6 +- .../20260819_expand_text_columns_test.go | 6 +- .../migrationscripts/archived/account.go | 2 +- .../migrationscripts/archived/account_org.go | 2 +- .../migrationscripts/archived/commit.go | 2 +- .../migrationscripts/archived/commit_stat.go | 2 +- .../migrationscripts/archived/connection.go | 2 +- .../migrationscripts/archived/deployment.go | 2 +- .../models/migrationscripts/archived/issue.go | 2 +- .../archived/issue_comment.go | 2 +- .../migrationscripts/archived/issue_event.go | 2 +- .../migrationscripts/archived/issue_label.go | 2 +- .../models/migrationscripts/archived/job.go | 2 +- .../migrationscripts/archived/milestone.go | 2 +- .../migrationscripts/archived/pipeline.go | 2 +- .../migrationscripts/archived/pr_comment.go | 2 +- .../migrationscripts/archived/pr_commit.go | 2 +- .../migrationscripts/archived/pr_issue.go | 2 +- .../migrationscripts/archived/pr_label.go | 2 +- .../migrationscripts/archived/pr_review.go | 2 +- .../migrationscripts/archived/pull_request.go | 2 +- .../models/migrationscripts/archived/repo.go | 2 +- .../migrationscripts/archived/repo_account.go | 2 +- .../migrationscripts/archived/repo_commit.go | 2 +- .../migrationscripts/archived/reviewer.go | 2 +- .../models/migrationscripts/archived/run.go | 2 +- .../archived/transformation_rules.go | 2 +- .../models/migrationscripts/register.go | 2 +- backend/plugins/github/models/milestone.go | 2 +- backend/plugins/github/models/pr.go | 2 +- backend/plugins/github/models/pr_comment.go | 2 +- backend/plugins/github/models/pr_commit.go | 2 +- backend/plugins/github/models/pr_issue.go | 2 +- backend/plugins/github/models/pr_label.go | 2 +- backend/plugins/github/models/pr_review.go | 2 +- backend/plugins/github/models/release.go | 2 +- backend/plugins/github/models/repo.go | 4 +- backend/plugins/github/models/repo_account.go | 2 +- backend/plugins/github/models/repo_commit.go | 2 +- backend/plugins/github/models/reviewer.go | 2 +- backend/plugins/github/models/run.go | 2 +- backend/plugins/github/models/scope_config.go | 4 +- .../plugins/github/tasks/account_collector.go | 10 +- .../plugins/github/tasks/account_convertor.go | 18 +-- .../plugins/github/tasks/account_extractor.go | 8 +- .../github/tasks/account_org_collector.go | 10 +- .../github/tasks/account_org_extractor.go | 8 +- .../github/tasks/account_pre_extractor.go | 4 +- backend/plugins/github/tasks/api_client.go | 8 +- .../github/tasks/cicd_job_collector.go | 10 +- .../github/tasks/cicd_job_convertor.go | 18 +-- .../github/tasks/cicd_job_convertor_test.go | 12 +- .../github/tasks/cicd_job_extractor.go | 10 +- .../github/tasks/cicd_run_collector.go | 12 +- .../github/tasks/cicd_run_collector_test.go | 16 +-- .../github/tasks/cicd_run_convertor.go | 16 +-- .../github/tasks/cicd_run_extractor.go | 10 +- .../plugins/github/tasks/comment_collector.go | 6 +- .../plugins/github/tasks/comment_extractor.go | 14 +-- .../plugins/github/tasks/commit_collector.go | 6 +- .../plugins/github/tasks/commit_convertor.go | 14 +-- .../plugins/github/tasks/commit_extractor.go | 10 +- .../github/tasks/commit_stats_collector.go | 10 +- .../github/tasks/commit_stats_extractor.go | 12 +- .../plugins/github/tasks/event_collector.go | 12 +- .../plugins/github/tasks/event_extractor.go | 10 +- backend/plugins/github/tasks/http_client.go | 8 +- .../github/tasks/issue_assignee_convertor.go | 14 +-- .../plugins/github/tasks/issue_collector.go | 6 +- .../github/tasks/issue_comment_convertor.go | 16 +-- .../plugins/github/tasks/issue_convertor.go | 16 +-- .../plugins/github/tasks/issue_extractor.go | 14 +-- .../github/tasks/issue_field_mapping.go | 10 +- .../github/tasks/issue_field_mapping_test.go | 2 +- .../tasks/issue_field_value_collector.go | 10 +- .../tasks/issue_field_value_extractor.go | 8 +- .../github/tasks/issue_label_convertor.go | 14 +-- .../github/tasks/milestone_collector.go | 6 +- .../github/tasks/milestone_converter.go | 18 +-- .../github/tasks/milestone_extractor.go | 10 +- backend/plugins/github/tasks/pr_collector.go | 10 +- .../github/tasks/pr_comment_convertor.go | 16 +-- .../github/tasks/pr_commit_collector.go | 10 +- .../github/tasks/pr_commit_convertor.go | 14 +-- .../github/tasks/pr_commit_extractor.go | 10 +- backend/plugins/github/tasks/pr_convertor.go | 16 +-- backend/plugins/github/tasks/pr_extractor.go | 12 +- .../github/tasks/pr_issue_convertor.go | 14 +-- .../plugins/github/tasks/pr_issue_enricher.go | 10 +- .../github/tasks/pr_label_convertor.go | 14 +-- .../github/tasks/pr_review_collector.go | 10 +- .../tasks/pr_review_comment_collector.go | 6 +- .../tasks/pr_review_comment_extractor.go | 12 +- .../github/tasks/pr_review_convertor.go | 16 +-- .../github/tasks/pr_review_extractor.go | 10 +- backend/plugins/github/tasks/register.go | 2 +- .../plugins/github/tasks/release_convertor.go | 16 +-- .../plugins/github/tasks/repo_convertor.go | 24 ++-- .../plugins/github/tasks/review_convertor.go | 14 +-- backend/plugins/github/tasks/shared.go | 10 +- backend/plugins/github/tasks/task_data.go | 6 +- .../github/token/app_installation_refresh.go | 10 +- .../github/token/refresh_api_client.go | 6 +- .../github/token/round_tripper_test.go | 8 +- .../plugins/github/token/token_provider.go | 8 +- .../github/token/token_provider_test.go | 8 +- backend/plugins/github/utils/utils.go | 2 +- .../github_graphql/e2e/deployment_test.go | 16 +-- backend/plugins/github_graphql/impl/impl.go | 26 ++--- .../20240808_flush_rawdata.go | 8 +- .../20260215_add_finished_date.go | 8 +- .../model/migrationscripts/register.go | 2 +- backend/plugins/github_graphql/plugin_main.go | 4 +- .../github_graphql/tasks/account_collector.go | 12 +- .../github_graphql/tasks/account_extractor.go | 10 +- .../tasks/account_graphql_pre_extractor.go | 2 +- .../tasks/deployment_collector.go | 8 +- .../tasks/deployment_convertor.go | 18 +-- .../tasks/deployment_extractor.go | 12 +- .../github_graphql/tasks/graphql_client.go | 10 +- .../github_graphql/tasks/issue_collector.go | 18 +-- .../tasks/issue_collector_test.go | 4 +- .../github_graphql/tasks/issue_extractor.go | 16 +-- .../github_graphql/tasks/job_collector.go | 14 +-- .../tasks/job_collector_test.go | 2 +- .../github_graphql/tasks/job_extractor.go | 14 +-- .../github_graphql/tasks/pr_collector.go | 12 +- .../github_graphql/tasks/pr_extractor.go | 10 +- .../github_graphql/tasks/release_collector.go | 10 +- .../github_graphql/tasks/release_extractor.go | 14 +-- .../plugins/github_graphql/tasks/shared.go | 8 +- .../plugins/gitlab/api/blueprint_V200_test.go | 20 ++-- backend/plugins/gitlab/api/blueprint_v200.go | 28 ++--- backend/plugins/gitlab/api/connection_api.go | 10 +- backend/plugins/gitlab/api/init.go | 8 +- backend/plugins/gitlab/api/remote_api.go | 10 +- backend/plugins/gitlab/api/scope_api.go | 8 +- .../plugins/gitlab/api/scope_config_api.go | 4 +- .../gitlab/api/scope_duplicates_api.go | 6 +- .../gitlab/api/scope_duplicates_api_test.go | 2 +- backend/plugins/gitlab/api/scope_state_api.go | 4 +- backend/plugins/gitlab/api/swagger.go | 2 +- backend/plugins/gitlab/e2e/account_test.go | 12 +- backend/plugins/gitlab/e2e/deployment_test.go | 12 +- backend/plugins/gitlab/e2e/issues_test.go | 10 +- backend/plugins/gitlab/e2e/job_test.go | 14 +-- backend/plugins/gitlab/e2e/mr_commits_test.go | 12 +- backend/plugins/gitlab/e2e/mr_detail_test.go | 12 +- backend/plugins/gitlab/e2e/mr_notes_test.go | 10 +- backend/plugins/gitlab/e2e/mr_test.go | 12 +- .../gitlab/e2e/pipelines_detail_test.go | 14 +-- backend/plugins/gitlab/e2e/pipelines_test.go | 12 +- backend/plugins/gitlab/e2e/project_test.go | 18 +-- .../plugins/gitlab/e2e/trigger_job_test.go | 12 +- backend/plugins/gitlab/gitlab.go | 4 +- backend/plugins/gitlab/impl/impl.go | 26 ++--- backend/plugins/gitlab/models/account.go | 2 +- backend/plugins/gitlab/models/assignee.go | 2 +- backend/plugins/gitlab/models/commit.go | 2 +- backend/plugins/gitlab/models/connection.go | 8 +- backend/plugins/gitlab/models/deployment.go | 2 +- backend/plugins/gitlab/models/issue.go | 2 +- .../plugins/gitlab/models/issue_assignee.go | 2 +- backend/plugins/gitlab/models/issue_label.go | 2 +- backend/plugins/gitlab/models/job.go | 2 +- .../20220714_add_init_tables.go | 10 +- .../20220729_add_gitlab_ci.go | 8 +- .../20220804_add_pipeline_id.go | 6 +- .../20220906_fix_duration_to_float8.go | 6 +- .../20220907_add_pipeline_projects_tables.go | 8 +- .../20221125_add_trasformation_rule_table.go | 8 +- .../20221230_add_std_type_to_gitlabissue.go | 4 +- .../20230210_add_is_detail_required.go | 6 +- ...d_connection_id_to_transformation_rules.go | 8 +- .../20230419_add_type_env_to_pipeline.go | 6 +- .../20230420_add_mr_commit_author_info.go | 8 +- .../migrationscripts/20230529_scope_config.go | 6 +- .../20230606_add_issue_assignee.go | 8 +- .../20230625_add_mr_commitsha.go | 6 +- ...20230630_add_raw_param_table_for_scopes.go | 10 +- ...12_add_archived_to_tool_gitlab_projects.go | 4 +- .../20230926_add_deployment.go | 6 +- ...me_pattern_to_tool_gitlab_scope_configs.go | 8 +- ...dd_queued_duration_to_pipeline_and_task.go | 6 +- ...20231207_modify_deployment_message_type.go | 6 +- ...add_created_user_at_tool_gitlab_account.go | 6 +- ...221_add_time_filed_to_pipeline_projects.go | 6 +- ...305_modify_deployment_commit_title_type.go | 6 +- .../20240411_add_web_url_to_pipeline.go | 6 +- .../20240531_add_mr_assignees.go | 8 +- ..._mr_assignees_and_reviewers_primary_key.go | 10 +- .../20240813_change_issue_component_type.go | 6 +- .../20240904_remove_mr_review_fields.go | 6 +- .../20240906_add_source_to_pipelines.go | 4 +- ...0250921_add_pr_size_excluded_extensions.go | 8 +- .../20260812_add_mr_commit_updated_at.go | 6 +- .../add_additions_deletions_to_mr.go | 6 +- .../migrationscripts/archived/account.go | 2 +- .../migrationscripts/archived/assignee.go | 2 +- .../migrationscripts/archived/commit.go | 2 +- .../migrationscripts/archived/connection.go | 2 +- .../migrationscripts/archived/deployment.go | 2 +- .../models/migrationscripts/archived/issue.go | 2 +- .../archived/issue_assignee.go | 2 +- .../migrationscripts/archived/issue_label.go | 2 +- .../models/migrationscripts/archived/mr.go | 2 +- .../migrationscripts/archived/mr_comment.go | 2 +- .../migrationscripts/archived/mr_commit.go | 2 +- .../migrationscripts/archived/mr_label.go | 2 +- .../migrationscripts/archived/mr_note.go | 2 +- .../migrationscripts/archived/pipeline.go | 2 +- .../migrationscripts/archived/project.go | 2 +- .../archived/project_commit.go | 2 +- .../migrationscripts/archived/reviewer.go | 2 +- .../models/migrationscripts/archived/tag.go | 2 +- .../archived/transformation_rules.go | 2 +- .../models/migrationscripts/register.go | 2 +- backend/plugins/gitlab/models/mr.go | 2 +- backend/plugins/gitlab/models/mr_comment.go | 2 +- backend/plugins/gitlab/models/mr_commit.go | 2 +- backend/plugins/gitlab/models/mr_label.go | 2 +- backend/plugins/gitlab/models/mr_note.go | 2 +- backend/plugins/gitlab/models/pipeline.go | 2 +- backend/plugins/gitlab/models/project.go | 4 +- .../plugins/gitlab/models/project_commit.go | 2 +- backend/plugins/gitlab/models/reviewer.go | 2 +- backend/plugins/gitlab/models/scope_config.go | 2 +- backend/plugins/gitlab/models/tag.go | 2 +- .../plugins/gitlab/tasks/account_collector.go | 8 +- .../plugins/gitlab/tasks/account_convertor.go | 16 +-- .../plugins/gitlab/tasks/account_extractor.go | 8 +- backend/plugins/gitlab/tasks/api_client.go | 8 +- .../gitlab/tasks/child_pipeline_collector.go | 6 +- .../gitlab/tasks/child_pipeline_extractor.go | 10 +- .../gitlab/tasks/deployment_collector.go | 8 +- .../gitlab/tasks/deployment_convertor.go | 16 +-- .../gitlab/tasks/deployment_extractor.go | 10 +- .../gitlab/tasks/issue_assignee_convertor.go | 14 +-- .../plugins/gitlab/tasks/issue_collector.go | 6 +- .../plugins/gitlab/tasks/issue_convertor.go | 16 +-- .../plugins/gitlab/tasks/issue_extractor.go | 12 +- .../gitlab/tasks/issue_label_convertor.go | 14 +-- backend/plugins/gitlab/tasks/job_collector.go | 8 +- backend/plugins/gitlab/tasks/job_convertor.go | 16 +-- backend/plugins/gitlab/tasks/job_extractor.go | 10 +- .../gitlab/tasks/mr_assignee_convertor.go | 14 +-- backend/plugins/gitlab/tasks/mr_collector.go | 6 +- .../gitlab/tasks/mr_commit_collector.go | 6 +- .../gitlab/tasks/mr_commit_convertor.go | 14 +-- .../gitlab/tasks/mr_commit_extractor.go | 10 +- backend/plugins/gitlab/tasks/mr_convertor.go | 16 +-- .../gitlab/tasks/mr_detail_collector.go | 8 +- .../gitlab/tasks/mr_detail_extractor.go | 8 +- backend/plugins/gitlab/tasks/mr_extractor.go | 12 +- .../gitlab/tasks/mr_label_convertor.go | 14 +-- .../plugins/gitlab/tasks/mr_note_collector.go | 6 +- .../plugins/gitlab/tasks/mr_note_convertor.go | 16 +-- .../plugins/gitlab/tasks/mr_note_extractor.go | 10 +- .../gitlab/tasks/mr_reviewer_convertor.go | 14 +-- .../gitlab/tasks/pipeline_collector.go | 6 +- .../gitlab/tasks/pipeline_commit_convertor.go | 14 +-- .../gitlab/tasks/pipeline_detail_collector.go | 8 +- .../gitlab/tasks/pipeline_detail_convertor.go | 16 +-- .../gitlab/tasks/pipeline_detail_extractor.go | 12 +- .../gitlab/tasks/pipeline_extractor.go | 8 +- .../plugins/gitlab/tasks/project_convertor.go | 24 ++-- backend/plugins/gitlab/tasks/register.go | 2 +- backend/plugins/gitlab/tasks/shared.go | 12 +- backend/plugins/gitlab/tasks/tag_collector.go | 6 +- backend/plugins/gitlab/tasks/tag_extractor.go | 8 +- backend/plugins/gitlab/tasks/task_data.go | 6 +- .../gitlab/tasks/trigger_job_collector.go | 8 +- .../gitlab/tasks/trigger_job_extractor.go | 8 +- backend/plugins/icla/impl/impl.go | 18 +-- backend/plugins/icla/models/committer.go | 2 +- .../20221021_add_icla_committer.go | 6 +- .../migrationscripts/archived/committer.go | 2 +- .../icla/models/migrationscripts/register.go | 2 +- backend/plugins/icla/plugin_main.go | 4 +- backend/plugins/icla/tasks/api_client.go | 8 +- .../plugins/icla/tasks/committer_collector.go | 6 +- .../plugins/icla/tasks/committer_extractor.go | 8 +- backend/plugins/icla/tasks/task_data.go | 2 +- .../plugins/incidentio/api/blueprint_v200.go | 20 ++-- .../plugins/incidentio/api/connection_api.go | 8 +- backend/plugins/incidentio/api/init.go | 8 +- backend/plugins/incidentio/api/remote_api.go | 12 +- backend/plugins/incidentio/api/scope_api.go | 8 +- .../plugins/incidentio/api/scope_state_api.go | 4 +- backend/plugins/incidentio/api/swagger.go | 2 +- .../plugins/incidentio/e2e/incident_test.go | 12 +- backend/plugins/incidentio/impl/impl.go | 22 ++-- backend/plugins/incidentio/incidentio.go | 4 +- .../plugins/incidentio/models/connection.go | 6 +- backend/plugins/incidentio/models/incident.go | 2 +- .../incidentio/models/incident_type.go | 4 +- .../20260729_add_init_tables.go | 8 +- .../migrationscripts/archived/connection.go | 2 +- .../migrationscripts/archived/incident.go | 2 +- .../archived/incident_type.go | 2 +- .../migrationscripts/archived/scope_config.go | 2 +- .../models/migrationscripts/register.go | 2 +- .../plugins/incidentio/models/scope_config.go | 2 +- .../tasks/incident_type_converter.go | 16 +-- .../tasks/incident_types_collector.go | 6 +- .../tasks/incident_types_extractor.go | 12 +- .../incidentio/tasks/incidents_collector.go | 6 +- .../incidentio/tasks/incidents_converter.go | 16 +-- .../tasks/incidents_converter_test.go | 4 +- .../incidentio/tasks/incidents_extractor.go | 10 +- .../tasks/incidents_extractor_test.go | 2 +- backend/plugins/incidentio/tasks/task_data.go | 6 +- backend/plugins/issue_trace/api/init.go | 2 +- .../general_issue_assignee_history_test.go | 10 +- .../e2e/general_issue_status_history_test.go | 10 +- backend/plugins/issue_trace/e2e/meta.go | 2 +- backend/plugins/issue_trace/impl/enricher.go | 22 ++-- backend/plugins/issue_trace/issue_trace.go | 4 +- .../models/issue_assignee_history.go | 2 +- .../models/issue_status_history.go | 2 +- .../2024_05_30_new_issue_table.go | 8 +- backend/plugins/issue_trace/services/query.go | 4 +- .../tasks/issue_assignee_history_convertor.go | 14 +-- .../tasks/issue_status_history_convertor.go | 14 +-- .../issue_status_history_convertor_test.go | 2 +- backend/plugins/issue_trace/utils/context.go | 4 +- backend/plugins/jenkins/api/blueprint_v200.go | 22 ++-- backend/plugins/jenkins/api/connection_api.go | 10 +- backend/plugins/jenkins/api/init.go | 8 +- backend/plugins/jenkins/api/jobs.go | 8 +- backend/plugins/jenkins/api/jobs_test.go | 10 +- backend/plugins/jenkins/api/remote_api.go | 10 +- backend/plugins/jenkins/api/scope_api.go | 8 +- .../plugins/jenkins/api/scope_config_api.go | 4 +- .../plugins/jenkins/api/scope_state_api.go | 4 +- backend/plugins/jenkins/api/swagger.go | 2 +- backend/plugins/jenkins/e2e/builds_test.go | 12 +- backend/plugins/jenkins/e2e/jobs_test.go | 14 +-- .../plugins/jenkins/e2e/multibranch_test.go | 14 +-- backend/plugins/jenkins/e2e/stages_test.go | 12 +- backend/plugins/jenkins/impl/impl.go | 28 ++--- backend/plugins/jenkins/jenkins.go | 4 +- backend/plugins/jenkins/models/build.go | 2 +- .../plugins/jenkins/models/build_commit.go | 2 +- backend/plugins/jenkins/models/connection.go | 2 +- backend/plugins/jenkins/models/job.go | 4 +- backend/plugins/jenkins/models/job_dag.go | 2 +- .../20220714_add_init_tables.go | 12 +- .../20220729_modify_all_entities.go | 8 +- .../20220916_modify_jenkins_build.go | 8 +- .../20221108_add_jobPath_for_builds.go | 4 +- .../20221108_add_job_fields.go | 4 +- .../20221110_change_index_of_job_path.go | 8 +- .../20221131_add_fullName_for_builds.go | 8 +- .../20221205_add_trasformation_rule_table.go | 8 +- ...d_connection_id_to_transformation_rules.go | 8 +- .../migrationscripts/20230530_scope_config.go | 6 +- ...20230630_add_raw_param_table_for_scopes.go | 10 +- ...40410_add_number_field_to_build_commits.go | 6 +- .../models/migrationscripts/archived/build.go | 2 +- .../migrationscripts/archived/connection.go | 2 +- .../models/migrationscripts/archived/job.go | 2 +- .../archived/transformation_rules.go | 2 +- .../models/migrationscripts/register.go | 2 +- .../plugins/jenkins/models/scope_config.go | 2 +- backend/plugins/jenkins/models/stage.go | 2 +- backend/plugins/jenkins/tasks/api_client.go | 8 +- .../jenkins/tasks/build_cicd_convertor.go | 16 +-- .../plugins/jenkins/tasks/build_collector.go | 8 +- .../jenkins/tasks/build_commit_convertor.go | 14 +-- .../plugins/jenkins/tasks/build_extractor.go | 8 +- .../jenkins/tasks/build_stages_enricher.go | 8 +- .../plugins/jenkins/tasks/job_collector.go | 6 +- .../plugins/jenkins/tasks/job_convertor.go | 16 +-- .../plugins/jenkins/tasks/job_extractor.go | 8 +- backend/plugins/jenkins/tasks/shared.go | 4 +- .../plugins/jenkins/tasks/stage_collector.go | 8 +- .../plugins/jenkins/tasks/stage_convertor.go | 18 +-- .../plugins/jenkins/tasks/stage_extractor.go | 8 +- backend/plugins/jenkins/tasks/task_data.go | 6 +- backend/plugins/jira/api/blueprint_v200.go | 20 ++-- backend/plugins/jira/api/connection_api.go | 10 +- .../plugins/jira/api/connection_api_test.go | 8 +- backend/plugins/jira/api/init.go | 8 +- backend/plugins/jira/api/remote_api.go | 12 +- backend/plugins/jira/api/scope_api.go | 12 +- backend/plugins/jira/api/scope_config_api.go | 8 +- backend/plugins/jira/api/scope_config_test.go | 14 +-- backend/plugins/jira/api/scope_state_api.go | 4 +- backend/plugins/jira/api/swagger.go | 2 +- backend/plugins/jira/e2e/account_test.go | 10 +- backend/plugins/jira/e2e/board_test.go | 10 +- backend/plugins/jira/e2e/changelog_test.go | 10 +- .../jira/e2e/development_penal_test.go | 8 +- backend/plugins/jira/e2e/epic_test.go | 10 +- .../jira/e2e/extract_issue_fields_test.go | 8 +- .../e2e/issue_changelog_board_scope_test.go | 12 +- .../plugins/jira/e2e/issue_changelog_test.go | 8 +- .../jira/e2e/issue_relationship_test.go | 12 +- .../jira/e2e/issue_repo_commit_test.go | 10 +- backend/plugins/jira/e2e/issue_test.go | 12 +- backend/plugins/jira/e2e/label_test.go | 10 +- .../plugins/jira/e2e/migration_schema_test.go | 18 +-- backend/plugins/jira/e2e/project_test.go | 8 +- backend/plugins/jira/e2e/remotelink_test.go | 8 +- backend/plugins/jira/e2e/sprint_issue_test.go | 10 +- backend/plugins/jira/e2e/sprint_test.go | 10 +- backend/plugins/jira/e2e/status_test.go | 8 +- backend/plugins/jira/e2e/worklog_test.go | 10 +- backend/plugins/jira/impl/impl.go | 24 ++-- backend/plugins/jira/jira.go | 4 +- backend/plugins/jira/models/account.go | 2 +- backend/plugins/jira/models/board.go | 4 +- backend/plugins/jira/models/board_issue.go | 2 +- backend/plugins/jira/models/connection.go | 6 +- backend/plugins/jira/models/issue.go | 2 +- .../plugins/jira/models/issue_changelog.go | 2 +- backend/plugins/jira/models/issue_comment.go | 2 +- backend/plugins/jira/models/issue_commit.go | 2 +- backend/plugins/jira/models/issue_field.go | 2 +- backend/plugins/jira/models/issue_label.go | 2 +- .../plugins/jira/models/issue_relationship.go | 2 +- backend/plugins/jira/models/issue_type.go | 2 +- .../20220407_add_source_table.go | 8 +- .../20220505_rename_source_table.go | 4 +- .../20220716_add_init_tables.go | 12 +- .../20221116_add_trasformation_rule_table.go | 8 +- .../20221215_add_project_name.go | 6 +- .../20230129_add_multi_auth.go | 10 +- .../20230214_remove_issue_stdstorypoint.go | 6 +- .../20230223_add_repo_pattern.go | 6 +- ...d_connection_id_to_transformation_rules.go | 8 +- .../20230322_expand_remotelink_url.go | 10 +- ...0412_add_changelog_total_field_to_issue.go | 6 +- .../migrationscripts/20230412_desc_comment.go | 10 +- .../20230510_expand_remotelink_selfurl.go | 10 +- .../migrationscripts/20230512_add_repo_url.go | 6 +- .../migrationscripts/20230530_scope_config.go | 6 +- .../20230601_add_application_type.go | 6 +- .../20230609_clear_repo_pattern.go | 6 +- ...20230630_add_raw_param_table_for_scopes.go | 10 +- .../20230726_add_issue_relationship_table.go | 8 +- .../20230808_drop_issue_allfields.go | 4 +- ...16_modify_issue_relationship_primarykey.go | 10 +- .../20240103_add_component_to_issue.go | 6 +- .../20240111_add_filter_jql.go | 6 +- .../20240514_add_worklog_total_to_issue.go | 4 +- .../20240611_add_subtask_to_issue.go | 4 +- ..._tmp_account_id_to_issue_changelog_item.go | 6 +- .../20240710_add_issue_field_table.go | 8 +- .../20240809_change_issue_component_type.go | 6 +- .../20240821_flush_issues_data.go | 8 +- .../20250305_add_due_date_config.go | 6 +- .../20250619_add_fix_versions_to_issue.go | 6 +- .../20260611_add_sub_query_to_boards.go | 6 +- .../20260702_add_extra_jql_to_scope_config.go | 6 +- .../20260707_change_fix_versions_to_text.go | 6 +- .../20260722_add_sprint_report_table.go | 6 +- ...7_add_raw_data_columns_to_sprint_report.go | 8 +- .../migrationscripts/archived/account.go | 2 +- .../models/migrationscripts/archived/board.go | 2 +- .../migrationscripts/archived/board_issue.go | 2 +- .../migrationscripts/archived/connection.go | 2 +- .../models/migrationscripts/archived/issue.go | 2 +- .../archived/issue_changelog.go | 2 +- .../archived/issue_comment.go | 2 +- .../migrationscripts/archived/issue_commit.go | 2 +- .../migrationscripts/archived/issue_field.go | 2 +- .../migrationscripts/archived/issue_label.go | 2 +- .../archived/issue_relationship.go | 2 +- .../migrationscripts/archived/issue_type.go | 2 +- .../migrationscripts/archived/project.go | 2 +- .../migrationscripts/archived/remotelink.go | 2 +- .../migrationscripts/archived/source.go | 2 +- .../migrationscripts/archived/sprint.go | 2 +- .../migrationscripts/archived/status.go | 2 +- .../archived/transformation_rule.go | 2 +- .../migrationscripts/archived/worklog.go | 2 +- .../jira/models/migrationscripts/register.go | 2 +- backend/plugins/jira/models/project.go | 2 +- backend/plugins/jira/models/remotelink.go | 2 +- backend/plugins/jira/models/scope_config.go | 4 +- backend/plugins/jira/models/sprint.go | 2 +- backend/plugins/jira/models/sprint_report.go | 2 +- backend/plugins/jira/models/status.go | 2 +- backend/plugins/jira/models/worklog.go | 2 +- .../plugins/jira/tasks/account_collector.go | 10 +- .../plugins/jira/tasks/account_convertor.go | 16 +-- .../plugins/jira/tasks/account_extractor.go | 8 +- backend/plugins/jira/tasks/api_client.go | 8 +- .../plugins/jira/tasks/apiv2models/board.go | 4 +- .../jira/tasks/apiv2models/changelog.go | 4 +- .../plugins/jira/tasks/apiv2models/comment.go | 4 +- .../plugins/jira/tasks/apiv2models/issue.go | 6 +- .../plugins/jira/tasks/apiv2models/project.go | 2 +- .../jira/tasks/apiv2models/remotelink.go | 2 +- .../plugins/jira/tasks/apiv2models/sprint.go | 2 +- .../plugins/jira/tasks/apiv2models/user.go | 2 +- .../plugins/jira/tasks/apiv2models/worklog.go | 4 +- backend/plugins/jira/tasks/board_convertor.go | 16 +-- .../tasks/board_filter_begin_collector.go | 12 +- .../jira/tasks/board_filter_end_collector.go | 8 +- .../jira/tasks/development_panel_collector.go | 10 +- .../jira/tasks/development_panel_extractor.go | 10 +- backend/plugins/jira/tasks/epic_collector.go | 10 +- .../plugins/jira/tasks/epic_collector_test.go | 2 +- backend/plugins/jira/tasks/epic_extractor.go | 14 +-- .../jira/tasks/issue_changelog_collector.go | 14 +-- .../jira/tasks/issue_changelog_convertor.go | 16 +-- .../jira/tasks/issue_changelog_extractor.go | 10 +- backend/plugins/jira/tasks/issue_collector.go | 12 +- .../jira/tasks/issue_collector_test.go | 6 +- .../jira/tasks/issue_comment_collector.go | 14 +-- .../jira/tasks/issue_comment_convertor.go | 16 +-- .../jira/tasks/issue_comment_extractor.go | 10 +- .../jira/tasks/issue_commit_convertor.go | 14 +-- backend/plugins/jira/tasks/issue_convertor.go | 16 +-- backend/plugins/jira/tasks/issue_extractor.go | 14 +-- .../jira/tasks/issue_extractor_test.go | 6 +- .../jira/tasks/issue_field_collector.go | 6 +- .../jira/tasks/issue_field_extractor.go | 10 +- .../jira/tasks/issue_label_convertor.go | 14 +-- .../tasks/issue_relationship_convertor.go | 14 +-- .../jira/tasks/issue_repo_commit_convertor.go | 14 +-- .../jira/tasks/issue_type_collector.go | 8 +- .../jira/tasks/issue_type_extractor.go | 8 +- .../plugins/jira/tasks/project_collector.go | 6 +- .../plugins/jira/tasks/project_extractor.go | 8 +- .../jira/tasks/remotelink_collector.go | 10 +- .../jira/tasks/remotelink_extractor.go | 10 +- backend/plugins/jira/tasks/shared.go | 6 +- .../plugins/jira/tasks/sprint_collector.go | 6 +- .../plugins/jira/tasks/sprint_convertor.go | 16 +-- .../plugins/jira/tasks/sprint_extractor.go | 10 +- .../jira/tasks/sprint_issues_convertor.go | 14 +-- .../jira/tasks/sprint_report_collector.go | 10 +- .../jira/tasks/sprint_report_convertor.go | 12 +- .../jira/tasks/sprint_report_extractor.go | 10 +- .../plugins/jira/tasks/status_collector.go | 6 +- .../plugins/jira/tasks/status_extractor.go | 10 +- backend/plugins/jira/tasks/task_data.go | 6 +- .../plugins/jira/tasks/worklog_collector.go | 10 +- .../plugins/jira/tasks/worklog_convertor.go | 16 +-- .../plugins/jira/tasks/worklog_extractor.go | 8 +- backend/plugins/kiro/api/blueprint_v200.go | 14 +-- backend/plugins/kiro/api/connection.go | 8 +- backend/plugins/kiro/api/init.go | 10 +- backend/plugins/kiro/api/remote_api.go | 12 +- backend/plugins/kiro/api/s3_slice_api.go | 10 +- backend/plugins/kiro/api/test_connection.go | 10 +- .../plugins/kiro/api/test_connection_test.go | 2 +- backend/plugins/kiro/impl/impl.go | 22 ++-- backend/plugins/kiro/impl/table_info_test.go | 2 +- backend/plugins/kiro/kiro.go | 4 +- backend/plugins/kiro/models/chat_log.go | 2 +- backend/plugins/kiro/models/completion_log.go | 2 +- backend/plugins/kiro/models/connection.go | 4 +- .../models/migrationscripts/20260729_init.go | 8 +- .../models/migrationscripts/archived/init.go | 2 +- .../kiro/models/migrationscripts/register.go | 2 +- backend/plugins/kiro/models/s3_file_meta.go | 2 +- backend/plugins/kiro/models/s3_slice.go | 4 +- .../kiro/models/timestamp_schema_test.go | 2 +- .../kiro/models/user_model_messages.go | 2 +- backend/plugins/kiro/models/user_report.go | 2 +- backend/plugins/kiro/tasks/discovery.go | 4 +- backend/plugins/kiro/tasks/discovery_test.go | 2 +- backend/plugins/kiro/tasks/extractor.go | 10 +- backend/plugins/kiro/tasks/extractor_test.go | 4 +- backend/plugins/kiro/tasks/identity_client.go | 2 +- backend/plugins/kiro/tasks/log_extractor.go | 6 +- backend/plugins/kiro/tasks/log_parser.go | 4 +- backend/plugins/kiro/tasks/normalize.go | 2 +- backend/plugins/kiro/tasks/s3_client.go | 4 +- backend/plugins/kiro/tasks/s3_client_test.go | 2 +- .../plugins/kiro/tasks/s3_file_collector.go | 8 +- .../kiro/tasks/s3_file_collector_test.go | 2 +- backend/plugins/kiro/tasks/task_data.go | 2 +- .../kiro/tasks/user_report_extractor.go | 6 +- .../plugins/kiro/tasks/user_report_parser.go | 4 +- .../kiro/tasks/user_report_parser_test.go | 2 +- backend/plugins/linear/api/blueprint_v200.go | 20 ++-- .../plugins/linear/api/blueprint_v200_test.go | 14 +-- backend/plugins/linear/api/connection_api.go | 10 +- backend/plugins/linear/api/init.go | 8 +- backend/plugins/linear/api/remote_api.go | 10 +- backend/plugins/linear/api/remote_api_test.go | 2 +- backend/plugins/linear/api/scope_api.go | 8 +- .../plugins/linear/api/scope_config_api.go | 4 +- backend/plugins/linear/e2e/account_test.go | 12 +- backend/plugins/linear/e2e/board_test.go | 12 +- backend/plugins/linear/e2e/comment_test.go | 12 +- backend/plugins/linear/e2e/cycle_test.go | 12 +- .../linear/e2e/issue_history_leadtime_test.go | 12 +- .../plugins/linear/e2e/issue_history_test.go | 12 +- .../plugins/linear/e2e/issue_incident_test.go | 12 +- .../plugins/linear/e2e/issue_leadtime_test.go | 12 +- .../linear/e2e/issue_longtitle_test.go | 10 +- backend/plugins/linear/e2e/issue_test.go | 12 +- backend/plugins/linear/e2e/label_test.go | 12 +- .../plugins/linear/e2e/sprint_issue_test.go | 12 +- .../plugins/linear/e2e/workflow_state_test.go | 10 +- backend/plugins/linear/impl/impl.go | 22 ++-- backend/plugins/linear/linear.go | 4 +- backend/plugins/linear/models/account.go | 2 +- backend/plugins/linear/models/connection.go | 6 +- backend/plugins/linear/models/cycle.go | 2 +- backend/plugins/linear/models/issue.go | 2 +- .../plugins/linear/models/issue_comment.go | 2 +- .../plugins/linear/models/issue_history.go | 2 +- backend/plugins/linear/models/issue_label.go | 2 +- .../20260601_add_init_tables.go | 8 +- .../migrationscripts/archived/models.go | 2 +- .../models/migrationscripts/register.go | 2 +- backend/plugins/linear/models/scope_config.go | 2 +- backend/plugins/linear/models/team.go | 4 +- .../plugins/linear/models/workflow_state.go | 2 +- .../plugins/linear/tasks/account_collector.go | 6 +- .../plugins/linear/tasks/account_convertor.go | 16 +-- .../plugins/linear/tasks/account_extractor.go | 8 +- backend/plugins/linear/tasks/api_client.go | 10 +- .../plugins/linear/tasks/board_convertor.go | 16 +-- .../plugins/linear/tasks/comment_collector.go | 6 +- .../plugins/linear/tasks/comment_convertor.go | 16 +-- .../plugins/linear/tasks/comment_extractor.go | 8 +- .../plugins/linear/tasks/cycle_collector.go | 6 +- .../plugins/linear/tasks/cycle_convertor.go | 16 +-- .../plugins/linear/tasks/cycle_extractor.go | 8 +- .../plugins/linear/tasks/issue_collector.go | 8 +- .../plugins/linear/tasks/issue_convertor.go | 16 +-- .../plugins/linear/tasks/issue_extractor.go | 8 +- .../linear/tasks/issue_history_collector.go | 6 +- .../linear/tasks/issue_history_convertor.go | 16 +-- .../linear/tasks/issue_history_extractor.go | 8 +- .../plugins/linear/tasks/label_convertor.go | 14 +-- backend/plugins/linear/tasks/shared.go | 6 +- backend/plugins/linear/tasks/shared_test.go | 2 +- .../linear/tasks/sprint_issue_convertor.go | 14 +-- backend/plugins/linear/tasks/task_data.go | 4 +- .../linear/tasks/workflow_state_collector.go | 6 +- .../linear/tasks/workflow_state_extractor.go | 8 +- .../linker/e2e/link_pr_and_issue_test.go | 12 +- .../e2e/snapshot_tables/board_issues.csv | 6 +- .../cross_project_board_issues.csv | 4 +- .../snapshot_tables/cross_project_issues.csv | 4 +- ...ross_project_pull_request_issues_after.csv | 2 +- ...oss_project_pull_request_issues_before.csv | 2 +- .../cross_project_pull_requests.csv | 4 +- .../linker/e2e/snapshot_tables/issues.csv | 8 +- .../e2e/snapshot_tables/pull_requests.csv | 4 +- backend/plugins/linker/impl/impl.go | 14 +-- backend/plugins/linker/linker.go | 4 +- .../models/migrationscripts/register.go | 2 +- .../plugins/linker/tasks/link_pr_and_issue.go | 16 +-- backend/plugins/linker/tasks/task_data.go | 4 +- .../plugins/opsgenie/api/blueprint_v200.go | 20 ++-- .../plugins/opsgenie/api/connection_api.go | 8 +- backend/plugins/opsgenie/api/init.go | 8 +- backend/plugins/opsgenie/api/remote_api.go | 14 +-- backend/plugins/opsgenie/api/scope_api.go | 8 +- .../plugins/opsgenie/api/scope_state_api.go | 4 +- backend/plugins/opsgenie/api/swagger.go | 2 +- backend/plugins/opsgenie/e2e/incident_test.go | 14 +-- backend/plugins/opsgenie/impl/impl.go | 22 ++-- backend/plugins/opsgenie/models/assignment.go | 2 +- backend/plugins/opsgenie/models/connection.go | 6 +- backend/plugins/opsgenie/models/incident.go | 2 +- .../20221115_add_init_tables.go | 8 +- .../20230123_add_connection_fields.go | 4 +- .../20230203_add_endpoint_proxy_to_conn.go | 6 +- .../20230203_add_transformation_rules.go | 8 +- .../migrationscripts/20230531_scope_config.go | 6 +- .../20230605_remove_scope_config.go | 4 +- ...20230630_add_raw_param_table_for_scopes.go | 10 +- ...0231214_add_tool_opsgenie_scope_configs.go | 8 +- ...w_fields_to_tool_opsgenie_scope_configs.go | 6 +- .../migrationscripts/archived/assignment.go | 2 +- .../migrationscripts/archived/connection.go | 2 +- .../migrationscripts/archived/incident.go | 2 +- .../migrationscripts/archived/responder.go | 2 +- .../migrationscripts/archived/service.go | 2 +- .../models/migrationscripts/archived/team.go | 2 +- .../archived/transformation_rules.go | 2 +- .../models/migrationscripts/archived/user.go | 2 +- .../models/migrationscripts/register.go | 2 +- backend/plugins/opsgenie/models/responder.go | 2 +- .../plugins/opsgenie/models/scope_config.go | 2 +- backend/plugins/opsgenie/models/service.go | 4 +- backend/plugins/opsgenie/models/team.go | 2 +- backend/plugins/opsgenie/models/user.go | 2 +- backend/plugins/opsgenie/opsgenie.go | 4 +- .../opsgenie/tasks/incidents_collector.go | 10 +- .../opsgenie/tasks/incidents_converter.go | 18 +-- .../opsgenie/tasks/incidents_extractor.go | 10 +- .../opsgenie/tasks/service_converter.go | 16 +-- backend/plugins/opsgenie/tasks/task_data.go | 6 +- .../plugins/opsgenie/tasks/teams_collector.go | 6 +- .../plugins/opsgenie/tasks/teams_convertor.go | 16 +-- .../plugins/opsgenie/tasks/teams_extractor.go | 10 +- .../plugins/opsgenie/tasks/users_collector.go | 6 +- .../plugins/opsgenie/tasks/users_convertor.go | 16 +-- .../plugins/opsgenie/tasks/users_extractor.go | 10 +- backend/plugins/org/api/handlers.go | 4 +- backend/plugins/org/api/project_mapping.go | 4 +- backend/plugins/org/api/store.go | 10 +- backend/plugins/org/api/team.go | 6 +- backend/plugins/org/api/types.go | 6 +- backend/plugins/org/api/user.go | 6 +- .../plugins/org/api/user_account_mapping.go | 6 +- .../plugins/org/e2e/project_mapping_test.go | 10 +- backend/plugins/org/e2e/user_account_test.go | 8 +- backend/plugins/org/impl/impl.go | 18 +-- backend/plugins/org/impl/impl_test.go | 2 +- backend/plugins/org/org.go | 2 +- backend/plugins/org/tasks/project_mapping.go | 10 +- backend/plugins/org/tasks/sleep.go | 4 +- backend/plugins/org/tasks/task_data.go | 2 +- backend/plugins/org/tasks/user_account.go | 10 +- .../plugins/pagerduty/api/blueprint_v200.go | 20 ++-- .../plugins/pagerduty/api/connection_api.go | 8 +- backend/plugins/pagerduty/api/init.go | 8 +- backend/plugins/pagerduty/api/remote_api.go | 16 +-- backend/plugins/pagerduty/api/scope_api.go | 8 +- .../plugins/pagerduty/api/scope_state_api.go | 4 +- backend/plugins/pagerduty/api/swagger.go | 2 +- .../plugins/pagerduty/e2e/incident_test.go | 12 +- backend/plugins/pagerduty/impl/impl.go | 22 ++-- .../plugins/pagerduty/models/assignment.go | 2 +- .../plugins/pagerduty/models/connection.go | 6 +- backend/plugins/pagerduty/models/incident.go | 2 +- .../20221115_add_init_tables.go | 8 +- .../20230123_add_connection_fields.go | 4 +- .../20230203_add_endpoint_proxy_to_conn.go | 6 +- .../20230203_add_transformation_rules.go | 8 +- .../migrationscripts/20230531_scope_config.go | 6 +- .../20230605_remove_scope_config.go | 4 +- ...20230630_add_raw_param_table_for_scopes.go | 10 +- .../20230920_add_incident_priority.go | 6 +- ...231214_add_tool_pagerduty_scope_configs.go | 8 +- ..._fields_to_tool_pagerduty_scope_configs.go | 6 +- .../migrationscripts/archived/assignment.go | 2 +- .../migrationscripts/archived/connection.go | 2 +- .../migrationscripts/archived/incident.go | 2 +- .../migrationscripts/archived/service.go | 2 +- .../archived/transformation_rules.go | 2 +- .../models/migrationscripts/archived/user.go | 2 +- .../models/migrationscripts/register.go | 2 +- .../plugins/pagerduty/models/scope_config.go | 2 +- backend/plugins/pagerduty/models/service.go | 4 +- backend/plugins/pagerduty/models/user.go | 2 +- backend/plugins/pagerduty/pager_duty.go | 4 +- .../pagerduty/tasks/incidents_collector.go | 10 +- .../pagerduty/tasks/incidents_converter.go | 18 +-- .../pagerduty/tasks/incidents_extractor.go | 12 +- .../pagerduty/tasks/service_converter.go | 16 +-- backend/plugins/pagerduty/tasks/task_data.go | 6 +- backend/plugins/refdiff/api/connection.go | 4 +- .../e2e/deployment_commit_diff_test.go | 14 +-- backend/plugins/refdiff/impl/impl.go | 14 +-- backend/plugins/refdiff/refdiff.go | 4 +- .../refdiff/tasks/commit_diff_calculator.go | 12 +- .../deployment_commit_diff_calculator.go | 14 +-- .../tasks/ref_issue_diff_calculator.go | 12 +- .../refdiff/tasks/refdiff_task_data.go | 8 +- .../tasks/refs_pr_cherry_pick_calculator.go | 8 +- backend/plugins/rootly/api/blueprint_v200.go | 20 ++-- backend/plugins/rootly/api/connection_api.go | 8 +- backend/plugins/rootly/api/init.go | 8 +- backend/plugins/rootly/api/remote_api.go | 12 +- backend/plugins/rootly/api/scope_api.go | 8 +- backend/plugins/rootly/api/scope_state_api.go | 4 +- backend/plugins/rootly/api/swagger.go | 2 +- backend/plugins/rootly/e2e/incident_test.go | 12 +- backend/plugins/rootly/impl/impl.go | 22 ++-- backend/plugins/rootly/models/connection.go | 6 +- backend/plugins/rootly/models/incident.go | 2 +- .../20260512_add_init_tables.go | 8 +- .../migrationscripts/archived/connection.go | 2 +- .../migrationscripts/archived/incident.go | 2 +- .../migrationscripts/archived/scope_config.go | 2 +- .../migrationscripts/archived/service.go | 2 +- .../models/migrationscripts/archived/user.go | 2 +- .../models/migrationscripts/register.go | 2 +- backend/plugins/rootly/models/scope_config.go | 2 +- backend/plugins/rootly/models/service.go | 4 +- backend/plugins/rootly/models/user.go | 2 +- backend/plugins/rootly/rootly.go | 4 +- .../rootly/tasks/incidents_collector.go | 6 +- .../rootly/tasks/incidents_converter.go | 16 +-- .../rootly/tasks/incidents_converter_test.go | 4 +- .../rootly/tasks/incidents_extractor.go | 10 +- .../rootly/tasks/incidents_extractor_test.go | 2 +- .../plugins/rootly/tasks/service_converter.go | 16 +-- .../rootly/tasks/services_collector.go | 6 +- .../rootly/tasks/services_extractor.go | 12 +- backend/plugins/rootly/tasks/task_data.go | 6 +- .../schema_e2e/migration_schema_test.go | 106 +++++++++--------- .../schema_e2e/migration_upgrade_path_test.go | 26 ++--- backend/plugins/slack/api/blueprint_v200.go | 10 +- backend/plugins/slack/api/connection.go | 10 +- backend/plugins/slack/api/init.go | 10 +- backend/plugins/slack/api/remote_api.go | 10 +- backend/plugins/slack/api/scope_api.go | 10 +- backend/plugins/slack/api/scope_state_api.go | 4 +- backend/plugins/slack/impl/impl.go | 24 ++-- backend/plugins/slack/models/channel.go | 4 +- .../plugins/slack/models/channel_message.go | 2 +- backend/plugins/slack/models/connection.go | 4 +- .../20230421_add_init_tables.go | 10 +- ...20250826_add_scope_config_id_to_channel.go | 8 +- .../migrationscripts/archived/channel.go | 2 +- .../archived/channel_message.go | 2 +- .../migrationscripts/archived/connection.go | 2 +- .../slack/models/migrationscripts/register.go | 2 +- backend/plugins/slack/slack.go | 4 +- backend/plugins/slack/tasks/api_client.go | 8 +- .../plugins/slack/tasks/channel_collector.go | 8 +- .../plugins/slack/tasks/channel_extractor.go | 8 +- .../slack/tasks/channel_message_collector.go | 8 +- .../slack/tasks/channel_message_extractor.go | 10 +- backend/plugins/slack/tasks/task_data.go | 2 +- .../plugins/slack/tasks/thread_collector.go | 10 +- .../plugins/slack/tasks/thread_extractor.go | 10 +- .../plugins/sonarqube/api/blueprint_v200.go | 20 ++-- .../plugins/sonarqube/api/connection_api.go | 10 +- backend/plugins/sonarqube/api/init.go | 10 +- backend/plugins/sonarqube/api/remote_api.go | 10 +- backend/plugins/sonarqube/api/scope_api.go | 12 +- .../plugins/sonarqube/api/scope_state_api.go | 4 +- backend/plugins/sonarqube/e2e/account_test.go | 12 +- .../plugins/sonarqube/e2e/filemetrics_test.go | 12 +- backend/plugins/sonarqube/e2e/hotspot_test.go | 12 +- .../issue_code_block_long_component_test.go | 22 ++-- backend/plugins/sonarqube/e2e/issue_test.go | 12 +- backend/plugins/sonarqube/e2e/project_test.go | 12 +- backend/plugins/sonarqube/impl/impl.go | 22 ++-- .../plugins/sonarqube/models/connection.go | 8 +- .../sonarqube/models/connection_test.go | 2 +- .../20230227_add_init_tables.go | 8 +- .../20230316_modify_character_set.go | 4 +- .../20230321_expend_project_key.go | 8 +- ...20230630_add_raw_param_table_for_scopes.go | 10 +- .../20230922_add_scope_config_id.go | 8 +- ...20230927_modify_file_metrics_key_length.go | 10 +- .../20231007_modify_component_length.go | 10 +- ...231214_add_tool_sonarqube_scope_configs.go | 8 +- .../20240325_modify_commit_character_type.go | 4 +- .../20240508_modify_commit_character_type.go | 4 +- ...614_update_tool_sonarqube_scope_configs.go | 6 +- .../20240709_modify_name_length.go | 8 +- .../20240813_change_issue_component_type.go | 6 +- .../20240813_increase_project_key_length.go | 6 +- .../20240930_add_connection_orgs.go | 8 +- .../20241010_add_issue_impacts.go | 10 +- .../20250527_extend_field_size.go | 6 +- ..._change_issue_code_block_component_type.go | 6 +- .../20260707_add_project_metrics_history.go | 10 +- .../migrationscripts/archived/connection.go | 2 +- .../archived/sonarqube_account.go | 2 +- .../archived/sonarqube_file_metrics.go | 2 +- .../archived/sonarqube_hotspot.go | 2 +- .../archived/sonarqube_issue.go | 2 +- .../archived/sonarqube_issue_code_block.go | 2 +- .../archived/sonarqube_project.go | 2 +- .../models/migrationscripts/register.go | 2 +- .../sonarqube/models/sonarqube_account.go | 2 +- .../models/sonarqube_file_metrics.go | 2 +- .../sonarqube/models/sonarqube_hotspot.go | 2 +- .../sonarqube/models/sonarqube_issue.go | 2 +- .../models/sonarqube_issue_code_block.go | 2 +- .../sonarqube/models/sonarqube_project.go | 4 +- .../models/sonarqube_project_analyses.go | 2 +- .../sonarqube_project_metrics_history.go | 2 +- backend/plugins/sonarqube/sonarqube.go | 4 +- .../sonarqube/tasks/account_convertor.go | 16 +-- .../sonarqube/tasks/accounts_collector.go | 6 +- .../sonarqube/tasks/accounts_extractor.go | 8 +- backend/plugins/sonarqube/tasks/api_client.go | 8 +- .../tasks/filemetrics_additional_collector.go | 6 +- .../tasks/filemetrics_additional_extractor.go | 8 +- .../sonarqube/tasks/filemetrics_collector.go | 6 +- .../sonarqube/tasks/filemetrics_convertor.go | 16 +-- .../sonarqube/tasks/filemetrics_extractor.go | 8 +- .../sonarqube/tasks/hotspots_collector.go | 8 +- .../sonarqube/tasks/hotspots_convertor.go | 16 +-- .../sonarqube/tasks/hotspots_extractor.go | 10 +- .../tasks/issue_code_blocks_convertor.go | 16 +-- .../tasks/issue_code_blocks_convertor_test.go | 4 +- .../tasks/issue_impacts_convertor.go | 14 +-- .../sonarqube/tasks/issues_collector.go | 8 +- .../sonarqube/tasks/issues_convertor.go | 16 +-- .../sonarqube/tasks/issues_extractor.go | 12 +- .../tasks/project_analyses_collector.go | 8 +- .../tasks/project_analyses_extractor.go | 8 +- .../project_metrics_history_collector.go | 8 +- .../project_metrics_history_convertor.go | 16 +-- .../project_metrics_history_extractor.go | 8 +- .../sonarqube/tasks/projects_convertor.go | 16 +-- backend/plugins/sonarqube/tasks/shared.go | 8 +- .../plugins/sonarqube/tasks/shared_test.go | 4 +- backend/plugins/sonarqube/tasks/task_data.go | 4 +- backend/plugins/starrocks/api/connection.go | 4 +- backend/plugins/starrocks/impl/impl.go | 10 +- backend/plugins/starrocks/starrocks.go | 4 +- backend/plugins/starrocks/tasks/tasks.go | 10 +- backend/plugins/table_info_test.go | 90 +++++++-------- backend/plugins/taiga/api/blueprint_v200.go | 18 +-- backend/plugins/taiga/api/connection_api.go | 10 +- backend/plugins/taiga/api/init.go | 8 +- backend/plugins/taiga/api/remote_api.go | 10 +- backend/plugins/taiga/api/scope_api.go | 8 +- backend/plugins/taiga/api/scope_config_api.go | 4 +- backend/plugins/taiga/e2e/epic_test.go | 12 +- backend/plugins/taiga/e2e/issue_test.go | 12 +- backend/plugins/taiga/e2e/project_test.go | 12 +- backend/plugins/taiga/e2e/task_test.go | 12 +- backend/plugins/taiga/e2e/user_story_test.go | 12 +- backend/plugins/taiga/impl/impl.go | 22 ++-- backend/plugins/taiga/models/connection.go | 6 +- backend/plugins/taiga/models/epic.go | 2 +- backend/plugins/taiga/models/issue.go | 2 +- .../20250220_add_init_tables.go | 6 +- .../20260306_add_task_issue_epic_tables.go | 6 +- ...260727_add_missing_scope_config_columns.go | 8 +- .../taiga/models/migrationscripts/register.go | 2 +- backend/plugins/taiga/models/project.go | 4 +- backend/plugins/taiga/models/scope_config.go | 4 +- backend/plugins/taiga/models/task.go | 2 +- backend/plugins/taiga/models/user_story.go | 2 +- backend/plugins/taiga/taiga.go | 4 +- backend/plugins/taiga/tasks/api_client.go | 8 +- backend/plugins/taiga/tasks/epic_collector.go | 6 +- backend/plugins/taiga/tasks/epic_convertor.go | 16 +-- backend/plugins/taiga/tasks/epic_extractor.go | 8 +- .../plugins/taiga/tasks/issue_collector.go | 6 +- .../plugins/taiga/tasks/issue_convertor.go | 16 +-- .../plugins/taiga/tasks/issue_extractor.go | 8 +- .../plugins/taiga/tasks/project_collector.go | 6 +- .../plugins/taiga/tasks/project_convertor.go | 16 +-- .../plugins/taiga/tasks/project_extractor.go | 10 +- backend/plugins/taiga/tasks/task_collector.go | 6 +- backend/plugins/taiga/tasks/task_convertor.go | 16 +-- backend/plugins/taiga/tasks/task_data.go | 6 +- backend/plugins/taiga/tasks/task_extractor.go | 8 +- .../taiga/tasks/user_story_collector.go | 6 +- .../taiga/tasks/user_story_convertor.go | 16 +-- .../taiga/tasks/user_story_extractor.go | 8 +- backend/plugins/tapd/api/blueprint_v200.go | 20 ++-- backend/plugins/tapd/api/connection_api.go | 10 +- backend/plugins/tapd/api/init.go | 10 +- backend/plugins/tapd/api/remote_api.go | 12 +- backend/plugins/tapd/api/scope_api.go | 8 +- backend/plugins/tapd/api/scope_config_api.go | 4 +- backend/plugins/tapd/api/scope_state_api.go | 4 +- backend/plugins/tapd/api/swagger.go | 2 +- .../plugins/tapd/e2e/bug_changelog_test.go | 10 +- .../plugins/tapd/e2e/bug_custom_field_test.go | 8 +- backend/plugins/tapd/e2e/bugs_commit_test.go | 12 +- backend/plugins/tapd/e2e/bugs_test.go | 12 +- backend/plugins/tapd/e2e/iterations_test.go | 10 +- .../plugins/tapd/e2e/stories_commit_test.go | 12 +- backend/plugins/tapd/e2e/stories_test.go | 12 +- .../tapd/e2e/story_and_bug_status_test.go | 8 +- backend/plugins/tapd/e2e/story_bug_test.go | 8 +- .../plugins/tapd/e2e/story_category_test.go | 8 +- .../plugins/tapd/e2e/story_changelog_test.go | 10 +- .../tapd/e2e/story_custom_field_test.go | 8 +- .../plugins/tapd/e2e/task_changelog_test.go | 10 +- .../tapd/e2e/task_custom_field_test.go | 8 +- backend/plugins/tapd/e2e/tasks_commit_test.go | 12 +- backend/plugins/tapd/e2e/tasks_test.go | 12 +- .../plugins/tapd/e2e/workitem_type_test.go | 8 +- backend/plugins/tapd/e2e/worklog_test.go | 10 +- backend/plugins/tapd/impl/impl.go | 22 ++-- backend/plugins/tapd/models/account.go | 2 +- backend/plugins/tapd/models/bug.go | 2 +- backend/plugins/tapd/models/bug_changelog.go | 2 +- backend/plugins/tapd/models/bug_commit.go | 2 +- .../plugins/tapd/models/bug_custom_field.go | 2 +- .../tapd/models/bug_custom_field_value.go | 2 +- backend/plugins/tapd/models/bug_label.go | 2 +- backend/plugins/tapd/models/bug_status.go | 2 +- backend/plugins/tapd/models/changelog.go | 2 +- backend/plugins/tapd/models/connection.go | 2 +- backend/plugins/tapd/models/iteration.go | 2 +- backend/plugins/tapd/models/iteration_bug.go | 2 +- .../plugins/tapd/models/iteration_story.go | 2 +- backend/plugins/tapd/models/iteration_task.go | 2 +- backend/plugins/tapd/models/life_time.go | 2 +- .../20221109_add_init_tables.go | 8 +- .../20230115_encode_connection_token.go | 12 +- .../20230323_add_transformation.go | 10 +- .../migrationscripts/20230330_delete_issue.go | 6 +- .../20230411_modify_custom_field_name.go | 6 +- .../20230412_add_custom_field_value.go | 8 +- .../migrationscripts/20230531_scope_config.go | 6 +- ...20230630_add_raw_param_table_for_scopes.go | 10 +- .../20231026_add_connection_id_to_labels.go | 10 +- .../20240415_add_company_id_to_connection.go | 8 +- .../20250221_add_lifetime_tables.go | 10 +- .../20250305_update_scope_config.go | 6 +- .../migrationscripts/archived/account.go | 2 +- .../models/migrationscripts/archived/bug.go | 2 +- .../archived/bug_changelog.go | 2 +- .../migrationscripts/archived/bug_commit.go | 2 +- .../archived/bug_custom_field.go | 2 +- .../archived/bug_custom_field_value.go | 2 +- .../migrationscripts/archived/bug_label.go | 2 +- .../migrationscripts/archived/bug_status.go | 2 +- .../migrationscripts/archived/iteration.go | 2 +- .../archived/iteration_bug.go | 2 +- .../archived/iteration_story.go | 2 +- .../archived/iteration_task.go | 2 +- .../models/migrationscripts/archived/story.go | 2 +- .../migrationscripts/archived/story_bug.go | 2 +- .../archived/story_category.go | 2 +- .../archived/story_changelog.go | 2 +- .../archived/story_commits.go | 2 +- .../archived/story_custom_field.go | 2 +- .../archived/story_custom_field_value.go | 2 +- .../migrationscripts/archived/story_label.go | 2 +- .../migrationscripts/archived/story_status.go | 2 +- .../archived/sub_workspace.go | 2 +- .../archived/tapd_connection.go | 2 +- .../models/migrationscripts/archived/task.go | 2 +- .../archived/task_changelog.go | 2 +- .../migrationscripts/archived/task_commits.go | 2 +- .../archived/task_custom_field.go | 2 +- .../archived/task_custom_field_value.go | 2 +- .../migrationscripts/archived/task_label.go | 2 +- .../archived/transformation_rule.go | 2 +- .../archived/workitem_type.go | 2 +- .../migrationscripts/archived/worklog.go | 2 +- .../migrationscripts/archived/workspace.go | 2 +- .../archived/workspace_bug.go | 2 +- .../archived/workspace_story.go | 2 +- .../archived/workspace_task.go | 2 +- .../tapd/models/migrationscripts/register.go | 2 +- backend/plugins/tapd/models/scope_config.go | 2 +- backend/plugins/tapd/models/story.go | 2 +- backend/plugins/tapd/models/story_bug.go | 2 +- backend/plugins/tapd/models/story_category.go | 2 +- .../plugins/tapd/models/story_changelog.go | 2 +- backend/plugins/tapd/models/story_commits.go | 2 +- .../plugins/tapd/models/story_custom_field.go | 2 +- .../tapd/models/story_custom_field_value.go | 2 +- backend/plugins/tapd/models/story_label.go | 2 +- backend/plugins/tapd/models/story_status.go | 2 +- backend/plugins/tapd/models/task.go | 2 +- backend/plugins/tapd/models/task_changelog.go | 2 +- backend/plugins/tapd/models/task_commits.go | 2 +- .../plugins/tapd/models/task_custom_field.go | 2 +- .../tapd/models/task_custom_field_value.go | 2 +- backend/plugins/tapd/models/task_label.go | 2 +- backend/plugins/tapd/models/workitem_type.go | 2 +- backend/plugins/tapd/models/worklog.go | 2 +- backend/plugins/tapd/models/workspace.go | 4 +- backend/plugins/tapd/models/workspace_bug.go | 2 +- .../plugins/tapd/models/workspace_story.go | 2 +- backend/plugins/tapd/models/workspace_task.go | 2 +- backend/plugins/tapd/tapd.go | 4 +- .../plugins/tapd/tasks/account_collector.go | 6 +- .../plugins/tapd/tasks/account_converter.go | 14 +-- .../plugins/tapd/tasks/account_extractor.go | 8 +- backend/plugins/tapd/tasks/api_client.go | 8 +- .../tapd/tasks/bug_changelog_collector.go | 6 +- .../tapd/tasks/bug_changelog_converter.go | 18 +-- .../tapd/tasks/bug_changelog_extractor.go | 8 +- backend/plugins/tapd/tasks/bug_collector.go | 6 +- .../tapd/tasks/bug_commit_collector.go | 10 +- .../tapd/tasks/bug_commit_converter.go | 14 +-- .../tapd/tasks/bug_commit_extractor.go | 8 +- backend/plugins/tapd/tasks/bug_converter.go | 16 +-- .../tapd/tasks/bug_custom_field_enricher.go | 10 +- .../tapd/tasks/bug_custom_fields_collector.go | 6 +- .../tapd/tasks/bug_custom_fields_extractor.go | 8 +- backend/plugins/tapd/tasks/bug_extractor.go | 12 +- .../plugins/tapd/tasks/bug_label_convertor.go | 14 +-- .../tapd/tasks/bug_status_collector.go | 6 +- .../tapd/tasks/bug_status_extractor.go | 8 +- .../tasks/bug_status_last_step_collector.go | 6 +- .../tasks/bug_status_last_step_enricher.go | 10 +- .../plugins/tapd/tasks/iteration_collector.go | 6 +- .../plugins/tapd/tasks/iteration_converter.go | 14 +-- .../plugins/tapd/tasks/iteration_extractor.go | 8 +- backend/plugins/tapd/tasks/shared.go | 14 +-- backend/plugins/tapd/tasks/shared_test.go | 12 +- .../plugins/tapd/tasks/story_bug_collector.go | 10 +- .../plugins/tapd/tasks/story_bug_extractor.go | 8 +- .../tapd/tasks/story_category_collector.go | 6 +- .../tapd/tasks/story_category_extractor.go | 8 +- .../tapd/tasks/story_changelog_collector.go | 6 +- .../tapd/tasks/story_changelog_converter.go | 18 +-- .../tapd/tasks/story_changelog_extractor.go | 10 +- backend/plugins/tapd/tasks/story_collector.go | 6 +- .../tapd/tasks/story_commit_collector.go | 10 +- .../tapd/tasks/story_commit_converter.go | 14 +-- .../tapd/tasks/story_commit_extractor.go | 8 +- backend/plugins/tapd/tasks/story_converter.go | 16 +-- .../tapd/tasks/story_custom_field_enricher.go | 10 +- .../tasks/story_custom_fields_collector.go | 6 +- .../tasks/story_custom_fields_extractor.go | 8 +- backend/plugins/tapd/tasks/story_extractor.go | 12 +- .../tapd/tasks/story_label_convertor.go | 14 +-- .../tapd/tasks/story_status_collector.go | 6 +- .../tapd/tasks/story_status_extractor.go | 8 +- .../tasks/story_status_last_step_collector.go | 6 +- .../tasks/story_status_last_step_enricher.go | 10 +- .../tapd/tasks/task_changelog_collector.go | 6 +- .../tapd/tasks/task_changelog_converter.go | 18 +-- .../tapd/tasks/task_changelog_extractor.go | 8 +- backend/plugins/tapd/tasks/task_collector.go | 6 +- .../tapd/tasks/task_commit_collector.go | 10 +- .../tapd/tasks/task_commit_converter.go | 14 +-- .../tapd/tasks/task_commit_extractor.go | 8 +- backend/plugins/tapd/tasks/task_converter.go | 16 +-- .../tapd/tasks/task_custom_field_enricher.go | 10 +- .../tasks/task_custom_fields_collector.go | 6 +- .../tasks/task_custom_fields_extractor.go | 8 +- backend/plugins/tapd/tasks/task_data.go | 6 +- backend/plugins/tapd/tasks/task_extractor.go | 12 +- .../tapd/tasks/task_label_convertor.go | 14 +-- .../tapd/tasks/workitem_lifetime_collector.go | 10 +- .../tapd/tasks/workitem_lifetime_extractor.go | 8 +- .../tapd/tasks/workitem_type_collector.go | 6 +- .../tapd/tasks/workitem_type_extractor.go | 8 +- .../plugins/tapd/tasks/worklog_collector.go | 6 +- .../plugins/tapd/tasks/worklog_converter.go | 16 +-- .../plugins/tapd/tasks/worklog_extractor.go | 8 +- .../plugins/tapd/tasks/workspace_converter.go | 12 +- .../plugins/teambition/api/blueprint_v200.go | 18 +-- .../plugins/teambition/api/connection_api.go | 12 +- backend/plugins/teambition/api/init.go | 8 +- backend/plugins/teambition/api/remote_api.go | 10 +- backend/plugins/teambition/api/scope_api.go | 8 +- .../teambition/api/scope_config_api.go | 4 +- .../plugins/teambition/e2e/changelogs_test.go | 14 +-- .../plugins/teambition/e2e/projects_test.go | 14 +-- backend/plugins/teambition/e2e/sprint_test.go | 14 +-- .../teambition/e2e/task_comment_test.go | 14 +-- .../teambition/e2e/task_scenarios_test.go | 10 +- .../plugins/teambition/e2e/task_tag_test.go | 14 +-- backend/plugins/teambition/e2e/task_test.go | 14 +-- .../e2e/task_work_flow_status_test.go | 10 +- .../teambition/e2e/task_worktime_test.go | 14 +-- backend/plugins/teambition/impl/impl.go | 22 ++-- backend/plugins/teambition/models/account.go | 2 +- .../plugins/teambition/models/connection.go | 6 +- .../20230314_add_init_tables.go | 8 +- ...0231123_recreate_teambition_connections.go | 8 +- .../20240417_add_scope_config_id.go | 8 +- .../20250529_add_app_id_back.go | 8 +- ...260727_add_missing_scope_config_columns.go | 8 +- .../migrationscripts/archived/account.go | 2 +- .../migrationscripts/archived/project.go | 2 +- .../migrationscripts/archived/sprint.go | 2 +- .../models/migrationscripts/archived/task.go | 2 +- .../archived/task_activity.go | 2 +- .../archived/task_flow_status.go | 2 +- .../archived/task_scenario.go | 2 +- .../migrationscripts/archived/task_tag.go | 2 +- .../archived/task_tag_task.go | 2 +- .../archived/task_worktime.go | 2 +- .../models/migrationscripts/register.go | 2 +- backend/plugins/teambition/models/project.go | 4 +- .../plugins/teambition/models/scope_config.go | 2 +- backend/plugins/teambition/models/sprint.go | 2 +- backend/plugins/teambition/models/task.go | 2 +- .../teambition/models/task_activity.go | 2 +- .../teambition/models/task_flow_status.go | 2 +- .../teambition/models/task_scenario.go | 2 +- backend/plugins/teambition/models/task_tag.go | 2 +- .../teambition/models/task_tag_task.go | 2 +- .../teambition/models/task_worktime.go | 2 +- .../teambition/tasks/account_collector.go | 6 +- .../teambition/tasks/account_converter.go | 14 +-- .../teambition/tasks/account_extractor.go | 8 +- .../plugins/teambition/tasks/api_client.go | 8 +- .../teambition/tasks/project_collector.go | 6 +- .../teambition/tasks/project_convertor.go | 14 +-- .../teambition/tasks/project_extractor.go | 8 +- backend/plugins/teambition/tasks/shared.go | 12 +- .../teambition/tasks/sprint_collector.go | 6 +- .../teambition/tasks/sprint_convertor.go | 14 +-- .../teambition/tasks/sprint_extractor.go | 8 +- .../tasks/task_activity_collector.go | 10 +- .../tasks/task_activity_extractor.go | 8 +- .../tasks/task_changelog_converter.go | 14 +-- .../teambition/tasks/task_collector.go | 6 +- .../tasks/task_comment_converter.go | 14 +-- .../teambition/tasks/task_converter.go | 14 +-- backend/plugins/teambition/tasks/task_data.go | 4 +- .../teambition/tasks/task_extractor.go | 8 +- .../tasks/task_flow_status_collector.go | 6 +- .../tasks/task_flow_status_extractor.go | 8 +- .../tasks/task_scenario_collector.go | 6 +- .../tasks/task_scenario_extractor.go | 8 +- .../teambition/tasks/task_tag_collector.go | 6 +- .../teambition/tasks/task_tag_extractor.go | 8 +- .../tasks/task_tag_task_converter.go | 12 +- .../tasks/task_worktime_collector.go | 10 +- .../tasks/task_worktime_converter.go | 14 +-- .../tasks/task_worktime_extractor.go | 8 +- backend/plugins/teambition/teambition.go | 4 +- backend/plugins/tempo/api/blueprint_v200.go | 18 +-- backend/plugins/tempo/api/connection.go | 10 +- backend/plugins/tempo/api/init.go | 8 +- backend/plugins/tempo/api/remote.go | 10 +- backend/plugins/tempo/api/scope.go | 8 +- backend/plugins/tempo/api/scope_config.go | 4 +- backend/plugins/tempo/e2e/worklog_test.go | 10 +- backend/plugins/tempo/impl/impl.go | 24 ++-- backend/plugins/tempo/models/connection.go | 6 +- .../migrationscripts/archived/models.go | 2 +- .../tempo/models/migrationscripts/register.go | 2 +- .../migrationscripts/register_tables.go | 8 +- backend/plugins/tempo/models/team.go | 4 +- backend/plugins/tempo/models/worklog.go | 2 +- backend/plugins/tempo/tasks/api_client.go | 8 +- backend/plugins/tempo/tasks/tasks.go | 4 +- backend/plugins/tempo/tasks/team_collector.go | 8 +- backend/plugins/tempo/tasks/team_extractor.go | 8 +- .../plugins/tempo/tasks/worklog_collector.go | 8 +- .../plugins/tempo/tasks/worklog_convertor.go | 14 +-- .../plugins/tempo/tasks/worklog_extractor.go | 8 +- backend/plugins/tempo/tempo.go | 4 +- backend/plugins/testmo/api/blueprint_v200.go | 14 +-- backend/plugins/testmo/api/connection.go | 8 +- backend/plugins/testmo/api/init.go | 8 +- backend/plugins/testmo/api/remote_api.go | 12 +- backend/plugins/testmo/api/scope.go | 4 +- backend/plugins/testmo/api/scope_config.go | 4 +- backend/plugins/testmo/api/scope_state_api.go | 4 +- backend/plugins/testmo/api/swagger.go | 2 +- backend/plugins/testmo/impl/impl.go | 22 ++-- .../plugins/testmo/models/automation_run.go | 2 +- backend/plugins/testmo/models/connection.go | 2 +- .../20240101_add_init_tables.go | 10 +- .../20250629_add_scope_config_id.go | 8 +- ...0250629_add_scope_config_id_to_projects.go | 8 +- .../20250808_replace_tests_with_runs.go | 10 +- ...0250905_fix_raw_table_names_and_schemas.go | 8 +- ...260727_add_missing_scope_config_columns.go | 8 +- .../archived/automation_run.go | 2 +- .../migrationscripts/archived/connection.go | 2 +- .../migrationscripts/archived/milestone.go | 2 +- .../migrationscripts/archived/project.go | 2 +- .../models/migrationscripts/archived/run.go | 2 +- .../migrationscripts/archived/scope_config.go | 2 +- .../models/migrationscripts/archived/test.go | 2 +- .../models/migrationscripts/register.go | 2 +- backend/plugins/testmo/models/milestone.go | 2 +- backend/plugins/testmo/models/project.go | 4 +- backend/plugins/testmo/models/run.go | 2 +- backend/plugins/testmo/models/scope_config.go | 2 +- backend/plugins/testmo/tasks/api_client.go | 8 +- .../testmo/tasks/automation_run_collector.go | 6 +- .../testmo/tasks/automation_run_converter.go | 10 +- .../testmo/tasks/automation_run_extractor.go | 8 +- .../testmo/tasks/milestone_collector.go | 6 +- .../testmo/tasks/milestone_extractor.go | 8 +- .../plugins/testmo/tasks/project_collector.go | 6 +- .../plugins/testmo/tasks/project_converter.go | 16 +-- .../plugins/testmo/tasks/project_extractor.go | 10 +- backend/plugins/testmo/tasks/run_collector.go | 6 +- backend/plugins/testmo/tasks/run_converter.go | 16 +-- backend/plugins/testmo/tasks/run_extractor.go | 8 +- backend/plugins/testmo/tasks/shared.go | 8 +- backend/plugins/testmo/tasks/task_data.go | 4 +- backend/plugins/testmo/testmo.go | 4 +- backend/plugins/trello/api/blueprint_v200.go | 20 ++-- backend/plugins/trello/api/connection_api.go | 10 +- backend/plugins/trello/api/init.go | 8 +- backend/plugins/trello/api/remote_api.go | 4 +- backend/plugins/trello/api/scope_api.go | 8 +- .../plugins/trello/api/scope_config_api.go | 4 +- backend/plugins/trello/api/swagger.go | 2 +- backend/plugins/trello/e2e/card_test.go | 10 +- .../plugins/trello/e2e/check_items_test.go | 10 +- backend/plugins/trello/e2e/labels_test.go | 10 +- backend/plugins/trello/e2e/lists_test.go | 10 +- backend/plugins/trello/e2e/members_test.go | 10 +- backend/plugins/trello/impl/impl.go | 22 ++-- backend/plugins/trello/models/board.go | 4 +- backend/plugins/trello/models/card.go | 2 +- backend/plugins/trello/models/check_item.go | 2 +- backend/plugins/trello/models/connection.go | 6 +- backend/plugins/trello/models/label.go | 2 +- backend/plugins/trello/models/list.go | 2 +- backend/plugins/trello/models/member.go | 2 +- .../20230305_add_init_tables.go | 8 +- ...d_connection_id_to_transformation_rules.go | 10 +- .../migrationscripts/20230531_scope_config.go | 6 +- ...20230630_add_raw_param_table_for_scopes.go | 10 +- .../models/migrationscripts/archived/board.go | 2 +- .../models/migrationscripts/archived/card.go | 2 +- .../migrationscripts/archived/check_item.go | 2 +- .../migrationscripts/archived/connection.go | 2 +- .../models/migrationscripts/archived/label.go | 2 +- .../models/migrationscripts/archived/list.go | 2 +- .../migrationscripts/archived/member.go | 2 +- .../archived/transformation_rule.go | 2 +- .../models/migrationscripts/register.go | 2 +- backend/plugins/trello/models/scope_config.go | 2 +- backend/plugins/trello/tasks/api_client.go | 8 +- .../plugins/trello/tasks/card_collector.go | 6 +- .../plugins/trello/tasks/card_extractor.go | 8 +- .../trello/tasks/check_item_collector.go | 6 +- .../trello/tasks/check_item_extractor.go | 8 +- .../plugins/trello/tasks/label_collector.go | 6 +- .../plugins/trello/tasks/label_extractor.go | 8 +- .../plugins/trello/tasks/list_collector.go | 6 +- .../plugins/trello/tasks/list_extractor.go | 8 +- .../plugins/trello/tasks/member_collector.go | 6 +- .../plugins/trello/tasks/member_extractor.go | 8 +- backend/plugins/trello/tasks/task_data.go | 4 +- backend/plugins/trello/trello.go | 4 +- backend/plugins/webhook/api/blueprint_v200.go | 16 +-- backend/plugins/webhook/api/connection.go | 10 +- backend/plugins/webhook/api/deployments.go | 22 ++-- backend/plugins/webhook/api/init.go | 10 +- backend/plugins/webhook/api/issues.go | 18 +-- backend/plugins/webhook/api/pull_requests.go | 18 +-- backend/plugins/webhook/impl/impl.go | 18 +-- backend/plugins/webhook/models/connection.go | 2 +- .../20220908_add_init_tables.go | 8 +- .../migrationscripts/20231116_add_api_keys.go | 14 +-- .../migrationscripts/archived/api_keys.go | 2 +- .../migrationscripts/archived/connection.go | 2 +- .../models/migrationscripts/register.go | 2 +- backend/plugins/webhook/webhook.go | 2 +- backend/plugins/zentao/api/blueprint_v200.go | 20 ++-- backend/plugins/zentao/api/connection_api.go | 12 +- backend/plugins/zentao/api/init.go | 8 +- backend/plugins/zentao/api/remote_api.go | 10 +- backend/plugins/zentao/api/scope_api.go | 8 +- .../plugins/zentao/api/scope_config_api.go | 4 +- backend/plugins/zentao/api/scope_state_api.go | 4 +- backend/plugins/zentao/e2e/account_test.go | 16 +-- .../plugins/zentao/e2e/bug_commits_test.go | 12 +- backend/plugins/zentao/e2e/bug_test.go | 12 +- backend/plugins/zentao/e2e/changelog_test.go | 18 +-- .../zentao/e2e/check_connection_test.go | 4 +- backend/plugins/zentao/e2e/execution_test.go | 12 +- .../plugins/zentao/e2e/story_commits_test.go | 12 +- backend/plugins/zentao/e2e/story_test.go | 12 +- .../plugins/zentao/e2e/task_commits_test.go | 12 +- backend/plugins/zentao/e2e/task_test.go | 12 +- .../plugins/zentao/e2e/task_worklogs_test.go | 12 +- backend/plugins/zentao/impl/impl.go | 26 ++--- backend/plugins/zentao/models/account.go | 2 +- backend/plugins/zentao/models/bug.go | 2 +- backend/plugins/zentao/models/bug_commits.go | 2 +- backend/plugins/zentao/models/changelog.go | 2 +- backend/plugins/zentao/models/connection.go | 6 +- backend/plugins/zentao/models/department.go | 2 +- backend/plugins/zentao/models/execution.go | 2 +- .../zentao/models/execution_stories.go | 2 +- .../zentao/models/execution_summary.go | 2 +- .../20221121_add_init_tables.go | 8 +- .../20230601_add_scope_config.go | 8 +- .../20230605_add_issue_repo_commits.go | 8 +- .../20230608_add_init_changelog_tables.go | 8 +- .../20230627_add_task_left.go | 6 +- ..._add_raw_param_table_for_project_scopes.go | 10 +- .../20230705_add_execution_stories.go | 8 +- .../20230803_drop_total_real.go | 6 +- .../migrationscripts/20250219_add_worklogs.go | 8 +- .../20250305_update_scope_config.go | 6 +- .../migrationscripts/archived/account.go | 2 +- .../models/migrationscripts/archived/bug.go | 2 +- .../migrationscripts/archived/bug_commits.go | 2 +- .../migrationscripts/archived/changelog.go | 2 +- .../migrationscripts/archived/connection.go | 2 +- .../migrationscripts/archived/department.go | 2 +- .../migrationscripts/archived/execution.go | 2 +- .../archived/execution_stories.go | 2 +- .../archived/execution_summary.go | 2 +- .../migrationscripts/archived/product.go | 2 +- .../archived/product_summary.go | 2 +- .../migrationscripts/archived/project.go | 2 +- .../archived/project_stories.go | 2 +- .../migrationscripts/archived/scope_config.go | 2 +- .../models/migrationscripts/archived/story.go | 2 +- .../archived/story_commits.go | 2 +- .../models/migrationscripts/archived/task.go | 2 +- .../migrationscripts/archived/task_commits.go | 2 +- .../migrationscripts/archived/worklog.go | 2 +- .../models/migrationscripts/register.go | 2 +- backend/plugins/zentao/models/product.go | 2 +- .../plugins/zentao/models/product_summary.go | 2 +- backend/plugins/zentao/models/project.go | 4 +- .../plugins/zentao/models/project_stories.go | 2 +- backend/plugins/zentao/models/scope_config.go | 2 +- backend/plugins/zentao/models/story.go | 2 +- .../plugins/zentao/models/story_commits.go | 2 +- backend/plugins/zentao/models/task.go | 2 +- backend/plugins/zentao/models/task_commits.go | 2 +- backend/plugins/zentao/models/worklog.go | 2 +- .../plugins/zentao/tasks/account_collector.go | 6 +- .../plugins/zentao/tasks/account_convertor.go | 16 +-- .../plugins/zentao/tasks/account_extractor.go | 8 +- backend/plugins/zentao/tasks/api_client.go | 8 +- backend/plugins/zentao/tasks/bug_collector.go | 6 +- .../zentao/tasks/bug_commits_collector.go | 12 +- .../zentao/tasks/bug_commits_extractor.go | 8 +- backend/plugins/zentao/tasks/bug_convertor.go | 16 +-- backend/plugins/zentao/tasks/bug_extractor.go | 12 +- .../tasks/bug_repo_commits_collector.go | 10 +- .../tasks/bug_repo_commits_convertor.go | 14 +-- .../zentao/tasks/bug_repo_commits_dbget.go | 10 +- .../tasks/bug_repo_commits_extractor.go | 8 +- .../zentao/tasks/changelog_convertor.go | 18 +-- .../plugins/zentao/tasks/changelog_dbget.go | 10 +- .../zentao/tasks/department_collector.go | 6 +- .../zentao/tasks/department_extractor.go | 8 +- .../zentao/tasks/execution_collector.go | 6 +- .../zentao/tasks/execution_convertor.go | 16 +-- .../zentao/tasks/execution_extractor.go | 8 +- .../zentao/tasks/execution_story_collector.go | 6 +- .../zentao/tasks/execution_story_convertor.go | 14 +-- .../tasks/execution_summary_collector.go | 6 +- .../tasks/execution_summary_dev_collector.go | 10 +- .../tasks/execution_summary_dev_extractor.go | 8 +- .../tasks/execution_summary_extractor.go | 8 +- backend/plugins/zentao/tasks/iterator.go | 4 +- .../plugins/zentao/tasks/project_convertor.go | 16 +-- backend/plugins/zentao/tasks/shared.go | 10 +- .../plugins/zentao/tasks/story_collector.go | 6 +- .../zentao/tasks/story_commits_collector.go | 12 +- .../zentao/tasks/story_commits_extractor.go | 8 +- .../plugins/zentao/tasks/story_convertor.go | 16 +-- .../plugins/zentao/tasks/story_extractor.go | 12 +- .../tasks/story_repo_commits_collector.go | 10 +- .../tasks/story_repo_commits_convertor.go | 14 +-- .../zentao/tasks/story_repo_commits_dbget.go | 10 +- .../tasks/story_repo_commits_extractor.go | 8 +- .../plugins/zentao/tasks/task_collector.go | 10 +- .../zentao/tasks/task_collector_test.go | 2 +- .../zentao/tasks/task_commits_collector.go | 10 +- .../zentao/tasks/task_commits_extractor.go | 8 +- .../plugins/zentao/tasks/task_convertor.go | 16 +-- backend/plugins/zentao/tasks/task_data.go | 8 +- .../plugins/zentao/tasks/task_extractor.go | 12 +- .../tasks/task_repo_commits_collector.go | 10 +- .../tasks/task_repo_commits_convertor.go | 14 +-- .../zentao/tasks/task_repo_commits_dbget.go | 10 +- .../tasks/task_repo_commits_extractor.go | 8 +- .../zentao/tasks/task_worklog_collector.go | 10 +- .../zentao/tasks/task_worklog_convertor.go | 18 +-- .../zentao/tasks/task_worklog_extractor.go | 8 +- backend/plugins/zentao/zentao.go | 4 +- backend/python/README.md | 4 +- backend/scripts/build-server.sh | 2 +- backend/server/api/api.go | 20 ++-- backend/server/api/apikeys/apikeys.go | 10 +- backend/server/api/auth/auth.go | 12 +- backend/server/api/auth/cleanup.go | 4 +- backend/server/api/auth/handlers_test.go | 8 +- backend/server/api/auth/middleware.go | 6 +- backend/server/api/auth/revocation_cache.go | 4 +- backend/server/api/auth/store.go | 4 +- backend/server/api/blueprints/blueprints.go | 8 +- backend/server/api/domainlayer/repos.go | 6 +- backend/server/api/middlewares.go | 14 +-- .../api/middlewares_forwardsecret_test.go | 12 +- .../server/api/middlewares_rest_auth_test.go | 16 +-- backend/server/api/middlewares_test.go | 6 +- backend/server/api/ping/ping.go | 4 +- backend/server/api/pipelines/pipelines.go | 8 +- backend/server/api/plugininfo/plugininifo.go | 12 +- backend/server/api/project/project.go | 8 +- backend/server/api/push/push.go | 6 +- backend/server/api/router.go | 34 +++--- backend/server/api/shared/api_output.go | 6 +- backend/server/api/shared/gin_utils.go | 2 +- backend/server/api/store/store.go | 8 +- backend/server/api/task/task.go | 8 +- backend/server/api/version/version.go | 2 +- backend/server/main.go | 8 +- backend/server/services/apikeys.go | 10 +- backend/server/services/base.go | 2 +- backend/server/services/blueprint.go | 12 +- .../services/blueprint_makeplan_v200.go | 6 +- .../services/blueprint_makeplan_v200_test.go | 26 ++--- backend/server/services/blueprint_test.go | 2 +- backend/server/services/dm_code.go | 6 +- backend/server/services/init.go | 18 +-- backend/server/services/locking.go | 8 +- backend/server/services/pipeline.go | 14 +-- backend/server/services/pipeline_helper.go | 8 +- .../server/services/pipeline_notification.go | 2 +- .../services/pipeline_notification_impl.go | 6 +- backend/server/services/pipeline_runner.go | 12 +- backend/server/services/pluginapi.go | 4 +- backend/server/services/probes.go | 6 +- backend/server/services/project.go | 10 +- backend/server/services/pushapi.go | 6 +- .../server/services/pushapiaccess/access.go | 2 +- .../server/services/remote/bridge/bridge.go | 6 +- backend/server/services/remote/bridge/cmd.go | 8 +- .../server/services/remote/bridge/context.go | 12 +- .../server/services/remote/bridge/returns.go | 2 +- backend/server/services/remote/init.go | 10 +- .../services/remote/models/conversion.go | 8 +- .../remote/models/dynamic_domain_scopes.go | 12 +- .../services/remote/models/migration.go | 14 +-- ...zuredevops_20230714_add_raw_data_params.go | 10 +- ...zuredevops_20230714_decrypt_azdo_fields.go | 10 +- ...edevops_20240201_unique_connection_name.go | 10 +- .../models/migrationscripts/register.go | 4 +- .../server/services/remote/models/models.go | 8 +- .../services/remote/models/plugin_remote.go | 2 +- .../services/remote/plugin/connection_api.go | 8 +- .../services/remote/plugin/default_api.go | 10 +- .../services/remote/plugin/doc/open_api.go | 6 +- backend/server/services/remote/plugin/init.go | 8 +- .../remote/plugin/plugin_extensions.go | 10 +- .../services/remote/plugin/plugin_impl.go | 22 ++-- .../remote/plugin/remote_scope_api.go | 8 +- .../services/remote/plugin/scope_api.go | 8 +- .../remote/plugin/scope_config_api.go | 12 +- .../services/remote/plugin/scope_db_helper.go | 12 +- backend/server/services/remote/run/run.go | 8 +- backend/server/services/store.go | 6 +- backend/server/services/task.go | 10 +- backend/server/services/task_runner.go | 10 +- backend/test/e2e/manual/Readme.md | 2 +- backend/test/e2e/manual/argocd/argocd_test.go | 16 +-- .../test/e2e/manual/azuredevops/azure_test.go | 14 +-- backend/test/e2e/manual/azuredevops/models.go | 2 +- backend/test/e2e/manual/gitlab/gitlab_test.go | 18 +-- .../e2e/manual/pagerduty/pagerduty_test.go | 14 +-- backend/test/e2e/manual/testmo/testmo_test.go | 14 +-- backend/test/e2e/remote/helper.go | 10 +- backend/test/e2e/remote/python_plugin_test.go | 6 +- .../test/e2e/services/pipeline_runner_test.go | 8 +- .../test/e2e/services/server_startup_test.go | 60 +++++----- backend/test/helper/api.go | 12 +- backend/test/helper/bootstrap.go | 8 +- backend/test/helper/client.go | 32 +++--- backend/test/helper/client_factory.go | 4 +- backend/test/helper/db_selector.go | 2 +- backend/test/helper/init.go | 2 +- backend/test/helper/models.go | 6 +- backend/test/helper/utils.go | 2 +- backend/test/init.go | 4 +- config-ui/.tool-versions | 1 + config-ui/index.html | 8 +- .../plugins/register/claude-code/config.tsx | 2 +- .../plugins/register/gh-copilot/config.tsx | 2 +- .../advanced-editor/example/general.ts | 2 +- .../advanced-editor/example/gitextractor.ts | 2 +- .../advanced-editor/example/github.ts | 2 +- config-ui/src/routes/error/index.tsx | 2 +- config-ui/src/routes/layout/config.tsx | 2 +- config-ui/src/routes/onboard/step-4.tsx | 2 +- grafana/dashboards/mysql/Taiga.json | 2 +- grafana/dashboards/postgresql/Taiga.json | 2 +- 2750 files changed, 10070 insertions(+), 10068 deletions(-) create mode 100644 config-ui/.tool-versions diff --git a/LICENSE b/LICENSE index 65ff7d698ae..8558cbd6ffe 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/DevelopmentManual.md b/backend/DevelopmentManual.md index 56628821634..1043c7d4a64 100644 --- a/backend/DevelopmentManual.md +++ b/backend/DevelopmentManual.md @@ -134,11 +134,11 @@ We have covered all the components of a DevLake plugin. Happy coding! 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 8165d2e4e3f..45969b0ca71 100644 --- a/backend/core/context/basic_res.go +++ b/backend/core/context/basic_res.go @@ -18,9 +18,9 @@ limitations under the License. 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 d2ffe505f7f..3b3eab901a2 100644 --- a/backend/core/dal/dal.go +++ b/backend/core/dal/dal.go @@ -22,7 +22,7 @@ import ( "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 710d94e6fdb..9f17aa6cec6 100644 --- a/backend/core/dal/identifier.go +++ b/backend/core/dal/identifier.go @@ -21,7 +21,7 @@ import ( "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 68f93cec3d7..512c807c5b9 100644 --- a/backend/core/domain_tables_info_test.go +++ b/backend/core/domain_tables_info_test.go @@ -20,8 +20,8 @@ package core 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 11aae870ce9..0e0c40107b6 100644 --- a/backend/core/migration/linter/main.go +++ b/backend/core/migration/linter/main.go @@ -140,16 +140,16 @@ func main() { "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 d60c9b8f970..d8540355530 100644 --- a/backend/core/migration/migrator.go +++ b/backend/core/migration/migrator.go @@ -19,10 +19,10 @@ package migration 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 db662c4b053..284abcbd690 100644 --- a/backend/core/migration/migrator_test.go +++ b/backend/core/migration/migrator_test.go @@ -18,13 +18,13 @@ limitations under the License. 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 6484e788b1e..f87014db000 100644 --- a/backend/core/models/api_key.go +++ b/backend/core/models/api_key.go @@ -18,7 +18,7 @@ limitations under the License. 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 a9b86d635d9..3c7dde239ce 100644 --- a/backend/core/models/blueprint.go +++ b/backend/core/models/blueprint.go @@ -20,7 +20,7 @@ package models 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 6f3678f8cd8..f85997064fd 100644 --- a/backend/core/models/common/base.go +++ b/backend/core/models/common/base.go @@ -20,7 +20,7 @@ package common 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 97eace65510..76242460e86 100644 --- a/backend/core/models/common/cst_time_test.go +++ b/backend/core/models/common/cst_time_test.go @@ -22,7 +22,7 @@ import ( "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 ad8fe1babc7..79e3203e3d2 100644 --- a/backend/core/models/domainlayer/code/commit.go +++ b/backend/core/models/domainlayer/code/commit.go @@ -20,8 +20,8 @@ package code 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 ebdb8882008..fe45c91df3b 100644 --- a/backend/core/models/domainlayer/code/commit_parent.go +++ b/backend/core/models/domainlayer/code/commit_parent.go @@ -18,7 +18,7 @@ limitations under the License. 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 d659a5fdd22..e8517e780d8 100644 --- a/backend/core/models/domainlayer/code/pull_request.go +++ b/backend/core/models/domainlayer/code/pull_request.go @@ -19,10 +19,10 @@ package code 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 662ec9f84ee..d64330a52de 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 @@ limitations under the License. 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 bfe0db18c9a..b9a424b6c6f 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 @@ package code 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 af82d726d49..48a56a71ab5 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 @@ package code 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 fba67da7222..99914bba0a1 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 @@ limitations under the License. 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 8d99664c6cf..016e6155e97 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 @@ limitations under the License. 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 906eec4497d..981ccf1a5bc 100644 --- a/backend/core/models/domainlayer/code/ref.go +++ b/backend/core/models/domainlayer/code/ref.go @@ -20,7 +20,7 @@ package code 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 408dd0119f2..fa96bfe257c 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 @@ limitations under the License. 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 f6ad9faf98b..dfcde63c4af 100644 --- a/backend/core/models/domainlayer/code/repo.go +++ b/backend/core/models/domainlayer/code/repo.go @@ -18,8 +18,8 @@ limitations under the License. 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 66ad6682cff..41e007b21ab 100644 --- a/backend/core/models/domainlayer/code/repo_commit.go +++ b/backend/core/models/domainlayer/code/repo_commit.go @@ -18,7 +18,7 @@ limitations under the License. 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 dc069230e20..2ed87b42878 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 @@ limitations under the License. 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 c522fc5cce0..ec2d434f5dc 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 @@ limitations under the License. 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 4441eb1d7c0..279787a0049 100644 --- a/backend/core/models/domainlayer/codequality/cq_issues.go +++ b/backend/core/models/domainlayer/codequality/cq_issues.go @@ -18,8 +18,8 @@ limitations under the License. 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 90f64ce660c..56367c67b65 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 @@ package codequality 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 d0f0be4d323..5a488a25386 100644 --- a/backend/core/models/domainlayer/codequality/cq_projects.go +++ b/backend/core/models/domainlayer/codequality/cq_projects.go @@ -18,9 +18,9 @@ limitations under the License. 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 e8ae63a1ebd..fa3d8935dfd 100644 --- a/backend/core/models/domainlayer/crossdomain/account.go +++ b/backend/core/models/domainlayer/crossdomain/account.go @@ -20,7 +20,7 @@ package crossdomain 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 fd5d1255e2d..abf6c7e9f54 100644 --- a/backend/core/models/domainlayer/crossdomain/board_repo.go +++ b/backend/core/models/domainlayer/crossdomain/board_repo.go @@ -18,7 +18,7 @@ limitations under the License. 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 29cb6b84248..253a647a8f3 100644 --- a/backend/core/models/domainlayer/crossdomain/issue_commit.go +++ b/backend/core/models/domainlayer/crossdomain/issue_commit.go @@ -18,7 +18,7 @@ limitations under the License. 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 911c984c3b1..7c9bd24e9a1 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 @@ limitations under the License. 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 755741c1b13..72996ff8c56 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 @@ limitations under the License. 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 8834cd850c2..0a9acca695f 100644 --- a/backend/core/models/domainlayer/crossdomain/project_mapping.go +++ b/backend/core/models/domainlayer/crossdomain/project_mapping.go @@ -18,7 +18,7 @@ limitations under the License. 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 3ddafb2ee7b..e96e06250bb 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 @@ package crossdomain 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 a336b4c5d23..beab3ff9cea 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 @@ limitations under the License. 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 c62c3f70c0c..2d6f1718349 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 @@ limitations under the License. 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 96772b3eac9..7db2b5a6c32 100644 --- a/backend/core/models/domainlayer/crossdomain/team.go +++ b/backend/core/models/domainlayer/crossdomain/team.go @@ -18,7 +18,7 @@ limitations under the License. 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 d0687c14447..a2127211535 100644 --- a/backend/core/models/domainlayer/crossdomain/team_user.go +++ b/backend/core/models/domainlayer/crossdomain/team_user.go @@ -18,7 +18,7 @@ limitations under the License. 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 b41a4d4a431..2401e184e80 100644 --- a/backend/core/models/domainlayer/crossdomain/user.go +++ b/backend/core/models/domainlayer/crossdomain/user.go @@ -18,7 +18,7 @@ limitations under the License. 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 d2838e9224a..9fe5397a837 100644 --- a/backend/core/models/domainlayer/crossdomain/user_account.go +++ b/backend/core/models/domainlayer/crossdomain/user_account.go @@ -18,7 +18,7 @@ limitations under the License. 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 e1f9049ded6..b29351fc09e 100644 --- a/backend/core/models/domainlayer/devops/cicd_deployment.go +++ b/backend/core/models/domainlayer/devops/cicd_deployment.go @@ -18,7 +18,7 @@ limitations under the License. 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 3bcce440bd9..e1b1c983d59 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 @@ limitations under the License. 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 2ac969b375a..aaac0b4bcf6 100644 --- a/backend/core/models/domainlayer/devops/cicd_pipeline.go +++ b/backend/core/models/domainlayer/devops/cicd_pipeline.go @@ -22,7 +22,7 @@ import ( "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 bbf8f18faa7..eb876679dfa 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 @@ limitations under the License. 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 d49427855bf..7378c23eb4d 100644 --- a/backend/core/models/domainlayer/devops/cicd_release.go +++ b/backend/core/models/domainlayer/devops/cicd_release.go @@ -18,7 +18,7 @@ limitations under the License. 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 5bfc7b6ffe5..ba0a7660714 100644 --- a/backend/core/models/domainlayer/devops/cicd_scope.go +++ b/backend/core/models/domainlayer/devops/cicd_scope.go @@ -20,8 +20,8 @@ package devops 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 a32d06201fb..2e5b73290d0 100644 --- a/backend/core/models/domainlayer/devops/cicd_task.go +++ b/backend/core/models/domainlayer/devops/cicd_task.go @@ -18,7 +18,7 @@ limitations under the License. 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 f8aca54a56e..56e82d78818 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 @@ import ( "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 1841f784fcc..fdec8ab1427 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 @@ package didgen 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) Execute(options map[string]interface{}, progress chan<- floa } 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 b88289e8d8f..9ec05e774b8 100644 --- a/backend/core/models/domainlayer/domaininfo/domaininfo.go +++ b/backend/core/models/domainlayer/domaininfo/domaininfo.go @@ -18,13 +18,13 @@ limitations under the License. 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 f11570d40a1..e20d7db27ba 100644 --- a/backend/core/models/domainlayer/domainlayer.go +++ b/backend/core/models/domainlayer/domainlayer.go @@ -18,7 +18,7 @@ limitations under the License. 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 faae195a897..4703d455581 100644 --- a/backend/core/models/domainlayer/qa/qa_api.go +++ b/backend/core/models/domainlayer/qa/qa_api.go @@ -20,7 +20,7 @@ package qa 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 09f0274d4a1..4d2f666f746 100644 --- a/backend/core/models/domainlayer/qa/qa_project.go +++ b/backend/core/models/domainlayer/qa/qa_project.go @@ -18,7 +18,7 @@ limitations under the License. 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 ed6dcb18927..c2ef72b4e3d 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 @@ package qa 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 aaf237b6fce..d3357de1ad7 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 @@ package qa 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 0d7babefec7..4868d9fcfbf 100644 --- a/backend/core/models/domainlayer/ticket/board.go +++ b/backend/core/models/domainlayer/ticket/board.go @@ -18,9 +18,9 @@ limitations under the License. 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 ac565a219f1..522a79e6f57 100644 --- a/backend/core/models/domainlayer/ticket/board_issue.go +++ b/backend/core/models/domainlayer/ticket/board_issue.go @@ -18,7 +18,7 @@ limitations under the License. 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 3f715757aef..a1e036623be 100644 --- a/backend/core/models/domainlayer/ticket/incident.go +++ b/backend/core/models/domainlayer/ticket/incident.go @@ -18,7 +18,7 @@ limitations under the License. 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 d4e16c993fb..1688f970726 100644 --- a/backend/core/models/domainlayer/ticket/incident_assginee.go +++ b/backend/core/models/domainlayer/ticket/incident_assginee.go @@ -17,7 +17,7 @@ limitations under the License. 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 1f8a95b51d1..f58ac80c0e2 100644 --- a/backend/core/models/domainlayer/ticket/issue.go +++ b/backend/core/models/domainlayer/ticket/issue.go @@ -20,7 +20,7 @@ package ticket 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 1ad9824dde9..b72f23c2df0 100644 --- a/backend/core/models/domainlayer/ticket/issue_assignee.go +++ b/backend/core/models/domainlayer/ticket/issue_assignee.go @@ -17,7 +17,7 @@ limitations under the License. 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 92ab027cb67..27be30899fb 100644 --- a/backend/core/models/domainlayer/ticket/issue_changelog.go +++ b/backend/core/models/domainlayer/ticket/issue_changelog.go @@ -18,7 +18,7 @@ limitations under the License. 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 d510022ac50..1cdea2d9851 100644 --- a/backend/core/models/domainlayer/ticket/issue_comment.go +++ b/backend/core/models/domainlayer/ticket/issue_comment.go @@ -20,7 +20,7 @@ package ticket 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 16b7844ddc7..eb55f3601ec 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 @@ limitations under the License. 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 183efc31660..fb7e3f1092b 100644 --- a/backend/core/models/domainlayer/ticket/issue_label.go +++ b/backend/core/models/domainlayer/ticket/issue_label.go @@ -18,7 +18,7 @@ limitations under the License. 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 b7ad0713247..7816b4e4178 100644 --- a/backend/core/models/domainlayer/ticket/issue_relationship.go +++ b/backend/core/models/domainlayer/ticket/issue_relationship.go @@ -17,7 +17,7 @@ limitations under the License. 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 47d1c2b35df..c70cac303e7 100644 --- a/backend/core/models/domainlayer/ticket/sprint.go +++ b/backend/core/models/domainlayer/ticket/sprint.go @@ -20,8 +20,8 @@ package ticket 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 239133d9042..a795b8bff81 100644 --- a/backend/core/models/domainlayer/ticket/worklog.go +++ b/backend/core/models/domainlayer/ticket/worklog.go @@ -18,7 +18,7 @@ limitations under the License. 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 bd3c6c4449b..40186fe980f 100644 --- a/backend/core/models/dynamic_tabler.go +++ b/backend/core/models/dynamic_tabler.go @@ -21,9 +21,9 @@ import ( "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 11e2a8ebedd..e89a31f7e33 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 @@ limitations under the License. package migrationscripts import ( - "github.com/apache/incubator-devlake/core/context" - "github.com/apache/incubator-devlake/core/errors" - "github.com/apache/incubator-devlake/core/models/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 1abe918eb26..4ce4c2efc4c 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 @@ limitations under the License. package migrationscripts import ( - "github.com/apache/incubator-devlake/core/context" - "github.com/apache/incubator-devlake/core/errors" - "github.com/apache/incubator-devlake/core/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 859b07e7bca..869f300d494 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 @@ package migrationscripts 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 6a07025188e..2941740153b 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 @@ limitations under the License. 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 cdf42a47c32..b3981002cec 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 @@ package migrationscripts 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 c4bb28f953d..0cab372a21b 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 @@ limitations under the License. package migrationscripts import ( - "github.com/apache/incubator-devlake/core/context" - "github.com/apache/incubator-devlake/core/errors" - "github.com/apache/incubator-devlake/core/models/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 3d745e324af..51e99bc56a9 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 @@ limitations under the License. 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 14dcb0680af..f94b9c7dbfc 100644 --- a/backend/core/models/migrationscripts/20220722_commitfile_component.go +++ b/backend/core/models/migrationscripts/20220722_commitfile_component.go @@ -18,11 +18,11 @@ limitations under the License. package migrationscripts import ( - "github.com/apache/incubator-devlake/core/context" - "github.com/apache/incubator-devlake/core/errors" - "github.com/apache/incubator-devlake/core/models/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 51073de55e7..7ba5a5dab9b 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 @@ limitations under the License. package migrationscripts import ( - "github.com/apache/incubator-devlake/core/context" - "github.com/apache/incubator-devlake/core/errors" - "github.com/apache/incubator-devlake/core/models/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 bf17314568b..0da3bb39520 100644 --- a/backend/core/models/migrationscripts/20220727_remove_notes.go +++ b/backend/core/models/migrationscripts/20220727_remove_notes.go @@ -18,10 +18,10 @@ limitations under the License. package migrationscripts import ( - "github.com/apache/incubator-devlake/core/context" - "github.com/apache/incubator-devlake/core/errors" - "github.com/apache/incubator-devlake/core/models/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 6dd79b75e7d..6358fb0e80d 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 @@ limitations under the License. package migrationscripts import ( - "github.com/apache/incubator-devlake/core/context" - "github.com/apache/incubator-devlake/core/errors" - "github.com/apache/incubator-devlake/core/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 6e2b48c94f6..9d5fca1b240 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 @@ limitations under the License. package migrationscripts import ( - "github.com/apache/incubator-devlake/core/context" - "github.com/apache/incubator-devlake/core/errors" - "github.com/apache/incubator-devlake/core/models/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 a2cf8db0d67..51951011f7b 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 @@ limitations under the License. package migrationscripts import ( - "github.com/apache/incubator-devlake/core/context" - "github.com/apache/incubator-devlake/core/errors" - "github.com/apache/incubator-devlake/core/models/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 09bea22f8fa..98bdd44b57b 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 @@ limitations under the License. package migrationscripts import ( - "github.com/apache/incubator-devlake/core/context" - "github.com/apache/incubator-devlake/core/errors" - "github.com/apache/incubator-devlake/core/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 d0d3fbe04b6..7ebc466823e 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 @@ limitations under the License. package migrationscripts import ( - "github.com/apache/incubator-devlake/core/context" - "github.com/apache/incubator-devlake/core/errors" - "github.com/apache/incubator-devlake/core/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 188a66e0317..1162c5535ec 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 @@ limitations under the License. package migrationscripts import ( - "github.com/apache/incubator-devlake/core/context" - "github.com/apache/incubator-devlake/core/errors" - "github.com/apache/incubator-devlake/core/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 187e9b8a318..9bb7fd6b696 100644 --- a/backend/core/models/migrationscripts/20220903_encrypt_blueprint.go +++ b/backend/core/models/migrationscripts/20220903_encrypt_blueprint.go @@ -18,11 +18,11 @@ limitations under the License. package migrationscripts import ( - "github.com/apache/incubator-devlake/core/context" - "github.com/apache/incubator-devlake/core/errors" - "github.com/apache/incubator-devlake/core/models/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 48b64aed21d..2ea496b8c7a 100644 --- a/backend/core/models/migrationscripts/20220904_encrypt_pipeline.go +++ b/backend/core/models/migrationscripts/20220904_encrypt_pipeline.go @@ -18,11 +18,11 @@ limitations under the License. package migrationscripts import ( - "github.com/apache/incubator-devlake/core/context" - "github.com/apache/incubator-devlake/core/errors" - "github.com/apache/incubator-devlake/core/models/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 204b421c3a8..f33259d42b6 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 @@ limitations under the License. package migrationscripts import ( - "github.com/apache/incubator-devlake/core/context" - "github.com/apache/incubator-devlake/core/errors" - "github.com/apache/incubator-devlake/core/models/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 84b8eea9d86..96217406a2b 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 @@ limitations under the License. package migrationscripts import ( - "github.com/apache/incubator-devlake/core/context" - "github.com/apache/incubator-devlake/core/errors" - "github.com/apache/incubator-devlake/core/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 652babe84d6..888b8020a34 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 @@ limitations under the License. package migrationscripts import ( - "github.com/apache/incubator-devlake/core/context" - "github.com/apache/incubator-devlake/core/errors" - "github.com/apache/incubator-devlake/core/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 5e92aa2d2b8..b24044a4408 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 @@ limitations under the License. package migrationscripts import ( - "github.com/apache/incubator-devlake/core/context" - "github.com/apache/incubator-devlake/core/errors" - "github.com/apache/incubator-devlake/core/models/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 5ce59698f66..c0295e92c10 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 @@ package migrationscripts 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 8065c21489a..3f231e34201 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 @@ limitations under the License. package migrationscripts import ( - "github.com/apache/incubator-devlake/core/context" - "github.com/apache/incubator-devlake/core/errors" - "github.com/apache/incubator-devlake/core/models/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 d6dcdc422d0..f8913f441c7 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 @@ limitations under the License. package migrationscripts import ( - "github.com/apache/incubator-devlake/core/context" - "github.com/apache/incubator-devlake/core/errors" - "github.com/apache/incubator-devlake/core/models/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 02f06d977c4..7dd7746fc51 100644 --- a/backend/core/models/migrationscripts/20220927_add_snapshot.go +++ b/backend/core/models/migrationscripts/20220927_add_snapshot.go @@ -18,10 +18,10 @@ limitations under the License. package migrationscripts import ( - "github.com/apache/incubator-devlake/core/context" - "github.com/apache/incubator-devlake/core/errors" - "github.com/apache/incubator-devlake/core/models/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 6bed920a351..47fc693826d 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 @@ limitations under the License. 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 (issues20220929) TableName() string { 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 1a0d4aa8452..ac9171a7ea7 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 @@ package migrationscripts 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 18d0e6ad8ee..eb5d7a37c5c 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 @@ limitations under the License. package migrationscripts import ( - "github.com/apache/incubator-devlake/core/context" - "github.com/apache/incubator-devlake/core/errors" - "github.com/apache/incubator-devlake/core/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 4bcb2e8a6e8..11f624b97b7 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 @@ limitations under the License. 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 04b90a1a0f9..b0bacb944da 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 @@ limitations under the License. package migrationscripts import ( - "github.com/apache/incubator-devlake/core/context" - "github.com/apache/incubator-devlake/core/errors" - "github.com/apache/incubator-devlake/core/models/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 aba49d9a62f..a2a12acb921 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 @@ limitations under the License. package migrationscripts import ( - "github.com/apache/incubator-devlake/core/context" - "github.com/apache/incubator-devlake/core/errors" - "github.com/apache/incubator-devlake/core/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 206a2e62f3c..b3668f932aa 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 @@ limitations under the License. package migrationscripts import ( - "github.com/apache/incubator-devlake/core/context" - "github.com/apache/incubator-devlake/core/errors" - "github.com/apache/incubator-devlake/core/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 1ed1f9c655b..158f3f1ca34 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 @@ limitations under the License. package migrationscripts import ( - "github.com/apache/incubator-devlake/core/context" - "github.com/apache/incubator-devlake/core/errors" - "github.com/apache/incubator-devlake/core/models/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 3125a6511fa..ca72c762051 100644 --- a/backend/core/models/migrationscripts/20221115_add_labels.go +++ b/backend/core/models/migrationscripts/20221115_add_labels.go @@ -18,9 +18,9 @@ limitations under the License. package migrationscripts import ( - "github.com/apache/incubator-devlake/core/context" - "github.com/apache/incubator-devlake/core/errors" - "github.com/apache/incubator-devlake/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 b391ecc829a..b9799deada4 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 @@ limitations under the License. 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 621881d6a21..59837cc0987 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 @@ limitations under the License. package migrationscripts import ( - "github.com/apache/incubator-devlake/core/context" - "github.com/apache/incubator-devlake/core/errors" - "github.com/apache/incubator-devlake/core/models/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 f44bc0f0bb0..26417ae0c61 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 @@ limitations under the License. package migrationscripts import ( - "github.com/apache/incubator-devlake/core/context" - "github.com/apache/incubator-devlake/core/errors" - "github.com/apache/incubator-devlake/core/models/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 39f890004fd..66e944fcc17 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 @@ limitations under the License. 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 b4c89608340..ba9b56bbd0f 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 @@ limitations under the License. package migrationscripts import ( - "github.com/apache/incubator-devlake/core/context" - "github.com/apache/incubator-devlake/core/errors" - "github.com/apache/incubator-devlake/core/models/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 438991e0dca..c35b0d7fbe6 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 @@ limitations under the License. package migrationscripts import ( - "github.com/apache/incubator-devlake/core/context" - "github.com/apache/incubator-devlake/core/errors" - "github.com/apache/incubator-devlake/core/models/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 ef4f21aa352..f1d4c21b31e 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 @@ limitations under the License. package migrationscripts import ( - "github.com/apache/incubator-devlake/core/context" - "github.com/apache/incubator-devlake/core/errors" - "github.com/apache/incubator-devlake/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 615c70a4e58..49c1d5bc7ad 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 @@ limitations under the License. package migrationscripts import ( - "github.com/apache/incubator-devlake/core/context" - "github.com/apache/incubator-devlake/core/errors" - "github.com/apache/incubator-devlake/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 118ba94381f..10665aac1dc 100644 --- a/backend/core/models/migrationscripts/20221221_encrypt_task.go +++ b/backend/core/models/migrationscripts/20221221_encrypt_task.go @@ -19,12 +19,12 @@ package migrationscripts 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 6570bcff30a..d5fd12883fb 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 @@ limitations under the License. package migrationscripts import ( - "github.com/apache/incubator-devlake/core/context" - "github.com/apache/incubator-devlake/core/errors" - "github.com/apache/incubator-devlake/core/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 67b5707e5ac..739a41618cd 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 @@ limitations under the License. package migrationscripts import ( - "github.com/apache/incubator-devlake/core/context" - "github.com/apache/incubator-devlake/core/errors" - "github.com/apache/incubator-devlake/core/models/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 882e8a5b5d7..7057764bd1d 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 @@ package migrationscripts 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 439422fad28..b0d822389ab 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 @@ limitations under the License. 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 7ad079aac86..e452478f9e6 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 @@ limitations under the License. package migrationscripts import ( - "github.com/apache/incubator-devlake/core/context" - "github.com/apache/incubator-devlake/core/errors" - "github.com/apache/incubator-devlake/core/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 b1f9c122b83..fec205195cf 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 @@ limitations under the License. package migrationscripts import ( - "github.com/apache/incubator-devlake/core/context" - "github.com/apache/incubator-devlake/core/errors" - "github.com/apache/incubator-devlake/core/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 db5fc27557d..1c20b4b9d49 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 @@ 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/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 d6c8ae2d4c9..a11fd444b9e 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 @@ limitations under the License. package migrationscripts import ( - "github.com/apache/incubator-devlake/core/context" - "github.com/apache/incubator-devlake/core/errors" - "github.com/apache/incubator-devlake/core/models/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 e9a895d76ae..2318c07c037 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 @@ limitations under the License. package migrationscripts import ( - "github.com/apache/incubator-devlake/core/context" - "github.com/apache/incubator-devlake/core/errors" - "github.com/apache/incubator-devlake/core/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 83b8ca732e6..35a3923cd1a 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 @@ limitations under the License. package migrationscripts import ( - "github.com/apache/incubator-devlake/core/context" - "github.com/apache/incubator-devlake/core/errors" - "github.com/apache/incubator-devlake/core/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 b7fdd5d1c99..54de457d1f4 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 @@ limitations under the License. package migrationscripts import ( - "github.com/apache/incubator-devlake/core/context" - "github.com/apache/incubator-devlake/core/errors" - "github.com/apache/incubator-devlake/core/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 d455de9ef07..4463de54c19 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 @@ package migrationscripts 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 293c5aa5295..74de55b7878 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 @@ limitations under the License. package migrationscripts import ( - "github.com/apache/incubator-devlake/core/context" - "github.com/apache/incubator-devlake/core/errors" - "github.com/apache/incubator-devlake/core/models/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 aa28bef191b..9f8fa017403 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 @@ limitations under the License. package migrationscripts import ( - "github.com/apache/incubator-devlake/core/context" - "github.com/apache/incubator-devlake/core/errors" - "github.com/apache/incubator-devlake/core/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 626282ebf9d..2a86d52b398 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 @@ package migrationscripts 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 6157ec099c6..8ec28f23813 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 @@ limitations under the License. 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 5c672dc00ad..c1b46204a66 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 @@ limitations under the License. package migrationscripts import ( - "github.com/apache/incubator-devlake/core/context" - "github.com/apache/incubator-devlake/core/errors" - "github.com/apache/incubator-devlake/core/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 e59da1a656a..62c02c9f5df 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 @@ package migrationscripts 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 c6819703545..6ef95884cf1 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 @@ limitations under the License. package migrationscripts import ( - "github.com/apache/incubator-devlake/core/context" - "github.com/apache/incubator-devlake/core/errors" - "github.com/apache/incubator-devlake/core/models/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 df30486d7f3..fca1f9ec324 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 @@ package migrationscripts 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 15c83aa2586..8a2b9f9208b 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 @@ limitations under the License. package migrationscripts import ( - "github.com/apache/incubator-devlake/core/context" - "github.com/apache/incubator-devlake/core/errors" - "github.com/apache/incubator-devlake/core/models/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 d45a9d9943c..63831b7665b 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 @@ limitations under the License. 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 55d95371979..8da1a08c3bb 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 @@ limitations under the License. package migrationscripts import ( - "github.com/apache/incubator-devlake/core/context" - "github.com/apache/incubator-devlake/core/errors" - "github.com/apache/incubator-devlake/core/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 5b5fc044df7..227ce191e44 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 @@ import ( "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 f40c49074f8..5c1de91c7a8 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 @@ limitations under the License. package migrationscripts import ( - "github.com/apache/incubator-devlake/core/context" - "github.com/apache/incubator-devlake/core/errors" - "github.com/apache/incubator-devlake/core/models/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 c9e91bf5906..cf22540f00b 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 @@ package migrationscripts 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 378f76e8dc8..c5432cdc7bc 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 @@ limitations under the License. package migrationscripts import ( - "github.com/apache/incubator-devlake/core/context" - "github.com/apache/incubator-devlake/core/errors" - "github.com/apache/incubator-devlake/core/models/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 eecd4070011..7ac2f1045ea 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 @@ limitations under the License. package migrationscripts import ( - "github.com/apache/incubator-devlake/core/context" - "github.com/apache/incubator-devlake/core/errors" - "github.com/apache/incubator-devlake/core/models/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 69adb2ab300..32a070e9402 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 @@ limitations under the License. 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 77cc500c7e5..399c875caa3 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 @@ limitations under the License. package migrationscripts import ( - "github.com/apache/incubator-devlake/core/context" - "github.com/apache/incubator-devlake/core/errors" - "github.com/apache/incubator-devlake/core/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 23223098daa..65e96917f7c 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 @@ limitations under the License. package migrationscripts import ( - "github.com/apache/incubator-devlake/core/context" - "github.com/apache/incubator-devlake/core/errors" - "github.com/apache/incubator-devlake/core/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 7de7765286b..a25f80785c9 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 @@ limitations under the License. package migrationscripts import ( - "github.com/apache/incubator-devlake/core/context" - "github.com/apache/incubator-devlake/core/errors" - "github.com/apache/incubator-devlake/core/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 e1e8a2b0edc..215d58e86d6 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 @@ limitations under the License. package migrationscripts import ( - "github.com/apache/incubator-devlake/core/context" - "github.com/apache/incubator-devlake/core/errors" - "github.com/apache/incubator-devlake/core/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 ab2df6a3699..787ab4c0d40 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 @@ limitations under the License. package migrationscripts import ( - "github.com/apache/incubator-devlake/core/context" - "github.com/apache/incubator-devlake/core/errors" - "github.com/apache/incubator-devlake/core/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 22261b485be..e1ee459dbaa 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 @@ limitations under the License. package migrationscripts import ( - "github.com/apache/incubator-devlake/core/context" - "github.com/apache/incubator-devlake/core/errors" - "github.com/apache/incubator-devlake/core/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 77c02d193cf..e0cbaa49486 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 @@ limitations under the License. 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 c2359f89171..f81b07ac09d 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 @@ package migrationscripts 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 b5f41d37208..4efd0042913 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 @@ limitations under the License. package migrationscripts import ( - "github.com/apache/incubator-devlake/core/context" - "github.com/apache/incubator-devlake/core/errors" - "github.com/apache/incubator-devlake/core/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 6d101504941..3c37d974d24 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 @@ package migrationscripts 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 ebc10d8f9f0..fb6c07eca88 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 @@ limitations under the License. package migrationscripts import ( - "github.com/apache/incubator-devlake/core/context" - "github.com/apache/incubator-devlake/core/errors" - "github.com/apache/incubator-devlake/core/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 7bac0c34c45..520dd86c231 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 @@ limitations under the License. package migrationscripts import ( - "github.com/apache/incubator-devlake/core/context" - "github.com/apache/incubator-devlake/core/errors" - "github.com/apache/incubator-devlake/core/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 e338fd8968d..c29870e547b 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 @@ import ( "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 0dfb7b6fb3e..76e8b63d49b 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 @@ limitations under the License. package migrationscripts import ( - "github.com/apache/incubator-devlake/core/context" - "github.com/apache/incubator-devlake/core/errors" - "github.com/apache/incubator-devlake/core/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 66876cb2626..3bf063b9ee3 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 @@ limitations under the License. package migrationscripts import ( - "github.com/apache/incubator-devlake/core/context" - "github.com/apache/incubator-devlake/core/errors" - "github.com/apache/incubator-devlake/core/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 b17723ee9ca..91378f529ce 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 @@ package migrationscripts 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 9f6d22fcde6..ebccd6d0df3 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 @@ limitations under the License. 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 58afad5d2aa..b485f826b5c 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 @@ limitations under the License. package migrationscripts import ( - "github.com/apache/incubator-devlake/core/context" - "github.com/apache/incubator-devlake/core/errors" - "github.com/apache/incubator-devlake/core/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 ac376cf00b0..18bf1f18ef0 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 @@ limitations under the License. package migrationscripts import ( - "github.com/apache/incubator-devlake/core/context" - "github.com/apache/incubator-devlake/core/errors" - "github.com/apache/incubator-devlake/core/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 6b6716d7aac..f91a915ad07 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 @@ limitations under the License. package migrationscripts import ( - "github.com/apache/incubator-devlake/core/context" - "github.com/apache/incubator-devlake/core/errors" - "github.com/apache/incubator-devlake/core/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 f0399d537b4..920b11d174c 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 @@ limitations under the License. package migrationscripts import ( - "github.com/apache/incubator-devlake/core/context" - "github.com/apache/incubator-devlake/core/errors" - "github.com/apache/incubator-devlake/core/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 94fb29e18fb..6b367248047 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 @@ package migrationscripts 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 d7cbd9f9faf..361f7f6e66c 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 @@ limitations under the License. package migrationscripts import ( - "github.com/apache/incubator-devlake/core/context" - "github.com/apache/incubator-devlake/core/errors" - "github.com/apache/incubator-devlake/core/models/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 9e6d7b6edc9..8447db6d633 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 @@ limitations under the License. package migrationscripts import ( - "github.com/apache/incubator-devlake/core/context" - "github.com/apache/incubator-devlake/core/errors" - "github.com/apache/incubator-devlake/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 ddf381edcd2..1672970ab22 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 @@ limitations under the License. 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 3d144d3b485..1240ed5a2b3 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 @@ limitations under the License. package migrationscripts import ( - "github.com/apache/incubator-devlake/core/context" - "github.com/apache/incubator-devlake/core/errors" - "github.com/apache/incubator-devlake/core/models/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 d9827516275..2bc043f24b5 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 @@ limitations under the License. package migrationscripts import ( - "github.com/apache/incubator-devlake/core/context" - "github.com/apache/incubator-devlake/core/errors" - "github.com/apache/incubator-devlake/core/models/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 76fe3db4850..cef7aa8a46c 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 @@ limitations under the License. package migrationscripts import ( - "github.com/apache/incubator-devlake/core/context" - "github.com/apache/incubator-devlake/core/errors" - "github.com/apache/incubator-devlake/core/models/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 8d8816f067e..7df976464fc 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 @@ limitations under the License. package migrationscripts import ( - "github.com/apache/incubator-devlake/core/context" - "github.com/apache/incubator-devlake/core/errors" - "github.com/apache/incubator-devlake/core/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 ab24d9ecb6d..5f7dc097d2e 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 @@ limitations under the License. package migrationscripts import ( - "github.com/apache/incubator-devlake/core/context" - "github.com/apache/incubator-devlake/core/errors" - "github.com/apache/incubator-devlake/core/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 62552fe307a..f98f6a02be0 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 @@ limitations under the License. package migrationscripts import ( - "github.com/apache/incubator-devlake/core/context" - "github.com/apache/incubator-devlake/core/errors" - "github.com/apache/incubator-devlake/core/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 cfc5a92cd26..4aab77d541a 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 @@ package migrationscripts 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 a9d4b7f3460..d88af6e4d54 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 @@ limitations under the License. package migrationscripts import ( - "github.com/apache/incubator-devlake/core/context" - "github.com/apache/incubator-devlake/core/errors" - "github.com/apache/incubator-devlake/core/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 7fdc29ab9d8..995a4167abb 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 @@ limitations under the License. package migrationscripts import ( - "github.com/apache/incubator-devlake/core/context" - "github.com/apache/incubator-devlake/core/errors" - "github.com/apache/incubator-devlake/core/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 28270fe6f25..2747f903404 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 @@ limitations under the License. package migrationscripts import ( - "github.com/apache/incubator-devlake/core/context" - "github.com/apache/incubator-devlake/core/errors" - "github.com/apache/incubator-devlake/core/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 8f7a2f2fe8a..45e9912a1aa 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 @@ limitations under the License. package migrationscripts import ( - "github.com/apache/incubator-devlake/core/context" - "github.com/apache/incubator-devlake/core/errors" - "github.com/apache/incubator-devlake/core/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 609b3d7364b..dea6849f8b5 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 @@ limitations under the License. package migrationscripts import ( - "github.com/apache/incubator-devlake/core/context" - "github.com/apache/incubator-devlake/core/errors" - "github.com/apache/incubator-devlake/core/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 3cf14e8d90f..89cc0cab2df 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 @@ limitations under the License. package migrationscripts import ( - "github.com/apache/incubator-devlake/core/context" - "github.com/apache/incubator-devlake/core/errors" - "github.com/apache/incubator-devlake/core/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 aa1483e0686..175ef399f8a 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 @@ limitations under the License. package migrationscripts import ( - "github.com/apache/incubator-devlake/core/context" - "github.com/apache/incubator-devlake/core/errors" - "github.com/apache/incubator-devlake/core/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 307df0147cc..a32220119a6 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 @@ limitations under the License. package migrationscripts import ( - "github.com/apache/incubator-devlake/core/context" - "github.com/apache/incubator-devlake/core/errors" - "github.com/apache/incubator-devlake/core/models/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 ae6f12e7751..952ac8338cf 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 @@ package migrationscripts 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 cd738176715..5688faa7eb5 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 @@ package migrationscripts 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 e1c0328daa1..95b0d36ba9d 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 @@ limitations under the License. package migrationscripts import ( - "github.com/apache/incubator-devlake/core/context" - "github.com/apache/incubator-devlake/core/errors" - "github.com/apache/incubator-devlake/core/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 91bc71fd774..b2ab4b67b5d 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 @@ limitations under the License. package migrationscripts import ( - "github.com/apache/incubator-devlake/core/context" - "github.com/apache/incubator-devlake/core/errors" - "github.com/apache/incubator-devlake/core/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 8697fb6a336..492bdd9dbd1 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 @@ limitations under the License. package migrationscripts import ( - "github.com/apache/incubator-devlake/core/context" - "github.com/apache/incubator-devlake/core/errors" - "github.com/apache/incubator-devlake/core/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 8b3dda0db4a..927f87820bd 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 @@ limitations under the License. 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 348099cea94..d4de3f7cb90 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 @@ limitations under the License. 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 ce7656e1e4c..5f2fb972d7a 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 @@ limitations under the License. package migrationscripts import ( - "github.com/apache/incubator-devlake/core/context" - "github.com/apache/incubator-devlake/core/errors" - "github.com/apache/incubator-devlake/core/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 223a2b6a345..5983066f74a 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 @@ limitations under the License. package migrationscripts import ( - "github.com/apache/incubator-devlake/core/context" - "github.com/apache/incubator-devlake/core/errors" - "github.com/apache/incubator-devlake/core/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 7e6eab8aacd..1d9aad0894b 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 @@ package migrationscripts 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 94d965d6295..e70adbe9095 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 @@ limitations under the License. package migrationscripts import ( - "github.com/apache/incubator-devlake/core/context" - "github.com/apache/incubator-devlake/core/errors" - "github.com/apache/incubator-devlake/core/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 482c42b5001..23d7818a849 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 @@ package migrationscripts 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 b84d1d9ce1b..3015ace6b89 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 @@ limitations under the License. package migrationscripts import ( - "github.com/apache/incubator-devlake/core/context" - "github.com/apache/incubator-devlake/core/errors" - "github.com/apache/incubator-devlake/core/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 de66ae82914..b1c15ea0c00 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 @@ limitations under the License. package migrationscripts import ( - "github.com/apache/incubator-devlake/core/context" - "github.com/apache/incubator-devlake/core/errors" - "github.com/apache/incubator-devlake/core/models/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 6830e18a6c8..22e28481af5 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 @@ limitations under the License. package migrationscripts import ( - "github.com/apache/incubator-devlake/core/context" - "github.com/apache/incubator-devlake/core/errors" - "github.com/apache/incubator-devlake/core/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 369b70b035d..bc8aca3fdee 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 @@ limitations under the License. package migrationscripts import ( - "github.com/apache/incubator-devlake/core/context" - "github.com/apache/incubator-devlake/core/errors" - "github.com/apache/incubator-devlake/core/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 8b541468a3c..138aa68ee75 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 @@ limitations under the License. package migrationscripts import ( - "github.com/apache/incubator-devlake/core/context" - "github.com/apache/incubator-devlake/core/errors" - "github.com/apache/incubator-devlake/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 6f8d396d3bf..8e31e38d2e6 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 @@ limitations under the License. package migrationscripts import ( - "github.com/apache/incubator-devlake/core/context" - "github.com/apache/incubator-devlake/core/errors" - "github.com/apache/incubator-devlake/core/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 3269f048699..69bf07fba30 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 @@ import ( "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 dd015b9b1c3..620a02af218 100644 --- a/backend/core/models/migrationscripts/register.go +++ b/backend/core/models/migrationscripts/register.go @@ -18,7 +18,7 @@ limitations under the License. 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 6c624477d5d..26496afe32e 100644 --- a/backend/core/models/notification.go +++ b/backend/core/models/notification.go @@ -18,7 +18,7 @@ limitations under the License. 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 a3c0dcae7cb..7b535c96730 100644 --- a/backend/core/models/pipeline.go +++ b/backend/core/models/pipeline.go @@ -20,7 +20,7 @@ package models 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 99c61785d88..8041c6bef33 100644 --- a/backend/core/models/project.go +++ b/backend/core/models/project.go @@ -21,7 +21,7 @@ import ( "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 34be9eff733..7712c1bdd38 100644 --- a/backend/core/models/task.go +++ b/backend/core/models/task.go @@ -20,7 +20,7 @@ package models 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 f35679bfa7f..0b8988e345a 100644 --- a/backend/core/plugin/api_client.go +++ b/backend/core/plugin/api_client.go @@ -21,7 +21,7 @@ import ( "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 3feca2219ba..d043600c177 100644 --- a/backend/core/plugin/hub.go +++ b/backend/core/plugin/hub.go @@ -22,8 +22,8 @@ import ( "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 f9195d2eed4..31025a09318 100644 --- a/backend/core/plugin/plugin_api.go +++ b/backend/core/plugin/plugin_api.go @@ -18,9 +18,9 @@ limitations under the License. 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 35c36b36b25..68ea4938676 100644 --- a/backend/core/plugin/plugin_blueprint.go +++ b/backend/core/plugin/plugin_blueprint.go @@ -20,8 +20,8 @@ package plugin 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 @@ step 1: blueprint.settings like "plugin": "github", "connectionId": 123, "scopes": [ - { "id": null, "name": "apache/incubator-devlake" } + { "id": null, "name": "apache/devlake" } ] } ] @@ -44,18 +44,18 @@ step 1: blueprint.settings like 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 d40bfc98008..efe01b9cd52 100644 --- a/backend/core/plugin/plugin_datasource.go +++ b/backend/core/plugin/plugin_datasource.go @@ -23,9 +23,9 @@ import ( "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 4dfbf6c1c56..42f782175d9 100644 --- a/backend/core/plugin/plugin_init.go +++ b/backend/core/plugin/plugin_init.go @@ -18,8 +18,8 @@ limitations under the License. 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 d300e1f5279..4047f7e54d3 100644 --- a/backend/core/plugin/plugin_meta.go +++ b/backend/core/plugin/plugin_meta.go @@ -17,7 +17,7 @@ limitations under the License. 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 98f750cca50..982bef77261 100644 --- a/backend/core/plugin/plugin_metric.go +++ b/backend/core/plugin/plugin_metric.go @@ -18,7 +18,7 @@ limitations under the License. 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 3b51b25254e..2b2c6d09bc7 100644 --- a/backend/core/plugin/plugin_migration.go +++ b/backend/core/plugin/plugin_migration.go @@ -18,8 +18,8 @@ limitations under the License. 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 c43547d9efc..82a1a863788 100644 --- a/backend/core/plugin/plugin_model.go +++ b/backend/core/plugin/plugin_model.go @@ -17,7 +17,7 @@ limitations under the License. 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 e3eea470a81..6529be9ea9c 100644 --- a/backend/core/plugin/plugin_task.go +++ b/backend/core/plugin/plugin_task.go @@ -20,9 +20,9 @@ package plugin 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 ac8e2090b58..de34a94eb9d 100644 --- a/backend/core/plugin/plugin_utils.go +++ b/backend/core/plugin/plugin_utils.go @@ -27,8 +27,8 @@ import ( "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 9a8f516adad..4c0a30c70d9 100644 --- a/backend/core/plugin/plugin_utils_test.go +++ b/backend/core/plugin/plugin_utils_test.go @@ -24,7 +24,7 @@ import ( "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 7694d134d70..bc88223b2fa 100644 --- a/backend/core/runner/basic_res.go +++ b/backend/core/runner/basic_res.go @@ -19,13 +19,13 @@ package runner 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 8b1f6fcf11a..01081a4f974 100644 --- a/backend/core/runner/db.go +++ b/backend/core/runner/db.go @@ -28,10 +28,10 @@ import ( "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 47c4407063a..4abc3da65a2 100644 --- a/backend/core/runner/directrun.go +++ b/backend/core/runner/directrun.go @@ -28,9 +28,9 @@ import ( "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 c454aeceb8a..f05a78632dc 100644 --- a/backend/core/runner/loader.go +++ b/backend/core/runner/loader.go @@ -25,12 +25,12 @@ import ( "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 b77b3a26f4b..7edccdc5ca3 100644 --- a/backend/core/runner/migration.go +++ b/backend/core/runner/migration.go @@ -18,10 +18,10 @@ limitations under the License. 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 7df1d994dcd..f86a67d5e35 100644 --- a/backend/core/runner/run_pipeline.go +++ b/backend/core/runner/run_pipeline.go @@ -21,10 +21,10 @@ import ( 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 961725bce79..cde7d07ab45 100644 --- a/backend/core/runner/run_task.go +++ b/backend/core/runner/run_task.go @@ -23,18 +23,18 @@ import ( "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 12d56f48bca..d826e9976be 100644 --- a/backend/core/utils/io.go +++ b/backend/core/utils/io.go @@ -22,7 +22,7 @@ import ( "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 f8bb156f021..5991a1866f3 100644 --- a/backend/core/utils/ipc.go +++ b/backend/core/utils/ipc.go @@ -27,7 +27,7 @@ import ( "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 1505dd8cd3d..c9ff65f636f 100644 --- a/backend/core/utils/json.go +++ b/backend/core/utils/json.go @@ -22,7 +22,7 @@ import ( "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 aba08452704..959d7adbfa6 100644 --- a/backend/core/utils/network_helper.go +++ b/backend/core/utils/network_helper.go @@ -22,7 +22,7 @@ import ( "net" "time" - "github.com/apache/incubator-devlake/core/errors" + "github.com/apache/devlake/core/errors" ) // CheckDNS FIXME ... diff --git a/backend/core/utils/strconv.go b/backend/core/utils/strconv.go index 6d65bf7a4f8..d9093c40042 100644 --- a/backend/core/utils/strconv.go +++ b/backend/core/utils/strconv.go @@ -18,7 +18,7 @@ limitations under the License. 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 d08aa049aa9..67a0cfb764f 100644 --- a/backend/core/utils/strings.go +++ b/backend/core/utils/strings.go @@ -22,7 +22,7 @@ import ( "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 0abfe442194..56b7a427185 100644 --- a/backend/core/utils/strings_test.go +++ b/backend/core/utils/strings_test.go @@ -20,7 +20,7 @@ package utils 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 6b46bc04a0a..20eba96457c 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 6d2678dd5f0..b4a8925f41b 100644 --- a/backend/helpers/apikeyhelper/apikeyhelper.go +++ b/backend/helpers/apikeyhelper/apikeyhelper.go @@ -21,14 +21,14 @@ import ( "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 c9101f4ec5a..812f25fd862 100644 --- a/backend/helpers/dbhelper/txhelper.go +++ b/backend/helpers/dbhelper/txhelper.go @@ -21,11 +21,11 @@ import ( "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 5a2163ef723..3c0697b0c8d 100644 --- a/backend/helpers/e2ehelper/data_flow_tester.go +++ b/backend/helpers/e2ehelper/data_flow_tester.go @@ -33,19 +33,19 @@ import ( "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 f71663655a5..e3dd72530c9 100644 --- a/backend/helpers/e2ehelper/data_flow_tester_test.go +++ b/backend/helpers/e2ehelper/data_flow_tester_test.go @@ -18,11 +18,11 @@ limitations under the License. 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 3d7fe2d49e5..d091c4e9853 100644 --- a/backend/helpers/e2ehelper/migration_db.go +++ b/backend/helpers/e2ehelper/migration_db.go @@ -23,11 +23,11 @@ import ( "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 93186e64cb9..9e98c9f9a39 100644 --- a/backend/helpers/migrationhelper/migrationhelper.go +++ b/backend/helpers/migrationhelper/migrationhelper.go @@ -25,11 +25,11 @@ import ( "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 7962100e453..1fcf19fa747 100644 --- a/backend/helpers/migrationhelper/migrationhelper_test.go +++ b/backend/helpers/migrationhelper/migrationhelper_test.go @@ -18,13 +18,13 @@ package migrationhelper 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 9d1b8ae47c2..6f0a4f0dc7b 100644 --- a/backend/helpers/oidchelper/config.go +++ b/backend/helpers/oidchelper/config.go @@ -23,8 +23,8 @@ import ( "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 3fe92a1187a..c74d47c4147 100644 --- a/backend/helpers/oidchelper/config_test.go +++ b/backend/helpers/oidchelper/config_test.go @@ -23,10 +23,10 @@ import ( "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 c926c33ac24..079f893133e 100644 --- a/backend/helpers/pluginhelper/api/api_async_client.go +++ b/backend/helpers/pluginhelper/api/api_async_client.go @@ -26,10 +26,10 @@ import ( "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 9e731f3fe70..9249c06f6de 100644 --- a/backend/helpers/pluginhelper/api/api_client.go +++ b/backend/helpers/pluginhelper/api/api_client.go @@ -35,12 +35,12 @@ import ( "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 d0c96471903..3b876c98cd8 100644 --- a/backend/helpers/pluginhelper/api/api_client_test.go +++ b/backend/helpers/pluginhelper/api/api_client_test.go @@ -20,8 +20,8 @@ package api 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 c34fb7d02d3..db0d0a1c91c 100644 --- a/backend/helpers/pluginhelper/api/api_collector.go +++ b/backend/helpers/pluginhelper/api/api_collector.go @@ -28,10 +28,10 @@ import ( "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 @@ func (collector *ApiCollector) fetchPagesDetermined(reqData *RequestData) { 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 cc5bcb57dda..2448f1dbdda 100644 --- a/backend/helpers/pluginhelper/api/api_collector_func.go +++ b/backend/helpers/pluginhelper/api/api_collector_func.go @@ -20,7 +20,7 @@ package api 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 985392f7b90..d2b9e824508 100644 --- a/backend/helpers/pluginhelper/api/api_collector_stateful.go +++ b/backend/helpers/pluginhelper/api/api_collector_stateful.go @@ -23,8 +23,8 @@ import ( "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 e957dd7365f..8cacfbefb0b 100644 --- a/backend/helpers/pluginhelper/api/api_collector_test.go +++ b/backend/helpers/pluginhelper/api/api_collector_test.go @@ -24,11 +24,11 @@ import ( "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 6cd5c4b3a66..77462637767 100644 --- a/backend/helpers/pluginhelper/api/api_extractor.go +++ b/backend/helpers/pluginhelper/api/api_extractor.go @@ -20,10 +20,10 @@ package api 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 0e474787f81..a8b0eb31e6e 100644 --- a/backend/helpers/pluginhelper/api/api_extractor_stateful.go +++ b/backend/helpers/pluginhelper/api/api_extractor_stateful.go @@ -21,10 +21,10 @@ import ( "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 4f447b307e8..ac092d4f582 100644 --- a/backend/helpers/pluginhelper/api/api_ratelimit_calc.go +++ b/backend/helpers/pluginhelper/api/api_ratelimit_calc.go @@ -18,7 +18,7 @@ limitations under the License. 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 5e9bb783529..3d432d794ae 100644 --- a/backend/helpers/pluginhelper/api/api_rawdata.go +++ b/backend/helpers/pluginhelper/api/api_rawdata.go @@ -23,8 +23,8 @@ import ( "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 0740873bc51..b14b24d7d44 100644 --- a/backend/helpers/pluginhelper/api/apihelperabstract/validate.go +++ b/backend/helpers/pluginhelper/api/apihelperabstract/validate.go @@ -17,7 +17,7 @@ limitations under the License. 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 42a71c18d2e..812ad82ffba 100644 --- a/backend/helpers/pluginhelper/api/batch_save.go +++ b/backend/helpers/pluginhelper/api/batch_save.go @@ -23,10 +23,10 @@ import ( "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 393bbcc9bd9..04d2e1de8c0 100644 --- a/backend/helpers/pluginhelper/api/batch_save_divider.go +++ b/backend/helpers/pluginhelper/api/batch_save_divider.go @@ -21,11 +21,11 @@ import ( "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 8d269162e52..52eb9b88e84 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 @@ import ( "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 b977b12bb8a..690cf1dd5c2 100644 --- a/backend/helpers/pluginhelper/api/collector_state_manager.go +++ b/backend/helpers/pluginhelper/api/collector_state_manager.go @@ -20,10 +20,10 @@ package api 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 f42eecd2a95..dae2c1c85a5 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 @@ import ( "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 74f0ef6b0bb..be3bb04ecff 100644 --- a/backend/helpers/pluginhelper/api/config_util.go +++ b/backend/helpers/pluginhelper/api/config_util.go @@ -19,8 +19,8 @@ package api 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 85185a7dfce..998529db5e3 100644 --- a/backend/helpers/pluginhelper/api/config_util_test.go +++ b/backend/helpers/pluginhelper/api/config_util_test.go @@ -18,7 +18,7 @@ limitations under the License. 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 2965972248f..a3dbc16511c 100644 --- a/backend/helpers/pluginhelper/api/connection.go +++ b/backend/helpers/pluginhelper/api/connection.go @@ -21,7 +21,7 @@ import ( "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 d6170353e9d..dd38574338a 100644 --- a/backend/helpers/pluginhelper/api/connection_auths.go +++ b/backend/helpers/pluginhelper/api/connection_auths.go @@ -24,8 +24,8 @@ import ( "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 @@ func (ma *MultiAuth) ValidateConnection(connection interface{}, v *validator.Val 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 d9630f81b03..0a9b8d62eb9 100644 --- a/backend/helpers/pluginhelper/api/connection_helper.go +++ b/backend/helpers/pluginhelper/api/connection_helper.go @@ -22,15 +22,15 @@ import ( "fmt" "strconv" - "github.com/apache/incubator-devlake/helpers/pluginhelper/services" - "github.com/apache/incubator-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/helpers/pluginhelper/services" + "github.com/apache/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/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 faf88ec6e14..cac441fa052 100644 --- a/backend/helpers/pluginhelper/api/data_convertor.go +++ b/backend/helpers/pluginhelper/api/data_convertor.go @@ -18,9 +18,9 @@ limitations under the License. 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 f742df83c73..bb5a585761b 100644 --- a/backend/helpers/pluginhelper/api/data_convertor_stateful.go +++ b/backend/helpers/pluginhelper/api/data_convertor_stateful.go @@ -20,9 +20,9 @@ package api 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 0024b755f27..b8924f8aee1 100644 --- a/backend/helpers/pluginhelper/api/data_enricher.go +++ b/backend/helpers/pluginhelper/api/data_enricher.go @@ -22,10 +22,10 @@ import ( "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 27eeb43830a..db427f33223 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 @@ package api 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 0b14356e3ad..8ab5d4bd382 100644 --- a/backend/helpers/pluginhelper/api/ds_helper.go +++ b/backend/helpers/pluginhelper/api/ds_helper.go @@ -20,9 +20,9 @@ package api 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 b0c4b0439c2..d9efa423ca9 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 @@ import ( "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 83fef06122b..11c09cfee88 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 @@ import ( "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 cb870c7d8b5..6cfb055a294 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 @@ limitations under the License. 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 eb0b8af5113..60d8e2a7d62 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 @@ package api 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 c93144e455f..a41bc09f0aa 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 @@ limitations under the License. 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 b31fce78bc3..cf566371cd7 100644 --- a/backend/helpers/pluginhelper/api/enrich_with_regex.go +++ b/backend/helpers/pluginhelper/api/enrich_with_regex.go @@ -21,7 +21,7 @@ import ( "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 61a1c9fa3ca..d67e78d05dc 100644 --- a/backend/helpers/pluginhelper/api/graphql_async_client.go +++ b/backend/helpers/pluginhelper/api/graphql_async_client.go @@ -24,10 +24,10 @@ import ( "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 28a5b2b9d86..2601e4e4f51 100644 --- a/backend/helpers/pluginhelper/api/graphql_collector.go +++ b/backend/helpers/pluginhelper/api/graphql_collector.go @@ -25,9 +25,9 @@ import ( "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 3ed842ee501..3b2ee56114e 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 @@ limitations under the License. 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 183080b7f38..842ffcfe72b 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 @@ limitations under the License. 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 @@ func Test_extractCommitSha(t *testing.T) { "bitbucket cloud", args{ repoPatterns: []*regexp.Regexp{regexp.MustCompile(`https://bitbucket.org/(?P[^/]+)/(?P[^/]+)/commits/(?P\w{40})`)}, - commitUrl: "https://bitbucket.org/mynamespace/incubator-devlake/commits/fef8d697fbb9a2b336be6fa2e2848f585c86a622", + commitUrl: "https://bitbucket.org/mynamespace/devlake/commits/fef8d697fbb9a2b336be6fa2e2848f585c86a622", }, "fef8d697fbb9a2b336be6fa2e2848f585c86a622", }, @@ -55,7 +55,7 @@ func Test_extractCommitSha(t *testing.T) { "GitHub", args{ repoPatterns: []*regexp.Regexp{regexp.MustCompile(`https://github.com/(?P[^/]+)/(?P[^/]+)/commit/(?P\w{40})`)}, - commitUrl: "https://github.com/apache/incubator-devlake/commit/a7c6550b6a273af36e9850291a52601d3dca367c", + commitUrl: "https://github.com/apache/devlake/commit/a7c6550b6a273af36e9850291a52601d3dca367c", }, "a7c6550b6a273af36e9850291a52601d3dca367c", }, @@ -129,15 +129,15 @@ func Test_refineIssueRepoCommit(t *testing.T) { args{ item: &crossdomain.IssueRepoCommit{IssueId: "abc123", CommitSha: "fef8d697fbb9a2b336be6fa2e2848f585c86a622"}, repoPatterns: []*regexp.Regexp{regexp.MustCompile(`https://bitbucket.org/(?P[^/]+)/(?P[^/]+)/commits/(?P\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 @@ func Test_refineIssueRepoCommit(t *testing.T) { args{ item: &crossdomain.IssueRepoCommit{IssueId: "abc123", CommitSha: "a7c6550b6a273af36e9850291a52601d3dca367c"}, repoPatterns: []*regexp.Regexp{regexp.MustCompile(`https://github.com/(?P[^/]+)/(?P[^/]+)/commit/(?P\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 6f991eb9079..ae40f287a4b 100644 --- a/backend/helpers/pluginhelper/api/iterator.go +++ b/backend/helpers/pluginhelper/api/iterator.go @@ -21,8 +21,8 @@ import ( "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 8a1a348ec12..c422fb79756 100644 --- a/backend/helpers/pluginhelper/api/mapstructure.go +++ b/backend/helpers/pluginhelper/api/mapstructure.go @@ -23,9 +23,9 @@ import ( "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 ac2f10668a9..b3d6c6c2851 100644 --- a/backend/helpers/pluginhelper/api/mapstructure_test.go +++ b/backend/helpers/pluginhelper/api/mapstructure_test.go @@ -22,7 +22,7 @@ import ( "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 e7315ceab5a..73d1cc39881 100644 --- a/backend/helpers/pluginhelper/api/misc_helpers.go +++ b/backend/helpers/pluginhelper/api/misc_helpers.go @@ -18,9 +18,9 @@ limitations under the License. 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 809192aec71..1d4d1479234 100644 --- a/backend/helpers/pluginhelper/api/model_api_helper.go +++ b/backend/helpers/pluginhelper/api/model_api_helper.go @@ -21,13 +21,13 @@ import ( "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 4ee83239145..10f5cda32e1 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 @@ limitations under the License. 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 67cd424f3e9..00bd54a62a7 100644 --- a/backend/helpers/pluginhelper/api/pipeline_plan.go +++ b/backend/helpers/pluginhelper/api/pipeline_plan.go @@ -22,11 +22,11 @@ import ( "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 a3dc6b0aa14..81d2556a278 100644 --- a/backend/helpers/pluginhelper/api/pipeline_plan_test.go +++ b/backend/helpers/pluginhelper/api/pipeline_plan_test.go @@ -18,7 +18,7 @@ limitations under the License. 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 a768f16036b..a527038e0d0 100644 --- a/backend/helpers/pluginhelper/api/reflection_helper.go +++ b/backend/helpers/pluginhelper/api/reflection_helper.go @@ -18,7 +18,7 @@ limitations under the License. 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 a1b73afe68b..ff3ed7868af 100644 --- a/backend/helpers/pluginhelper/api/remote_api_helper.go +++ b/backend/helpers/pluginhelper/api/remote_api_helper.go @@ -27,11 +27,11 @@ import ( "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 e1da762f5a4..347bfb1d7f7 100644 --- a/backend/helpers/pluginhelper/api/scope_config_helper.go +++ b/backend/helpers/pluginhelper/api/scope_config_helper.go @@ -18,17 +18,17 @@ limitations under the License. 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 0a3d0e2b8b1..b9e22f22626 100644 --- a/backend/helpers/pluginhelper/api/scope_db_helper.go +++ b/backend/helpers/pluginhelper/api/scope_db_helper.go @@ -21,10 +21,10 @@ import ( "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 895f3427a4d..ee4d86b0844 100644 --- a/backend/helpers/pluginhelper/api/scope_generic_helper.go +++ b/backend/helpers/pluginhelper/api/scope_generic_helper.go @@ -24,16 +24,16 @@ import ( "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 935280e062c..f2e8002f0e8 100644 --- a/backend/helpers/pluginhelper/api/scope_helper.go +++ b/backend/helpers/pluginhelper/api/scope_helper.go @@ -20,10 +20,10 @@ package api 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 8956ad09bf4..f4dfa42529f 100644 --- a/backend/helpers/pluginhelper/api/scope_helper_test.go +++ b/backend/helpers/pluginhelper/api/scope_helper_test.go @@ -24,11 +24,11 @@ import ( "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 ff1c8d7f4d5..1f9183f85c4 100644 --- a/backend/helpers/pluginhelper/api/subtask_state_manager.go +++ b/backend/helpers/pluginhelper/api/subtask_state_manager.go @@ -23,11 +23,11 @@ import ( "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 f4ba733ea34..eac054adf71 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 @@ import ( "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 74d1c3f70a3..7e64ec151aa 100644 --- a/backend/helpers/pluginhelper/api/worker_scheduler.go +++ b/backend/helpers/pluginhelper/api/worker_scheduler.go @@ -24,8 +24,8 @@ import ( "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 077ae3bbdfe..e25c69b034e 100644 --- a/backend/helpers/pluginhelper/api/worker_scheduler_test.go +++ b/backend/helpers/pluginhelper/api/worker_scheduler_test.go @@ -22,8 +22,8 @@ import ( "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 2f8c40919a2..868ff7339e4 100644 --- a/backend/helpers/pluginhelper/csv_file_iterator.go +++ b/backend/helpers/pluginhelper/csv_file_iterator.go @@ -22,7 +22,7 @@ import ( "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 472e54668af..c9887e0a28d 100644 --- a/backend/helpers/pluginhelper/csv_file_writer.go +++ b/backend/helpers/pluginhelper/csv_file_writer.go @@ -19,7 +19,7 @@ package pluginhelper 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 aae0535f79c..b2576917932 100644 --- a/backend/helpers/pluginhelper/services/blueprint_helper.go +++ b/backend/helpers/pluginhelper/services/blueprint_helper.go @@ -20,11 +20,11 @@ package services 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 61a51f5b707..bb204a0c4b7 100644 --- a/backend/helpers/pluginhelper/subtaskmeta/sorter/interface.go +++ b/backend/helpers/pluginhelper/subtaskmeta/sorter/interface.go @@ -18,8 +18,8 @@ limitations under the License. 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 a3873b8d430..f37708a7430 100644 --- a/backend/helpers/pluginhelper/subtaskmeta/sorter/subtask.go +++ b/backend/helpers/pluginhelper/subtaskmeta/sorter/subtask.go @@ -20,9 +20,9 @@ package sorter 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 0bf43bcffa4..fa9c919ea68 100644 --- a/backend/helpers/pluginhelper/subtaskmeta/sorter/subtask_test.go +++ b/backend/helpers/pluginhelper/subtaskmeta/sorter/subtask_test.go @@ -21,7 +21,7 @@ import ( "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 9468b5c9525..d87cb228f7b 100644 --- a/backend/helpers/pluginhelper/subtaskmeta/sorter/table.go +++ b/backend/helpers/pluginhelper/subtaskmeta/sorter/table.go @@ -18,8 +18,8 @@ limitations under the License. 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 4503d1eb0dd..ac590a12e83 100644 --- a/backend/helpers/pluginhelper/subtaskmeta/sorter/table_test.go +++ b/backend/helpers/pluginhelper/subtaskmeta/sorter/table_test.go @@ -18,8 +18,8 @@ limitations under the License. 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 7244e27243e..c0e345434db 100644 --- a/backend/helpers/srvhelper/connection_service_helper.go +++ b/backend/helpers/srvhelper/connection_service_helper.go @@ -20,11 +20,11 @@ package srvhelper 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 afb7bd45014..b4e8aa77cca 100644 --- a/backend/helpers/srvhelper/dsrefs.go +++ b/backend/helpers/srvhelper/dsrefs.go @@ -18,7 +18,7 @@ limitations under the License. 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 0ca94827c52..105676debd3 100644 --- a/backend/helpers/srvhelper/model_service_helper.go +++ b/backend/helpers/srvhelper/model_service_helper.go @@ -21,12 +21,12 @@ import ( "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 67cbc619563..6adafd1c566 100644 --- a/backend/helpers/srvhelper/scope_config_service_helper.go +++ b/backend/helpers/srvhelper/scope_config_service_helper.go @@ -21,11 +21,11 @@ import ( "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 e5d4671c53d..082a3275511 100644 --- a/backend/helpers/srvhelper/scope_service_helper.go +++ b/backend/helpers/srvhelper/scope_service_helper.go @@ -23,12 +23,12 @@ import ( "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 54d7979f17c..0d108420587 100644 --- a/backend/helpers/srvhelper/scope_service_helper_test.go +++ b/backend/helpers/srvhelper/scope_service_helper_test.go @@ -20,8 +20,8 @@ package srvhelper 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_baesres.go index 346c515ae65..1bc458f766d 100644 --- a/backend/helpers/unithelper/dummy_baesres.go +++ b/backend/helpers/unithelper/dummy_baesres.go @@ -18,8 +18,8 @@ limitations under the License. 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 ea1d840b026..ef9b78d8be0 100644 --- a/backend/helpers/unithelper/dummy_logger.go +++ b/backend/helpers/unithelper/dummy_logger.go @@ -18,7 +18,7 @@ limitations under the License. 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 0fc9664173c..1f3181194e9 100644 --- a/backend/helpers/unithelper/dummy_subtaskcontext.go +++ b/backend/helpers/unithelper/dummy_subtaskcontext.go @@ -18,8 +18,8 @@ limitations under the License. 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 27ba975b881..4e6fcf1f3d0 100644 --- a/backend/helpers/unithelper/table_info_checker.go +++ b/backend/helpers/unithelper/table_info_checker.go @@ -30,8 +30,8 @@ import ( "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 9a6278daf96..615663b4231 100644 --- a/backend/helpers/utils/field.go +++ b/backend/helpers/utils/field.go @@ -22,7 +22,7 @@ import ( "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 4b9684156cd..16f0d477322 100644 --- a/backend/helpers/utils/mapstructure.go +++ b/backend/helpers/utils/mapstructure.go @@ -22,10 +22,10 @@ import ( "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 755dea4d224..6690cf42516 100644 --- a/backend/helpers/utils/mapstructure_test.go +++ b/backend/helpers/utils/mapstructure_test.go @@ -24,8 +24,8 @@ import ( "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 1ee4976dbea..587a5be2815 100644 --- a/backend/impls/context/default_basic_res.go +++ b/backend/impls/context/default_basic_res.go @@ -18,10 +18,10 @@ limitations under the License. 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 2d372f5b95c..de94372513f 100644 --- a/backend/impls/context/default_exec_context.go +++ b/backend/impls/context/default_exec_context.go @@ -19,8 +19,8 @@ package context 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 518644c61ba..dd64383b0a8 100644 --- a/backend/impls/context/default_subtask_context.go +++ b/backend/impls/context/default_subtask_context.go @@ -21,9 +21,9 @@ import ( 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 f6d67c909cd..dad31bff6f3 100644 --- a/backend/impls/context/default_task_context.go +++ b/backend/impls/context/default_task_context.go @@ -22,10 +22,10 @@ import ( "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 bf5538dda85..2d219397dea 100644 --- a/backend/impls/dalgorm/dalgorm.go +++ b/backend/impls/dalgorm/dalgorm.go @@ -24,10 +24,10 @@ import ( "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 9ba88c93586..16dec5abe6f 100644 --- a/backend/impls/dalgorm/dalgorm_transaction.go +++ b/backend/impls/dalgorm/dalgorm_transaction.go @@ -20,8 +20,8 @@ package dalgorm 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 147a4ded1e8..ea009fedea1 100644 --- a/backend/impls/dalgorm/db_mapper.go +++ b/backend/impls/dalgorm/db_mapper.go @@ -20,7 +20,7 @@ package dalgorm 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 fdaf77517f8..745979f6ca4 100644 --- a/backend/impls/dalgorm/encdec_serializer.go +++ b/backend/impls/dalgorm/encdec_serializer.go @@ -23,8 +23,8 @@ import ( "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 0fdb76fc57f..1775df9a90f 100644 --- a/backend/impls/logruslog/init.go +++ b/backend/impls/logruslog/init.go @@ -23,9 +23,9 @@ import ( "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 88287c9f553..6c54759c017 100644 --- a/backend/impls/logruslog/logger.go +++ b/backend/impls/logruslog/logger.go @@ -22,8 +22,8 @@ import ( "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 aa6770f24ad..adfcc2ff63b 100644 --- a/backend/impls/logruslog/stream.go +++ b/backend/impls/logruslog/stream.go @@ -18,7 +18,7 @@ limitations under the License. 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 43960e985cf..7506ac442d8 100644 --- a/backend/impls/logruslog/utils.go +++ b/backend/impls/logruslog/utils.go @@ -19,8 +19,8 @@ package logruslog 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 4d0d4a238fe..7648d695b36 100644 --- a/backend/plugins/ae/ae.go +++ b/backend/plugins/ae/ae.go @@ -18,8 +18,8 @@ limitations under the License. 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 cc3a3889e6e..e1b3f074ac3 100644 --- a/backend/plugins/ae/api/connection.go +++ b/backend/plugins/ae/api/connection.go @@ -21,11 +21,11 @@ import ( "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 1da6ff4141e..7fa365483ca 100644 --- a/backend/plugins/ae/api/init.go +++ b/backend/plugins/ae/api/init.go @@ -18,9 +18,9 @@ limitations under the License. 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 264317997a7..5620d8aaee8 100644 --- a/backend/plugins/ae/e2e/commit_test.go +++ b/backend/plugins/ae/e2e/commit_test.go @@ -18,11 +18,11 @@ limitations under the License. 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 61f75cfcfc2..164f8a0d47e 100644 --- a/backend/plugins/ae/e2e/project_test.go +++ b/backend/plugins/ae/e2e/project_test.go @@ -18,10 +18,10 @@ limitations under the License. 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 907975e4827..d96374e35c4 100644 --- a/backend/plugins/ae/impl/impl.go +++ b/backend/plugins/ae/impl/impl.go @@ -20,15 +20,15 @@ package impl 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) PrepareTaskData(taskCtx plugin.TaskContext, options map[string]inter } 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 f99ef2e6a04..254da401233 100644 --- a/backend/plugins/ae/models/commit.go +++ b/backend/plugins/ae/models/commit.go @@ -18,7 +18,7 @@ limitations under the License. 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 ca3d4577b06..9d59223c709 100644 --- a/backend/plugins/ae/models/connection.go +++ b/backend/plugins/ae/models/connection.go @@ -27,9 +27,9 @@ import ( "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 51060c9271f..2dde8c49b67 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 @@ limitations under the License. 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 24dd325673f..c382ef68496 100644 --- a/backend/plugins/ae/models/migrationscripts/archived/commit.go +++ b/backend/plugins/ae/models/migrationscripts/archived/commit.go @@ -18,7 +18,7 @@ limitations under the License. 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 784b36b154a..8ed3626fa20 100644 --- a/backend/plugins/ae/models/migrationscripts/archived/project.go +++ b/backend/plugins/ae/models/migrationscripts/archived/project.go @@ -18,7 +18,7 @@ limitations under the License. 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 a8697e0d02b..3e49cee147b 100644 --- a/backend/plugins/ae/models/migrationscripts/register.go +++ b/backend/plugins/ae/models/migrationscripts/register.go @@ -18,7 +18,7 @@ limitations under the License. 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 104fab365ac..b489ef81541 100644 --- a/backend/plugins/ae/models/project.go +++ b/backend/plugins/ae/models/project.go @@ -18,7 +18,7 @@ limitations under the License. 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 3cf0266df99..b117a71fe48 100644 --- a/backend/plugins/ae/tasks/api_client.go +++ b/backend/plugins/ae/tasks/api_client.go @@ -18,10 +18,10 @@ limitations under the License. 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 9346d0ea77a..f730800ef01 100644 --- a/backend/plugins/ae/tasks/commits_collector.go +++ b/backend/plugins/ae/tasks/commits_collector.go @@ -20,9 +20,9 @@ package tasks 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 6001865815d..adf223f9546 100644 --- a/backend/plugins/ae/tasks/commits_convertor.go +++ b/backend/plugins/ae/tasks/commits_convertor.go @@ -18,10 +18,10 @@ limitations under the License. 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 29ef7df199f..061572be6a7 100644 --- a/backend/plugins/ae/tasks/commits_extractor.go +++ b/backend/plugins/ae/tasks/commits_extractor.go @@ -19,10 +19,10 @@ package tasks 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 34905cb9b8a..2d33ca65a4f 100644 --- a/backend/plugins/ae/tasks/project_collector.go +++ b/backend/plugins/ae/tasks/project_collector.go @@ -19,9 +19,9 @@ package tasks 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 90ef6d19178..90bbe19bf7d 100644 --- a/backend/plugins/ae/tasks/project_extractor.go +++ b/backend/plugins/ae/tasks/project_extractor.go @@ -19,10 +19,10 @@ package tasks 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 3a933536ce7..ddf3d0d37df 100644 --- a/backend/plugins/ae/tasks/task_data.go +++ b/backend/plugins/ae/tasks/task_data.go @@ -18,7 +18,7 @@ limitations under the License. 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 77e724d8882..05c5abd05d0 100644 --- a/backend/plugins/argocd/api/blueprint_v200.go +++ b/backend/plugins/argocd/api/blueprint_v200.go @@ -18,17 +18,17 @@ limitations under the License. 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 5ed37065665..0abe194089a 100644 --- a/backend/plugins/argocd/api/connection_api.go +++ b/backend/plugins/argocd/api/connection_api.go @@ -23,11 +23,11 @@ import ( "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 f61e7f9eedf..7fbbe90e308 100644 --- a/backend/plugins/argocd/api/init.go +++ b/backend/plugins/argocd/api/init.go @@ -18,10 +18,10 @@ limitations under the License. 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 e34e7096453..b99d5c257e0 100644 --- a/backend/plugins/argocd/api/remote_api.go +++ b/backend/plugins/argocd/api/remote_api.go @@ -20,11 +20,11 @@ package api 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 53d00366bf0..6850f3928f6 100644 --- a/backend/plugins/argocd/api/scope_api.go +++ b/backend/plugins/argocd/api/scope_api.go @@ -20,8 +20,8 @@ package api 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 5b75993bbd1..81f20c878d8 100644 --- a/backend/plugins/argocd/api/scope_config_api.go +++ b/backend/plugins/argocd/api/scope_config_api.go @@ -18,8 +18,8 @@ limitations under the License. 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 8a51d844a47..19472f01b86 100644 --- a/backend/plugins/argocd/argocd.go +++ b/backend/plugins/argocd/argocd.go @@ -18,8 +18,8 @@ limitations under the License. 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 77f2696a4b8..4ada3f302c3 100644 --- a/backend/plugins/argocd/impl/impl.go +++ b/backend/plugins/argocd/impl/impl.go @@ -18,15 +18,15 @@ limitations under the License. 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) Name() string { } 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 ad7c8877081..6853ed50cdd 100644 --- a/backend/plugins/argocd/models/application.go +++ b/backend/plugins/argocd/models/application.go @@ -20,8 +20,8 @@ package models 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 1bd8343f550..13837b92a9b 100644 --- a/backend/plugins/argocd/models/application_test.go +++ b/backend/plugins/argocd/models/application_test.go @@ -20,7 +20,7 @@ package models 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 a2c011127a5..9f9b72fd379 100644 --- a/backend/plugins/argocd/models/connection.go +++ b/backend/plugins/argocd/models/connection.go @@ -18,8 +18,8 @@ limitations under the License. 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 e7130afc5db..f3523400db9 100644 --- a/backend/plugins/argocd/models/connection_test.go +++ b/backend/plugins/argocd/models/connection_test.go @@ -20,7 +20,7 @@ package models 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 00e334c5a23..f6b261bc63b 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 @@ limitations under the License. package migrationscripts import ( - "github.com/apache/incubator-devlake/core/context" - "github.com/apache/incubator-devlake/core/errors" - "github.com/apache/incubator-devlake/core/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 7392d320c64..15423ff477c 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 @@ limitations under the License. package migrationscripts import ( - "github.com/apache/incubator-devlake/core/context" - "github.com/apache/incubator-devlake/core/errors" - "github.com/apache/incubator-devlake/core/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 5acdc543b9c..506339a45c0 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 @@ limitations under the License. package migrationscripts import ( - "github.com/apache/incubator-devlake/core/context" - "github.com/apache/incubator-devlake/core/errors" - "github.com/apache/incubator-devlake/core/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 2526c15cb97..6fbf0cd36c0 100644 --- a/backend/plugins/argocd/models/migrationscripts/archived/models.go +++ b/backend/plugins/argocd/models/migrationscripts/archived/models.go @@ -20,7 +20,7 @@ package archived 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 9ed9242062c..089c03622a9 100644 --- a/backend/plugins/argocd/models/migrationscripts/register.go +++ b/backend/plugins/argocd/models/migrationscripts/register.go @@ -18,7 +18,7 @@ limitations under the License. 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 7b1080f3103..adb0b2b926b 100644 --- a/backend/plugins/argocd/models/revision_image.go +++ b/backend/plugins/argocd/models/revision_image.go @@ -17,7 +17,7 @@ limitations under the License. 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 5d20420299e..b3e996541e1 100644 --- a/backend/plugins/argocd/models/scope_config.go +++ b/backend/plugins/argocd/models/scope_config.go @@ -18,7 +18,7 @@ limitations under the License. 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 ea8838cb108..2198723a10e 100644 --- a/backend/plugins/argocd/models/sync_operation.go +++ b/backend/plugins/argocd/models/sync_operation.go @@ -20,7 +20,7 @@ package models 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 8ddcd083b19..8e0107c424a 100644 --- a/backend/plugins/argocd/tasks/api_client.go +++ b/backend/plugins/argocd/tasks/api_client.go @@ -18,10 +18,10 @@ limitations under the License. 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 67ffabfe1e0..133f4188a79 100644 --- a/backend/plugins/argocd/tasks/application_collector.go +++ b/backend/plugins/argocd/tasks/application_collector.go @@ -22,10 +22,10 @@ import ( "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 bc10f069f3d..aa763aa77bb 100644 --- a/backend/plugins/argocd/tasks/application_convertor.go +++ b/backend/plugins/argocd/tasks/application_convertor.go @@ -22,14 +22,14 @@ import ( "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 f33c749f026..bbf39030606 100644 --- a/backend/plugins/argocd/tasks/application_convertor_test.go +++ b/backend/plugins/argocd/tasks/application_convertor_test.go @@ -21,7 +21,7 @@ import ( "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 1c789999c79..33ac3d7609c 100644 --- a/backend/plugins/argocd/tasks/application_extractor.go +++ b/backend/plugins/argocd/tasks/application_extractor.go @@ -21,10 +21,10 @@ import ( "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 2d556691226..f0d029f6bf0 100644 --- a/backend/plugins/argocd/tasks/register.go +++ b/backend/plugins/argocd/tasks/register.go @@ -18,12 +18,12 @@ limitations under the License. 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 6f58a16e2a2..bac7e5e64cf 100644 --- a/backend/plugins/argocd/tasks/sync_operation_collector.go +++ b/backend/plugins/argocd/tasks/sync_operation_collector.go @@ -23,10 +23,10 @@ import ( "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 e577b7af185..debf6c5a78b 100644 --- a/backend/plugins/argocd/tasks/sync_operation_convertor.go +++ b/backend/plugins/argocd/tasks/sync_operation_convertor.go @@ -23,14 +23,14 @@ import ( "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 91048a71e2f..d905d1c0253 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 @@ package tasks 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 6ea7f785891..5138bbb0422 100644 --- a/backend/plugins/argocd/tasks/sync_operation_extractor.go +++ b/backend/plugins/argocd/tasks/sync_operation_extractor.go @@ -23,12 +23,12 @@ import ( "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 7a5df54a3c5..81b491ad662 100644 --- a/backend/plugins/argocd/tasks/task_data.go +++ b/backend/plugins/argocd/tasks/task_data.go @@ -20,9 +20,9 @@ package tasks 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 fa8718cb507..e04b6b19b7c 100644 --- a/backend/plugins/argocd/tasks/task_data_test.go +++ b/backend/plugins/argocd/tasks/task_data_test.go @@ -20,7 +20,7 @@ package tasks 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 2820593e350..cc30547f64a 100644 --- a/backend/plugins/asana/api/blueprint_v200.go +++ b/backend/plugins/asana/api/blueprint_v200.go @@ -18,18 +18,18 @@ limitations under the License. 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 6d69c8c4ee4..e3947dcf398 100644 --- a/backend/plugins/asana/api/connection_api.go +++ b/backend/plugins/asana/api/connection_api.go @@ -21,11 +21,11 @@ import ( "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 d13865b184c..8b73d5b8ac2 100644 --- a/backend/plugins/asana/api/init.go +++ b/backend/plugins/asana/api/init.go @@ -18,10 +18,10 @@ limitations under the License. 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 0245cb6008b..3128590e253 100644 --- a/backend/plugins/asana/api/remote_api.go +++ b/backend/plugins/asana/api/remote_api.go @@ -22,11 +22,11 @@ import ( "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 afbc8486583..2f66706db4b 100644 --- a/backend/plugins/asana/api/scope_api.go +++ b/backend/plugins/asana/api/scope_api.go @@ -18,10 +18,10 @@ limitations under the License. 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 d7e5b541b11..6ec13dca1e1 100644 --- a/backend/plugins/asana/api/scope_config_api.go +++ b/backend/plugins/asana/api/scope_config_api.go @@ -18,8 +18,8 @@ limitations under the License. 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 43897adf9ba..fc1e8db838a 100644 --- a/backend/plugins/asana/api/swagger.go +++ b/backend/plugins/asana/api/swagger.go @@ -18,7 +18,7 @@ limitations under the License. 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 4bfbbf5b098..c3650ec44af 100644 --- a/backend/plugins/asana/asana.go +++ b/backend/plugins/asana/asana.go @@ -18,8 +18,8 @@ limitations under the License. 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 3fbc6308ea5..872b036ac98 100644 --- a/backend/plugins/asana/e2e/project_test.go +++ b/backend/plugins/asana/e2e/project_test.go @@ -20,12 +20,12 @@ package e2e 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 5687ceb7c5b..2996dce2ee2 100644 --- a/backend/plugins/asana/e2e/task_test.go +++ b/backend/plugins/asana/e2e/task_test.go @@ -20,11 +20,11 @@ package e2e 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 42ac786ae5f..a249c088583 100644 --- a/backend/plugins/asana/impl/impl.go +++ b/backend/plugins/asana/impl/impl.go @@ -20,16 +20,16 @@ package impl 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) PrepareTaskData(taskCtx plugin.TaskContext, options map[string]in } 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 349a69bcc2d..3a7dfd28222 100644 --- a/backend/plugins/asana/models/connection.go +++ b/backend/plugins/asana/models/connection.go @@ -21,9 +21,9 @@ import ( "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 aabade05f84..68544f1f419 100644 --- a/backend/plugins/asana/models/custom_field.go +++ b/backend/plugins/asana/models/custom_field.go @@ -18,7 +18,7 @@ limitations under the License. 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 572e2464ecd..26ed7330be2 100644 --- a/backend/plugins/asana/models/membership.go +++ b/backend/plugins/asana/models/membership.go @@ -18,7 +18,7 @@ limitations under the License. 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 a2dae698bd0..b2b85a754b5 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 @@ limitations under the License. package migrationscripts import ( - "github.com/apache/incubator-devlake/core/context" - "github.com/apache/incubator-devlake/core/errors" - "github.com/apache/incubator-devlake/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 35c482d271c..8ac19296ad5 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 @@ limitations under the License. package migrationscripts import ( - "github.com/apache/incubator-devlake/core/context" - "github.com/apache/incubator-devlake/core/errors" - "github.com/apache/incubator-devlake/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 e092290c6ad..7b3b32f260f 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 @@ limitations under the License. package migrationscripts import ( - "github.com/apache/incubator-devlake/core/context" - "github.com/apache/incubator-devlake/core/errors" - "github.com/apache/incubator-devlake/core/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 c8706d32c9f..4d134181349 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 @@ limitations under the License. package migrationscripts import ( - "github.com/apache/incubator-devlake/core/context" - "github.com/apache/incubator-devlake/core/errors" - "github.com/apache/incubator-devlake/core/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 fc87c9fa1aa..3108e3eac01 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 @@ limitations under the License. package migrationscripts import ( - "github.com/apache/incubator-devlake/core/context" - "github.com/apache/incubator-devlake/core/errors" - "github.com/apache/incubator-devlake/core/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 dff72ee5c15..9bc52551bd2 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 @@ limitations under the License. package migrationscripts import ( - "github.com/apache/incubator-devlake/core/context" - "github.com/apache/incubator-devlake/core/errors" - "github.com/apache/incubator-devlake/core/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 fee89ca11c5..6849acc689e 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 @@ package migrationscripts 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 1551cad6115..3368d5e0c0a 100644 --- a/backend/plugins/asana/models/migrationscripts/archived/models.go +++ b/backend/plugins/asana/models/migrationscripts/archived/models.go @@ -20,7 +20,7 @@ package archived 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 753f1926251..76d3a992298 100644 --- a/backend/plugins/asana/models/migrationscripts/register.go +++ b/backend/plugins/asana/models/migrationscripts/register.go @@ -18,7 +18,7 @@ limitations under the License. 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 498bcd97ef1..89b7c754e0d 100644 --- a/backend/plugins/asana/models/project.go +++ b/backend/plugins/asana/models/project.go @@ -18,8 +18,8 @@ limitations under the License. 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 560e645a5e5..4f75b24a1fa 100644 --- a/backend/plugins/asana/models/scope_config.go +++ b/backend/plugins/asana/models/scope_config.go @@ -18,7 +18,7 @@ limitations under the License. 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 3ebc17b8a1b..6b458264518 100644 --- a/backend/plugins/asana/models/section.go +++ b/backend/plugins/asana/models/section.go @@ -18,7 +18,7 @@ limitations under the License. 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 41386a41e24..e057957ebf8 100644 --- a/backend/plugins/asana/models/story.go +++ b/backend/plugins/asana/models/story.go @@ -20,7 +20,7 @@ package models 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 2ab29555ad2..d8bdbd93212 100644 --- a/backend/plugins/asana/models/tag.go +++ b/backend/plugins/asana/models/tag.go @@ -18,7 +18,7 @@ limitations under the License. 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 fce6bd9388b..705a2178aaf 100644 --- a/backend/plugins/asana/models/task.go +++ b/backend/plugins/asana/models/task.go @@ -20,7 +20,7 @@ package models 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 1488a0fd00c..5543b51ccef 100644 --- a/backend/plugins/asana/models/team.go +++ b/backend/plugins/asana/models/team.go @@ -18,7 +18,7 @@ limitations under the License. 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 92681195945..f9a430256ab 100644 --- a/backend/plugins/asana/models/user.go +++ b/backend/plugins/asana/models/user.go @@ -18,7 +18,7 @@ limitations under the License. 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 101c249b358..944ad8a8014 100644 --- a/backend/plugins/asana/models/workspace.go +++ b/backend/plugins/asana/models/workspace.go @@ -18,7 +18,7 @@ limitations under the License. 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 25abd421bdc..85ef8590a6d 100644 --- a/backend/plugins/asana/tasks/api_client.go +++ b/backend/plugins/asana/tasks/api_client.go @@ -18,10 +18,10 @@ limitations under the License. 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 5ae69a68d63..69574df9c07 100644 --- a/backend/plugins/asana/tasks/project_collector.go +++ b/backend/plugins/asana/tasks/project_collector.go @@ -21,10 +21,10 @@ import ( "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 cd6f89576ec..66e0ab0be47 100644 --- a/backend/plugins/asana/tasks/project_convertor.go +++ b/backend/plugins/asana/tasks/project_convertor.go @@ -20,14 +20,14 @@ package tasks 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 dba73b8a654..1392a614ad7 100644 --- a/backend/plugins/asana/tasks/project_extractor.go +++ b/backend/plugins/asana/tasks/project_extractor.go @@ -20,10 +20,10 @@ package tasks 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 782f47a90b7..1ceff66ef09 100644 --- a/backend/plugins/asana/tasks/section_collector.go +++ b/backend/plugins/asana/tasks/section_collector.go @@ -21,10 +21,10 @@ import ( "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 3c6e90a9b55..2ad701c2780 100644 --- a/backend/plugins/asana/tasks/section_extractor.go +++ b/backend/plugins/asana/tasks/section_extractor.go @@ -20,10 +20,10 @@ package tasks 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 7fa8896900e..f689c9f6908 100644 --- a/backend/plugins/asana/tasks/story_collector.go +++ b/backend/plugins/asana/tasks/story_collector.go @@ -23,11 +23,11 @@ import ( "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 f5df43b2ab7..758c24ff6b4 100644 --- a/backend/plugins/asana/tasks/story_convertor.go +++ b/backend/plugins/asana/tasks/story_convertor.go @@ -20,14 +20,14 @@ package tasks 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 e0240f2da88..459e60ab02f 100644 --- a/backend/plugins/asana/tasks/story_extractor.go +++ b/backend/plugins/asana/tasks/story_extractor.go @@ -21,10 +21,10 @@ import ( "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 a2f22cd3a1a..73218dc2d27 100644 --- a/backend/plugins/asana/tasks/subtask_collector.go +++ b/backend/plugins/asana/tasks/subtask_collector.go @@ -23,11 +23,11 @@ import ( "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 0e0b310facb..440cc3015af 100644 --- a/backend/plugins/asana/tasks/subtask_extractor.go +++ b/backend/plugins/asana/tasks/subtask_extractor.go @@ -21,10 +21,10 @@ import ( "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 0f3d218664e..01d3b18e423 100644 --- a/backend/plugins/asana/tasks/tag_collector.go +++ b/backend/plugins/asana/tasks/tag_collector.go @@ -23,11 +23,11 @@ import ( "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 3e7db18ac4c..92e3a19a424 100644 --- a/backend/plugins/asana/tasks/tag_extractor.go +++ b/backend/plugins/asana/tasks/tag_extractor.go @@ -20,10 +20,10 @@ package tasks 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 8e1b72c138b..e21b30c90fa 100644 --- a/backend/plugins/asana/tasks/task_collector.go +++ b/backend/plugins/asana/tasks/task_collector.go @@ -22,10 +22,10 @@ import ( "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 7c981b50d20..8a27f161128 100644 --- a/backend/plugins/asana/tasks/task_convertor.go +++ b/backend/plugins/asana/tasks/task_convertor.go @@ -22,14 +22,14 @@ import ( "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 b6c82836b7b..ef01bb768c4 100644 --- a/backend/plugins/asana/tasks/task_data.go +++ b/backend/plugins/asana/tasks/task_data.go @@ -18,9 +18,9 @@ limitations under the License. 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 11ce45af1e0..6291ae606dd 100644 --- a/backend/plugins/asana/tasks/task_extractor.go +++ b/backend/plugins/asana/tasks/task_extractor.go @@ -21,10 +21,10 @@ import ( "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 9b1649aa1fb..bcfc9859190 100644 --- a/backend/plugins/asana/tasks/user_collector.go +++ b/backend/plugins/asana/tasks/user_collector.go @@ -22,10 +22,10 @@ import ( "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 4d9f3da0802..8bc3e00f215 100644 --- a/backend/plugins/asana/tasks/user_convertor.go +++ b/backend/plugins/asana/tasks/user_convertor.go @@ -20,14 +20,14 @@ package tasks 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 763c5a2a766..bddf43f7aed 100644 --- a/backend/plugins/asana/tasks/user_extractor.go +++ b/backend/plugins/asana/tasks/user_extractor.go @@ -20,10 +20,10 @@ package tasks 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 207967f438e..355f5b997d3 100644 --- a/backend/plugins/azuredevops_go/api/azuredevops/client.go +++ b/backend/plugins/azuredevops_go/api/azuredevops/client.go @@ -27,10 +27,10 @@ import ( "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 b2b766809b3..4753d19e41f 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 @@ limitations under the License. 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 6b184e8a6d4..630df0527bb 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 @@ package azuredevops 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 3cd4acb711b..22880acb768 100644 --- a/backend/plugins/azuredevops_go/api/blueprint_v200.go +++ b/backend/plugins/azuredevops_go/api/blueprint_v200.go @@ -22,18 +22,18 @@ import ( "golang.org/x/exp/slices" - "github.com/apache/incubator-devlake/core/errors" - "github.com/apache/incubator-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" + "github.com/apache/devlake/core/errors" + "github.com/apache/devlake/core/utils" + + 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 fd40353f7a8..ce45e380881 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 @@ import ( "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 @@ const ( 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 81123503436..4f1d7084134 100644 --- a/backend/plugins/azuredevops_go/api/connection_api.go +++ b/backend/plugins/azuredevops_go/api/connection_api.go @@ -22,12 +22,12 @@ import ( "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 0401e2b3662..fd5371110c2 100644 --- a/backend/plugins/azuredevops_go/api/init.go +++ b/backend/plugins/azuredevops_go/api/init.go @@ -18,10 +18,10 @@ limitations under the License. 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 aa5aa120651..e2d3d960b01 100644 --- a/backend/plugins/azuredevops_go/api/remote_api.go +++ b/backend/plugins/azuredevops_go/api/remote_api.go @@ -18,10 +18,10 @@ limitations under the License. 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 ba3fa875d6d..6da68905e3c 100644 --- a/backend/plugins/azuredevops_go/api/remote_helper.go +++ b/backend/plugins/azuredevops_go/api/remote_helper.go @@ -20,17 +20,18 @@ package api 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 @@ func listRemoteRepos( 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//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//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 f7e168880f5..8939800b70b 100644 --- a/backend/plugins/azuredevops_go/api/scope_api.go +++ b/backend/plugins/azuredevops_go/api/scope_api.go @@ -18,10 +18,10 @@ limitations under the License. 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 6294cb5c7da..92e3ef3d523 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 @@ limitations under the License. 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 ec968ef7755..24e809c2ce4 100644 --- a/backend/plugins/azuredevops_go/api/swagger.go +++ b/backend/plugins/azuredevops_go/api/swagger.go @@ -18,7 +18,7 @@ limitations under the License. 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 d91e9d3acf4..3262852b58e 100644 --- a/backend/plugins/azuredevops_go/azuredevops.go +++ b/backend/plugins/azuredevops_go/azuredevops.go @@ -18,8 +18,8 @@ limitations under the License. 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 887abbbea81..779cb1c8a84 100644 --- a/backend/plugins/azuredevops_go/e2e/build_test.go +++ b/backend/plugins/azuredevops_go/e2e/build_test.go @@ -18,15 +18,15 @@ limitations under the License. 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 4c843665bb1..85c75a3043a 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 @@ package e2e 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 3631f7e67c3..bc570835085 100644 --- a/backend/plugins/azuredevops_go/e2e/pr_test.go +++ b/backend/plugins/azuredevops_go/e2e/pr_test.go @@ -18,14 +18,14 @@ limitations under the License. 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 53ffe51f7c7..9812a64e926 100644 --- a/backend/plugins/azuredevops_go/e2e/repo_test.go +++ b/backend/plugins/azuredevops_go/e2e/repo_test.go @@ -18,15 +18,15 @@ limitations under the License. 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 67665168bca..63e96df95bc 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 @@ package e2e 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 44cc01e5238..0d1b862c85d 100644 --- a/backend/plugins/azuredevops_go/impl/impl.go +++ b/backend/plugins/azuredevops_go/impl/impl.go @@ -21,20 +21,20 @@ import ( "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" - - "github.com/apache/incubator-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" + 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/devlake/core/models/domainlayer/devops" + + "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) PrepareTaskData(taskCtx plugin.TaskContext, options map[str } 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 7dd6da856c5..ba395b9504d 100644 --- a/backend/plugins/azuredevops_go/models/build.go +++ b/backend/plugins/azuredevops_go/models/build.go @@ -18,7 +18,7 @@ limitations under the License. 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 00327a25981..ca7fbdd0731 100644 --- a/backend/plugins/azuredevops_go/models/commit.go +++ b/backend/plugins/azuredevops_go/models/commit.go @@ -18,7 +18,7 @@ limitations under the License. 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 a2af72be222..f693cd2f755 100644 --- a/backend/plugins/azuredevops_go/models/connection.go +++ b/backend/plugins/azuredevops_go/models/connection.go @@ -20,10 +20,10 @@ package models 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 1240fd8a278..a7ead608228 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 @@ limitations under the License. package migrationscripts import ( - "github.com/apache/incubator-devlake/core/context" - "github.com/apache/incubator-devlake/core/errors" - "github.com/apache/incubator-devlake/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 d9c514697e5..49fed9776d0 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 @@ limitations under the License. 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 ae71e067605..2778d1c4822 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 @@ limitations under the License. package migrationscripts import ( - "github.com/apache/incubator-devlake/core/context" - "github.com/apache/incubator-devlake/core/errors" - "github.com/apache/incubator-devlake/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 c35ad48c806..18c87e90ef7 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 @@ limitations under the License. package migrationscripts import ( - "github.com/apache/incubator-devlake/core/context" - "github.com/apache/incubator-devlake/core/errors" - "github.com/apache/incubator-devlake/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 a9a14bf3051..e8ff36d4220 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 @@ limitations under the License. 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 5fb3fefab9c..8b20a24aa2f 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 @@ limitations under the License. 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 9bbeb0a455d..dd4b93832c8 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 @@ limitations under the License. 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 e0aa2adb432..efd1e14e939 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 @@ limitations under the License. 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 9a9491a4c49..9a74aea6ba4 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 @@ limitations under the License. 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 b4bedfe1c49..7b9c50e324b 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 @@ limitations under the License. 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 fba779c835a..7f8b7600dcf 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 @@ limitations under the License. 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 d963b663c0c..98dc033a52f 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 @@ limitations under the License. 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 fc0502e1747..31d32cbb313 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 @@ package archived 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 dbfbe50942a..cd697713c60 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 @@ limitations under the License. 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 f7e7d3ec587..374efd17169 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 @@ limitations under the License. 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 cd08322ae83..a7f7b24cbf9 100644 --- a/backend/plugins/azuredevops_go/models/migrationscripts/register.go +++ b/backend/plugins/azuredevops_go/models/migrationscripts/register.go @@ -18,7 +18,7 @@ limitations under the License. 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 51f6f9342b5..cbca1f9dacc 100644 --- a/backend/plugins/azuredevops_go/models/pr.go +++ b/backend/plugins/azuredevops_go/models/pr.go @@ -18,7 +18,7 @@ limitations under the License. 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 292f9458f2a..27ae527979f 100644 --- a/backend/plugins/azuredevops_go/models/pr_commit.go +++ b/backend/plugins/azuredevops_go/models/pr_commit.go @@ -18,7 +18,7 @@ limitations under the License. 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 0f78cb093db..4ad2f796a84 100644 --- a/backend/plugins/azuredevops_go/models/pr_label.go +++ b/backend/plugins/azuredevops_go/models/pr_label.go @@ -18,7 +18,7 @@ limitations under the License. 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 c4a36b3f17a..894b034d6f3 100644 --- a/backend/plugins/azuredevops_go/models/project.go +++ b/backend/plugins/azuredevops_go/models/project.go @@ -18,9 +18,9 @@ limitations under the License. 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 dd171996fc8..25d6d6f2001 100644 --- a/backend/plugins/azuredevops_go/models/repo.go +++ b/backend/plugins/azuredevops_go/models/repo.go @@ -18,8 +18,8 @@ limitations under the License. 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 a67cb0519af..743855a4501 100644 --- a/backend/plugins/azuredevops_go/models/repo_commit.go +++ b/backend/plugins/azuredevops_go/models/repo_commit.go @@ -18,7 +18,7 @@ limitations under the License. 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 0ea0d0b5031..94115df98e1 100644 --- a/backend/plugins/azuredevops_go/models/scope_config.go +++ b/backend/plugins/azuredevops_go/models/scope_config.go @@ -18,8 +18,8 @@ limitations under the License. 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 0d36be41315..64479523ae5 100644 --- a/backend/plugins/azuredevops_go/models/timeline_record.go +++ b/backend/plugins/azuredevops_go/models/timeline_record.go @@ -18,7 +18,7 @@ limitations under the License. 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 9397da24137..e8b779c98d7 100644 --- a/backend/plugins/azuredevops_go/models/user.go +++ b/backend/plugins/azuredevops_go/models/user.go @@ -18,7 +18,7 @@ limitations under the License. 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 f326bde7ac8..0436c888657 100644 --- a/backend/plugins/azuredevops_go/tasks/account_collector.go +++ b/backend/plugins/azuredevops_go/tasks/account_collector.go @@ -18,9 +18,9 @@ limitations under the License. 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 9f9b5e494a6..a0ec77756a6 100644 --- a/backend/plugins/azuredevops_go/tasks/account_converter.go +++ b/backend/plugins/azuredevops_go/tasks/account_converter.go @@ -18,16 +18,16 @@ limitations under the License. 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 b8b20f95d45..b6147aaf817 100644 --- a/backend/plugins/azuredevops_go/tasks/account_extractor.go +++ b/backend/plugins/azuredevops_go/tasks/account_extractor.go @@ -20,10 +20,10 @@ package tasks 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 45baa1646c9..2926fbdce10 100644 --- a/backend/plugins/azuredevops_go/tasks/api_client.go +++ b/backend/plugins/azuredevops_go/tasks/api_client.go @@ -18,10 +18,10 @@ limitations under the License. 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 72e9f141b4a..1f0a058072c 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 @@ package tasks 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 f05f2df0c99..944b4ddb2bf 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 @@ limitations under the License. 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 de3a6ec1f0e..9d7b8be00a5 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 @@ package tasks 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 36643d6451d..389d81a1327 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 @@ limitations under the License. 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 7dcbdd0e9b1..e5272a014b9 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 @@ limitations under the License. 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 772915e1e1f..398f52c0e23 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 @@ package tasks 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 64a0af9d546..a82ce9d9ed6 100644 --- a/backend/plugins/azuredevops_go/tasks/commit_collector.go +++ b/backend/plugins/azuredevops_go/tasks/commit_collector.go @@ -18,9 +18,9 @@ limitations under the License. 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 fdd1bc059f6..350fd6180de 100644 --- a/backend/plugins/azuredevops_go/tasks/commit_converter.go +++ b/backend/plugins/azuredevops_go/tasks/commit_converter.go @@ -18,13 +18,13 @@ limitations under the License. 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 d0fc05298ea..b79faee93a2 100644 --- a/backend/plugins/azuredevops_go/tasks/commit_extractor.go +++ b/backend/plugins/azuredevops_go/tasks/commit_extractor.go @@ -19,11 +19,11 @@ package tasks 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 e9a306f81d0..3e4df3f8ff0 100644 --- a/backend/plugins/azuredevops_go/tasks/pr_collector.go +++ b/backend/plugins/azuredevops_go/tasks/pr_collector.go @@ -22,9 +22,9 @@ import ( "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 a7a7c00dcec..194fd2fe2ff 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 @@ limitations under the License. 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 4a89fb2289a..b25c95846a4 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 @@ limitations under the License. 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 6e327f31c89..b18260610eb 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 @@ package tasks 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 c2831a68686..56d64836387 100644 --- a/backend/plugins/azuredevops_go/tasks/pr_converter.go +++ b/backend/plugins/azuredevops_go/tasks/pr_converter.go @@ -18,14 +18,14 @@ limitations under the License. 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 a80b879b253..46e1994f4f0 100644 --- a/backend/plugins/azuredevops_go/tasks/pr_extractor.go +++ b/backend/plugins/azuredevops_go/tasks/pr_extractor.go @@ -19,11 +19,11 @@ package tasks 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 9f5177be371..b2584dfe9ca 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 @@ limitations under the License. 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 51b12a76c1a..ddff389cd3b 100644 --- a/backend/plugins/azuredevops_go/tasks/register.go +++ b/backend/plugins/azuredevops_go/tasks/register.go @@ -17,7 +17,7 @@ limitations under the License. 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 8baa005e062..970ef5b0870 100644 --- a/backend/plugins/azuredevops_go/tasks/repo_converter.go +++ b/backend/plugins/azuredevops_go/tasks/repo_converter.go @@ -18,15 +18,15 @@ limitations under the License. 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 318850077e8..fa1f53e385c 100644 --- a/backend/plugins/azuredevops_go/tasks/shared.go +++ b/backend/plugins/azuredevops_go/tasks/shared.go @@ -25,10 +25,10 @@ import ( "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 d46e01d6c0d..312d918463a 100644 --- a/backend/plugins/azuredevops_go/tasks/shared_test.go +++ b/backend/plugins/azuredevops_go/tasks/shared_test.go @@ -23,7 +23,7 @@ import ( "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 2ac479156ff..1bc5420e106 100644 --- a/backend/plugins/azuredevops_go/tasks/task_data.go +++ b/backend/plugins/azuredevops_go/tasks/task_data.go @@ -20,10 +20,10 @@ package tasks 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 dd6ce913544..24ac744fafa 100644 --- a/backend/plugins/bamboo/api/blueprint_v200.go +++ b/backend/plugins/bamboo/api/blueprint_v200.go @@ -18,17 +18,17 @@ limitations under the License. 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 4c142fc5d27..51803353a79 100644 --- a/backend/plugins/bamboo/api/connection_api.go +++ b/backend/plugins/bamboo/api/connection_api.go @@ -21,11 +21,11 @@ import ( "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 f83ce6ecbf6..cc1c7a78dd4 100644 --- a/backend/plugins/bamboo/api/init.go +++ b/backend/plugins/bamboo/api/init.go @@ -18,10 +18,10 @@ limitations under the License. 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 e75d0ad51b9..49e270a7d74 100644 --- a/backend/plugins/bamboo/api/remote_api.go +++ b/backend/plugins/bamboo/api/remote_api.go @@ -21,11 +21,11 @@ import ( "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 0e4c7961ca6..07ccb69471e 100644 --- a/backend/plugins/bamboo/api/scope_api.go +++ b/backend/plugins/bamboo/api/scope_api.go @@ -18,10 +18,10 @@ limitations under the License. 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 c74ac3a3f98..b4c8d9ae75c 100644 --- a/backend/plugins/bamboo/api/scope_config_api.go +++ b/backend/plugins/bamboo/api/scope_config_api.go @@ -18,8 +18,8 @@ limitations under the License. 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 f315b592cdc..1482a0a7038 100644 --- a/backend/plugins/bamboo/api/scope_state_api.go +++ b/backend/plugins/bamboo/api/scope_state_api.go @@ -18,8 +18,8 @@ limitations under the License. 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 625ea5484af..3e97eb53b90 100644 --- a/backend/plugins/bamboo/bamboo.go +++ b/backend/plugins/bamboo/bamboo.go @@ -18,8 +18,8 @@ limitations under the License. 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 380d4e26e24..5c34d0f9239 100644 --- a/backend/plugins/bamboo/e2e/deploy_build_test.go +++ b/backend/plugins/bamboo/e2e/deploy_build_test.go @@ -21,13 +21,13 @@ import ( "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 49e1ae304d5..2f9a9ee9e72 100644 --- a/backend/plugins/bamboo/e2e/deploy_test.go +++ b/backend/plugins/bamboo/e2e/deploy_test.go @@ -20,10 +20,10 @@ package e2e 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 7ed7709bc45..50a43a3b02f 100644 --- a/backend/plugins/bamboo/e2e/job_build_test.go +++ b/backend/plugins/bamboo/e2e/job_build_test.go @@ -20,13 +20,13 @@ package e2e 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 8d3a29b0b07..813f0769b81 100644 --- a/backend/plugins/bamboo/e2e/job_test.go +++ b/backend/plugins/bamboo/e2e/job_test.go @@ -20,10 +20,10 @@ package e2e 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 edbe7f05c54..66660031b8f 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 @@ package e2e 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 67584f8f166..e6fbaea2ee1 100644 --- a/backend/plugins/bamboo/e2e/plan_build_test.go +++ b/backend/plugins/bamboo/e2e/plan_build_test.go @@ -20,13 +20,13 @@ package e2e 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 dd56670a65f..67e58d89758 100644 --- a/backend/plugins/bamboo/e2e/plan_test.go +++ b/backend/plugins/bamboo/e2e/plan_test.go @@ -20,12 +20,12 @@ package e2e 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 96999a74244..91b9a3ff3da 100644 --- a/backend/plugins/bamboo/impl/impl.go +++ b/backend/plugins/bamboo/impl/impl.go @@ -20,17 +20,17 @@ package impl 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 @@ func (p Bamboo) PrepareTaskData(taskCtx plugin.TaskContext, options map[string]i // 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 ca322b316fc..bc1cdbc4d16 100644 --- a/backend/plugins/bamboo/models/connection.go +++ b/backend/plugins/bamboo/models/connection.go @@ -22,10 +22,10 @@ import ( "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 93d2f7bbb1b..c8d4bea3b42 100644 --- a/backend/plugins/bamboo/models/deploy.go +++ b/backend/plugins/bamboo/models/deploy.go @@ -17,7 +17,7 @@ limitations under the License. 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 06a91440a5f..1c7d30a1b8a 100644 --- a/backend/plugins/bamboo/models/deploy_build.go +++ b/backend/plugins/bamboo/models/deploy_build.go @@ -20,7 +20,7 @@ package models 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 f32ac0aca0a..61ecbb4a786 100644 --- a/backend/plugins/bamboo/models/job.go +++ b/backend/plugins/bamboo/models/job.go @@ -18,7 +18,7 @@ limitations under the License. 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 9658bb277fe..4aef1c695c2 100644 --- a/backend/plugins/bamboo/models/job_build.go +++ b/backend/plugins/bamboo/models/job_build.go @@ -20,7 +20,7 @@ package models 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 cf6c1485e49..c175e5d21fa 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 @@ limitations under the License. package migrationscripts import ( - "github.com/apache/incubator-devlake/core/context" - "github.com/apache/incubator-devlake/core/errors" - "github.com/apache/incubator-devlake/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 95d637750b3..c59c7e6550d 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 @@ limitations under the License. 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 e3a71a94241..37cb152f4af 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 @@ limitations under the License. package migrationscripts import ( - "github.com/apache/incubator-devlake/core/context" - "github.com/apache/incubator-devlake/core/errors" - "github.com/apache/incubator-devlake/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 847a5a0fd6c..73bdacc4862 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 @@ limitations under the License. package migrationscripts import ( - "github.com/apache/incubator-devlake/core/context" - "github.com/apache/incubator-devlake/core/errors" - "github.com/apache/incubator-devlake/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 7671bdedcc1..157fbf4e86f 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 @@ 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 = (*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 dfe34a92a17..332bdf736fc 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 @@ limitations under the License. package migrationscripts import ( - "github.com/apache/incubator-devlake/core/context" - "github.com/apache/incubator-devlake/core/errors" - "github.com/apache/incubator-devlake/core/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 c7fd4b5313b..d702cc56925 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 @@ limitations under the License. package migrationscripts import ( - "github.com/apache/incubator-devlake/core/context" - "github.com/apache/incubator-devlake/core/errors" - "github.com/apache/incubator-devlake/core/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 545c39dd9fc..68fd5de4464 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 @@ limitations under the License. package migrationscripts import ( - "github.com/apache/incubator-devlake/core/context" - "github.com/apache/incubator-devlake/core/errors" - "github.com/apache/incubator-devlake/core/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 627af88932e..8dc6dcc23a5 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 @@ limitations under the License. package migrationscripts import ( - "github.com/apache/incubator-devlake/core/context" - "github.com/apache/incubator-devlake/core/errors" - "github.com/apache/incubator-devlake/core/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 8c48bcf5e1b..c1662faf3f6 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 @@ limitations under the License. package migrationscripts import ( - "github.com/apache/incubator-devlake/core/context" - "github.com/apache/incubator-devlake/core/errors" - "github.com/apache/incubator-devlake/core/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 20374bac654..78b77145522 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 @@ limitations under the License. package migrationscripts import ( - "github.com/apache/incubator-devlake/core/context" - "github.com/apache/incubator-devlake/core/errors" - "github.com/apache/incubator-devlake/core/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 25d5819995a..11743dc728b 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 @@ limitations under the License. package migrationscripts import ( - "github.com/apache/incubator-devlake/core/context" - "github.com/apache/incubator-devlake/core/errors" - "github.com/apache/incubator-devlake/core/models/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 3a6d1b070ed..393083bf8c8 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 @@ limitations under the License. package migrationscripts import ( - "github.com/apache/incubator-devlake/core/context" - "github.com/apache/incubator-devlake/core/errors" - "github.com/apache/incubator-devlake/core/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 0af6a91ee87..bd363ff897b 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 @@ limitations under the License. package migrationscripts import ( - "github.com/apache/incubator-devlake/core/context" - "github.com/apache/incubator-devlake/core/errors" - "github.com/apache/incubator-devlake/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 a8e7e1617f5..8171745b3d7 100644 --- a/backend/plugins/bamboo/models/migrationscripts/archived/deploy.go +++ b/backend/plugins/bamboo/models/migrationscripts/archived/deploy.go @@ -17,7 +17,7 @@ limitations under the License. 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 8b60cbb92fc..4e2a497b2d7 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 @@ package archived 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 82a2d422974..e0e56fade98 100644 --- a/backend/plugins/bamboo/models/migrationscripts/archived/job.go +++ b/backend/plugins/bamboo/models/migrationscripts/archived/job.go @@ -18,7 +18,7 @@ limitations under the License. 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 37a25295e77..364dd28f69c 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 @@ limitations under the License. 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 91b5b0c617c..8c24cdfe199 100644 --- a/backend/plugins/bamboo/models/migrationscripts/archived/plan.go +++ b/backend/plugins/bamboo/models/migrationscripts/archived/plan.go @@ -18,7 +18,7 @@ limitations under the License. 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 e4b293326d3..0db12346e67 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 @@ limitations under the License. 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 75cbdd01938..8f590b299b8 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 @@ limitations under the License. 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 c1d8f482aca..17ab28219c1 100644 --- a/backend/plugins/bamboo/models/migrationscripts/archived/project.go +++ b/backend/plugins/bamboo/models/migrationscripts/archived/project.go @@ -18,7 +18,7 @@ limitations under the License. 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 20fed3ed608..4acad96d634 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 @@ package archived 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 d7ef35c7e55..b16a567ef7e 100644 --- a/backend/plugins/bamboo/models/migrationscripts/register.go +++ b/backend/plugins/bamboo/models/migrationscripts/register.go @@ -18,7 +18,7 @@ limitations under the License. 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 386fbbbc433..c1fdacaa3e4 100644 --- a/backend/plugins/bamboo/models/plan.go +++ b/backend/plugins/bamboo/models/plan.go @@ -20,8 +20,8 @@ package models 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 4b0351ecc79..06abc9038c7 100644 --- a/backend/plugins/bamboo/models/plan_build.go +++ b/backend/plugins/bamboo/models/plan_build.go @@ -21,7 +21,7 @@ import ( "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 f1c99ab5a21..bc51c74fca2 100644 --- a/backend/plugins/bamboo/models/plan_build_commit.go +++ b/backend/plugins/bamboo/models/plan_build_commit.go @@ -18,7 +18,7 @@ limitations under the License. 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 587ba991e4d..f1d6419eb4e 100644 --- a/backend/plugins/bamboo/models/scope_config.go +++ b/backend/plugins/bamboo/models/scope_config.go @@ -18,7 +18,7 @@ limitations under the License. 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 6efbb21a5bc..da70d736a39 100644 --- a/backend/plugins/bamboo/tasks/api_client.go +++ b/backend/plugins/bamboo/tasks/api_client.go @@ -22,10 +22,10 @@ import ( "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 2e73d41a8c2..3d6b0ef8a8e 100644 --- a/backend/plugins/bamboo/tasks/deploy_build_collector.go +++ b/backend/plugins/bamboo/tasks/deploy_build_collector.go @@ -24,11 +24,11 @@ import ( "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 b5b5798e109..719511cdc6d 100644 --- a/backend/plugins/bamboo/tasks/deploy_build_extractor.go +++ b/backend/plugins/bamboo/tasks/deploy_build_extractor.go @@ -20,10 +20,10 @@ package tasks 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 9dc4600efb0..56a60f7e071 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 @@ import ( "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 badf42a530c..f585a07233e 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 @@ import ( "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 697d458fb23..7411f67f13b 100644 --- a/backend/plugins/bamboo/tasks/deploy_collector.go +++ b/backend/plugins/bamboo/tasks/deploy_collector.go @@ -20,9 +20,9 @@ package tasks 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 fef9787f519..bbd13c4da00 100644 --- a/backend/plugins/bamboo/tasks/deploy_extractor.go +++ b/backend/plugins/bamboo/tasks/deploy_extractor.go @@ -20,10 +20,10 @@ package tasks 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 48ea6269172..6cb5c1f1b7f 100644 --- a/backend/plugins/bamboo/tasks/job_build_collector.go +++ b/backend/plugins/bamboo/tasks/job_build_collector.go @@ -20,11 +20,11 @@ package tasks 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 59cec9affe0..b810bc07d25 100644 --- a/backend/plugins/bamboo/tasks/job_build_convertor.go +++ b/backend/plugins/bamboo/tasks/job_build_convertor.go @@ -21,14 +21,14 @@ import ( "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 2077aa46749..96d7e8bd09f 100644 --- a/backend/plugins/bamboo/tasks/job_build_extractor.go +++ b/backend/plugins/bamboo/tasks/job_build_extractor.go @@ -21,11 +21,11 @@ import ( "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 889879102ea..6f51980fb89 100644 --- a/backend/plugins/bamboo/tasks/job_collector.go +++ b/backend/plugins/bamboo/tasks/job_collector.go @@ -20,10 +20,10 @@ package tasks 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 35929b9673d..27be7efedcc 100644 --- a/backend/plugins/bamboo/tasks/job_extractor.go +++ b/backend/plugins/bamboo/tasks/job_extractor.go @@ -20,10 +20,10 @@ package tasks 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 2dfa478963e..10ce527cee0 100644 --- a/backend/plugins/bamboo/tasks/plan_build_collector.go +++ b/backend/plugins/bamboo/tasks/plan_build_collector.go @@ -20,9 +20,9 @@ package tasks 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 c86e8ae5381..9c4db722069 100644 --- a/backend/plugins/bamboo/tasks/plan_build_convertor.go +++ b/backend/plugins/bamboo/tasks/plan_build_convertor.go @@ -21,14 +21,14 @@ import ( "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 c5ef6d50c12..28e1f389bb5 100644 --- a/backend/plugins/bamboo/tasks/plan_build_extractor.go +++ b/backend/plugins/bamboo/tasks/plan_build_extractor.go @@ -20,11 +20,11 @@ package tasks 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 13104d89cd6..d3c0a8432de 100644 --- a/backend/plugins/bamboo/tasks/plan_commit_convertor.go +++ b/backend/plugins/bamboo/tasks/plan_commit_convertor.go @@ -20,14 +20,14 @@ package tasks 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 ba04a8ce785..20f4cf1869b 100644 --- a/backend/plugins/bamboo/tasks/plan_convertor.go +++ b/backend/plugins/bamboo/tasks/plan_convertor.go @@ -18,14 +18,14 @@ limitations under the License. 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 fc715aa114f..17e8a85803f 100644 --- a/backend/plugins/bamboo/tasks/shared.go +++ b/backend/plugins/bamboo/tasks/shared.go @@ -24,10 +24,10 @@ import ( "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 c5427ac1a7c..d4eaa8969a7 100644 --- a/backend/plugins/bamboo/tasks/task_data.go +++ b/backend/plugins/bamboo/tasks/task_data.go @@ -18,9 +18,9 @@ limitations under the License. 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 2ee774457f2..ff20885143b 100644 --- a/backend/plugins/bitbucket/api/blueprint_v200.go +++ b/backend/plugins/bitbucket/api/blueprint_v200.go @@ -21,19 +21,19 @@ import ( "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 cd46decc2c3..385a5d3abd3 100644 --- a/backend/plugins/bitbucket/api/blueprint_v200_test.go +++ b/backend/plugins/bitbucket/api/blueprint_v200_test.go @@ -20,19 +20,19 @@ package api 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 41978143b64..259f1f1456c 100644 --- a/backend/plugins/bitbucket/api/connection_api.go +++ b/backend/plugins/bitbucket/api/connection_api.go @@ -21,12 +21,12 @@ import ( "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 3adaf640a3c..2ca01dacbad 100644 --- a/backend/plugins/bitbucket/api/connection_api_test.go +++ b/backend/plugins/bitbucket/api/connection_api_test.go @@ -21,9 +21,9 @@ import ( "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 5e0dcb98c8c..54c18b920c0 100644 --- a/backend/plugins/bitbucket/api/init.go +++ b/backend/plugins/bitbucket/api/init.go @@ -18,10 +18,10 @@ limitations under the License. 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 36fa45a0de8..3d6cdc360b6 100644 --- a/backend/plugins/bitbucket/api/remote_api.go +++ b/backend/plugins/bitbucket/api/remote_api.go @@ -23,11 +23,11 @@ import ( "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 26bdbc4a2a4..557f3b4ac9c 100644 --- a/backend/plugins/bitbucket/api/remote_api_test.go +++ b/backend/plugins/bitbucket/api/remote_api_test.go @@ -26,8 +26,8 @@ import ( "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 92ce512ee70..94bc2b34d58 100644 --- a/backend/plugins/bitbucket/api/scope_api.go +++ b/backend/plugins/bitbucket/api/scope_api.go @@ -20,10 +20,10 @@ package api 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 1e737951eef..f657e4e07dc 100644 --- a/backend/plugins/bitbucket/api/scope_config_api.go +++ b/backend/plugins/bitbucket/api/scope_config_api.go @@ -18,8 +18,8 @@ limitations under the License. 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 0b7e998ddb7..d909e1a1d2c 100644 --- a/backend/plugins/bitbucket/api/scope_duplicates_api.go +++ b/backend/plugins/bitbucket/api/scope_duplicates_api.go @@ -22,9 +22,9 @@ import ( "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 13a31b493fa..1577ac4dfbb 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 @@ import ( "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 2fb47630b6e..74a0701bc06 100644 --- a/backend/plugins/bitbucket/api/scope_state_api.go +++ b/backend/plugins/bitbucket/api/scope_state_api.go @@ -18,8 +18,8 @@ limitations under the License. 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 c578cd3d13c..03fff26f575 100644 --- a/backend/plugins/bitbucket/bitbucket.go +++ b/backend/plugins/bitbucket/bitbucket.go @@ -18,8 +18,8 @@ limitations under the License. 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 8e7a9f71f22..d546c63626b 100644 --- a/backend/plugins/bitbucket/e2e/account_test.go +++ b/backend/plugins/bitbucket/e2e/account_test.go @@ -18,12 +18,12 @@ limitations under the License. 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 b282de5e542..79e44df0e4a 100644 --- a/backend/plugins/bitbucket/e2e/comment_test.go +++ b/backend/plugins/bitbucket/e2e/comment_test.go @@ -20,12 +20,12 @@ package e2e 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 8d68a0dff25..ae8699ce587 100644 --- a/backend/plugins/bitbucket/e2e/deployments_test.go +++ b/backend/plugins/bitbucket/e2e/deployments_test.go @@ -20,12 +20,12 @@ package e2e 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 2013e62860c..ea4fb6087fd 100644 --- a/backend/plugins/bitbucket/e2e/issue_test.go +++ b/backend/plugins/bitbucket/e2e/issue_test.go @@ -20,12 +20,12 @@ package e2e 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 85fa31db898..0880fd67ba2 100644 --- a/backend/plugins/bitbucket/e2e/pipeline_steps_test.go +++ b/backend/plugins/bitbucket/e2e/pipeline_steps_test.go @@ -20,12 +20,12 @@ package e2e 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 8cffa56338f..91cd3e4a56e 100644 --- a/backend/plugins/bitbucket/e2e/pipelines_test.go +++ b/backend/plugins/bitbucket/e2e/pipelines_test.go @@ -20,13 +20,13 @@ package e2e 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 8ab43f70e65..507503983c0 100644 --- a/backend/plugins/bitbucket/e2e/pr_commit_test.go +++ b/backend/plugins/bitbucket/e2e/pr_commit_test.go @@ -18,12 +18,12 @@ limitations under the License. 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 5c250f0a418..f84cdcd7e25 100644 --- a/backend/plugins/bitbucket/e2e/pr_test.go +++ b/backend/plugins/bitbucket/e2e/pr_test.go @@ -20,11 +20,11 @@ package e2e 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 abc764650df..8c286aa4818 100644 --- a/backend/plugins/bitbucket/e2e/repo_test.go +++ b/backend/plugins/bitbucket/e2e/repo_test.go @@ -21,15 +21,15 @@ import ( "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 051e9b78385..77cb9552385 100644 --- a/backend/plugins/bitbucket/impl/impl.go +++ b/backend/plugins/bitbucket/impl/impl.go @@ -20,17 +20,17 @@ package impl 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) PrepareTaskData(taskCtx plugin.TaskContext, options map[strin } 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 e4911ee98f7..7bd00945452 100644 --- a/backend/plugins/bitbucket/models/account.go +++ b/backend/plugins/bitbucket/models/account.go @@ -18,7 +18,7 @@ limitations under the License. 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 abcc4f86c9c..b3e7de070cc 100644 --- a/backend/plugins/bitbucket/models/commit.go +++ b/backend/plugins/bitbucket/models/commit.go @@ -18,7 +18,7 @@ limitations under the License. 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 3396abe1e8b..762225c33cf 100644 --- a/backend/plugins/bitbucket/models/connection.go +++ b/backend/plugins/bitbucket/models/connection.go @@ -20,9 +20,9 @@ package models 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 e11f238a78d..17d40f238f6 100644 --- a/backend/plugins/bitbucket/models/connection_test.go +++ b/backend/plugins/bitbucket/models/connection_test.go @@ -21,7 +21,7 @@ import ( "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 6eb0425b262..bf884d694a8 100644 --- a/backend/plugins/bitbucket/models/deployment.go +++ b/backend/plugins/bitbucket/models/deployment.go @@ -18,7 +18,7 @@ limitations under the License. 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 c24fbf1e89e..6613c4b790d 100644 --- a/backend/plugins/bitbucket/models/issue.go +++ b/backend/plugins/bitbucket/models/issue.go @@ -20,7 +20,7 @@ package models 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 4cae0e2f8d7..a51e3e1482c 100644 --- a/backend/plugins/bitbucket/models/issue_comment.go +++ b/backend/plugins/bitbucket/models/issue_comment.go @@ -18,7 +18,7 @@ limitations under the License. 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 63fe5696bf9..980f3427a02 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 @@ limitations under the License. package migrationscripts import ( - "github.com/apache/incubator-devlake/core/context" - "github.com/apache/incubator-devlake/core/errors" - "github.com/apache/incubator-devlake/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 fddfa756861..8e8ffab6f9d 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 @@ limitations under the License. package migrationscripts import ( - "github.com/apache/incubator-devlake/core/context" - "github.com/apache/incubator-devlake/core/errors" - "github.com/apache/incubator-devlake/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 a71c9380460..70af1097596 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 @@ limitations under the License. package migrationscripts import ( - "github.com/apache/incubator-devlake/core/context" - "github.com/apache/incubator-devlake/core/errors" - "github.com/apache/incubator-devlake/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 d06e8bcf6d5..410ac5183cc 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 @@ limitations under the License. package migrationscripts import ( - "github.com/apache/incubator-devlake/core/context" - "github.com/apache/incubator-devlake/core/errors" - "github.com/apache/incubator-devlake/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 848e758feda..e4f7de6aaca 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 @@ limitations under the License. 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 3a94a9b3db1..180c0c13fcd 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 @@ limitations under the License. package migrationscripts import ( - "github.com/apache/incubator-devlake/core/context" - "github.com/apache/incubator-devlake/core/errors" - "github.com/apache/incubator-devlake/core/models/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 43bb4af3950..68ec5f83674 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 @@ limitations under the License. package migrationscripts import ( - "github.com/apache/incubator-devlake/core/context" - "github.com/apache/incubator-devlake/core/errors" - "github.com/apache/incubator-devlake/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 d418c800dff..5e02e3f42f5 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 @@ limitations under the License. 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 3465df29d7f..b8892cb5752 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 @@ limitations under the License. package migrationscripts import ( - "github.com/apache/incubator-devlake/core/context" - "github.com/apache/incubator-devlake/core/errors" - "github.com/apache/incubator-devlake/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 6cf78f74671..4593dd8866c 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 @@ limitations under the License. package migrationscripts import ( - "github.com/apache/incubator-devlake/core/context" - "github.com/apache/incubator-devlake/core/errors" - "github.com/apache/incubator-devlake/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 0bf034a4c09..5b70afecc9a 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 @@ package migrationscripts 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 de01ddb0021..e92a4b7110a 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 @@ package migrationscripts 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 6b4e6112d9e..b27e45e4be1 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 @@ limitations under the License. package migrationscripts import ( - "github.com/apache/incubator-devlake/core/context" - "github.com/apache/incubator-devlake/core/errors" - "github.com/apache/incubator-devlake/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 95a84b542f8..aa6513a7146 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 @@ 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 = (*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 e6447b66802..57c8c208d10 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 @@ limitations under the License. package migrationscripts import ( - "github.com/apache/incubator-devlake/core/context" - "github.com/apache/incubator-devlake/core/errors" - "github.com/apache/incubator-devlake/core/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 14db9ac10e3..93e6f22c69f 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 @@ limitations under the License. package migrationscripts import ( - "github.com/apache/incubator-devlake/core/context" - "github.com/apache/incubator-devlake/core/errors" - "github.com/apache/incubator-devlake/core/models/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 caeb9485590..dd5f2f9d44c 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 @@ limitations under the License. package migrationscripts import ( - "github.com/apache/incubator-devlake/core/context" - "github.com/apache/incubator-devlake/core/errors" - "github.com/apache/incubator-devlake/core/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 902fa085095..730f6f967f5 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 @@ limitations under the License. package migrationscripts import ( - "github.com/apache/incubator-devlake/core/context" - "github.com/apache/incubator-devlake/core/errors" - "github.com/apache/incubator-devlake/core/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 9f746d7ae54..89154f7840a 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 @@ limitations under the License. package migrationscripts import ( - "github.com/apache/incubator-devlake/core/context" - "github.com/apache/incubator-devlake/core/errors" - "github.com/apache/incubator-devlake/core/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 c5da61075be..0720031e0a0 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 @@ package migrationscripts 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 937e1a7bcaf..60c09e37abc 100644 --- a/backend/plugins/bitbucket/models/migrationscripts/archived/account.go +++ b/backend/plugins/bitbucket/models/migrationscripts/archived/account.go @@ -18,7 +18,7 @@ limitations under the License. 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 8508683c649..59a675f19b4 100644 --- a/backend/plugins/bitbucket/models/migrationscripts/archived/commit.go +++ b/backend/plugins/bitbucket/models/migrationscripts/archived/commit.go @@ -18,7 +18,7 @@ limitations under the License. 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 ce493b359a7..eca1fdf885a 100644 --- a/backend/plugins/bitbucket/models/migrationscripts/archived/connection.go +++ b/backend/plugins/bitbucket/models/migrationscripts/archived/connection.go @@ -20,7 +20,7 @@ package archived 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 a2fb1c41bb7..11134d639ab 100644 --- a/backend/plugins/bitbucket/models/migrationscripts/archived/deployment.go +++ b/backend/plugins/bitbucket/models/migrationscripts/archived/deployment.go @@ -18,7 +18,7 @@ limitations under the License. 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 0e8da5f2b2c..fa29b855a34 100644 --- a/backend/plugins/bitbucket/models/migrationscripts/archived/issue.go +++ b/backend/plugins/bitbucket/models/migrationscripts/archived/issue.go @@ -18,7 +18,7 @@ limitations under the License. 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 9de89b50ce3..b442395e2c0 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 @@ limitations under the License. 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 6e67b96bd76..5fd97b967d0 100644 --- a/backend/plugins/bitbucket/models/migrationscripts/archived/pipeline.go +++ b/backend/plugins/bitbucket/models/migrationscripts/archived/pipeline.go @@ -18,7 +18,7 @@ limitations under the License. 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 8fca5e2213a..33cb6822749 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 @@ package archived 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 d04d5ed5d8b..d530d6576e1 100644 --- a/backend/plugins/bitbucket/models/migrationscripts/archived/pr.go +++ b/backend/plugins/bitbucket/models/migrationscripts/archived/pr.go @@ -18,7 +18,7 @@ limitations under the License. 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 5966ad5d15f..901fa0135cf 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 @@ limitations under the License. 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 ba83cf33c47..d763e611630 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 @@ limitations under the License. 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 055acd745f8..7a954fa97fa 100644 --- a/backend/plugins/bitbucket/models/migrationscripts/archived/repo.go +++ b/backend/plugins/bitbucket/models/migrationscripts/archived/repo.go @@ -18,7 +18,7 @@ limitations under the License. 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 0274f11c816..ae6c6ff6c3e 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 @@ limitations under the License. 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 253281a57b0..00b1868d678 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 @@ package archived 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 e8a31d2c1c9..d8d71253ed5 100644 --- a/backend/plugins/bitbucket/models/migrationscripts/register.go +++ b/backend/plugins/bitbucket/models/migrationscripts/register.go @@ -18,7 +18,7 @@ limitations under the License. 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 57e40e3d894..bff76557510 100644 --- a/backend/plugins/bitbucket/models/pipeline.go +++ b/backend/plugins/bitbucket/models/pipeline.go @@ -20,7 +20,7 @@ package models 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 7a5d10e5b01..854717ec1af 100644 --- a/backend/plugins/bitbucket/models/pipeline_step.go +++ b/backend/plugins/bitbucket/models/pipeline_step.go @@ -20,7 +20,7 @@ package models 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 33ddc24ba89..2cfa418973d 100644 --- a/backend/plugins/bitbucket/models/pr.go +++ b/backend/plugins/bitbucket/models/pr.go @@ -20,7 +20,7 @@ package models 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 ce2b8372baa..df32a655526 100644 --- a/backend/plugins/bitbucket/models/pr_comment.go +++ b/backend/plugins/bitbucket/models/pr_comment.go @@ -20,7 +20,7 @@ package models 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 c14a779be62..8a0f992cb3e 100644 --- a/backend/plugins/bitbucket/models/pr_commit.go +++ b/backend/plugins/bitbucket/models/pr_commit.go @@ -18,7 +18,7 @@ limitations under the License. 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 43df5273981..5c24c4339cb 100644 --- a/backend/plugins/bitbucket/models/pr_reviewer.go +++ b/backend/plugins/bitbucket/models/pr_reviewer.go @@ -20,7 +20,7 @@ package models 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 126990a94ab..b169881444d 100644 --- a/backend/plugins/bitbucket/models/repo.go +++ b/backend/plugins/bitbucket/models/repo.go @@ -20,8 +20,8 @@ package models 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 f67a4cca544..c9dcd4ac8d2 100644 --- a/backend/plugins/bitbucket/models/repo_commit.go +++ b/backend/plugins/bitbucket/models/repo_commit.go @@ -18,7 +18,7 @@ limitations under the License. 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 207485a104b..703e9606bca 100644 --- a/backend/plugins/bitbucket/models/scope_config.go +++ b/backend/plugins/bitbucket/models/scope_config.go @@ -18,7 +18,7 @@ limitations under the License. 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 19f013f0e27..b38d9db8bb3 100644 --- a/backend/plugins/bitbucket/tasks/account_convertor.go +++ b/backend/plugins/bitbucket/tasks/account_convertor.go @@ -20,14 +20,14 @@ package tasks 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 49b85fbc2df..70c79562faf 100644 --- a/backend/plugins/bitbucket/tasks/account_extractor.go +++ b/backend/plugins/bitbucket/tasks/account_extractor.go @@ -18,8 +18,8 @@ limitations under the License. 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 bb95635329d..7cdb045e232 100644 --- a/backend/plugins/bitbucket/tasks/api_client.go +++ b/backend/plugins/bitbucket/tasks/api_client.go @@ -18,10 +18,10 @@ limitations under the License. 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 ad21c9b1e65..6081e9cb516 100644 --- a/backend/plugins/bitbucket/tasks/api_common.go +++ b/backend/plugins/bitbucket/tasks/api_common.go @@ -26,10 +26,10 @@ import ( "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 9d15e52e9c4..3fab29f98fd 100644 --- a/backend/plugins/bitbucket/tasks/api_common_test.go +++ b/backend/plugins/bitbucket/tasks/api_common_test.go @@ -21,7 +21,7 @@ import ( "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 83931db3827..c015b88efd5 100644 --- a/backend/plugins/bitbucket/tasks/commit_collector.go +++ b/backend/plugins/bitbucket/tasks/commit_collector.go @@ -18,9 +18,9 @@ limitations under the License. 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 16b2af11d64..25936c01f26 100644 --- a/backend/plugins/bitbucket/tasks/commit_convertor.go +++ b/backend/plugins/bitbucket/tasks/commit_convertor.go @@ -20,13 +20,13 @@ package tasks 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 0020be9d596..ce84012d51c 100644 --- a/backend/plugins/bitbucket/tasks/commit_extractor.go +++ b/backend/plugins/bitbucket/tasks/commit_extractor.go @@ -21,10 +21,10 @@ import ( "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 f48526d64c2..76e78198d49 100644 --- a/backend/plugins/bitbucket/tasks/deployment_collector.go +++ b/backend/plugins/bitbucket/tasks/deployment_collector.go @@ -18,9 +18,9 @@ limitations under the License. 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 8b2fbbcc30c..15892cd9bd1 100644 --- a/backend/plugins/bitbucket/tasks/deployment_convertor.go +++ b/backend/plugins/bitbucket/tasks/deployment_convertor.go @@ -22,14 +22,14 @@ import ( "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 f1705db5a36..ba400d9550c 100644 --- a/backend/plugins/bitbucket/tasks/deployment_extractor.go +++ b/backend/plugins/bitbucket/tasks/deployment_extractor.go @@ -21,10 +21,10 @@ import ( "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 19bf67ef077..638a54d549f 100644 --- a/backend/plugins/bitbucket/tasks/issue_collector.go +++ b/backend/plugins/bitbucket/tasks/issue_collector.go @@ -18,9 +18,9 @@ limitations under the License. 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 5b1ad5a9beb..b1649313512 100644 --- a/backend/plugins/bitbucket/tasks/issue_comment_collector.go +++ b/backend/plugins/bitbucket/tasks/issue_comment_collector.go @@ -18,9 +18,9 @@ limitations under the License. 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 4787dcae450..4deb2222099 100644 --- a/backend/plugins/bitbucket/tasks/issue_comment_convertor.go +++ b/backend/plugins/bitbucket/tasks/issue_comment_convertor.go @@ -20,14 +20,14 @@ package tasks 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 86eaf762027..b498ca23e7e 100644 --- a/backend/plugins/bitbucket/tasks/issue_comment_extractor.go +++ b/backend/plugins/bitbucket/tasks/issue_comment_extractor.go @@ -21,10 +21,10 @@ import ( "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 c5fb4f80135..b33a8ae6f80 100644 --- a/backend/plugins/bitbucket/tasks/issue_convertor.go +++ b/backend/plugins/bitbucket/tasks/issue_convertor.go @@ -21,14 +21,14 @@ import ( "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 ede3ad7300c..5019b0120aa 100644 --- a/backend/plugins/bitbucket/tasks/issue_extractor.go +++ b/backend/plugins/bitbucket/tasks/issue_extractor.go @@ -22,11 +22,11 @@ import ( "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 c19652e6588..e1792d75e1d 100644 --- a/backend/plugins/bitbucket/tasks/pipeline_collector.go +++ b/backend/plugins/bitbucket/tasks/pipeline_collector.go @@ -18,9 +18,9 @@ limitations under the License. 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 ea23fb23339..26c723db874 100644 --- a/backend/plugins/bitbucket/tasks/pipeline_convertor.go +++ b/backend/plugins/bitbucket/tasks/pipeline_convertor.go @@ -22,14 +22,14 @@ import ( "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 ec924db8d17..1c8b7cf23c8 100644 --- a/backend/plugins/bitbucket/tasks/pipeline_extractor.go +++ b/backend/plugins/bitbucket/tasks/pipeline_extractor.go @@ -20,12 +20,12 @@ package tasks 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 9fd99e1781f..94e8a4a4503 100644 --- a/backend/plugins/bitbucket/tasks/pipeline_steps_collector.go +++ b/backend/plugins/bitbucket/tasks/pipeline_steps_collector.go @@ -18,9 +18,9 @@ limitations under the License. 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 0a72041ba44..9c1fe16fe6d 100644 --- a/backend/plugins/bitbucket/tasks/pipeline_steps_convertor.go +++ b/backend/plugins/bitbucket/tasks/pipeline_steps_convertor.go @@ -21,14 +21,14 @@ import ( "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 82bd93bd465..0f84af7fa6e 100644 --- a/backend/plugins/bitbucket/tasks/pipeline_steps_extractor.go +++ b/backend/plugins/bitbucket/tasks/pipeline_steps_extractor.go @@ -21,11 +21,11 @@ import ( "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 4db0dd08fae..4fa1ddc70ed 100644 --- a/backend/plugins/bitbucket/tasks/pr_collector.go +++ b/backend/plugins/bitbucket/tasks/pr_collector.go @@ -18,9 +18,9 @@ limitations under the License. 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 30e856cd105..ce2095495dc 100644 --- a/backend/plugins/bitbucket/tasks/pr_comment_collector.go +++ b/backend/plugins/bitbucket/tasks/pr_comment_collector.go @@ -18,9 +18,9 @@ limitations under the License. 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 d841dd790f4..72ea5b8d65b 100644 --- a/backend/plugins/bitbucket/tasks/pr_comment_convertor.go +++ b/backend/plugins/bitbucket/tasks/pr_comment_convertor.go @@ -20,14 +20,14 @@ package tasks 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 f685897bced..f9159c904c8 100644 --- a/backend/plugins/bitbucket/tasks/pr_comment_extractor.go +++ b/backend/plugins/bitbucket/tasks/pr_comment_extractor.go @@ -21,10 +21,10 @@ import ( "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 5260ee63056..d4315d24961 100644 --- a/backend/plugins/bitbucket/tasks/pr_commit_collector.go +++ b/backend/plugins/bitbucket/tasks/pr_commit_collector.go @@ -21,9 +21,9 @@ import ( "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 04abeb14e26..84d72a5548b 100644 --- a/backend/plugins/bitbucket/tasks/pr_commit_convertor.go +++ b/backend/plugins/bitbucket/tasks/pr_commit_convertor.go @@ -20,14 +20,14 @@ package tasks 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 7862ca505bf..65e5afa4577 100644 --- a/backend/plugins/bitbucket/tasks/pr_commit_extractor.go +++ b/backend/plugins/bitbucket/tasks/pr_commit_extractor.go @@ -22,11 +22,11 @@ import ( "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 4a54008f075..c426a27ce6e 100644 --- a/backend/plugins/bitbucket/tasks/pr_convertor.go +++ b/backend/plugins/bitbucket/tasks/pr_convertor.go @@ -20,14 +20,14 @@ package tasks 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 a551927b7db..4bb57977cd9 100644 --- a/backend/plugins/bitbucket/tasks/pr_extractor.go +++ b/backend/plugins/bitbucket/tasks/pr_extractor.go @@ -20,11 +20,11 @@ package tasks 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 c6de00e92a8..f67fabdc26d 100644 --- a/backend/plugins/bitbucket/tasks/pr_reviewer_convertor.go +++ b/backend/plugins/bitbucket/tasks/pr_reviewer_convertor.go @@ -20,13 +20,13 @@ package tasks 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 798d6b252f6..36363cbc968 100644 --- a/backend/plugins/bitbucket/tasks/repo_convertor.go +++ b/backend/plugins/bitbucket/tasks/repo_convertor.go @@ -25,16 +25,16 @@ import ( "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 235b05080fb..837ef2d4b09 100644 --- a/backend/plugins/bitbucket/tasks/task_data.go +++ b/backend/plugins/bitbucket/tasks/task_data.go @@ -18,9 +18,9 @@ limitations under the License. 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 0b0ae74c641..fa46e98d288 100644 --- a/backend/plugins/bitbucket_server/api/blueprint_v200.go +++ b/backend/plugins/bitbucket_server/api/blueprint_v200.go @@ -21,19 +21,19 @@ import ( "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 a8043f9c369..8efa869edfd 100644 --- a/backend/plugins/bitbucket_server/api/connection.go +++ b/backend/plugins/bitbucket_server/api/connection.go @@ -21,12 +21,12 @@ import ( "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 cf04eb1691b..339bf251766 100644 --- a/backend/plugins/bitbucket_server/api/init.go +++ b/backend/plugins/bitbucket_server/api/init.go @@ -18,10 +18,10 @@ limitations under the License. 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 75430908605..4bc81363392 100644 --- a/backend/plugins/bitbucket_server/api/remote_api.go +++ b/backend/plugins/bitbucket_server/api/remote_api.go @@ -21,11 +21,11 @@ import ( "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 442566d765e..e4d795a9f58 100644 --- a/backend/plugins/bitbucket_server/api/scope_api.go +++ b/backend/plugins/bitbucket_server/api/scope_api.go @@ -20,10 +20,10 @@ package api 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 3e0a3d3478c..57b766f014b 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 @@ package api 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 85735cbc3ab..a2222391d1d 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 @@ limitations under the License. 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 31365394d3d..222a3e6df0a 100644 --- a/backend/plugins/bitbucket_server/bitbucket_server.go +++ b/backend/plugins/bitbucket_server/bitbucket_server.go @@ -18,8 +18,8 @@ limitations under the License. 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 ae60abb9161..19d6bf328cc 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 @@ package e2e 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 17852d04304..6c63f99957c 100644 --- a/backend/plugins/bitbucket_server/e2e/pr_test.go +++ b/backend/plugins/bitbucket_server/e2e/pr_test.go @@ -20,11 +20,11 @@ package e2e 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 bc2366d18ac..007df949d36 100644 --- a/backend/plugins/bitbucket_server/impl/impl.go +++ b/backend/plugins/bitbucket_server/impl/impl.go @@ -20,16 +20,16 @@ package impl 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) PrepareTaskData(taskCtx plugin.TaskContext, options map } 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 b2122bfd910..e33af01c579 100644 --- a/backend/plugins/bitbucket_server/models/connection.go +++ b/backend/plugins/bitbucket_server/models/connection.go @@ -18,8 +18,8 @@ limitations under the License. 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 5f45ff5b4d9..3dab329e5ac 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 @@ limitations under the License. package migrationscripts import ( - "github.com/apache/incubator-devlake/core/context" - "github.com/apache/incubator-devlake/core/errors" - "github.com/apache/incubator-devlake/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 8fe9003e2e2..567f12d83f0 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 @@ limitations under the License. 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 fbdf14c172b..2eaf77a9040 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 @@ package archived 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 8d661b3381c..3f5a28afd26 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 @@ package archived 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 c6cff848170..7dd8f496afb 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 @@ package archived 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 aa6e499b0e1..7f39ef17e5a 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 @@ package archived 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 fd5e85224c9..a065ea24ec0 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 @@ limitations under the License. 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 df79274ab95..3a3373e315e 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 @@ limitations under the License. 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 7d35801d87f..1f453c90d91 100644 --- a/backend/plugins/bitbucket_server/models/migrationscripts/register.go +++ b/backend/plugins/bitbucket_server/models/migrationscripts/register.go @@ -18,7 +18,7 @@ limitations under the License. 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 1173fa5f474..2cbe3dc4675 100644 --- a/backend/plugins/bitbucket_server/models/pr.go +++ b/backend/plugins/bitbucket_server/models/pr.go @@ -20,7 +20,7 @@ package models 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 93fb5c3d629..8aa60412e05 100644 --- a/backend/plugins/bitbucket_server/models/pr_comment.go +++ b/backend/plugins/bitbucket_server/models/pr_comment.go @@ -20,7 +20,7 @@ package models 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 c5952d15933..4c9b0b90c8e 100644 --- a/backend/plugins/bitbucket_server/models/pr_commit.go +++ b/backend/plugins/bitbucket_server/models/pr_commit.go @@ -20,7 +20,7 @@ package models 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 0c12cbe0f9c..a92e06eb9fd 100644 --- a/backend/plugins/bitbucket_server/models/repo.go +++ b/backend/plugins/bitbucket_server/models/repo.go @@ -21,8 +21,8 @@ import ( "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 769c8272073..4090e352159 100644 --- a/backend/plugins/bitbucket_server/models/scope_config.go +++ b/backend/plugins/bitbucket_server/models/scope_config.go @@ -18,7 +18,7 @@ limitations under the License. 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 03f078e2714..1e6e05df3d1 100644 --- a/backend/plugins/bitbucket_server/models/user.go +++ b/backend/plugins/bitbucket_server/models/user.go @@ -18,7 +18,7 @@ limitations under the License. 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 8a1dac5b333..bc99bf841c5 100644 --- a/backend/plugins/bitbucket_server/tasks/api_client.go +++ b/backend/plugins/bitbucket_server/tasks/api_client.go @@ -18,10 +18,10 @@ limitations under the License. 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 0b2ad1f6832..65507170e2d 100644 --- a/backend/plugins/bitbucket_server/tasks/api_common.go +++ b/backend/plugins/bitbucket_server/tasks/api_common.go @@ -26,10 +26,10 @@ import ( "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 41caa26d34d..dbfc4f698f5 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 @@ limitations under the License. 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 49fec7b0d71..6b8c5c7d9ed 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 @@ import ( "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 d9444258865..45e6b63b2c4 100644 --- a/backend/plugins/bitbucket_server/tasks/pr_collector.go +++ b/backend/plugins/bitbucket_server/tasks/pr_collector.go @@ -18,9 +18,9 @@ limitations under the License. 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 785a7b95dcb..4bc65f38272 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 @@ package tasks 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 dabf58823f9..f138806d25c 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 @@ limitations under the License. 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 995a80284f7..a2abc02500e 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 @@ package tasks 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 e4e2e306367..33f21afcfde 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 @@ import ( "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 f285c254e93..9d8daa499dc 100644 --- a/backend/plugins/bitbucket_server/tasks/pr_convertor.go +++ b/backend/plugins/bitbucket_server/tasks/pr_convertor.go @@ -20,14 +20,14 @@ package tasks 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 28fd893f900..1a2275371a7 100644 --- a/backend/plugins/bitbucket_server/tasks/pr_extractor.go +++ b/backend/plugins/bitbucket_server/tasks/pr_extractor.go @@ -22,12 +22,12 @@ import ( "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 db98eb6066a..b357a8271f1 100644 --- a/backend/plugins/bitbucket_server/tasks/repo_convertor.go +++ b/backend/plugins/bitbucket_server/tasks/repo_convertor.go @@ -25,16 +25,16 @@ import ( "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 dd2571e79b6..ff93b095a61 100644 --- a/backend/plugins/bitbucket_server/tasks/task_data.go +++ b/backend/plugins/bitbucket_server/tasks/task_data.go @@ -20,9 +20,9 @@ package tasks 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 ccbfc1a48fa..b0d9b4dc069 100644 --- a/backend/plugins/bitbucket_server/tasks/user_convertor.go +++ b/backend/plugins/bitbucket_server/tasks/user_convertor.go @@ -20,14 +20,14 @@ package tasks 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 995f8fe1846..85495a03684 100644 --- a/backend/plugins/bitbucket_server/tasks/user_extractor.go +++ b/backend/plugins/bitbucket_server/tasks/user_extractor.go @@ -18,8 +18,8 @@ limitations under the License. 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 c2b9e6618e7..f10c70e8400 100644 --- a/backend/plugins/circleci/api/blueprint_v200.go +++ b/backend/plugins/circleci/api/blueprint_v200.go @@ -18,17 +18,17 @@ limitations under the License. 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 37f8389ee43..719062773cf 100644 --- a/backend/plugins/circleci/api/connection_api.go +++ b/backend/plugins/circleci/api/connection_api.go @@ -22,11 +22,11 @@ import ( "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 ef7f30af6e9..34a6e187dc1 100644 --- a/backend/plugins/circleci/api/init.go +++ b/backend/plugins/circleci/api/init.go @@ -18,11 +18,11 @@ limitations under the License. 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 d4358445e3f..53b00fcef6b 100644 --- a/backend/plugins/circleci/api/remote_api.go +++ b/backend/plugins/circleci/api/remote_api.go @@ -20,12 +20,12 @@ package api 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 fb8510bfc6c..30980b761f2 100644 --- a/backend/plugins/circleci/api/scope_api.go +++ b/backend/plugins/circleci/api/scope_api.go @@ -18,10 +18,10 @@ limitations under the License. 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 5daa5ba44ba..9c19bd0416e 100644 --- a/backend/plugins/circleci/api/scope_config_api.go +++ b/backend/plugins/circleci/api/scope_config_api.go @@ -18,8 +18,8 @@ limitations under the License. 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 61485e449bd..a226575844c 100644 --- a/backend/plugins/circleci/api/scope_state_api.go +++ b/backend/plugins/circleci/api/scope_state_api.go @@ -18,8 +18,8 @@ limitations under the License. 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 cf63d5a3052..9a7c73e9805 100644 --- a/backend/plugins/circleci/circleci.go +++ b/backend/plugins/circleci/circleci.go @@ -18,8 +18,8 @@ limitations under the License. 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 85de8a7ba33..90631659e4c 100644 --- a/backend/plugins/circleci/e2e/incremental_test.go +++ b/backend/plugins/circleci/e2e/incremental_test.go @@ -22,13 +22,13 @@ import ( "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 ed2f014217f..f3988b48a9f 100644 --- a/backend/plugins/circleci/e2e/job_collector_test.go +++ b/backend/plugins/circleci/e2e/job_collector_test.go @@ -22,11 +22,11 @@ import ( "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 4d426b25185..22f363bb01b 100644 --- a/backend/plugins/circleci/e2e/job_test.go +++ b/backend/plugins/circleci/e2e/job_test.go @@ -20,14 +20,14 @@ package e2e 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 28d65c07c21..3d3b60d0468 100644 --- a/backend/plugins/circleci/e2e/pipeline_test.go +++ b/backend/plugins/circleci/e2e/pipeline_test.go @@ -20,11 +20,11 @@ package e2e 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 00d1ccdd07f..2148a137593 100644 --- a/backend/plugins/circleci/e2e/project_test.go +++ b/backend/plugins/circleci/e2e/project_test.go @@ -20,13 +20,13 @@ package e2e 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 ba5194cea68..00e10782772 100644 --- a/backend/plugins/circleci/e2e/workflow_test.go +++ b/backend/plugins/circleci/e2e/workflow_test.go @@ -20,14 +20,14 @@ package e2e 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 4610d887da5..675248b8235 100644 --- a/backend/plugins/circleci/impl/impl.go +++ b/backend/plugins/circleci/impl/impl.go @@ -20,17 +20,17 @@ package impl 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 @@ func (p Circleci) PrepareTaskData(taskCtx plugin.TaskContext, options map[string // 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 a4a738b6148..2cf539cc6f5 100644 --- a/backend/plugins/circleci/models/account.go +++ b/backend/plugins/circleci/models/account.go @@ -17,7 +17,7 @@ limitations under the License. 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 3427e7f1335..9dd1fad6eb4 100644 --- a/backend/plugins/circleci/models/connection.go +++ b/backend/plugins/circleci/models/connection.go @@ -18,9 +18,9 @@ limitations under the License. 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 c8a3bea31cb..a19d703a431 100644 --- a/backend/plugins/circleci/models/job.go +++ b/backend/plugins/circleci/models/job.go @@ -18,7 +18,7 @@ limitations under the License. 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 6c292474c99..810dd36a5b5 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 @@ limitations under the License. package migrationscripts import ( - "github.com/apache/incubator-devlake/core/context" - "github.com/apache/incubator-devlake/core/errors" - "github.com/apache/incubator-devlake/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 1ea3c34ca75..7bc87903712 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 @@ limitations under the License. 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 497c0d3b5a6..4f6d2187558 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 @@ package migrationscripts 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 fd26ce58df9..b29a56e56db 100644 --- a/backend/plugins/circleci/models/migrationscripts/archived/account.go +++ b/backend/plugins/circleci/models/migrationscripts/archived/account.go @@ -17,7 +17,7 @@ limitations under the License. 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 c1fdcd10cf2..416f7253e15 100644 --- a/backend/plugins/circleci/models/migrationscripts/archived/connection.go +++ b/backend/plugins/circleci/models/migrationscripts/archived/connection.go @@ -18,7 +18,7 @@ limitations under the License. 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 55ebb98c2fa..a7aae177a68 100644 --- a/backend/plugins/circleci/models/migrationscripts/archived/job.go +++ b/backend/plugins/circleci/models/migrationscripts/archived/job.go @@ -18,7 +18,7 @@ limitations under the License. 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 c0941efa64e..6abef28b918 100644 --- a/backend/plugins/circleci/models/migrationscripts/archived/pipeline.go +++ b/backend/plugins/circleci/models/migrationscripts/archived/pipeline.go @@ -20,7 +20,7 @@ package archived 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 bc9f92a3706..fae77193ffb 100644 --- a/backend/plugins/circleci/models/migrationscripts/archived/project.go +++ b/backend/plugins/circleci/models/migrationscripts/archived/project.go @@ -18,7 +18,7 @@ limitations under the License. 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 32a9ac0dc7e..4162e5c363d 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 @@ limitations under the License. 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 f3f6438cd54..acd25c85d6c 100644 --- a/backend/plugins/circleci/models/migrationscripts/archived/workflow.go +++ b/backend/plugins/circleci/models/migrationscripts/archived/workflow.go @@ -20,7 +20,7 @@ package archived 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 af8472a3cd7..1c601bf8821 100644 --- a/backend/plugins/circleci/models/migrationscripts/register.go +++ b/backend/plugins/circleci/models/migrationscripts/register.go @@ -17,7 +17,7 @@ limitations under the License. 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 a775ac4b2f4..7a85be05701 100644 --- a/backend/plugins/circleci/models/pipeline.go +++ b/backend/plugins/circleci/models/pipeline.go @@ -18,7 +18,7 @@ limitations under the License. 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 453fed1fc72..e92c771e42e 100644 --- a/backend/plugins/circleci/models/project.go +++ b/backend/plugins/circleci/models/project.go @@ -18,8 +18,8 @@ limitations under the License. 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 8d6a433bd6b..d9bfd6d9358 100644 --- a/backend/plugins/circleci/models/scope_config.go +++ b/backend/plugins/circleci/models/scope_config.go @@ -18,7 +18,7 @@ limitations under the License. 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 0b1a330284e..09f96897d29 100644 --- a/backend/plugins/circleci/models/workflow.go +++ b/backend/plugins/circleci/models/workflow.go @@ -18,7 +18,7 @@ limitations under the License. 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 2bc6450659e..f40b801d392 100644 --- a/backend/plugins/circleci/tasks/account_collector.go +++ b/backend/plugins/circleci/tasks/account_collector.go @@ -19,9 +19,9 @@ package tasks 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 572e3433470..9ea10124b27 100644 --- a/backend/plugins/circleci/tasks/account_converter.go +++ b/backend/plugins/circleci/tasks/account_converter.go @@ -18,13 +18,13 @@ limitations under the License. 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 69277a145fc..10835ab450f 100644 --- a/backend/plugins/circleci/tasks/account_extractor.go +++ b/backend/plugins/circleci/tasks/account_extractor.go @@ -19,10 +19,10 @@ package tasks 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 b8acc18f467..25d4bb70212 100644 --- a/backend/plugins/circleci/tasks/api_client.go +++ b/backend/plugins/circleci/tasks/api_client.go @@ -18,10 +18,10 @@ limitations under the License. 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 ca158c1b934..2e950107a3b 100644 --- a/backend/plugins/circleci/tasks/job_collector.go +++ b/backend/plugins/circleci/tasks/job_collector.go @@ -22,11 +22,11 @@ import ( "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 5a085609d9f..c26d95403ee 100644 --- a/backend/plugins/circleci/tasks/job_converter.go +++ b/backend/plugins/circleci/tasks/job_converter.go @@ -21,13 +21,13 @@ import ( "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 291da992368..8d65b46edc0 100644 --- a/backend/plugins/circleci/tasks/job_extractor.go +++ b/backend/plugins/circleci/tasks/job_extractor.go @@ -19,10 +19,10 @@ package tasks 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 2dc8da4f3a2..fc981f99979 100644 --- a/backend/plugins/circleci/tasks/pipeline_collector.go +++ b/backend/plugins/circleci/tasks/pipeline_collector.go @@ -21,9 +21,9 @@ import ( "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 c1c9114db95..586eb2b4257 100644 --- a/backend/plugins/circleci/tasks/pipeline_extractor.go +++ b/backend/plugins/circleci/tasks/pipeline_extractor.go @@ -19,10 +19,10 @@ package tasks 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 27347de3fcb..9081a22656e 100644 --- a/backend/plugins/circleci/tasks/project_collector.go +++ b/backend/plugins/circleci/tasks/project_collector.go @@ -20,9 +20,9 @@ package tasks 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 82ff8ebfe84..e6509dd2fa5 100644 --- a/backend/plugins/circleci/tasks/project_converter.go +++ b/backend/plugins/circleci/tasks/project_converter.go @@ -21,13 +21,13 @@ import ( "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 8850e905e6e..b140d0289f7 100644 --- a/backend/plugins/circleci/tasks/project_extractor.go +++ b/backend/plugins/circleci/tasks/project_extractor.go @@ -20,10 +20,10 @@ package tasks 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 d6bbee8120f..f3be144dd14 100644 --- a/backend/plugins/circleci/tasks/shared.go +++ b/backend/plugins/circleci/tasks/shared.go @@ -23,12 +23,12 @@ import ( "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 a6c55e9c9c7..97262b77376 100644 --- a/backend/plugins/circleci/tasks/shared_test.go +++ b/backend/plugins/circleci/tasks/shared_test.go @@ -23,7 +23,7 @@ import ( "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 ba30ba8d960..289596aa467 100644 --- a/backend/plugins/circleci/tasks/task_data.go +++ b/backend/plugins/circleci/tasks/task_data.go @@ -18,9 +18,9 @@ limitations under the License. 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 25c5c727d36..7847cfe2281 100644 --- a/backend/plugins/circleci/tasks/workflow_collector.go +++ b/backend/plugins/circleci/tasks/workflow_collector.go @@ -23,11 +23,11 @@ import ( "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 bf6b029e3e5..a70fb83605d 100644 --- a/backend/plugins/circleci/tasks/workflow_converter.go +++ b/backend/plugins/circleci/tasks/workflow_converter.go @@ -21,13 +21,13 @@ import ( "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 27ec520a07c..b61e9506947 100644 --- a/backend/plugins/circleci/tasks/workflow_extractor.go +++ b/backend/plugins/circleci/tasks/workflow_extractor.go @@ -20,10 +20,10 @@ package tasks 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 3802b70a0e2..10a4fbc1597 100644 --- a/backend/plugins/claude_code/api/blueprint_v200.go +++ b/backend/plugins/claude_code/api/blueprint_v200.go @@ -18,13 +18,13 @@ limitations under the License. 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 2cfc6d2fb04..c99ab9407c7 100644 --- a/backend/plugins/claude_code/api/connection.go +++ b/backend/plugins/claude_code/api/connection.go @@ -20,10 +20,10 @@ package api 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 efa81d42149..69208f68a76 100644 --- a/backend/plugins/claude_code/api/connection_test.go +++ b/backend/plugins/claude_code/api/connection_test.go @@ -22,7 +22,7 @@ import ( "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 3b27e4a5636..a3dd2fb85e0 100644 --- a/backend/plugins/claude_code/api/init.go +++ b/backend/plugins/claude_code/api/init.go @@ -20,10 +20,10 @@ package api 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 9c2e53ec112..2b3e90b9cfe 100644 --- a/backend/plugins/claude_code/api/remote_api.go +++ b/backend/plugins/claude_code/api/remote_api.go @@ -20,12 +20,12 @@ package api 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 ce8dea71797..d55a6430c41 100644 --- a/backend/plugins/claude_code/api/scope.go +++ b/backend/plugins/claude_code/api/scope.go @@ -18,8 +18,8 @@ limitations under the License. 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 571e49e85ca..74a27660612 100644 --- a/backend/plugins/claude_code/api/scope_config.go +++ b/backend/plugins/claude_code/api/scope_config.go @@ -18,8 +18,8 @@ limitations under the License. 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 45a75d45460..6a32365e4b4 100644 --- a/backend/plugins/claude_code/api/test_connection.go +++ b/backend/plugins/claude_code/api/test_connection.go @@ -21,11 +21,11 @@ import ( 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 73fedee29ee..de3a19ed4a8 100644 --- a/backend/plugins/claude_code/claude_code.go +++ b/backend/plugins/claude_code/claude_code.go @@ -18,8 +18,8 @@ limitations under the License. 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 8b058d5344e..f29b7e5623e 100644 --- a/backend/plugins/claude_code/impl/connection_helper.go +++ b/backend/plugins/claude_code/impl/connection_helper.go @@ -17,7 +17,7 @@ limitations under the License. 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 4e7d2b136d1..c1d055d13d7 100644 --- a/backend/plugins/claude_code/impl/impl.go +++ b/backend/plugins/claude_code/impl/impl.go @@ -18,16 +18,16 @@ limitations under the License. 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) MakeDataSourcePipelinePlanV200( } 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 3e81f6b0676..39c6b189a60 100644 --- a/backend/plugins/claude_code/models/activity_summary.go +++ b/backend/plugins/claude_code/models/activity_summary.go @@ -20,7 +20,7 @@ package models 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 63eaff010de..63203cbefe6 100644 --- a/backend/plugins/claude_code/models/chat_project.go +++ b/backend/plugins/claude_code/models/chat_project.go @@ -20,7 +20,7 @@ package models 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 700b611ae13..700005c1a18 100644 --- a/backend/plugins/claude_code/models/connection.go +++ b/backend/plugins/claude_code/models/connection.go @@ -21,9 +21,9 @@ import ( "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 1cb0d55f54b..a469d548660 100644 --- a/backend/plugins/claude_code/models/connection_test.go +++ b/backend/plugins/claude_code/models/connection_test.go @@ -22,7 +22,7 @@ import ( "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 3dca5305e46..e965585b260 100644 --- a/backend/plugins/claude_code/models/connector_usage.go +++ b/backend/plugins/claude_code/models/connector_usage.go @@ -20,7 +20,7 @@ package models 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 8897bc69a8f..224233f762b 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 @@ limitations under the License. package migrationscripts import ( - "github.com/apache/incubator-devlake/core/context" - "github.com/apache/incubator-devlake/core/errors" - "github.com/apache/incubator-devlake/core/models/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 ba9db8e6dc1..2d9a0804861 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 @@ limitations under the License. package migrationscripts import ( - "github.com/apache/incubator-devlake/core/context" - "github.com/apache/incubator-devlake/core/errors" - "github.com/apache/incubator-devlake/core/models/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 0c089e64abc..f0db509775f 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 @@ import ( "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 e62d15e156b..26a1663f997 100644 --- a/backend/plugins/claude_code/models/migrationscripts/register.go +++ b/backend/plugins/claude_code/models/migrationscripts/register.go @@ -17,7 +17,7 @@ limitations under the License. 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 c1ee7d8042f..a468f2ebf8a 100644 --- a/backend/plugins/claude_code/models/models.go +++ b/backend/plugins/claude_code/models/models.go @@ -17,7 +17,7 @@ limitations under the License. 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 9f085a5fe95..35e641be47a 100644 --- a/backend/plugins/claude_code/models/scope.go +++ b/backend/plugins/claude_code/models/scope.go @@ -20,8 +20,8 @@ package models 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 22f54f3a983..008ec04cac1 100644 --- a/backend/plugins/claude_code/models/scope_config.go +++ b/backend/plugins/claude_code/models/scope_config.go @@ -18,8 +18,8 @@ limitations under the License. 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 3ca4d6fdc8e..ffbcdb206e9 100644 --- a/backend/plugins/claude_code/models/skill_usage.go +++ b/backend/plugins/claude_code/models/skill_usage.go @@ -20,7 +20,7 @@ package models 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 6385ae82951..324fe12c31e 100644 --- a/backend/plugins/claude_code/models/user_activity.go +++ b/backend/plugins/claude_code/models/user_activity.go @@ -20,7 +20,7 @@ package models 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 97581ce379e..4c98f535f4b 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 @@ import ( "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 79728f19090..a0e83521a81 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 @@ import ( "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 8e63e8d8c2d..1985dfe8d5e 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 @@ import ( "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 8f3f29da4fb..baa0c46bf95 100644 --- a/backend/plugins/claude_code/tasks/api_client.go +++ b/backend/plugins/claude_code/tasks/api_client.go @@ -21,11 +21,11 @@ import ( "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 18062e186b3..6d9ba804e64 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 @@ import ( "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 55a27a53c38..f97e9a0900a 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 @@ import ( "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 1be3a4165b3..fbf52764e00 100644 --- a/backend/plugins/claude_code/tasks/collector_utils.go +++ b/backend/plugins/claude_code/tasks/collector_utils.go @@ -25,8 +25,8 @@ import ( "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 2b885b1ef57..0baa6929c4e 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 @@ import ( "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 833ca4619d0..a833c232c91 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 @@ import ( "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 375076988a3..21d264b52a6 100644 --- a/backend/plugins/claude_code/tasks/register.go +++ b/backend/plugins/claude_code/tasks/register.go @@ -17,7 +17,7 @@ limitations under the License. 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 dfb87612da4..435621ffb33 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 @@ import ( "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 72743cee395..153a1a882a8 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 @@ import ( "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 82fd4ae63e0..df4996e272e 100644 --- a/backend/plugins/claude_code/tasks/subtasks.go +++ b/backend/plugins/claude_code/tasks/subtasks.go @@ -17,7 +17,7 @@ limitations under the License. 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 7c72e5261b9..795f18c6208 100644 --- a/backend/plugins/claude_code/tasks/task_data.go +++ b/backend/plugins/claude_code/tasks/task_data.go @@ -17,7 +17,7 @@ limitations under the License. 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 7239390be52..e3a1d7d478f 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 @@ import ( "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 4050a7c2b1f..3c303390be5 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 @@ import ( "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 98f2439d696..07bf395a1a3 100644 --- a/backend/plugins/clickup/api/blueprint_v200.go +++ b/backend/plugins/clickup/api/blueprint_v200.go @@ -18,16 +18,16 @@ limitations under the License. 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 052b1e5f68a..f7b992cc180 100644 --- a/backend/plugins/clickup/api/connection_api.go +++ b/backend/plugins/clickup/api/connection_api.go @@ -21,12 +21,12 @@ import ( "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 bc185fbd5b0..6c066b2b0d9 100644 --- a/backend/plugins/clickup/api/init.go +++ b/backend/plugins/clickup/api/init.go @@ -18,10 +18,10 @@ limitations under the License. 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 93e9589c93b..441fe583992 100644 --- a/backend/plugins/clickup/api/remote_api.go +++ b/backend/plugins/clickup/api/remote_api.go @@ -21,11 +21,11 @@ import ( "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 5bfcb9d5aef..74c25c54f5b 100644 --- a/backend/plugins/clickup/api/scope_api.go +++ b/backend/plugins/clickup/api/scope_api.go @@ -18,10 +18,10 @@ limitations under the License. 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 fab37352f5c..cdd0fb95a5d 100644 --- a/backend/plugins/clickup/api/scope_config_api.go +++ b/backend/plugins/clickup/api/scope_config_api.go @@ -18,8 +18,8 @@ limitations under the License. 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 a7806a1c7d7..7f1a6dd9bf0 100644 --- a/backend/plugins/clickup/clickup.go +++ b/backend/plugins/clickup/clickup.go @@ -18,8 +18,8 @@ limitations under the License. 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 bdf9b6e7e42..d7110184ad2 100644 --- a/backend/plugins/clickup/impl/impl.go +++ b/backend/plugins/clickup/impl/impl.go @@ -21,16 +21,16 @@ import ( "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) Name() string { } 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 0f985983966..46f837480bc 100644 --- a/backend/plugins/clickup/models/connection.go +++ b/backend/plugins/clickup/models/connection.go @@ -20,9 +20,9 @@ package models 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 347c15e0a21..066c867d3f8 100644 --- a/backend/plugins/clickup/models/folder.go +++ b/backend/plugins/clickup/models/folder.go @@ -18,8 +18,8 @@ limitations under the License. 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 6f60ce710e9..4f15c113bae 100644 --- a/backend/plugins/clickup/models/list.go +++ b/backend/plugins/clickup/models/list.go @@ -20,7 +20,7 @@ package models 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 24d4beb258e..ae3c7fc7d8a 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 @@ limitations under the License. package migrationscripts import ( - "github.com/apache/incubator-devlake/core/context" - "github.com/apache/incubator-devlake/core/errors" - "github.com/apache/incubator-devlake/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 3f0affbcbd9..1a27cd35fc3 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 @@ package migrationscripts 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 28fa313722e..51948b5a1b2 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 @@ limitations under the License. package migrationscripts import ( - "github.com/apache/incubator-devlake/core/context" - "github.com/apache/incubator-devlake/core/errors" - "github.com/apache/incubator-devlake/core/models/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 2ecc04f84d5..9c39813f8e6 100644 --- a/backend/plugins/clickup/models/migrationscripts/archived/models.go +++ b/backend/plugins/clickup/models/migrationscripts/archived/models.go @@ -23,7 +23,7 @@ package archived 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 98bff779187..4d5a9594935 100644 --- a/backend/plugins/clickup/models/migrationscripts/register.go +++ b/backend/plugins/clickup/models/migrationscripts/register.go @@ -18,7 +18,7 @@ limitations under the License. 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 d2ddf62b846..a6e8ea77573 100644 --- a/backend/plugins/clickup/models/scope_config.go +++ b/backend/plugins/clickup/models/scope_config.go @@ -18,7 +18,7 @@ limitations under the License. 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 957889edffb..4670f9433a9 100644 --- a/backend/plugins/clickup/models/task.go +++ b/backend/plugins/clickup/models/task.go @@ -20,7 +20,7 @@ package models 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 c49d857d42c..28b624adaf6 100644 --- a/backend/plugins/clickup/models/task_comment.go +++ b/backend/plugins/clickup/models/task_comment.go @@ -20,7 +20,7 @@ package models 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 05ca2aae134..81616714991 100644 --- a/backend/plugins/clickup/models/user.go +++ b/backend/plugins/clickup/models/user.go @@ -18,7 +18,7 @@ limitations under the License. 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 85333cd184e..60ccc87efb7 100644 --- a/backend/plugins/clickup/tasks/api_client.go +++ b/backend/plugins/clickup/tasks/api_client.go @@ -18,10 +18,10 @@ limitations under the License. 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 e5306ef9ca4..61b0ea2d173 100644 --- a/backend/plugins/clickup/tasks/folder_convertor.go +++ b/backend/plugins/clickup/tasks/folder_convertor.go @@ -20,14 +20,14 @@ package tasks 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 bc601f68218..447f2bfb9c2 100644 --- a/backend/plugins/clickup/tasks/list_collector.go +++ b/backend/plugins/clickup/tasks/list_collector.go @@ -23,9 +23,9 @@ import ( "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 01d18563e45..e6b8e903c50 100644 --- a/backend/plugins/clickup/tasks/list_extractor.go +++ b/backend/plugins/clickup/tasks/list_extractor.go @@ -20,10 +20,10 @@ package tasks 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 783c3c6e79f..841d324edf8 100644 --- a/backend/plugins/clickup/tasks/shared.go +++ b/backend/plugins/clickup/tasks/shared.go @@ -23,9 +23,9 @@ import ( "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 a84fb1a693b..629ec2efce3 100644 --- a/backend/plugins/clickup/tasks/shared_test.go +++ b/backend/plugins/clickup/tasks/shared_test.go @@ -21,8 +21,8 @@ import ( "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 b5849882e3c..cd3eff46c5d 100644 --- a/backend/plugins/clickup/tasks/sprint_convertor.go +++ b/backend/plugins/clickup/tasks/sprint_convertor.go @@ -21,14 +21,14 @@ import ( "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 8d2572e5f73..282b7be8fa6 100644 --- a/backend/plugins/clickup/tasks/task_collector.go +++ b/backend/plugins/clickup/tasks/task_collector.go @@ -24,11 +24,11 @@ import ( "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 7ceeb608798..0df76115943 100644 --- a/backend/plugins/clickup/tasks/task_convertor.go +++ b/backend/plugins/clickup/tasks/task_convertor.go @@ -22,14 +22,14 @@ import ( "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 8bb7b09273f..79fa28d5423 100644 --- a/backend/plugins/clickup/tasks/task_convertor_test.go +++ b/backend/plugins/clickup/tasks/task_convertor_test.go @@ -21,7 +21,7 @@ import ( "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 698e42b7220..012abfb1bd1 100644 --- a/backend/plugins/clickup/tasks/task_data.go +++ b/backend/plugins/clickup/tasks/task_data.go @@ -20,8 +20,8 @@ package tasks 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 f3d1209c702..469135c4f5e 100644 --- a/backend/plugins/clickup/tasks/task_extractor.go +++ b/backend/plugins/clickup/tasks/task_extractor.go @@ -22,10 +22,10 @@ import ( "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 47933cdc39d..617b617623e 100644 --- a/backend/plugins/clickup/tasks/user_collector.go +++ b/backend/plugins/clickup/tasks/user_collector.go @@ -21,9 +21,9 @@ import ( "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 f8c91582b58..113c8fbcffc 100644 --- a/backend/plugins/clickup/tasks/user_convertor.go +++ b/backend/plugins/clickup/tasks/user_convertor.go @@ -20,14 +20,14 @@ package tasks 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 12f66c5639d..cf184bbbf09 100644 --- a/backend/plugins/clickup/tasks/user_extractor.go +++ b/backend/plugins/clickup/tasks/user_extractor.go @@ -20,10 +20,10 @@ package tasks 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 b1431c9bdb0..96821ad3518 100644 --- a/backend/plugins/cursor/api/blueprint_v200.go +++ b/backend/plugins/cursor/api/blueprint_v200.go @@ -18,13 +18,13 @@ limitations under the License. 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 594e201f495..dcab18c0cc7 100644 --- a/backend/plugins/cursor/api/connection.go +++ b/backend/plugins/cursor/api/connection.go @@ -20,10 +20,10 @@ package api 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 74d219690be..6b1badfe1c5 100644 --- a/backend/plugins/cursor/api/init.go +++ b/backend/plugins/cursor/api/init.go @@ -20,10 +20,10 @@ package api 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 fdc63a93757..ff79c1e280d 100644 --- a/backend/plugins/cursor/api/remote_api.go +++ b/backend/plugins/cursor/api/remote_api.go @@ -20,12 +20,12 @@ package api 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 ce8dea71797..d55a6430c41 100644 --- a/backend/plugins/cursor/api/scope.go +++ b/backend/plugins/cursor/api/scope.go @@ -18,8 +18,8 @@ limitations under the License. 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 571e49e85ca..74a27660612 100644 --- a/backend/plugins/cursor/api/scope_config.go +++ b/backend/plugins/cursor/api/scope_config.go @@ -18,8 +18,8 @@ limitations under the License. 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 c4220d4bca9..48fa21cc403 100644 --- a/backend/plugins/cursor/api/test_connection.go +++ b/backend/plugins/cursor/api/test_connection.go @@ -21,11 +21,11 @@ import ( 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 cd6ec904c7a..ee78f66cc72 100644 --- a/backend/plugins/cursor/cursor.go +++ b/backend/plugins/cursor/cursor.go @@ -18,8 +18,8 @@ limitations under the License. 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 8ebe4e8c08d..04307058467 100644 --- a/backend/plugins/cursor/e2e/extractors_test.go +++ b/backend/plugins/cursor/e2e/extractors_test.go @@ -21,14 +21,14 @@ import ( "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 43d491afc3d..b7fdd46af74 100644 --- a/backend/plugins/cursor/impl/connection_helper.go +++ b/backend/plugins/cursor/impl/connection_helper.go @@ -17,7 +17,7 @@ limitations under the License. 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 0d3b7193071..04b0977338b 100644 --- a/backend/plugins/cursor/impl/impl.go +++ b/backend/plugins/cursor/impl/impl.go @@ -18,16 +18,16 @@ limitations under the License. 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) MakeDataSourcePipelinePlanV200( } 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 8bb30c53082..21e19a4986b 100644 --- a/backend/plugins/cursor/models/connection.go +++ b/backend/plugins/cursor/models/connection.go @@ -21,9 +21,9 @@ import ( "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 6974e9bc876..567dae3aac8 100644 --- a/backend/plugins/cursor/models/daily_usage.go +++ b/backend/plugins/cursor/models/daily_usage.go @@ -20,7 +20,7 @@ package models 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 63a1f24e6c8..2501aaf1462 100644 --- a/backend/plugins/cursor/models/member.go +++ b/backend/plugins/cursor/models/member.go @@ -18,7 +18,7 @@ limitations under the License. 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 0bd85596326..e4843354773 100644 --- a/backend/plugins/cursor/models/migrationscripts/20260709_initialize.go +++ b/backend/plugins/cursor/models/migrationscripts/20260709_initialize.go @@ -21,10 +21,10 @@ import ( "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 a50bd4acd20..c6e4b7ae0a7 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 @@ limitations under the License. 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 c41eccec65a..58e898f1cc9 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 @@ import ( "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 4abedb7e92c..13adc709d8f 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 @@ package migrationscripts 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 24e5eedae47..be0db9c2c29 100644 --- a/backend/plugins/cursor/models/migrationscripts/register.go +++ b/backend/plugins/cursor/models/migrationscripts/register.go @@ -17,7 +17,7 @@ limitations under the License. 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 6a2ec5d8831..4edf5f7c60b 100644 --- a/backend/plugins/cursor/models/models.go +++ b/backend/plugins/cursor/models/models.go @@ -17,7 +17,7 @@ limitations under the License. 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 00cd8e745b5..5799ae3f766 100644 --- a/backend/plugins/cursor/models/scope.go +++ b/backend/plugins/cursor/models/scope.go @@ -20,8 +20,8 @@ package models 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 64dcf5e259b..8524a9d3947 100644 --- a/backend/plugins/cursor/models/scope_config.go +++ b/backend/plugins/cursor/models/scope_config.go @@ -18,8 +18,8 @@ limitations under the License. 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 5ae4f7e7f8a..1354cdbb1e6 100644 --- a/backend/plugins/cursor/models/usage_event.go +++ b/backend/plugins/cursor/models/usage_event.go @@ -20,7 +20,7 @@ package models 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 e948fda0d48..10e7efe7016 100644 --- a/backend/plugins/cursor/models/user_spend.go +++ b/backend/plugins/cursor/models/user_spend.go @@ -20,7 +20,7 @@ package models 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 b7baa044beb..d9faec75dfb 100644 --- a/backend/plugins/cursor/service/connection_test_helper.go +++ b/backend/plugins/cursor/service/connection_test_helper.go @@ -26,10 +26,10 @@ import ( "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 975e805dc1c..987e3764c76 100644 --- a/backend/plugins/cursor/tasks/api_client.go +++ b/backend/plugins/cursor/tasks/api_client.go @@ -21,10 +21,10 @@ import ( "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 21c4cad06c1..e5b382f959a 100644 --- a/backend/plugins/cursor/tasks/collector_utils.go +++ b/backend/plugins/cursor/tasks/collector_utils.go @@ -28,9 +28,9 @@ import ( "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 b02617f66cb..5ae69c4a13c 100644 --- a/backend/plugins/cursor/tasks/collector_utils_test.go +++ b/backend/plugins/cursor/tasks/collector_utils_test.go @@ -22,8 +22,8 @@ import ( "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 1b7d57f0196..5f297ce06c0 100644 --- a/backend/plugins/cursor/tasks/daily_usage_collector.go +++ b/backend/plugins/cursor/tasks/daily_usage_collector.go @@ -21,9 +21,9 @@ import ( "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 21a4349ae03..43033726940 100644 --- a/backend/plugins/cursor/tasks/daily_usage_extractor.go +++ b/backend/plugins/cursor/tasks/daily_usage_extractor.go @@ -21,10 +21,10 @@ import ( "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 57b3616c9a7..a7f08935868 100644 --- a/backend/plugins/cursor/tasks/extract_stateful.go +++ b/backend/plugins/cursor/tasks/extract_stateful.go @@ -22,11 +22,11 @@ import ( "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 315ff3f8c8d..db716c13fe1 100644 --- a/backend/plugins/cursor/tasks/extract_utils.go +++ b/backend/plugins/cursor/tasks/extract_utils.go @@ -18,8 +18,8 @@ limitations under the License. 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 1e741096358..f2377b51121 100644 --- a/backend/plugins/cursor/tasks/members_collector.go +++ b/backend/plugins/cursor/tasks/members_collector.go @@ -18,9 +18,9 @@ limitations under the License. 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 35558bdd30a..49960f22ae3 100644 --- a/backend/plugins/cursor/tasks/members_extractor.go +++ b/backend/plugins/cursor/tasks/members_extractor.go @@ -21,10 +21,10 @@ import ( "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 e8a3f4ec3cb..f802f0c9054 100644 --- a/backend/plugins/cursor/tasks/register.go +++ b/backend/plugins/cursor/tasks/register.go @@ -17,7 +17,7 @@ limitations under the License. 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 4e8b2357730..a8bf3549cbe 100644 --- a/backend/plugins/cursor/tasks/retry_after.go +++ b/backend/plugins/cursor/tasks/retry_after.go @@ -22,8 +22,8 @@ import ( "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 8d9462f5232..a56461910c0 100644 --- a/backend/plugins/cursor/tasks/subtasks.go +++ b/backend/plugins/cursor/tasks/subtasks.go @@ -17,7 +17,7 @@ limitations under the License. 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 6d0cb9a7aa5..a264ecfabe1 100644 --- a/backend/plugins/cursor/tasks/task_data.go +++ b/backend/plugins/cursor/tasks/task_data.go @@ -17,7 +17,7 @@ limitations under the License. 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 dc4b3ff9f9e..7ed6e33d52e 100644 --- a/backend/plugins/cursor/tasks/usage_events_collector.go +++ b/backend/plugins/cursor/tasks/usage_events_collector.go @@ -21,9 +21,9 @@ import ( "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 f88b0dd76cc..ad202ca6b7e 100644 --- a/backend/plugins/cursor/tasks/usage_events_extractor.go +++ b/backend/plugins/cursor/tasks/usage_events_extractor.go @@ -20,10 +20,10 @@ package tasks 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 9d619606d3f..ea81e5c1990 100644 --- a/backend/plugins/cursor/tasks/user_spend_collector.go +++ b/backend/plugins/cursor/tasks/user_spend_collector.go @@ -23,9 +23,9 @@ import ( "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 2526c4e8b9b..de9934982d0 100644 --- a/backend/plugins/cursor/tasks/user_spend_extractor.go +++ b/backend/plugins/cursor/tasks/user_spend_extractor.go @@ -21,10 +21,10 @@ import ( "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 282991a9009..cebde2fbcab 100644 --- a/backend/plugins/customize/api/csv_issue.go +++ b/backend/plugins/customize/api/csv_issue.go @@ -21,8 +21,8 @@ import ( "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 e4770ad8d5b..b15f8d4132c 100644 --- a/backend/plugins/customize/api/csv_qa.go +++ b/backend/plugins/customize/api/csv_qa.go @@ -20,8 +20,8 @@ package api 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 23b0149abdf..d5dffec3262 100644 --- a/backend/plugins/customize/api/field.go +++ b/backend/plugins/customize/api/field.go @@ -22,12 +22,12 @@ import ( "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 81c1c35e546..67c2f604dcf 100644 --- a/backend/plugins/customize/api/swagger.go +++ b/backend/plugins/customize/api/swagger.go @@ -18,7 +18,7 @@ limitations under the License. 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 e4771424bd7..94cea0b70d5 100644 --- a/backend/plugins/customize/customize.go +++ b/backend/plugins/customize/customize.go @@ -18,9 +18,9 @@ limitations under the License. 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 0e2f9c91c8e..a563623102d 100644 --- a/backend/plugins/customize/e2e/customized_fields_test.go +++ b/backend/plugins/customize/e2e/customized_fields_test.go @@ -20,11 +20,11 @@ package e2e 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 d8929d02f9c..485c73c05ec 100644 --- a/backend/plugins/customize/e2e/extract_fields_test.go +++ b/backend/plugins/customize/e2e/extract_fields_test.go @@ -20,12 +20,12 @@ package e2e 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 4cabae99c61..2f47b53590c 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 @@ import ( "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 f997d81df32..b6700e1c0eb 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 @@ import ( "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 de1cca5ab58..8111e8bf225 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 @@ import ( "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 ffbb4340c46..5d2b2b4fa5a 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 @@ import ( "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 576fdcddba6..c1c58d8e0be 100644 --- a/backend/plugins/customize/e2e/import_issues_test.go +++ b/backend/plugins/customize/e2e/import_issues_test.go @@ -21,12 +21,12 @@ import ( "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 1e0c9c5b455..63869117746 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 @@ import ( "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 764421e5b1a..e11b18255b8 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 @@ import ( "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 33a2a30f81a..daaee4641dd 100644 --- a/backend/plugins/customize/e2e/import_sprint_test.go +++ b/backend/plugins/customize/e2e/import_sprint_test.go @@ -21,10 +21,10 @@ import ( "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 a74c69940a6..f2bd800c942 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 @@ import ( "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 477b47d7e11..b125b01f96a 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 187a87afda3..a8bca044da2 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 b9e43abf052..b9dd201125c 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/ 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 6df6359a0f4..c874b33c4bc 100644 --- a/backend/plugins/customize/impl/impl.go +++ b/backend/plugins/customize/impl/impl.go @@ -18,14 +18,14 @@ limitations under the License. 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) MigrationScripts() []plugin.MigrationScript { } 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 16a4d79db66..d8fdda6e5a8 100644 --- a/backend/plugins/customize/models/customized_field.go +++ b/backend/plugins/customize/models/customized_field.go @@ -20,7 +20,7 @@ package models 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 274b96ece6b..7864f101b2e 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 @@ limitations under the License. package migrationscripts import ( - "github.com/apache/incubator-devlake/core/context" - "github.com/apache/incubator-devlake/core/errors" - "github.com/apache/incubator-devlake/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 96814a1f6ab..dbfde3aed8a 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 @@ package archived 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 fbe26a71e0a..65d3b9e7eb8 100644 --- a/backend/plugins/customize/models/migrationscripts/register.go +++ b/backend/plugins/customize/models/migrationscripts/register.go @@ -18,7 +18,7 @@ limitations under the License. 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 8217be3a5c1..740c95dd654 100644 --- a/backend/plugins/customize/service/service.go +++ b/backend/plugins/customize/service/service.go @@ -24,15 +24,15 @@ import ( "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 9a8454c66b2..dda461cfe0a 100644 --- a/backend/plugins/customize/tasks/customized_fields_extractor.go +++ b/backend/plugins/customize/tasks/customized_fields_extractor.go @@ -22,12 +22,12 @@ import ( "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 9fc6ff894b0..648b427a8c0 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 @@ import ( "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 6f610ffa453..bcce5eb2af3 100644 --- a/backend/plugins/dora/api/data.go +++ b/backend/plugins/dora/api/data.go @@ -18,8 +18,8 @@ limitations under the License. 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 a0b9a198a95..b8436bd8bf1 100644 --- a/backend/plugins/dora/dora.go +++ b/backend/plugins/dora/dora.go @@ -18,8 +18,8 @@ limitations under the License. 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 e37cd635b5f..1c591108a32 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 @@ package e2e 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 8af1750fe37..f940aa492ea 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 @@ package e2e 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 113c8550021..35df2cd8c8e 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 @@ package e2e 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 39e930310d9..c03fee64a60 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 @@ package e2e 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 24609739811..92802a1bdc5 100644 --- a/backend/plugins/dora/impl/impl.go +++ b/backend/plugins/dora/impl/impl.go @@ -20,12 +20,12 @@ package impl 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 @@ func (p Dora) PrepareTaskData(taskCtx plugin.TaskContext, options map[string]int // 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 7719d09e56a..3fcdc58e44e 100644 --- a/backend/plugins/dora/impl/impl_test.go +++ b/backend/plugins/dora/impl/impl_test.go @@ -19,10 +19,10 @@ package impl 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 86d8ee8bf52..6f7afb0861b 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 @@ limitations under the License. package migrationscripts import ( - "github.com/apache/incubator-devlake/core/context" - "github.com/apache/incubator-devlake/core/errors" - "github.com/apache/incubator-devlake/core/models/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 6646f5baa18..af9039c27b8 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 @@ limitations under the License. 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 b1d8ecedade..258fadefb8b 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 @@ limitations under the License. package migrationscripts import ( - "github.com/apache/incubator-devlake/core/context" - "github.com/apache/incubator-devlake/core/errors" - "github.com/apache/incubator-devlake/core/models/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 6a12d071963..783052253e0 100644 --- a/backend/plugins/dora/models/migrationscripts/register.go +++ b/backend/plugins/dora/models/migrationscripts/register.go @@ -18,7 +18,7 @@ limitations under the License. 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 57e5b730968..9a86c6ed10b 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 @@ import ( "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 ea6cbe6a45a..738be9f4ec2 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 @@ limitations under the License. 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 826e177288f..1b519ae6e8d 100644 --- a/backend/plugins/dora/tasks/deployment_commits_generator.go +++ b/backend/plugins/dora/tasks/deployment_commits_generator.go @@ -22,12 +22,12 @@ import ( "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 @@ const DORAGenerateDeploymentCommits = "dora.generateDeploymentCommits" 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 0defd4205fe..549f6b62570 100644 --- a/backend/plugins/dora/tasks/deployment_generator.go +++ b/backend/plugins/dora/tasks/deployment_generator.go @@ -20,12 +20,12 @@ package tasks 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 2b9ce4992d9..95351f12fa7 100644 --- a/backend/plugins/dora/tasks/incident_deploy_connector.go +++ b/backend/plugins/dora/tasks/incident_deploy_connector.go @@ -21,14 +21,14 @@ import ( "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 d70cd2ce527..d0118ee85ae 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 @@ package tasks 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 69c68a9f68a..07c72e958f9 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 @@ limitations under the License. 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 3beaf339f6b..83fadc49687 100644 --- a/backend/plugins/dora/tasks/task_data.go +++ b/backend/plugins/dora/tasks/task_data.go @@ -18,8 +18,8 @@ limitations under the License. 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 72771e1fb83..6d553425cd5 100644 --- a/backend/plugins/feishu/api/connection.go +++ b/backend/plugins/feishu/api/connection.go @@ -21,12 +21,12 @@ import ( "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 7a16d5f0cfc..ef85236323a 100644 --- a/backend/plugins/feishu/api/init.go +++ b/backend/plugins/feishu/api/init.go @@ -18,9 +18,9 @@ limitations under the License. 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 e41d7a9163b..f5825791969 100644 --- a/backend/plugins/feishu/e2e/meeting_test.go +++ b/backend/plugins/feishu/e2e/meeting_test.go @@ -18,10 +18,10 @@ limitations under the License. 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 f203735aa53..0dd11e9b168 100644 --- a/backend/plugins/feishu/feishu.go +++ b/backend/plugins/feishu/feishu.go @@ -18,8 +18,8 @@ limitations under the License. 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 eb321a12bc4..fbe56819543 100644 --- a/backend/plugins/feishu/impl/impl.go +++ b/backend/plugins/feishu/impl/impl.go @@ -19,16 +19,16 @@ package impl 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/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/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/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) PrepareTaskData(taskCtx plugin.TaskContext, options map[string]i } 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 8e80dd31239..d4836954ba0 100644 --- a/backend/plugins/feishu/models/chat_item.go +++ b/backend/plugins/feishu/models/chat_item.go @@ -18,7 +18,7 @@ limitations under the License. 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 717ce59fc88..24dd1fb3dac 100644 --- a/backend/plugins/feishu/models/connection.go +++ b/backend/plugins/feishu/models/connection.go @@ -19,13 +19,13 @@ package models 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 e56e2edf7d7..1b08a8ce150 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 @@ limitations under the License. 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 e2a42208fe4..3e71852c559 100644 --- a/backend/plugins/feishu/models/message.go +++ b/backend/plugins/feishu/models/message.go @@ -18,7 +18,7 @@ limitations under the License. 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 b111e43dcaa..3fb066c0e0e 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 @@ limitations under the License. package migrationscripts import ( - "github.com/apache/incubator-devlake/core/context" - "github.com/apache/incubator-devlake/core/errors" - "github.com/apache/incubator-devlake/core/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 fc566999081..5c8dda31f6f 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 @@ limitations under the License. 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 ee713804b0c..ff8eccd5082 100644 --- a/backend/plugins/feishu/models/migrationscripts/archived/connection.go +++ b/backend/plugins/feishu/models/migrationscripts/archived/connection.go @@ -18,7 +18,7 @@ limitations under the License. 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 8f1afda2486..f1ae29eeff8 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 @@ limitations under the License. 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 e8bebebd329..d10fe9038d4 100644 --- a/backend/plugins/feishu/models/migrationscripts/archived/message.go +++ b/backend/plugins/feishu/models/migrationscripts/archived/message.go @@ -18,7 +18,7 @@ limitations under the License. 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 ec054748c27..7d91771d120 100644 --- a/backend/plugins/feishu/models/migrationscripts/register.go +++ b/backend/plugins/feishu/models/migrationscripts/register.go @@ -18,7 +18,7 @@ limitations under the License. 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 6bb3ed9fb8e..78d6c8e0560 100644 --- a/backend/plugins/feishu/tasks/api_client.go +++ b/backend/plugins/feishu/tasks/api_client.go @@ -18,10 +18,10 @@ limitations under the License. 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 f76e8c02219..aa7a4b04ac6 100644 --- a/backend/plugins/feishu/tasks/chat_collector.go +++ b/backend/plugins/feishu/tasks/chat_collector.go @@ -23,10 +23,10 @@ import ( "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 abad57fe589..995f37eb0da 100644 --- a/backend/plugins/feishu/tasks/chat_extractor.go +++ b/backend/plugins/feishu/tasks/chat_extractor.go @@ -19,10 +19,10 @@ package tasks 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 a803c023c0f..2fd9058a13f 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 @@ import ( "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 6c3e147bf55..0eed252c403 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 @@ package tasks 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 3823f7f099a..65e755158ef 100644 --- a/backend/plugins/feishu/tasks/message_collector.go +++ b/backend/plugins/feishu/tasks/message_collector.go @@ -19,11 +19,11 @@ package tasks 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 f075b61f186..69dc8604d74 100644 --- a/backend/plugins/feishu/tasks/message_extractor.go +++ b/backend/plugins/feishu/tasks/message_extractor.go @@ -19,11 +19,11 @@ package tasks 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 428c06739c4..e94459df685 100644 --- a/backend/plugins/feishu/tasks/task_data.go +++ b/backend/plugins/feishu/tasks/task_data.go @@ -18,7 +18,7 @@ limitations under the License. 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 97db93a5022..a1c9d1c4fdc 100644 --- a/backend/plugins/gh-copilot/api/blueprint_v200.go +++ b/backend/plugins/gh-copilot/api/blueprint_v200.go @@ -18,13 +18,13 @@ limitations under the License. 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 fe02f16d0cb..ae4ccc292e1 100644 --- a/backend/plugins/gh-copilot/api/connection.go +++ b/backend/plugins/gh-copilot/api/connection.go @@ -18,10 +18,10 @@ limitations under the License. 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 aa16ff6cfbf..b2fe23b9dbf 100644 --- a/backend/plugins/gh-copilot/api/connection_test.go +++ b/backend/plugins/gh-copilot/api/connection_test.go @@ -22,7 +22,7 @@ import ( "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 2cc920919df..a536cf7090e 100644 --- a/backend/plugins/gh-copilot/api/init.go +++ b/backend/plugins/gh-copilot/api/init.go @@ -20,10 +20,10 @@ package api 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 0ce2697f5ed..bf623e4b800 100644 --- a/backend/plugins/gh-copilot/api/remote_api.go +++ b/backend/plugins/gh-copilot/api/remote_api.go @@ -22,11 +22,11 @@ import ( "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 dbd8cca59b1..be17f28052c 100644 --- a/backend/plugins/gh-copilot/api/scope.go +++ b/backend/plugins/gh-copilot/api/scope.go @@ -18,11 +18,11 @@ limitations under the License. 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 7184652191d..7d6bdc59d73 100644 --- a/backend/plugins/gh-copilot/api/scope_config.go +++ b/backend/plugins/gh-copilot/api/scope_config.go @@ -18,8 +18,8 @@ limitations under the License. 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 3dedc859a67..7ad85953ef6 100644 --- a/backend/plugins/gh-copilot/api/test_connection.go +++ b/backend/plugins/gh-copilot/api/test_connection.go @@ -21,11 +21,11 @@ import ( "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 c4de27e9f04..47328ad2c94 100644 --- a/backend/plugins/gh-copilot/copilot.go +++ b/backend/plugins/gh-copilot/copilot.go @@ -18,8 +18,8 @@ limitations under the License. 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 2f339f95d16..4d0d1e4102c 100644 --- a/backend/plugins/gh-copilot/e2e/metrics_test.go +++ b/backend/plugins/gh-copilot/e2e/metrics_test.go @@ -21,14 +21,14 @@ import ( "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 aefcd1ba6a4..3d8224525ec 100644 --- a/backend/plugins/gh-copilot/impl/impl.go +++ b/backend/plugins/gh-copilot/impl/impl.go @@ -18,16 +18,16 @@ limitations under the License. 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) MakeDataSourcePipelinePlanV200( } 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 015196c8a80..93f05459d60 100644 --- a/backend/plugins/gh-copilot/impl/options.go +++ b/backend/plugins/gh-copilot/impl/options.go @@ -17,7 +17,7 @@ limitations under the License. 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 676d06b4f85..611afdeea39 100644 --- a/backend/plugins/gh-copilot/models/connection.go +++ b/backend/plugins/gh-copilot/models/connection.go @@ -21,9 +21,9 @@ import ( "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 c10814000ce..2e283eae975 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 @@ limitations under the License. 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 967e3ecd326..8263b156f47 100644 --- a/backend/plugins/gh-copilot/models/enterprise_metrics.go +++ b/backend/plugins/gh-copilot/models/enterprise_metrics.go @@ -20,7 +20,7 @@ package models 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 c183abd8309..cb0639c3f9e 100644 --- a/backend/plugins/gh-copilot/models/language_metrics.go +++ b/backend/plugins/gh-copilot/models/language_metrics.go @@ -20,7 +20,7 @@ package models 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 53dee4fbcb2..8564ca4bdd5 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 @@ package migrationscripts 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 e5e98e15b5d..03d8e56d7a3 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 @@ package migrationscripts 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 2a921912d6d..135b84b65c9 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 @@ package migrationscripts 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 69df2c0b620..471525e8c91 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 @@ package migrationscripts 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 4bd77391f1a..4369c48521a 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 @@ package migrationscripts 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 6da416668a1..661ed18b93f 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 @@ package migrationscripts 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 7ede2b680d8..461ab74cd5f 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 @@ package migrationscripts 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 d868be69084..e98579fb487 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 @@ limitations under the License. package migrationscripts import ( - "github.com/apache/incubator-devlake/core/context" - "github.com/apache/incubator-devlake/core/errors" - "github.com/apache/incubator-devlake/core/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 f676b0e4bee..61e37a9423d 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 @@ package migrationscripts 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 e968fb0dcfd..e569ceaaa75 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 @@ package migrationscripts 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 3365e9653de..dbe1703746d 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 @@ limitations under the License. package migrationscripts import ( - "github.com/apache/incubator-devlake/core/context" - "github.com/apache/incubator-devlake/core/errors" - "github.com/apache/incubator-devlake/core/models/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 8f190264618..ac4a797f7de 100644 --- a/backend/plugins/gh-copilot/models/migrationscripts/register.go +++ b/backend/plugins/gh-copilot/models/migrationscripts/register.go @@ -17,7 +17,7 @@ limitations under the License. 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 814e45f4a51..7504c5631fb 100644 --- a/backend/plugins/gh-copilot/models/models.go +++ b/backend/plugins/gh-copilot/models/models.go @@ -17,7 +17,7 @@ limitations under the License. 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 2e079f88f4d..abe0ad4fdef 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 @@ limitations under the License. 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 22401c80e35..68b0a03bbf7 100644 --- a/backend/plugins/gh-copilot/models/org_metrics.go +++ b/backend/plugins/gh-copilot/models/org_metrics.go @@ -20,7 +20,7 @@ package models 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 426f30169a2..a049f09825e 100644 --- a/backend/plugins/gh-copilot/models/scope.go +++ b/backend/plugins/gh-copilot/models/scope.go @@ -21,8 +21,8 @@ import ( "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 2618b87e5c1..8cea669fd3d 100644 --- a/backend/plugins/gh-copilot/models/scope_config.go +++ b/backend/plugins/gh-copilot/models/scope_config.go @@ -20,8 +20,8 @@ package models 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 d65c80f2e30..5db1760bd3c 100644 --- a/backend/plugins/gh-copilot/models/seat.go +++ b/backend/plugins/gh-copilot/models/seat.go @@ -20,7 +20,7 @@ package models 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 cb1ef2a6089..e861ca9e9f6 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 @@ limitations under the License. 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 0a16b3bce82..9e277f8e183 100644 --- a/backend/plugins/gh-copilot/models/user_metrics.go +++ b/backend/plugins/gh-copilot/models/user_metrics.go @@ -20,7 +20,7 @@ package models 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 d04d55ac56f..8e388171ca9 100644 --- a/backend/plugins/gh-copilot/models/user_team.go +++ b/backend/plugins/gh-copilot/models/user_team.go @@ -20,7 +20,7 @@ package models 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 8891476020f..53610324f64 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 @@ import ( "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 f9dd4d75b3a..b4b21ce79b6 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 @@ import ( "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 7d372db2629..8fb75f23e4c 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 @@ import ( "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 1a58eb65b2e..b34a456a1cb 100644 --- a/backend/plugins/gh-copilot/tasks/api_client.go +++ b/backend/plugins/gh-copilot/tasks/api_client.go @@ -21,11 +21,11 @@ import ( "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 51485ad2ed0..172218ca3cd 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 @@ import ( "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 e153d59c948..be460d5ebc0 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 @@ import ( "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 e98a3c4f0e5..bf01ae64975 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 @@ import ( "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 2280013307b..e11d2b7a6f5 100644 --- a/backend/plugins/gh-copilot/tasks/github_errors.go +++ b/backend/plugins/gh-copilot/tasks/github_errors.go @@ -23,7 +23,7 @@ import ( "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 88214af6db6..5d478cd83a7 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 @@ import ( "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 d89eababde6..4dcc82e0641 100644 --- a/backend/plugins/gh-copilot/tasks/metrics_extractor.go +++ b/backend/plugins/gh-copilot/tasks/metrics_extractor.go @@ -21,10 +21,10 @@ import ( "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 c75ce7b6ce6..59883a390b8 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 @@ import ( "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 23d592304e9..bfd3ac30796 100644 --- a/backend/plugins/gh-copilot/tasks/register.go +++ b/backend/plugins/gh-copilot/tasks/register.go @@ -17,7 +17,7 @@ limitations under the License. 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 280e418e30c..9d3f2882b0b 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 @@ import ( "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 546a0e30abc..fba53414bcc 100644 --- a/backend/plugins/gh-copilot/tasks/seat_collector.go +++ b/backend/plugins/gh-copilot/tasks/seat_collector.go @@ -24,9 +24,9 @@ import ( "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 1a1b6b13518..679cb3d93f8 100644 --- a/backend/plugins/gh-copilot/tasks/seat_extractor.go +++ b/backend/plugins/gh-copilot/tasks/seat_extractor.go @@ -21,10 +21,10 @@ import ( "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 69255287026..50fdf05dbb5 100644 --- a/backend/plugins/gh-copilot/tasks/subtasks.go +++ b/backend/plugins/gh-copilot/tasks/subtasks.go @@ -18,7 +18,7 @@ limitations under the License. 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 59b92fe96e3..d6726b5058d 100644 --- a/backend/plugins/gh-copilot/tasks/task_data.go +++ b/backend/plugins/gh-copilot/tasks/task_data.go @@ -17,7 +17,7 @@ limitations under the License. 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 d24db69f411..28ceed12e10 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 @@ import ( "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 7671fab86a9..a4f155072b2 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 @@ import ( "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 dc3287e5c5b..669fa527b62 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 @@ import ( "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 72a3de8abe9..e67ba3f642a 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 @@ import ( "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 4677aa65ca5..aa8857f885d 100644 --- a/backend/plugins/gitee/api/connection.go +++ b/backend/plugins/gitee/api/connection.go @@ -21,12 +21,12 @@ import ( "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 1da6ff4141e..7fa365483ca 100644 --- a/backend/plugins/gitee/api/init.go +++ b/backend/plugins/gitee/api/init.go @@ -18,9 +18,9 @@ limitations under the License. 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 06073400248..59b671f15ed 100644 --- a/backend/plugins/gitee/gitee.go +++ b/backend/plugins/gitee/gitee.go @@ -18,8 +18,8 @@ limitations under the License. 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 b31ec5bb7a0..079d719b697 100644 --- a/backend/plugins/gitee/impl/impl.go +++ b/backend/plugins/gitee/impl/impl.go @@ -20,15 +20,15 @@ package impl 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) PrepareTaskData(taskCtx plugin.TaskContext, options map[string]in } 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 900871c936c..ea2046ba008 100644 --- a/backend/plugins/gitee/models/account.go +++ b/backend/plugins/gitee/models/account.go @@ -18,7 +18,7 @@ limitations under the License. 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 b86fbd0ad93..153e025c2aa 100644 --- a/backend/plugins/gitee/models/commit.go +++ b/backend/plugins/gitee/models/commit.go @@ -18,7 +18,7 @@ limitations under the License. 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 99a915cd89a..536cdc8eec5 100644 --- a/backend/plugins/gitee/models/commit_stats.go +++ b/backend/plugins/gitee/models/commit_stats.go @@ -18,7 +18,7 @@ limitations under the License. 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 b8687849a08..30cab7698c1 100644 --- a/backend/plugins/gitee/models/connection.go +++ b/backend/plugins/gitee/models/connection.go @@ -18,11 +18,11 @@ limitations under the License. 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 60211dcf9fe..44a493a3ac4 100644 --- a/backend/plugins/gitee/models/issue.go +++ b/backend/plugins/gitee/models/issue.go @@ -20,7 +20,7 @@ package models 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 06ff0937bb1..630dd6ecfe8 100644 --- a/backend/plugins/gitee/models/issue_comment.go +++ b/backend/plugins/gitee/models/issue_comment.go @@ -18,7 +18,7 @@ limitations under the License. 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 a2cd6e5bf73..3b3a512a3c0 100644 --- a/backend/plugins/gitee/models/issue_label.go +++ b/backend/plugins/gitee/models/issue_label.go @@ -18,7 +18,7 @@ limitations under the License. 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 a5299d6cec9..d61bd95add5 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 @@ limitations under the License. package migrationscripts import ( - "github.com/apache/incubator-devlake/core/context" - "github.com/apache/incubator-devlake/core/errors" - "github.com/apache/incubator-devlake/core/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 42fa84e72ea..013a4a2662c 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 @@ package migrationscripts 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 1b7a8dba2ab..3b0d446842a 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 @@ limitations under the License. package migrationscripts import ( - "github.com/apache/incubator-devlake/core/context" - "github.com/apache/incubator-devlake/core/errors" - "github.com/apache/incubator-devlake/core/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 47eb0a1856b..8655b0acfd2 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 @@ limitations under the License. package migrationscripts import ( - "github.com/apache/incubator-devlake/core/context" - "github.com/apache/incubator-devlake/core/errors" - "github.com/apache/incubator-devlake/core/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 181d9d882fb..82a6322c922 100644 --- a/backend/plugins/gitee/models/migrationscripts/archived/account.go +++ b/backend/plugins/gitee/models/migrationscripts/archived/account.go @@ -18,7 +18,7 @@ limitations under the License. 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 480221239e8..5ab16d837b3 100644 --- a/backend/plugins/gitee/models/migrationscripts/archived/commit.go +++ b/backend/plugins/gitee/models/migrationscripts/archived/commit.go @@ -18,7 +18,7 @@ limitations under the License. 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 fa167946a8e..cd5e6f0d10a 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 @@ limitations under the License. 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 14370ed586a..8ba98762e4a 100644 --- a/backend/plugins/gitee/models/migrationscripts/archived/connection.go +++ b/backend/plugins/gitee/models/migrationscripts/archived/connection.go @@ -18,7 +18,7 @@ limitations under the License. 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 9a41368db5c..57ad1c42f00 100644 --- a/backend/plugins/gitee/models/migrationscripts/archived/issue.go +++ b/backend/plugins/gitee/models/migrationscripts/archived/issue.go @@ -18,7 +18,7 @@ limitations under the License. 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 37a3d16a72f..174a25e46ed 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 @@ limitations under the License. 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 d0c825c0bf3..b637a46ad8a 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 @@ limitations under the License. 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 075ce7053ac..27eda26efde 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 @@ limitations under the License. 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 da51148af8a..34c1321eda1 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 @@ limitations under the License. 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 efc29b797a3..e4617620ac9 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 @@ limitations under the License. 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 c3104b826b9..e856ebf76f2 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 @@ limitations under the License. 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 c083b2b117e..549e14972c5 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 @@ limitations under the License. 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 0da0ab84632..369179b7feb 100644 --- a/backend/plugins/gitee/models/migrationscripts/archived/repo.go +++ b/backend/plugins/gitee/models/migrationscripts/archived/repo.go @@ -18,7 +18,7 @@ limitations under the License. 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 5f4bcbc03e7..63e5fd4c46f 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 @@ limitations under the License. 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 49513b96e7f..4f85d7d9518 100644 --- a/backend/plugins/gitee/models/migrationscripts/archived/reviewer.go +++ b/backend/plugins/gitee/models/migrationscripts/archived/reviewer.go @@ -18,7 +18,7 @@ limitations under the License. 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 e089a9beccc..9bd9fd6eca5 100644 --- a/backend/plugins/gitee/models/migrationscripts/register.go +++ b/backend/plugins/gitee/models/migrationscripts/register.go @@ -18,7 +18,7 @@ limitations under the License. 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 c46e0f85989..65fb1130b96 100644 --- a/backend/plugins/gitee/models/pull_request.go +++ b/backend/plugins/gitee/models/pull_request.go @@ -18,7 +18,7 @@ limitations under the License. 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 e52806e1148..7d7d350581e 100644 --- a/backend/plugins/gitee/models/pull_request_comment.go +++ b/backend/plugins/gitee/models/pull_request_comment.go @@ -18,7 +18,7 @@ limitations under the License. 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 2ea46e49a74..58ab2d62bd7 100644 --- a/backend/plugins/gitee/models/pull_request_commit.go +++ b/backend/plugins/gitee/models/pull_request_commit.go @@ -18,7 +18,7 @@ limitations under the License. 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 36e28f74d18..058f18c854e 100644 --- a/backend/plugins/gitee/models/pull_request_issue.go +++ b/backend/plugins/gitee/models/pull_request_issue.go @@ -18,7 +18,7 @@ limitations under the License. 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 973e7f013a0..fe8cac5fad9 100644 --- a/backend/plugins/gitee/models/pull_request_label.go +++ b/backend/plugins/gitee/models/pull_request_label.go @@ -18,7 +18,7 @@ limitations under the License. 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 1229567aee9..218d7b9df16 100644 --- a/backend/plugins/gitee/models/repo.go +++ b/backend/plugins/gitee/models/repo.go @@ -22,8 +22,8 @@ import ( "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 19387769199..e594cefffbf 100644 --- a/backend/plugins/gitee/models/repo_commit.go +++ b/backend/plugins/gitee/models/repo_commit.go @@ -18,7 +18,7 @@ limitations under the License. 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 b5caaf19b51..9926a37addf 100644 --- a/backend/plugins/gitee/models/reviewer.go +++ b/backend/plugins/gitee/models/reviewer.go @@ -18,7 +18,7 @@ limitations under the License. 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 14e47f09d58..3645c2ca55e 100644 --- a/backend/plugins/gitee/tasks/account_convertor.go +++ b/backend/plugins/gitee/tasks/account_convertor.go @@ -18,14 +18,14 @@ limitations under the License. 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 adc33d2cd5f..99c4608d0ee 100644 --- a/backend/plugins/gitee/tasks/api_client.go +++ b/backend/plugins/gitee/tasks/api_client.go @@ -22,10 +22,10 @@ import ( "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 cb071e6bd4a..80e284b0f76 100644 --- a/backend/plugins/gitee/tasks/commit_collector.go +++ b/backend/plugins/gitee/tasks/commit_collector.go @@ -18,11 +18,11 @@ limitations under the License. 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 5d02ba89822..4133f7d38c4 100644 --- a/backend/plugins/gitee/tasks/commit_convertor.go +++ b/backend/plugins/gitee/tasks/commit_convertor.go @@ -18,13 +18,13 @@ limitations under the License. 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 842550fac3d..9b4c56d7e92 100644 --- a/backend/plugins/gitee/tasks/commit_extractor.go +++ b/backend/plugins/gitee/tasks/commit_extractor.go @@ -20,11 +20,11 @@ package tasks 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 acd1d049a8d..89ff1ae41f2 100644 --- a/backend/plugins/gitee/tasks/commit_stats_collector.go +++ b/backend/plugins/gitee/tasks/commit_stats_collector.go @@ -20,11 +20,11 @@ package tasks 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 cc2ea8d605a..4266d80aac3 100644 --- a/backend/plugins/gitee/tasks/commit_stats_extractor.go +++ b/backend/plugins/gitee/tasks/commit_stats_extractor.go @@ -20,12 +20,12 @@ package tasks 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 9c90f0bee3b..ec15da597d3 100644 --- a/backend/plugins/gitee/tasks/issue_collector.go +++ b/backend/plugins/gitee/tasks/issue_collector.go @@ -20,11 +20,11 @@ package tasks 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 7b7f1deb104..963c8b823ee 100644 --- a/backend/plugins/gitee/tasks/issue_comment_collector.go +++ b/backend/plugins/gitee/tasks/issue_comment_collector.go @@ -19,11 +19,11 @@ package tasks 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 d769511913a..5aca5a56afe 100644 --- a/backend/plugins/gitee/tasks/issue_comment_convertor.go +++ b/backend/plugins/gitee/tasks/issue_comment_convertor.go @@ -20,14 +20,14 @@ package tasks 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 91d076bb25b..2cfe4cb4f60 100644 --- a/backend/plugins/gitee/tasks/issue_comment_extractor.go +++ b/backend/plugins/gitee/tasks/issue_comment_extractor.go @@ -20,12 +20,12 @@ package tasks 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 0662c3e9797..d40c2069864 100644 --- a/backend/plugins/gitee/tasks/issue_convertor.go +++ b/backend/plugins/gitee/tasks/issue_convertor.go @@ -20,14 +20,14 @@ package tasks 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 93ee490b311..c1a922cdf6f 100644 --- a/backend/plugins/gitee/tasks/issue_extractor.go +++ b/backend/plugins/gitee/tasks/issue_extractor.go @@ -21,12 +21,12 @@ import ( "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 db6619183c6..cf6b13a4737 100644 --- a/backend/plugins/gitee/tasks/issue_label_convertor.go +++ b/backend/plugins/gitee/tasks/issue_label_convertor.go @@ -18,13 +18,13 @@ limitations under the License. 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 b2b81dbc697..2f94f17196a 100644 --- a/backend/plugins/gitee/tasks/pr_collector.go +++ b/backend/plugins/gitee/tasks/pr_collector.go @@ -20,11 +20,11 @@ package tasks 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 445ac5c1ba6..435fb17b02b 100644 --- a/backend/plugins/gitee/tasks/pr_comment_convertor.go +++ b/backend/plugins/gitee/tasks/pr_comment_convertor.go @@ -18,14 +18,14 @@ limitations under the License. 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 b3ade20e066..18ba08f0719 100644 --- a/backend/plugins/gitee/tasks/pr_commit_collector.go +++ b/backend/plugins/gitee/tasks/pr_commit_collector.go @@ -20,11 +20,11 @@ package tasks 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 50e973001ce..ac0ac6d6d98 100644 --- a/backend/plugins/gitee/tasks/pr_commit_convertor.go +++ b/backend/plugins/gitee/tasks/pr_commit_convertor.go @@ -18,13 +18,13 @@ limitations under the License. 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 6fff99241e7..c34d49b597e 100644 --- a/backend/plugins/gitee/tasks/pr_commit_extractor.go +++ b/backend/plugins/gitee/tasks/pr_commit_extractor.go @@ -21,11 +21,11 @@ import ( "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 ff03afe23e7..4940f4a431f 100644 --- a/backend/plugins/gitee/tasks/pr_convertor.go +++ b/backend/plugins/gitee/tasks/pr_convertor.go @@ -18,14 +18,14 @@ limitations under the License. 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 94b84c271e6..c58a15d7aff 100644 --- a/backend/plugins/gitee/tasks/pr_extractor.go +++ b/backend/plugins/gitee/tasks/pr_extractor.go @@ -21,11 +21,11 @@ import ( "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 962d3665204..e289c9d5f0e 100644 --- a/backend/plugins/gitee/tasks/pr_issue_convertor.go +++ b/backend/plugins/gitee/tasks/pr_issue_convertor.go @@ -18,13 +18,13 @@ limitations under the License. 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 665ecb21528..48e6cc15e25 100644 --- a/backend/plugins/gitee/tasks/pr_issue_enricher.go +++ b/backend/plugins/gitee/tasks/pr_issue_enricher.go @@ -23,11 +23,11 @@ import ( "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 1d284da06aa..f2d9625bc30 100644 --- a/backend/plugins/gitee/tasks/pr_label_convertor.go +++ b/backend/plugins/gitee/tasks/pr_label_convertor.go @@ -18,13 +18,13 @@ limitations under the License. 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 958e0f31c5f..170ce433acd 100644 --- a/backend/plugins/gitee/tasks/pr_review_collector.go +++ b/backend/plugins/gitee/tasks/pr_review_collector.go @@ -20,11 +20,11 @@ package tasks 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 63d4b5076d5..f0594da0f68 100644 --- a/backend/plugins/gitee/tasks/pr_review_extractor.go +++ b/backend/plugins/gitee/tasks/pr_review_extractor.go @@ -21,11 +21,11 @@ import ( "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 5c7337c9f2a..a5c44cb3bc6 100644 --- a/backend/plugins/gitee/tasks/repo_collector.go +++ b/backend/plugins/gitee/tasks/repo_collector.go @@ -20,9 +20,9 @@ package tasks 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 ef318e38c4e..581effb1f60 100644 --- a/backend/plugins/gitee/tasks/repo_convertor.go +++ b/backend/plugins/gitee/tasks/repo_convertor.go @@ -19,16 +19,16 @@ package tasks 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 df8869c99b9..0e4bf0ccabf 100644 --- a/backend/plugins/gitee/tasks/repo_extractor.go +++ b/backend/plugins/gitee/tasks/repo_extractor.go @@ -21,11 +21,11 @@ import ( "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 f5d4ddceb21..ebb24fea839 100644 --- a/backend/plugins/gitee/tasks/shared.go +++ b/backend/plugins/gitee/tasks/shared.go @@ -27,10 +27,10 @@ import ( "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 aa551fbc369..a6757a190a2 100644 --- a/backend/plugins/gitee/tasks/task_data.go +++ b/backend/plugins/gitee/tasks/task_data.go @@ -20,9 +20,9 @@ package tasks 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 4a6e2f3f27b..67e0b7f0f2a 100644 --- a/backend/plugins/gitextractor/gitextractor.go +++ b/backend/plugins/gitextractor/gitextractor.go @@ -18,8 +18,8 @@ limitations under the License. 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 18d2054bad3..d0f763489af 100644 --- a/backend/plugins/gitextractor/impl/impl.go +++ b/backend/plugins/gitextractor/impl/impl.go @@ -21,12 +21,12 @@ import ( "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) Close(taskCtx plugin.TaskContext) errors.Error { } 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 0a228de8341..a2342db2850 100644 --- a/backend/plugins/gitextractor/models/interface.go +++ b/backend/plugins/gitextractor/models/interface.go @@ -18,8 +18,8 @@ limitations under the License. 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 fcd176faa02..5549e03490b 100644 --- a/backend/plugins/gitextractor/parser/clone.go +++ b/backend/plugins/gitextractor/parser/clone.go @@ -18,7 +18,7 @@ limitations under the License. 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 9d0ac2ed27a..3b5c9450b1d 100644 --- a/backend/plugins/gitextractor/parser/clone_gitcli.go +++ b/backend/plugins/gitextractor/parser/clone_gitcli.go @@ -27,10 +27,10 @@ import ( "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) fullClone() errors.Error { } 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 87aaa8baf5a..107ccc2faf0 100644 --- a/backend/plugins/gitextractor/parser/repo.go +++ b/backend/plugins/gitextractor/parser/repo.go @@ -20,7 +20,7 @@ package parser 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 29deef315fb..fe254e85935 100644 --- a/backend/plugins/gitextractor/parser/repo_gogit.go +++ b/backend/plugins/gitextractor/parser/repo_gogit.go @@ -25,13 +25,13 @@ import ( "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 f01890672e1..ad9b515b4bf 100644 --- a/backend/plugins/gitextractor/parser/repo_libgit2.go +++ b/backend/plugins/gitextractor/parser/repo_libgit2.go @@ -27,13 +27,13 @@ import ( "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 982485aea6e..1cd4fef02ed 100644 --- a/backend/plugins/gitextractor/store/csv.go +++ b/backend/plugins/gitextractor/store/csv.go @@ -20,8 +20,8 @@ package store 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 733aaf43ba4..6e6baa5345e 100644 --- a/backend/plugins/gitextractor/store/csv_test.go +++ b/backend/plugins/gitextractor/store/csv_test.go @@ -18,7 +18,7 @@ limitations under the License. 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 c795179ec1f..f5e82d1a4b9 100644 --- a/backend/plugins/gitextractor/store/database.go +++ b/backend/plugins/gitextractor/store/database.go @@ -20,13 +20,13 @@ package store 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 d4efd278d9d..76013e28e96 100644 --- a/backend/plugins/gitextractor/tasks/repo_cloner.go +++ b/backend/plugins/gitextractor/tasks/repo_cloner.go @@ -20,10 +20,10 @@ package tasks 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 42da505519f..f297cb11348 100644 --- a/backend/plugins/gitextractor/tasks/repo_collector.go +++ b/backend/plugins/gitextractor/tasks/repo_collector.go @@ -18,9 +18,9 @@ limitations under the License. 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 1af333cb253..031c53ff3c1 100644 --- a/backend/plugins/github/api/blueprint_v200.go +++ b/backend/plugins/github/api/blueprint_v200.go @@ -26,19 +26,19 @@ import ( "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 f09c8def814..aefd2d83529 100644 --- a/backend/plugins/github/api/connection_api.go +++ b/backend/plugins/github/api/connection_api.go @@ -25,11 +25,11 @@ import ( "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 0951a7de5cd..47788d94052 100644 --- a/backend/plugins/github/api/init.go +++ b/backend/plugins/github/api/init.go @@ -18,10 +18,10 @@ limitations under the License. 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 627f5b86df8..9bae7776afc 100644 --- a/backend/plugins/github/api/remote_api.go +++ b/backend/plugins/github/api/remote_api.go @@ -22,11 +22,11 @@ import ( "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 1ec03797795..bddf7d74c98 100644 --- a/backend/plugins/github/api/scope_api.go +++ b/backend/plugins/github/api/scope_api.go @@ -20,11 +20,11 @@ package api 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 b109341e771..298ea36c09b 100644 --- a/backend/plugins/github/api/scope_config_api.go +++ b/backend/plugins/github/api/scope_config_api.go @@ -18,8 +18,8 @@ limitations under the License. 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 e3cc2312b09..9038d645725 100644 --- a/backend/plugins/github/api/scope_duplicates_api.go +++ b/backend/plugins/github/api/scope_duplicates_api.go @@ -22,9 +22,9 @@ import ( "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 87cc33456e3..8dbd017f34d 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 @@ import ( "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 af1d416e145..5f4cc72f4f4 100644 --- a/backend/plugins/github/api/scope_state_api.go +++ b/backend/plugins/github/api/scope_state_api.go @@ -18,8 +18,8 @@ limitations under the License. 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 bf93d67ac8e..5bb8e3d5948 100644 --- a/backend/plugins/github/api/swagger.go +++ b/backend/plugins/github/api/swagger.go @@ -18,7 +18,7 @@ limitations under the License. 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 7b6466aba23..03f71ecb49d 100644 --- a/backend/plugins/github/e2e/account_test.go +++ b/backend/plugins/github/e2e/account_test.go @@ -20,13 +20,13 @@ package e2e 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 9e828961bd8..0121f260a1f 100644 --- a/backend/plugins/github/e2e/cicd_job_test.go +++ b/backend/plugins/github/e2e/cicd_job_test.go @@ -20,14 +20,14 @@ package e2e 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 750b22e5eab..b59da2cfaf7 100644 --- a/backend/plugins/github/e2e/cicd_run_test.go +++ b/backend/plugins/github/e2e/cicd_run_test.go @@ -20,14 +20,14 @@ package e2e 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 5be31ce3d6b..4bb5d72eefe 100644 --- a/backend/plugins/github/e2e/comment_test.go +++ b/backend/plugins/github/e2e/comment_test.go @@ -20,12 +20,12 @@ package e2e 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 60b2b946bcf..94c1c7a2639 100644 --- a/backend/plugins/github/e2e/commit_test.go +++ b/backend/plugins/github/e2e/commit_test.go @@ -18,7 +18,7 @@ limitations under the License. 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 90756ff2d31..38ae64f160c 100644 --- a/backend/plugins/github/e2e/event_test.go +++ b/backend/plugins/github/e2e/event_test.go @@ -20,11 +20,11 @@ package e2e 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 423d6a12afd..5a67d167ba5 100644 --- a/backend/plugins/github/e2e/issue_assignee_test.go +++ b/backend/plugins/github/e2e/issue_assignee_test.go @@ -18,14 +18,14 @@ limitations under the License. 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 63b98725521..d083c1a0eb2 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 @@ package e2e 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 7c001c9190e..0eb2f5638bd 100644 --- a/backend/plugins/github/e2e/issue_test.go +++ b/backend/plugins/github/e2e/issue_test.go @@ -20,11 +20,11 @@ package e2e 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 9e4672b60b0..83d7783ff54 100644 --- a/backend/plugins/github/e2e/milestone_test.go +++ b/backend/plugins/github/e2e/milestone_test.go @@ -20,11 +20,11 @@ package e2e 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 55d14b77bb2..98f030c7b65 100644 --- a/backend/plugins/github/e2e/pr_commit_test.go +++ b/backend/plugins/github/e2e/pr_commit_test.go @@ -20,11 +20,11 @@ package e2e 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 720391075ef..e262f76d219 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 @@ package e2e 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 b676497dafb..2cbc30cc548 100644 --- a/backend/plugins/github/e2e/pr_review_test.go +++ b/backend/plugins/github/e2e/pr_review_test.go @@ -21,12 +21,12 @@ import ( "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 8a9528045d3..196556fddd9 100644 --- a/backend/plugins/github/e2e/pr_test.go +++ b/backend/plugins/github/e2e/pr_test.go @@ -21,12 +21,12 @@ import ( "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 7628b90918f..491695a8884 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![image](https://user-images.githubusercontent.com/4555057/43823431-98384444-9b21-11e8-880c-7458b931734a.png)\r\n chinese periodicallyPurge chinese \r\n![image](https://user-images.githubusercontent.com/4555057/43823534-e3c624a8-9b21-11e8-96c6-512e3e08db22.png)\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 "",""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 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 "",""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![image](https://user-images.githubusercontent.com/4555057/43823431-98384444-9b21-11e8-880c-7458b931734a.png)\r\n chinese periodicallyPurge chinese \r\n![image](https://user-images.githubusercontent.com/4555057/43823534-e3c624a8-9b21-11e8-96c6-512e3e08db22.png)\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 "",""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 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 "",""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 51736b1ed74..e04cecec8c3 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 5ceccec09e0..66cefc88b1e 100644 --- a/backend/plugins/github/e2e/repo_test.go +++ b/backend/plugins/github/e2e/repo_test.go @@ -20,15 +20,15 @@ package e2e 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 bc656378be5..db946851d10 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 aa1907cae04..ef0f2d2dff9 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 70d2c783084..d9b803c6844 100644 --- a/backend/plugins/github/github.go +++ b/backend/plugins/github/github.go @@ -18,8 +18,8 @@ limitations under the License. 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 f012077d25d..575ad596d1b 100644 --- a/backend/plugins/github/impl/impl.go +++ b/backend/plugins/github/impl/impl.go @@ -21,19 +21,19 @@ import ( "fmt" "strings" - "github.com/apache/incubator-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/helpers/pluginhelper/subtaskmeta/sorter" + + "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) PrepareTaskData(taskCtx plugin.TaskContext, options map[string]i } 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 63af43b0956..8e46fe00cc0 100644 --- a/backend/plugins/github/impl/impl_test.go +++ b/backend/plugins/github/impl/impl_test.go @@ -20,8 +20,8 @@ package impl 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 7747eafb6c2..fdb22f54836 100644 --- a/backend/plugins/github/models/account.go +++ b/backend/plugins/github/models/account.go @@ -18,7 +18,7 @@ limitations under the License. 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 3b784e903e6..f2aa53651c5 100644 --- a/backend/plugins/github/models/account_org.go +++ b/backend/plugins/github/models/account_org.go @@ -18,7 +18,7 @@ limitations under the License. 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 75d94b65e3d..8d0355a839d 100644 --- a/backend/plugins/github/models/commit.go +++ b/backend/plugins/github/models/commit.go @@ -18,7 +18,7 @@ limitations under the License. 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 f6750d5c0b5..4bff671dd40 100644 --- a/backend/plugins/github/models/commit_stats.go +++ b/backend/plugins/github/models/commit_stats.go @@ -18,7 +18,7 @@ limitations under the License. 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 4489b70cb4a..f0cac2d4753 100644 --- a/backend/plugins/github/models/connection.go +++ b/backend/plugins/github/models/connection.go @@ -25,11 +25,11 @@ import ( "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 7d4c7467365..feddab69e91 100644 --- a/backend/plugins/github/models/connection_test.go +++ b/backend/plugins/github/models/connection_test.go @@ -18,8 +18,8 @@ limitations under the License. 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 ec459b61295..e6ac4472711 100644 --- a/backend/plugins/github/models/deployment.go +++ b/backend/plugins/github/models/deployment.go @@ -20,7 +20,7 @@ package models 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 004e89a28ce..99af51f393a 100644 --- a/backend/plugins/github/models/issue.go +++ b/backend/plugins/github/models/issue.go @@ -20,7 +20,7 @@ package models 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 4998198f47b..e9bccc5ec7c 100644 --- a/backend/plugins/github/models/issue_assignee.go +++ b/backend/plugins/github/models/issue_assignee.go @@ -17,7 +17,7 @@ limitations under the License. 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 fcf058b510d..dfd9060fa23 100644 --- a/backend/plugins/github/models/issue_comment.go +++ b/backend/plugins/github/models/issue_comment.go @@ -18,7 +18,7 @@ limitations under the License. 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 6712cfc168d..0173039012f 100644 --- a/backend/plugins/github/models/issue_event.go +++ b/backend/plugins/github/models/issue_event.go @@ -18,7 +18,7 @@ limitations under the License. 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 2679532f702..682807b71cf 100644 --- a/backend/plugins/github/models/issue_field_value.go +++ b/backend/plugins/github/models/issue_field_value.go @@ -18,7 +18,7 @@ limitations under the License. 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 700215a64ca..f3d9ba9147e 100644 --- a/backend/plugins/github/models/issue_label.go +++ b/backend/plugins/github/models/issue_label.go @@ -18,7 +18,7 @@ limitations under the License. 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 7dbc69f527e..6cae0ef0293 100644 --- a/backend/plugins/github/models/job.go +++ b/backend/plugins/github/models/job.go @@ -18,7 +18,7 @@ limitations under the License. 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 ff9a0f7fe22..dce8e29b17d 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 @@ limitations under the License. package migrationscripts import ( - "github.com/apache/incubator-devlake/core/context" - "github.com/apache/incubator-devlake/core/errors" - "github.com/apache/incubator-devlake/core/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 ce9034a4936..a8439e1feb2 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 @@ limitations under the License. package migrationscripts import ( - "github.com/apache/incubator-devlake/core/context" - "github.com/apache/incubator-devlake/core/errors" - "github.com/apache/incubator-devlake/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 0aaf07b612b..0f06f800900 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 @@ limitations under the License. package migrationscripts import ( - "github.com/apache/incubator-devlake/core/context" - "github.com/apache/incubator-devlake/core/errors" - "github.com/apache/incubator-devlake/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 390bfa99f9b..3b6c248d299 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 @@ limitations under the License. package migrationscripts import ( - "github.com/apache/incubator-devlake/core/context" - "github.com/apache/incubator-devlake/core/errors" - "github.com/apache/incubator-devlake/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 2d98bc3da28..38c781a60af 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 @@ limitations under the License. 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 eabd27f04ca..df055a04c6c 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 @@ limitations under the License. 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 013a2f1bd71..a0a8fe63374 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 @@ limitations under the License. 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 f9a35c9681c..1a3b429cd91 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 @@ limitations under the License. package migrationscripts import ( - "github.com/apache/incubator-devlake/core/context" - "github.com/apache/incubator-devlake/core/errors" - "github.com/apache/incubator-devlake/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 a822ba6fc8d..d85f0d5581d 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 @@ package migrationscripts 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 ddd6dd5a64c..9f0df0e3ebd 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 @@ limitations under the License. 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 f82afff0bc3..a35dfd9e251 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 @@ limitations under the License. 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 19488e3511a..20f463847a8 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 @@ limitations under the License. package migrationscripts import ( - "github.com/apache/incubator-devlake/core/context" - "github.com/apache/incubator-devlake/core/errors" - "github.com/apache/incubator-devlake/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 55161187015..569c7b4935e 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 @@ package migrationscripts 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 ca0b6c91287..a6270c2052a 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 @@ limitations under the License. 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 c1eaee16eb9..ec68cd83e6e 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 @@ limitations under the License. package migrationscripts import ( - "github.com/apache/incubator-devlake/core/context" - "github.com/apache/incubator-devlake/core/errors" - "github.com/apache/incubator-devlake/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 42abee3fc64..3b0bccdf3a7 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 @@ limitations under the License. package migrationscripts import ( - "github.com/apache/incubator-devlake/core/context" - "github.com/apache/incubator-devlake/core/errors" - "github.com/apache/incubator-devlake/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 1a460b2f911..f3a14ddda11 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 @@ limitations under the License. package migrationscripts import ( - "github.com/apache/incubator-devlake/core/context" - "github.com/apache/incubator-devlake/core/errors" - "github.com/apache/incubator-devlake/core/models/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 6a1034b2378..a1f2d90378b 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 @@ package migrationscripts 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 b9d42e5dec0..2c4028bbd7d 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 @@ 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 = (*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 82bc4c796cc..45c49b1aa4e 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 @@ limitations under the License. package migrationscripts import ( - "github.com/apache/incubator-devlake/core/context" - "github.com/apache/incubator-devlake/core/errors" - "github.com/apache/incubator-devlake/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 8be9249394e..76726299938 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 @@ package migrationscripts 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 43bc2efc828..e87fb6ac6ea 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 @@ limitations under the License. package migrationscripts import ( - "github.com/apache/incubator-devlake/core/context" - "github.com/apache/incubator-devlake/core/errors" - "github.com/apache/incubator-devlake/core/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 edeb1b2b846..d844806aeb1 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 @@ limitations under the License. package migrationscripts import ( - "github.com/apache/incubator-devlake/core/context" - "github.com/apache/incubator-devlake/core/errors" - "github.com/apache/incubator-devlake/core/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 4cd789f4e97..89b4b58cdc0 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 @@ limitations under the License. package migrationscripts import ( - "github.com/apache/incubator-devlake/core/context" - "github.com/apache/incubator-devlake/core/errors" - "github.com/apache/incubator-devlake/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 12dd37e6050..b5410b4a74e 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 @@ limitations under the License. package migrationscripts import ( - "github.com/apache/incubator-devlake/core/context" - "github.com/apache/incubator-devlake/core/errors" - "github.com/apache/incubator-devlake/core/models/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 40833eb403b..aaedf9a59e3 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 @@ limitations under the License. package migrationscripts import ( - "github.com/apache/incubator-devlake/core/context" - "github.com/apache/incubator-devlake/core/errors" - "github.com/apache/incubator-devlake/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 6c65eadb018..f6e44949140 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 @@ limitations under the License. package migrationscripts import ( - "github.com/apache/incubator-devlake/core/context" - "github.com/apache/incubator-devlake/core/errors" - "github.com/apache/incubator-devlake/core/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 af5a95a34ed..91af1fe7c94 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 @@ limitations under the License. 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 2525db66709..8475a059e9f 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 @@ limitations under the License. package migrationscripts import ( - "github.com/apache/incubator-devlake/core/context" - "github.com/apache/incubator-devlake/core/errors" - "github.com/apache/incubator-devlake/core/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 c31e30af92e..ad2954bd72b 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 @@ limitations under the License. package migrationscripts import ( - "github.com/apache/incubator-devlake/core/context" - "github.com/apache/incubator-devlake/core/errors" - "github.com/apache/incubator-devlake/core/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 43ea38034b1..6c8b7949db8 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 @@ limitations under the License. package migrationscripts import ( - "github.com/apache/incubator-devlake/core/context" - "github.com/apache/incubator-devlake/core/errors" - "github.com/apache/incubator-devlake/core/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 b2f826da388..077c4574577 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 @@ package migrationscripts 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 ff7b127fb09..753577a04a6 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 @@ package migrationscripts 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 cfc4337c528..383068c6273 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 @@ limitations under the License. package migrationscripts import ( - "github.com/apache/incubator-devlake/core/context" - "github.com/apache/incubator-devlake/core/errors" - "github.com/apache/incubator-devlake/core/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 f6480900f45..4b629c3f4b9 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 @@ limitations under the License. package migrationscripts import ( - "github.com/apache/incubator-devlake/core/context" - "github.com/apache/incubator-devlake/core/errors" - "github.com/apache/incubator-devlake/core/models/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 3ae32faf964..e9aaec2063e 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 @@ limitations under the License. package migrationscripts import ( - "github.com/apache/incubator-devlake/core/context" - "github.com/apache/incubator-devlake/core/errors" - "github.com/apache/incubator-devlake/core/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 8c979d4c82a..e3928530bf1 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 @@ import ( "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 5dd84da3867..22a0ab5a75e 100644 --- a/backend/plugins/github/models/migrationscripts/archived/account.go +++ b/backend/plugins/github/models/migrationscripts/archived/account.go @@ -18,7 +18,7 @@ limitations under the License. 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 5954554fba9..e6edfcd5af5 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 @@ limitations under the License. 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 53c69812316..6af56375d2b 100644 --- a/backend/plugins/github/models/migrationscripts/archived/commit.go +++ b/backend/plugins/github/models/migrationscripts/archived/commit.go @@ -18,7 +18,7 @@ limitations under the License. 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 02c09b4a954..43c45aafdb3 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 @@ limitations under the License. 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 35fd8c71e65..d43ce62b5df 100644 --- a/backend/plugins/github/models/migrationscripts/archived/connection.go +++ b/backend/plugins/github/models/migrationscripts/archived/connection.go @@ -18,7 +18,7 @@ limitations under the License. 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 4a27ed29a75..b2a6eb6c042 100644 --- a/backend/plugins/github/models/migrationscripts/archived/deployment.go +++ b/backend/plugins/github/models/migrationscripts/archived/deployment.go @@ -20,7 +20,7 @@ package archived 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 b3b24e5310c..53be3d0e883 100644 --- a/backend/plugins/github/models/migrationscripts/archived/issue.go +++ b/backend/plugins/github/models/migrationscripts/archived/issue.go @@ -18,7 +18,7 @@ limitations under the License. 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 7576ba54bbe..f24f078f90e 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 @@ limitations under the License. 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 0b771806e5f..f1170b91d9a 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 @@ limitations under the License. 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 aa5c448d047..e565e7747af 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 @@ limitations under the License. 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 e6995b2541b..93ee5190732 100644 --- a/backend/plugins/github/models/migrationscripts/archived/job.go +++ b/backend/plugins/github/models/migrationscripts/archived/job.go @@ -21,7 +21,7 @@ import ( "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 3513defbb77..aac6ca275e8 100644 --- a/backend/plugins/github/models/migrationscripts/archived/milestone.go +++ b/backend/plugins/github/models/migrationscripts/archived/milestone.go @@ -18,7 +18,7 @@ limitations under the License. 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 5db6a84e3a8..dbcddb0809c 100644 --- a/backend/plugins/github/models/migrationscripts/archived/pipeline.go +++ b/backend/plugins/github/models/migrationscripts/archived/pipeline.go @@ -18,7 +18,7 @@ limitations under the License. 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 32a2afbb92d..dbdae5b0900 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 @@ limitations under the License. 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 2cb663efd03..8509f313898 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 @@ limitations under the License. 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 5266f7d38e2..186243898eb 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 @@ limitations under the License. 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 4d81a4554ea..80750d61b1d 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 @@ limitations under the License. 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 8c17efdd19e..3799769a68c 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 @@ limitations under the License. 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 a99e7cd83ba..41b65ac8a25 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 @@ limitations under the License. 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 06c60ed9860..a8d2c4217ec 100644 --- a/backend/plugins/github/models/migrationscripts/archived/repo.go +++ b/backend/plugins/github/models/migrationscripts/archived/repo.go @@ -18,7 +18,7 @@ limitations under the License. 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 d1e5765ff78..3840e08651b 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 @@ limitations under the License. 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 1c159965897..92bfe0715c8 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 @@ limitations under the License. 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 3fe2b6838c2..c444871178d 100644 --- a/backend/plugins/github/models/migrationscripts/archived/reviewer.go +++ b/backend/plugins/github/models/migrationscripts/archived/reviewer.go @@ -18,7 +18,7 @@ limitations under the License. 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 47b1cd8a542..dcd4b63ff72 100644 --- a/backend/plugins/github/models/migrationscripts/archived/run.go +++ b/backend/plugins/github/models/migrationscripts/archived/run.go @@ -18,7 +18,7 @@ limitations under the License. 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 d8f8b90d49e..39aeba4cd54 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 @@ package archived 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 04a1fb5c93e..b5705c1d848 100644 --- a/backend/plugins/github/models/migrationscripts/register.go +++ b/backend/plugins/github/models/migrationscripts/register.go @@ -18,7 +18,7 @@ limitations under the License. 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 94a5aebd589..18c691ba329 100644 --- a/backend/plugins/github/models/milestone.go +++ b/backend/plugins/github/models/milestone.go @@ -20,7 +20,7 @@ package models 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 6ac45d179cd..3828597e24c 100644 --- a/backend/plugins/github/models/pr.go +++ b/backend/plugins/github/models/pr.go @@ -20,7 +20,7 @@ package models 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 b205634ae54..f612998cd88 100644 --- a/backend/plugins/github/models/pr_comment.go +++ b/backend/plugins/github/models/pr_comment.go @@ -18,7 +18,7 @@ limitations under the License. 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 f7b9e2665e2..8324c2a9b35 100644 --- a/backend/plugins/github/models/pr_commit.go +++ b/backend/plugins/github/models/pr_commit.go @@ -20,7 +20,7 @@ package models 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 50543d50381..b940005044b 100644 --- a/backend/plugins/github/models/pr_issue.go +++ b/backend/plugins/github/models/pr_issue.go @@ -18,7 +18,7 @@ limitations under the License. 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 3f5844cebed..99291deca64 100644 --- a/backend/plugins/github/models/pr_label.go +++ b/backend/plugins/github/models/pr_label.go @@ -18,7 +18,7 @@ limitations under the License. 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 905b87823e1..e6b5726fe10 100644 --- a/backend/plugins/github/models/pr_review.go +++ b/backend/plugins/github/models/pr_review.go @@ -18,7 +18,7 @@ limitations under the License. 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 5442f9fda67..a8ba49128cd 100644 --- a/backend/plugins/github/models/release.go +++ b/backend/plugins/github/models/release.go @@ -20,7 +20,7 @@ package models 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 98572ca15ef..02d3acd6001 100644 --- a/backend/plugins/github/models/repo.go +++ b/backend/plugins/github/models/repo.go @@ -21,8 +21,8 @@ import ( "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 0074aeed3c5..353f6b4cd55 100644 --- a/backend/plugins/github/models/repo_account.go +++ b/backend/plugins/github/models/repo_account.go @@ -18,7 +18,7 @@ limitations under the License. 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 528003fb0d7..449d6575893 100644 --- a/backend/plugins/github/models/repo_commit.go +++ b/backend/plugins/github/models/repo_commit.go @@ -18,7 +18,7 @@ limitations under the License. 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 7d82a88e649..7e8053f49e1 100644 --- a/backend/plugins/github/models/reviewer.go +++ b/backend/plugins/github/models/reviewer.go @@ -18,7 +18,7 @@ limitations under the License. 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 910c1fdbe57..6965fc7b5bb 100644 --- a/backend/plugins/github/models/run.go +++ b/backend/plugins/github/models/run.go @@ -20,7 +20,7 @@ package models 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 ae3fdf75c60..c06b67b51ea 100644 --- a/backend/plugins/github/models/scope_config.go +++ b/backend/plugins/github/models/scope_config.go @@ -18,8 +18,8 @@ limitations under the License. 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 3f2edf2e56f..cbb8e227299 100644 --- a/backend/plugins/github/tasks/account_collector.go +++ b/backend/plugins/github/tasks/account_collector.go @@ -23,11 +23,11 @@ import ( "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 310780fc7f6..9a85acf5bc7 100644 --- a/backend/plugins/github/tasks/account_convertor.go +++ b/backend/plugins/github/tasks/account_convertor.go @@ -20,15 +20,15 @@ package tasks 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 27500402b8a..26aa1c9d351 100644 --- a/backend/plugins/github/tasks/account_extractor.go +++ b/backend/plugins/github/tasks/account_extractor.go @@ -20,10 +20,10 @@ package tasks 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 9127b60d746..f04baf49b6c 100644 --- a/backend/plugins/github/tasks/account_org_collector.go +++ b/backend/plugins/github/tasks/account_org_collector.go @@ -23,11 +23,11 @@ import ( "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 91f9a7b8cfe..a40cd073953 100644 --- a/backend/plugins/github/tasks/account_org_extractor.go +++ b/backend/plugins/github/tasks/account_org_extractor.go @@ -20,10 +20,10 @@ package tasks 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 c0811c8f966..ef60312d34d 100644 --- a/backend/plugins/github/tasks/account_pre_extractor.go +++ b/backend/plugins/github/tasks/account_pre_extractor.go @@ -18,8 +18,8 @@ limitations under the License. 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 c5be8a0f22b..24df355d939 100644 --- a/backend/plugins/github/tasks/api_client.go +++ b/backend/plugins/github/tasks/api_client.go @@ -22,10 +22,10 @@ import ( "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 60780339ff7..670230d6ce9 100644 --- a/backend/plugins/github/tasks/cicd_job_collector.go +++ b/backend/plugins/github/tasks/cicd_job_collector.go @@ -24,11 +24,11 @@ import ( "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 2dcfbce37fc..c2530f32564 100644 --- a/backend/plugins/github/tasks/cicd_job_convertor.go +++ b/backend/plugins/github/tasks/cicd_job_convertor.go @@ -18,14 +18,14 @@ limitations under the License. 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 @@ func ConvertJobs(taskCtx plugin.SubTaskContext) (err errors.Error) { 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 715e2c8ab79..56f56f186b0 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 @@ import ( "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 GenJobID() { 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 6cfab02f3cf..710f0d55927 100644 --- a/backend/plugins/github/tasks/cicd_job_extractor.go +++ b/backend/plugins/github/tasks/cicd_job_extractor.go @@ -20,11 +20,11 @@ package tasks 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 9359b98de61..fe19da43eaf 100644 --- a/backend/plugins/github/tasks/cicd_run_collector.go +++ b/backend/plugins/github/tasks/cicd_run_collector.go @@ -24,12 +24,12 @@ import ( "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 a7a12abe6b9..c131c6cc6b4 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 @@ import ( "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 @@ func TestCicdRunRegisterCollectorForLeafWindows_SingleDelete(t *testing.T) { 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 69911482e47..62f6a355a4f 100644 --- a/backend/plugins/github/tasks/cicd_run_convertor.go +++ b/backend/plugins/github/tasks/cicd_run_convertor.go @@ -20,14 +20,14 @@ package tasks 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 3a474c64c02..782bbc444ea 100644 --- a/backend/plugins/github/tasks/cicd_run_extractor.go +++ b/backend/plugins/github/tasks/cicd_run_extractor.go @@ -18,11 +18,11 @@ limitations under the License. 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 303ecf7b1f7..9bd06041406 100644 --- a/backend/plugins/github/tasks/comment_collector.go +++ b/backend/plugins/github/tasks/comment_collector.go @@ -24,9 +24,9 @@ import ( "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 c383e532e9c..b94bf414e52 100644 --- a/backend/plugins/github/tasks/comment_extractor.go +++ b/backend/plugins/github/tasks/comment_extractor.go @@ -20,13 +20,13 @@ package tasks 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 3376f248665..9ea52fe364c 100644 --- a/backend/plugins/github/tasks/commit_collector.go +++ b/backend/plugins/github/tasks/commit_collector.go @@ -24,9 +24,9 @@ import ( "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 14448d48b1c..29d7bd483ef 100644 --- a/backend/plugins/github/tasks/commit_convertor.go +++ b/backend/plugins/github/tasks/commit_convertor.go @@ -18,13 +18,13 @@ limitations under the License. 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 72a29454dac..ccd4aadf23f 100644 --- a/backend/plugins/github/tasks/commit_extractor.go +++ b/backend/plugins/github/tasks/commit_extractor.go @@ -18,11 +18,11 @@ limitations under the License. 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 0514a30963c..81d20d673af 100644 --- a/backend/plugins/github/tasks/commit_stats_collector.go +++ b/backend/plugins/github/tasks/commit_stats_collector.go @@ -25,11 +25,11 @@ import ( "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 431f2d28ea1..76519c2bffe 100644 --- a/backend/plugins/github/tasks/commit_stats_extractor.go +++ b/backend/plugins/github/tasks/commit_stats_extractor.go @@ -18,12 +18,12 @@ limitations under the License. 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 ea192ee7171..d22bf0fa9f9 100644 --- a/backend/plugins/github/tasks/event_collector.go +++ b/backend/plugins/github/tasks/event_collector.go @@ -26,12 +26,12 @@ import ( "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 01b5495be3e..81d8232e413 100644 --- a/backend/plugins/github/tasks/event_extractor.go +++ b/backend/plugins/github/tasks/event_extractor.go @@ -18,11 +18,11 @@ limitations under the License. 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 33ef6a3df6b..dbcd02221c1 100644 --- a/backend/plugins/github/tasks/http_client.go +++ b/backend/plugins/github/tasks/http_client.go @@ -20,10 +20,10 @@ package tasks 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 f632db8a6df..cf06342e8ab 100644 --- a/backend/plugins/github/tasks/issue_assignee_convertor.go +++ b/backend/plugins/github/tasks/issue_assignee_convertor.go @@ -18,13 +18,13 @@ limitations under the License. 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 4b38d4be684..2e691a5bc35 100644 --- a/backend/plugins/github/tasks/issue_collector.go +++ b/backend/plugins/github/tasks/issue_collector.go @@ -24,9 +24,9 @@ import ( "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 2510e32d2d6..80180b3e015 100644 --- a/backend/plugins/github/tasks/issue_comment_convertor.go +++ b/backend/plugins/github/tasks/issue_comment_convertor.go @@ -18,14 +18,14 @@ limitations under the License. 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 2cb60d1ff66..8184c1343b1 100644 --- a/backend/plugins/github/tasks/issue_convertor.go +++ b/backend/plugins/github/tasks/issue_convertor.go @@ -21,14 +21,14 @@ import ( "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 43a276f3e58..2f7771216f5 100644 --- a/backend/plugins/github/tasks/issue_extractor.go +++ b/backend/plugins/github/tasks/issue_extractor.go @@ -22,13 +22,13 @@ import ( "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 aee0901a268..56b1bbc729a 100644 --- a/backend/plugins/github/tasks/issue_field_mapping.go +++ b/backend/plugins/github/tasks/issue_field_mapping.go @@ -22,11 +22,11 @@ import ( "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 6c159bf245f..9b6f4446bfe 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 @@ import ( "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 17211911a85..672f3674f8d 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 @@ import ( "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 4ec955df8bd..49f9da058ff 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 @@ import ( "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 6ef940b0601..80e2bffc2b4 100644 --- a/backend/plugins/github/tasks/issue_label_convertor.go +++ b/backend/plugins/github/tasks/issue_label_convertor.go @@ -18,13 +18,13 @@ limitations under the License. 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 9e60431ce9d..a16a4231be2 100644 --- a/backend/plugins/github/tasks/milestone_collector.go +++ b/backend/plugins/github/tasks/milestone_collector.go @@ -23,9 +23,9 @@ import ( "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 fee9a567068..bb2b488fa2c 100644 --- a/backend/plugins/github/tasks/milestone_converter.go +++ b/backend/plugins/github/tasks/milestone_converter.go @@ -20,15 +20,15 @@ package tasks 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 4737bd47e82..9319b1f7fdd 100644 --- a/backend/plugins/github/tasks/milestone_extractor.go +++ b/backend/plugins/github/tasks/milestone_extractor.go @@ -18,11 +18,11 @@ limitations under the License. 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 45178b02e1e..05ca03beedc 100644 --- a/backend/plugins/github/tasks/pr_collector.go +++ b/backend/plugins/github/tasks/pr_collector.go @@ -26,11 +26,11 @@ import ( "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 b02342e2b8f..23c29e123a9 100644 --- a/backend/plugins/github/tasks/pr_comment_convertor.go +++ b/backend/plugins/github/tasks/pr_comment_convertor.go @@ -18,14 +18,14 @@ limitations under the License. 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 0604816d88a..de2880c9225 100644 --- a/backend/plugins/github/tasks/pr_commit_collector.go +++ b/backend/plugins/github/tasks/pr_commit_collector.go @@ -24,14 +24,14 @@ import ( "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 d21c343dcad..a8761c995d0 100644 --- a/backend/plugins/github/tasks/pr_commit_convertor.go +++ b/backend/plugins/github/tasks/pr_commit_convertor.go @@ -18,13 +18,13 @@ limitations under the License. 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 536af4d26e7..c48cfd09a6f 100644 --- a/backend/plugins/github/tasks/pr_commit_extractor.go +++ b/backend/plugins/github/tasks/pr_commit_extractor.go @@ -21,12 +21,12 @@ import ( "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 c4e27a6b9bb..3b39aca77ae 100644 --- a/backend/plugins/github/tasks/pr_convertor.go +++ b/backend/plugins/github/tasks/pr_convertor.go @@ -18,14 +18,14 @@ limitations under the License. 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 9c3f1ca8fc9..dd24eb02531 100644 --- a/backend/plugins/github/tasks/pr_extractor.go +++ b/backend/plugins/github/tasks/pr_extractor.go @@ -21,12 +21,12 @@ import ( "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 0d724224f77..fa0e939c37c 100644 --- a/backend/plugins/github/tasks/pr_issue_convertor.go +++ b/backend/plugins/github/tasks/pr_issue_convertor.go @@ -20,13 +20,13 @@ package tasks 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 cf8228b79a3..a93f3ed210a 100644 --- a/backend/plugins/github/tasks/pr_issue_enricher.go +++ b/backend/plugins/github/tasks/pr_issue_enricher.go @@ -22,11 +22,11 @@ import ( "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 432a7308f27..f3456a4bc40 100644 --- a/backend/plugins/github/tasks/pr_label_convertor.go +++ b/backend/plugins/github/tasks/pr_label_convertor.go @@ -18,13 +18,13 @@ limitations under the License. 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 e4a16649d19..3688b9882c9 100644 --- a/backend/plugins/github/tasks/pr_review_collector.go +++ b/backend/plugins/github/tasks/pr_review_collector.go @@ -24,11 +24,11 @@ import ( "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 ac29938cf1e..9fcbc0a9d7d 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 @@ import ( "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 cc39806cdba..c448a852ec3 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 @@ import ( "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 f266b130a37..e12d5e6d627 100644 --- a/backend/plugins/github/tasks/pr_review_convertor.go +++ b/backend/plugins/github/tasks/pr_review_convertor.go @@ -18,14 +18,14 @@ limitations under the License. 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 ff8015411ee..0f59ab5264f 100644 --- a/backend/plugins/github/tasks/pr_review_extractor.go +++ b/backend/plugins/github/tasks/pr_review_extractor.go @@ -21,11 +21,11 @@ import ( "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 51b12a76c1a..ddff389cd3b 100644 --- a/backend/plugins/github/tasks/register.go +++ b/backend/plugins/github/tasks/register.go @@ -17,7 +17,7 @@ limitations under the License. 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 a5c2f941d9f..5c93067445f 100644 --- a/backend/plugins/github/tasks/release_convertor.go +++ b/backend/plugins/github/tasks/release_convertor.go @@ -18,14 +18,14 @@ limitations under the License. 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 c6bff20b320..540e9f1e7c3 100644 --- a/backend/plugins/github/tasks/repo_convertor.go +++ b/backend/plugins/github/tasks/repo_convertor.go @@ -20,18 +20,18 @@ package tasks 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 18a0de211e0..22f4890366c 100644 --- a/backend/plugins/github/tasks/review_convertor.go +++ b/backend/plugins/github/tasks/review_convertor.go @@ -18,13 +18,13 @@ limitations under the License. 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 02976c3842d..f4803c4535a 100644 --- a/backend/plugins/github/tasks/shared.go +++ b/backend/plugins/github/tasks/shared.go @@ -20,11 +20,11 @@ package tasks 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 e154427b992..1574aaef90c 100644 --- a/backend/plugins/github/tasks/task_data.go +++ b/backend/plugins/github/tasks/task_data.go @@ -21,9 +21,9 @@ import ( "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 2f4cf04b898..814a9b9ce4c 100644 --- a/backend/plugins/github/token/app_installation_refresh.go +++ b/backend/plugins/github/token/app_installation_refresh.go @@ -20,11 +20,11 @@ package token 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 134ab2f7dd8..2d5d28f5c4d 100644 --- a/backend/plugins/github/token/refresh_api_client.go +++ b/backend/plugins/github/token/refresh_api_client.go @@ -25,9 +25,9 @@ import ( "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 2748d59e118..efc8465ac9e 100644 --- a/backend/plugins/github/token/round_tripper_test.go +++ b/backend/plugins/github/token/round_tripper_test.go @@ -24,10 +24,10 @@ import ( "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 6af31aaf5af..41b615e92ea 100644 --- a/backend/plugins/github/token/token_provider.go +++ b/backend/plugins/github/token/token_provider.go @@ -29,10 +29,10 @@ import ( "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 a754ad63ce3..0df0e4338f9 100644 --- a/backend/plugins/github/token/token_provider_test.go +++ b/backend/plugins/github/token/token_provider_test.go @@ -26,10 +26,10 @@ import ( "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 85125e602c5..353b9c6909f 100644 --- a/backend/plugins/github/utils/utils.go +++ b/backend/plugins/github/utils/utils.go @@ -18,7 +18,7 @@ limitations under the License. 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 ea91458d073..ff30f16288a 100644 --- a/backend/plugins/github_graphql/e2e/deployment_test.go +++ b/backend/plugins/github_graphql/e2e/deployment_test.go @@ -20,15 +20,15 @@ package e2e 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 f56c77644bf..afd11894533 100644 --- a/backend/plugins/github_graphql/impl/impl.go +++ b/backend/plugins/github_graphql/impl/impl.go @@ -23,18 +23,18 @@ import ( "reflect" "time" - "github.com/apache/incubator-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/models/domainlayer/devops" + + "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 @@ func (p GithubGraphql) PrepareTaskData(taskCtx plugin.TaskContext, options map[s // 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 57039e18dc5..b92c2f1ac21 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 @@ limitations under the License. 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 36077d5d6fe..3114c926442 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 @@ package migrationscripts 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 a0163f78038..e086d9f228c 100644 --- a/backend/plugins/github_graphql/model/migrationscripts/register.go +++ b/backend/plugins/github_graphql/model/migrationscripts/register.go @@ -18,7 +18,7 @@ limitations under the License. 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 af79257b0e7..067dde3a2dc 100644 --- a/backend/plugins/github_graphql/plugin_main.go +++ b/backend/plugins/github_graphql/plugin_main.go @@ -18,8 +18,8 @@ limitations under the License. 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 37ecb9716cc..20a54741538 100644 --- a/backend/plugins/github_graphql/tasks/account_collector.go +++ b/backend/plugins/github_graphql/tasks/account_collector.go @@ -21,12 +21,12 @@ import ( "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 9be27afdacf..fc6e9bb5e23 100644 --- a/backend/plugins/github_graphql/tasks/account_extractor.go +++ b/backend/plugins/github_graphql/tasks/account_extractor.go @@ -20,11 +20,11 @@ package tasks 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 54bc44a707e..6e114cb323a 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 @@ package tasks 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 e224faf27de..a4c026c22ff 100644 --- a/backend/plugins/github_graphql/tasks/deployment_collector.go +++ b/backend/plugins/github_graphql/tasks/deployment_collector.go @@ -22,10 +22,10 @@ import ( "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 420cffad314..fa706ec812b 100644 --- a/backend/plugins/github_graphql/tasks/deployment_convertor.go +++ b/backend/plugins/github_graphql/tasks/deployment_convertor.go @@ -21,15 +21,15 @@ import ( "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 b3b46598b65..12e0a311359 100644 --- a/backend/plugins/github_graphql/tasks/deployment_extractor.go +++ b/backend/plugins/github_graphql/tasks/deployment_extractor.go @@ -22,12 +22,12 @@ import ( "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 9c248e15cb6..984f5a27943 100644 --- a/backend/plugins/github_graphql/tasks/graphql_client.go +++ b/backend/plugins/github_graphql/tasks/graphql_client.go @@ -26,11 +26,11 @@ import ( "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 9069a1c720d..d895c23ecd7 100644 --- a/backend/plugins/github_graphql/tasks/issue_collector.go +++ b/backend/plugins/github_graphql/tasks/issue_collector.go @@ -25,15 +25,15 @@ import ( "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 6649b3e397a..6666d35ba32 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 @@ package tasks 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 a825c6a89c2..345b6fcfb59 100644 --- a/backend/plugins/github_graphql/tasks/issue_extractor.go +++ b/backend/plugins/github_graphql/tasks/issue_extractor.go @@ -21,14 +21,14 @@ import ( "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 05fd670078b..76908380607 100644 --- a/backend/plugins/github_graphql/tasks/job_collector.go +++ b/backend/plugins/github_graphql/tasks/job_collector.go @@ -22,13 +22,13 @@ import ( "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 5d3d8a04b24..e11131a2e4f 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 @@ import ( "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 ea4b7c7db5b..f16952e8c54 100644 --- a/backend/plugins/github_graphql/tasks/job_extractor.go +++ b/backend/plugins/github_graphql/tasks/job_extractor.go @@ -21,13 +21,13 @@ import ( "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 c05cac2efa7..760f9c2786e 100644 --- a/backend/plugins/github_graphql/tasks/pr_collector.go +++ b/backend/plugins/github_graphql/tasks/pr_collector.go @@ -23,12 +23,12 @@ import ( "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 8d6fd863bc4..d3236b2798c 100644 --- a/backend/plugins/github_graphql/tasks/pr_extractor.go +++ b/backend/plugins/github_graphql/tasks/pr_extractor.go @@ -21,11 +21,11 @@ import ( "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 1f9f86c5de3..5a072e8159e 100644 --- a/backend/plugins/github_graphql/tasks/release_collector.go +++ b/backend/plugins/github_graphql/tasks/release_collector.go @@ -22,11 +22,11 @@ import ( "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 6fd4f25ac3d..e55a43bd5f3 100644 --- a/backend/plugins/github_graphql/tasks/release_extractor.go +++ b/backend/plugins/github_graphql/tasks/release_extractor.go @@ -20,13 +20,13 @@ package tasks 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 2c263ff62c7..47205dfc710 100644 --- a/backend/plugins/github_graphql/tasks/shared.go +++ b/backend/plugins/github_graphql/tasks/shared.go @@ -18,10 +18,10 @@ limitations under the License. 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 fde792ffd86..5c383a7d269 100644 --- a/backend/plugins/gitlab/api/blueprint_V200_test.go +++ b/backend/plugins/gitlab/api/blueprint_V200_test.go @@ -20,21 +20,21 @@ package api import ( "testing" - coreModels "github.com/apache/incubator-devlake/core/models" - mockplugin "github.com/apache/incubator-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" + coreModels "github.com/apache/devlake/core/models" + mockplugin "github.com/apache/devlake/mocks/core/plugin" + + "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 515e8967f22..5f8b7def091 100644 --- a/backend/plugins/gitlab/api/blueprint_v200.go +++ b/backend/plugins/gitlab/api/blueprint_v200.go @@ -24,20 +24,20 @@ import ( "net/http" "net/url" - "github.com/apache/incubator-devlake/plugins/gitlab/tasks" - - "github.com/apache/incubator-devlake/core/errors" - "github.com/apache/incubator-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" + "github.com/apache/devlake/plugins/gitlab/tasks" + + "github.com/apache/devlake/core/errors" + "github.com/apache/devlake/core/utils" + + 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 598d5b975e6..6eb70be6db0 100644 --- a/backend/plugins/gitlab/api/connection_api.go +++ b/backend/plugins/gitlab/api/connection_api.go @@ -23,11 +23,11 @@ import ( "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 fd63abcf0d1..701ba541b37 100644 --- a/backend/plugins/gitlab/api/init.go +++ b/backend/plugins/gitlab/api/init.go @@ -18,10 +18,10 @@ limitations under the License. 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 b34f4ba61e1..f7e7c21621c 100644 --- a/backend/plugins/gitlab/api/remote_api.go +++ b/backend/plugins/gitlab/api/remote_api.go @@ -23,11 +23,11 @@ import ( "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 f176a21b112..a88964b1ab9 100644 --- a/backend/plugins/gitlab/api/scope_api.go +++ b/backend/plugins/gitlab/api/scope_api.go @@ -18,10 +18,10 @@ limitations under the License. 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 a97c5050c25..f196387bf31 100644 --- a/backend/plugins/gitlab/api/scope_config_api.go +++ b/backend/plugins/gitlab/api/scope_config_api.go @@ -18,8 +18,8 @@ limitations under the License. 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 dd0517d02e9..7c5d4a4ab29 100644 --- a/backend/plugins/gitlab/api/scope_duplicates_api.go +++ b/backend/plugins/gitlab/api/scope_duplicates_api.go @@ -22,9 +22,9 @@ import ( "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 dd4d8d510ac..50aed865862 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 @@ import ( "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 73f0289cfab..622b04b8f80 100644 --- a/backend/plugins/gitlab/api/scope_state_api.go +++ b/backend/plugins/gitlab/api/scope_state_api.go @@ -18,8 +18,8 @@ limitations under the License. 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 73b146ca838..9be2a21506d 100644 --- a/backend/plugins/gitlab/api/swagger.go +++ b/backend/plugins/gitlab/api/swagger.go @@ -18,7 +18,7 @@ limitations under the License. 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 26f20c0d7bd..190b36587c5 100644 --- a/backend/plugins/gitlab/e2e/account_test.go +++ b/backend/plugins/gitlab/e2e/account_test.go @@ -21,12 +21,12 @@ import ( "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 7b32ead4ec7..a5602b5dc98 100644 --- a/backend/plugins/gitlab/e2e/deployment_test.go +++ b/backend/plugins/gitlab/e2e/deployment_test.go @@ -20,12 +20,12 @@ package e2e 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 0553af3e88f..33a1d3d9043 100644 --- a/backend/plugins/gitlab/e2e/issues_test.go +++ b/backend/plugins/gitlab/e2e/issues_test.go @@ -20,11 +20,11 @@ package e2e 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 64f45824032..9c373912bef 100644 --- a/backend/plugins/gitlab/e2e/job_test.go +++ b/backend/plugins/gitlab/e2e/job_test.go @@ -20,13 +20,13 @@ package e2e 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 2f85cc7756e..350af6ef24b 100644 --- a/backend/plugins/gitlab/e2e/mr_commits_test.go +++ b/backend/plugins/gitlab/e2e/mr_commits_test.go @@ -20,12 +20,12 @@ package e2e 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 02d1e550134..85900c26109 100644 --- a/backend/plugins/gitlab/e2e/mr_detail_test.go +++ b/backend/plugins/gitlab/e2e/mr_detail_test.go @@ -20,12 +20,12 @@ package e2e 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 6f4d02185ba..66567818b7e 100644 --- a/backend/plugins/gitlab/e2e/mr_notes_test.go +++ b/backend/plugins/gitlab/e2e/mr_notes_test.go @@ -20,11 +20,11 @@ package e2e 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 e95e3de04ee..a1789eeb40d 100644 --- a/backend/plugins/gitlab/e2e/mr_test.go +++ b/backend/plugins/gitlab/e2e/mr_test.go @@ -20,12 +20,12 @@ package e2e 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 ea1c3dc2c93..0b8e8d70916 100644 --- a/backend/plugins/gitlab/e2e/pipelines_detail_test.go +++ b/backend/plugins/gitlab/e2e/pipelines_detail_test.go @@ -20,13 +20,13 @@ package e2e 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 513e2e944f9..ebfc13affea 100644 --- a/backend/plugins/gitlab/e2e/pipelines_test.go +++ b/backend/plugins/gitlab/e2e/pipelines_test.go @@ -20,12 +20,12 @@ package e2e 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 e0c2a13e2c4..43f3cb1184b 100644 --- a/backend/plugins/gitlab/e2e/project_test.go +++ b/backend/plugins/gitlab/e2e/project_test.go @@ -20,17 +20,17 @@ package e2e 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 4d697dde444..35cb8452150 100644 --- a/backend/plugins/gitlab/e2e/trigger_job_test.go +++ b/backend/plugins/gitlab/e2e/trigger_job_test.go @@ -20,12 +20,12 @@ package e2e 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 18758531581..761ea6cbc38 100644 --- a/backend/plugins/gitlab/gitlab.go +++ b/backend/plugins/gitlab/gitlab.go @@ -18,8 +18,8 @@ limitations under the License. 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 3dbd3672022..2ae9e5615ed 100644 --- a/backend/plugins/gitlab/impl/impl.go +++ b/backend/plugins/gitlab/impl/impl.go @@ -20,19 +20,19 @@ package impl 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) PrepareTaskData(taskCtx plugin.TaskContext, options map[string]i } 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 d646583ed9c..869b07ee7ca 100644 --- a/backend/plugins/gitlab/models/account.go +++ b/backend/plugins/gitlab/models/account.go @@ -20,7 +20,7 @@ package models 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 0fa49606413..87b7342941e 100644 --- a/backend/plugins/gitlab/models/assignee.go +++ b/backend/plugins/gitlab/models/assignee.go @@ -18,7 +18,7 @@ limitations under the License. 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 e71d4877911..29f46713591 100644 --- a/backend/plugins/gitlab/models/commit.go +++ b/backend/plugins/gitlab/models/commit.go @@ -18,7 +18,7 @@ limitations under the License. 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 e1ad49da079..8dac40dc979 100644 --- a/backend/plugins/gitlab/models/connection.go +++ b/backend/plugins/gitlab/models/connection.go @@ -19,12 +19,12 @@ package models 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 06b7067ee45..035389e9eb6 100644 --- a/backend/plugins/gitlab/models/deployment.go +++ b/backend/plugins/gitlab/models/deployment.go @@ -20,7 +20,7 @@ package models 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 36d66b5cd34..7ed9284e096 100644 --- a/backend/plugins/gitlab/models/issue.go +++ b/backend/plugins/gitlab/models/issue.go @@ -20,7 +20,7 @@ package models 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 d00c3cc68c6..66fb738eee2 100644 --- a/backend/plugins/gitlab/models/issue_assignee.go +++ b/backend/plugins/gitlab/models/issue_assignee.go @@ -17,7 +17,7 @@ limitations under the License. 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 e6df16d7ea7..7159f3c454c 100644 --- a/backend/plugins/gitlab/models/issue_label.go +++ b/backend/plugins/gitlab/models/issue_label.go @@ -18,7 +18,7 @@ limitations under the License. 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 4f6df3830c0..04c0d4d709e 100644 --- a/backend/plugins/gitlab/models/job.go +++ b/backend/plugins/gitlab/models/job.go @@ -18,7 +18,7 @@ limitations under the License. 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 5d0241dbf5d..4b2f582548a 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 @@ limitations under the License. package migrationscripts import ( - "github.com/apache/incubator-devlake/core/context" - "github.com/apache/incubator-devlake/core/errors" - "github.com/apache/incubator-devlake/core/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 286cea92c2d..7a1e0e55c82 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 @@ limitations under the License. package migrationscripts import ( - "github.com/apache/incubator-devlake/core/context" - "github.com/apache/incubator-devlake/core/errors" - "github.com/apache/incubator-devlake/core/models/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 3fefacb9f86..15e23a5b9f3 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 @@ limitations under the License. package migrationscripts import ( - "github.com/apache/incubator-devlake/core/context" - "github.com/apache/incubator-devlake/core/errors" - "github.com/apache/incubator-devlake/core/models/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 9636e58e1b3..977159e9e1e 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 @@ limitations under the License. package migrationscripts import ( - "github.com/apache/incubator-devlake/core/context" - "github.com/apache/incubator-devlake/core/errors" - "github.com/apache/incubator-devlake/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 7eeffccfaa6..c1cbe6aab1c 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 @@ limitations under the License. package migrationscripts import ( - "github.com/apache/incubator-devlake/core/context" - "github.com/apache/incubator-devlake/core/errors" - "github.com/apache/incubator-devlake/core/models/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 e55f444c6c2..11f6cff4101 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 @@ limitations under the License. package migrationscripts import ( - "github.com/apache/incubator-devlake/core/context" - "github.com/apache/incubator-devlake/core/errors" - "github.com/apache/incubator-devlake/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 4f73cfbc893..748b4bc8bbe 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 @@ limitations under the License. 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 8d19ce33f03..746049b68db 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 @@ limitations under the License. package migrationscripts import ( - "github.com/apache/incubator-devlake/core/context" - "github.com/apache/incubator-devlake/core/errors" - "github.com/apache/incubator-devlake/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 47328b0ec10..87d1a8da01f 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 @@ limitations under the License. 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 fed04a02bd5..cb3aa5c451c 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 @@ limitations under the License. package migrationscripts import ( - "github.com/apache/incubator-devlake/core/context" - "github.com/apache/incubator-devlake/core/errors" - "github.com/apache/incubator-devlake/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 9f28b95711e..40aecef4b35 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 @@ package migrationscripts 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 a4a3a4e62d9..6f1eb9a16e7 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 @@ limitations under the License. package migrationscripts import ( - "github.com/apache/incubator-devlake/core/context" - "github.com/apache/incubator-devlake/core/errors" - "github.com/apache/incubator-devlake/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 00c0ef1edfa..488baed2de6 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 @@ limitations under the License. package migrationscripts import ( - "github.com/apache/incubator-devlake/core/context" - "github.com/apache/incubator-devlake/core/errors" - "github.com/apache/incubator-devlake/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 21c9335b83d..1b64941f3d4 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 @@ limitations under the License. package migrationscripts import ( - "github.com/apache/incubator-devlake/core/context" - "github.com/apache/incubator-devlake/core/errors" - "github.com/apache/incubator-devlake/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 37f1e8fac08..eee33e0a847 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 @@ import ( "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 516753d75ec..1b290c8b279 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 @@ limitations under the License. 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 b8674c9b355..35108bd1f6a 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 @@ limitations under the License. package migrationscripts import ( - "github.com/apache/incubator-devlake/core/context" - "github.com/apache/incubator-devlake/core/errors" - "github.com/apache/incubator-devlake/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 49e748779f0..84d2054bdf0 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 @@ limitations under the License. package migrationscripts import ( - "github.com/apache/incubator-devlake/core/context" - "github.com/apache/incubator-devlake/core/errors" - "github.com/apache/incubator-devlake/core/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 a579e707484..6946f693e86 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 @@ limitations under the License. package migrationscripts import ( - "github.com/apache/incubator-devlake/core/context" - "github.com/apache/incubator-devlake/core/errors" - "github.com/apache/incubator-devlake/core/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 961ccef0660..ea2c867c9c4 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 @@ limitations under the License. package migrationscripts import ( - "github.com/apache/incubator-devlake/core/context" - "github.com/apache/incubator-devlake/core/errors" - "github.com/apache/incubator-devlake/core/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 f46c0006c24..a8ae5302901 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 @@ package migrationscripts 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 8b9e0a04f1c..ce5e8756488 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 @@ package migrationscripts 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 b6a9ceadec8..abe77dc89ff 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 @@ limitations under the License. package migrationscripts import ( - "github.com/apache/incubator-devlake/core/context" - "github.com/apache/incubator-devlake/core/errors" - "github.com/apache/incubator-devlake/core/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 16d4b8824c3..49f1dd5ae35 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 @@ limitations under the License. package migrationscripts import ( - "github.com/apache/incubator-devlake/core/context" - "github.com/apache/incubator-devlake/core/errors" - "github.com/apache/incubator-devlake/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 90857744844..766db67e6d0 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 @@ limitations under the License. package migrationscripts import ( - "github.com/apache/incubator-devlake/core/context" - "github.com/apache/incubator-devlake/core/errors" - "github.com/apache/incubator-devlake/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 ef37640d246..bf70cbe4686 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 @@ limitations under the License. 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 a4cb8983c26..87aac1bfc31 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 @@ limitations under the License. package migrationscripts import ( - "github.com/apache/incubator-devlake/core/context" - "github.com/apache/incubator-devlake/core/errors" - "github.com/apache/incubator-devlake/core/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 2628033f06f..d0b89d629e6 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 @@ limitations under the License. package migrationscripts import ( - "github.com/apache/incubator-devlake/core/context" - "github.com/apache/incubator-devlake/core/errors" - "github.com/apache/incubator-devlake/core/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 1040b5ee850..ccf96d76287 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 @@ limitations under the License. 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 a0971e38a4d..01456c0f058 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 @@ limitations under the License. package migrationscripts import ( - "github.com/apache/incubator-devlake/core/context" - "github.com/apache/incubator-devlake/core/errors" - "github.com/apache/incubator-devlake/core/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 b88b66546bb..a9894e89df1 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 @@ package migrationscripts 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 f59b662f3c7..01b9f48145a 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 @@ limitations under the License. package migrationscripts import ( - "github.com/apache/incubator-devlake/core/context" - "github.com/apache/incubator-devlake/core/errors" - "github.com/apache/incubator-devlake/core/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 b2ad84b6c9c..1da964e922c 100644 --- a/backend/plugins/gitlab/models/migrationscripts/archived/account.go +++ b/backend/plugins/gitlab/models/migrationscripts/archived/account.go @@ -18,7 +18,7 @@ limitations under the License. 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 bc283ead02b..95f540d690a 100644 --- a/backend/plugins/gitlab/models/migrationscripts/archived/assignee.go +++ b/backend/plugins/gitlab/models/migrationscripts/archived/assignee.go @@ -18,7 +18,7 @@ limitations under the License. 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 a967a25d23d..dd209201c14 100644 --- a/backend/plugins/gitlab/models/migrationscripts/archived/commit.go +++ b/backend/plugins/gitlab/models/migrationscripts/archived/commit.go @@ -18,7 +18,7 @@ limitations under the License. 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 7d717b5ddd7..f8bd7c05647 100644 --- a/backend/plugins/gitlab/models/migrationscripts/archived/connection.go +++ b/backend/plugins/gitlab/models/migrationscripts/archived/connection.go @@ -18,7 +18,7 @@ limitations under the License. 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 60f9c285b57..7b58c2d45ac 100644 --- a/backend/plugins/gitlab/models/migrationscripts/archived/deployment.go +++ b/backend/plugins/gitlab/models/migrationscripts/archived/deployment.go @@ -18,7 +18,7 @@ limitations under the License. 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 93567f4f5d1..f564dcc394a 100644 --- a/backend/plugins/gitlab/models/migrationscripts/archived/issue.go +++ b/backend/plugins/gitlab/models/migrationscripts/archived/issue.go @@ -18,7 +18,7 @@ limitations under the License. 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 41c04066db9..d722cbb9ea7 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 @@ limitations under the License. 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 693bc5899f5..6aece97a710 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 @@ limitations under the License. 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 3788dd32a23..86aa703aba3 100644 --- a/backend/plugins/gitlab/models/migrationscripts/archived/mr.go +++ b/backend/plugins/gitlab/models/migrationscripts/archived/mr.go @@ -18,7 +18,7 @@ limitations under the License. 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 daca1422cbc..cf2a4dee0c1 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 @@ limitations under the License. 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 959e7619d7e..e5dd5cbc633 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 @@ limitations under the License. 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 f80d3fa7bd9..51bae1cf075 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 @@ limitations under the License. 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 28bbad159d1..aad0ddbb5b4 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 @@ limitations under the License. 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 b04a167bb3c..5347690ae2d 100644 --- a/backend/plugins/gitlab/models/migrationscripts/archived/pipeline.go +++ b/backend/plugins/gitlab/models/migrationscripts/archived/pipeline.go @@ -18,7 +18,7 @@ limitations under the License. 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 2e00c9103c1..8db7e440277 100644 --- a/backend/plugins/gitlab/models/migrationscripts/archived/project.go +++ b/backend/plugins/gitlab/models/migrationscripts/archived/project.go @@ -18,7 +18,7 @@ limitations under the License. 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 339be20a084..7ce4f934f27 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 @@ limitations under the License. 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 2fa1e27fb70..365ccc6a7bb 100644 --- a/backend/plugins/gitlab/models/migrationscripts/archived/reviewer.go +++ b/backend/plugins/gitlab/models/migrationscripts/archived/reviewer.go @@ -18,7 +18,7 @@ limitations under the License. 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 60808a81b72..bdb1aaba3c0 100644 --- a/backend/plugins/gitlab/models/migrationscripts/archived/tag.go +++ b/backend/plugins/gitlab/models/migrationscripts/archived/tag.go @@ -18,7 +18,7 @@ limitations under the License. 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 73c12487262..df096d37332 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 @@ package archived 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 65fa6f41b0d..da2056345ca 100644 --- a/backend/plugins/gitlab/models/migrationscripts/register.go +++ b/backend/plugins/gitlab/models/migrationscripts/register.go @@ -18,7 +18,7 @@ limitations under the License. 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 9d8acae8d33..1ef6164502b 100644 --- a/backend/plugins/gitlab/models/mr.go +++ b/backend/plugins/gitlab/models/mr.go @@ -20,7 +20,7 @@ package models 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 91fc8f78051..3e8c302b24d 100644 --- a/backend/plugins/gitlab/models/mr_comment.go +++ b/backend/plugins/gitlab/models/mr_comment.go @@ -18,7 +18,7 @@ limitations under the License. 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 7f6958dbfb6..437b078c205 100644 --- a/backend/plugins/gitlab/models/mr_commit.go +++ b/backend/plugins/gitlab/models/mr_commit.go @@ -18,7 +18,7 @@ limitations under the License. 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 ca047becf18..0859001a6f0 100644 --- a/backend/plugins/gitlab/models/mr_label.go +++ b/backend/plugins/gitlab/models/mr_label.go @@ -18,7 +18,7 @@ limitations under the License. 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 2383c3c07e8..ec0559420cd 100644 --- a/backend/plugins/gitlab/models/mr_note.go +++ b/backend/plugins/gitlab/models/mr_note.go @@ -18,7 +18,7 @@ limitations under the License. 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 1275c3ac5ed..dab98be2062 100644 --- a/backend/plugins/gitlab/models/pipeline.go +++ b/backend/plugins/gitlab/models/pipeline.go @@ -20,7 +20,7 @@ package models 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 c82957f0201..d2d0c58960f 100644 --- a/backend/plugins/gitlab/models/project.go +++ b/backend/plugins/gitlab/models/project.go @@ -21,9 +21,9 @@ import ( "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 dd6abb5d468..c2915981d14 100644 --- a/backend/plugins/gitlab/models/project_commit.go +++ b/backend/plugins/gitlab/models/project_commit.go @@ -18,7 +18,7 @@ limitations under the License. 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 3acef38afb7..b665629be84 100644 --- a/backend/plugins/gitlab/models/reviewer.go +++ b/backend/plugins/gitlab/models/reviewer.go @@ -18,7 +18,7 @@ limitations under the License. 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 525720c3282..bcd525c0d9b 100644 --- a/backend/plugins/gitlab/models/scope_config.go +++ b/backend/plugins/gitlab/models/scope_config.go @@ -18,7 +18,7 @@ limitations under the License. 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 4d875a743bc..1fbc4922a2a 100644 --- a/backend/plugins/gitlab/models/tag.go +++ b/backend/plugins/gitlab/models/tag.go @@ -18,7 +18,7 @@ limitations under the License. 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 747c5d6d286..ead40d6c364 100644 --- a/backend/plugins/gitlab/tasks/account_collector.go +++ b/backend/plugins/gitlab/tasks/account_collector.go @@ -24,10 +24,10 @@ import ( "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 c6bac24a1cd..8af3f7036e4 100644 --- a/backend/plugins/gitlab/tasks/account_convertor.go +++ b/backend/plugins/gitlab/tasks/account_convertor.go @@ -20,14 +20,14 @@ package tasks 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 0024c3ead6e..5569628ced4 100644 --- a/backend/plugins/gitlab/tasks/account_extractor.go +++ b/backend/plugins/gitlab/tasks/account_extractor.go @@ -20,10 +20,10 @@ package tasks 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 0d6a84c7e6b..ad36f31f09e 100644 --- a/backend/plugins/gitlab/tasks/api_client.go +++ b/backend/plugins/gitlab/tasks/api_client.go @@ -22,10 +22,10 @@ import ( "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 6a2473644e9..941782a4f60 100644 --- a/backend/plugins/gitlab/tasks/child_pipeline_collector.go +++ b/backend/plugins/gitlab/tasks/child_pipeline_collector.go @@ -22,9 +22,9 @@ import ( "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 62c5948fc7d..10e748f760d 100644 --- a/backend/plugins/gitlab/tasks/child_pipeline_extractor.go +++ b/backend/plugins/gitlab/tasks/child_pipeline_extractor.go @@ -18,11 +18,11 @@ limitations under the License. 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 36ecb60c1f3..4f44aa7566f 100644 --- a/backend/plugins/gitlab/tasks/deployment_collector.go +++ b/backend/plugins/gitlab/tasks/deployment_collector.go @@ -21,10 +21,10 @@ import ( "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 b211867b4ae..a5c42859b07 100644 --- a/backend/plugins/gitlab/tasks/deployment_convertor.go +++ b/backend/plugins/gitlab/tasks/deployment_convertor.go @@ -21,14 +21,14 @@ import ( "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 258471b01c4..c7630b6479e 100644 --- a/backend/plugins/gitlab/tasks/deployment_extractor.go +++ b/backend/plugins/gitlab/tasks/deployment_extractor.go @@ -20,11 +20,11 @@ package tasks 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 ce5ce593fcc..1f8d1b58172 100644 --- a/backend/plugins/gitlab/tasks/issue_assignee_convertor.go +++ b/backend/plugins/gitlab/tasks/issue_assignee_convertor.go @@ -18,13 +18,13 @@ limitations under the License. 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 9ae57fb4fca..fc5d8f09eba 100644 --- a/backend/plugins/gitlab/tasks/issue_collector.go +++ b/backend/plugins/gitlab/tasks/issue_collector.go @@ -24,9 +24,9 @@ import ( "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 63af1c6593e..f49b64c3d3b 100644 --- a/backend/plugins/gitlab/tasks/issue_convertor.go +++ b/backend/plugins/gitlab/tasks/issue_convertor.go @@ -21,14 +21,14 @@ import ( "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 802d58a6074..35ac36b324b 100644 --- a/backend/plugins/gitlab/tasks/issue_extractor.go +++ b/backend/plugins/gitlab/tasks/issue_extractor.go @@ -20,12 +20,12 @@ package tasks 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 fab745dda9e..994b785c2bf 100644 --- a/backend/plugins/gitlab/tasks/issue_label_convertor.go +++ b/backend/plugins/gitlab/tasks/issue_label_convertor.go @@ -18,13 +18,13 @@ limitations under the License. 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 04dda29989a..de04b0a3081 100644 --- a/backend/plugins/gitlab/tasks/job_collector.go +++ b/backend/plugins/gitlab/tasks/job_collector.go @@ -24,10 +24,10 @@ import ( "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 91077844753..c93c272a02a 100644 --- a/backend/plugins/gitlab/tasks/job_convertor.go +++ b/backend/plugins/gitlab/tasks/job_convertor.go @@ -20,14 +20,14 @@ package tasks 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 15b1343dcf8..bc359d8d8e0 100644 --- a/backend/plugins/gitlab/tasks/job_extractor.go +++ b/backend/plugins/gitlab/tasks/job_extractor.go @@ -18,11 +18,11 @@ limitations under the License. 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 d22714a7485..68f8ee7d198 100644 --- a/backend/plugins/gitlab/tasks/mr_assignee_convertor.go +++ b/backend/plugins/gitlab/tasks/mr_assignee_convertor.go @@ -18,13 +18,13 @@ limitations under the License. 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 320d977d2f5..d2813276a88 100644 --- a/backend/plugins/gitlab/tasks/mr_collector.go +++ b/backend/plugins/gitlab/tasks/mr_collector.go @@ -21,9 +21,9 @@ import ( "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 f9921121811..90f8263381d 100644 --- a/backend/plugins/gitlab/tasks/mr_commit_collector.go +++ b/backend/plugins/gitlab/tasks/mr_commit_collector.go @@ -18,9 +18,9 @@ limitations under the License. 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 6f7ff2a5f8e..ffa6096294b 100644 --- a/backend/plugins/gitlab/tasks/mr_commit_convertor.go +++ b/backend/plugins/gitlab/tasks/mr_commit_convertor.go @@ -18,13 +18,13 @@ limitations under the License. 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 506f0321beb..2403469abc7 100644 --- a/backend/plugins/gitlab/tasks/mr_commit_extractor.go +++ b/backend/plugins/gitlab/tasks/mr_commit_extractor.go @@ -20,11 +20,11 @@ package tasks 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 369a5b516a7..285e71af431 100644 --- a/backend/plugins/gitlab/tasks/mr_convertor.go +++ b/backend/plugins/gitlab/tasks/mr_convertor.go @@ -18,14 +18,14 @@ limitations under the License. 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 d20e96a1ec9..83091f0c55a 100644 --- a/backend/plugins/gitlab/tasks/mr_detail_collector.go +++ b/backend/plugins/gitlab/tasks/mr_detail_collector.go @@ -21,10 +21,10 @@ import ( "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 3945752467a..bef720fe016 100644 --- a/backend/plugins/gitlab/tasks/mr_detail_extractor.go +++ b/backend/plugins/gitlab/tasks/mr_detail_extractor.go @@ -20,10 +20,10 @@ package tasks 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 e20dd8bbdfa..d0753948dbf 100644 --- a/backend/plugins/gitlab/tasks/mr_extractor.go +++ b/backend/plugins/gitlab/tasks/mr_extractor.go @@ -22,12 +22,12 @@ import ( "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 b5f29a1a84f..252347ce541 100644 --- a/backend/plugins/gitlab/tasks/mr_label_convertor.go +++ b/backend/plugins/gitlab/tasks/mr_label_convertor.go @@ -18,13 +18,13 @@ limitations under the License. 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 469648f711d..028b7b4d60c 100644 --- a/backend/plugins/gitlab/tasks/mr_note_collector.go +++ b/backend/plugins/gitlab/tasks/mr_note_collector.go @@ -18,9 +18,9 @@ limitations under the License. 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 a55cc567310..dd3476c3a30 100644 --- a/backend/plugins/gitlab/tasks/mr_note_convertor.go +++ b/backend/plugins/gitlab/tasks/mr_note_convertor.go @@ -18,14 +18,14 @@ limitations under the License. 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 725a2fe484d..1e780cd8c04 100644 --- a/backend/plugins/gitlab/tasks/mr_note_extractor.go +++ b/backend/plugins/gitlab/tasks/mr_note_extractor.go @@ -18,11 +18,11 @@ limitations under the License. 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 f9298b093f6..548d7d323cd 100644 --- a/backend/plugins/gitlab/tasks/mr_reviewer_convertor.go +++ b/backend/plugins/gitlab/tasks/mr_reviewer_convertor.go @@ -18,13 +18,13 @@ limitations under the License. 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 77415506f6e..d0edc32a827 100644 --- a/backend/plugins/gitlab/tasks/pipeline_collector.go +++ b/backend/plugins/gitlab/tasks/pipeline_collector.go @@ -22,9 +22,9 @@ import ( "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 2064cc6c921..5cfa59f7f55 100644 --- a/backend/plugins/gitlab/tasks/pipeline_commit_convertor.go +++ b/backend/plugins/gitlab/tasks/pipeline_commit_convertor.go @@ -18,13 +18,13 @@ limitations under the License. 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 6a800d01f11..a2c86c0c4c0 100644 --- a/backend/plugins/gitlab/tasks/pipeline_detail_collector.go +++ b/backend/plugins/gitlab/tasks/pipeline_detail_collector.go @@ -22,10 +22,10 @@ import ( "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 e808d782236..f1a9ad8b84d 100644 --- a/backend/plugins/gitlab/tasks/pipeline_detail_convertor.go +++ b/backend/plugins/gitlab/tasks/pipeline_detail_convertor.go @@ -20,15 +20,15 @@ package tasks 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 3fef0510973..c6c4ab4625b 100644 --- a/backend/plugins/gitlab/tasks/pipeline_detail_extractor.go +++ b/backend/plugins/gitlab/tasks/pipeline_detail_extractor.go @@ -18,12 +18,12 @@ limitations under the License. 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 0eb2450a514..f07c2c82569 100644 --- a/backend/plugins/gitlab/tasks/pipeline_extractor.go +++ b/backend/plugins/gitlab/tasks/pipeline_extractor.go @@ -18,10 +18,10 @@ limitations under the License. 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 920f1a990d1..70f59cf984f 100644 --- a/backend/plugins/gitlab/tasks/project_convertor.go +++ b/backend/plugins/gitlab/tasks/project_convertor.go @@ -20,18 +20,18 @@ package tasks 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 51b12a76c1a..ddff389cd3b 100644 --- a/backend/plugins/gitlab/tasks/register.go +++ b/backend/plugins/gitlab/tasks/register.go @@ -17,7 +17,7 @@ limitations under the License. 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 3462e2cb0bf..2c918ee2116 100644 --- a/backend/plugins/gitlab/tasks/shared.go +++ b/backend/plugins/gitlab/tasks/shared.go @@ -27,13 +27,13 @@ import ( "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 92800c5c94f..07cb31ff0f3 100644 --- a/backend/plugins/gitlab/tasks/tag_collector.go +++ b/backend/plugins/gitlab/tasks/tag_collector.go @@ -18,9 +18,9 @@ limitations under the License. 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 4f0a511dea2..86d1bdf3b67 100644 --- a/backend/plugins/gitlab/tasks/tag_extractor.go +++ b/backend/plugins/gitlab/tasks/tag_extractor.go @@ -18,10 +18,10 @@ limitations under the License. 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 a4c40f9cb44..b916000b9a5 100644 --- a/backend/plugins/gitlab/tasks/task_data.go +++ b/backend/plugins/gitlab/tasks/task_data.go @@ -18,9 +18,9 @@ limitations under the License. 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 e1b4652b9f5..6510736f543 100644 --- a/backend/plugins/gitlab/tasks/trigger_job_collector.go +++ b/backend/plugins/gitlab/tasks/trigger_job_collector.go @@ -21,10 +21,10 @@ import ( "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 8a1e7eaeb00..6a755bc66a7 100644 --- a/backend/plugins/gitlab/tasks/trigger_job_extractor.go +++ b/backend/plugins/gitlab/tasks/trigger_job_extractor.go @@ -20,10 +20,10 @@ package tasks 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 1ebd1ea2db6..81001f8f924 100644 --- a/backend/plugins/icla/impl/impl.go +++ b/backend/plugins/icla/impl/impl.go @@ -19,14 +19,14 @@ package impl 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 @@ func (p Icla) PrepareTaskData(taskCtx plugin.TaskContext, options map[string]int // 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 aad42f6823f..411c936b397 100644 --- a/backend/plugins/icla/models/committer.go +++ b/backend/plugins/icla/models/committer.go @@ -18,7 +18,7 @@ limitations under the License. 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 d6c41645f23..be4e305ef7a 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 @@ limitations under the License. package migrationscripts import ( - "github.com/apache/incubator-devlake/core/context" - "github.com/apache/incubator-devlake/core/errors" - "github.com/apache/incubator-devlake/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 7c4cc3ba516..575fea6061a 100644 --- a/backend/plugins/icla/models/migrationscripts/archived/committer.go +++ b/backend/plugins/icla/models/migrationscripts/archived/committer.go @@ -18,7 +18,7 @@ limitations under the License. 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 fe9c9a163ea..d3967f7312f 100644 --- a/backend/plugins/icla/models/migrationscripts/register.go +++ b/backend/plugins/icla/models/migrationscripts/register.go @@ -18,7 +18,7 @@ limitations under the License. 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 3af83c70aad..33d9beb75ca 100644 --- a/backend/plugins/icla/plugin_main.go +++ b/backend/plugins/icla/plugin_main.go @@ -18,8 +18,8 @@ limitations under the License. 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 b216fc74cfa..a94779e5415 100644 --- a/backend/plugins/icla/tasks/api_client.go +++ b/backend/plugins/icla/tasks/api_client.go @@ -19,10 +19,10 @@ package tasks 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 b0b4fdf54b5..ad848916324 100644 --- a/backend/plugins/icla/tasks/committer_collector.go +++ b/backend/plugins/icla/tasks/committer_collector.go @@ -19,9 +19,9 @@ package tasks 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 1b88cd8fa08..91033fe75e2 100644 --- a/backend/plugins/icla/tasks/committer_extractor.go +++ b/backend/plugins/icla/tasks/committer_extractor.go @@ -19,10 +19,10 @@ package tasks 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 dfa35a0eab4..bdb28655239 100644 --- a/backend/plugins/icla/tasks/task_data.go +++ b/backend/plugins/icla/tasks/task_data.go @@ -18,7 +18,7 @@ limitations under the License. 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 81b3bee0c75..36f35623252 100644 --- a/backend/plugins/incidentio/api/blueprint_v200.go +++ b/backend/plugins/incidentio/api/blueprint_v200.go @@ -18,16 +18,16 @@ limitations under the License. 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 c7c77bad0d5..d65bf278419 100644 --- a/backend/plugins/incidentio/api/connection_api.go +++ b/backend/plugins/incidentio/api/connection_api.go @@ -21,10 +21,10 @@ import ( "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 36a9345ed70..b11e1deb1a9 100644 --- a/backend/plugins/incidentio/api/init.go +++ b/backend/plugins/incidentio/api/init.go @@ -18,10 +18,10 @@ limitations under the License. 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 6c8ca5318b0..6ba1b541fcb 100644 --- a/backend/plugins/incidentio/api/remote_api.go +++ b/backend/plugins/incidentio/api/remote_api.go @@ -22,13 +22,13 @@ import ( "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 1d237812930..ec47765c20a 100644 --- a/backend/plugins/incidentio/api/scope_api.go +++ b/backend/plugins/incidentio/api/scope_api.go @@ -18,10 +18,10 @@ limitations under the License. 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 b8c6cb6c509..9dc29e4faf0 100644 --- a/backend/plugins/incidentio/api/scope_state_api.go +++ b/backend/plugins/incidentio/api/scope_state_api.go @@ -18,8 +18,8 @@ limitations under the License. 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 91691513c69..0d5b2891760 100644 --- a/backend/plugins/incidentio/api/swagger.go +++ b/backend/plugins/incidentio/api/swagger.go @@ -18,7 +18,7 @@ limitations under the License. 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 7f19a34aab9..0f7489c1bce 100644 --- a/backend/plugins/incidentio/e2e/incident_test.go +++ b/backend/plugins/incidentio/e2e/incident_test.go @@ -20,12 +20,12 @@ package e2e 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 3b36e6b3f6e..43502d335a3 100644 --- a/backend/plugins/incidentio/impl/impl.go +++ b/backend/plugins/incidentio/impl/impl.go @@ -20,16 +20,16 @@ package impl 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 @@ func (p Incidentio) PrepareTaskData(taskCtx plugin.TaskContext, options map[stri // 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 e24d12d20f6..47c6aaaa9ba 100644 --- a/backend/plugins/incidentio/incidentio.go +++ b/backend/plugins/incidentio/incidentio.go @@ -18,8 +18,8 @@ limitations under the License. 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 333bb509917..955a01997d6 100644 --- a/backend/plugins/incidentio/models/connection.go +++ b/backend/plugins/incidentio/models/connection.go @@ -21,9 +21,9 @@ import ( "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 7a8d42d2908..0c98d4f0370 100644 --- a/backend/plugins/incidentio/models/incident.go +++ b/backend/plugins/incidentio/models/incident.go @@ -20,7 +20,7 @@ package models 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 3aa3075b8f4..94f6682bd4b 100644 --- a/backend/plugins/incidentio/models/incident_type.go +++ b/backend/plugins/incidentio/models/incident_type.go @@ -18,8 +18,8 @@ limitations under the License. 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 fbdeb314d04..4578a9a78da 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 @@ limitations under the License. package migrationscripts import ( - "github.com/apache/incubator-devlake/core/context" - "github.com/apache/incubator-devlake/core/errors" - "github.com/apache/incubator-devlake/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 7f176fc46b0..f5c447b7056 100644 --- a/backend/plugins/incidentio/models/migrationscripts/archived/connection.go +++ b/backend/plugins/incidentio/models/migrationscripts/archived/connection.go @@ -18,7 +18,7 @@ limitations under the License. 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 f665fec613a..666bd8b4957 100644 --- a/backend/plugins/incidentio/models/migrationscripts/archived/incident.go +++ b/backend/plugins/incidentio/models/migrationscripts/archived/incident.go @@ -20,7 +20,7 @@ package archived 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 8dca3393fd4..f85cd61c595 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 @@ limitations under the License. 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 8b6174ef23b..30f49acf954 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 @@ limitations under the License. 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 16c72e29273..3a5c27dbadb 100644 --- a/backend/plugins/incidentio/models/migrationscripts/register.go +++ b/backend/plugins/incidentio/models/migrationscripts/register.go @@ -18,7 +18,7 @@ limitations under the License. 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 f3220e1fa4f..659d98e3d39 100644 --- a/backend/plugins/incidentio/models/scope_config.go +++ b/backend/plugins/incidentio/models/scope_config.go @@ -18,7 +18,7 @@ limitations under the License. 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 6744b461068..fc852903c89 100644 --- a/backend/plugins/incidentio/tasks/incident_type_converter.go +++ b/backend/plugins/incidentio/tasks/incident_type_converter.go @@ -20,14 +20,14 @@ package tasks 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 d440ed00923..5ed7f3f9273 100644 --- a/backend/plugins/incidentio/tasks/incident_types_collector.go +++ b/backend/plugins/incidentio/tasks/incident_types_collector.go @@ -21,9 +21,9 @@ import ( "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 a5fb1bcb1fe..b3f2d4f6bcb 100644 --- a/backend/plugins/incidentio/tasks/incident_types_extractor.go +++ b/backend/plugins/incidentio/tasks/incident_types_extractor.go @@ -20,12 +20,12 @@ package tasks 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 de4f730e190..9fb17483ed1 100644 --- a/backend/plugins/incidentio/tasks/incidents_collector.go +++ b/backend/plugins/incidentio/tasks/incidents_collector.go @@ -24,9 +24,9 @@ import ( "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 90247c44d0c..9f3c9263a79 100644 --- a/backend/plugins/incidentio/tasks/incidents_converter.go +++ b/backend/plugins/incidentio/tasks/incidents_converter.go @@ -21,14 +21,14 @@ import ( "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 dc9924a93a9..023e66543c8 100644 --- a/backend/plugins/incidentio/tasks/incidents_converter_test.go +++ b/backend/plugins/incidentio/tasks/incidents_converter_test.go @@ -24,8 +24,8 @@ import ( "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 6bfd9bdbcff..ac6dbb7837c 100644 --- a/backend/plugins/incidentio/tasks/incidents_extractor.go +++ b/backend/plugins/incidentio/tasks/incidents_extractor.go @@ -21,11 +21,11 @@ import ( "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 0a0f08e8cca..06abef26852 100644 --- a/backend/plugins/incidentio/tasks/incidents_extractor_test.go +++ b/backend/plugins/incidentio/tasks/incidents_extractor_test.go @@ -24,7 +24,7 @@ import ( "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 9659d39ebc3..2b9898c062a 100644 --- a/backend/plugins/incidentio/tasks/task_data.go +++ b/backend/plugins/incidentio/tasks/task_data.go @@ -18,9 +18,9 @@ limitations under the License. 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 998af385f98..5ac5bdfc8b3 100644 --- a/backend/plugins/issue_trace/api/init.go +++ b/backend/plugins/issue_trace/api/init.go @@ -18,7 +18,7 @@ limitations under the License. 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 13a14063bcf..0270c0025b7 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 @@ package e2e 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 7076b965285..eeeffff7eac 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 @@ package e2e 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 82fbbd69e89..dafa601fce2 100644 --- a/backend/plugins/issue_trace/e2e/meta.go +++ b/backend/plugins/issue_trace/e2e/meta.go @@ -17,7 +17,7 @@ limitations under the License. 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 73280d32337..a335bd81b8d 100644 --- a/backend/plugins/issue_trace/impl/enricher.go +++ b/backend/plugins/issue_trace/impl/enricher.go @@ -20,16 +20,16 @@ package impl 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) PrepareTaskData(taskCtx plugin.TaskContext, options map[stri } 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 21d6cdc62ec..8b729cb4b69 100644 --- a/backend/plugins/issue_trace/issue_trace.go +++ b/backend/plugins/issue_trace/issue_trace.go @@ -20,8 +20,8 @@ package main 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 c68b21013ac..4710d968dc2 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 @@ package models 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 b171516bdfc..b562ffa8451 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 @@ package models 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 6c20c7bc632..4c597df2d6d 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 @@ package migrationscripts 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 b8c7d57aa43..2deec2df2f5 100644 --- a/backend/plugins/issue_trace/services/query.go +++ b/backend/plugins/issue_trace/services/query.go @@ -18,8 +18,8 @@ limitations under the License. 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 b14037c7266..07545333163 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 @@ import ( "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 efe8ddb4f9a..bc378a06733 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 @@ import ( "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 8f3f734de5c..651bf3bd63f 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 @@ import ( "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 d5935adcaca..12ed69ab842 100644 --- a/backend/plugins/issue_trace/utils/context.go +++ b/backend/plugins/issue_trace/utils/context.go @@ -18,8 +18,8 @@ limitations under the License. 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 cd51141e21d..3354a2d675d 100644 --- a/backend/plugins/jenkins/api/blueprint_v200.go +++ b/backend/plugins/jenkins/api/blueprint_v200.go @@ -20,17 +20,17 @@ package api 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 b213bb06859..a7406e84c4c 100644 --- a/backend/plugins/jenkins/api/connection_api.go +++ b/backend/plugins/jenkins/api/connection_api.go @@ -22,12 +22,12 @@ import ( "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 ebcb14c5539..c461132cb53 100644 --- a/backend/plugins/jenkins/api/init.go +++ b/backend/plugins/jenkins/api/init.go @@ -18,10 +18,10 @@ limitations under the License. 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 b6f2da309ba..c66945da211 100644 --- a/backend/plugins/jenkins/api/jobs.go +++ b/backend/plugins/jenkins/api/jobs.go @@ -23,11 +23,11 @@ import ( "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 21c23132d5a..67259f1381f 100644 --- a/backend/plugins/jenkins/api/jobs_test.go +++ b/backend/plugins/jenkins/api/jobs_test.go @@ -24,12 +24,12 @@ import ( "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 e825fecba2d..58b486c6792 100644 --- a/backend/plugins/jenkins/api/remote_api.go +++ b/backend/plugins/jenkins/api/remote_api.go @@ -21,11 +21,11 @@ import ( "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 2746bdd43c1..e7aa847cb7f 100644 --- a/backend/plugins/jenkins/api/scope_api.go +++ b/backend/plugins/jenkins/api/scope_api.go @@ -20,10 +20,10 @@ package api 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 9e46d05d8c0..f7bfc1fd5fa 100644 --- a/backend/plugins/jenkins/api/scope_config_api.go +++ b/backend/plugins/jenkins/api/scope_config_api.go @@ -18,8 +18,8 @@ limitations under the License. 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 f11600e7bbc..fff81aeded2 100644 --- a/backend/plugins/jenkins/api/scope_state_api.go +++ b/backend/plugins/jenkins/api/scope_state_api.go @@ -18,8 +18,8 @@ limitations under the License. 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 0007b0ae5b7..076ce25f677 100644 --- a/backend/plugins/jenkins/api/swagger.go +++ b/backend/plugins/jenkins/api/swagger.go @@ -18,7 +18,7 @@ limitations under the License. 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 2752c10f126..b507f47580e 100644 --- a/backend/plugins/jenkins/e2e/builds_test.go +++ b/backend/plugins/jenkins/e2e/builds_test.go @@ -20,12 +20,12 @@ package e2e 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 b4cfa524e85..63cb28322e7 100644 --- a/backend/plugins/jenkins/e2e/jobs_test.go +++ b/backend/plugins/jenkins/e2e/jobs_test.go @@ -20,15 +20,15 @@ package e2e 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 f78437114f0..a398f4340bf 100644 --- a/backend/plugins/jenkins/e2e/multibranch_test.go +++ b/backend/plugins/jenkins/e2e/multibranch_test.go @@ -20,15 +20,15 @@ package e2e 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 527698a8a48..1a3aa0c277b 100644 --- a/backend/plugins/jenkins/e2e/stages_test.go +++ b/backend/plugins/jenkins/e2e/stages_test.go @@ -20,12 +20,12 @@ package e2e 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 c33e50daa25..06c2a268324 100644 --- a/backend/plugins/jenkins/impl/impl.go +++ b/backend/plugins/jenkins/impl/impl.go @@ -21,19 +21,19 @@ import ( "fmt" "strings" - coreModels "github.com/apache/incubator-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/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" + coreModels "github.com/apache/devlake/core/models" + + "github.com/apache/devlake/core/context" + "github.com/apache/devlake/core/dal" + "github.com/apache/devlake/core/models/domainlayer/devops" + + "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) PrepareTaskData(taskCtx plugin.TaskContext, options map[string] } 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 fff9039b9af..2046b2bd425 100644 --- a/backend/plugins/jenkins/jenkins.go +++ b/backend/plugins/jenkins/jenkins.go @@ -18,8 +18,8 @@ limitations under the License. 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 b38aaa15afa..18d609be17b 100644 --- a/backend/plugins/jenkins/models/build.go +++ b/backend/plugins/jenkins/models/build.go @@ -18,7 +18,7 @@ limitations under the License. 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 bac0361e8c8..d11e03fcec8 100644 --- a/backend/plugins/jenkins/models/build_commit.go +++ b/backend/plugins/jenkins/models/build_commit.go @@ -18,7 +18,7 @@ limitations under the License. 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 b1fc29de8d1..3ae7017ff67 100644 --- a/backend/plugins/jenkins/models/connection.go +++ b/backend/plugins/jenkins/models/connection.go @@ -18,7 +18,7 @@ limitations under the License. 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 e4b5b84a645..2ab2d8aca7b 100644 --- a/backend/plugins/jenkins/models/job.go +++ b/backend/plugins/jenkins/models/job.go @@ -18,8 +18,8 @@ limitations under the License. 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 18ce05b623e..07c4930355c 100644 --- a/backend/plugins/jenkins/models/job_dag.go +++ b/backend/plugins/jenkins/models/job_dag.go @@ -18,7 +18,7 @@ limitations under the License. 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 553c05558ed..1775b9d78d5 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 @@ limitations under the License. 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 e5b1160ddc6..07466f74101 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 @@ limitations under the License. package migrationscripts import ( - "github.com/apache/incubator-devlake/core/context" - "github.com/apache/incubator-devlake/core/errors" - "github.com/apache/incubator-devlake/core/models/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 ec4e3322966..697742bb02a 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 @@ package migrationscripts 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 f0fb6a16ab6..041a90400f5 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 @@ limitations under the License. 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 6278cb37e44..6b08ea40e2b 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 @@ limitations under the License. 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 43b239976fa..ad44ca9b4ac 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 @@ limitations under the License. package migrationscripts import ( - "github.com/apache/incubator-devlake/core/context" - "github.com/apache/incubator-devlake/core/errors" - "github.com/apache/incubator-devlake/core/models/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 2802835e033..a34394457bf 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 @@ package migrationscripts 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 bc1cf359533..0627a09dfe3 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 @@ limitations under the License. package migrationscripts import ( - "github.com/apache/incubator-devlake/core/context" - "github.com/apache/incubator-devlake/core/errors" - "github.com/apache/incubator-devlake/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 34c38fbd324..91e8fffc722 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 @@ limitations under the License. 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 1cdbe9cb80d..8b6ea54b3cd 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 @@ limitations under the License. package migrationscripts import ( - "github.com/apache/incubator-devlake/core/context" - "github.com/apache/incubator-devlake/core/errors" - "github.com/apache/incubator-devlake/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 93fa479c235..e9037b42f54 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 @@ 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 = (*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 ace7cde8a76..7f61fed1dac 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 @@ limitations under the License. package migrationscripts import ( - "github.com/apache/incubator-devlake/core/context" - "github.com/apache/incubator-devlake/core/errors" - "github.com/apache/incubator-devlake/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 70bc781f62d..74cd6d524d7 100644 --- a/backend/plugins/jenkins/models/migrationscripts/archived/build.go +++ b/backend/plugins/jenkins/models/migrationscripts/archived/build.go @@ -18,7 +18,7 @@ limitations under the License. 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 0d6c5d80a75..457e9996887 100644 --- a/backend/plugins/jenkins/models/migrationscripts/archived/connection.go +++ b/backend/plugins/jenkins/models/migrationscripts/archived/connection.go @@ -18,7 +18,7 @@ limitations under the License. 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 62ef9738f63..7d1616077be 100644 --- a/backend/plugins/jenkins/models/migrationscripts/archived/job.go +++ b/backend/plugins/jenkins/models/migrationscripts/archived/job.go @@ -18,7 +18,7 @@ limitations under the License. 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 26b716ee62a..7a346d58b0e 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 @@ limitations under the License. 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 1dc1eb84b15..63081ba52f5 100644 --- a/backend/plugins/jenkins/models/migrationscripts/register.go +++ b/backend/plugins/jenkins/models/migrationscripts/register.go @@ -18,7 +18,7 @@ limitations under the License. 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 1eb889ca43f..5cedc16903f 100644 --- a/backend/plugins/jenkins/models/scope_config.go +++ b/backend/plugins/jenkins/models/scope_config.go @@ -18,7 +18,7 @@ limitations under the License. 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 13f8d85be09..f7404248b75 100644 --- a/backend/plugins/jenkins/models/stage.go +++ b/backend/plugins/jenkins/models/stage.go @@ -18,7 +18,7 @@ limitations under the License. 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 eabff5cf43e..b75c322ce66 100644 --- a/backend/plugins/jenkins/tasks/api_client.go +++ b/backend/plugins/jenkins/tasks/api_client.go @@ -18,10 +18,10 @@ limitations under the License. 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 34ec88d576b..e63506c4c03 100644 --- a/backend/plugins/jenkins/tasks/build_cicd_convertor.go +++ b/backend/plugins/jenkins/tasks/build_cicd_convertor.go @@ -24,14 +24,14 @@ 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" - "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 a1ae7498754..b447bed7bcc 100644 --- a/backend/plugins/jenkins/tasks/build_collector.go +++ b/backend/plugins/jenkins/tasks/build_collector.go @@ -25,11 +25,11 @@ import ( "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 7e4ec57b46c..4f1f41fd2a4 100644 --- a/backend/plugins/jenkins/tasks/build_commit_convertor.go +++ b/backend/plugins/jenkins/tasks/build_commit_convertor.go @@ -21,13 +21,13 @@ import ( "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 d039034ab5a..777cde9baee 100644 --- a/backend/plugins/jenkins/tasks/build_extractor.go +++ b/backend/plugins/jenkins/tasks/build_extractor.go @@ -23,10 +23,10 @@ import ( "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 3aaf8d27a43..371225b1fa3 100644 --- a/backend/plugins/jenkins/tasks/build_stages_enricher.go +++ b/backend/plugins/jenkins/tasks/build_stages_enricher.go @@ -20,10 +20,10 @@ package tasks 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 cdb9da4a5dc..7bb10b9a5da 100644 --- a/backend/plugins/jenkins/tasks/job_collector.go +++ b/backend/plugins/jenkins/tasks/job_collector.go @@ -24,9 +24,9 @@ import ( "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 659c1980f21..11f9bc75e3b 100644 --- a/backend/plugins/jenkins/tasks/job_convertor.go +++ b/backend/plugins/jenkins/tasks/job_convertor.go @@ -18,14 +18,14 @@ limitations under the License. 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 4f5810e844a..9589484f75d 100644 --- a/backend/plugins/jenkins/tasks/job_extractor.go +++ b/backend/plugins/jenkins/tasks/job_extractor.go @@ -21,10 +21,10 @@ import ( "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 a54f0001459..e90ae0063e9 100644 --- a/backend/plugins/jenkins/tasks/shared.go +++ b/backend/plugins/jenkins/tasks/shared.go @@ -20,8 +20,8 @@ package tasks 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 c38e3439bed..0398023d7af 100644 --- a/backend/plugins/jenkins/tasks/stage_collector.go +++ b/backend/plugins/jenkins/tasks/stage_collector.go @@ -24,10 +24,10 @@ import ( "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 35c31fade1c..6bf8df8ddf5 100644 --- a/backend/plugins/jenkins/tasks/stage_convertor.go +++ b/backend/plugins/jenkins/tasks/stage_convertor.go @@ -22,15 +22,15 @@ import ( "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 22da749a8d9..d455549dc03 100644 --- a/backend/plugins/jenkins/tasks/stage_extractor.go +++ b/backend/plugins/jenkins/tasks/stage_extractor.go @@ -20,10 +20,10 @@ package tasks 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 29274366e5b..5f624d3fb5d 100644 --- a/backend/plugins/jenkins/tasks/task_data.go +++ b/backend/plugins/jenkins/tasks/task_data.go @@ -20,9 +20,9 @@ package tasks 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 e3859286b0f..d9571858291 100644 --- a/backend/plugins/jira/api/blueprint_v200.go +++ b/backend/plugins/jira/api/blueprint_v200.go @@ -20,16 +20,16 @@ package api 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 fa1de5848d8..4562bf27514 100644 --- a/backend/plugins/jira/api/connection_api.go +++ b/backend/plugins/jira/api/connection_api.go @@ -24,12 +24,12 @@ import ( "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 e8ce6c0ad22..c06581b827e 100644 --- a/backend/plugins/jira/api/connection_api_test.go +++ b/backend/plugins/jira/api/connection_api_test.go @@ -25,10 +25,10 @@ import ( "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 86ca5caa4d9..c01c5e405a9 100644 --- a/backend/plugins/jira/api/init.go +++ b/backend/plugins/jira/api/init.go @@ -18,10 +18,10 @@ limitations under the License. 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 3e1e820eb60..fcee62525ce 100644 --- a/backend/plugins/jira/api/remote_api.go +++ b/backend/plugins/jira/api/remote_api.go @@ -21,12 +21,12 @@ import ( "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 8d6d8b9b83d..089c9ec04b0 100644 --- a/backend/plugins/jira/api/scope_api.go +++ b/backend/plugins/jira/api/scope_api.go @@ -23,12 +23,12 @@ import ( "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 dae0514ef32..327c2b7cff1 100644 --- a/backend/plugins/jira/api/scope_config_api.go +++ b/backend/plugins/jira/api/scope_config_api.go @@ -26,10 +26,10 @@ import ( "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 faca407f187..a7b00d7824b 100644 --- a/backend/plugins/jira/api/scope_config_test.go +++ b/backend/plugins/jira/api/scope_config_test.go @@ -20,7 +20,7 @@ package api import ( "testing" - "github.com/apache/incubator-devlake/core/errors" + "github.com/apache/devlake/core/errors" "github.com/stretchr/testify/assert" ) @@ -68,11 +68,11 @@ func Test_applyRegex(t *testing.T) { "test1", args{ `https://gitlab.com/(?P[^/]+)/(?P[^/]+)/-/commit/(?P\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 @@ func Test_generateThenApplyRegex(t *testing.T) { "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 @@ func Test_generateThenApplyRegex(t *testing.T) { "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 45fb6d26880..df7ad55c5c8 100644 --- a/backend/plugins/jira/api/scope_state_api.go +++ b/backend/plugins/jira/api/scope_state_api.go @@ -18,8 +18,8 @@ limitations under the License. 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 fd1c736393a..2ebbb2f73cd 100644 --- a/backend/plugins/jira/api/swagger.go +++ b/backend/plugins/jira/api/swagger.go @@ -18,7 +18,7 @@ limitations under the License. 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 9901eea79d0..c8346c4a1c0 100644 --- a/backend/plugins/jira/e2e/account_test.go +++ b/backend/plugins/jira/e2e/account_test.go @@ -18,11 +18,11 @@ limitations under the License. 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 eacbb4b7753..eea3ef34d84 100644 --- a/backend/plugins/jira/e2e/board_test.go +++ b/backend/plugins/jira/e2e/board_test.go @@ -18,11 +18,11 @@ limitations under the License. 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 8f6880f00cd..235da7727de 100644 --- a/backend/plugins/jira/e2e/changelog_test.go +++ b/backend/plugins/jira/e2e/changelog_test.go @@ -18,11 +18,11 @@ limitations under the License. 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 fd779a19fed..8d94a953b1f 100644 --- a/backend/plugins/jira/e2e/development_penal_test.go +++ b/backend/plugins/jira/e2e/development_penal_test.go @@ -20,10 +20,10 @@ package e2e 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 9391b7f726f..49f89e93619 100644 --- a/backend/plugins/jira/e2e/epic_test.go +++ b/backend/plugins/jira/e2e/epic_test.go @@ -20,11 +20,11 @@ package e2e 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 b219a600ce8..e929e4d6701 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 @@ limitations under the License. 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 e8c7e2f0cf1..57a845b4d42 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 @@ import ( "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 0674dfe20f5..560a1b71393 100644 --- a/backend/plugins/jira/e2e/issue_changelog_test.go +++ b/backend/plugins/jira/e2e/issue_changelog_test.go @@ -18,10 +18,10 @@ limitations under the License. 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 be36473bfc0..0634deed80a 100644 --- a/backend/plugins/jira/e2e/issue_relationship_test.go +++ b/backend/plugins/jira/e2e/issue_relationship_test.go @@ -20,12 +20,12 @@ package e2e 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 7b959b13e5f..44987162f79 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 @@ package e2e 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 58470912f88..99512768dfb 100644 --- a/backend/plugins/jira/e2e/issue_test.go +++ b/backend/plugins/jira/e2e/issue_test.go @@ -20,12 +20,12 @@ package e2e 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 01e99c26b94..045c07ca9e1 100644 --- a/backend/plugins/jira/e2e/label_test.go +++ b/backend/plugins/jira/e2e/label_test.go @@ -20,11 +20,11 @@ package e2e 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 619aee6e415..a7f033833c4 100644 --- a/backend/plugins/jira/e2e/migration_schema_test.go +++ b/backend/plugins/jira/e2e/migration_schema_test.go @@ -21,15 +21,15 @@ import ( "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 1f14a5fe6c2..73e8525298a 100644 --- a/backend/plugins/jira/e2e/project_test.go +++ b/backend/plugins/jira/e2e/project_test.go @@ -18,10 +18,10 @@ limitations under the License. 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 49df1b4213a..8b127044ebe 100644 --- a/backend/plugins/jira/e2e/remotelink_test.go +++ b/backend/plugins/jira/e2e/remotelink_test.go @@ -20,10 +20,10 @@ package e2e 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 cdd1d52314f..4185ad44d41 100644 --- a/backend/plugins/jira/e2e/sprint_issue_test.go +++ b/backend/plugins/jira/e2e/sprint_issue_test.go @@ -18,11 +18,11 @@ limitations under the License. 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 17509e5f238..ec71a0d349f 100644 --- a/backend/plugins/jira/e2e/sprint_test.go +++ b/backend/plugins/jira/e2e/sprint_test.go @@ -20,11 +20,11 @@ package e2e 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 4189bc42e42..28d2fde10ba 100644 --- a/backend/plugins/jira/e2e/status_test.go +++ b/backend/plugins/jira/e2e/status_test.go @@ -18,10 +18,10 @@ limitations under the License. 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 00fb8e86dcb..7e4f5e545c6 100644 --- a/backend/plugins/jira/e2e/worklog_test.go +++ b/backend/plugins/jira/e2e/worklog_test.go @@ -18,11 +18,11 @@ limitations under the License. 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 cebb899f2a6..c66a7061c62 100644 --- a/backend/plugins/jira/impl/impl.go +++ b/backend/plugins/jira/impl/impl.go @@ -21,17 +21,17 @@ import ( "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) MakeDataSourcePipelinePlanV200( } 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 f22cc917971..9e5e82f7974 100644 --- a/backend/plugins/jira/jira.go +++ b/backend/plugins/jira/jira.go @@ -18,8 +18,8 @@ limitations under the License. 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 da9ede73049..4c913091a0f 100644 --- a/backend/plugins/jira/models/account.go +++ b/backend/plugins/jira/models/account.go @@ -18,7 +18,7 @@ limitations under the License. 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 f76af2a5247..93f3a8a0469 100644 --- a/backend/plugins/jira/models/board.go +++ b/backend/plugins/jira/models/board.go @@ -20,8 +20,8 @@ package models 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 3240d59ed98..ca7a8effdd8 100644 --- a/backend/plugins/jira/models/board_issue.go +++ b/backend/plugins/jira/models/board_issue.go @@ -18,7 +18,7 @@ limitations under the License. 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 8060c308aaf..0a54e31a569 100644 --- a/backend/plugins/jira/models/connection.go +++ b/backend/plugins/jira/models/connection.go @@ -18,11 +18,11 @@ limitations under the License. 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 898b05dbe26..c70821f1863 100644 --- a/backend/plugins/jira/models/issue.go +++ b/backend/plugins/jira/models/issue.go @@ -20,7 +20,7 @@ package models 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 927c47e67b5..9bc15560869 100644 --- a/backend/plugins/jira/models/issue_changelog.go +++ b/backend/plugins/jira/models/issue_changelog.go @@ -18,7 +18,7 @@ limitations under the License. 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 5ed911ca399..e05d15e6ba8 100644 --- a/backend/plugins/jira/models/issue_comment.go +++ b/backend/plugins/jira/models/issue_comment.go @@ -18,7 +18,7 @@ limitations under the License. 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 8e77a505d78..88da6b95c90 100644 --- a/backend/plugins/jira/models/issue_commit.go +++ b/backend/plugins/jira/models/issue_commit.go @@ -18,7 +18,7 @@ limitations under the License. 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 3ca31b1861d..fbd92662ab6 100644 --- a/backend/plugins/jira/models/issue_field.go +++ b/backend/plugins/jira/models/issue_field.go @@ -17,7 +17,7 @@ limitations under the License. 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 0caf2a30aa7..806b6848d23 100644 --- a/backend/plugins/jira/models/issue_label.go +++ b/backend/plugins/jira/models/issue_label.go @@ -18,7 +18,7 @@ limitations under the License. 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 5539dc6a2e2..8b44a3fdbdc 100644 --- a/backend/plugins/jira/models/issue_relationship.go +++ b/backend/plugins/jira/models/issue_relationship.go @@ -18,7 +18,7 @@ limitations under the License. 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 c7085389dcc..04ab3089de1 100644 --- a/backend/plugins/jira/models/issue_type.go +++ b/backend/plugins/jira/models/issue_type.go @@ -18,7 +18,7 @@ limitations under the License. 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 e9f9080f87c..474c5c77289 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 @@ limitations under the License. package migrationscripts import ( - "github.com/apache/incubator-devlake/core/context" - "github.com/apache/incubator-devlake/core/errors" - "github.com/apache/incubator-devlake/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 07fab9d2092..800b1218381 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 @@ limitations under the License. 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 6f161976c0b..ce10852e096 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 @@ package migrationscripts 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 ad3c584b371..ca591cf56ed 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 @@ limitations under the License. package migrationscripts import ( - "github.com/apache/incubator-devlake/core/context" - "github.com/apache/incubator-devlake/core/errors" - "github.com/apache/incubator-devlake/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 b46b25bb56b..69705a30804 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 @@ limitations under the License. package migrationscripts import ( - "github.com/apache/incubator-devlake/core/context" - "github.com/apache/incubator-devlake/core/errors" - "github.com/apache/incubator-devlake/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 a3ac1f26230..70f959d35bf 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 @@ limitations under the License. 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 8f6b91443e7..fc1e2c413c3 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 @@ limitations under the License. package migrationscripts import ( - "github.com/apache/incubator-devlake/core/context" - "github.com/apache/incubator-devlake/core/errors" - "github.com/apache/incubator-devlake/core/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 9c4365f1921..1a8a1a8b45d 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 @@ package migrationscripts 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 101dafc3abc..39e324caacb 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 @@ limitations under the License. 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 51a86bc344c..aaaa434792f 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 @@ limitations under the License. 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 f58a56874fc..8a6b0cf3915 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 @@ limitations under the License. package migrationscripts import ( - "github.com/apache/incubator-devlake/core/context" - "github.com/apache/incubator-devlake/core/errors" - "github.com/apache/incubator-devlake/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 bef5f02e45b..bcc38e41fc6 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 @@ limitations under the License. package migrationscripts import ( - "github.com/apache/incubator-devlake/core/context" - "github.com/apache/incubator-devlake/core/errors" - "github.com/apache/incubator-devlake/core/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 b7aeb527b2e..15ffd330e7f 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 @@ limitations under the License. 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 6a8b903a56e..0644a1bdf41 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 @@ limitations under the License. package migrationscripts import ( - "github.com/apache/incubator-devlake/core/context" - "github.com/apache/incubator-devlake/core/errors" - "github.com/apache/incubator-devlake/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 c6aec38cc38..c4479a5792c 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 @@ limitations under the License. package migrationscripts import ( - "github.com/apache/incubator-devlake/core/context" - "github.com/apache/incubator-devlake/core/errors" - "github.com/apache/incubator-devlake/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 c11497adbe4..dfd8056dc8a 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 @@ limitations under the License. package migrationscripts import ( - "github.com/apache/incubator-devlake/core/context" - "github.com/apache/incubator-devlake/core/errors" - "github.com/apache/incubator-devlake/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 c1d4a41c4c7..60ec4177e31 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 @@ package migrationscripts 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 4a8c99dd20d..41b3c06924c 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 @@ import ( "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 e04482f76f0..e4ffb789ee1 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 @@ limitations under the License. package migrationscripts import ( - "github.com/apache/incubator-devlake/core/context" - "github.com/apache/incubator-devlake/core/errors" - "github.com/apache/incubator-devlake/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 db114792c2c..71f2b083183 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 @@ limitations under the License. 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 d1c7edd8fe9..00b0d2e722e 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 @@ limitations under the License. package migrationscripts import ( - "github.com/apache/incubator-devlake/core/context" - "github.com/apache/incubator-devlake/core/errors" - "github.com/apache/incubator-devlake/core/models/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 c730967faf4..93113e1619d 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 @@ limitations under the License. package migrationscripts import ( - "github.com/apache/incubator-devlake/core/context" - "github.com/apache/incubator-devlake/core/errors" - "github.com/apache/incubator-devlake/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 9528cb0d12b..1165c8f7d26 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 @@ limitations under the License. package migrationscripts import ( - "github.com/apache/incubator-devlake/core/context" - "github.com/apache/incubator-devlake/core/errors" - "github.com/apache/incubator-devlake/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 104606ec6a1..5a60fee69d6 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 @@ limitations under the License. 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 13d0f1f1739..1477ec61297 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 @@ limitations under the License. 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 1f8fcf27480..2f5fa3da4b1 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 @@ limitations under the License. package migrationscripts import ( - "github.com/apache/incubator-devlake/core/context" - "github.com/apache/incubator-devlake/core/errors" - "github.com/apache/incubator-devlake/core/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 05ba584d0fc..f137790c7df 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 @@ limitations under the License. package migrationscripts import ( - "github.com/apache/incubator-devlake/core/context" - "github.com/apache/incubator-devlake/core/errors" - "github.com/apache/incubator-devlake/core/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 30329085c34..8509e70f709 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 @@ limitations under the License. package migrationscripts import ( - "github.com/apache/incubator-devlake/core/context" - "github.com/apache/incubator-devlake/core/errors" - "github.com/apache/incubator-devlake/core/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 a34a8d240b6..1092370de0a 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 @@ limitations under the License. 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 bfa802b0cb2..f1f4b83854f 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 @@ package migrationscripts 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 2486432929c..a4ffe798e4e 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 @@ limitations under the License. package migrationscripts import ( - "github.com/apache/incubator-devlake/core/context" - "github.com/apache/incubator-devlake/core/errors" - "github.com/apache/incubator-devlake/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 455be7f6df2..cd2b91a177c 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 @@ limitations under the License. package migrationscripts import ( - "github.com/apache/incubator-devlake/core/context" - "github.com/apache/incubator-devlake/core/errors" - "github.com/apache/incubator-devlake/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 34966a56525..32e6fc3dd29 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 @@ limitations under the License. package migrationscripts import ( - "github.com/apache/incubator-devlake/core/context" - "github.com/apache/incubator-devlake/core/errors" - "github.com/apache/incubator-devlake/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 23b37dab081..1dbd8c3bd18 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 @@ limitations under the License. package migrationscripts import ( - "github.com/apache/incubator-devlake/core/context" - "github.com/apache/incubator-devlake/core/errors" - "github.com/apache/incubator-devlake/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 c31b709ded6..8d47e579541 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 @@ limitations under the License. package migrationscripts import ( - "github.com/apache/incubator-devlake/core/context" - "github.com/apache/incubator-devlake/core/errors" - "github.com/apache/incubator-devlake/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 5ee4d671f70..dd29ab108cd 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 @@ limitations under the License. package migrationscripts import ( - "github.com/apache/incubator-devlake/core/context" - "github.com/apache/incubator-devlake/core/errors" - "github.com/apache/incubator-devlake/core/models/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 c5e6e41f407..565cef5cc02 100644 --- a/backend/plugins/jira/models/migrationscripts/archived/account.go +++ b/backend/plugins/jira/models/migrationscripts/archived/account.go @@ -18,7 +18,7 @@ limitations under the License. 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 3d8f65f136c..ae2f2435883 100644 --- a/backend/plugins/jira/models/migrationscripts/archived/board.go +++ b/backend/plugins/jira/models/migrationscripts/archived/board.go @@ -18,7 +18,7 @@ limitations under the License. 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 c62712c69da..1e04c8e6a4c 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 @@ limitations under the License. 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 78f60d6b479..0c19d37aafc 100644 --- a/backend/plugins/jira/models/migrationscripts/archived/connection.go +++ b/backend/plugins/jira/models/migrationscripts/archived/connection.go @@ -18,7 +18,7 @@ limitations under the License. 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 fb30fe7e8fb..502ad600ad5 100644 --- a/backend/plugins/jira/models/migrationscripts/archived/issue.go +++ b/backend/plugins/jira/models/migrationscripts/archived/issue.go @@ -21,7 +21,7 @@ import ( "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 a497d67bf34..806d19b42be 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 @@ limitations under the License. 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 d8581bb6b7d..2f17736f733 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 @@ limitations under the License. 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 f2f503c6390..c4085b092c0 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 @@ limitations under the License. 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 865aea15d75..1e537170c9d 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 @@ limitations under the License. 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 8bbf92fed02..59389dd120c 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 @@ limitations under the License. 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 29f8b1a137a..7081d6d3254 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 @@ limitations under the License. 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 97f3ecc06d5..99fb222700b 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 @@ limitations under the License. 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 b9bb946a304..2fa28ad974d 100644 --- a/backend/plugins/jira/models/migrationscripts/archived/project.go +++ b/backend/plugins/jira/models/migrationscripts/archived/project.go @@ -18,7 +18,7 @@ limitations under the License. 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 d29dc6b44a2..b5320bc04db 100644 --- a/backend/plugins/jira/models/migrationscripts/archived/remotelink.go +++ b/backend/plugins/jira/models/migrationscripts/archived/remotelink.go @@ -21,7 +21,7 @@ import ( "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 951eba5b598..0be7f45d647 100644 --- a/backend/plugins/jira/models/migrationscripts/archived/source.go +++ b/backend/plugins/jira/models/migrationscripts/archived/source.go @@ -18,7 +18,7 @@ limitations under the License. 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 7c760f48477..5093ed602ce 100644 --- a/backend/plugins/jira/models/migrationscripts/archived/sprint.go +++ b/backend/plugins/jira/models/migrationscripts/archived/sprint.go @@ -18,7 +18,7 @@ limitations under the License. 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 d1c5d8f6d43..a47ac6951de 100644 --- a/backend/plugins/jira/models/migrationscripts/archived/status.go +++ b/backend/plugins/jira/models/migrationscripts/archived/status.go @@ -18,7 +18,7 @@ limitations under the License. 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 993c671f01f..ff073d2c54d 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 @@ package archived 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 d79f0260e21..24afb977108 100644 --- a/backend/plugins/jira/models/migrationscripts/archived/worklog.go +++ b/backend/plugins/jira/models/migrationscripts/archived/worklog.go @@ -18,7 +18,7 @@ limitations under the License. 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 e71dee8ea14..4cde3dd942d 100644 --- a/backend/plugins/jira/models/migrationscripts/register.go +++ b/backend/plugins/jira/models/migrationscripts/register.go @@ -18,7 +18,7 @@ limitations under the License. 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 40c33d62568..c16b44f4555 100644 --- a/backend/plugins/jira/models/project.go +++ b/backend/plugins/jira/models/project.go @@ -18,7 +18,7 @@ limitations under the License. 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 45dbbd44bed..ce784e5dbee 100644 --- a/backend/plugins/jira/models/remotelink.go +++ b/backend/plugins/jira/models/remotelink.go @@ -21,7 +21,7 @@ import ( "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 5dc6d07fed9..c31a43256e1 100644 --- a/backend/plugins/jira/models/scope_config.go +++ b/backend/plugins/jira/models/scope_config.go @@ -21,8 +21,8 @@ import ( "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 e90bf302b48..11a7fc85168 100644 --- a/backend/plugins/jira/models/sprint.go +++ b/backend/plugins/jira/models/sprint.go @@ -18,7 +18,7 @@ limitations under the License. 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 b9280e2e41a..149d57b7aab 100644 --- a/backend/plugins/jira/models/sprint_report.go +++ b/backend/plugins/jira/models/sprint_report.go @@ -18,7 +18,7 @@ limitations under the License. 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 ae754e3e2a6..d70ea35c4e8 100644 --- a/backend/plugins/jira/models/status.go +++ b/backend/plugins/jira/models/status.go @@ -18,7 +18,7 @@ limitations under the License. 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 4173929d6b7..bf0ab1f0841 100644 --- a/backend/plugins/jira/models/worklog.go +++ b/backend/plugins/jira/models/worklog.go @@ -18,7 +18,7 @@ limitations under the License. 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 fcf85dd6a2f..869cce1aa64 100644 --- a/backend/plugins/jira/tasks/account_collector.go +++ b/backend/plugins/jira/tasks/account_collector.go @@ -25,11 +25,11 @@ import ( "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 193cca4d28c..d4cecd450e9 100644 --- a/backend/plugins/jira/tasks/account_convertor.go +++ b/backend/plugins/jira/tasks/account_convertor.go @@ -18,14 +18,14 @@ limitations under the License. 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 0f9aae2e094..373e8aa9d45 100644 --- a/backend/plugins/jira/tasks/account_extractor.go +++ b/backend/plugins/jira/tasks/account_extractor.go @@ -19,10 +19,10 @@ package tasks 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 2062645b6b5..f90f1bd017c 100644 --- a/backend/plugins/jira/tasks/api_client.go +++ b/backend/plugins/jira/tasks/api_client.go @@ -21,10 +21,10 @@ import ( "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 eeb41904249..88b00bc6d9f 100644 --- a/backend/plugins/jira/tasks/apiv2models/board.go +++ b/backend/plugins/jira/tasks/apiv2models/board.go @@ -18,8 +18,8 @@ limitations under the License. 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 61c475e0937..c9b1f268dba 100644 --- a/backend/plugins/jira/tasks/apiv2models/changelog.go +++ b/backend/plugins/jira/tasks/apiv2models/changelog.go @@ -20,8 +20,8 @@ package apiv2models 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 c2cd8e1edce..aa2a2e7bec2 100644 --- a/backend/plugins/jira/tasks/apiv2models/comment.go +++ b/backend/plugins/jira/tasks/apiv2models/comment.go @@ -20,8 +20,8 @@ package apiv2models 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 ab54efb9594..b1b24e2050c 100644 --- a/backend/plugins/jira/tasks/apiv2models/issue.go +++ b/backend/plugins/jira/tasks/apiv2models/issue.go @@ -22,9 +22,9 @@ import ( "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 4aabd3f548b..daa14a2faf7 100644 --- a/backend/plugins/jira/tasks/apiv2models/project.go +++ b/backend/plugins/jira/tasks/apiv2models/project.go @@ -18,7 +18,7 @@ limitations under the License. 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 4dd87b37a25..7f5df1ff791 100644 --- a/backend/plugins/jira/tasks/apiv2models/remotelink.go +++ b/backend/plugins/jira/tasks/apiv2models/remotelink.go @@ -20,7 +20,7 @@ package apiv2models 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 2abcb57e5ae..222f8e21bf5 100644 --- a/backend/plugins/jira/tasks/apiv2models/sprint.go +++ b/backend/plugins/jira/tasks/apiv2models/sprint.go @@ -20,7 +20,7 @@ package apiv2models 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 eb798a516da..9290ee8ac28 100644 --- a/backend/plugins/jira/tasks/apiv2models/user.go +++ b/backend/plugins/jira/tasks/apiv2models/user.go @@ -18,7 +18,7 @@ limitations under the License. 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 5fdb237782e..fe3eface04e 100644 --- a/backend/plugins/jira/tasks/apiv2models/worklog.go +++ b/backend/plugins/jira/tasks/apiv2models/worklog.go @@ -20,8 +20,8 @@ package apiv2models 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 44ab58b469b..3439fca50a0 100644 --- a/backend/plugins/jira/tasks/board_convertor.go +++ b/backend/plugins/jira/tasks/board_convertor.go @@ -18,14 +18,14 @@ limitations under the License. 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 10dc60758a8..6b064e2f669 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 @@ package tasks 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 4dfe06fefea..c9e898cca0b 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 @@ package tasks 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 1381b5475a8..fdc2f8e177a 100644 --- a/backend/plugins/jira/tasks/development_panel_collector.go +++ b/backend/plugins/jira/tasks/development_panel_collector.go @@ -25,11 +25,11 @@ import ( "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 5a6da121309..41ec421fed6 100644 --- a/backend/plugins/jira/tasks/development_panel_extractor.go +++ b/backend/plugins/jira/tasks/development_panel_extractor.go @@ -20,11 +20,11 @@ package tasks 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 d7fc45f3b73..67bcdcfe0a0 100644 --- a/backend/plugins/jira/tasks/epic_collector.go +++ b/backend/plugins/jira/tasks/epic_collector.go @@ -22,11 +22,11 @@ import ( "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 8fd31db9774..35b8b70c252 100644 --- a/backend/plugins/jira/tasks/epic_collector_test.go +++ b/backend/plugins/jira/tasks/epic_collector_test.go @@ -21,7 +21,7 @@ import ( "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 8768f2c67e6..8b138aaad93 100644 --- a/backend/plugins/jira/tasks/epic_extractor.go +++ b/backend/plugins/jira/tasks/epic_extractor.go @@ -18,13 +18,13 @@ limitations under the License. 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 76c1eef389c..dd4f836069b 100644 --- a/backend/plugins/jira/tasks/issue_changelog_collector.go +++ b/backend/plugins/jira/tasks/issue_changelog_collector.go @@ -24,13 +24,13 @@ import ( "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 31b71fd6dba..25b6ad1a8f2 100644 --- a/backend/plugins/jira/tasks/issue_changelog_convertor.go +++ b/backend/plugins/jira/tasks/issue_changelog_convertor.go @@ -23,14 +23,14 @@ import ( "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 b5de33a4574..5e41e5b003a 100644 --- a/backend/plugins/jira/tasks/issue_changelog_extractor.go +++ b/backend/plugins/jira/tasks/issue_changelog_extractor.go @@ -20,11 +20,11 @@ package tasks 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 7b13af7c6f9..ff5dd8fd855 100644 --- a/backend/plugins/jira/tasks/issue_collector.go +++ b/backend/plugins/jira/tasks/issue_collector.go @@ -28,12 +28,12 @@ import ( "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 fe47050df56..66912e92b03 100644 --- a/backend/plugins/jira/tasks/issue_collector_test.go +++ b/backend/plugins/jira/tasks/issue_collector_test.go @@ -27,9 +27,9 @@ import ( "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 5ef2777be25..07574070617 100644 --- a/backend/plugins/jira/tasks/issue_comment_collector.go +++ b/backend/plugins/jira/tasks/issue_comment_collector.go @@ -24,13 +24,13 @@ import ( "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 8e5e08c8e04..dc01c9fa422 100644 --- a/backend/plugins/jira/tasks/issue_comment_convertor.go +++ b/backend/plugins/jira/tasks/issue_comment_convertor.go @@ -20,14 +20,14 @@ package tasks 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 e53828853da..8e8e10bc730 100644 --- a/backend/plugins/jira/tasks/issue_comment_extractor.go +++ b/backend/plugins/jira/tasks/issue_comment_extractor.go @@ -19,11 +19,11 @@ package tasks 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 a84ee5be600..ea5c0b7a123 100644 --- a/backend/plugins/jira/tasks/issue_commit_convertor.go +++ b/backend/plugins/jira/tasks/issue_commit_convertor.go @@ -18,13 +18,13 @@ limitations under the License. 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 de5f60e1d81..74a92328e73 100644 --- a/backend/plugins/jira/tasks/issue_convertor.go +++ b/backend/plugins/jira/tasks/issue_convertor.go @@ -22,14 +22,14 @@ import ( "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 2fef63841fa..f1db6c76d1d 100644 --- a/backend/plugins/jira/tasks/issue_extractor.go +++ b/backend/plugins/jira/tasks/issue_extractor.go @@ -22,13 +22,13 @@ import ( "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 f198e5b2256..97489fd8a36 100644 --- a/backend/plugins/jira/tasks/issue_extractor_test.go +++ b/backend/plugins/jira/tasks/issue_extractor_test.go @@ -22,9 +22,9 @@ import ( "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 63b535d2d93..4d7caac3cbc 100644 --- a/backend/plugins/jira/tasks/issue_field_collector.go +++ b/backend/plugins/jira/tasks/issue_field_collector.go @@ -19,9 +19,9 @@ package tasks 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 13fae198a4a..277c2825efb 100644 --- a/backend/plugins/jira/tasks/issue_field_extractor.go +++ b/backend/plugins/jira/tasks/issue_field_extractor.go @@ -19,11 +19,11 @@ package tasks 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 d3d347cd27a..1a80dcda41b 100644 --- a/backend/plugins/jira/tasks/issue_label_convertor.go +++ b/backend/plugins/jira/tasks/issue_label_convertor.go @@ -18,15 +18,15 @@ limitations under the License. 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 0e1e5a88324..b776db9aab3 100644 --- a/backend/plugins/jira/tasks/issue_relationship_convertor.go +++ b/backend/plugins/jira/tasks/issue_relationship_convertor.go @@ -20,14 +20,14 @@ package tasks 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 afe150e9637..3d1db6aee69 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 @@ import ( "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 c867316b739..b414d683097 100644 --- a/backend/plugins/jira/tasks/issue_type_collector.go +++ b/backend/plugins/jira/tasks/issue_type_collector.go @@ -21,10 +21,10 @@ import ( "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 aef4979879c..548e0b36cdd 100644 --- a/backend/plugins/jira/tasks/issue_type_extractor.go +++ b/backend/plugins/jira/tasks/issue_type_extractor.go @@ -19,10 +19,10 @@ package tasks 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 4d0ed4f53b1..c9118cf6bc9 100644 --- a/backend/plugins/jira/tasks/project_collector.go +++ b/backend/plugins/jira/tasks/project_collector.go @@ -22,9 +22,9 @@ import ( "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 2b97a7a2cf0..15a81983db6 100644 --- a/backend/plugins/jira/tasks/project_extractor.go +++ b/backend/plugins/jira/tasks/project_extractor.go @@ -19,10 +19,10 @@ package tasks 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 6b44ca7e53a..f8c3542b133 100644 --- a/backend/plugins/jira/tasks/remotelink_collector.go +++ b/backend/plugins/jira/tasks/remotelink_collector.go @@ -22,11 +22,11 @@ import ( "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 d2585ac48ae..da67213e1a1 100644 --- a/backend/plugins/jira/tasks/remotelink_extractor.go +++ b/backend/plugins/jira/tasks/remotelink_extractor.go @@ -21,11 +21,11 @@ import ( "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 cdd118dd151..61676359fcf 100644 --- a/backend/plugins/jira/tasks/shared.go +++ b/backend/plugins/jira/tasks/shared.go @@ -18,9 +18,9 @@ limitations under the License. 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 a51c7adc0b1..a917a0c187d 100644 --- a/backend/plugins/jira/tasks/sprint_collector.go +++ b/backend/plugins/jira/tasks/sprint_collector.go @@ -23,9 +23,9 @@ import ( "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 2d9927543ba..b3dbb956e51 100644 --- a/backend/plugins/jira/tasks/sprint_convertor.go +++ b/backend/plugins/jira/tasks/sprint_convertor.go @@ -18,14 +18,14 @@ limitations under the License. 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 21276353dfe..1845ce95b33 100644 --- a/backend/plugins/jira/tasks/sprint_extractor.go +++ b/backend/plugins/jira/tasks/sprint_extractor.go @@ -20,11 +20,11 @@ package tasks 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 b1e4fa2219f..ba7270594d0 100644 --- a/backend/plugins/jira/tasks/sprint_issues_convertor.go +++ b/backend/plugins/jira/tasks/sprint_issues_convertor.go @@ -18,13 +18,13 @@ limitations under the License. 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 1f8db1f5cf9..3dd1e986595 100644 --- a/backend/plugins/jira/tasks/sprint_report_collector.go +++ b/backend/plugins/jira/tasks/sprint_report_collector.go @@ -25,11 +25,11 @@ import ( "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 76046c27319..2f2c188891b 100644 --- a/backend/plugins/jira/tasks/sprint_report_convertor.go +++ b/backend/plugins/jira/tasks/sprint_report_convertor.go @@ -18,12 +18,12 @@ limitations under the License. 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 c24c6be36d9..a114baf12b7 100644 --- a/backend/plugins/jira/tasks/sprint_report_extractor.go +++ b/backend/plugins/jira/tasks/sprint_report_extractor.go @@ -20,11 +20,11 @@ package tasks 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 4b2b3fc8cee..eb50295424c 100644 --- a/backend/plugins/jira/tasks/status_collector.go +++ b/backend/plugins/jira/tasks/status_collector.go @@ -21,9 +21,9 @@ import ( "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 e7dc3dd92dd..5cf2981361b 100644 --- a/backend/plugins/jira/tasks/status_extractor.go +++ b/backend/plugins/jira/tasks/status_extractor.go @@ -19,11 +19,11 @@ package tasks 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 227ad8b7d70..d81f39c829a 100644 --- a/backend/plugins/jira/tasks/task_data.go +++ b/backend/plugins/jira/tasks/task_data.go @@ -20,9 +20,9 @@ package tasks 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 b364a700489..8d31a1919d4 100644 --- a/backend/plugins/jira/tasks/worklog_collector.go +++ b/backend/plugins/jira/tasks/worklog_collector.go @@ -23,11 +23,11 @@ import ( "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 8eacfd29439..d6e3c1a8758 100644 --- a/backend/plugins/jira/tasks/worklog_convertor.go +++ b/backend/plugins/jira/tasks/worklog_convertor.go @@ -18,14 +18,14 @@ limitations under the License. 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 4ccf5190895..5d71a7aa8ec 100644 --- a/backend/plugins/jira/tasks/worklog_extractor.go +++ b/backend/plugins/jira/tasks/worklog_extractor.go @@ -19,10 +19,10 @@ package tasks 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 ceea9cbaee5..a121cb1954b 100644 --- a/backend/plugins/kiro/api/blueprint_v200.go +++ b/backend/plugins/kiro/api/blueprint_v200.go @@ -18,13 +18,13 @@ limitations under the License. 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 075274b1d56..ea30a1ffe36 100644 --- a/backend/plugins/kiro/api/connection.go +++ b/backend/plugins/kiro/api/connection.go @@ -20,10 +20,10 @@ package api 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 e4b614a743d..7d2831fa0c2 100644 --- a/backend/plugins/kiro/api/init.go +++ b/backend/plugins/kiro/api/init.go @@ -20,11 +20,11 @@ package api 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 1be7635558f..f555c60a569 100644 --- a/backend/plugins/kiro/api/remote_api.go +++ b/backend/plugins/kiro/api/remote_api.go @@ -22,12 +22,12 @@ import ( "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 f8a05fb185f..727b35aab64 100644 --- a/backend/plugins/kiro/api/s3_slice_api.go +++ b/backend/plugins/kiro/api/s3_slice_api.go @@ -18,11 +18,11 @@ limitations under the License. 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 de9fea37360..75117ed2813 100644 --- a/backend/plugins/kiro/api/test_connection.go +++ b/backend/plugins/kiro/api/test_connection.go @@ -24,11 +24,11 @@ import ( "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 7b30ca366f9..7e3dec2266a 100644 --- a/backend/plugins/kiro/api/test_connection_test.go +++ b/backend/plugins/kiro/api/test_connection_test.go @@ -24,7 +24,7 @@ import ( "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 c6b19708aeb..baa6bebeed3 100644 --- a/backend/plugins/kiro/impl/impl.go +++ b/backend/plugins/kiro/impl/impl.go @@ -20,16 +20,16 @@ package impl 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) Description() string { } 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 cb195602d63..90598fd1e12 100644 --- a/backend/plugins/kiro/impl/table_info_test.go +++ b/backend/plugins/kiro/impl/table_info_test.go @@ -20,7 +20,7 @@ package impl 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 27c8dff3032..e7d5e7d76e6 100644 --- a/backend/plugins/kiro/kiro.go +++ b/backend/plugins/kiro/kiro.go @@ -20,8 +20,8 @@ package main 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 cde329f517d..5433d806744 100644 --- a/backend/plugins/kiro/models/chat_log.go +++ b/backend/plugins/kiro/models/chat_log.go @@ -20,7 +20,7 @@ package models 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 cfd633e5335..7173f841d1d 100644 --- a/backend/plugins/kiro/models/completion_log.go +++ b/backend/plugins/kiro/models/completion_log.go @@ -20,7 +20,7 @@ package models 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 d8479c99b40..eb3dd9b3922 100644 --- a/backend/plugins/kiro/models/connection.go +++ b/backend/plugins/kiro/models/connection.go @@ -20,8 +20,8 @@ package models 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 4b2c8e7bbfb..c80f2e3b651 100644 --- a/backend/plugins/kiro/models/migrationscripts/20260729_init.go +++ b/backend/plugins/kiro/models/migrationscripts/20260729_init.go @@ -18,10 +18,10 @@ limitations under the License. package migrationscripts import ( - "github.com/apache/incubator-devlake/core/context" - "github.com/apache/incubator-devlake/core/errors" - "github.com/apache/incubator-devlake/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 53422db0499..1c7916e3805 100644 --- a/backend/plugins/kiro/models/migrationscripts/archived/init.go +++ b/backend/plugins/kiro/models/migrationscripts/archived/init.go @@ -24,7 +24,7 @@ package archived 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 ff85e7572ca..8d74fdbeac6 100644 --- a/backend/plugins/kiro/models/migrationscripts/register.go +++ b/backend/plugins/kiro/models/migrationscripts/register.go @@ -18,7 +18,7 @@ limitations under the License. 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 baea17ad440..8dc970c06cd 100644 --- a/backend/plugins/kiro/models/s3_file_meta.go +++ b/backend/plugins/kiro/models/s3_file_meta.go @@ -20,7 +20,7 @@ package models 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 adffb025274..4e787c42f38 100644 --- a/backend/plugins/kiro/models/s3_slice.go +++ b/backend/plugins/kiro/models/s3_slice.go @@ -21,8 +21,8 @@ import ( "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 4bc479b1c62..623fd633b45 100644 --- a/backend/plugins/kiro/models/timestamp_schema_test.go +++ b/backend/plugins/kiro/models/timestamp_schema_test.go @@ -21,7 +21,7 @@ import ( "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 89268b44cae..cb70ea5da68 100644 --- a/backend/plugins/kiro/models/user_model_messages.go +++ b/backend/plugins/kiro/models/user_model_messages.go @@ -20,7 +20,7 @@ package models 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 8f567550884..fc82130ac97 100644 --- a/backend/plugins/kiro/models/user_report.go +++ b/backend/plugins/kiro/models/user_report.go @@ -20,7 +20,7 @@ package models 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 1bd6a134759..40e6c1ac387 100644 --- a/backend/plugins/kiro/tasks/discovery.go +++ b/backend/plugins/kiro/tasks/discovery.go @@ -21,8 +21,8 @@ import ( "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 785f79cbd58..be316ef1c12 100644 --- a/backend/plugins/kiro/tasks/discovery_test.go +++ b/backend/plugins/kiro/tasks/discovery_test.go @@ -25,7 +25,7 @@ import ( "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 10867515005..51e7565f063 100644 --- a/backend/plugins/kiro/tasks/extractor.go +++ b/backend/plugins/kiro/tasks/extractor.go @@ -20,11 +20,11 @@ package tasks 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 5eec6051e3b..8ca0f2d2231 100644 --- a/backend/plugins/kiro/tasks/extractor_test.go +++ b/backend/plugins/kiro/tasks/extractor_test.go @@ -25,8 +25,8 @@ import ( "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 8e6ed34c2fd..953a16b3797 100644 --- a/backend/plugins/kiro/tasks/identity_client.go +++ b/backend/plugins/kiro/tasks/identity_client.go @@ -23,7 +23,7 @@ import ( "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 476b06add9c..6ec5d162b3c 100644 --- a/backend/plugins/kiro/tasks/log_extractor.go +++ b/backend/plugins/kiro/tasks/log_extractor.go @@ -18,9 +18,9 @@ limitations under the License. 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 3de9a66fdea..193fbd82135 100644 --- a/backend/plugins/kiro/tasks/log_parser.go +++ b/backend/plugins/kiro/tasks/log_parser.go @@ -27,8 +27,8 @@ import ( "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 89350b9934f..e8e7ce94536 100644 --- a/backend/plugins/kiro/tasks/normalize.go +++ b/backend/plugins/kiro/tasks/normalize.go @@ -22,7 +22,7 @@ import ( "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 a0e2d19ba5a..16837259ef3 100644 --- a/backend/plugins/kiro/tasks/s3_client.go +++ b/backend/plugins/kiro/tasks/s3_client.go @@ -27,8 +27,8 @@ import ( "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 08c910fcf20..ad38af0ae05 100644 --- a/backend/plugins/kiro/tasks/s3_client_test.go +++ b/backend/plugins/kiro/tasks/s3_client_test.go @@ -28,7 +28,7 @@ import ( "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 552292e3737..5555ee7ac8e 100644 --- a/backend/plugins/kiro/tasks/s3_file_collector.go +++ b/backend/plugins/kiro/tasks/s3_file_collector.go @@ -24,10 +24,10 @@ import ( "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 e45b26044fb..5e6069dcaf9 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 @@ import ( "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 c8b504f1d18..c18fe16a5f3 100644 --- a/backend/plugins/kiro/tasks/task_data.go +++ b/backend/plugins/kiro/tasks/task_data.go @@ -20,7 +20,7 @@ package tasks 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 ddef74a1cd5..d50a0cbbc67 100644 --- a/backend/plugins/kiro/tasks/user_report_extractor.go +++ b/backend/plugins/kiro/tasks/user_report_extractor.go @@ -18,9 +18,9 @@ limitations under the License. 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 7909b31cf43..1c99fd8dd84 100644 --- a/backend/plugins/kiro/tasks/user_report_parser.go +++ b/backend/plugins/kiro/tasks/user_report_parser.go @@ -25,8 +25,8 @@ import ( "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 112a270230f..0a1d3b461e6 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 @@ import ( "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 a26a43ab521..6db613d93aa 100644 --- a/backend/plugins/linear/api/blueprint_v200.go +++ b/backend/plugins/linear/api/blueprint_v200.go @@ -18,16 +18,16 @@ limitations under the License. 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 fe0d8b05db3..a1b367fd4c0 100644 --- a/backend/plugins/linear/api/blueprint_v200_test.go +++ b/backend/plugins/linear/api/blueprint_v200_test.go @@ -20,18 +20,18 @@ package api 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 c2c95c54d64..b3102ea2ec0 100644 --- a/backend/plugins/linear/api/connection_api.go +++ b/backend/plugins/linear/api/connection_api.go @@ -21,11 +21,11 @@ import ( "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 850acf54825..780474b36db 100644 --- a/backend/plugins/linear/api/init.go +++ b/backend/plugins/linear/api/init.go @@ -18,10 +18,10 @@ limitations under the License. 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 094c785016d..fd160e214c8 100644 --- a/backend/plugins/linear/api/remote_api.go +++ b/backend/plugins/linear/api/remote_api.go @@ -20,11 +20,11 @@ package api 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 801e0d5029f..811a35fc94b 100644 --- a/backend/plugins/linear/api/remote_api_test.go +++ b/backend/plugins/linear/api/remote_api_test.go @@ -21,7 +21,7 @@ import ( "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 9871d1d2bfe..d794f164330 100644 --- a/backend/plugins/linear/api/scope_api.go +++ b/backend/plugins/linear/api/scope_api.go @@ -18,10 +18,10 @@ limitations under the License. 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 e70b800fee2..5a8be81fa6c 100644 --- a/backend/plugins/linear/api/scope_config_api.go +++ b/backend/plugins/linear/api/scope_config_api.go @@ -18,8 +18,8 @@ limitations under the License. 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 9cb8f3a8e15..c83715be3a8 100644 --- a/backend/plugins/linear/e2e/account_test.go +++ b/backend/plugins/linear/e2e/account_test.go @@ -20,12 +20,12 @@ package e2e 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 eb4e0487323..3b52e96777c 100644 --- a/backend/plugins/linear/e2e/board_test.go +++ b/backend/plugins/linear/e2e/board_test.go @@ -20,12 +20,12 @@ package e2e 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 67ee95adad5..5a593eb7158 100644 --- a/backend/plugins/linear/e2e/comment_test.go +++ b/backend/plugins/linear/e2e/comment_test.go @@ -20,12 +20,12 @@ package e2e 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 207e9c8a3f9..5630c3bf574 100644 --- a/backend/plugins/linear/e2e/cycle_test.go +++ b/backend/plugins/linear/e2e/cycle_test.go @@ -20,12 +20,12 @@ package e2e 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 7d4a4c9798a..794a7af62f7 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 @@ package e2e 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 31f559694e5..165f8626a56 100644 --- a/backend/plugins/linear/e2e/issue_history_test.go +++ b/backend/plugins/linear/e2e/issue_history_test.go @@ -20,12 +20,12 @@ package e2e 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 fb214fa82e5..2d7528c0da8 100644 --- a/backend/plugins/linear/e2e/issue_incident_test.go +++ b/backend/plugins/linear/e2e/issue_incident_test.go @@ -20,12 +20,12 @@ package e2e 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 783820f696d..3f34f62e30e 100644 --- a/backend/plugins/linear/e2e/issue_leadtime_test.go +++ b/backend/plugins/linear/e2e/issue_leadtime_test.go @@ -20,12 +20,12 @@ package e2e 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 f85062cdb8b..37a0318611b 100644 --- a/backend/plugins/linear/e2e/issue_longtitle_test.go +++ b/backend/plugins/linear/e2e/issue_longtitle_test.go @@ -20,11 +20,11 @@ package e2e 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 5f98aad8a61..8d7f07f2330 100644 --- a/backend/plugins/linear/e2e/issue_test.go +++ b/backend/plugins/linear/e2e/issue_test.go @@ -20,12 +20,12 @@ package e2e 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 4861f6197da..49336ccd609 100644 --- a/backend/plugins/linear/e2e/label_test.go +++ b/backend/plugins/linear/e2e/label_test.go @@ -20,12 +20,12 @@ package e2e 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 81e4508e43f..f5c39c9f1fb 100644 --- a/backend/plugins/linear/e2e/sprint_issue_test.go +++ b/backend/plugins/linear/e2e/sprint_issue_test.go @@ -20,12 +20,12 @@ package e2e 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 5af5c4a66b9..db3f84b5f0a 100644 --- a/backend/plugins/linear/e2e/workflow_state_test.go +++ b/backend/plugins/linear/e2e/workflow_state_test.go @@ -20,11 +20,11 @@ package e2e 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 e1bc9849131..09db67d32e3 100644 --- a/backend/plugins/linear/impl/impl.go +++ b/backend/plugins/linear/impl/impl.go @@ -21,16 +21,16 @@ import ( "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) Name() string { } 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 2cb64a49470..0b65728566c 100644 --- a/backend/plugins/linear/linear.go +++ b/backend/plugins/linear/linear.go @@ -18,8 +18,8 @@ limitations under the License. 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 7d1c9376f98..b61f467939e 100644 --- a/backend/plugins/linear/models/account.go +++ b/backend/plugins/linear/models/account.go @@ -18,7 +18,7 @@ limitations under the License. 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 6f63e431a11..2bb6a4c687a 100644 --- a/backend/plugins/linear/models/connection.go +++ b/backend/plugins/linear/models/connection.go @@ -20,9 +20,9 @@ package models 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 4f61370dbb2..c10d7d21a40 100644 --- a/backend/plugins/linear/models/cycle.go +++ b/backend/plugins/linear/models/cycle.go @@ -20,7 +20,7 @@ package models 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 991585de956..b35479331db 100644 --- a/backend/plugins/linear/models/issue.go +++ b/backend/plugins/linear/models/issue.go @@ -20,7 +20,7 @@ package models 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 8ba18505038..4c1df1f1e00 100644 --- a/backend/plugins/linear/models/issue_comment.go +++ b/backend/plugins/linear/models/issue_comment.go @@ -20,7 +20,7 @@ package models 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 027f6cb4a07..652d1da1bde 100644 --- a/backend/plugins/linear/models/issue_history.go +++ b/backend/plugins/linear/models/issue_history.go @@ -20,7 +20,7 @@ package models 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 76a4517cb7b..30763616371 100644 --- a/backend/plugins/linear/models/issue_label.go +++ b/backend/plugins/linear/models/issue_label.go @@ -18,7 +18,7 @@ limitations under the License. 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 9bb577343be..cad9685f012 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 @@ limitations under the License. package migrationscripts import ( - "github.com/apache/incubator-devlake/core/context" - "github.com/apache/incubator-devlake/core/errors" - "github.com/apache/incubator-devlake/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 a90c3217153..0fe89ccb4b0 100644 --- a/backend/plugins/linear/models/migrationscripts/archived/models.go +++ b/backend/plugins/linear/models/migrationscripts/archived/models.go @@ -23,7 +23,7 @@ package archived 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 ec054748c27..7d91771d120 100644 --- a/backend/plugins/linear/models/migrationscripts/register.go +++ b/backend/plugins/linear/models/migrationscripts/register.go @@ -18,7 +18,7 @@ limitations under the License. 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 309ce749eae..3d716d2caf1 100644 --- a/backend/plugins/linear/models/scope_config.go +++ b/backend/plugins/linear/models/scope_config.go @@ -18,7 +18,7 @@ limitations under the License. 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 d6226208266..a237f0c11e4 100644 --- a/backend/plugins/linear/models/team.go +++ b/backend/plugins/linear/models/team.go @@ -18,8 +18,8 @@ limitations under the License. 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 9273f183c91..b9b0087e9ca 100644 --- a/backend/plugins/linear/models/workflow_state.go +++ b/backend/plugins/linear/models/workflow_state.go @@ -18,7 +18,7 @@ limitations under the License. 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 88fa181f002..ce5e7d71f8f 100644 --- a/backend/plugins/linear/tasks/account_collector.go +++ b/backend/plugins/linear/tasks/account_collector.go @@ -20,9 +20,9 @@ package tasks 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 d3c8efd3686..7dd8fd60395 100644 --- a/backend/plugins/linear/tasks/account_convertor.go +++ b/backend/plugins/linear/tasks/account_convertor.go @@ -20,14 +20,14 @@ package tasks 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 19cc86a04cc..614312a8326 100644 --- a/backend/plugins/linear/tasks/account_extractor.go +++ b/backend/plugins/linear/tasks/account_extractor.go @@ -20,10 +20,10 @@ package tasks 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 0ca6b8da25a..50fe2ce4971 100644 --- a/backend/plugins/linear/tasks/api_client.go +++ b/backend/plugins/linear/tasks/api_client.go @@ -23,11 +23,11 @@ import ( "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 9366efed2ab..64fb224f8b6 100644 --- a/backend/plugins/linear/tasks/board_convertor.go +++ b/backend/plugins/linear/tasks/board_convertor.go @@ -20,14 +20,14 @@ package tasks 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 14e801ff9e3..137067ca4b0 100644 --- a/backend/plugins/linear/tasks/comment_collector.go +++ b/backend/plugins/linear/tasks/comment_collector.go @@ -22,9 +22,9 @@ import ( "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 8c4729f0e5c..47977af2456 100644 --- a/backend/plugins/linear/tasks/comment_convertor.go +++ b/backend/plugins/linear/tasks/comment_convertor.go @@ -20,14 +20,14 @@ package tasks 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 15b28a3b969..b3f27e254cf 100644 --- a/backend/plugins/linear/tasks/comment_extractor.go +++ b/backend/plugins/linear/tasks/comment_extractor.go @@ -20,10 +20,10 @@ package tasks 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 88572650fcd..fabacc8183c 100644 --- a/backend/plugins/linear/tasks/cycle_collector.go +++ b/backend/plugins/linear/tasks/cycle_collector.go @@ -21,9 +21,9 @@ import ( "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 ae4a0dd5a84..9209554f11b 100644 --- a/backend/plugins/linear/tasks/cycle_convertor.go +++ b/backend/plugins/linear/tasks/cycle_convertor.go @@ -21,14 +21,14 @@ import ( "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 43a4233aa88..096d78e8b9c 100644 --- a/backend/plugins/linear/tasks/cycle_extractor.go +++ b/backend/plugins/linear/tasks/cycle_extractor.go @@ -20,10 +20,10 @@ package tasks 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 9f5a0aedd1d..221cc2c2d6c 100644 --- a/backend/plugins/linear/tasks/issue_collector.go +++ b/backend/plugins/linear/tasks/issue_collector.go @@ -21,10 +21,10 @@ import ( "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 b124e59f369..2462616a289 100644 --- a/backend/plugins/linear/tasks/issue_convertor.go +++ b/backend/plugins/linear/tasks/issue_convertor.go @@ -21,14 +21,14 @@ import ( "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 e423076612d..97fe231dd0b 100644 --- a/backend/plugins/linear/tasks/issue_extractor.go +++ b/backend/plugins/linear/tasks/issue_extractor.go @@ -20,10 +20,10 @@ package tasks 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 11de7c218c7..847a268626e 100644 --- a/backend/plugins/linear/tasks/issue_history_collector.go +++ b/backend/plugins/linear/tasks/issue_history_collector.go @@ -22,9 +22,9 @@ import ( "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 f1fa99d0519..6105125f35f 100644 --- a/backend/plugins/linear/tasks/issue_history_convertor.go +++ b/backend/plugins/linear/tasks/issue_history_convertor.go @@ -21,14 +21,14 @@ import ( "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 006b92f9701..041861c378c 100644 --- a/backend/plugins/linear/tasks/issue_history_extractor.go +++ b/backend/plugins/linear/tasks/issue_history_extractor.go @@ -20,10 +20,10 @@ package tasks 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 e94826d4775..8967661325d 100644 --- a/backend/plugins/linear/tasks/label_convertor.go +++ b/backend/plugins/linear/tasks/label_convertor.go @@ -20,13 +20,13 @@ package tasks 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 0a8cfe9da7f..cc8ee22264a 100644 --- a/backend/plugins/linear/tasks/shared.go +++ b/backend/plugins/linear/tasks/shared.go @@ -20,9 +20,9 @@ package tasks 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 eaf737c9022..73d279c244d 100644 --- a/backend/plugins/linear/tasks/shared_test.go +++ b/backend/plugins/linear/tasks/shared_test.go @@ -20,7 +20,7 @@ package tasks 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 7ebe467a908..b96ac699fc0 100644 --- a/backend/plugins/linear/tasks/sprint_issue_convertor.go +++ b/backend/plugins/linear/tasks/sprint_issue_convertor.go @@ -20,13 +20,13 @@ package tasks 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 19f991d5f75..3cf2c43d539 100644 --- a/backend/plugins/linear/tasks/task_data.go +++ b/backend/plugins/linear/tasks/task_data.go @@ -20,8 +20,8 @@ package tasks 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 94c22d1d3a5..bbe2c1c0226 100644 --- a/backend/plugins/linear/tasks/workflow_state_collector.go +++ b/backend/plugins/linear/tasks/workflow_state_collector.go @@ -20,9 +20,9 @@ package tasks 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 75a2099aeaf..1c12c53437e 100644 --- a/backend/plugins/linear/tasks/workflow_state_extractor.go +++ b/backend/plugins/linear/tasks/workflow_state_extractor.go @@ -20,10 +20,10 @@ package tasks 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 15a0e47674b..97e70f8a9ac 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 @@ import ( "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 0955b9ccd93..d852e8b65ae 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 8b61a7a95af..5f9a051bec0 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 2805a0d3a6f..718754869fe 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 87ff1971b17..48d266a5c24 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 @@ pull_request_id,issue_id,pull_request_key,issue_key,_raw_data_params,_raw_data_t 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 217266f3bce..6e5c6261fc2 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 8c6907f0f65..32986cefd0c 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 5dde760a080..a6e88142f7d 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 3084711b0bc..f8315899e13 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 e2efb809d9d..b69b5876905 100644 --- a/backend/plugins/linker/impl/impl.go +++ b/backend/plugins/linker/impl/impl.go @@ -21,12 +21,12 @@ import ( "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 @@ func (p Linker) PrepareTaskData(taskCtx plugin.TaskContext, options map[string]i // 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 0f1bc456551..b120e3ffecb 100644 --- a/backend/plugins/linker/linker.go +++ b/backend/plugins/linker/linker.go @@ -18,8 +18,8 @@ limitations under the License. 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 0aaa5373ba2..c95b4f10720 100644 --- a/backend/plugins/linker/models/migrationscripts/register.go +++ b/backend/plugins/linker/models/migrationscripts/register.go @@ -18,7 +18,7 @@ limitations under the License. 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 faeeffd716b..76ad312ec89 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 @@ package tasks 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/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/models/domainlayer/code" + "github.com/apache/devlake/core/models/domainlayer/crossdomain" + "github.com/apache/devlake/core/models/domainlayer/ticket" + + "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 37a37c358d7..02f6c3b9941 100644 --- a/backend/plugins/linker/tasks/task_data.go +++ b/backend/plugins/linker/tasks/task_data.go @@ -18,8 +18,8 @@ limitations under the License. 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 3b34e7fefab..c73e3479dee 100644 --- a/backend/plugins/opsgenie/api/blueprint_v200.go +++ b/backend/plugins/opsgenie/api/blueprint_v200.go @@ -18,16 +18,16 @@ limitations under the License. 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 a56118cc73d..a64dcdf4224 100644 --- a/backend/plugins/opsgenie/api/connection_api.go +++ b/backend/plugins/opsgenie/api/connection_api.go @@ -21,10 +21,10 @@ import ( "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 c72ee736f4f..20f2ca4c5b7 100644 --- a/backend/plugins/opsgenie/api/init.go +++ b/backend/plugins/opsgenie/api/init.go @@ -18,10 +18,10 @@ limitations under the License. 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 2a5b161713b..19803271ef1 100644 --- a/backend/plugins/opsgenie/api/remote_api.go +++ b/backend/plugins/opsgenie/api/remote_api.go @@ -22,13 +22,13 @@ import ( "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 572e75d2907..1dcb034680d 100644 --- a/backend/plugins/opsgenie/api/scope_api.go +++ b/backend/plugins/opsgenie/api/scope_api.go @@ -18,10 +18,10 @@ limitations under the License. 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 77b4764f4a7..7addb97ff5e 100644 --- a/backend/plugins/opsgenie/api/scope_state_api.go +++ b/backend/plugins/opsgenie/api/scope_state_api.go @@ -18,8 +18,8 @@ limitations under the License. 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 8e34100a6da..3e03c671c6b 100644 --- a/backend/plugins/opsgenie/api/swagger.go +++ b/backend/plugins/opsgenie/api/swagger.go @@ -18,7 +18,7 @@ limitations under the License. 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 be189e98e29..4ac7a741a54 100644 --- a/backend/plugins/opsgenie/e2e/incident_test.go +++ b/backend/plugins/opsgenie/e2e/incident_test.go @@ -21,13 +21,13 @@ import ( "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 a3470da0472..8b249c8d446 100644 --- a/backend/plugins/opsgenie/impl/impl.go +++ b/backend/plugins/opsgenie/impl/impl.go @@ -20,16 +20,16 @@ package impl 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 @@ func (p Opsgenie) Description() string { // 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 16ffbb66f4e..ccd8928ed23 100644 --- a/backend/plugins/opsgenie/models/assignment.go +++ b/backend/plugins/opsgenie/models/assignment.go @@ -18,7 +18,7 @@ limitations under the License. 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 a3c26d00d3b..561f184d706 100644 --- a/backend/plugins/opsgenie/models/connection.go +++ b/backend/plugins/opsgenie/models/connection.go @@ -19,11 +19,11 @@ package models 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 822469a3719..1870af7a64c 100644 --- a/backend/plugins/opsgenie/models/incident.go +++ b/backend/plugins/opsgenie/models/incident.go @@ -20,7 +20,7 @@ package models 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 d76794ab61d..0236bfa72cc 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 @@ limitations under the License. package migrationscripts import ( - "github.com/apache/incubator-devlake/core/context" - "github.com/apache/incubator-devlake/core/errors" - "github.com/apache/incubator-devlake/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 ab54d8123f9..249a9d62ca0 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 @@ limitations under the License. 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 6a1430e8d61..0ee1faae8c5 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 @@ limitations under the License. package migrationscripts import ( - "github.com/apache/incubator-devlake/core/context" - "github.com/apache/incubator-devlake/core/errors" - "github.com/apache/incubator-devlake/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 0e211e9c569..c905f8fba01 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 @@ limitations under the License. package migrationscripts import ( - "github.com/apache/incubator-devlake/core/context" - "github.com/apache/incubator-devlake/core/errors" - "github.com/apache/incubator-devlake/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 bbd4c0487cf..2b6c2d5c04e 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 @@ limitations under the License. package migrationscripts import ( - "github.com/apache/incubator-devlake/core/context" - "github.com/apache/incubator-devlake/core/errors" - "github.com/apache/incubator-devlake/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 1b3fa4ed9a6..500c94b7b2c 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 @@ limitations under the License. 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 7c5d76a1762..90318e17005 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 @@ 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 = (*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 6738f029c29..4206e199d8b 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 @@ limitations under the License. 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 65be3b627c6..c76d6c4dee2 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 @@ limitations under the License. package migrationscripts import ( - "github.com/apache/incubator-devlake/core/context" - "github.com/apache/incubator-devlake/core/errors" - "github.com/apache/incubator-devlake/core/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 e6debcf87dd..6b1f420b9de 100644 --- a/backend/plugins/opsgenie/models/migrationscripts/archived/assignment.go +++ b/backend/plugins/opsgenie/models/migrationscripts/archived/assignment.go @@ -18,7 +18,7 @@ limitations under the License. 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 d4882c49327..08b5b902925 100644 --- a/backend/plugins/opsgenie/models/migrationscripts/archived/connection.go +++ b/backend/plugins/opsgenie/models/migrationscripts/archived/connection.go @@ -18,7 +18,7 @@ limitations under the License. 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 6611093effe..8e28d2c5834 100644 --- a/backend/plugins/opsgenie/models/migrationscripts/archived/incident.go +++ b/backend/plugins/opsgenie/models/migrationscripts/archived/incident.go @@ -20,7 +20,7 @@ package archived 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 c3507f1851c..57eeffb395d 100644 --- a/backend/plugins/opsgenie/models/migrationscripts/archived/responder.go +++ b/backend/plugins/opsgenie/models/migrationscripts/archived/responder.go @@ -17,7 +17,7 @@ limitations under the License. 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 1daddb73412..b7e8518525d 100644 --- a/backend/plugins/opsgenie/models/migrationscripts/archived/service.go +++ b/backend/plugins/opsgenie/models/migrationscripts/archived/service.go @@ -18,7 +18,7 @@ limitations under the License. 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 d7f8f1b6aa4..d5711eba284 100644 --- a/backend/plugins/opsgenie/models/migrationscripts/archived/team.go +++ b/backend/plugins/opsgenie/models/migrationscripts/archived/team.go @@ -17,7 +17,7 @@ limitations under the License. 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 35a8dfeb973..3382b80a43a 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 @@ limitations under the License. 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 5b37650b2e2..bb73efb299e 100644 --- a/backend/plugins/opsgenie/models/migrationscripts/archived/user.go +++ b/backend/plugins/opsgenie/models/migrationscripts/archived/user.go @@ -17,7 +17,7 @@ limitations under the License. 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 fd9b335aac8..69bc3ce8c9d 100644 --- a/backend/plugins/opsgenie/models/migrationscripts/register.go +++ b/backend/plugins/opsgenie/models/migrationscripts/register.go @@ -18,7 +18,7 @@ limitations under the License. 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 62b776ca9b5..4a7a1d2f1c7 100644 --- a/backend/plugins/opsgenie/models/responder.go +++ b/backend/plugins/opsgenie/models/responder.go @@ -18,7 +18,7 @@ limitations under the License. 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 671c5989560..da929973083 100644 --- a/backend/plugins/opsgenie/models/scope_config.go +++ b/backend/plugins/opsgenie/models/scope_config.go @@ -17,7 +17,7 @@ limitations under the License. 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 7c7b62db571..8fe2bec61e2 100644 --- a/backend/plugins/opsgenie/models/service.go +++ b/backend/plugins/opsgenie/models/service.go @@ -18,8 +18,8 @@ limitations under the License. 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 90053d848b6..94e2641ba27 100644 --- a/backend/plugins/opsgenie/models/team.go +++ b/backend/plugins/opsgenie/models/team.go @@ -18,7 +18,7 @@ limitations under the License. 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 39772529ce2..05242818a2f 100644 --- a/backend/plugins/opsgenie/models/user.go +++ b/backend/plugins/opsgenie/models/user.go @@ -18,7 +18,7 @@ limitations under the License. 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 d9402a02fe9..e43f7e451ba 100644 --- a/backend/plugins/opsgenie/opsgenie.go +++ b/backend/plugins/opsgenie/opsgenie.go @@ -18,8 +18,8 @@ limitations under the License. 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 6d9db5c18c8..70100f149b9 100644 --- a/backend/plugins/opsgenie/tasks/incidents_collector.go +++ b/backend/plugins/opsgenie/tasks/incidents_collector.go @@ -25,11 +25,11 @@ import ( "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 1562fd62ba3..50fe1f1ab49 100644 --- a/backend/plugins/opsgenie/tasks/incidents_converter.go +++ b/backend/plugins/opsgenie/tasks/incidents_converter.go @@ -21,15 +21,15 @@ import ( "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 1f0066f26b7..f64bcb534d4 100644 --- a/backend/plugins/opsgenie/tasks/incidents_extractor.go +++ b/backend/plugins/opsgenie/tasks/incidents_extractor.go @@ -20,11 +20,11 @@ package tasks 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 d8a46838462..5ce03909f54 100644 --- a/backend/plugins/opsgenie/tasks/service_converter.go +++ b/backend/plugins/opsgenie/tasks/service_converter.go @@ -20,14 +20,14 @@ package tasks 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 5d20fc820bf..674dcff6b75 100644 --- a/backend/plugins/opsgenie/tasks/task_data.go +++ b/backend/plugins/opsgenie/tasks/task_data.go @@ -18,9 +18,9 @@ limitations under the License. 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 400ebece280..f6aa86deebf 100644 --- a/backend/plugins/opsgenie/tasks/teams_collector.go +++ b/backend/plugins/opsgenie/tasks/teams_collector.go @@ -21,9 +21,9 @@ import ( "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 08a1e58fee9..7fbc1a2a3d2 100644 --- a/backend/plugins/opsgenie/tasks/teams_convertor.go +++ b/backend/plugins/opsgenie/tasks/teams_convertor.go @@ -20,14 +20,14 @@ package tasks 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 0ed6357b6e8..2f8e4ebf6cc 100644 --- a/backend/plugins/opsgenie/tasks/teams_extractor.go +++ b/backend/plugins/opsgenie/tasks/teams_extractor.go @@ -20,11 +20,11 @@ package tasks 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 d2b33028d8b..ecb5c56ad09 100644 --- a/backend/plugins/opsgenie/tasks/users_collector.go +++ b/backend/plugins/opsgenie/tasks/users_collector.go @@ -23,9 +23,9 @@ import ( "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 ddd9c0095d9..47d8b04ce66 100644 --- a/backend/plugins/opsgenie/tasks/users_convertor.go +++ b/backend/plugins/opsgenie/tasks/users_convertor.go @@ -20,14 +20,14 @@ package tasks 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 4482a0f6a3e..4ef3e1ec09f 100644 --- a/backend/plugins/opsgenie/tasks/users_extractor.go +++ b/backend/plugins/opsgenie/tasks/users_extractor.go @@ -20,11 +20,11 @@ package tasks 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 d20ac9ca050..cc4c7940517 100644 --- a/backend/plugins/org/api/handlers.go +++ b/backend/plugins/org/api/handlers.go @@ -19,8 +19,8 @@ package api 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 b70c9510821..22e60522378 100644 --- a/backend/plugins/org/api/project_mapping.go +++ b/backend/plugins/org/api/project_mapping.go @@ -18,8 +18,8 @@ limitations under the License. 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 8c50c10c6da..4218a3d819b 100644 --- a/backend/plugins/org/api/store.go +++ b/backend/plugins/org/api/store.go @@ -18,11 +18,11 @@ limitations under the License. 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 133a97e8e81..6f80c136499 100644 --- a/backend/plugins/org/api/team.go +++ b/backend/plugins/org/api/team.go @@ -18,9 +18,9 @@ limitations under the License. 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 6dc296011b0..b3b7b8c2a9a 100644 --- a/backend/plugins/org/api/types.go +++ b/backend/plugins/org/api/types.go @@ -20,9 +20,9 @@ package api 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 addd034c71d..b0dd5b55cf4 100644 --- a/backend/plugins/org/api/user.go +++ b/backend/plugins/org/api/user.go @@ -18,9 +18,9 @@ limitations under the License. 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 ebf05e037f3..6b719c0505e 100644 --- a/backend/plugins/org/api/user_account_mapping.go +++ b/backend/plugins/org/api/user_account_mapping.go @@ -18,9 +18,9 @@ limitations under the License. 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 b66abae4b59..30b29e8c46e 100644 --- a/backend/plugins/org/e2e/project_mapping_test.go +++ b/backend/plugins/org/e2e/project_mapping_test.go @@ -20,11 +20,11 @@ package e2e 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 997c3f3460f..86b17001cf5 100644 --- a/backend/plugins/org/e2e/user_account_test.go +++ b/backend/plugins/org/e2e/user_account_test.go @@ -18,10 +18,10 @@ limitations under the License. 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 39d020fac5d..db561d711a3 100644 --- a/backend/plugins/org/impl/impl.go +++ b/backend/plugins/org/impl/impl.go @@ -18,14 +18,14 @@ limitations under the License. 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) PrepareTaskData(taskCtx plugin.TaskContext, options map[string]inte } 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 4b6313ee33e..bf3af4e0a40 100644 --- a/backend/plugins/org/impl/impl_test.go +++ b/backend/plugins/org/impl/impl_test.go @@ -20,7 +20,7 @@ package impl 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 ef29cc943f9..9ac6ce8d0e2 100644 --- a/backend/plugins/org/org.go +++ b/backend/plugins/org/org.go @@ -18,7 +18,7 @@ limitations under the License. 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 ede6fc8343a..a894a6b0823 100644 --- a/backend/plugins/org/tasks/project_mapping.go +++ b/backend/plugins/org/tasks/project_mapping.go @@ -18,11 +18,11 @@ limitations under the License. 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 43c887b1cd5..a7ac5980ceb 100644 --- a/backend/plugins/org/tasks/sleep.go +++ b/backend/plugins/org/tasks/sleep.go @@ -20,8 +20,8 @@ package tasks 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 e3b3cae1ce9..5bf83121b79 100644 --- a/backend/plugins/org/tasks/task_data.go +++ b/backend/plugins/org/tasks/task_data.go @@ -17,7 +17,7 @@ limitations under the License. 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 c8ea94deae8..2156b45dbc5 100644 --- a/backend/plugins/org/tasks/user_account.go +++ b/backend/plugins/org/tasks/user_account.go @@ -18,11 +18,11 @@ limitations under the License. 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 2e088b4fd5b..51accf68d1a 100644 --- a/backend/plugins/pagerduty/api/blueprint_v200.go +++ b/backend/plugins/pagerduty/api/blueprint_v200.go @@ -18,16 +18,16 @@ limitations under the License. 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 dec5d96c821..858b98b573b 100644 --- a/backend/plugins/pagerduty/api/connection_api.go +++ b/backend/plugins/pagerduty/api/connection_api.go @@ -21,10 +21,10 @@ import ( "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 93eaf14e082..fe7cf0b7bc0 100644 --- a/backend/plugins/pagerduty/api/init.go +++ b/backend/plugins/pagerduty/api/init.go @@ -18,10 +18,10 @@ limitations under the License. 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 c033900493f..31b2ab3d089 100644 --- a/backend/plugins/pagerduty/api/remote_api.go +++ b/backend/plugins/pagerduty/api/remote_api.go @@ -22,14 +22,14 @@ import ( "net/url" "strconv" - "github.com/apache/incubator-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/models/common" + + "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 81d094e4a96..702c31a63e6 100644 --- a/backend/plugins/pagerduty/api/scope_api.go +++ b/backend/plugins/pagerduty/api/scope_api.go @@ -18,10 +18,10 @@ limitations under the License. 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 e800a2d75c5..25dde9432de 100644 --- a/backend/plugins/pagerduty/api/scope_state_api.go +++ b/backend/plugins/pagerduty/api/scope_state_api.go @@ -18,8 +18,8 @@ limitations under the License. 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 ffd6a9d6881..443dbace38b 100644 --- a/backend/plugins/pagerduty/api/swagger.go +++ b/backend/plugins/pagerduty/api/swagger.go @@ -18,7 +18,7 @@ limitations under the License. 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 bba3c601b38..28b28f97542 100644 --- a/backend/plugins/pagerduty/e2e/incident_test.go +++ b/backend/plugins/pagerduty/e2e/incident_test.go @@ -21,12 +21,12 @@ import ( "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 417156b72ff..e0f22b61b74 100644 --- a/backend/plugins/pagerduty/impl/impl.go +++ b/backend/plugins/pagerduty/impl/impl.go @@ -20,16 +20,16 @@ package impl 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 @@ func (p PagerDuty) PrepareTaskData(taskCtx plugin.TaskContext, options map[strin // 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 31d4d423f54..f620abbc14c 100644 --- a/backend/plugins/pagerduty/models/assignment.go +++ b/backend/plugins/pagerduty/models/assignment.go @@ -18,7 +18,7 @@ limitations under the License. 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 eb100f0b71e..5b721e28fcf 100644 --- a/backend/plugins/pagerduty/models/connection.go +++ b/backend/plugins/pagerduty/models/connection.go @@ -19,11 +19,11 @@ package models 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 7c5bd497826..612858fd8ff 100644 --- a/backend/plugins/pagerduty/models/incident.go +++ b/backend/plugins/pagerduty/models/incident.go @@ -18,7 +18,7 @@ limitations under the License. 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 6d5b3eee366..4f5f40bdec1 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 @@ limitations under the License. package migrationscripts import ( - "github.com/apache/incubator-devlake/core/context" - "github.com/apache/incubator-devlake/core/errors" - "github.com/apache/incubator-devlake/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 bd80939a916..8da252bfb7f 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 @@ limitations under the License. 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 262b0bf09c3..d8c6d0047fa 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 @@ limitations under the License. package migrationscripts import ( - "github.com/apache/incubator-devlake/core/context" - "github.com/apache/incubator-devlake/core/errors" - "github.com/apache/incubator-devlake/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 c7e8355450a..26bfd819993 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 @@ limitations under the License. package migrationscripts import ( - "github.com/apache/incubator-devlake/core/context" - "github.com/apache/incubator-devlake/core/errors" - "github.com/apache/incubator-devlake/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 ad39e070805..70ca96df6e5 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 @@ limitations under the License. package migrationscripts import ( - "github.com/apache/incubator-devlake/core/context" - "github.com/apache/incubator-devlake/core/errors" - "github.com/apache/incubator-devlake/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 37cf3bd432e..b3526cf8cf3 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 @@ limitations under the License. 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 3cba2e1f00b..5723abbf1e0 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 @@ 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 = (*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 dc19e81bbb5..760b484184f 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 @@ limitations under the License. package migrationscripts import ( - "github.com/apache/incubator-devlake/core/context" - "github.com/apache/incubator-devlake/core/errors" - "github.com/apache/incubator-devlake/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 0b3f532d363..f697f6b2001 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 @@ limitations under the License. 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 df66601fb74..84a2812e39e 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 @@ limitations under the License. package migrationscripts import ( - "github.com/apache/incubator-devlake/core/context" - "github.com/apache/incubator-devlake/core/errors" - "github.com/apache/incubator-devlake/core/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 144405d2829..7ca39aac386 100644 --- a/backend/plugins/pagerduty/models/migrationscripts/archived/assignment.go +++ b/backend/plugins/pagerduty/models/migrationscripts/archived/assignment.go @@ -20,7 +20,7 @@ package archived 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 562179e5e28..3828f717f4f 100644 --- a/backend/plugins/pagerduty/models/migrationscripts/archived/connection.go +++ b/backend/plugins/pagerduty/models/migrationscripts/archived/connection.go @@ -18,7 +18,7 @@ limitations under the License. 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 632dd867819..f92f0e10ee1 100644 --- a/backend/plugins/pagerduty/models/migrationscripts/archived/incident.go +++ b/backend/plugins/pagerduty/models/migrationscripts/archived/incident.go @@ -20,7 +20,7 @@ package archived 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 5d7af2c2c1d..f399bf38925 100644 --- a/backend/plugins/pagerduty/models/migrationscripts/archived/service.go +++ b/backend/plugins/pagerduty/models/migrationscripts/archived/service.go @@ -18,7 +18,7 @@ limitations under the License. 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 97de3630b1a..d7b29b2bafd 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 @@ limitations under the License. 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 a98b8f507ac..6121a2d69d0 100644 --- a/backend/plugins/pagerduty/models/migrationscripts/archived/user.go +++ b/backend/plugins/pagerduty/models/migrationscripts/archived/user.go @@ -17,7 +17,7 @@ limitations under the License. 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 a186f8cb04b..4d5d2b91f96 100644 --- a/backend/plugins/pagerduty/models/migrationscripts/register.go +++ b/backend/plugins/pagerduty/models/migrationscripts/register.go @@ -18,7 +18,7 @@ limitations under the License. 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 6d4a89df86c..18d937d7c03 100644 --- a/backend/plugins/pagerduty/models/scope_config.go +++ b/backend/plugins/pagerduty/models/scope_config.go @@ -18,7 +18,7 @@ limitations under the License. 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 868f1f52621..249c66e8914 100644 --- a/backend/plugins/pagerduty/models/service.go +++ b/backend/plugins/pagerduty/models/service.go @@ -18,8 +18,8 @@ limitations under the License. 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 36799dff68b..4b00dfcbbbb 100644 --- a/backend/plugins/pagerduty/models/user.go +++ b/backend/plugins/pagerduty/models/user.go @@ -18,7 +18,7 @@ limitations under the License. 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 34145fbd214..394afd526df 100644 --- a/backend/plugins/pagerduty/pager_duty.go +++ b/backend/plugins/pagerduty/pager_duty.go @@ -18,8 +18,8 @@ limitations under the License. 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 91068bf5bea..81cc2042689 100644 --- a/backend/plugins/pagerduty/tasks/incidents_collector.go +++ b/backend/plugins/pagerduty/tasks/incidents_collector.go @@ -25,11 +25,11 @@ import ( "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 c84924f77a9..dee8d3216a7 100644 --- a/backend/plugins/pagerduty/tasks/incidents_converter.go +++ b/backend/plugins/pagerduty/tasks/incidents_converter.go @@ -22,15 +22,15 @@ import ( "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 fb3617d41c8..335fdc25b92 100644 --- a/backend/plugins/pagerduty/tasks/incidents_extractor.go +++ b/backend/plugins/pagerduty/tasks/incidents_extractor.go @@ -20,12 +20,12 @@ package tasks 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 4a6fca4c541..b56945e46d0 100644 --- a/backend/plugins/pagerduty/tasks/service_converter.go +++ b/backend/plugins/pagerduty/tasks/service_converter.go @@ -18,14 +18,14 @@ limitations under the License. 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 814e42c972e..e86481d25e2 100644 --- a/backend/plugins/pagerduty/tasks/task_data.go +++ b/backend/plugins/pagerduty/tasks/task_data.go @@ -18,9 +18,9 @@ limitations under the License. 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 09291c64c60..06cec1e5e2e 100644 --- a/backend/plugins/refdiff/api/connection.go +++ b/backend/plugins/refdiff/api/connection.go @@ -18,8 +18,8 @@ limitations under the License. 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 3cf598d6001..27a2098983d 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 @@ package e2e 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 b5572f6436a..963a344f8b9 100644 --- a/backend/plugins/refdiff/impl/impl.go +++ b/backend/plugins/refdiff/impl/impl.go @@ -18,12 +18,12 @@ limitations under the License. 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 @@ func (p RefDiff) PrepareTaskData(taskCtx plugin.TaskContext, options map[string] // 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 0f2f50f7030..4667cd3a862 100644 --- a/backend/plugins/refdiff/refdiff.go +++ b/backend/plugins/refdiff/refdiff.go @@ -18,8 +18,8 @@ limitations under the License. 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 bfc14151f44..5e6ac9fe10a 100644 --- a/backend/plugins/refdiff/tasks/commit_diff_calculator.go +++ b/backend/plugins/refdiff/tasks/commit_diff_calculator.go @@ -21,12 +21,12 @@ import ( "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 0887f892046..3f23851e09e 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 @@ import ( "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 ba5100e92d4..e03856606ce 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 @@ import ( "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 c4bc074a234..a50c576c7ba 100644 --- a/backend/plugins/refdiff/tasks/refdiff_task_data.go +++ b/backend/plugins/refdiff/tasks/refdiff_task_data.go @@ -24,10 +24,10 @@ import ( "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 a3242cdf6bf..5ffd11beedd 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 @@ limitations under the License. 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 9871beffdee..d2cd7a2e514 100644 --- a/backend/plugins/rootly/api/blueprint_v200.go +++ b/backend/plugins/rootly/api/blueprint_v200.go @@ -18,16 +18,16 @@ limitations under the License. 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 3fb36609ded..ebf60450af2 100644 --- a/backend/plugins/rootly/api/connection_api.go +++ b/backend/plugins/rootly/api/connection_api.go @@ -21,10 +21,10 @@ import ( "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 3c16101329b..0a9bf084be5 100644 --- a/backend/plugins/rootly/api/init.go +++ b/backend/plugins/rootly/api/init.go @@ -18,10 +18,10 @@ limitations under the License. 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 0bb81ce219d..30263b56f5d 100644 --- a/backend/plugins/rootly/api/remote_api.go +++ b/backend/plugins/rootly/api/remote_api.go @@ -23,13 +23,13 @@ import ( "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 ef8633423f6..bba7f7addda 100644 --- a/backend/plugins/rootly/api/scope_api.go +++ b/backend/plugins/rootly/api/scope_api.go @@ -18,10 +18,10 @@ limitations under the License. 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 01be7dc951e..936bb28bdf1 100644 --- a/backend/plugins/rootly/api/scope_state_api.go +++ b/backend/plugins/rootly/api/scope_state_api.go @@ -18,8 +18,8 @@ limitations under the License. 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 aa60b939865..0fb24dd044e 100644 --- a/backend/plugins/rootly/api/swagger.go +++ b/backend/plugins/rootly/api/swagger.go @@ -18,7 +18,7 @@ limitations under the License. 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 15cc1d324a3..67c6d66429c 100644 --- a/backend/plugins/rootly/e2e/incident_test.go +++ b/backend/plugins/rootly/e2e/incident_test.go @@ -21,12 +21,12 @@ import ( "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 296bd6e6594..4ee03b4e369 100644 --- a/backend/plugins/rootly/impl/impl.go +++ b/backend/plugins/rootly/impl/impl.go @@ -20,16 +20,16 @@ package impl 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 @@ func (p Rootly) PrepareTaskData(taskCtx plugin.TaskContext, options map[string]i // 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 898d1542198..b0979a6e9c5 100644 --- a/backend/plugins/rootly/models/connection.go +++ b/backend/plugins/rootly/models/connection.go @@ -21,9 +21,9 @@ import ( "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 804ed645798..683a84062e7 100644 --- a/backend/plugins/rootly/models/incident.go +++ b/backend/plugins/rootly/models/incident.go @@ -20,7 +20,7 @@ package models 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 ec4ee5fcad6..519568f37cf 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 @@ limitations under the License. package migrationscripts import ( - "github.com/apache/incubator-devlake/core/context" - "github.com/apache/incubator-devlake/core/errors" - "github.com/apache/incubator-devlake/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 5bfd1ad47a5..6872e625d44 100644 --- a/backend/plugins/rootly/models/migrationscripts/archived/connection.go +++ b/backend/plugins/rootly/models/migrationscripts/archived/connection.go @@ -18,7 +18,7 @@ limitations under the License. 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 b787b8c81ff..afee3b96b34 100644 --- a/backend/plugins/rootly/models/migrationscripts/archived/incident.go +++ b/backend/plugins/rootly/models/migrationscripts/archived/incident.go @@ -20,7 +20,7 @@ package archived 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 4438c38f480..f60cd77f15e 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 @@ limitations under the License. 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 821b9ea2b01..e368d3df1e3 100644 --- a/backend/plugins/rootly/models/migrationscripts/archived/service.go +++ b/backend/plugins/rootly/models/migrationscripts/archived/service.go @@ -18,7 +18,7 @@ limitations under the License. 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 d16851d3249..8731213d464 100644 --- a/backend/plugins/rootly/models/migrationscripts/archived/user.go +++ b/backend/plugins/rootly/models/migrationscripts/archived/user.go @@ -17,7 +17,7 @@ limitations under the License. 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 d333899d309..81d207b557d 100644 --- a/backend/plugins/rootly/models/migrationscripts/register.go +++ b/backend/plugins/rootly/models/migrationscripts/register.go @@ -18,7 +18,7 @@ limitations under the License. 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 e2926554147..8e9e3f7ba0b 100644 --- a/backend/plugins/rootly/models/scope_config.go +++ b/backend/plugins/rootly/models/scope_config.go @@ -18,7 +18,7 @@ limitations under the License. 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 317cfe9f5a2..da0aa50ff13 100644 --- a/backend/plugins/rootly/models/service.go +++ b/backend/plugins/rootly/models/service.go @@ -18,8 +18,8 @@ limitations under the License. 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 4bf25434501..0e1725212f4 100644 --- a/backend/plugins/rootly/models/user.go +++ b/backend/plugins/rootly/models/user.go @@ -17,7 +17,7 @@ limitations under the License. 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 c1bb7d5001e..62d093c1d6e 100644 --- a/backend/plugins/rootly/rootly.go +++ b/backend/plugins/rootly/rootly.go @@ -18,8 +18,8 @@ limitations under the License. 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 652801217aa..c4770ddee5f 100644 --- a/backend/plugins/rootly/tasks/incidents_collector.go +++ b/backend/plugins/rootly/tasks/incidents_collector.go @@ -24,9 +24,9 @@ import ( "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 daba86f505f..72e1e8b4be7 100644 --- a/backend/plugins/rootly/tasks/incidents_converter.go +++ b/backend/plugins/rootly/tasks/incidents_converter.go @@ -23,14 +23,14 @@ import ( "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 422f719eb6f..ea264cd29cb 100644 --- a/backend/plugins/rootly/tasks/incidents_converter_test.go +++ b/backend/plugins/rootly/tasks/incidents_converter_test.go @@ -24,8 +24,8 @@ import ( "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 3e812e2c79a..39778c39aca 100644 --- a/backend/plugins/rootly/tasks/incidents_extractor.go +++ b/backend/plugins/rootly/tasks/incidents_extractor.go @@ -20,11 +20,11 @@ package tasks 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 cba3410116e..4a77b344c34 100644 --- a/backend/plugins/rootly/tasks/incidents_extractor_test.go +++ b/backend/plugins/rootly/tasks/incidents_extractor_test.go @@ -24,7 +24,7 @@ import ( "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 be5e890ff85..17d4baa1637 100644 --- a/backend/plugins/rootly/tasks/service_converter.go +++ b/backend/plugins/rootly/tasks/service_converter.go @@ -20,14 +20,14 @@ package tasks 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 9800b47e6b4..c895303aae5 100644 --- a/backend/plugins/rootly/tasks/services_collector.go +++ b/backend/plugins/rootly/tasks/services_collector.go @@ -21,9 +21,9 @@ import ( "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 bc5cea0d230..f797a9fb7ca 100644 --- a/backend/plugins/rootly/tasks/services_extractor.go +++ b/backend/plugins/rootly/tasks/services_extractor.go @@ -20,12 +20,12 @@ package tasks 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 c530d1d1706..4a4116bdfe4 100644 --- a/backend/plugins/rootly/tasks/task_data.go +++ b/backend/plugins/rootly/tasks/task_data.go @@ -18,9 +18,9 @@ limitations under the License. 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 c03d8640043..ae1392bfe5b 100644 --- a/backend/plugins/schema_e2e/migration_schema_test.go +++ b/backend/plugins/schema_e2e/migration_schema_test.go @@ -32,63 +32,63 @@ import ( "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 60c8de40ffd..428ae4e8c03 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 @@ import ( "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 8c1c30f116c..82678519eb3 100644 --- a/backend/plugins/slack/api/blueprint_v200.go +++ b/backend/plugins/slack/api/blueprint_v200.go @@ -18,11 +18,11 @@ limitations under the License. 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 afa5cb377f7..0cbffebf2ab 100644 --- a/backend/plugins/slack/api/connection.go +++ b/backend/plugins/slack/api/connection.go @@ -21,12 +21,12 @@ import ( "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 7d2e0defbd2..04a240bf86d 100644 --- a/backend/plugins/slack/api/init.go +++ b/backend/plugins/slack/api/init.go @@ -18,11 +18,11 @@ limitations under the License. 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 273f36078b4..378d418fc47 100644 --- a/backend/plugins/slack/api/remote_api.go +++ b/backend/plugins/slack/api/remote_api.go @@ -23,11 +23,11 @@ import ( "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 68a264c7151..41b81f33d43 100644 --- a/backend/plugins/slack/api/scope_api.go +++ b/backend/plugins/slack/api/scope_api.go @@ -18,11 +18,11 @@ limitations under the License. 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 df8136e60a1..9f6a9a9b7be 100644 --- a/backend/plugins/slack/api/scope_state_api.go +++ b/backend/plugins/slack/api/scope_state_api.go @@ -18,8 +18,8 @@ limitations under the License. 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 47eb3084bdc..516ff42e3f0 100644 --- a/backend/plugins/slack/impl/impl.go +++ b/backend/plugins/slack/impl/impl.go @@ -20,17 +20,17 @@ package impl 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/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/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/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) PrepareTaskData(taskCtx plugin.TaskContext, options map[string]in } 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 edad51cc8e9..880077ac97b 100644 --- a/backend/plugins/slack/models/channel.go +++ b/backend/plugins/slack/models/channel.go @@ -18,8 +18,8 @@ limitations under the License. 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 7e93b56fabe..2c0a1a49e8b 100644 --- a/backend/plugins/slack/models/channel_message.go +++ b/backend/plugins/slack/models/channel_message.go @@ -18,7 +18,7 @@ limitations under the License. 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 1808aa6aeb0..f80fa3d26dd 100644 --- a/backend/plugins/slack/models/connection.go +++ b/backend/plugins/slack/models/connection.go @@ -18,8 +18,8 @@ limitations under the License. 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 21e322914f4..09e2edd8c98 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 @@ limitations under the License. package migrationscripts import ( - "github.com/apache/incubator-devlake/core/context" - "github.com/apache/incubator-devlake/core/errors" - "github.com/apache/incubator-devlake/core/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 1d0bc95aa22..80f9111a5d3 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 @@ limitations under the License. package migrationscripts import ( - "github.com/apache/incubator-devlake/core/context" - "github.com/apache/incubator-devlake/core/errors" - "github.com/apache/incubator-devlake/core/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 c7475299a47..468cab32fef 100644 --- a/backend/plugins/slack/models/migrationscripts/archived/channel.go +++ b/backend/plugins/slack/models/migrationscripts/archived/channel.go @@ -18,7 +18,7 @@ limitations under the License. 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 a58b24bdecf..c8cfd0fbedd 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 @@ limitations under the License. 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 8a6806dce54..b24b27ed4cc 100644 --- a/backend/plugins/slack/models/migrationscripts/archived/connection.go +++ b/backend/plugins/slack/models/migrationscripts/archived/connection.go @@ -18,7 +18,7 @@ limitations under the License. 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 d00f39a9464..e74d8073d4b 100644 --- a/backend/plugins/slack/models/migrationscripts/register.go +++ b/backend/plugins/slack/models/migrationscripts/register.go @@ -18,7 +18,7 @@ limitations under the License. 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 a396cd0386f..b76449d54bf 100644 --- a/backend/plugins/slack/slack.go +++ b/backend/plugins/slack/slack.go @@ -18,8 +18,8 @@ limitations under the License. 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 86525966139..d0f24aa1ff0 100644 --- a/backend/plugins/slack/tasks/api_client.go +++ b/backend/plugins/slack/tasks/api_client.go @@ -18,10 +18,10 @@ limitations under the License. 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 d2a6f76d88d..a935f4fdb65 100644 --- a/backend/plugins/slack/tasks/channel_collector.go +++ b/backend/plugins/slack/tasks/channel_collector.go @@ -19,10 +19,10 @@ package tasks 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 2374ba0ebe9..721f7c82fdf 100644 --- a/backend/plugins/slack/tasks/channel_extractor.go +++ b/backend/plugins/slack/tasks/channel_extractor.go @@ -19,10 +19,10 @@ package tasks 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 98bc346412f..d65b4a29537 100644 --- a/backend/plugins/slack/tasks/channel_message_collector.go +++ b/backend/plugins/slack/tasks/channel_message_collector.go @@ -23,10 +23,10 @@ import ( "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 690fc563570..d8bcfe30a47 100644 --- a/backend/plugins/slack/tasks/channel_message_extractor.go +++ b/backend/plugins/slack/tasks/channel_message_extractor.go @@ -20,11 +20,11 @@ package tasks 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 a3366f0c742..fe8cb51d2b0 100644 --- a/backend/plugins/slack/tasks/task_data.go +++ b/backend/plugins/slack/tasks/task_data.go @@ -18,7 +18,7 @@ limitations under the License. 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 5c88a748e85..45c2614ad78 100644 --- a/backend/plugins/slack/tasks/thread_collector.go +++ b/backend/plugins/slack/tasks/thread_collector.go @@ -24,11 +24,11 @@ import ( "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 3e2bb66a7a2..21582cafedb 100644 --- a/backend/plugins/slack/tasks/thread_extractor.go +++ b/backend/plugins/slack/tasks/thread_extractor.go @@ -20,11 +20,11 @@ package tasks 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 ba3b5eedf64..332d95703cc 100644 --- a/backend/plugins/sonarqube/api/blueprint_v200.go +++ b/backend/plugins/sonarqube/api/blueprint_v200.go @@ -23,16 +23,16 @@ import ( "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 d387e5d460a..0595076c4f6 100644 --- a/backend/plugins/sonarqube/api/connection_api.go +++ b/backend/plugins/sonarqube/api/connection_api.go @@ -22,11 +22,11 @@ import ( "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 9d3ca84f4c1..ba43c147d29 100644 --- a/backend/plugins/sonarqube/api/init.go +++ b/backend/plugins/sonarqube/api/init.go @@ -18,11 +18,11 @@ limitations under the License. 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 02ca0f35f31..f8a9c87e0e0 100644 --- a/backend/plugins/sonarqube/api/remote_api.go +++ b/backend/plugins/sonarqube/api/remote_api.go @@ -22,11 +22,11 @@ import ( "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 2e7b46fbf4b..22bfa839c0a 100644 --- a/backend/plugins/sonarqube/api/scope_api.go +++ b/backend/plugins/sonarqube/api/scope_api.go @@ -18,12 +18,12 @@ limitations under the License. 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 cad95dedbcc..45d497e902f 100644 --- a/backend/plugins/sonarqube/api/scope_state_api.go +++ b/backend/plugins/sonarqube/api/scope_state_api.go @@ -18,8 +18,8 @@ limitations under the License. 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 add755e87c9..9d85fd710ee 100644 --- a/backend/plugins/sonarqube/e2e/account_test.go +++ b/backend/plugins/sonarqube/e2e/account_test.go @@ -21,12 +21,12 @@ import ( "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 488ec5f5e72..df9af2479a7 100644 --- a/backend/plugins/sonarqube/e2e/filemetrics_test.go +++ b/backend/plugins/sonarqube/e2e/filemetrics_test.go @@ -19,12 +19,12 @@ import ( "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 8a73fd202be..9250596e3a2 100644 --- a/backend/plugins/sonarqube/e2e/hotspot_test.go +++ b/backend/plugins/sonarqube/e2e/hotspot_test.go @@ -19,12 +19,12 @@ import ( "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 5eecac7be15..b1270953d05 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 @@ import ( "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 66875de14d7..444157af875 100644 --- a/backend/plugins/sonarqube/e2e/issue_test.go +++ b/backend/plugins/sonarqube/e2e/issue_test.go @@ -19,12 +19,12 @@ import ( "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 e3dc8fc6719..510ddc358b5 100644 --- a/backend/plugins/sonarqube/e2e/project_test.go +++ b/backend/plugins/sonarqube/e2e/project_test.go @@ -21,12 +21,12 @@ import ( "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 85ee668ee31..86c16ab071b 100644 --- a/backend/plugins/sonarqube/impl/impl.go +++ b/backend/plugins/sonarqube/impl/impl.go @@ -21,19 +21,19 @@ import ( "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 @@ func (p Sonarqube) PrepareTaskData(taskCtx plugin.TaskContext, options map[strin // 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 0bbe124d592..eecd7c023e9 100644 --- a/backend/plugins/sonarqube/models/connection.go +++ b/backend/plugins/sonarqube/models/connection.go @@ -23,11 +23,11 @@ import ( "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 e92284ad5da..eeb2bb5b674 100644 --- a/backend/plugins/sonarqube/models/connection_test.go +++ b/backend/plugins/sonarqube/models/connection_test.go @@ -20,7 +20,7 @@ package models 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 56de7271a96..fb546090b00 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 @@ limitations under the License. package migrationscripts import ( - "github.com/apache/incubator-devlake/core/context" - "github.com/apache/incubator-devlake/core/errors" - "github.com/apache/incubator-devlake/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 b1f62cd68d7..b0080e05852 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 @@ limitations under the License. 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 721136e6d87..8904b282faf 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 @@ package migrationscripts 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 da9f22d2272..b36524d7e8b 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 @@ 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 = (*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 161afe6029e..a03ade0bacb 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 @@ limitations under the License. package migrationscripts import ( - "github.com/apache/incubator-devlake/core/context" - "github.com/apache/incubator-devlake/core/errors" - "github.com/apache/incubator-devlake/core/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 e43aae7cce3..fb85c1a61ed 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 @@ package migrationscripts 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 e47ed72024b..e780d4d5280 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 @@ limitations under the License. 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 55e16d8cb59..eed6846e746 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 @@ limitations under the License. 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 1e61f138f67..aa7d003312f 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 @@ limitations under the License. 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 1a130170b97..8ff1b69307e 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 @@ limitations under the License. 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 35610e729bc..56d750a81fa 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 @@ limitations under the License. package migrationscripts import ( - "github.com/apache/incubator-devlake/core/context" - "github.com/apache/incubator-devlake/core/errors" - "github.com/apache/incubator-devlake/core/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 146da425f23..753d38df0f8 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 @@ limitations under the License. package migrationscripts import ( - "github.com/apache/incubator-devlake/core/context" - "github.com/apache/incubator-devlake/core/errors" - "github.com/apache/incubator-devlake/core/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 45fd5c3fb55..9870c613f41 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 @@ limitations under the License. package migrationscripts import ( - "github.com/apache/incubator-devlake/core/context" - "github.com/apache/incubator-devlake/core/errors" - "github.com/apache/incubator-devlake/core/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 ed198167083..03dabe7b4f6 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 @@ limitations under the License. package migrationscripts import ( - "github.com/apache/incubator-devlake/core/context" - "github.com/apache/incubator-devlake/core/errors" - "github.com/apache/incubator-devlake/core/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 87f64a1d477..fb936ec8f33 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 @@ limitations under the License. package migrationscripts import ( - "github.com/apache/incubator-devlake/core/context" - "github.com/apache/incubator-devlake/core/errors" - "github.com/apache/incubator-devlake/core/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 00ed2435878..e86d1b87f0b 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 @@ limitations under the License. package migrationscripts import ( - "github.com/apache/incubator-devlake/core/context" - "github.com/apache/incubator-devlake/core/errors" - "github.com/apache/incubator-devlake/core/models/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 dcb6b872cd2..0e83a682804 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 @@ limitations under the License. package migrationscripts import ( - "github.com/apache/incubator-devlake/core/context" - "github.com/apache/incubator-devlake/core/errors" - "github.com/apache/incubator-devlake/core/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 3ba3a00eb2e..c6864dd5725 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 @@ limitations under the License. package migrationscripts import ( - "github.com/apache/incubator-devlake/core/context" - "github.com/apache/incubator-devlake/core/errors" - "github.com/apache/incubator-devlake/core/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 d060f46310a..27d813a5221 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 @@ package migrationscripts 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 1337f066712..2955dbc8564 100644 --- a/backend/plugins/sonarqube/models/migrationscripts/archived/connection.go +++ b/backend/plugins/sonarqube/models/migrationscripts/archived/connection.go @@ -18,7 +18,7 @@ limitations under the License. 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 bba3490da23..23ee6105a5f 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 @@ limitations under the License. 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 86733623971..31b2f310d91 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 @@ limitations under the License. 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 96ef6567b37..6a9394c3b84 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 @@ package archived 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 1cc375ad3c7..df1c404e150 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 @@ package archived 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 5942806e915..398ace5bb0b 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 @@ limitations under the License. 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 e1db5d41054..ff8b08c6714 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 @@ package archived 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 4e1e590b9fa..d963259af96 100644 --- a/backend/plugins/sonarqube/models/migrationscripts/register.go +++ b/backend/plugins/sonarqube/models/migrationscripts/register.go @@ -17,7 +17,7 @@ limitations under the License. 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 8e375453282..02025c428f4 100644 --- a/backend/plugins/sonarqube/models/sonarqube_account.go +++ b/backend/plugins/sonarqube/models/sonarqube_account.go @@ -18,7 +18,7 @@ limitations under the License. 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 aa03d5bf862..07120f33549 100644 --- a/backend/plugins/sonarqube/models/sonarqube_file_metrics.go +++ b/backend/plugins/sonarqube/models/sonarqube_file_metrics.go @@ -18,7 +18,7 @@ limitations under the License. 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 28e7b0b7f9f..4002cc5a8d5 100644 --- a/backend/plugins/sonarqube/models/sonarqube_hotspot.go +++ b/backend/plugins/sonarqube/models/sonarqube_hotspot.go @@ -18,7 +18,7 @@ limitations under the License. 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 0c8df229241..52685f76edf 100644 --- a/backend/plugins/sonarqube/models/sonarqube_issue.go +++ b/backend/plugins/sonarqube/models/sonarqube_issue.go @@ -18,7 +18,7 @@ limitations under the License. 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 b36386338da..f198f9a5a2c 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 @@ limitations under the License. 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 aeb57134b1f..045a63789cc 100644 --- a/backend/plugins/sonarqube/models/sonarqube_project.go +++ b/backend/plugins/sonarqube/models/sonarqube_project.go @@ -18,8 +18,8 @@ limitations under the License. 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 55dac5ff702..49d370959f1 100644 --- a/backend/plugins/sonarqube/models/sonarqube_project_analyses.go +++ b/backend/plugins/sonarqube/models/sonarqube_project_analyses.go @@ -20,7 +20,7 @@ package models 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 ebd555252ac..f346de931b9 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 @@ package models 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 739ca2a7601..e2e1817bd45 100644 --- a/backend/plugins/sonarqube/sonarqube.go +++ b/backend/plugins/sonarqube/sonarqube.go @@ -18,8 +18,8 @@ limitations under the License. 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 8ed5a439fc5..69f33359f77 100644 --- a/backend/plugins/sonarqube/tasks/account_convertor.go +++ b/backend/plugins/sonarqube/tasks/account_convertor.go @@ -20,14 +20,14 @@ package tasks 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 0a30b57f014..fadeb1820fe 100644 --- a/backend/plugins/sonarqube/tasks/accounts_collector.go +++ b/backend/plugins/sonarqube/tasks/accounts_collector.go @@ -23,9 +23,9 @@ import ( "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 1d139b3831b..f4b48400347 100644 --- a/backend/plugins/sonarqube/tasks/accounts_extractor.go +++ b/backend/plugins/sonarqube/tasks/accounts_extractor.go @@ -20,10 +20,10 @@ package tasks 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 958535ff8b4..8896d1b41c9 100644 --- a/backend/plugins/sonarqube/tasks/api_client.go +++ b/backend/plugins/sonarqube/tasks/api_client.go @@ -18,10 +18,10 @@ limitations under the License. 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 945338dbb15..954ea81c213 100644 --- a/backend/plugins/sonarqube/tasks/filemetrics_additional_collector.go +++ b/backend/plugins/sonarqube/tasks/filemetrics_additional_collector.go @@ -20,9 +20,9 @@ package tasks 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 42c1b88671c..54b97953686 100644 --- a/backend/plugins/sonarqube/tasks/filemetrics_additional_extractor.go +++ b/backend/plugins/sonarqube/tasks/filemetrics_additional_extractor.go @@ -20,10 +20,10 @@ package tasks 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 e42fe3fe052..6f5e7d60994 100644 --- a/backend/plugins/sonarqube/tasks/filemetrics_collector.go +++ b/backend/plugins/sonarqube/tasks/filemetrics_collector.go @@ -23,9 +23,9 @@ import ( "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 80d9725cb8d..7c1e3e79bd1 100644 --- a/backend/plugins/sonarqube/tasks/filemetrics_convertor.go +++ b/backend/plugins/sonarqube/tasks/filemetrics_convertor.go @@ -18,14 +18,14 @@ limitations under the License. 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 24c1f7fef28..466328701b7 100644 --- a/backend/plugins/sonarqube/tasks/filemetrics_extractor.go +++ b/backend/plugins/sonarqube/tasks/filemetrics_extractor.go @@ -19,10 +19,10 @@ package tasks 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 436eaa9dfc8..eb0574db5b0 100644 --- a/backend/plugins/sonarqube/tasks/hotspots_collector.go +++ b/backend/plugins/sonarqube/tasks/hotspots_collector.go @@ -23,10 +23,10 @@ import ( "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 2016890e460..7f38b2c1c5b 100644 --- a/backend/plugins/sonarqube/tasks/hotspots_convertor.go +++ b/backend/plugins/sonarqube/tasks/hotspots_convertor.go @@ -20,14 +20,14 @@ package tasks 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 53b22f78acb..9efb8995df2 100644 --- a/backend/plugins/sonarqube/tasks/hotspots_extractor.go +++ b/backend/plugins/sonarqube/tasks/hotspots_extractor.go @@ -20,11 +20,11 @@ package tasks 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 deb3279ef49..0d924cb5151 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 @@ package tasks 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 c3d703fe2a0..93512331c20 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 @@ import ( "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 be8ab451b7c..b26471d5194 100644 --- a/backend/plugins/sonarqube/tasks/issue_impacts_convertor.go +++ b/backend/plugins/sonarqube/tasks/issue_impacts_convertor.go @@ -20,13 +20,13 @@ package tasks 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 76e2e1f647a..5ecce4f2d25 100644 --- a/backend/plugins/sonarqube/tasks/issues_collector.go +++ b/backend/plugins/sonarqube/tasks/issues_collector.go @@ -24,10 +24,10 @@ import ( "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 7d3c9679fdc..0a75acd1c60 100644 --- a/backend/plugins/sonarqube/tasks/issues_convertor.go +++ b/backend/plugins/sonarqube/tasks/issues_convertor.go @@ -20,14 +20,14 @@ package tasks 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 042214b2ab4..fac852cdc30 100644 --- a/backend/plugins/sonarqube/tasks/issues_extractor.go +++ b/backend/plugins/sonarqube/tasks/issues_extractor.go @@ -22,12 +22,12 @@ import ( "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 37682fd7cd0..b606384acac 100644 --- a/backend/plugins/sonarqube/tasks/project_analyses_collector.go +++ b/backend/plugins/sonarqube/tasks/project_analyses_collector.go @@ -23,10 +23,10 @@ import ( "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 ac10d8d6e09..bcf804c4fa0 100644 --- a/backend/plugins/sonarqube/tasks/project_analyses_extractor.go +++ b/backend/plugins/sonarqube/tasks/project_analyses_extractor.go @@ -21,10 +21,10 @@ import ( "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 fa2b02633b6..d079cc2c28e 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 @@ import ( "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 bf59aa1fe98..3b74156d170 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 @@ import ( "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 430ff196beb..04df9156a10 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 @@ import ( "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 3e3c1ebba2d..2125cbd25cd 100644 --- a/backend/plugins/sonarqube/tasks/projects_convertor.go +++ b/backend/plugins/sonarqube/tasks/projects_convertor.go @@ -20,14 +20,14 @@ package tasks 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 99c22613bf4..5a00e9d5a32 100644 --- a/backend/plugins/sonarqube/tasks/shared.go +++ b/backend/plugins/sonarqube/tasks/shared.go @@ -26,10 +26,10 @@ import ( "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 84f30dd0496..138c9d1ad2a 100644 --- a/backend/plugins/sonarqube/tasks/shared_test.go +++ b/backend/plugins/sonarqube/tasks/shared_test.go @@ -19,8 +19,8 @@ package tasks 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 06cb83dd5b0..429349561b6 100644 --- a/backend/plugins/sonarqube/tasks/task_data.go +++ b/backend/plugins/sonarqube/tasks/task_data.go @@ -20,8 +20,8 @@ package tasks 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 078d454e8b0..6f023eb4d7d 100644 --- a/backend/plugins/starrocks/api/connection.go +++ b/backend/plugins/starrocks/api/connection.go @@ -18,8 +18,8 @@ limitations under the License. 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 511b8c7ec02..35cf147c788 100644 --- a/backend/plugins/starrocks/impl/impl.go +++ b/backend/plugins/starrocks/impl/impl.go @@ -18,11 +18,11 @@ limitations under the License. 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 c942e8e92a8..4b0cd442bb7 100644 --- a/backend/plugins/starrocks/starrocks.go +++ b/backend/plugins/starrocks/starrocks.go @@ -18,8 +18,8 @@ limitations under the License. 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 8245ad538a9..e7c76d7e914 100644 --- a/backend/plugins/starrocks/tasks/tasks.go +++ b/backend/plugins/starrocks/tasks/tasks.go @@ -31,11 +31,11 @@ import ( "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 5567d4b4a22..c73b0e1e620 100644 --- a/backend/plugins/table_info_test.go +++ b/backend/plugins/table_info_test.go @@ -20,51 +20,51 @@ package plugins 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 3eabf1acbd5..3abd061d8b8 100644 --- a/backend/plugins/taiga/api/blueprint_v200.go +++ b/backend/plugins/taiga/api/blueprint_v200.go @@ -20,15 +20,15 @@ package api 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 88021be3a99..fed1d55144f 100644 --- a/backend/plugins/taiga/api/connection_api.go +++ b/backend/plugins/taiga/api/connection_api.go @@ -22,11 +22,11 @@ import ( "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 82b332456ac..ca04ee9f4ec 100644 --- a/backend/plugins/taiga/api/init.go +++ b/backend/plugins/taiga/api/init.go @@ -18,10 +18,10 @@ limitations under the License. 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 a0cc0b02a90..04a3c0c14d4 100644 --- a/backend/plugins/taiga/api/remote_api.go +++ b/backend/plugins/taiga/api/remote_api.go @@ -21,11 +21,11 @@ import ( "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 3b8c128894d..78106052e9f 100644 --- a/backend/plugins/taiga/api/scope_api.go +++ b/backend/plugins/taiga/api/scope_api.go @@ -18,10 +18,10 @@ limitations under the License. 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 f162da31c07..20358442789 100644 --- a/backend/plugins/taiga/api/scope_config_api.go +++ b/backend/plugins/taiga/api/scope_config_api.go @@ -18,8 +18,8 @@ limitations under the License. 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 47ac0c5d962..dffa9ef8d31 100644 --- a/backend/plugins/taiga/e2e/epic_test.go +++ b/backend/plugins/taiga/e2e/epic_test.go @@ -20,12 +20,12 @@ package e2e 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 7ab3c9c85a9..43ce1ce768a 100644 --- a/backend/plugins/taiga/e2e/issue_test.go +++ b/backend/plugins/taiga/e2e/issue_test.go @@ -20,12 +20,12 @@ package e2e 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 d1e8aa87096..3f49bd5960f 100644 --- a/backend/plugins/taiga/e2e/project_test.go +++ b/backend/plugins/taiga/e2e/project_test.go @@ -20,12 +20,12 @@ package e2e 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 aefa1fb8fd2..75c059b99a9 100644 --- a/backend/plugins/taiga/e2e/task_test.go +++ b/backend/plugins/taiga/e2e/task_test.go @@ -20,12 +20,12 @@ package e2e 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 1cb8553e028..7886e35ba21 100644 --- a/backend/plugins/taiga/e2e/user_story_test.go +++ b/backend/plugins/taiga/e2e/user_story_test.go @@ -20,12 +20,12 @@ package e2e 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 73e6e5b9fd7..1f8a4bb21cb 100644 --- a/backend/plugins/taiga/impl/impl.go +++ b/backend/plugins/taiga/impl/impl.go @@ -20,16 +20,16 @@ package impl 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) MakeDataSourcePipelinePlanV200( } 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 e97979331fb..4e45ca78380 100644 --- a/backend/plugins/taiga/models/connection.go +++ b/backend/plugins/taiga/models/connection.go @@ -25,9 +25,9 @@ import ( "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 1c808b380f9..d977bad67ba 100644 --- a/backend/plugins/taiga/models/epic.go +++ b/backend/plugins/taiga/models/epic.go @@ -20,7 +20,7 @@ package models 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 90dda4f6503..d73d52c45d2 100644 --- a/backend/plugins/taiga/models/issue.go +++ b/backend/plugins/taiga/models/issue.go @@ -20,7 +20,7 @@ package models 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 3a0a6beeed3..04fc7f92742 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 @@ package migrationscripts 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 ff84ba19b84..8d2ac351243 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 @@ package migrationscripts 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 84fa66cda41..70572037293 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 @@ package migrationscripts 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 da91884aa1f..33308dddc97 100644 --- a/backend/plugins/taiga/models/migrationscripts/register.go +++ b/backend/plugins/taiga/models/migrationscripts/register.go @@ -18,7 +18,7 @@ limitations under the License. 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 7b26125624e..5ec0f6a5f44 100644 --- a/backend/plugins/taiga/models/project.go +++ b/backend/plugins/taiga/models/project.go @@ -20,8 +20,8 @@ package models 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 c6397083bca..af8a962bda8 100644 --- a/backend/plugins/taiga/models/scope_config.go +++ b/backend/plugins/taiga/models/scope_config.go @@ -18,8 +18,8 @@ limitations under the License. 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 248267cf9c2..2b631e983d7 100644 --- a/backend/plugins/taiga/models/task.go +++ b/backend/plugins/taiga/models/task.go @@ -20,7 +20,7 @@ package models 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 498584477dc..ca77e151127 100644 --- a/backend/plugins/taiga/models/user_story.go +++ b/backend/plugins/taiga/models/user_story.go @@ -20,7 +20,7 @@ package models 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 4a6da00a8a1..c33d64f138c 100644 --- a/backend/plugins/taiga/taiga.go +++ b/backend/plugins/taiga/taiga.go @@ -18,8 +18,8 @@ limitations under the License. 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 4b722cc1a6c..4afa692bdbb 100644 --- a/backend/plugins/taiga/tasks/api_client.go +++ b/backend/plugins/taiga/tasks/api_client.go @@ -18,10 +18,10 @@ limitations under the License. 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 f99d48aabee..4deec5c097d 100644 --- a/backend/plugins/taiga/tasks/epic_collector.go +++ b/backend/plugins/taiga/tasks/epic_collector.go @@ -23,9 +23,9 @@ import ( "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 ed5bb53b0fb..1be0ca9f810 100644 --- a/backend/plugins/taiga/tasks/epic_convertor.go +++ b/backend/plugins/taiga/tasks/epic_convertor.go @@ -18,14 +18,14 @@ limitations under the License. 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 6acd76dacf9..104c7a215e9 100644 --- a/backend/plugins/taiga/tasks/epic_extractor.go +++ b/backend/plugins/taiga/tasks/epic_extractor.go @@ -21,10 +21,10 @@ import ( "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 cf79d539901..937baeab79f 100644 --- a/backend/plugins/taiga/tasks/issue_collector.go +++ b/backend/plugins/taiga/tasks/issue_collector.go @@ -23,9 +23,9 @@ import ( "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 5612a3b588c..469251454b6 100644 --- a/backend/plugins/taiga/tasks/issue_convertor.go +++ b/backend/plugins/taiga/tasks/issue_convertor.go @@ -20,14 +20,14 @@ package tasks 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 f2dd54ca995..1eb45f458c0 100644 --- a/backend/plugins/taiga/tasks/issue_extractor.go +++ b/backend/plugins/taiga/tasks/issue_extractor.go @@ -21,10 +21,10 @@ import ( "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 4a6462b40f6..70f1fd27ce4 100644 --- a/backend/plugins/taiga/tasks/project_collector.go +++ b/backend/plugins/taiga/tasks/project_collector.go @@ -21,9 +21,9 @@ import ( "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 032831d0717..1abb48a3b22 100644 --- a/backend/plugins/taiga/tasks/project_convertor.go +++ b/backend/plugins/taiga/tasks/project_convertor.go @@ -20,14 +20,14 @@ package tasks 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 669e34760a8..904cfcb7d67 100644 --- a/backend/plugins/taiga/tasks/project_extractor.go +++ b/backend/plugins/taiga/tasks/project_extractor.go @@ -20,11 +20,11 @@ package tasks 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 fabec6e39a4..4d0f6a6f41d 100644 --- a/backend/plugins/taiga/tasks/task_collector.go +++ b/backend/plugins/taiga/tasks/task_collector.go @@ -23,9 +23,9 @@ import ( "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 f13b51686db..2aa80de5721 100644 --- a/backend/plugins/taiga/tasks/task_convertor.go +++ b/backend/plugins/taiga/tasks/task_convertor.go @@ -18,14 +18,14 @@ limitations under the License. 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 dd6b3d58bb0..5f97c7ea70a 100644 --- a/backend/plugins/taiga/tasks/task_data.go +++ b/backend/plugins/taiga/tasks/task_data.go @@ -20,9 +20,9 @@ package tasks 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 29bece08e12..219cac32ef8 100644 --- a/backend/plugins/taiga/tasks/task_extractor.go +++ b/backend/plugins/taiga/tasks/task_extractor.go @@ -21,10 +21,10 @@ import ( "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 80f3ec7a67d..1fa69f86ca7 100644 --- a/backend/plugins/taiga/tasks/user_story_collector.go +++ b/backend/plugins/taiga/tasks/user_story_collector.go @@ -23,9 +23,9 @@ import ( "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 963a25ae18e..0b0745005c6 100644 --- a/backend/plugins/taiga/tasks/user_story_convertor.go +++ b/backend/plugins/taiga/tasks/user_story_convertor.go @@ -20,14 +20,14 @@ package tasks 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 642981e2076..883024f9e45 100644 --- a/backend/plugins/taiga/tasks/user_story_extractor.go +++ b/backend/plugins/taiga/tasks/user_story_extractor.go @@ -21,10 +21,10 @@ import ( "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 abb8695a72b..c92c05be41b 100644 --- a/backend/plugins/tapd/api/blueprint_v200.go +++ b/backend/plugins/tapd/api/blueprint_v200.go @@ -18,16 +18,16 @@ limitations under the License. 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 97224d75db6..a27dee9fc14 100644 --- a/backend/plugins/tapd/api/connection_api.go +++ b/backend/plugins/tapd/api/connection_api.go @@ -22,12 +22,12 @@ import ( "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 029f53a8a8e..c7ec38874e4 100644 --- a/backend/plugins/tapd/api/init.go +++ b/backend/plugins/tapd/api/init.go @@ -18,11 +18,11 @@ limitations under the License. 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 cce9bcf756d..ce892aa029e 100644 --- a/backend/plugins/tapd/api/remote_api.go +++ b/backend/plugins/tapd/api/remote_api.go @@ -22,12 +22,12 @@ import ( "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 8f020ccaa60..07823152996 100644 --- a/backend/plugins/tapd/api/scope_api.go +++ b/backend/plugins/tapd/api/scope_api.go @@ -20,10 +20,10 @@ package api 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 25d10ebe088..80d179ed021 100644 --- a/backend/plugins/tapd/api/scope_config_api.go +++ b/backend/plugins/tapd/api/scope_config_api.go @@ -18,8 +18,8 @@ limitations under the License. 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 046df41f387..704426ea930 100644 --- a/backend/plugins/tapd/api/scope_state_api.go +++ b/backend/plugins/tapd/api/scope_state_api.go @@ -18,8 +18,8 @@ limitations under the License. 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 da296b302c8..5fb54791d70 100644 --- a/backend/plugins/tapd/api/swagger.go +++ b/backend/plugins/tapd/api/swagger.go @@ -18,7 +18,7 @@ limitations under the License. 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 68493e980ba..4966f31fa97 100644 --- a/backend/plugins/tapd/e2e/bug_changelog_test.go +++ b/backend/plugins/tapd/e2e/bug_changelog_test.go @@ -20,11 +20,11 @@ package e2e 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 cbab446e1f2..c523beaa4ef 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 @@ limitations under the License. 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 a2e0dad703b..2e8cb89034e 100644 --- a/backend/plugins/tapd/e2e/bugs_commit_test.go +++ b/backend/plugins/tapd/e2e/bugs_commit_test.go @@ -18,12 +18,12 @@ limitations under the License. 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 6c676fdaa43..3fd6043e502 100644 --- a/backend/plugins/tapd/e2e/bugs_test.go +++ b/backend/plugins/tapd/e2e/bugs_test.go @@ -20,12 +20,12 @@ package e2e 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 c9f747ce19b..8698fcb7646 100644 --- a/backend/plugins/tapd/e2e/iterations_test.go +++ b/backend/plugins/tapd/e2e/iterations_test.go @@ -18,11 +18,11 @@ limitations under the License. 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 d6b63254b31..8c622def66d 100644 --- a/backend/plugins/tapd/e2e/stories_commit_test.go +++ b/backend/plugins/tapd/e2e/stories_commit_test.go @@ -18,12 +18,12 @@ limitations under the License. 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 e7650cad36c..f3ade915ae4 100644 --- a/backend/plugins/tapd/e2e/stories_test.go +++ b/backend/plugins/tapd/e2e/stories_test.go @@ -20,12 +20,12 @@ package e2e 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 46802c49fce..ee65da71863 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 @@ limitations under the License. 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 6f484347189..cd0a0a91e60 100644 --- a/backend/plugins/tapd/e2e/story_bug_test.go +++ b/backend/plugins/tapd/e2e/story_bug_test.go @@ -18,10 +18,10 @@ limitations under the License. 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 0d5b32a2d68..3e6df3e1c89 100644 --- a/backend/plugins/tapd/e2e/story_category_test.go +++ b/backend/plugins/tapd/e2e/story_category_test.go @@ -18,10 +18,10 @@ limitations under the License. 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 dc70b3062e8..4c67789641f 100644 --- a/backend/plugins/tapd/e2e/story_changelog_test.go +++ b/backend/plugins/tapd/e2e/story_changelog_test.go @@ -20,11 +20,11 @@ package e2e 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 5144e44fdd1..6841b611e44 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 @@ limitations under the License. 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 98fa948800d..89a579b0762 100644 --- a/backend/plugins/tapd/e2e/task_changelog_test.go +++ b/backend/plugins/tapd/e2e/task_changelog_test.go @@ -20,11 +20,11 @@ package e2e 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 a94d15a3b99..ea7eaef72fe 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 @@ limitations under the License. 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 40eb51b9e6d..0abf15a91ac 100644 --- a/backend/plugins/tapd/e2e/tasks_commit_test.go +++ b/backend/plugins/tapd/e2e/tasks_commit_test.go @@ -18,12 +18,12 @@ limitations under the License. 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 95a7c68a7dc..2c1eb43de1d 100644 --- a/backend/plugins/tapd/e2e/tasks_test.go +++ b/backend/plugins/tapd/e2e/tasks_test.go @@ -20,12 +20,12 @@ package e2e 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 3e1283cb737..45453bd7846 100644 --- a/backend/plugins/tapd/e2e/workitem_type_test.go +++ b/backend/plugins/tapd/e2e/workitem_type_test.go @@ -18,10 +18,10 @@ limitations under the License. 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 f15b80c9e09..a1d1ade3a1c 100644 --- a/backend/plugins/tapd/e2e/worklog_test.go +++ b/backend/plugins/tapd/e2e/worklog_test.go @@ -18,11 +18,11 @@ limitations under the License. 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 a73130b86cd..c231bf66921 100644 --- a/backend/plugins/tapd/impl/impl.go +++ b/backend/plugins/tapd/impl/impl.go @@ -21,16 +21,16 @@ import ( "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) MakeDataSourcePipelinePlanV200( } 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 0a925e9bc60..4c4794bf31d 100644 --- a/backend/plugins/tapd/models/account.go +++ b/backend/plugins/tapd/models/account.go @@ -18,7 +18,7 @@ limitations under the License. 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 c2fb4674867..b02a9543761 100644 --- a/backend/plugins/tapd/models/bug.go +++ b/backend/plugins/tapd/models/bug.go @@ -21,7 +21,7 @@ import ( "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 8b4302b86ae..dac3f05243c 100644 --- a/backend/plugins/tapd/models/bug_changelog.go +++ b/backend/plugins/tapd/models/bug_changelog.go @@ -18,7 +18,7 @@ limitations under the License. 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 1d584fd7292..e4cce7d2d4b 100644 --- a/backend/plugins/tapd/models/bug_commit.go +++ b/backend/plugins/tapd/models/bug_commit.go @@ -20,7 +20,7 @@ package models 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 779302d6f80..88e788a0f34 100644 --- a/backend/plugins/tapd/models/bug_custom_field.go +++ b/backend/plugins/tapd/models/bug_custom_field.go @@ -18,7 +18,7 @@ limitations under the License. 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 4d83d39bf77..d8ecca6287b 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 @@ limitations under the License. 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 4cd61654c0f..c613f23ddf0 100644 --- a/backend/plugins/tapd/models/bug_label.go +++ b/backend/plugins/tapd/models/bug_label.go @@ -18,7 +18,7 @@ limitations under the License. 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 f77f8915c46..cb1288f35fb 100644 --- a/backend/plugins/tapd/models/bug_status.go +++ b/backend/plugins/tapd/models/bug_status.go @@ -18,7 +18,7 @@ limitations under the License. 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 4a13852da43..566c79e3eca 100644 --- a/backend/plugins/tapd/models/changelog.go +++ b/backend/plugins/tapd/models/changelog.go @@ -18,7 +18,7 @@ limitations under the License. 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 4d26aec67c3..00f0b5e9007 100644 --- a/backend/plugins/tapd/models/connection.go +++ b/backend/plugins/tapd/models/connection.go @@ -18,7 +18,7 @@ limitations under the License. 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 16a8f86c0c4..84d68dc2e45 100644 --- a/backend/plugins/tapd/models/iteration.go +++ b/backend/plugins/tapd/models/iteration.go @@ -18,7 +18,7 @@ limitations under the License. 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 6883f99ded1..f2a852cc712 100644 --- a/backend/plugins/tapd/models/iteration_bug.go +++ b/backend/plugins/tapd/models/iteration_bug.go @@ -18,7 +18,7 @@ limitations under the License. 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 76024cec4ca..638c2675e1a 100644 --- a/backend/plugins/tapd/models/iteration_story.go +++ b/backend/plugins/tapd/models/iteration_story.go @@ -18,7 +18,7 @@ limitations under the License. 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 0c65ac46c75..e2c1fa4450c 100644 --- a/backend/plugins/tapd/models/iteration_task.go +++ b/backend/plugins/tapd/models/iteration_task.go @@ -18,7 +18,7 @@ limitations under the License. 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 a1187f84704..1128f0719a4 100644 --- a/backend/plugins/tapd/models/life_time.go +++ b/backend/plugins/tapd/models/life_time.go @@ -17,7 +17,7 @@ limitations under the License. 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 1be3d05b212..3c6733572b6 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 @@ limitations under the License. package migrationscripts import ( - "github.com/apache/incubator-devlake/core/context" - "github.com/apache/incubator-devlake/core/errors" - "github.com/apache/incubator-devlake/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 7b7c245a692..cdd497764ca 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 @@ limitations under the License. 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 6df06aac997..03c1bd7d196 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 @@ limitations under the License. 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 b62777a1830..9f71eb16a0e 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 @@ limitations under the License. package migrationscripts import ( - "github.com/apache/incubator-devlake/core/context" - "github.com/apache/incubator-devlake/core/errors" - "github.com/apache/incubator-devlake/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 2120138e3a2..001ffde124e 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 @@ import ( "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 7b5e001bc87..9fc2806c8c9 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 @@ limitations under the License. package migrationscripts import ( - "github.com/apache/incubator-devlake/core/context" - "github.com/apache/incubator-devlake/core/errors" - "github.com/apache/incubator-devlake/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 a446bd54d3b..14d06f26c29 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 @@ limitations under the License. package migrationscripts import ( - "github.com/apache/incubator-devlake/core/context" - "github.com/apache/incubator-devlake/core/errors" - "github.com/apache/incubator-devlake/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 723301e384a..f674ba23694 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 @@ import ( "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 8343051099a..7dba6a14d58 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 @@ limitations under the License. package migrationscripts import ( - "github.com/apache/incubator-devlake/core/context" - "github.com/apache/incubator-devlake/core/errors" - "github.com/apache/incubator-devlake/core/models/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 347e2de7645..65daf1fd0c3 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 @@ limitations under the License. package migrationscripts import ( - "github.com/apache/incubator-devlake/core/context" - "github.com/apache/incubator-devlake/core/errors" - "github.com/apache/incubator-devlake/core/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 157848fb972..61f76d3b6f7 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 @@ package migrationscripts 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 6a4c9aac621..c1e4a7a9ea1 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 @@ package migrationscripts 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 d17676725d1..75ff7c82ef0 100644 --- a/backend/plugins/tapd/models/migrationscripts/archived/account.go +++ b/backend/plugins/tapd/models/migrationscripts/archived/account.go @@ -18,7 +18,7 @@ limitations under the License. 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 cceda000086..58f6194c639 100644 --- a/backend/plugins/tapd/models/migrationscripts/archived/bug.go +++ b/backend/plugins/tapd/models/migrationscripts/archived/bug.go @@ -20,7 +20,7 @@ package archived 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 5f667ba0e58..a84cb752e6d 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 @@ package archived 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 3da0690dc60..edead4285b1 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 @@ package archived 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 0d1721a4da4..e02349e2bab 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 @@ limitations under the License. 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 58a8d944847..3ab2d1633d7 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 @@ limitations under the License. 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 3cd954f481e..4044ff7b38c 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 @@ limitations under the License. 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 822221cb83b..4fc2a91f2e9 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 @@ limitations under the License. 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 da25a9c90ae..c49524739a4 100644 --- a/backend/plugins/tapd/models/migrationscripts/archived/iteration.go +++ b/backend/plugins/tapd/models/migrationscripts/archived/iteration.go @@ -20,7 +20,7 @@ package archived 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 e3511a2a476..27eba6d44ab 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 @@ package archived 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 83d9ea51871..2262bd71e60 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 @@ package archived 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 fe930c0f2bd..57470019f6e 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 @@ package archived 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 8b1bf4191fb..bc7fc7c4a1a 100644 --- a/backend/plugins/tapd/models/migrationscripts/archived/story.go +++ b/backend/plugins/tapd/models/migrationscripts/archived/story.go @@ -20,7 +20,7 @@ package archived 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 9f4abfb3a64..ae7a76dd430 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 @@ limitations under the License. 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 f3aebfd43e3..7a2802c4afa 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 @@ package archived 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 dd511f0845a..88efc628f8a 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 @@ package archived 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 e65dbaf12a7..40532759a02 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 @@ package archived 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 38b13d1f6f5..bd7cdc4e241 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 @@ limitations under the License. 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 14fe7a1e601..ba1fae4f504 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 @@ limitations under the License. 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 ceeb0ce6910..c759ecf4727 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 @@ limitations under the License. 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 496a0ebad01..b3baa765b3a 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 @@ limitations under the License. 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 d746c7906ac..5a6b1abe717 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 @@ package archived 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 9af60b102c2..a56e7c640ca 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 @@ limitations under the License. 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 00ec7515f87..b6c3bdff628 100644 --- a/backend/plugins/tapd/models/migrationscripts/archived/task.go +++ b/backend/plugins/tapd/models/migrationscripts/archived/task.go @@ -20,7 +20,7 @@ package archived 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 ac3e35ab1c2..8f5db9af1e5 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 @@ package archived 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 2c9b875724b..7fe8ada11bb 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 @@ package archived 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 f695e075163..c1f4dfe7c18 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 @@ limitations under the License. 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 3d853738abb..64800050841 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 @@ limitations under the License. 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 b8b5dd5faa4..8413dd55dd5 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 @@ limitations under the License. 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 9dbb315da31..efda53bf480 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 @@ package archived 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 b0e787da422..fc26c3d95a4 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 @@ package archived 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 862fabba494..01afd38cbc9 100644 --- a/backend/plugins/tapd/models/migrationscripts/archived/worklog.go +++ b/backend/plugins/tapd/models/migrationscripts/archived/worklog.go @@ -20,7 +20,7 @@ package archived 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 5b7ebf71319..70f22817e56 100644 --- a/backend/plugins/tapd/models/migrationscripts/archived/workspace.go +++ b/backend/plugins/tapd/models/migrationscripts/archived/workspace.go @@ -20,7 +20,7 @@ package archived 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 16cf692c616..03e8f476b82 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 @@ limitations under the License. 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 b94f2892c1d..cd8fb2b1bb5 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 @@ limitations under the License. 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 c4da9371284..590bd513512 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 @@ limitations under the License. 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 18b4fe87e91..91903152df5 100644 --- a/backend/plugins/tapd/models/migrationscripts/register.go +++ b/backend/plugins/tapd/models/migrationscripts/register.go @@ -18,7 +18,7 @@ limitations under the License. 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 dbe922438e9..74ec97db383 100644 --- a/backend/plugins/tapd/models/scope_config.go +++ b/backend/plugins/tapd/models/scope_config.go @@ -18,7 +18,7 @@ limitations under the License. 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 9915d65aabb..0c15024bcde 100644 --- a/backend/plugins/tapd/models/story.go +++ b/backend/plugins/tapd/models/story.go @@ -21,7 +21,7 @@ import ( "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 87f11fe3507..5b388409775 100644 --- a/backend/plugins/tapd/models/story_bug.go +++ b/backend/plugins/tapd/models/story_bug.go @@ -18,7 +18,7 @@ limitations under the License. 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 b33c188a567..763147ac0b0 100644 --- a/backend/plugins/tapd/models/story_category.go +++ b/backend/plugins/tapd/models/story_category.go @@ -18,7 +18,7 @@ limitations under the License. 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 29354a2f3d5..99d4d9cdd9d 100644 --- a/backend/plugins/tapd/models/story_changelog.go +++ b/backend/plugins/tapd/models/story_changelog.go @@ -20,7 +20,7 @@ package models 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 57fd7b2759f..a3c57efd45a 100644 --- a/backend/plugins/tapd/models/story_commits.go +++ b/backend/plugins/tapd/models/story_commits.go @@ -20,7 +20,7 @@ package models 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 f4b6a736dcb..4834df2d22f 100644 --- a/backend/plugins/tapd/models/story_custom_field.go +++ b/backend/plugins/tapd/models/story_custom_field.go @@ -18,7 +18,7 @@ limitations under the License. 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 bb0e77ca7bd..6171877e4ad 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 @@ limitations under the License. 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 e8ff80f120a..4a18d50d1f5 100644 --- a/backend/plugins/tapd/models/story_label.go +++ b/backend/plugins/tapd/models/story_label.go @@ -18,7 +18,7 @@ limitations under the License. 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 b6fa081affc..44497cab5e6 100644 --- a/backend/plugins/tapd/models/story_status.go +++ b/backend/plugins/tapd/models/story_status.go @@ -18,7 +18,7 @@ limitations under the License. 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 fa4041c2fcf..c1d75c65860 100644 --- a/backend/plugins/tapd/models/task.go +++ b/backend/plugins/tapd/models/task.go @@ -21,7 +21,7 @@ import ( "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 7d0f45481ba..e4e569bc233 100644 --- a/backend/plugins/tapd/models/task_changelog.go +++ b/backend/plugins/tapd/models/task_changelog.go @@ -20,7 +20,7 @@ package models 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 0dd0680464d..879fe0e06e9 100644 --- a/backend/plugins/tapd/models/task_commits.go +++ b/backend/plugins/tapd/models/task_commits.go @@ -20,7 +20,7 @@ package models 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 3d825700d1b..95fad66bfac 100644 --- a/backend/plugins/tapd/models/task_custom_field.go +++ b/backend/plugins/tapd/models/task_custom_field.go @@ -18,7 +18,7 @@ limitations under the License. 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 2c6d15ab597..ba1b2e90191 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 @@ limitations under the License. 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 337c7c92ba1..d973db43ad9 100644 --- a/backend/plugins/tapd/models/task_label.go +++ b/backend/plugins/tapd/models/task_label.go @@ -18,7 +18,7 @@ limitations under the License. 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 213a78c3c8f..97745c2915b 100644 --- a/backend/plugins/tapd/models/workitem_type.go +++ b/backend/plugins/tapd/models/workitem_type.go @@ -18,7 +18,7 @@ limitations under the License. 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 05b89e24e0c..7549742e99d 100644 --- a/backend/plugins/tapd/models/worklog.go +++ b/backend/plugins/tapd/models/worklog.go @@ -18,7 +18,7 @@ limitations under the License. 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 a4ebff62597..08d2c96062e 100644 --- a/backend/plugins/tapd/models/workspace.go +++ b/backend/plugins/tapd/models/workspace.go @@ -20,8 +20,8 @@ package models 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 c7e1843423f..50c5bb5df6f 100644 --- a/backend/plugins/tapd/models/workspace_bug.go +++ b/backend/plugins/tapd/models/workspace_bug.go @@ -18,7 +18,7 @@ limitations under the License. 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 133bec6f465..54cbb41dbc6 100644 --- a/backend/plugins/tapd/models/workspace_story.go +++ b/backend/plugins/tapd/models/workspace_story.go @@ -18,7 +18,7 @@ limitations under the License. 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 39a82f214bd..7060834abaf 100644 --- a/backend/plugins/tapd/models/workspace_task.go +++ b/backend/plugins/tapd/models/workspace_task.go @@ -18,7 +18,7 @@ limitations under the License. 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 c7d88316c07..a05e31eae9f 100644 --- a/backend/plugins/tapd/tapd.go +++ b/backend/plugins/tapd/tapd.go @@ -18,8 +18,8 @@ limitations under the License. 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 e1cf3e68eb5..71eb46ecb1d 100644 --- a/backend/plugins/tapd/tasks/account_collector.go +++ b/backend/plugins/tapd/tasks/account_collector.go @@ -20,9 +20,9 @@ package tasks 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 e2bafe16d88..3b886634f74 100644 --- a/backend/plugins/tapd/tasks/account_converter.go +++ b/backend/plugins/tapd/tasks/account_converter.go @@ -20,13 +20,13 @@ package tasks 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 fdb15944fa2..66c9db59866 100644 --- a/backend/plugins/tapd/tasks/account_extractor.go +++ b/backend/plugins/tapd/tasks/account_extractor.go @@ -19,10 +19,10 @@ package tasks 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 4ae83492099..bb14b0c2617 100644 --- a/backend/plugins/tapd/tasks/api_client.go +++ b/backend/plugins/tapd/tasks/api_client.go @@ -18,10 +18,10 @@ limitations under the License. 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 a394c1c6aa7..e1b2b99c12a 100644 --- a/backend/plugins/tapd/tasks/bug_changelog_collector.go +++ b/backend/plugins/tapd/tasks/bug_changelog_collector.go @@ -21,9 +21,9 @@ import ( "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 c22a1626814..f71290b2c71 100644 --- a/backend/plugins/tapd/tasks/bug_changelog_converter.go +++ b/backend/plugins/tapd/tasks/bug_changelog_converter.go @@ -21,15 +21,15 @@ import ( "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 8757e5aa0ea..30a435ab31a 100644 --- a/backend/plugins/tapd/tasks/bug_changelog_extractor.go +++ b/backend/plugins/tapd/tasks/bug_changelog_extractor.go @@ -20,10 +20,10 @@ package tasks 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 56479b13955..50f71920787 100644 --- a/backend/plugins/tapd/tasks/bug_collector.go +++ b/backend/plugins/tapd/tasks/bug_collector.go @@ -21,9 +21,9 @@ import ( "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 f3abeafe882..74b83d59b24 100644 --- a/backend/plugins/tapd/tasks/bug_commit_collector.go +++ b/backend/plugins/tapd/tasks/bug_commit_collector.go @@ -24,11 +24,11 @@ import ( "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 f47dc4c8e68..b8f66dc111b 100644 --- a/backend/plugins/tapd/tasks/bug_commit_converter.go +++ b/backend/plugins/tapd/tasks/bug_commit_converter.go @@ -22,13 +22,13 @@ import ( "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 9c08d21e375..542cd47b202 100644 --- a/backend/plugins/tapd/tasks/bug_commit_extractor.go +++ b/backend/plugins/tapd/tasks/bug_commit_extractor.go @@ -19,10 +19,10 @@ package tasks 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 f3f920dce76..77e6fca89dd 100644 --- a/backend/plugins/tapd/tasks/bug_converter.go +++ b/backend/plugins/tapd/tasks/bug_converter.go @@ -23,14 +23,14 @@ import ( "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 1ac86fa3dcc..f2d6ea502a5 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 @@ package tasks 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 71489d59275..558e6b66fdd 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 @@ package tasks 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 8fdfcc32d08..b1f6002f736 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 @@ package tasks 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 43cab73e2fd..e9da0c0d14c 100644 --- a/backend/plugins/tapd/tasks/bug_extractor.go +++ b/backend/plugins/tapd/tasks/bug_extractor.go @@ -23,12 +23,12 @@ import ( "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 6c6f65b9497..0c42163e2e7 100644 --- a/backend/plugins/tapd/tasks/bug_label_convertor.go +++ b/backend/plugins/tapd/tasks/bug_label_convertor.go @@ -20,13 +20,13 @@ package tasks 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 4f3b489bc64..c869eadef68 100644 --- a/backend/plugins/tapd/tasks/bug_status_collector.go +++ b/backend/plugins/tapd/tasks/bug_status_collector.go @@ -19,9 +19,9 @@ package tasks 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 bb72c956c00..f3bcde748a2 100644 --- a/backend/plugins/tapd/tasks/bug_status_extractor.go +++ b/backend/plugins/tapd/tasks/bug_status_extractor.go @@ -18,10 +18,10 @@ limitations under the License. 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 633a7c65542..59da32b311b 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 @@ package tasks 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 ed07b6de44b..52fab9805ed 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 @@ package tasks 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 1fc7b72aa6f..a43c79e20e5 100644 --- a/backend/plugins/tapd/tasks/iteration_collector.go +++ b/backend/plugins/tapd/tasks/iteration_collector.go @@ -23,9 +23,9 @@ import ( "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 72e87baf6f6..6fdcecc5f9e 100644 --- a/backend/plugins/tapd/tasks/iteration_converter.go +++ b/backend/plugins/tapd/tasks/iteration_converter.go @@ -19,13 +19,13 @@ package tasks 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 f3b7bf0bdf0..24aeeb40dae 100644 --- a/backend/plugins/tapd/tasks/iteration_extractor.go +++ b/backend/plugins/tapd/tasks/iteration_extractor.go @@ -19,10 +19,10 @@ package tasks 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 3f69865571b..0f217d5f632 100644 --- a/backend/plugins/tapd/tasks/shared.go +++ b/backend/plugins/tapd/tasks/shared.go @@ -27,13 +27,13 @@ import ( "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 6763d5b5894..985e6d55874 100644 --- a/backend/plugins/tapd/tasks/shared_test.go +++ b/backend/plugins/tapd/tasks/shared_test.go @@ -19,11 +19,11 @@ package tasks 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 @@ func TestGenerateDomainAccountIdForUsers(t *testing.T) { {"", ""}, } 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 315498242e7..194b3e165ca 100644 --- a/backend/plugins/tapd/tasks/story_bug_collector.go +++ b/backend/plugins/tapd/tasks/story_bug_collector.go @@ -22,11 +22,11 @@ import ( "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 e075f233f3e..88e30339262 100644 --- a/backend/plugins/tapd/tasks/story_bug_extractor.go +++ b/backend/plugins/tapd/tasks/story_bug_extractor.go @@ -19,10 +19,10 @@ package tasks 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 88cdf206b5d..55db8fdbc05 100644 --- a/backend/plugins/tapd/tasks/story_category_collector.go +++ b/backend/plugins/tapd/tasks/story_category_collector.go @@ -20,9 +20,9 @@ package tasks 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 d1eb3b165b4..e1acd74518c 100644 --- a/backend/plugins/tapd/tasks/story_category_extractor.go +++ b/backend/plugins/tapd/tasks/story_category_extractor.go @@ -19,10 +19,10 @@ package tasks 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 83d195e26df..f48abe75a7f 100644 --- a/backend/plugins/tapd/tasks/story_changelog_collector.go +++ b/backend/plugins/tapd/tasks/story_changelog_collector.go @@ -21,9 +21,9 @@ import ( "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 a51b106a5ec..f500cded06f 100644 --- a/backend/plugins/tapd/tasks/story_changelog_converter.go +++ b/backend/plugins/tapd/tasks/story_changelog_converter.go @@ -22,15 +22,15 @@ import ( "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 17bf1ce94a9..25da9b31fac 100644 --- a/backend/plugins/tapd/tasks/story_changelog_extractor.go +++ b/backend/plugins/tapd/tasks/story_changelog_extractor.go @@ -19,10 +19,10 @@ package tasks 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 @@ func ExtractStoryChangelog(taskCtx plugin.SubTaskContext) errors.Error { 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 f030abbef96..b3234adc11b 100644 --- a/backend/plugins/tapd/tasks/story_collector.go +++ b/backend/plugins/tapd/tasks/story_collector.go @@ -21,9 +21,9 @@ import ( "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 21044f3bed8..25cfe8975b2 100644 --- a/backend/plugins/tapd/tasks/story_commit_collector.go +++ b/backend/plugins/tapd/tasks/story_commit_collector.go @@ -24,11 +24,11 @@ import ( "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 b98ddbc124e..d197c287c70 100644 --- a/backend/plugins/tapd/tasks/story_commit_converter.go +++ b/backend/plugins/tapd/tasks/story_commit_converter.go @@ -22,13 +22,13 @@ import ( "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 6ec81437bf6..858232ecc8d 100644 --- a/backend/plugins/tapd/tasks/story_commit_extractor.go +++ b/backend/plugins/tapd/tasks/story_commit_extractor.go @@ -19,10 +19,10 @@ package tasks 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 d33d8810120..5923e46934e 100644 --- a/backend/plugins/tapd/tasks/story_converter.go +++ b/backend/plugins/tapd/tasks/story_converter.go @@ -22,14 +22,14 @@ import ( "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 49224ee4c60..fcdc31a9f16 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 @@ package tasks 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 414119a0d02..cc11470d6de 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 @@ package tasks 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 9a41a2824c4..f9ea587f5a7 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 @@ package tasks 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 2c384ae0671..f86791f16a6 100644 --- a/backend/plugins/tapd/tasks/story_extractor.go +++ b/backend/plugins/tapd/tasks/story_extractor.go @@ -23,12 +23,12 @@ import ( "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 33c4e5d2c6f..f12e87260a0 100644 --- a/backend/plugins/tapd/tasks/story_label_convertor.go +++ b/backend/plugins/tapd/tasks/story_label_convertor.go @@ -20,13 +20,13 @@ package tasks 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 72b7724929d..c30d0b1fc48 100644 --- a/backend/plugins/tapd/tasks/story_status_collector.go +++ b/backend/plugins/tapd/tasks/story_status_collector.go @@ -19,9 +19,9 @@ package tasks 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 286218bcaa5..4816d349e27 100644 --- a/backend/plugins/tapd/tasks/story_status_extractor.go +++ b/backend/plugins/tapd/tasks/story_status_extractor.go @@ -18,10 +18,10 @@ limitations under the License. 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 8e8276c6acf..28a27d4932c 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 @@ import ( "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 8e2429a1505..dd0841d17a4 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 @@ package tasks 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 66aa60b9e6b..b5a4a55305e 100644 --- a/backend/plugins/tapd/tasks/task_changelog_collector.go +++ b/backend/plugins/tapd/tasks/task_changelog_collector.go @@ -21,9 +21,9 @@ import ( "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 d82e642aa9f..b47c27af12e 100644 --- a/backend/plugins/tapd/tasks/task_changelog_converter.go +++ b/backend/plugins/tapd/tasks/task_changelog_converter.go @@ -22,15 +22,15 @@ import ( "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 1c777f94584..7aaef431f01 100644 --- a/backend/plugins/tapd/tasks/task_changelog_extractor.go +++ b/backend/plugins/tapd/tasks/task_changelog_extractor.go @@ -19,10 +19,10 @@ package tasks 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 9b5beb3a466..88406f2848b 100644 --- a/backend/plugins/tapd/tasks/task_collector.go +++ b/backend/plugins/tapd/tasks/task_collector.go @@ -21,9 +21,9 @@ import ( "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 56c374d3a67..656e95cb62a 100644 --- a/backend/plugins/tapd/tasks/task_commit_collector.go +++ b/backend/plugins/tapd/tasks/task_commit_collector.go @@ -24,11 +24,11 @@ import ( "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 aec034839d9..013f41cb654 100644 --- a/backend/plugins/tapd/tasks/task_commit_converter.go +++ b/backend/plugins/tapd/tasks/task_commit_converter.go @@ -22,13 +22,13 @@ import ( "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 62eb0e5cc1d..4aed552bb1f 100644 --- a/backend/plugins/tapd/tasks/task_commit_extractor.go +++ b/backend/plugins/tapd/tasks/task_commit_extractor.go @@ -19,10 +19,10 @@ package tasks 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 1b5006840f2..a9d0086e877 100644 --- a/backend/plugins/tapd/tasks/task_converter.go +++ b/backend/plugins/tapd/tasks/task_converter.go @@ -22,14 +22,14 @@ import ( "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 6858253270e..f0fb3f21ab6 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 @@ package tasks 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 a8f0deb492c..b0ea722155a 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 @@ package tasks 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 ac756c86c5b..fd987d9fdcd 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 @@ package tasks 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 a13f6124403..a2b3a3a88d3 100644 --- a/backend/plugins/tapd/tasks/task_data.go +++ b/backend/plugins/tapd/tasks/task_data.go @@ -20,9 +20,9 @@ package tasks 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 11a67275101..43888ee7b65 100644 --- a/backend/plugins/tapd/tasks/task_extractor.go +++ b/backend/plugins/tapd/tasks/task_extractor.go @@ -23,12 +23,12 @@ import ( "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 2c801f5fae3..564a419b2de 100644 --- a/backend/plugins/tapd/tasks/task_label_convertor.go +++ b/backend/plugins/tapd/tasks/task_label_convertor.go @@ -20,13 +20,13 @@ package tasks 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 183b6f8683d..6d864dad831 100644 --- a/backend/plugins/tapd/tasks/workitem_lifetime_collector.go +++ b/backend/plugins/tapd/tasks/workitem_lifetime_collector.go @@ -22,11 +22,11 @@ import ( "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 746cd9bb077..f5e93b789fc 100644 --- a/backend/plugins/tapd/tasks/workitem_lifetime_extractor.go +++ b/backend/plugins/tapd/tasks/workitem_lifetime_extractor.go @@ -20,10 +20,10 @@ package tasks 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 91a3246471a..97185f5d50b 100644 --- a/backend/plugins/tapd/tasks/workitem_type_collector.go +++ b/backend/plugins/tapd/tasks/workitem_type_collector.go @@ -20,9 +20,9 @@ package tasks 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 b6547ccf297..2ca326710d2 100644 --- a/backend/plugins/tapd/tasks/workitem_type_extractor.go +++ b/backend/plugins/tapd/tasks/workitem_type_extractor.go @@ -19,10 +19,10 @@ package tasks 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 c651a203804..bdb1bea1633 100644 --- a/backend/plugins/tapd/tasks/worklog_collector.go +++ b/backend/plugins/tapd/tasks/worklog_collector.go @@ -21,9 +21,9 @@ import ( "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 d3106890130..c604f992f44 100644 --- a/backend/plugins/tapd/tasks/worklog_converter.go +++ b/backend/plugins/tapd/tasks/worklog_converter.go @@ -22,14 +22,14 @@ import ( "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 25b616410e3..648595e9b02 100644 --- a/backend/plugins/tapd/tasks/worklog_extractor.go +++ b/backend/plugins/tapd/tasks/worklog_extractor.go @@ -19,10 +19,10 @@ package tasks 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 725772abd41..64a17687e43 100644 --- a/backend/plugins/tapd/tasks/workspace_converter.go +++ b/backend/plugins/tapd/tasks/workspace_converter.go @@ -20,12 +20,12 @@ package tasks 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 e85a3dd4627..1fe47e02a3d 100644 --- a/backend/plugins/teambition/api/blueprint_v200.go +++ b/backend/plugins/teambition/api/blueprint_v200.go @@ -18,16 +18,16 @@ limitations under the License. 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 d8d1053efa6..626c4afd805 100644 --- a/backend/plugins/teambition/api/connection_api.go +++ b/backend/plugins/teambition/api/connection_api.go @@ -22,12 +22,12 @@ import ( "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 d429405afbf..9d665c4d565 100644 --- a/backend/plugins/teambition/api/init.go +++ b/backend/plugins/teambition/api/init.go @@ -18,10 +18,10 @@ limitations under the License. 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 97ced735276..d699c7906ad 100644 --- a/backend/plugins/teambition/api/remote_api.go +++ b/backend/plugins/teambition/api/remote_api.go @@ -21,11 +21,11 @@ import ( "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 495cfc88fe8..e274f6b966c 100644 --- a/backend/plugins/teambition/api/scope_api.go +++ b/backend/plugins/teambition/api/scope_api.go @@ -18,10 +18,10 @@ limitations under the License. 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 6294cb5c7da..92e3ef3d523 100644 --- a/backend/plugins/teambition/api/scope_config_api.go +++ b/backend/plugins/teambition/api/scope_config_api.go @@ -18,8 +18,8 @@ limitations under the License. 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 b5acc1ebb2d..443c36c8f3e 100644 --- a/backend/plugins/teambition/e2e/changelogs_test.go +++ b/backend/plugins/teambition/e2e/changelogs_test.go @@ -18,13 +18,13 @@ limitations under the License. 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 b512c2df82e..c0c4e42ddd4 100644 --- a/backend/plugins/teambition/e2e/projects_test.go +++ b/backend/plugins/teambition/e2e/projects_test.go @@ -18,13 +18,13 @@ limitations under the License. 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 2b472a4aae3..32dffe0dffc 100644 --- a/backend/plugins/teambition/e2e/sprint_test.go +++ b/backend/plugins/teambition/e2e/sprint_test.go @@ -18,13 +18,13 @@ limitations under the License. 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 a1ebb4c55aa..d54967997e7 100644 --- a/backend/plugins/teambition/e2e/task_comment_test.go +++ b/backend/plugins/teambition/e2e/task_comment_test.go @@ -20,13 +20,13 @@ package e2e 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 dc852f95e78..0c8a201b9b1 100644 --- a/backend/plugins/teambition/e2e/task_scenarios_test.go +++ b/backend/plugins/teambition/e2e/task_scenarios_test.go @@ -18,11 +18,11 @@ limitations under the License. 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 481972b5bcc..884045e93c0 100644 --- a/backend/plugins/teambition/e2e/task_tag_test.go +++ b/backend/plugins/teambition/e2e/task_tag_test.go @@ -18,13 +18,13 @@ limitations under the License. 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 31d5e41e303..c242c56a466 100644 --- a/backend/plugins/teambition/e2e/task_test.go +++ b/backend/plugins/teambition/e2e/task_test.go @@ -18,13 +18,13 @@ limitations under the License. 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 b8eef64c251..f60e6da767f 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 @@ limitations under the License. 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 d04bf771bfe..3c49b7ff06e 100644 --- a/backend/plugins/teambition/e2e/task_worktime_test.go +++ b/backend/plugins/teambition/e2e/task_worktime_test.go @@ -18,13 +18,13 @@ limitations under the License. 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 a9aa53a7204..95854de0abe 100644 --- a/backend/plugins/teambition/impl/impl.go +++ b/backend/plugins/teambition/impl/impl.go @@ -20,16 +20,16 @@ package impl 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 @@ func (p Teambition) PrepareTaskData(taskCtx plugin.TaskContext, options map[stri // 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 48332b5cd1c..faea40b0025 100644 --- a/backend/plugins/teambition/models/account.go +++ b/backend/plugins/teambition/models/account.go @@ -18,7 +18,7 @@ limitations under the License. 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 fcee35722ff..d1383e8ea29 100644 --- a/backend/plugins/teambition/models/connection.go +++ b/backend/plugins/teambition/models/connection.go @@ -19,9 +19,9 @@ package models 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 2b854b00f53..6752aca2b43 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 @@ limitations under the License. package migrationscripts import ( - "github.com/apache/incubator-devlake/core/context" - "github.com/apache/incubator-devlake/core/errors" - "github.com/apache/incubator-devlake/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 ca36340c25b..236a5a38e1e 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 @@ limitations under the License. package migrationscripts import ( - "github.com/apache/incubator-devlake/core/context" - "github.com/apache/incubator-devlake/core/errors" - "github.com/apache/incubator-devlake/core/models/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 f445676a0cf..b1537616568 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 @@ limitations under the License. package migrationscripts import ( - "github.com/apache/incubator-devlake/core/context" - "github.com/apache/incubator-devlake/core/errors" - "github.com/apache/incubator-devlake/core/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 855bab0a388..927f6145bc4 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 @@ limitations under the License. package migrationscripts import ( - "github.com/apache/incubator-devlake/core/context" - "github.com/apache/incubator-devlake/core/errors" - "github.com/apache/incubator-devlake/core/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 0b29b9ca044..2c8d9dc3b71 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 @@ package migrationscripts 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 7f83ee60df7..cb0df634593 100644 --- a/backend/plugins/teambition/models/migrationscripts/archived/account.go +++ b/backend/plugins/teambition/models/migrationscripts/archived/account.go @@ -20,7 +20,7 @@ package archived 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 e1ceb09e23e..8034399c3d4 100644 --- a/backend/plugins/teambition/models/migrationscripts/archived/project.go +++ b/backend/plugins/teambition/models/migrationscripts/archived/project.go @@ -20,7 +20,7 @@ package archived 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 5ad35c6d8a2..7fd41705f0f 100644 --- a/backend/plugins/teambition/models/migrationscripts/archived/sprint.go +++ b/backend/plugins/teambition/models/migrationscripts/archived/sprint.go @@ -20,7 +20,7 @@ package archived 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 5c4fda7aba4..437a9a82665 100644 --- a/backend/plugins/teambition/models/migrationscripts/archived/task.go +++ b/backend/plugins/teambition/models/migrationscripts/archived/task.go @@ -20,7 +20,7 @@ package archived 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 a2f50151874..3ac54a34d69 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 @@ package archived 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 3931d7f0831..41b68081734 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 @@ package archived 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 fd9583e4c47..a8e20e7fb67 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 @@ package archived 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 c59827e9208..11d6610804c 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 @@ package archived 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 784dae6d91e..6a0a80016ed 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 @@ limitations under the License. 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 f171add93a0..053767603e3 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 @@ package archived 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 d761a15fb70..8fe20f08813 100644 --- a/backend/plugins/teambition/models/migrationscripts/register.go +++ b/backend/plugins/teambition/models/migrationscripts/register.go @@ -17,7 +17,7 @@ limitations under the License. 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 59531c34f3c..69309fdc59b 100644 --- a/backend/plugins/teambition/models/project.go +++ b/backend/plugins/teambition/models/project.go @@ -18,8 +18,8 @@ limitations under the License. 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 d97585cdce1..ba0ae5105a0 100644 --- a/backend/plugins/teambition/models/scope_config.go +++ b/backend/plugins/teambition/models/scope_config.go @@ -18,7 +18,7 @@ limitations under the License. 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 8bc05f8e900..d43f5321447 100644 --- a/backend/plugins/teambition/models/sprint.go +++ b/backend/plugins/teambition/models/sprint.go @@ -18,7 +18,7 @@ limitations under the License. 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 872cecf99e1..f8a561ab6d4 100644 --- a/backend/plugins/teambition/models/task.go +++ b/backend/plugins/teambition/models/task.go @@ -18,7 +18,7 @@ limitations under the License. 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 35782dea29f..c6f8edc8c5e 100644 --- a/backend/plugins/teambition/models/task_activity.go +++ b/backend/plugins/teambition/models/task_activity.go @@ -18,7 +18,7 @@ limitations under the License. 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 5410c226c38..89021cc8c70 100644 --- a/backend/plugins/teambition/models/task_flow_status.go +++ b/backend/plugins/teambition/models/task_flow_status.go @@ -18,7 +18,7 @@ limitations under the License. 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 75f9c2b5df3..61bbd057d40 100644 --- a/backend/plugins/teambition/models/task_scenario.go +++ b/backend/plugins/teambition/models/task_scenario.go @@ -18,7 +18,7 @@ limitations under the License. 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 0ffc9df9c70..a0881989c72 100644 --- a/backend/plugins/teambition/models/task_tag.go +++ b/backend/plugins/teambition/models/task_tag.go @@ -18,7 +18,7 @@ limitations under the License. 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 db2e93eada1..d0305618b1c 100644 --- a/backend/plugins/teambition/models/task_tag_task.go +++ b/backend/plugins/teambition/models/task_tag_task.go @@ -17,7 +17,7 @@ limitations under the License. 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 27950795037..563ab693bf8 100644 --- a/backend/plugins/teambition/models/task_worktime.go +++ b/backend/plugins/teambition/models/task_worktime.go @@ -18,7 +18,7 @@ limitations under the License. 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 db916bd2cc5..cd2309cccc1 100644 --- a/backend/plugins/teambition/tasks/account_collector.go +++ b/backend/plugins/teambition/tasks/account_collector.go @@ -19,9 +19,9 @@ package tasks 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 f266244db49..192f14e508d 100644 --- a/backend/plugins/teambition/tasks/account_converter.go +++ b/backend/plugins/teambition/tasks/account_converter.go @@ -18,13 +18,13 @@ limitations under the License. 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 7522dc2ffab..c07bae778d9 100644 --- a/backend/plugins/teambition/tasks/account_extractor.go +++ b/backend/plugins/teambition/tasks/account_extractor.go @@ -19,10 +19,10 @@ package tasks 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 82d9ed5b599..db9eb810402 100644 --- a/backend/plugins/teambition/tasks/api_client.go +++ b/backend/plugins/teambition/tasks/api_client.go @@ -18,10 +18,10 @@ limitations under the License. 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 2ea1ffc94d7..8f850de606e 100644 --- a/backend/plugins/teambition/tasks/project_collector.go +++ b/backend/plugins/teambition/tasks/project_collector.go @@ -20,9 +20,9 @@ package tasks 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 abeddf2456e..9df82ac69d1 100644 --- a/backend/plugins/teambition/tasks/project_convertor.go +++ b/backend/plugins/teambition/tasks/project_convertor.go @@ -21,13 +21,13 @@ import ( "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 d850fb90f01..f91ebdc94a4 100644 --- a/backend/plugins/teambition/tasks/project_extractor.go +++ b/backend/plugins/teambition/tasks/project_extractor.go @@ -19,10 +19,10 @@ package tasks 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 7fbf56efec6..00a0b2c78ad 100644 --- a/backend/plugins/teambition/tasks/shared.go +++ b/backend/plugins/teambition/tasks/shared.go @@ -18,12 +18,12 @@ limitations under the License. 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 21ca795df4c..7a8e6c6fa15 100644 --- a/backend/plugins/teambition/tasks/sprint_collector.go +++ b/backend/plugins/teambition/tasks/sprint_collector.go @@ -20,9 +20,9 @@ package tasks 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 f5d4d41d92d..d8ec6ef6a17 100644 --- a/backend/plugins/teambition/tasks/sprint_convertor.go +++ b/backend/plugins/teambition/tasks/sprint_convertor.go @@ -19,13 +19,13 @@ package tasks 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 397fe890bf8..448ceefab08 100644 --- a/backend/plugins/teambition/tasks/sprint_extractor.go +++ b/backend/plugins/teambition/tasks/sprint_extractor.go @@ -19,10 +19,10 @@ package tasks 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 a6034fd9b6c..143edad1b29 100644 --- a/backend/plugins/teambition/tasks/task_activity_collector.go +++ b/backend/plugins/teambition/tasks/task_activity_collector.go @@ -20,11 +20,11 @@ package tasks 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 aa1c90a1966..75191493b4e 100644 --- a/backend/plugins/teambition/tasks/task_activity_extractor.go +++ b/backend/plugins/teambition/tasks/task_activity_extractor.go @@ -19,10 +19,10 @@ package tasks 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 f01076ece50..8a9cf0a8fa9 100644 --- a/backend/plugins/teambition/tasks/task_changelog_converter.go +++ b/backend/plugins/teambition/tasks/task_changelog_converter.go @@ -18,13 +18,13 @@ limitations under the License. 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 42967499038..98259d8138a 100644 --- a/backend/plugins/teambition/tasks/task_collector.go +++ b/backend/plugins/teambition/tasks/task_collector.go @@ -23,9 +23,9 @@ import ( "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 1ee9a2864e2..17f74f4a96b 100644 --- a/backend/plugins/teambition/tasks/task_comment_converter.go +++ b/backend/plugins/teambition/tasks/task_comment_converter.go @@ -21,13 +21,13 @@ import ( "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 aa2071d9cab..cc13c1aa69e 100644 --- a/backend/plugins/teambition/tasks/task_converter.go +++ b/backend/plugins/teambition/tasks/task_converter.go @@ -24,13 +24,13 @@ import ( "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 961f1f33d5c..c1ce2f937d7 100644 --- a/backend/plugins/teambition/tasks/task_data.go +++ b/backend/plugins/teambition/tasks/task_data.go @@ -20,8 +20,8 @@ package tasks 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 abe14653c6e..22168d82516 100644 --- a/backend/plugins/teambition/tasks/task_extractor.go +++ b/backend/plugins/teambition/tasks/task_extractor.go @@ -20,10 +20,10 @@ package tasks 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 42e31b36060..11ff7bcc118 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 @@ package tasks 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 2aef6acc4f2..6515844bd32 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 @@ package tasks 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 79348c54fe5..c1f3b554880 100644 --- a/backend/plugins/teambition/tasks/task_scenario_collector.go +++ b/backend/plugins/teambition/tasks/task_scenario_collector.go @@ -23,9 +23,9 @@ import ( "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 10214fa1ff6..5d0cc704f4e 100644 --- a/backend/plugins/teambition/tasks/task_scenario_extractor.go +++ b/backend/plugins/teambition/tasks/task_scenario_extractor.go @@ -19,10 +19,10 @@ package tasks 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 f3eb3897a87..77b71d57bf2 100644 --- a/backend/plugins/teambition/tasks/task_tag_collector.go +++ b/backend/plugins/teambition/tasks/task_tag_collector.go @@ -20,9 +20,9 @@ package tasks 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 b7fdfbdcc38..3a1eaebcb39 100644 --- a/backend/plugins/teambition/tasks/task_tag_extractor.go +++ b/backend/plugins/teambition/tasks/task_tag_extractor.go @@ -20,10 +20,10 @@ package tasks 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 d8710b3022d..6c85217b692 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 @@ limitations under the License. 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 7d19096e5d8..bf5547543ee 100644 --- a/backend/plugins/teambition/tasks/task_worktime_collector.go +++ b/backend/plugins/teambition/tasks/task_worktime_collector.go @@ -19,11 +19,11 @@ package tasks 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 7983934c875..e50b94409b9 100644 --- a/backend/plugins/teambition/tasks/task_worktime_converter.go +++ b/backend/plugins/teambition/tasks/task_worktime_converter.go @@ -18,13 +18,13 @@ limitations under the License. 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 e42b385af87..d10f244eb7b 100644 --- a/backend/plugins/teambition/tasks/task_worktime_extractor.go +++ b/backend/plugins/teambition/tasks/task_worktime_extractor.go @@ -19,10 +19,10 @@ package tasks 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 86b4b26c606..460ed3e5a8b 100644 --- a/backend/plugins/teambition/teambition.go +++ b/backend/plugins/teambition/teambition.go @@ -18,8 +18,8 @@ limitations under the License. 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 f786dd65453..a75ae1381b2 100644 --- a/backend/plugins/tempo/api/blueprint_v200.go +++ b/backend/plugins/tempo/api/blueprint_v200.go @@ -20,15 +20,15 @@ package api 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 5ee6f99059e..12d8e4cd7e7 100644 --- a/backend/plugins/tempo/api/connection.go +++ b/backend/plugins/tempo/api/connection.go @@ -21,11 +21,11 @@ import ( "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 47ce280c2fe..9253cb20e74 100644 --- a/backend/plugins/tempo/api/init.go +++ b/backend/plugins/tempo/api/init.go @@ -18,10 +18,10 @@ limitations under the License. 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 8dd7199939c..d8dd4ee2520 100644 --- a/backend/plugins/tempo/api/remote.go +++ b/backend/plugins/tempo/api/remote.go @@ -22,11 +22,11 @@ import ( "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 4f546127117..5eb482ab318 100644 --- a/backend/plugins/tempo/api/scope.go +++ b/backend/plugins/tempo/api/scope.go @@ -18,10 +18,10 @@ limitations under the License. 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 851aeac8bef..8dee4ef58c1 100644 --- a/backend/plugins/tempo/api/scope_config.go +++ b/backend/plugins/tempo/api/scope_config.go @@ -18,8 +18,8 @@ limitations under the License. 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 bb4ea262bf5..1b08af889d6 100644 --- a/backend/plugins/tempo/e2e/worklog_test.go +++ b/backend/plugins/tempo/e2e/worklog_test.go @@ -20,11 +20,11 @@ package e2e 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 0666033a7fb..87884f3bda2 100644 --- a/backend/plugins/tempo/impl/impl.go +++ b/backend/plugins/tempo/impl/impl.go @@ -20,17 +20,17 @@ package impl 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/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" + "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/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) MakeDataSourcePipelinePlanV200( } 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 2322dc991a3..3e44317f242 100644 --- a/backend/plugins/tempo/models/connection.go +++ b/backend/plugins/tempo/models/connection.go @@ -18,9 +18,9 @@ limitations under the License. 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 76f0a9edd8d..c93a2acfe51 100644 --- a/backend/plugins/tempo/models/migrationscripts/archived/models.go +++ b/backend/plugins/tempo/models/migrationscripts/archived/models.go @@ -18,7 +18,7 @@ limitations under the License. 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 42e280a58b9..49d6289cac7 100644 --- a/backend/plugins/tempo/models/migrationscripts/register.go +++ b/backend/plugins/tempo/models/migrationscripts/register.go @@ -18,7 +18,7 @@ limitations under the License. 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 ee4e7c8ddb3..cd20948b37b 100644 --- a/backend/plugins/tempo/models/migrationscripts/register_tables.go +++ b/backend/plugins/tempo/models/migrationscripts/register_tables.go @@ -18,10 +18,10 @@ limitations under the License. package migrationscripts import ( - "github.com/apache/incubator-devlake/core/context" - "github.com/apache/incubator-devlake/core/errors" - "github.com/apache/incubator-devlake/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 d29f3fd72de..86067f2e6db 100644 --- a/backend/plugins/tempo/models/team.go +++ b/backend/plugins/tempo/models/team.go @@ -20,8 +20,8 @@ package models 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 780c69ee597..009301e9aba 100644 --- a/backend/plugins/tempo/models/worklog.go +++ b/backend/plugins/tempo/models/worklog.go @@ -18,7 +18,7 @@ limitations under the License. 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 8dcefb13472..84f918f973f 100644 --- a/backend/plugins/tempo/tasks/api_client.go +++ b/backend/plugins/tempo/tasks/api_client.go @@ -18,10 +18,10 @@ limitations under the License. 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 547282d6a5a..56f85ae5f41 100644 --- a/backend/plugins/tempo/tasks/tasks.go +++ b/backend/plugins/tempo/tasks/tasks.go @@ -18,8 +18,8 @@ limitations under the License. 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 1ac9e2f5bf5..ab65383bcec 100644 --- a/backend/plugins/tempo/tasks/team_collector.go +++ b/backend/plugins/tempo/tasks/team_collector.go @@ -24,10 +24,10 @@ import ( "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 1ecbc345c4b..502100a88b7 100644 --- a/backend/plugins/tempo/tasks/team_extractor.go +++ b/backend/plugins/tempo/tasks/team_extractor.go @@ -20,10 +20,10 @@ package tasks 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 28738e35240..528b0b8cf44 100644 --- a/backend/plugins/tempo/tasks/worklog_collector.go +++ b/backend/plugins/tempo/tasks/worklog_collector.go @@ -25,10 +25,10 @@ import ( "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 60ee32a1416..b5c62aa7bbf 100644 --- a/backend/plugins/tempo/tasks/worklog_convertor.go +++ b/backend/plugins/tempo/tasks/worklog_convertor.go @@ -22,13 +22,13 @@ import ( "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 31370868d38..19b82c7f4b0 100644 --- a/backend/plugins/tempo/tasks/worklog_extractor.go +++ b/backend/plugins/tempo/tasks/worklog_extractor.go @@ -20,10 +20,10 @@ package tasks 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 8b75aee5e4d..fa42125f56a 100644 --- a/backend/plugins/tempo/tempo.go +++ b/backend/plugins/tempo/tempo.go @@ -18,8 +18,8 @@ limitations under the License. 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 56b8eaf20ea..6023e5fd8e8 100644 --- a/backend/plugins/testmo/api/blueprint_v200.go +++ b/backend/plugins/testmo/api/blueprint_v200.go @@ -18,13 +18,13 @@ limitations under the License. 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 9ddb312165b..1e25282ee1a 100644 --- a/backend/plugins/testmo/api/connection.go +++ b/backend/plugins/testmo/api/connection.go @@ -21,10 +21,10 @@ import ( "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 1741335a82c..ba07e6f49e1 100644 --- a/backend/plugins/testmo/api/init.go +++ b/backend/plugins/testmo/api/init.go @@ -18,10 +18,10 @@ limitations under the License. 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 6c83a0369b0..0eb4993c972 100644 --- a/backend/plugins/testmo/api/remote_api.go +++ b/backend/plugins/testmo/api/remote_api.go @@ -22,12 +22,12 @@ import ( "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 4897adebdb4..6b32d983f56 100644 --- a/backend/plugins/testmo/api/scope.go +++ b/backend/plugins/testmo/api/scope.go @@ -18,8 +18,8 @@ limitations under the License. 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 09687b89448..60e53bb7feb 100644 --- a/backend/plugins/testmo/api/scope_config.go +++ b/backend/plugins/testmo/api/scope_config.go @@ -18,8 +18,8 @@ limitations under the License. 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 d3ce9e62934..0b95c33e663 100644 --- a/backend/plugins/testmo/api/scope_state_api.go +++ b/backend/plugins/testmo/api/scope_state_api.go @@ -18,8 +18,8 @@ limitations under the License. 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 bb825508636..2882170dd3f 100644 --- a/backend/plugins/testmo/api/swagger.go +++ b/backend/plugins/testmo/api/swagger.go @@ -18,7 +18,7 @@ limitations under the License. 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 9ef23f9c48e..c93d393478b 100644 --- a/backend/plugins/testmo/impl/impl.go +++ b/backend/plugins/testmo/impl/impl.go @@ -20,16 +20,16 @@ package impl 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) PrepareTaskData(taskCtx plugin.TaskContext, options map[string]i } 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 89e90e4cc95..4d435d6de0b 100644 --- a/backend/plugins/testmo/models/automation_run.go +++ b/backend/plugins/testmo/models/automation_run.go @@ -20,7 +20,7 @@ package models 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 45f4e61403e..5e16b89c1a8 100644 --- a/backend/plugins/testmo/models/connection.go +++ b/backend/plugins/testmo/models/connection.go @@ -18,7 +18,7 @@ limitations under the License. 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 4103d5d1b9d..0da12d3944d 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 @@ limitations under the License. package migrationscripts import ( - "github.com/apache/incubator-devlake/core/context" - "github.com/apache/incubator-devlake/core/errors" - "github.com/apache/incubator-devlake/core/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 8f7e7f1cdad..f9be19f5be9 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 @@ limitations under the License. package migrationscripts import ( - "github.com/apache/incubator-devlake/core/context" - "github.com/apache/incubator-devlake/core/errors" - "github.com/apache/incubator-devlake/core/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 b13d1233cb0..fa0781b9776 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 @@ limitations under the License. package migrationscripts import ( - "github.com/apache/incubator-devlake/core/context" - "github.com/apache/incubator-devlake/core/errors" - "github.com/apache/incubator-devlake/core/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 3d7a6d7bdc2..e90c3762ece 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 @@ limitations under the License. package migrationscripts import ( - "github.com/apache/incubator-devlake/core/context" - "github.com/apache/incubator-devlake/core/errors" - "github.com/apache/incubator-devlake/core/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 9ade2d9925f..34cef1e6db3 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 @@ limitations under the License. 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 11048f60a74..00e05b8c06c 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 @@ limitations under the License. package migrationscripts import ( - "github.com/apache/incubator-devlake/core/context" - "github.com/apache/incubator-devlake/core/errors" - "github.com/apache/incubator-devlake/core/models/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 b448d57a4c5..5ef2f9928e5 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 @@ package archived 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 995a7398398..c3d0f53849c 100644 --- a/backend/plugins/testmo/models/migrationscripts/archived/connection.go +++ b/backend/plugins/testmo/models/migrationscripts/archived/connection.go @@ -18,7 +18,7 @@ limitations under the License. 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 cc48c7d8398..50992f9fd9e 100644 --- a/backend/plugins/testmo/models/migrationscripts/archived/milestone.go +++ b/backend/plugins/testmo/models/migrationscripts/archived/milestone.go @@ -20,7 +20,7 @@ package archived 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 8bff79e3c76..3591e3b20c6 100644 --- a/backend/plugins/testmo/models/migrationscripts/archived/project.go +++ b/backend/plugins/testmo/models/migrationscripts/archived/project.go @@ -18,7 +18,7 @@ limitations under the License. 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 3205b5dd65c..6a8b2e03611 100644 --- a/backend/plugins/testmo/models/migrationscripts/archived/run.go +++ b/backend/plugins/testmo/models/migrationscripts/archived/run.go @@ -20,7 +20,7 @@ package archived 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 d4624531e84..f7ab6ecdee3 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 @@ limitations under the License. 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 ed403006ed7..152d9c84a7c 100644 --- a/backend/plugins/testmo/models/migrationscripts/archived/test.go +++ b/backend/plugins/testmo/models/migrationscripts/archived/test.go @@ -20,7 +20,7 @@ package archived 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 95f2ae48b41..7c5e14b15e3 100644 --- a/backend/plugins/testmo/models/migrationscripts/register.go +++ b/backend/plugins/testmo/models/migrationscripts/register.go @@ -17,7 +17,7 @@ limitations under the License. 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 b2c1692feb2..c6d157e7728 100644 --- a/backend/plugins/testmo/models/milestone.go +++ b/backend/plugins/testmo/models/milestone.go @@ -20,7 +20,7 @@ package models 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 d74119ca9e7..917f8df6145 100644 --- a/backend/plugins/testmo/models/project.go +++ b/backend/plugins/testmo/models/project.go @@ -20,8 +20,8 @@ package models 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 42f7b9ab15f..87570bf4792 100644 --- a/backend/plugins/testmo/models/run.go +++ b/backend/plugins/testmo/models/run.go @@ -20,7 +20,7 @@ package models 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 8c7062c668b..fae71c3eed2 100644 --- a/backend/plugins/testmo/models/scope_config.go +++ b/backend/plugins/testmo/models/scope_config.go @@ -18,7 +18,7 @@ limitations under the License. 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 1ee660abc3e..d8dc5f58b2e 100644 --- a/backend/plugins/testmo/tasks/api_client.go +++ b/backend/plugins/testmo/tasks/api_client.go @@ -18,10 +18,10 @@ limitations under the License. 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 86cd6dbba2d..e5124113095 100644 --- a/backend/plugins/testmo/tasks/automation_run_collector.go +++ b/backend/plugins/testmo/tasks/automation_run_collector.go @@ -23,9 +23,9 @@ import ( "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 2f1046f87d7..5671b33bb70 100644 --- a/backend/plugins/testmo/tasks/automation_run_converter.go +++ b/backend/plugins/testmo/tasks/automation_run_converter.go @@ -20,11 +20,11 @@ package tasks 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 d97f7ed9d03..0386b608017 100644 --- a/backend/plugins/testmo/tasks/automation_run_extractor.go +++ b/backend/plugins/testmo/tasks/automation_run_extractor.go @@ -21,10 +21,10 @@ import ( "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 332afde79c6..a2d8e2d82f6 100644 --- a/backend/plugins/testmo/tasks/milestone_collector.go +++ b/backend/plugins/testmo/tasks/milestone_collector.go @@ -23,9 +23,9 @@ import ( "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 91b68045207..f316e4d4cf2 100644 --- a/backend/plugins/testmo/tasks/milestone_extractor.go +++ b/backend/plugins/testmo/tasks/milestone_extractor.go @@ -21,10 +21,10 @@ import ( "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 7c1522345ae..6f84785b610 100644 --- a/backend/plugins/testmo/tasks/project_collector.go +++ b/backend/plugins/testmo/tasks/project_collector.go @@ -21,9 +21,9 @@ import ( "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 3bd5f964750..7fb59e6a22c 100644 --- a/backend/plugins/testmo/tasks/project_converter.go +++ b/backend/plugins/testmo/tasks/project_converter.go @@ -21,14 +21,14 @@ import ( "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 cdba2d07a93..ef9dc68387b 100644 --- a/backend/plugins/testmo/tasks/project_extractor.go +++ b/backend/plugins/testmo/tasks/project_extractor.go @@ -20,11 +20,11 @@ package tasks 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 956f3f2278c..08c2720ddde 100644 --- a/backend/plugins/testmo/tasks/run_collector.go +++ b/backend/plugins/testmo/tasks/run_collector.go @@ -23,9 +23,9 @@ import ( "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 4f91541f7f6..eed634b1e5e 100644 --- a/backend/plugins/testmo/tasks/run_converter.go +++ b/backend/plugins/testmo/tasks/run_converter.go @@ -20,14 +20,14 @@ package tasks 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 95c37f2b3aa..c1de7578ed8 100644 --- a/backend/plugins/testmo/tasks/run_extractor.go +++ b/backend/plugins/testmo/tasks/run_extractor.go @@ -23,10 +23,10 @@ import ( "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 26863014c92..3a2e86dd53f 100644 --- a/backend/plugins/testmo/tasks/shared.go +++ b/backend/plugins/testmo/tasks/shared.go @@ -24,10 +24,10 @@ import ( "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 854326804eb..c76d8cf8183 100644 --- a/backend/plugins/testmo/tasks/task_data.go +++ b/backend/plugins/testmo/tasks/task_data.go @@ -20,8 +20,8 @@ package tasks 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 57e61302fcc..7b9aecdf6c1 100644 --- a/backend/plugins/testmo/testmo.go +++ b/backend/plugins/testmo/testmo.go @@ -18,8 +18,8 @@ limitations under the License. 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 18fd5132ad5..aaeabf29556 100644 --- a/backend/plugins/trello/api/blueprint_v200.go +++ b/backend/plugins/trello/api/blueprint_v200.go @@ -18,19 +18,19 @@ limitations under the License. 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 994065e2b06..437637757a5 100644 --- a/backend/plugins/trello/api/connection_api.go +++ b/backend/plugins/trello/api/connection_api.go @@ -21,12 +21,12 @@ import ( "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 3b9b152c95e..979ea4a631e 100644 --- a/backend/plugins/trello/api/init.go +++ b/backend/plugins/trello/api/init.go @@ -18,10 +18,10 @@ limitations under the License. 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 75ffb33e1cc..eb3a1fdecff 100644 --- a/backend/plugins/trello/api/remote_api.go +++ b/backend/plugins/trello/api/remote_api.go @@ -18,8 +18,8 @@ limitations under the License. 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 89eedc40028..3efe91f21ca 100644 --- a/backend/plugins/trello/api/scope_api.go +++ b/backend/plugins/trello/api/scope_api.go @@ -18,10 +18,10 @@ limitations under the License. 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 026e8ccc868..740a608990c 100644 --- a/backend/plugins/trello/api/scope_config_api.go +++ b/backend/plugins/trello/api/scope_config_api.go @@ -18,8 +18,8 @@ limitations under the License. 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 ca92577f09a..3f6ba469103 100644 --- a/backend/plugins/trello/api/swagger.go +++ b/backend/plugins/trello/api/swagger.go @@ -18,7 +18,7 @@ limitations under the License. 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 23abb74899a..876ff564eb9 100644 --- a/backend/plugins/trello/e2e/card_test.go +++ b/backend/plugins/trello/e2e/card_test.go @@ -18,11 +18,11 @@ limitations under the License. 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 96bae9b37e4..f7335d06869 100644 --- a/backend/plugins/trello/e2e/check_items_test.go +++ b/backend/plugins/trello/e2e/check_items_test.go @@ -18,11 +18,11 @@ limitations under the License. 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 11043c739cf..3c56b5215bd 100644 --- a/backend/plugins/trello/e2e/labels_test.go +++ b/backend/plugins/trello/e2e/labels_test.go @@ -18,11 +18,11 @@ limitations under the License. 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 d02bf1630d0..d4b4206da8e 100644 --- a/backend/plugins/trello/e2e/lists_test.go +++ b/backend/plugins/trello/e2e/lists_test.go @@ -18,11 +18,11 @@ limitations under the License. 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 159469dee58..66fc930278e 100644 --- a/backend/plugins/trello/e2e/members_test.go +++ b/backend/plugins/trello/e2e/members_test.go @@ -18,11 +18,11 @@ limitations under the License. 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 f6b3ee45783..91125b4227c 100644 --- a/backend/plugins/trello/impl/impl.go +++ b/backend/plugins/trello/impl/impl.go @@ -20,16 +20,16 @@ package impl 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) PrepareTaskData(taskCtx plugin.TaskContext, options map[string]i } 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 426836c013a..a1239462b96 100644 --- a/backend/plugins/trello/models/board.go +++ b/backend/plugins/trello/models/board.go @@ -18,8 +18,8 @@ limitations under the License. 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 fc7750bb6fa..ce7e19575b1 100644 --- a/backend/plugins/trello/models/card.go +++ b/backend/plugins/trello/models/card.go @@ -18,7 +18,7 @@ limitations under the License. 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 08899fe9616..f8e5c045517 100644 --- a/backend/plugins/trello/models/check_item.go +++ b/backend/plugins/trello/models/check_item.go @@ -18,7 +18,7 @@ limitations under the License. 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 802077210fa..963835b07b6 100644 --- a/backend/plugins/trello/models/connection.go +++ b/backend/plugins/trello/models/connection.go @@ -19,9 +19,9 @@ package models 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 b27d6c944f5..be3108063aa 100644 --- a/backend/plugins/trello/models/label.go +++ b/backend/plugins/trello/models/label.go @@ -17,7 +17,7 @@ limitations under the License. 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 09feb2e1147..ff0787f6f9d 100644 --- a/backend/plugins/trello/models/list.go +++ b/backend/plugins/trello/models/list.go @@ -18,7 +18,7 @@ limitations under the License. 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 3f92788af14..1fcfe29e3f5 100644 --- a/backend/plugins/trello/models/member.go +++ b/backend/plugins/trello/models/member.go @@ -17,7 +17,7 @@ limitations under the License. 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 9dfa1e8209e..6923da0e192 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 @@ limitations under the License. package migrationscripts import ( - "github.com/apache/incubator-devlake/core/context" - "github.com/apache/incubator-devlake/core/errors" - "github.com/apache/incubator-devlake/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 b8cc07d840d..6a35fb29585 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 @@ limitations under the License. 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 e8f3d7cdc81..379740d9ecb 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 @@ limitations under the License. package migrationscripts import ( - "github.com/apache/incubator-devlake/core/context" - "github.com/apache/incubator-devlake/core/errors" - "github.com/apache/incubator-devlake/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 1d36131f7c2..1eaf84e601d 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 @@ 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 = (*addRawParamTableForScope)(nil) diff --git a/backend/plugins/trello/models/migrationscripts/archived/board.go b/backend/plugins/trello/models/migrationscripts/archived/board.go index 7368c35aa58..87edd9fd309 100644 --- a/backend/plugins/trello/models/migrationscripts/archived/board.go +++ b/backend/plugins/trello/models/migrationscripts/archived/board.go @@ -17,7 +17,7 @@ limitations under the License. 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 a0e9e4a73c7..5fb1b4e05e7 100644 --- a/backend/plugins/trello/models/migrationscripts/archived/card.go +++ b/backend/plugins/trello/models/migrationscripts/archived/card.go @@ -20,7 +20,7 @@ package archived 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 f5691ae747d..97dfbf8e612 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 @@ limitations under the License. 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 c1389c3f0b0..5105d1adbfb 100644 --- a/backend/plugins/trello/models/migrationscripts/archived/connection.go +++ b/backend/plugins/trello/models/migrationscripts/archived/connection.go @@ -18,7 +18,7 @@ limitations under the License. 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 49194752b7e..220cc061830 100644 --- a/backend/plugins/trello/models/migrationscripts/archived/label.go +++ b/backend/plugins/trello/models/migrationscripts/archived/label.go @@ -18,7 +18,7 @@ limitations under the License. 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 a9a6cbce516..a29b55037df 100644 --- a/backend/plugins/trello/models/migrationscripts/archived/list.go +++ b/backend/plugins/trello/models/migrationscripts/archived/list.go @@ -18,7 +18,7 @@ limitations under the License. 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 9e9fe402ca8..f06dcd22241 100644 --- a/backend/plugins/trello/models/migrationscripts/archived/member.go +++ b/backend/plugins/trello/models/migrationscripts/archived/member.go @@ -18,7 +18,7 @@ limitations under the License. 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 ecdec00a483..108b3ed908a 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 @@ limitations under the License. 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 e822bbe93f5..46213d2370f 100644 --- a/backend/plugins/trello/models/migrationscripts/register.go +++ b/backend/plugins/trello/models/migrationscripts/register.go @@ -18,7 +18,7 @@ limitations under the License. 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 a7c30d603a5..53fa62f94e3 100644 --- a/backend/plugins/trello/models/scope_config.go +++ b/backend/plugins/trello/models/scope_config.go @@ -18,7 +18,7 @@ limitations under the License. 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 f2e14879ae4..f25e58710e6 100644 --- a/backend/plugins/trello/tasks/api_client.go +++ b/backend/plugins/trello/tasks/api_client.go @@ -18,10 +18,10 @@ limitations under the License. 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 64a6574ea78..9544ce6cd89 100644 --- a/backend/plugins/trello/tasks/card_collector.go +++ b/backend/plugins/trello/tasks/card_collector.go @@ -19,9 +19,9 @@ package tasks 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 9836ef873fc..e1f3d8126d4 100644 --- a/backend/plugins/trello/tasks/card_extractor.go +++ b/backend/plugins/trello/tasks/card_extractor.go @@ -19,10 +19,10 @@ package tasks 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 a9f7545ba59..6feee9e6256 100644 --- a/backend/plugins/trello/tasks/check_item_collector.go +++ b/backend/plugins/trello/tasks/check_item_collector.go @@ -19,9 +19,9 @@ package tasks 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 40cf9fba80b..e427aeef378 100644 --- a/backend/plugins/trello/tasks/check_item_extractor.go +++ b/backend/plugins/trello/tasks/check_item_extractor.go @@ -19,10 +19,10 @@ package tasks 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 bac260cd5d8..28541f7ac9e 100644 --- a/backend/plugins/trello/tasks/label_collector.go +++ b/backend/plugins/trello/tasks/label_collector.go @@ -19,9 +19,9 @@ package tasks 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 6c6b4303420..ad9a7e48e5b 100644 --- a/backend/plugins/trello/tasks/label_extractor.go +++ b/backend/plugins/trello/tasks/label_extractor.go @@ -19,10 +19,10 @@ package tasks 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 1493a9c1a0a..2588abed187 100644 --- a/backend/plugins/trello/tasks/list_collector.go +++ b/backend/plugins/trello/tasks/list_collector.go @@ -19,9 +19,9 @@ package tasks 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 836c5b1306e..56f4d98ae31 100644 --- a/backend/plugins/trello/tasks/list_extractor.go +++ b/backend/plugins/trello/tasks/list_extractor.go @@ -19,10 +19,10 @@ package tasks 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 48abda6335e..726a9b6d684 100644 --- a/backend/plugins/trello/tasks/member_collector.go +++ b/backend/plugins/trello/tasks/member_collector.go @@ -19,9 +19,9 @@ package tasks 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 f84df3b2217..b0de1de0df6 100644 --- a/backend/plugins/trello/tasks/member_extractor.go +++ b/backend/plugins/trello/tasks/member_extractor.go @@ -19,10 +19,10 @@ package tasks 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 a3e859d093b..c0ad1d72ef7 100644 --- a/backend/plugins/trello/tasks/task_data.go +++ b/backend/plugins/trello/tasks/task_data.go @@ -18,8 +18,8 @@ limitations under the License. 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 d820670064b..2e0a2b33508 100644 --- a/backend/plugins/trello/trello.go +++ b/backend/plugins/trello/trello.go @@ -18,8 +18,8 @@ limitations under the License. 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 6dca8ff2a5b..c869fa19127 100644 --- a/backend/plugins/webhook/api/blueprint_v200.go +++ b/backend/plugins/webhook/api/blueprint_v200.go @@ -20,14 +20,14 @@ package api 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 16f027d30cb..9292d07c5ca 100644 --- a/backend/plugins/webhook/api/connection.go +++ b/backend/plugins/webhook/api/connection.go @@ -23,11 +23,11 @@ import ( "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 b65ca9d0873..b6f95e2ecac 100644 --- a/backend/plugins/webhook/api/deployments.go +++ b/backend/plugins/webhook/api/deployments.go @@ -24,20 +24,20 @@ import ( "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 848dd888cb9..96c5fd8330f 100644 --- a/backend/plugins/webhook/api/init.go +++ b/backend/plugins/webhook/api/init.go @@ -18,11 +18,11 @@ limitations under the License. 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 e280d4c9f8e..ff8721f84a8 100644 --- a/backend/plugins/webhook/api/issues.go +++ b/backend/plugins/webhook/api/issues.go @@ -22,16 +22,16 @@ import ( "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 50fcee5c43a..65741ab1c03 100644 --- a/backend/plugins/webhook/api/pull_requests.go +++ b/backend/plugins/webhook/api/pull_requests.go @@ -22,18 +22,18 @@ import ( "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 97dc59adce5..a4611ac4ce5 100644 --- a/backend/plugins/webhook/impl/impl.go +++ b/backend/plugins/webhook/impl/impl.go @@ -18,14 +18,14 @@ limitations under the License. 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 @@ func (p Webhook) MakeDataSourcePipelinePlanV200( // 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 c9d56b9f6c6..bfc725522e7 100644 --- a/backend/plugins/webhook/models/connection.go +++ b/backend/plugins/webhook/models/connection.go @@ -18,7 +18,7 @@ limitations under the License. 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 74d611d5537..57cfb39af74 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 @@ limitations under the License. package migrationscripts import ( - "github.com/apache/incubator-devlake/core/context" - "github.com/apache/incubator-devlake/core/errors" - "github.com/apache/incubator-devlake/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 c2be2a2ad6f..762820fd655 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 @@ import ( "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 7bb247adfbc..191db56fec5 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 @@ limitations under the License. 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 ee3f1029943..c31cda1ae4a 100644 --- a/backend/plugins/webhook/models/migrationscripts/archived/connection.go +++ b/backend/plugins/webhook/models/migrationscripts/archived/connection.go @@ -18,7 +18,7 @@ limitations under the License. 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 4f3b8a65632..7992c9f536e 100644 --- a/backend/plugins/webhook/models/migrationscripts/register.go +++ b/backend/plugins/webhook/models/migrationscripts/register.go @@ -18,7 +18,7 @@ limitations under the License. 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 53b1ece8785..6152cced0ac 100644 --- a/backend/plugins/webhook/webhook.go +++ b/backend/plugins/webhook/webhook.go @@ -18,7 +18,7 @@ limitations under the License. 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 1da9355d4c8..eae2a8d394f 100644 --- a/backend/plugins/zentao/api/blueprint_v200.go +++ b/backend/plugins/zentao/api/blueprint_v200.go @@ -18,16 +18,16 @@ limitations under the License. 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 f3e17db97df..279add210f5 100644 --- a/backend/plugins/zentao/api/connection_api.go +++ b/backend/plugins/zentao/api/connection_api.go @@ -22,14 +22,14 @@ import ( "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 e73abe3c144..c46db50c648 100644 --- a/backend/plugins/zentao/api/init.go +++ b/backend/plugins/zentao/api/init.go @@ -18,10 +18,10 @@ limitations under the License. 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 53c2091097c..8ee4e11e58c 100644 --- a/backend/plugins/zentao/api/remote_api.go +++ b/backend/plugins/zentao/api/remote_api.go @@ -21,11 +21,11 @@ import ( "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 fbe4a4c9d1b..268cf69b52d 100644 --- a/backend/plugins/zentao/api/scope_api.go +++ b/backend/plugins/zentao/api/scope_api.go @@ -18,10 +18,10 @@ limitations under the License. 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 9ce1a614d40..52206e88f8d 100644 --- a/backend/plugins/zentao/api/scope_config_api.go +++ b/backend/plugins/zentao/api/scope_config_api.go @@ -18,8 +18,8 @@ limitations under the License. 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 7a20fe635ba..db977d2579d 100644 --- a/backend/plugins/zentao/api/scope_state_api.go +++ b/backend/plugins/zentao/api/scope_state_api.go @@ -18,8 +18,8 @@ limitations under the License. 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 a42ad4d6e10..7e6bf1e11c7 100644 --- a/backend/plugins/zentao/e2e/account_test.go +++ b/backend/plugins/zentao/e2e/account_test.go @@ -19,14 +19,14 @@ package e2e 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 0b5ab4b0eda..10f9e59a309 100644 --- a/backend/plugins/zentao/e2e/bug_commits_test.go +++ b/backend/plugins/zentao/e2e/bug_commits_test.go @@ -20,12 +20,12 @@ package e2e 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 4acc3b18cbb..8cc2bd33f98 100644 --- a/backend/plugins/zentao/e2e/bug_test.go +++ b/backend/plugins/zentao/e2e/bug_test.go @@ -20,12 +20,12 @@ package e2e 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 b0d38ed4089..01897099b10 100644 --- a/backend/plugins/zentao/e2e/changelog_test.go +++ b/backend/plugins/zentao/e2e/changelog_test.go @@ -20,15 +20,15 @@ package e2e 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 5b703003a9e..7fbdb9b308f 100644 --- a/backend/plugins/zentao/e2e/check_connection_test.go +++ b/backend/plugins/zentao/e2e/check_connection_test.go @@ -18,11 +18,11 @@ limitations under the License. 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 175e819c759..0162ea14903 100644 --- a/backend/plugins/zentao/e2e/execution_test.go +++ b/backend/plugins/zentao/e2e/execution_test.go @@ -20,12 +20,12 @@ package e2e 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 e3932d42628..565945733d2 100644 --- a/backend/plugins/zentao/e2e/story_commits_test.go +++ b/backend/plugins/zentao/e2e/story_commits_test.go @@ -20,12 +20,12 @@ package e2e 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 ce6b9871973..a9e7bb2f30d 100644 --- a/backend/plugins/zentao/e2e/story_test.go +++ b/backend/plugins/zentao/e2e/story_test.go @@ -20,12 +20,12 @@ package e2e 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 ff85f961ba1..ca6094b325f 100644 --- a/backend/plugins/zentao/e2e/task_commits_test.go +++ b/backend/plugins/zentao/e2e/task_commits_test.go @@ -20,12 +20,12 @@ package e2e 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 2e0ff8f755e..acf252c9583 100644 --- a/backend/plugins/zentao/e2e/task_test.go +++ b/backend/plugins/zentao/e2e/task_test.go @@ -20,12 +20,12 @@ package e2e 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 444a70477c7..e061017fc0d 100644 --- a/backend/plugins/zentao/e2e/task_worklogs_test.go +++ b/backend/plugins/zentao/e2e/task_worklogs_test.go @@ -20,12 +20,12 @@ package e2e 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 2111426b0d5..791472ff138 100644 --- a/backend/plugins/zentao/impl/impl.go +++ b/backend/plugins/zentao/impl/impl.go @@ -20,18 +20,18 @@ package impl 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 @@ func (p Zentao) PrepareTaskData(taskCtx plugin.TaskContext, options map[string]i // 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 f289bb5db42..15585754d1c 100644 --- a/backend/plugins/zentao/models/account.go +++ b/backend/plugins/zentao/models/account.go @@ -18,7 +18,7 @@ limitations under the License. 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 c1db2040883..328a09c48d8 100644 --- a/backend/plugins/zentao/models/bug.go +++ b/backend/plugins/zentao/models/bug.go @@ -22,7 +22,7 @@ import ( "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 3666d03d143..370301555f3 100644 --- a/backend/plugins/zentao/models/bug_commits.go +++ b/backend/plugins/zentao/models/bug_commits.go @@ -18,7 +18,7 @@ limitations under the License. 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 91ea87a8180..cd43ef36e63 100644 --- a/backend/plugins/zentao/models/changelog.go +++ b/backend/plugins/zentao/models/changelog.go @@ -20,7 +20,7 @@ package models 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 949dd36d2b4..bb68d8f4dfb 100644 --- a/backend/plugins/zentao/models/connection.go +++ b/backend/plugins/zentao/models/connection.go @@ -23,9 +23,9 @@ import ( "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 945e6c95984..eb2d8a1eb16 100644 --- a/backend/plugins/zentao/models/department.go +++ b/backend/plugins/zentao/models/department.go @@ -18,7 +18,7 @@ limitations under the License. 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 eee06cd31a6..bd3d7e14bea 100644 --- a/backend/plugins/zentao/models/execution.go +++ b/backend/plugins/zentao/models/execution.go @@ -18,7 +18,7 @@ limitations under the License. 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 82b919c8020..f6eec732ccf 100644 --- a/backend/plugins/zentao/models/execution_stories.go +++ b/backend/plugins/zentao/models/execution_stories.go @@ -18,7 +18,7 @@ limitations under the License. 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 2609697aaa1..579b9c87e67 100644 --- a/backend/plugins/zentao/models/execution_summary.go +++ b/backend/plugins/zentao/models/execution_summary.go @@ -18,7 +18,7 @@ limitations under the License. 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 7845f775cbe..4a3af2df099 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 @@ limitations under the License. package migrationscripts import ( - "github.com/apache/incubator-devlake/core/context" - "github.com/apache/incubator-devlake/core/errors" - "github.com/apache/incubator-devlake/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 38b0f4f4f4f..94e5450f93e 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 @@ limitations under the License. package migrationscripts import ( - "github.com/apache/incubator-devlake/core/context" - "github.com/apache/incubator-devlake/core/errors" - "github.com/apache/incubator-devlake/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 004d665eee2..07795b775e9 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 @@ limitations under the License. package migrationscripts import ( - "github.com/apache/incubator-devlake/core/context" - "github.com/apache/incubator-devlake/core/errors" - "github.com/apache/incubator-devlake/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 1d44e517c80..7933c74cce9 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 @@ limitations under the License. package migrationscripts import ( - "github.com/apache/incubator-devlake/core/context" - "github.com/apache/incubator-devlake/core/errors" - "github.com/apache/incubator-devlake/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 762157a5a56..7bb140e5e24 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 @@ limitations under the License. package migrationscripts import ( - "github.com/apache/incubator-devlake/core/context" - "github.com/apache/incubator-devlake/core/errors" - "github.com/apache/incubator-devlake/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 e291ed77c2e..e726d86e0b2 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 @@ import ( "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 41ac0f69591..b2a464e4035 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 @@ limitations under the License. package migrationscripts import ( - "github.com/apache/incubator-devlake/core/context" - "github.com/apache/incubator-devlake/core/errors" - "github.com/apache/incubator-devlake/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 d7ba64229a2..9ae573d15bd 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 @@ limitations under the License. package migrationscripts import ( - "github.com/apache/incubator-devlake/core/context" - "github.com/apache/incubator-devlake/core/errors" - "github.com/apache/incubator-devlake/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 0b11778a447..6a5660edab5 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 @@ limitations under the License. package migrationscripts import ( - "github.com/apache/incubator-devlake/core/context" - "github.com/apache/incubator-devlake/core/errors" - "github.com/apache/incubator-devlake/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 2a460e287e3..d6b08e05f5f 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 @@ package migrationscripts 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 464e81be4a8..6d907927dfd 100644 --- a/backend/plugins/zentao/models/migrationscripts/archived/account.go +++ b/backend/plugins/zentao/models/migrationscripts/archived/account.go @@ -18,7 +18,7 @@ limitations under the License. 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 750a3ee9768..38681280136 100644 --- a/backend/plugins/zentao/models/migrationscripts/archived/bug.go +++ b/backend/plugins/zentao/models/migrationscripts/archived/bug.go @@ -20,7 +20,7 @@ package archived 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 7bd02afe72f..146edbdd2c8 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 @@ limitations under the License. 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 baaa95d084c..19b3e844b8d 100644 --- a/backend/plugins/zentao/models/migrationscripts/archived/changelog.go +++ b/backend/plugins/zentao/models/migrationscripts/archived/changelog.go @@ -20,7 +20,7 @@ package archived 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 7bee6db349b..5e53d136c64 100644 --- a/backend/plugins/zentao/models/migrationscripts/archived/connection.go +++ b/backend/plugins/zentao/models/migrationscripts/archived/connection.go @@ -18,7 +18,7 @@ limitations under the License. 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 3c35039c7b9..b4902e6e689 100644 --- a/backend/plugins/zentao/models/migrationscripts/archived/department.go +++ b/backend/plugins/zentao/models/migrationscripts/archived/department.go @@ -18,7 +18,7 @@ limitations under the License. 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 46193e0f4ee..36e3e807404 100644 --- a/backend/plugins/zentao/models/migrationscripts/archived/execution.go +++ b/backend/plugins/zentao/models/migrationscripts/archived/execution.go @@ -20,7 +20,7 @@ package archived 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 8b818f0b732..e105076f83c 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 @@ limitations under the License. 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 308085dddaf..d850550233f 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 @@ limitations under the License. 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 67c4cece256..ebb3f0c2a87 100644 --- a/backend/plugins/zentao/models/migrationscripts/archived/product.go +++ b/backend/plugins/zentao/models/migrationscripts/archived/product.go @@ -20,7 +20,7 @@ package archived 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 6b603e94724..99376b37e98 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 @@ limitations under the License. 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 59470a195d9..579172e84ec 100644 --- a/backend/plugins/zentao/models/migrationscripts/archived/project.go +++ b/backend/plugins/zentao/models/migrationscripts/archived/project.go @@ -20,7 +20,7 @@ package archived 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 dbeb77e24e4..7a966dbfaf8 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 @@ limitations under the License. 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 5eb5bb0c9b2..738319d51a8 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 @@ package archived 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 b8ee19a7e91..cf16f8e7f4e 100644 --- a/backend/plugins/zentao/models/migrationscripts/archived/story.go +++ b/backend/plugins/zentao/models/migrationscripts/archived/story.go @@ -20,7 +20,7 @@ package archived 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 e4dc4d10fd9..6f4d3f3d374 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 @@ limitations under the License. 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 1b2f0e2a23f..ae2e6bd6f50 100644 --- a/backend/plugins/zentao/models/migrationscripts/archived/task.go +++ b/backend/plugins/zentao/models/migrationscripts/archived/task.go @@ -20,7 +20,7 @@ package archived 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 198e0fef7f2..960058af675 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 @@ limitations under the License. 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 86fdca66f7a..a04b7da17ec 100644 --- a/backend/plugins/zentao/models/migrationscripts/archived/worklog.go +++ b/backend/plugins/zentao/models/migrationscripts/archived/worklog.go @@ -18,7 +18,7 @@ limitations under the License. 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 8e7dee7bab9..4b5c7a230a7 100644 --- a/backend/plugins/zentao/models/migrationscripts/register.go +++ b/backend/plugins/zentao/models/migrationscripts/register.go @@ -18,7 +18,7 @@ limitations under the License. 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 5569f8a441d..c6e432f1a98 100644 --- a/backend/plugins/zentao/models/product.go +++ b/backend/plugins/zentao/models/product.go @@ -18,7 +18,7 @@ limitations under the License. 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 f448af77b92..a0ec7bb032a 100644 --- a/backend/plugins/zentao/models/product_summary.go +++ b/backend/plugins/zentao/models/product_summary.go @@ -17,7 +17,7 @@ limitations under the License. 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 bc44d1b156a..f68d4be4d8d 100644 --- a/backend/plugins/zentao/models/project.go +++ b/backend/plugins/zentao/models/project.go @@ -25,8 +25,8 @@ import ( "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 79a02f319b2..66756fbf394 100644 --- a/backend/plugins/zentao/models/project_stories.go +++ b/backend/plugins/zentao/models/project_stories.go @@ -18,7 +18,7 @@ limitations under the License. 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 e0e2d0377b8..dd0b0c42580 100644 --- a/backend/plugins/zentao/models/scope_config.go +++ b/backend/plugins/zentao/models/scope_config.go @@ -18,7 +18,7 @@ limitations under the License. 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 192cd2a0f95..e9d8a2c0f02 100644 --- a/backend/plugins/zentao/models/story.go +++ b/backend/plugins/zentao/models/story.go @@ -21,7 +21,7 @@ import ( "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 8a1280c65d9..c8cf0d53133 100644 --- a/backend/plugins/zentao/models/story_commits.go +++ b/backend/plugins/zentao/models/story_commits.go @@ -18,7 +18,7 @@ limitations under the License. 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 c2deff9873e..9d5ef41f951 100644 --- a/backend/plugins/zentao/models/task.go +++ b/backend/plugins/zentao/models/task.go @@ -21,7 +21,7 @@ import ( "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 16434bf9c06..644b8b497ee 100644 --- a/backend/plugins/zentao/models/task_commits.go +++ b/backend/plugins/zentao/models/task_commits.go @@ -18,7 +18,7 @@ limitations under the License. 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 24ec38249ef..908bdd75d40 100644 --- a/backend/plugins/zentao/models/worklog.go +++ b/backend/plugins/zentao/models/worklog.go @@ -18,7 +18,7 @@ limitations under the License. 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 4dafaa0e833..92fd55049bc 100644 --- a/backend/plugins/zentao/tasks/account_collector.go +++ b/backend/plugins/zentao/tasks/account_collector.go @@ -23,9 +23,9 @@ import ( "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 1a07a12dd75..1ce8008f1d2 100644 --- a/backend/plugins/zentao/tasks/account_convertor.go +++ b/backend/plugins/zentao/tasks/account_convertor.go @@ -20,14 +20,14 @@ package tasks 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 653d0a9c53c..d34b3d3b048 100644 --- a/backend/plugins/zentao/tasks/account_extractor.go +++ b/backend/plugins/zentao/tasks/account_extractor.go @@ -20,10 +20,10 @@ package tasks 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 075cdf7e13d..ce8f8c457a7 100644 --- a/backend/plugins/zentao/tasks/api_client.go +++ b/backend/plugins/zentao/tasks/api_client.go @@ -22,10 +22,10 @@ import ( "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 17b56753532..3c4c41b9699 100644 --- a/backend/plugins/zentao/tasks/bug_collector.go +++ b/backend/plugins/zentao/tasks/bug_collector.go @@ -23,9 +23,9 @@ import ( "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 bf2a44116db..d15c09a5a4c 100644 --- a/backend/plugins/zentao/tasks/bug_commits_collector.go +++ b/backend/plugins/zentao/tasks/bug_commits_collector.go @@ -22,12 +22,12 @@ import ( "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 66d17a395ec..42fef837dd6 100644 --- a/backend/plugins/zentao/tasks/bug_commits_extractor.go +++ b/backend/plugins/zentao/tasks/bug_commits_extractor.go @@ -23,10 +23,10 @@ import ( "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 9f23d1129e0..a1af838ffe3 100644 --- a/backend/plugins/zentao/tasks/bug_convertor.go +++ b/backend/plugins/zentao/tasks/bug_convertor.go @@ -21,14 +21,14 @@ import ( "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 d79a7be4959..9fd518b3abb 100644 --- a/backend/plugins/zentao/tasks/bug_extractor.go +++ b/backend/plugins/zentao/tasks/bug_extractor.go @@ -22,12 +22,12 @@ import ( "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 347ad128ac6..6d391147337 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 @@ import ( "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 28434d22b92..bd3ae814e65 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 @@ import ( "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 ea68f4221b1..097466cc9e4 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 @@ import ( "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 4ae6d54033f..3abf89d31be 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 @@ package tasks 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 61d3d1ec5cb..f5ec0f32d18 100644 --- a/backend/plugins/zentao/tasks/changelog_convertor.go +++ b/backend/plugins/zentao/tasks/changelog_convertor.go @@ -22,15 +22,15 @@ import ( "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 aa181ef180c..f1827777d78 100644 --- a/backend/plugins/zentao/tasks/changelog_dbget.go +++ b/backend/plugins/zentao/tasks/changelog_dbget.go @@ -21,11 +21,11 @@ import ( "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 ea6e2a2f37b..7ff738e7edf 100644 --- a/backend/plugins/zentao/tasks/department_collector.go +++ b/backend/plugins/zentao/tasks/department_collector.go @@ -21,9 +21,9 @@ import ( "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 d6cd5ada926..1d877a8164d 100644 --- a/backend/plugins/zentao/tasks/department_extractor.go +++ b/backend/plugins/zentao/tasks/department_extractor.go @@ -20,10 +20,10 @@ package tasks 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 0aa20a9242b..3d2692cf7d8 100644 --- a/backend/plugins/zentao/tasks/execution_collector.go +++ b/backend/plugins/zentao/tasks/execution_collector.go @@ -23,9 +23,9 @@ import ( "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 41d80d3bb97..58f97b5b7fd 100644 --- a/backend/plugins/zentao/tasks/execution_convertor.go +++ b/backend/plugins/zentao/tasks/execution_convertor.go @@ -21,14 +21,14 @@ import ( "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 1b94772d9b5..30ebb9b31d1 100644 --- a/backend/plugins/zentao/tasks/execution_extractor.go +++ b/backend/plugins/zentao/tasks/execution_extractor.go @@ -19,10 +19,10 @@ package tasks 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 3a9057719f4..9c2dcb51f6f 100644 --- a/backend/plugins/zentao/tasks/execution_story_collector.go +++ b/backend/plugins/zentao/tasks/execution_story_collector.go @@ -20,9 +20,9 @@ package tasks 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 01536807aac..0504a2c5240 100644 --- a/backend/plugins/zentao/tasks/execution_story_convertor.go +++ b/backend/plugins/zentao/tasks/execution_story_convertor.go @@ -20,13 +20,13 @@ package tasks 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 843a2d4540c..f5d4df7cfa9 100644 --- a/backend/plugins/zentao/tasks/execution_summary_collector.go +++ b/backend/plugins/zentao/tasks/execution_summary_collector.go @@ -23,9 +23,9 @@ import ( "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 a520d2712f6..6a38ae44668 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 @@ import ( "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 b77ab4f2638..c2ef0f55c3e 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 @@ import ( "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 3aecf9cfadf..723207f1307 100644 --- a/backend/plugins/zentao/tasks/execution_summary_extractor.go +++ b/backend/plugins/zentao/tasks/execution_summary_extractor.go @@ -20,10 +20,10 @@ package tasks 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 b55bfd52538..72c339d471b 100644 --- a/backend/plugins/zentao/tasks/iterator.go +++ b/backend/plugins/zentao/tasks/iterator.go @@ -18,8 +18,8 @@ limitations under the License. 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 b09ef9405fb..2c07709df29 100644 --- a/backend/plugins/zentao/tasks/project_convertor.go +++ b/backend/plugins/zentao/tasks/project_convertor.go @@ -19,14 +19,14 @@ package tasks 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 aa114057324..751093e7d6f 100644 --- a/backend/plugins/zentao/tasks/shared.go +++ b/backend/plugins/zentao/tasks/shared.go @@ -26,11 +26,11 @@ import ( "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 40b077ae4d3..6954bf98cb6 100644 --- a/backend/plugins/zentao/tasks/story_collector.go +++ b/backend/plugins/zentao/tasks/story_collector.go @@ -23,9 +23,9 @@ import ( "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 85404a39f3f..1c9025e7538 100644 --- a/backend/plugins/zentao/tasks/story_commits_collector.go +++ b/backend/plugins/zentao/tasks/story_commits_collector.go @@ -22,12 +22,12 @@ import ( "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 91f1d3fa1ee..0efda752869 100644 --- a/backend/plugins/zentao/tasks/story_commits_extractor.go +++ b/backend/plugins/zentao/tasks/story_commits_extractor.go @@ -23,10 +23,10 @@ import ( "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 6a0bc81046e..624eb7203c7 100644 --- a/backend/plugins/zentao/tasks/story_convertor.go +++ b/backend/plugins/zentao/tasks/story_convertor.go @@ -21,14 +21,14 @@ import ( "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 d09c1935a1f..77a627d0191 100644 --- a/backend/plugins/zentao/tasks/story_extractor.go +++ b/backend/plugins/zentao/tasks/story_extractor.go @@ -21,12 +21,12 @@ import ( "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 865d109a338..ace15f36161 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 @@ import ( "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 9e470c4d0cc..82775a104ea 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 @@ 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/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 a3ee1120cad..9affd43c630 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 @@ import ( "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 a4c35fd0c5f..626f074b9b3 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 @@ package tasks 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 ac0d9d7e6d9..3303490691a 100644 --- a/backend/plugins/zentao/tasks/task_collector.go +++ b/backend/plugins/zentao/tasks/task_collector.go @@ -24,11 +24,11 @@ import ( "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 06c77b43710..824cd97fa8e 100644 --- a/backend/plugins/zentao/tasks/task_collector_test.go +++ b/backend/plugins/zentao/tasks/task_collector_test.go @@ -18,7 +18,7 @@ limitations under the License. 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 219a500fdb3..4301a8234b1 100644 --- a/backend/plugins/zentao/tasks/task_commits_collector.go +++ b/backend/plugins/zentao/tasks/task_commits_collector.go @@ -22,11 +22,11 @@ import ( "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 c2f2bf15771..45f4d856653 100644 --- a/backend/plugins/zentao/tasks/task_commits_extractor.go +++ b/backend/plugins/zentao/tasks/task_commits_extractor.go @@ -23,10 +23,10 @@ import ( "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 88940309786..942f25f5c2a 100644 --- a/backend/plugins/zentao/tasks/task_convertor.go +++ b/backend/plugins/zentao/tasks/task_convertor.go @@ -21,14 +21,14 @@ import ( "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 b1f4d56b103..671348bdf44 100644 --- a/backend/plugins/zentao/tasks/task_data.go +++ b/backend/plugins/zentao/tasks/task_data.go @@ -20,10 +20,10 @@ package tasks 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 77d2af56edc..5fa40960edf 100644 --- a/backend/plugins/zentao/tasks/task_extractor.go +++ b/backend/plugins/zentao/tasks/task_extractor.go @@ -22,12 +22,12 @@ import ( "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 ea0d59f75ba..5623ae15346 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 @@ import ( "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 6f0fb4fe7fd..821a80a3dac 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 @@ 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/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 630d2476e55..56a819e3fc5 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 @@ import ( "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 40de4fd5732..cfcb8545270 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 @@ package tasks 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 4bf6102885e..ddd817e40ce 100644 --- a/backend/plugins/zentao/tasks/task_worklog_collector.go +++ b/backend/plugins/zentao/tasks/task_worklog_collector.go @@ -23,11 +23,11 @@ import ( "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 9fea703b55e..e023560ce84 100644 --- a/backend/plugins/zentao/tasks/task_worklog_convertor.go +++ b/backend/plugins/zentao/tasks/task_worklog_convertor.go @@ -20,15 +20,15 @@ package tasks 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 928890675c1..53558ae1e67 100644 --- a/backend/plugins/zentao/tasks/task_worklog_extractor.go +++ b/backend/plugins/zentao/tasks/task_worklog_extractor.go @@ -19,10 +19,10 @@ package tasks 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 fb1713c8274..e6ed59333fd 100644 --- a/backend/plugins/zentao/zentao.go +++ b/backend/plugins/zentao/zentao.go @@ -18,8 +18,8 @@ limitations under the License. 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 3873e526333..17bf0cee7b3 100644 --- a/backend/python/README.md +++ b/backend/python/README.md @@ -258,7 +258,7 @@ you write migration code for them. Important: When you write a migration for a c 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 @@ Most of the time, you will convert a tool model into a single domain model, but 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 4944ac1ddb6..b390185c3f0 100755 --- a/backend/scripts/build-server.sh +++ b/backend/scripts/build-server.sh @@ -27,4 +27,4 @@ if [ -n "$DEVLAKE_DEBUG" ]; then 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 4c880ec9c50..3116e59429e 100644 --- a/backend/server/api/api.go +++ b/backend/server/api/api.go @@ -31,16 +31,16 @@ import ( 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 4c24967ea1a..84a45ef0401 100644 --- a/backend/server/api/apikeys/apikeys.go +++ b/backend/server/api/apikeys/apikeys.go @@ -21,11 +21,11 @@ import ( "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 aead556a5bc..7eac2b73b86 100644 --- a/backend/server/api/auth/auth.go +++ b/backend/server/api/auth/auth.go @@ -39,12 +39,12 @@ import ( "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 3dcaf7421e6..c418865f41b 100644 --- a/backend/server/api/auth/cleanup.go +++ b/backend/server/api/auth/cleanup.go @@ -21,8 +21,8 @@ import ( "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 7067fa97876..1a279ce5fbb 100644 --- a/backend/server/api/auth/handlers_test.go +++ b/backend/server/api/auth/handlers_test.go @@ -35,10 +35,10 @@ import ( "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 231f4d5460c..e90805671ba 100644 --- a/backend/server/api/auth/middleware.go +++ b/backend/server/api/auth/middleware.go @@ -24,9 +24,9 @@ import ( "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 b704d1bb4b9..cd6e70f8c10 100644 --- a/backend/server/api/auth/revocation_cache.go +++ b/backend/server/api/auth/revocation_cache.go @@ -22,8 +22,8 @@ import ( "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 751624e82df..69a135162ef 100644 --- a/backend/server/api/auth/store.go +++ b/backend/server/api/auth/store.go @@ -20,8 +20,8 @@ package auth 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 841027424cc..be26953e149 100644 --- a/backend/server/api/blueprints/blueprints.go +++ b/backend/server/api/blueprints/blueprints.go @@ -21,10 +21,10 @@ import ( "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 ae42166bb21..26b8f80e1e5 100644 --- a/backend/server/api/domainlayer/repos.go +++ b/backend/server/api/domainlayer/repos.go @@ -18,9 +18,9 @@ limitations under the License. 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 e1609b1ec6a..567e3a9f41f 100644 --- a/backend/server/api/middlewares.go +++ b/backend/server/api/middlewares.go @@ -26,14 +26,14 @@ import ( "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 b5e13ed8391..4b390aa526a 100644 --- a/backend/server/api/middlewares_forwardsecret_test.go +++ b/backend/server/api/middlewares_forwardsecret_test.go @@ -26,12 +26,12 @@ import ( "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 41d421b6529..a1482397517 100644 --- a/backend/server/api/middlewares_rest_auth_test.go +++ b/backend/server/api/middlewares_rest_auth_test.go @@ -22,14 +22,14 @@ import ( "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 bb6d1f26824..e9a386d71a1 100644 --- a/backend/server/api/middlewares_test.go +++ b/backend/server/api/middlewares_test.go @@ -23,9 +23,9 @@ import ( "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 4da7652a9c6..b0b35b75642 100644 --- a/backend/server/api/ping/ping.go +++ b/backend/server/api/ping/ping.go @@ -20,8 +20,8 @@ package ping 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 af533bab8aa..721866fc33e 100644 --- a/backend/server/api/pipelines/pipelines.go +++ b/backend/server/api/pipelines/pipelines.go @@ -18,10 +18,10 @@ limitations under the License. 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 8f754bec110..de32fbc9476 100644 --- a/backend/server/api/plugininfo/plugininifo.go +++ b/backend/server/api/plugininfo/plugininifo.go @@ -19,12 +19,12 @@ package plugininfo 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 e826c71d170..71b7c419b22 100644 --- a/backend/server/api/project/project.go +++ b/backend/server/api/project/project.go @@ -20,10 +20,10 @@ package project 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 77e7191c72d..15b501bd22b 100644 --- a/backend/server/api/push/push.go +++ b/backend/server/api/push/push.go @@ -19,9 +19,9 @@ package push 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 a26e6b4a454..a6d4562468d 100644 --- a/backend/server/api/router.go +++ b/backend/server/api/router.go @@ -22,23 +22,23 @@ import ( "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/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/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/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 27e114d8cbc..cf724d8a9f4 100644 --- a/backend/server/api/shared/api_output.go +++ b/backend/server/api/shared/api_output.go @@ -20,9 +20,9 @@ package shared 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 c15d0a73019..447b65fa4df 100644 --- a/backend/server/api/shared/gin_utils.go +++ b/backend/server/api/shared/gin_utils.go @@ -21,7 +21,7 @@ import ( "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 14e78dc0753..38d66147c11 100644 --- a/backend/server/api/store/store.go +++ b/backend/server/api/store/store.go @@ -21,10 +21,10 @@ import ( "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 594e9d6c327..883367e0c29 100644 --- a/backend/server/api/task/task.go +++ b/backend/server/api/task/task.go @@ -21,10 +21,10 @@ import ( "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 56ff56e1d6a..254220b359c 100644 --- a/backend/server/api/version/version.go +++ b/backend/server/api/version/version.go @@ -18,7 +18,7 @@ limitations under the License. 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 664eaf0b8f7..7a52c6597fa 100644 --- a/backend/server/main.go +++ b/backend/server/main.go @@ -18,10 +18,10 @@ limitations under the License. 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 f1a49905772..76619c99170 100644 --- a/backend/server/services/apikeys.go +++ b/backend/server/services/apikeys.go @@ -18,11 +18,11 @@ limitations under the License. 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 98727748bec..64bab6ef5dd 100644 --- a/backend/server/services/base.go +++ b/backend/server/services/base.go @@ -18,7 +18,7 @@ limitations under the License. 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 2fb05c3b718..9f78f576037 100644 --- a/backend/server/services/blueprint.go +++ b/backend/server/services/blueprint.go @@ -23,13 +23,13 @@ import ( "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 c7c5aaaaaa0..e1cf9b228e9 100644 --- a/backend/server/services/blueprint_makeplan_v200.go +++ b/backend/server/services/blueprint_makeplan_v200.go @@ -22,9 +22,9 @@ import ( "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 cfd2f49e37d..161f95ed91e 100644 --- a/backend/server/services/blueprint_makeplan_v200_test.go +++ b/backend/server/services/blueprint_makeplan_v200_test.go @@ -21,13 +21,13 @@ import ( "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 @@ func TestMakePlanV200(t *testing.T) { } 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 f0a607047cd..d5f80ae0f25 100644 --- a/backend/server/services/blueprint_test.go +++ b/backend/server/services/blueprint_test.go @@ -20,7 +20,7 @@ package services 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 4fa4cda934f..f643b47e367 100644 --- a/backend/server/services/dm_code.go +++ b/backend/server/services/dm_code.go @@ -18,9 +18,9 @@ limitations under the License. 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 a4eb334c241..9bad7685a76 100644 --- a/backend/server/services/init.go +++ b/backend/server/services/init.go @@ -21,15 +21,15 @@ import ( "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 f663b0c62ff..b729910cc4e 100644 --- a/backend/server/services/locking.go +++ b/backend/server/services/locking.go @@ -22,10 +22,10 @@ import ( "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 f998f360566..bc7b6f9ceb0 100644 --- a/backend/server/services/pipeline.go +++ b/backend/server/services/pipeline.go @@ -31,13 +31,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" - "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 d7da0c3070e..f3ac38671b2 100644 --- a/backend/server/services/pipeline_helper.go +++ b/backend/server/services/pipeline_helper.go @@ -22,10 +22,10 @@ import ( "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 5370abc3400..41541ef2274 100644 --- a/backend/server/services/pipeline_notification.go +++ b/backend/server/services/pipeline_notification.go @@ -18,7 +18,7 @@ limitations under the License. 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 2a4a096a59e..388e9dfa8cc 100644 --- a/backend/server/services/pipeline_notification_impl.go +++ b/backend/server/services/pipeline_notification_impl.go @@ -22,9 +22,9 @@ import ( "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 8f7fcd24157..578ea097683 100644 --- a/backend/server/services/pipeline_runner.go +++ b/backend/server/services/pipeline_runner.go @@ -20,12 +20,12 @@ package services 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 72c0f799931..4bcc348a709 100644 --- a/backend/server/services/pluginapi.go +++ b/backend/server/services/pluginapi.go @@ -18,8 +18,8 @@ limitations under the License. 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 c799bc8c19e..2c2cb47f50f 100644 --- a/backend/server/services/probes.go +++ b/backend/server/services/probes.go @@ -20,9 +20,9 @@ package services 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 a1b92b03ae4..3fb8d4f0599 100644 --- a/backend/server/services/project.go +++ b/backend/server/services/project.go @@ -24,11 +24,11 @@ import ( "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 7882b0aa1a4..5d9b9cf69cc 100644 --- a/backend/server/services/pushapi.go +++ b/backend/server/services/pushapi.go @@ -18,9 +18,9 @@ limitations under the License. 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 40f213be127..7cfc32c9171 100644 --- a/backend/server/services/pushapiaccess/access.go +++ b/backend/server/services/pushapiaccess/access.go @@ -21,7 +21,7 @@ import ( "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 727ef7e2ca6..825eef4ef0f 100644 --- a/backend/server/services/remote/bridge/bridge.go +++ b/backend/server/services/remote/bridge/bridge.go @@ -18,9 +18,9 @@ limitations under the License. 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 1f47f943262..2a3c9e5f696 100644 --- a/backend/server/services/remote/bridge/cmd.go +++ b/backend/server/services/remote/bridge/cmd.go @@ -23,10 +23,10 @@ import ( "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 08393dd465d..6bc33d7d5bb 100644 --- a/backend/server/services/remote/bridge/context.go +++ b/backend/server/services/remote/bridge/context.go @@ -20,12 +20,12 @@ package bridge 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 44eed2c0cf4..353fdeed2b3 100644 --- a/backend/server/services/remote/bridge/returns.go +++ b/backend/server/services/remote/bridge/returns.go @@ -20,7 +20,7 @@ package bridge 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 5005b3cbcf5..69a6e1ae6f2 100644 --- a/backend/server/services/remote/init.go +++ b/backend/server/services/remote/init.go @@ -20,11 +20,11 @@ package remote 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 7c44a1b9dc5..2aa62578927 100644 --- a/backend/server/services/remote/models/conversion.go +++ b/backend/server/services/remote/models/conversion.go @@ -24,11 +24,11 @@ import ( "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 232c89ba749..848d5f1880a 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 @@ import ( "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 2dccb7b234a..077635d7539 100644 --- a/backend/server/services/remote/models/migration.go +++ b/backend/server/services/remote/models/migration.go @@ -20,13 +20,13 @@ package models 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 aaeb1d0ad6b..08a87b19f53 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 @@ package azuredevops 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 d02cb10b00f..019ef82f726 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 @@ limitations under the License. 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 03f727860ca..77f1b83e0be 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 @@ package azuredevops 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 454ae4b2046..a686c8dc7c4 100644 --- a/backend/server/services/remote/models/migrationscripts/register.go +++ b/backend/server/services/remote/models/migrationscripts/register.go @@ -18,8 +18,8 @@ limitations under the License. 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 58cd39ce5d9..ae6f06b0d4d 100644 --- a/backend/server/services/remote/models/models.go +++ b/backend/server/services/remote/models/models.go @@ -20,10 +20,10 @@ package models 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 98828363053..6ea3f221df0 100644 --- a/backend/server/services/remote/models/plugin_remote.go +++ b/backend/server/services/remote/models/plugin_remote.go @@ -18,7 +18,7 @@ limitations under the License. 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 38c832ee7ce..16f4d8dd2d6 100644 --- a/backend/server/services/remote/plugin/connection_api.go +++ b/backend/server/services/remote/plugin/connection_api.go @@ -22,10 +22,10 @@ import ( "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 83ead132798..ab9f9a4406c 100644 --- a/backend/server/services/remote/plugin/default_api.go +++ b/backend/server/services/remote/plugin/default_api.go @@ -18,11 +18,11 @@ limitations under the License. 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 8a754f91708..d3ad0a04e6a 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 @@ import ( "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 12a2fa9a8a2..6040b6eba04 100644 --- a/backend/server/services/remote/plugin/init.go +++ b/backend/server/services/remote/plugin/init.go @@ -18,10 +18,10 @@ limitations under the License. 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 5f1f4612cc4..74d8750deda 100644 --- a/backend/server/services/remote/plugin/plugin_extensions.go +++ b/backend/server/services/remote/plugin/plugin_extensions.go @@ -20,11 +20,11 @@ package plugin 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 2c4b4a4daaa..1cf768305d3 100644 --- a/backend/server/services/remote/plugin/plugin_impl.go +++ b/backend/server/services/remote/plugin/plugin_impl.go @@ -20,16 +20,16 @@ package plugin 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 @@ func (p *remotePluginImpl) RootPkgPath() string { // 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 200449b38bb..b8f8c7d4278 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 @@ limitations under the License. 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 78c36f33cb4..03accce58bd 100644 --- a/backend/server/services/remote/plugin/scope_api.go +++ b/backend/server/services/remote/plugin/scope_api.go @@ -22,12 +22,12 @@ import ( "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 f3a54fd015d..c4aced3ef80 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 @@ import ( "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 5e19f08269e..e2091c21620 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 @@ import ( "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 d9b2c63eb34..893b67815e1 100644 --- a/backend/server/services/remote/run/run.go +++ b/backend/server/services/remote/run/run.go @@ -21,10 +21,10 @@ import ( "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 5b4e250c281..47736013b4f 100644 --- a/backend/server/services/store.go +++ b/backend/server/services/store.go @@ -20,9 +20,9 @@ package services 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 a416d88be72..803a30a82a8 100644 --- a/backend/server/services/task.go +++ b/backend/server/services/task.go @@ -23,11 +23,11 @@ import ( "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 e9706c6e962..25f2f0ab232 100644 --- a/backend/server/services/task_runner.go +++ b/backend/server/services/task_runner.go @@ -20,11 +20,11 @@ package services 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 1fea1cf26fb..964e22bf4da 100644 --- a/backend/test/e2e/manual/Readme.md +++ b/backend/test/e2e/manual/Readme.md @@ -46,7 +46,7 @@ In `azure_local_test.go` (or any git-ignorable file) you write your setup. ```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 67bc8bfa3a2..4de6e41dee3 100644 --- a/backend/test/e2e/manual/argocd/argocd_test.go +++ b/backend/test/e2e/manual/argocd/argocd_test.go @@ -21,14 +21,14 @@ import ( "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 d24c94c4e53..d3cc2b1d292 100644 --- a/backend/test/e2e/manual/azuredevops/azure_test.go +++ b/backend/test/e2e/manual/azuredevops/azure_test.go @@ -24,13 +24,13 @@ import ( "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 e9b83dac9e9..87c198a560f 100644 --- a/backend/test/e2e/manual/azuredevops/models.go +++ b/backend/test/e2e/manual/azuredevops/models.go @@ -18,7 +18,7 @@ limitations under the License. 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 2b8b5abb67a..08178799b28 100644 --- a/backend/test/e2e/manual/gitlab/gitlab_test.go +++ b/backend/test/e2e/manual/gitlab/gitlab_test.go @@ -22,15 +22,15 @@ import ( "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 c0dfc50d77b..a30318c8194 100644 --- a/backend/test/e2e/manual/pagerduty/pagerduty_test.go +++ b/backend/test/e2e/manual/pagerduty/pagerduty_test.go @@ -23,13 +23,13 @@ import ( "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 bc3653dc00b..a0cd7fac09a 100644 --- a/backend/test/e2e/manual/testmo/testmo_test.go +++ b/backend/test/e2e/manual/testmo/testmo_test.go @@ -22,13 +22,13 @@ import ( "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 e94f6a4a399..c35d8ed0cc6 100644 --- a/backend/test/e2e/remote/helper.go +++ b/backend/test/e2e/remote/helper.go @@ -25,14 +25,14 @@ import ( "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 8dd9c29fce8..33f80b2ee43 100644 --- a/backend/test/e2e/remote/python_plugin_test.go +++ b/backend/test/e2e/remote/python_plugin_test.go @@ -21,9 +21,9 @@ import ( "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 e8a5f66ec4c..12a916eb142 100644 --- a/backend/test/e2e/services/pipeline_runner_test.go +++ b/backend/test/e2e/services/pipeline_runner_test.go @@ -21,10 +21,10 @@ import ( "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 b8565136df9..0d0eaf3a823 100644 --- a/backend/test/e2e/services/server_startup_test.go +++ b/backend/test/e2e/services/server_startup_test.go @@ -20,36 +20,36 @@ package services 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 e07c89d4be2..f7e5a95180a 100644 --- a/backend/test/helper/api.go +++ b/backend/test/helper/api.go @@ -24,13 +24,13 @@ import ( "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 6cf2da3e3bc..39777ae44bf 100644 --- a/backend/test/helper/bootstrap.go +++ b/backend/test/helper/bootstrap.go @@ -18,10 +18,10 @@ limitations under the License. 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 8e39d6f5b01..750b453b635 100644 --- a/backend/test/helper/client.go +++ b/backend/test/helper/client.go @@ -32,23 +32,23 @@ import ( "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 cbd58dc149b..ae140a38572 100644 --- a/backend/test/helper/client_factory.go +++ b/backend/test/helper/client_factory.go @@ -18,8 +18,8 @@ limitations under the License. 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 9cbe2356940..9c55f22e08d 100644 --- a/backend/test/helper/db_selector.go +++ b/backend/test/helper/db_selector.go @@ -21,7 +21,7 @@ import ( "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 8d8559ac651..390ce4031fa 100644 --- a/backend/test/helper/init.go +++ b/backend/test/helper/init.go @@ -18,7 +18,7 @@ limitations under the License. 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 8e0bbbc1058..83dfc45690b 100644 --- a/backend/test/helper/models.go +++ b/backend/test/helper/models.go @@ -20,10 +20,10 @@ package helper 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 f1e22882555..3fc0c8b65fa 100644 --- a/backend/test/helper/utils.go +++ b/backend/test/helper/utils.go @@ -26,7 +26,7 @@ import ( "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 cb60aef7440..5003dd3ca19 100644 --- a/backend/test/init.go +++ b/backend/test/init.go @@ -18,8 +18,8 @@ limitations under the License. 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 00000000000..8f177f88ff2 --- /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 0fbaec84ed8..90610841966 100644 --- a/config-ui/index.html +++ b/config-ui/index.html @@ -16,15 +16,15 @@ --> diff --git a/config-ui/src/plugins/register/claude-code/config.tsx b/config-ui/src/plugins/register/claude-code/config.tsx index 2c97200aee6..f37a9aaba75 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 @@ export const ClaudeCodeConfig: IPluginConfig = { 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 5382b0f0d6f..c12696ca9ed 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 @@ export const GhCopilotConfig: IPluginConfig = { 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 27574d6e7a9..32f51167723 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 @@ const general = [ { 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 97b16d46653..042c3234ae1 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 @@ const gitextractor = [ { 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 ef265e1f5f2..cd6925720d1 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 @@ const github = [ { 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 9e02bf64ce5..fa48c378337 100644 --- a/config-ui/src/routes/error/index.tsx +++ b/config-ui/src/routes/error/index.tsx @@ -48,7 +48,7 @@ export const Error = () => {