You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@devlake.apache.org by ka...@apache.org on 2023/05/18 07:05:50 UTC

[incubator-devlake] branch issues/4762 updated (98e57438c -> c8fad1aa7)

This is an automated email from the ASF dual-hosted git repository.

ka94 pushed a change to branch issues/4762
in repository https://gitbox.apache.org/repos/asf/incubator-devlake.git


 discard 98e57438c feat: Rework scope_helper for compatiblity with Python and adapt DeleteScope to it
     add 32200daa9 feat(config-ui): provide the new ui for issue-repo-commit configuration in jira (#5175)
     add 3a5c969cb fix(config-ui): upgrade miller-columns-select (#5181)
     add 28e4018d2 fix: pipeline/step should be marked as PRODUCTION when corresponding regex is omitted (#5180)
     add 3281ba053 Refresh token (#5174)
     add 2affdffa7 fix: Fix Job.migrate on postgresql (#5194)
     add 2e15942a9 fix: Set type of description column to TEXT (#5191)
     add 2e1a8127f fix: Make PR.merge_commit_sha optional (#5192)
     add 8d85191e6 fix: rename finished_commits_diffs to _tool_refdiff_finished_commits_diffs (#5200)
     add 9cb43222f feat: update all dashboards that use the self-constructed calendar mo… (#5179)
     add 42761a55d feat: unify the length of pull_request_comments.pr_id to varchar(255) (#5209)
     add 5e94d2379 fix: PagerDuty now limits to 10k latest incidents per API spec, and pulls based on service ids (#5196)
     add 93ffe7768 refactor(config-ui): remove the content about bp v100 upgrade (#5202)
     add 77092828a refactor(config-ui): adjust the interface to respond to error prompts (#5199)
     add 2b190844d fix: add values of updated_date to the table.issue_comments (#5217)
     add af61ebe1a chore: change version to a input instead of select (#5219)
     add 3222db16b feat: improve the UX of DORA dashboards (#5220)
     add 6ad138228 fix: Correct paging behaviour during PagerDuty service enumeration (#5213)
     add 79a8f8524 fix(config-ui): cannot manage webhook (#5215)
     add f3f6e9be2 feat(config-ui): show connection name in blueprint detail (#5214)
     add c8fad1aa7 feat: Rework scope_helper for compatiblity with Python and adapt DeleteScope to it

This update added new revisions after undoing existing revisions.
That is to say, some revisions that were in the old version of the
branch are not in the new version.  This situation occurs
when a user --force pushes a change and generates a repository
containing something like this:

 * -- * -- B -- O -- O -- O   (98e57438c)
            \
             N -- N -- N   refs/heads/issues/4762 (c8fad1aa7)

You should already have received notification emails for all of the O
revisions, and so the following emails describe only the N revisions
from the common base, B.

Any revisions marked "omit" are not gone; other references still
refer to them.  Any revisions marked "discard" are gone forever.

No new revisions were added by this update.

Summary of changes:
 .github/ISSUE_TEMPLATE/bug-report.yml              |   21 +-
 .../core/models/domainlayer/code/commits_diff.go   |    2 +-
 .../domainlayer/code/pull_request_comment.go       |    5 +-
 .../models/domainlayer/domaininfo/domaininfo.go    |    1 -
 .../models/domainlayer/ticket/issue_comment.go     |    4 +-
 ...6_change_pull_request_id_type_in_prcomments.go} |   42 +-
 ...o => 20230516_rename_finished_commits_diffs.go} |   16 +-
 ...20230517_add_updated_date_to_issue_comments.go} |   26 +-
 backend/core/models/migrationscripts/register.go   |    3 +
 .../helpers/pluginhelper/api/api_async_client.go   |    9 +-
 .../helpers/pluginhelper/api/enrich_with_regex.go  |   10 +-
 backend/plugins/bamboo/e2e/job_build_test.go       |   14 +-
 .../_tool_bamboo_job_builds_no_prod_env.csv        |   10 +
 .../plugins/bamboo/tasks/job_build_extractor.go    |    2 +-
 backend/plugins/bitbucket/e2e/comment_test.go      |    4 +
 .../plugins/bitbucket/e2e/pipeline_steps_test.go   |    6 +-
 .../_tool_bitbucket_issue_comments.csv             |   58 +-
 .../_tool_bitbucket_pipeline_steps.csv             |   52 +-
 .../e2e/snapshot_tables/issue_comments.csv         |   58 +-
 .../bitbucket/tasks/issue_comment_convertor.go     |    6 +-
 .../plugins/bitbucket/tasks/pipeline_extractor.go  |    2 +-
 .../bitbucket/tasks/pipeline_steps_extractor.go    |    2 +-
 .../plugins/gitee/tasks/issue_comment_convertor.go |    6 +-
 backend/plugins/github/e2e/cicd_job_test.go        |   16 +-
 backend/plugins/github/e2e/cicd_run_test.go        |   18 +-
 backend/plugins/github/e2e/comment_test.go         |    1 +
 ..._jobs.csv => _tool_github_jobs_no_prod_env.csv} |   32 +-
 ...uns.csv => _tool_github_runs_no_prod_regex.csv} |   12 +-
 .../github/e2e/snapshot_tables/issue_comments.csv  |   98 +-
 backend/plugins/github/tasks/cicd_job_extractor.go |    5 +-
 backend/plugins/github/tasks/cicd_run_extractor.go |    3 +-
 .../github/tasks/issue_comment_convertor.go        |    6 +-
 .../plugins/github_graphql/tasks/job_collector.go  |    2 +-
 backend/plugins/gitlab/e2e/job_test.go             |   21 +-
 backend/plugins/gitlab/e2e/pipelines_test.go       |   14 +-
 .../_tool_gitlab_pipelines_no_prod_regex.csv       |   21 +
 .../snapshot_tables/cicd_tasks_no_prod_regex.csv   |   68 ++
 backend/plugins/gitlab/tasks/job_convertor.go      |   12 +-
 backend/plugins/gitlab/tasks/pipeline_extractor.go |    2 +-
 backend/plugins/jenkins/e2e/builds_test.go         |   17 +-
 .../cicd_tasks_after_stages_no_prod_regex.csv      |   15 +
 .../snapshot_tables/cicd_tasks_no_prod_regex.csv   |    8 +
 backend/plugins/jenkins/e2e/stages_test.go         |   13 +-
 .../plugins/jenkins/tasks/build_cicd_convertor.go  |    4 +-
 backend/plugins/jenkins/tasks/stage_convertor.go   |    2 +-
 .../plugins/jira/tasks/issue_comment_convertor.go  |    6 +-
 backend/plugins/pagerduty/api/remote.go            |    2 +-
 .../plugins/pagerduty/tasks/incidents_collector.go |   14 +-
 ...sv => _tool_refdiff_finished_commits_diffs.csv} |    0
 .../refdiff/e2e/deployment_commit_diff_test.go     |    2 +-
 .../refdiff/tasks/commit_diff_calculator.go        |    2 +-
 .../tasks/deployment_commit_diff_calculator.go     |    2 +-
 backend/plugins/starrocks/utils/utils.go           |    1 -
 .../e2e/snapshot_tables/issue_comments.csv         |   10 +-
 .../plugins/teambition/e2e/task_comment_test.go    |    8 +-
 .../teambition/tasks/task_comment_converter.go     |    7 +-
 .../plugins/azuredevops/azuredevops/models.py      |   22 +-
 .../pydevlake/pydevlake/domain_layer/code.py       |    7 -
 backend/server/api/api.go                          |    1 +
 backend/server/api/login/login.go                  |   28 +-
 backend/server/services/auth/auth.go               |    5 +
 backend/server/services/auth/cognito.go            |   32 +-
 config-ui/package.json                             |    2 +-
 .../error-boundary/index.tsx}                      |   38 +-
 .../{error => components/error-boundary}/styled.ts |    0
 config-ui/src/components/index.ts                  |    1 +
 .../components/table/hooks/use-row-selection.ts    |   10 +-
 config-ui/src/error/components/bp-upgrade/api.ts   |   45 -
 .../src/error/components/bp-upgrade/index.tsx      |   48 -
 .../error/components/bp-upgrade/use-bp-upgrade.ts  |  169 ---
 config-ui/src/error/components/default/index.tsx   |   58 -
 config-ui/src/error/components/index.ts            |   20 -
 config-ui/src/error/index.ts                       |   21 -
 config-ui/src/error/types.ts                       |   21 -
 config-ui/src/error/utils.ts                       |   24 -
 config-ui/src/hooks/index.ts                       |    2 +
 config-ui/src/hooks/use-connections.ts             |   47 +
 .../src/{layouts/base/api.ts => hooks/use-tips.ts} |    6 +-
 config-ui/src/images/jira-issue-tips.png           |  Bin 0 -> 242999 bytes
 config-ui/src/layouts/base/base.tsx                |  201 ++--
 config-ui/src/main.tsx                             |    9 +-
 .../blueprint/connection-add/components/step-1.tsx |   78 +-
 .../pages/blueprint/create/components/step-1.tsx   |    5 +-
 config-ui/src/pages/blueprint/create/index.tsx     |   43 +-
 .../pages/blueprint/detail/blueprint-detail.tsx    |   12 +-
 .../detail/components/connection-list/index.tsx    |   14 +-
 config-ui/src/pages/blueprint/detail/styled.ts     |   25 +-
 config-ui/src/pages/blueprint/detail/use-detail.ts |   10 -
 config-ui/src/pages/connection/detail/index.tsx    |   22 +-
 config-ui/src/pages/connection/home/index.tsx      |   54 +-
 config-ui/src/pages/login/login.tsx                |    1 +
 config-ui/src/pages/project/home/use-project.ts    |    1 -
 .../plugins/components/connection-form/index.tsx   |    6 +-
 .../plugins/components/connection-list/index.tsx   |   82 ++
 .../components/connection-status/index.tsx}        |    3 +-
 config-ui/src/plugins/components/index.ts          |    2 +
 .../components/transformation-select/index.tsx     |    2 +-
 .../plugins/components/transformation/index.tsx    |    2 +-
 config-ui/src/plugins/register/jira/config.tsx     |    3 +-
 .../register/jira/connection-fields/auth.tsx       |    2 -
 .../jira/transformation-fields/cross-domain.tsx    |  168 +++
 .../{ae => jira/transformation-fields}/index.ts    |    2 +-
 .../jira/transformation-fields}/styled.ts          |   20 +-
 .../src/plugins/register/jira/transformation.tsx   |   47 +-
 .../plugins/register/webook/connection/index.tsx   |   17 +-
 .../register/webook/connection/use-connection.ts   |   54 -
 config-ui/src/store/connections/context.tsx        |  148 ++-
 config-ui/src/store/connections/index.ts           |    1 -
 config-ui/src/store/connections/types.ts           |    4 +-
 .../src/store/connections/use-context-value.ts     |  161 ---
 config-ui/src/store/tips/context.tsx               |   22 +-
 config-ui/src/utils/operator.ts                    |   16 +-
 config-ui/src/utils/request.ts                     |   35 +
 config-ui/yarn.lock                                |   10 +-
 grafana/dashboards/DORA.json                       |   57 +-
 grafana/dashboards/DORADebug.json                  | 1172 ++++++++++++--------
 116 files changed, 2098 insertions(+), 1823 deletions(-)
 copy backend/{plugins/jira/models/migrationscripts/20230510_expand_remotelink_selfurl.go => core/models/migrationscripts/20230516_change_pull_request_id_type_in_prcomments.go} (59%)
 copy backend/core/models/migrationscripts/{20230405_rename_tap_collector_state.go => 20230516_rename_finished_commits_diffs.go} (68%)
 copy backend/core/models/migrationscripts/{20230416_rename_project_pr_metrict_deployment_id.go => 20230517_add_updated_date_to_issue_comments.go} (63%)
 create mode 100644 backend/plugins/bamboo/e2e/snapshot_tables/_tool_bamboo_job_builds_no_prod_env.csv
 copy backend/plugins/github/e2e/snapshot_tables/{_tool_github_jobs.csv => _tool_github_jobs_no_prod_env.csv} (98%)
 copy backend/plugins/github/e2e/snapshot_tables/{_tool_github_runs.csv => _tool_github_runs_no_prod_regex.csv} (98%)
 create mode 100644 backend/plugins/gitlab/e2e/snapshot_tables/_tool_gitlab_pipelines_no_prod_regex.csv
 create mode 100644 backend/plugins/gitlab/e2e/snapshot_tables/cicd_tasks_no_prod_regex.csv
 create mode 100644 backend/plugins/jenkins/e2e/snapshot_tables/cicd_tasks_after_stages_no_prod_regex.csv
 create mode 100644 backend/plugins/jenkins/e2e/snapshot_tables/cicd_tasks_no_prod_regex.csv
 rename backend/plugins/refdiff/e2e/deployment_commit_diff/{finished_commits_diffs.csv => _tool_refdiff_finished_commits_diffs.csv} (100%)
 rename config-ui/src/{error/error-boundary.tsx => components/error-boundary/index.tsx} (52%)
 rename config-ui/src/{error => components/error-boundary}/styled.ts (100%)
 delete mode 100644 config-ui/src/error/components/bp-upgrade/api.ts
 delete mode 100644 config-ui/src/error/components/bp-upgrade/index.tsx
 delete mode 100644 config-ui/src/error/components/bp-upgrade/use-bp-upgrade.ts
 delete mode 100644 config-ui/src/error/components/default/index.tsx
 delete mode 100644 config-ui/src/error/components/index.ts
 delete mode 100644 config-ui/src/error/index.ts
 delete mode 100644 config-ui/src/error/types.ts
 delete mode 100644 config-ui/src/error/utils.ts
 create mode 100644 config-ui/src/hooks/use-connections.ts
 copy config-ui/src/{layouts/base/api.ts => hooks/use-tips.ts} (86%)
 create mode 100644 config-ui/src/images/jira-issue-tips.png
 create mode 100644 config-ui/src/plugins/components/connection-list/index.tsx
 rename config-ui/src/{store/connections/status.tsx => plugins/components/connection-status/index.tsx} (97%)
 create mode 100644 config-ui/src/plugins/register/jira/transformation-fields/cross-domain.tsx
 copy config-ui/src/plugins/register/{ae => jira/transformation-fields}/index.ts (96%)
 copy config-ui/src/plugins/{components/data-scope-form-2 => register/jira/transformation-fields}/styled.ts (80%)
 delete mode 100644 config-ui/src/plugins/register/webook/connection/use-connection.ts
 delete mode 100644 config-ui/src/store/connections/use-context-value.ts