This is an automated email from the ASF dual-hosted git repository.
klesh pushed a change to branch feat-gitlab-tx-inc
in repository https://gitbox.apache.org/repos/asf/incubator-devlake.git
from 6c144fae9 fix: gitlab issue assignees are not being converted
add c61e91280 refactor: remove content about ahooks (#8031)
add b80340bf3 feat(plugins): restranformate without api client (#8034)
add c7df6c831 feat(azuredevops): restranformate without api client (#8035)
(#8039)
add 6b21f49e4 feat(framwork): add custom project service (#8041)
add 92d3d0f22 fix(project): update project's default sync policy (#8044)
add 5da519b55 feat: adjust some content for github app (#8036)
add 545e745e4 chore: use weekly to replace daily collect in blueprint
(#8037)
add a829b29d2 fix: updating jira storypoint field should refresh all
records (#8048)
add 058a951ce fix: some small adjustments (#8050)
add f0ad6f5bb fix(framework): fix finished_record count in
_devlake_subtasks (#8054)
add 65e6256c6 fix(utils): add new function
ApiOutputAdvancedErrorWithCustomCode (#8063)
add 9c1152aad fix: increase cq_issuescomponent length to text (#8068)
add aa0118806 feat: add deployment URL mapping to webhook plugin (#8000)
add b5bdc25fb fix: error encode operate when updating project name (#8073)
add ee21e3e3e fix: incomplete historical pipelines (#8072)
add 3ad9839fa feat: improve the pipeline duration display (#8071)
add b3633555d fix: graphql collector fails on transferred issues (#8075)
add 6f0e0dbb4 fix(migration): panic when `ExecuteMigration` fails (#8070)
add f8c3a4688 fix: typo (#8074)
add d69f95c4d fix: data scope doesn't display name when selecting in
project (#8077)
add a62059516 fix: dispaly < 1m when duration less than 1m (#8078)
add 230e1f5db fix: set status to done when onboard tour close (#8079)
add cef7f773f fix(project): project cannot be deleted when its pipelines
are not finished (#8081)
add e524ea74d fix: the start and end times are reversed (#8084)
add 8949c4f79 fix: version tag (#8083)
add 1c99dbc90 Update error message (#8086)
add 0ca6acf09 fix: add a space for pipeline duration (#8089)
add bcc3c5f21 fix(github-plugin): removes the processed org check to
return all the org repos, and pulls the repository data when adding scope
(#8088)
add 3367db446 refactor: CollectAccounts now uses simple ApiCollector
(#8067)
add 9251c42a7 feat: use redux rewrite project detail (#8095)
add f3b134bee Add missing URL (#8097)
add 323b98e66 feat: improve performance of the
listing-scope-config-projects-and-scopes (#8104)
add fb0dd2e87 feat: dora config (#8103)
add 2c54c14fe Merge remote-tracking branch 'origin/main' into
feat-gitlab-tx-inc
No new revisions were added by this update.
Summary of changes:
Makefile | 4 +-
backend/Makefile | 5 +-
.../models/domainlayer/codequality/cq_issues.go | 2 +-
.../core/models/domainlayer/devops/cicd_task.go | 10 +
...20240919_increase_cq_issue_component_length.go} | 17 +-
backend/core/models/migrationscripts/register.go | 1 +
backend/core/models/task.go | 5 +-
backend/core/runner/run_task.go | 20 +-
.../helpers/pluginhelper/api/enrich_with_regex.go | 53 +-
.../helpers/pluginhelper/api/graphql_collector.go | 7 +-
backend/helpers/pluginhelper/api/pagenation.go | 24 +
.../srvhelper/scope_config_service_helper.go | 102 ++-
backend/plugins/ae/impl/impl.go | 11 +-
backend/plugins/azuredevops_go/impl/impl.go | 11 +-
backend/plugins/bamboo/api/connection_api.go | 127 ++++
backend/plugins/bamboo/e2e/deploy_build_test.go | 12 +-
backend/plugins/bamboo/e2e/job_build_test.go | 11 +-
backend/plugins/bamboo/e2e/job_test.go | 7 +-
.../plugins/bamboo/e2e/plan_build_commits_test.go | 9 +-
backend/plugins/bamboo/e2e/plan_build_test.go | 12 +-
.../e2e/snapshot_tables/cicd_deployments.csv | 28 +-
backend/plugins/bamboo/impl/impl.go | 46 +-
.../20240906_add_env_name_list_to_scope_config.go} | 24 +-
.../bamboo/models/migrationscripts/register.go | 1 +
backend/plugins/bamboo/models/scope_config.go | 5 +-
.../deploy_build_to_deployment_commit_convertor.go | 6 +-
.../tasks/deploy_build_to_deployment_convertor.go | 2 +-
.../plugins/bamboo/tasks/job_build_extractor.go | 6 +-
.../plugins/bamboo/tasks/plan_build_convertor.go | 2 +-
.../plugins/bamboo/tasks/plan_build_extractor.go | 9 +-
.../plugins/bamboo/tasks/plan_commit_convertor.go | 4 +-
backend/plugins/bamboo/tasks/plan_convertor.go | 5 +-
backend/plugins/bamboo/tasks/shared.go | 2 +-
backend/plugins/bamboo/tasks/shared_test.go | 2 +-
backend/plugins/bamboo/tasks/task_data.go | 1 +
backend/plugins/bitbucket/api/blueprint_v200.go | 8 +-
backend/plugins/bitbucket/api/connection_api.go | 98 +++
backend/plugins/bitbucket/e2e/deployments_test.go | 7 +-
.../plugins/bitbucket/e2e/pipeline_steps_test.go | 8 +-
backend/plugins/bitbucket/e2e/pipelines_test.go | 8 +-
backend/plugins/bitbucket/impl/impl.go | 63 +-
backend/plugins/bitbucket/models/scope_config.go | 4 +-
.../plugins/bitbucket/tasks/pipeline_extractor.go | 6 +-
.../bitbucket/tasks/pipeline_steps_extractor.go | 6 +-
.../plugins/bitbucket_server/api/blueprint_v200.go | 12 +-
backend/plugins/bitbucket_server/impl/impl.go | 48 +-
backend/plugins/circleci/api/connection_api.go | 96 +++
backend/plugins/circleci/e2e/job_test.go | 7 +-
backend/plugins/circleci/e2e/workflow_test.go | 7 +-
backend/plugins/circleci/impl/impl.go | 15 +-
backend/plugins/circleci/models/scope_config.go | 4 +-
backend/plugins/circleci/tasks/job_converter.go | 6 +-
.../plugins/circleci/tasks/workflow_converter.go | 6 +-
backend/plugins/feishu/impl/impl.go | 11 +-
backend/plugins/gitee/impl/impl.go | 11 +-
backend/plugins/github/api/connection_api.go | 123 ++++
backend/plugins/github/api/remote_api.go | 13 +-
backend/plugins/github/e2e/cicd_job_test.go | 6 +
backend/plugins/github/e2e/cicd_run_test.go | 6 +
backend/plugins/github/impl/impl.go | 29 +-
.../20240906_add_env_name_list_to_scope_config.go} | 24 +-
.../github/models/migrationscripts/register.go | 1 +
backend/plugins/github/models/scope_config.go | 5 +-
backend/plugins/github/tasks/cicd_job_extractor.go | 7 +-
backend/plugins/github/tasks/cicd_run_extractor.go | 6 +-
backend/plugins/github_graphql/impl/impl.go | 25 +-
.../github_graphql/tasks/deployment_convertor.go | 3 +-
.../plugins/github_graphql/tasks/job_extractor.go | 6 +-
backend/plugins/gitlab/api/connection_api.go | 124 ++++
backend/plugins/gitlab/e2e/job_test.go | 7 +-
backend/plugins/gitlab/impl/impl.go | 29 +-
.../20240906_add_env_name_list_to_scope_config.go} | 24 +-
.../gitlab/models/migrationscripts/register.go | 1 +
backend/plugins/gitlab/models/scope_config.go | 5 +-
.../plugins/gitlab/tasks/deployment_convertor.go | 2 +-
backend/plugins/gitlab/tasks/job_convertor.go | 7 +-
.../gitlab/tasks/pipeline_detail_extractor.go | 6 +-
backend/plugins/icla/impl/impl.go | 11 +-
backend/plugins/jenkins/api/blueprint_v200.go | 12 +-
backend/plugins/jenkins/api/connection_api.go | 96 +++
backend/plugins/jenkins/e2e/builds_test.go | 2 +-
.../cicd_pipeline_commits_multibranch.csv | 26 +-
.../jenkins/e2e/snapshot_tables/cicd_pipelines.csv | 26 +-
.../snapshot_tables/cicd_pipelines_multibranch.csv | 32 +-
.../jenkins/e2e/snapshot_tables/cicd_tasks.csv | 24 +-
.../snapshot_tables/cicd_tasks_after_stages.csv | 4 +-
.../cicd_tasks_after_stages_no_prod_regex.csv | 28 +-
.../e2e/snapshot_tables/cicd_tasks_multibranch.csv | 6 +-
.../snapshot_tables/cicd_tasks_no_prod_regex.csv | 24 +-
backend/plugins/jenkins/e2e/stages_test.go | 1 +
backend/plugins/jenkins/impl/impl.go | 61 +-
backend/plugins/jenkins/models/build.go | 20 +-
.../20240911_add_url_for_builds.go} | 24 +-
.../jenkins/models/migrationscripts/register.go | 1 +
backend/plugins/jenkins/models/response.go | 1 +
backend/plugins/jenkins/models/scope_config.go | 4 +-
.../plugins/jenkins/tasks/build_cicd_convertor.go | 12 +-
backend/plugins/jenkins/tasks/build_collector.go | 2 +-
backend/plugins/jenkins/tasks/build_extractor.go | 1 +
backend/plugins/jenkins/tasks/stage_convertor.go | 6 +-
backend/plugins/jira/api/blueprint_v200.go | 12 +-
backend/plugins/jira/e2e/changelog_test.go | 1 +
.../plugins/jira/e2e/issue_relationship_test.go | 1 +
.../snapshot_tables/_tool_jira_server_infos.csv | 2 +
backend/plugins/jira/impl/impl.go | 59 +-
...=> 20240910_add_table_tool_jira_server_info.go} | 16 +-
.../migrationscripts/archived/jira_server_info.go} | 26 +-
.../jira/models/migrationscripts/register.go | 1 +
backend/plugins/jira/models/response_type.go | 7 +-
backend/plugins/jira/tasks/account_collector.go | 7 +-
backend/plugins/jira/tasks/epic_collector.go | 14 +-
.../jira/tasks/issue_changelog_collector.go | 10 +-
.../jira/tasks/issue_changelog_extractor.go | 8 +-
backend/plugins/jira/tasks/issue_collector.go | 7 +-
.../plugins/jira/tasks/issue_comment_collector.go | 7 +-
.../plugins/jira/tasks/issue_comment_extractor.go | 7 +-
backend/plugins/jira/tasks/issue_extractor.go | 5 +-
backend/plugins/jira/tasks/issue_type_collector.go | 7 +-
backend/plugins/jira/tasks/shared.go | 36 ++
backend/plugins/jira/tasks/sprint_extractor.go | 9 +-
backend/plugins/jira/tasks/task_data.go | 2 +-
backend/plugins/opsgenie/impl/impl.go | 21 +-
backend/plugins/pagerduty/impl/impl.go | 21 +-
backend/plugins/slack/impl/impl.go | 11 +-
backend/plugins/sonarqube/api/blueprint_v200.go | 12 +-
backend/plugins/sonarqube/impl/impl.go | 40 +-
.../plugins/sonarqube/tasks/accounts_collector.go | 11 +-
backend/plugins/tapd/impl/impl.go | 13 +-
backend/plugins/teambition/impl/impl.go | 11 +-
backend/plugins/trello/impl/impl.go | 11 +-
backend/plugins/webhook/api/deployments.go | 2 +
backend/plugins/zentao/e2e/account_test.go | 7 +-
backend/plugins/zentao/e2e/bug_commits_test.go | 3 +-
backend/plugins/zentao/e2e/bug_test.go | 1 +
backend/plugins/zentao/e2e/changelog_test.go | 9 +-
backend/plugins/zentao/e2e/execution_test.go | 3 +-
backend/plugins/zentao/e2e/story_commits_test.go | 3 +-
backend/plugins/zentao/e2e/story_test.go | 1 +
backend/plugins/zentao/e2e/task_commits_test.go | 3 +-
backend/plugins/zentao/e2e/task_test.go | 1 +
backend/plugins/zentao/impl/impl.go | 79 ++-
.../zentao/impl/impl_test.go} | 54 +-
.../plugins/zentao/tasks/execution_convertor.go | 9 +-
backend/plugins/zentao/tasks/project_convertor.go | 8 +-
backend/plugins/zentao/tasks/shared.go | 16 -
backend/plugins/zentao/tasks/shared_test.go | 43 --
backend/plugins/zentao/tasks/task_data.go | 1 +
backend/python/pydevlake/pydevlake/ipc.py | 4 +-
backend/python/pydevlake/pydevlake/plugin.py | 50 +-
backend/python/pydevlake/pydevlake/stream.py | 4 +
.../python/pydevlake/pydevlake/testing/testing.py | 20 +-
backend/server/api/api.go | 16 +-
backend/server/api/shared/api_output.go | 22 +
backend/server/services/blueprint.go | 7 +
backend/server/services/init.go | 12 +-
backend/server/services/project.go | 48 +-
.../services/remote/plugin/connection_api.go | 89 ++-
.../server/services/remote/plugin/default_api.go | 3 +
.../services/remote/plugin/plugin_extensions.go | 2 +-
config-ui/Dockerfile | 1 +
config-ui/package.json | 9 +-
config-ui/src/api/blueprint/index.ts | 2 +-
config-ui/src/api/project/index.ts | 5 +-
config-ui/src/api/scope-config/index.ts | 18 +-
config-ui/src/api/scope-config/types.ts | 5 +
config-ui/src/app/store.ts | 2 +
.../src/components/action/icon-button/index.tsx | 2 +-
config-ui/src/components/index.ts | 1 +
.../components/{tip-layout => show-more}/index.tsx | 31 +-
.../src/features/{onboard => project}/index.ts | 0
.../src/features/{version => project}/slice.ts | 42 +-
config-ui/src/index.css | 5 +
.../components/check-matched-items/index.tsx | 115 ++++
.../components/connection-form/fields/endpoint.tsx | 2 +-
.../components/data-scope-remote/search-local.tsx | 141 +++--
.../components/data-scope-remote/search-remote.tsx | 10 +-
.../plugins/components/data-scope-select/index.tsx | 66 +-
.../src/plugins/components/deployments/index.tsx | 109 ++++
config-ui/src/plugins/components/index.ts | 2 +
.../plugins/components/scope-config-form/index.tsx | 28 +-
.../register/azure/assets/workflow-run.jpeg | Bin 0 -> 149316 bytes
config-ui/src/plugins/register/azure/config.tsx | 2 -
.../src/plugins/register/azure/transformation.tsx | 30 +-
.../src/plugins/register/azure/workflow-run.tsx | 98 +++
.../register/bamboo/assets/workflow-run.jpeg | Bin 0 -> 113157 bytes
config-ui/src/plugins/register/bamboo/config.tsx | 6 +-
.../src/plugins/register/bamboo/transformation.tsx | 120 ++--
.../src/plugins/register/bamboo/workflow-run.tsx | 94 +++
.../register/bitbucket/assets/workflow-run-1.jpeg | Bin 0 -> 71873 bytes
.../register/bitbucket/assets/workflow-run-2.jpeg | Bin 0 -> 52643 bytes
.../src/plugins/register/bitbucket/config.tsx | 2 -
.../plugins/register/bitbucket/transformation.tsx | 107 ++--
.../plugins/register/bitbucket/workflow-run.tsx | 104 +++
.../register/circleci/assets/workflow-run.jpeg | Bin 0 -> 197685 bytes
config-ui/src/plugins/register/circleci/config.tsx | 5 +-
.../plugins/register/circleci/transformation.tsx | 41 +-
.../src/plugins/register/circleci/workflow-run.tsx | 97 +++
.../register/github/assets/workflow-run.jpeg | Bin 0 -> 189484 bytes
config-ui/src/plugins/register/github/config.tsx | 3 -
.../github/connection-fields/authentication.tsx | 6 +-
.../github/connection-fields/githubapp.tsx | 7 +-
.../src/plugins/register/github/transformation.tsx | 129 ++--
.../src/plugins/register/github/workflow-run.tsx | 103 +++
.../register/gitlab/assets/workflow-run.jpeg | Bin 0 -> 193279 bytes
config-ui/src/plugins/register/gitlab/config.tsx | 6 +-
.../src/plugins/register/gitlab/transformation.tsx | 131 ++--
.../src/plugins/register/gitlab/workflow-run.tsx | 100 +++
.../register/jenkins/assets/workflow-run.jpeg | Bin 0 -> 238201 bytes
config-ui/src/plugins/register/jenkins/config.tsx | 5 +-
.../plugins/register/jenkins/transformation.tsx | 35 +-
.../src/plugins/register/jenkins/workflow-run.tsx | 97 +++
.../jira/transformation-fields/remote-link.tsx | 2 +-
.../plugins/register/webhook/components/utils.ts | 1 +
.../src/plugins/register/webhook/connection.tsx | 5 +-
config-ui/src/release/stable.ts | 1 +
.../routes/blueprint/connection-detail/index.tsx | 18 +-
.../routes/blueprint/connection-detail/table.tsx | 16 +-
.../components/add-connection-dialog/index.tsx | 6 +-
.../blueprint/detail/configuration-panel.tsx | 5 +-
.../src/routes/blueprint/detail/status-panel.tsx | 42 +-
config-ui/src/routes/blueprint/home/index.tsx | 2 +-
config-ui/src/routes/onboard/components/tour.tsx | 7 +-
.../src/routes/pipeline/components/duration.tsx | 26 +-
config-ui/src/routes/pipeline/components/table.tsx | 2 +-
config-ui/src/routes/pipeline/pipelines.tsx | 4 +-
.../routes/project/additional-settings/index.tsx | 15 +-
.../src/routes/project/general-settings/index.tsx | 15 +-
config-ui/src/routes/project/layout/index.tsx | 22 +-
.../src/routes/project/layout/project-selector.tsx | 2 +-
config-ui/src/routes/project/webhook/index.tsx | 61 +-
config-ui/src/types/webhook.ts | 4 +-
config-ui/yarn.lock | 698 +++++++++++----------
232 files changed, 4097 insertions(+), 1603 deletions(-)
copy
backend/core/models/migrationscripts/{20220725_add_project_mapping_table.go =>
20240919_increase_cq_issue_component_length.go} (67%)
copy
backend/{core/models/migrationscripts/20231208_add_commit_msg_to_cicd_pipeline_commits.go
=>
plugins/bamboo/models/migrationscripts/20240906_add_env_name_list_to_scope_config.go}
(60%)
copy
backend/{core/models/migrationscripts/20231208_add_commit_msg_to_cicd_pipeline_commits.go
=>
plugins/github/models/migrationscripts/20240906_add_env_name_list_to_scope_config.go}
(60%)
copy
backend/{core/models/migrationscripts/20231208_add_commit_msg_to_cicd_pipeline_commits.go
=>
plugins/gitlab/models/migrationscripts/20240906_add_env_name_list_to_scope_config.go}
(60%)
copy backend/plugins/{tapd/models/migrationscripts/20230330_delete_issue.go =>
jenkins/models/migrationscripts/20240911_add_url_for_builds.go} (69%)
create mode 100644
backend/plugins/jira/e2e/snapshot_tables/_tool_jira_server_infos.csv
copy
backend/plugins/jira/models/migrationscripts/{20240710_add_issue_field_table.go
=> 20240910_add_table_tool_jira_server_info.go} (72%)
copy backend/{core/models/migrationscripts/archived/account.go =>
plugins/jira/models/migrationscripts/archived/jira_server_info.go} (57%)
copy backend/{helpers/pluginhelper/subtaskmeta/sorter/utils_test.go =>
plugins/zentao/impl/impl_test.go} (56%)
copy config-ui/src/components/{tip-layout => show-more}/index.tsx (57%)
copy config-ui/src/features/{onboard => project}/index.ts (100%)
copy config-ui/src/features/{version => project}/slice.ts (57%)
create mode 100644
config-ui/src/plugins/components/check-matched-items/index.tsx
create mode 100644 config-ui/src/plugins/components/deployments/index.tsx
create mode 100644
config-ui/src/plugins/register/azure/assets/workflow-run.jpeg
create mode 100644 config-ui/src/plugins/register/azure/workflow-run.tsx
create mode 100644
config-ui/src/plugins/register/bamboo/assets/workflow-run.jpeg
create mode 100644 config-ui/src/plugins/register/bamboo/workflow-run.tsx
create mode 100644
config-ui/src/plugins/register/bitbucket/assets/workflow-run-1.jpeg
create mode 100644
config-ui/src/plugins/register/bitbucket/assets/workflow-run-2.jpeg
create mode 100644 config-ui/src/plugins/register/bitbucket/workflow-run.tsx
create mode 100644
config-ui/src/plugins/register/circleci/assets/workflow-run.jpeg
create mode 100644 config-ui/src/plugins/register/circleci/workflow-run.tsx
create mode 100644
config-ui/src/plugins/register/github/assets/workflow-run.jpeg
create mode 100644 config-ui/src/plugins/register/github/workflow-run.tsx
create mode 100644
config-ui/src/plugins/register/gitlab/assets/workflow-run.jpeg
create mode 100644 config-ui/src/plugins/register/gitlab/workflow-run.tsx
create mode 100644
config-ui/src/plugins/register/jenkins/assets/workflow-run.jpeg
create mode 100644 config-ui/src/plugins/register/jenkins/workflow-run.tsx