Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add assignees and reviewers to pull_request_x table #7556

Merged
merged 5 commits into from
Jun 3, 2024
Merged

Conversation

abeizn
Copy link
Contributor

@abeizn abeizn commented May 31, 2024

Summary

feat: add assignees and reviewers to pull_request_x table

Does this close any open issues?

Closes #7548

Screenshots

image

image

image

image

Other Information

Any other information that is important to this PR.

@dosubot dosubot bot added size:XL This PR changes 500-999 lines, ignoring generated files. component/plugins This issue or PR relates to plugins pr-type/feature-development This PR is to develop a new feature labels May 31, 2024
gitlabAssignee := &models.GitlabAssignee{
ConnectionId: data.Options.ConnectionId,
GitlabId: assignee.GitlabId,
MergeRequestId: mr.GitlabId,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

MergeRequestId is GitlabId ?

@dosubot dosubot bot added the lgtm This PR has been approved by a maintainer label Jun 3, 2024
@d4x1 d4x1 merged commit 2816c18 into main Jun 3, 2024
10 checks passed
@d4x1 d4x1 deleted the fix#7548 branch June 3, 2024 03:24
Copy link

github-actions bot commented Jun 3, 2024

🤖 The current file has a conflict, and the pr cannot be automatically created.

@github-actions github-actions bot added the bot/auto-cherry-pick-failed auto cherry pick failed label Jun 3, 2024
abeizn added a commit that referenced this pull request Jun 3, 2024
* feat: add assignees and reviewers to pull_request_x table

* fix: unit test and e2e test

* fix: unit test

* fix: some tips

* fix: rename assignee reviewer id name
Copy link

github-actions bot commented Jun 4, 2024

🤖 The current file has a conflict, and the pr cannot be automatically created.

d4x1 added a commit that referenced this pull request Jul 16, 2024
…untId in Jira issue related data" to v0.21. (#7741)

* fix: github deployment status active and inactive should be treated as success (#6873) (#6874)

Co-authored-by: Klesh Wong <[email protected]>

* fix: github run api page<35 limit (#6876) (#6878)

* fix: github run api page<35 limit

* fix: some tips

* fix: update note

Co-authored-by: abeizn <[email protected]>

* feat: support hide custom type toast in operator (#6879) (#6880)

Co-authored-by: 青湛 <[email protected]>

* fix: some bugs (#6882) (#6883)

* fix: operator toast control error

* fix: adapt to small screen margins

Co-authored-by: 青湛 <[email protected]>

* fix: adjust the style for page header (#6886) (#6887)

Co-authored-by: 青湛 <[email protected]>

* feat: auto cherry pick support multiple versions (#6894)

* fix: the layout error (#6895) (#6896)

Co-authored-by: 青湛 <[email protected]>

* fix: icon missed in data scope select (#6897) (#6898)

Co-authored-by: 青湛 <[email protected]>

* fix: triggering blueprint concurrently might lead to deadlock (#6901) (#6904)

Co-authored-by: Klesh Wong <[email protected]>

* fix: triggering blueprint concurrently might lead to deadlock (#6902) (#6903)

Co-authored-by: Klesh Wong <[email protected]>

* fix: asfheader format (#6900) (#6906)

* fix: asf header format

* fix: asf header format

* fix: asf header format

* fix: asf header format

Co-authored-by: abeizn <[email protected]>

* fix: adjust the layout for page (#6909) (#6910)

Co-authored-by: 青湛 <[email protected]>

* fix: adjust the margin for page layout (#6913) (#6914)

Co-authored-by: 青湛 <[email protected]>

* fix: copywriting (#6917)

* cherry pick #6881 #6871 update dashboards, remove warnings to release v0.21 (#6919)

* fix(dashboard): update circleci dashboard

* fix(dashboard): update AzureDevops

* fix(dashboards): remove warnings

* fix(dashboard): fix selected_path filter

* feat: upgrade dora benchmarks to 2023 version (#6893) (#6920)

* feat: upgrade dora benchmarks to 2023 version

* feat: add 2021/2023 benchmark flag

* feat: add 2021/2023 benchmark flag

Co-authored-by: abeizn <[email protected]>

* chore: upgrade antd to 5.14.0 (#6922) (#6924)

* chore: upgrade antd to 5.14.0

* fix: lint error

Co-authored-by: 青湛 <[email protected]>

* fix: default value error in jira transformation (#6925) (#6926)

Co-authored-by: 青湛 <[email protected]>

* fix: missed redirect path prefix in connection detail (#6928) (#6929)

Co-authored-by: 青湛 <[email protected]>

* fix: rerun task deadlock (#6932) (#6933)

Co-authored-by: Klesh Wong <[email protected]>

* fix: new dshelper does not set raw data origin properly (#6935) (#6936)

Co-authored-by: Klesh Wong <[email protected]>

* feat: add default name for scope config (#6937) (#6938)

Co-authored-by: 青湛 <[email protected]>

* fix: rerun pipeline deadlock (#6939) (#6940)

Co-authored-by: Klesh Wong <[email protected]>

* fix: deployment dora dashboard (#6931) (#6942)

* fix: deployment dora dashboard

* fix: deployment dashbord add dora debug update

* fix: some note

* fix: adjust sql

* fix: mysql id lint

* fix: some bugs

* fix: some note

Co-authored-by: abeizn <[email protected]>

* fix: update cfr metric (#6945) (#6946)

Co-authored-by: abeizn <[email protected]>

* feat(dashboard): revert changes that try to remove wanings (#6948)

* chore: adds support for IPv6 in nginx (#6955) (#6960)

(cherry picked from commit 89f1461)

* fix: /grafana should be off (#6966) (#6967)

Co-authored-by: Klesh Wong <[email protected]>

* fix(migration): fix rename operations in tapd plugin (#6970) (#6972)

Co-authored-by: Lynwee <[email protected]>

* feat: extends DNS variable assignment to additionally handle IPv6 (#6976) (#6979)

(cherry picked from commit 716d1e4)

* fix(zentao): update the type of `PriOrder` (#6986) (#6987)

Co-authored-by: Lynwee <[email protected]>

* refactor(middlewares): add `CheckAuthorizationHeader` (#6993) (#6994)

Co-authored-by: Lynwee <[email protected]>

* refactor: optimize bp cronjob scheduling (#6995) (#6996)

* refactor: optimize bp cronjob scheduling

* fix: linting

Co-authored-by: Klesh Wong <[email protected]>

* feat: updates backend to listen on both IPv4 and IPv6 addresses (#6992)

(cherry picked from commit d15956e)

* cherry pick #7001 fix(azuredevops): fix some fields' value to v0.21 (#7003)

* fix(azuredevops): fix some fields' value

* fix(azuredevops): fix updated_date in cicd_scopes

* fix(azuredevops): fix test

* fix(azuredevops): fix e2e test errors

* refactor(azuredevops): update mysqlclien to v2.2.4, make it compatible with mysql8.3 on macOS (#7004) (#7012)

Co-authored-by: Lynwee <[email protected]>

* [AzureDevops ] fix: some fields' values (#7013) (#7015)

* fix(auzredevops): remove update_date from repos and cicd_scopes

* fix(azuredevops): fix environment field in cicd_tasks and cicd_pipelins

* fix(azuredevops): fix enviroment field in cicd_tasks and cicd_pipelines

Co-authored-by: Lynwee <[email protected]>

* fix: invalid url detection not working correctly (#7016) (#7017)

Co-authored-by: Klesh Wong <[email protected]>

* fix(gitextractor): cover errors that may leak sensitive information (#7018) (#7019)

Co-authored-by: Lynwee <[email protected]>

* fix(azuredevops): fix unexpected environment field in cicd_tasks and cicd_pipelines (#7022) (#7023)

Co-authored-by: Lynwee <[email protected]>

* fix: unset scopeConfigId for scope not working on azdo/bamboo (#7024) (#7025)

Co-authored-by: Klesh Wong <[email protected]>

* feat(cicd): generate deployment in cicd plugin (#6965) (#7028)

(cherry picked from commit 3254310)

* feat: missed circleci transformation (#7011) (#7029)

* fix: jira test connection error message for wrong user/pass not working (#7031) (#7034)

Co-authored-by: Klesh Wong <[email protected]>

* fix: cfr dashboard value (#7035)

* fix(dockerfile): try to fix build errors (#7036) (#7037)

Co-authored-by: Lynwee <[email protected]>

* fix(ui): Add /health url with basicAuth disabled (#7009) (#7038)

* fix(zentao): fix `PatchConnection` (#7039) (#7040)

Co-authored-by: Lynwee <[email protected]>

* fix `updated_at` field in cicd_tasks and cicd_pipelines (#7032) (#7041)

* fix(gitextractor): cover errors that may leak sensitive information

* fix(azuredevops): fix updated_at field in cicd_tasks and cicd_pipelines

* fix(azuredevops): fix test errors

* fix(azuredevops): remove domain layer tables when collecting data fully

* fix(azuredevops): remove debug codes

* fix(azuredevops): fix testing errors

* fix(azuredevops): fix test errors

* fix(azuredevops): fix comments(most of them are about format)

Co-authored-by: Lynwee <[email protected]>

* fix(tapd): sanitize connection's respo (#7042) (#7043)

Co-authored-by: Lynwee <[email protected]>

* fix: cicd deployment dora delete when data nil (#7033) (#7044)

* fix: cicd deployment dora delete when data nil

* fix: lint

* fix: dora delete data where the data after filtering conditions is empty

* fix: comments

Co-authored-by: abeizn <[email protected]>

* fix(security): fix cwe-276, (parts of)cwe-22 (#7045) (#7047)

* fix(security): fix cwe-276, (parts of)cwe-22

* fix(test): fix errors

* fix(test): fix errors

* fix(test): fix errors

Co-authored-by: Lynwee <[email protected]>

* fix(zentao): fix parsing errors for date related fields on zentao v18.10 (#7055)

* feat: add docs about v0.21 (#7030) (#7057)

Co-authored-by: 青湛 <[email protected]>

* chore: adjust the doc link to v0.21 (#7058)

* fix: pr cycle time doesn't respect time interval and is not null replace of != null (#7056)

* fix(azuredevops): fix environment field in cicd_tasks and cicd_pipelines (#7061)

* fix(azuredevops): remove unneccessary collectors when re-transformating project (#7062) (#7063)

Co-authored-by: Lynwee <[email protected]>

* fix(azuredevops): fix environment field (#7064) (#7065)

Co-authored-by: Lynwee <[email protected]>

* Fetch AzureDevops Builds by `finishTimeDescending` (#7068) (#7069)

* fix(azuredevops): fix environment field

* fix(azuredevops): fetch build with queryOrder = finishTimeDescending

Co-authored-by: Lynwee <[email protected]>

* fix: jenkins should be using `fullName` instead of `scopeId` when generating plan (#7067) (#7071)

Co-authored-by: Klesh Wong <[email protected]>

* fix: empty dora data when run the tasks (#7070) (#7072)

* fix: empty dora data when run the tasks

Co-authored-by: abeizn <[email protected]>

* fix: jenkins task name error (#7066) (#7077)

Co-authored-by: 青湛 <[email protected]>

* feat(plugins): add WRAP_RESPONSE_ERROR in config to avoid SSRF when testing connections (#7080) (#7081)

* feat(plugins): add WRAP_RESPONSE_ERROR in config to avoid SSRF when testing connections

* fix(plugins): update error messages

Co-authored-by: Lynwee <[email protected]>

* fix: show badge in connection name (#7085) (#7087)

Co-authored-by: 青湛 <[email protected]>

* fix: gitlab delate data by raw data table (#7095) (#7102)

Co-authored-by: abeizn <[email protected]>

* fix: sonarqube connection delete on no scope config (#7093) (#7103)

* fix: sonarqube connection delete on no scope config

Co-authored-by: abeizn <[email protected]>

* chore: upgrade miller-columns-select to 1.3.1 (#7109)

* fix: modify deployable_commit_title from varchar255 to text (#7106) (#7110)

Co-authored-by: abeizn <[email protected]>

* fix(azuredevops): fix some bugs (#7108) (#7111)

Co-authored-by: Lynwee <[email protected]>

* fix: sonarqube test connection can not effective (#7112) (#7113)

* fix: sonarqube test connection can not effective

* fix: testConnection add check

Co-authored-by: abeizn <[email protected]>

* fix: cronjob won't work for a new instance (#7119) (#7120)

Co-authored-by: Klesh Wong <[email protected]>

* fix(dora): remove calculated `started_date` when converting pipelines to deployments (#7122) (#7123)

Co-authored-by: Lynwee <[email protected]>

* chore: upgrade miller-columns-select to 1.3.2 (#7126)

* fix: revert dora empty (#7128) (#7129)

Co-authored-by: abeizn <[email protected]>

* fix(dora): add started_date when generating cicd_deployment_commits (#7130) (#7131)

Co-authored-by: Lynwee <[email protected]>

* fix: missed path prefix (#7127) (#7133)

Co-authored-by: 青湛 <[email protected]>

* fix: project path error (#7134) (#7136)

Co-authored-by: 青湛 <[email protected]>

* fix(plugins): fix wrong resp when testing connections, fix a typo in bitbucket (#7138)

* fix(customize): issue_repo_commit.host column ignores port, consistant with devinsights change. (#7094) (#7140)

* [bug][customize] Import csv issues API handle issues in multiple boards (#6978) (#7142)

* fix(customize): csv import should handle issues belong to multiple boards

* fix(customize): use more practical csv file for update test

* fix: add flag for data convert to dora (#7143)

* fix: add flag for data convert to dora

* fix: some minor optimizations

* fix: add subtask_name filter

* fix: blueprint gets disabled when disabling dora for project (#7146) (#7147)

Co-authored-by: Klesh Wong <[email protected]>

* fix: missed plugin opsgenie doc (#7144) (#7145)

Co-authored-by: 青湛 <[email protected]>

* fix: add connectionId params on swag (#7152)

* fix: test connection swag doc (#7151)

* fix: unable to trigger blueprints with webhooks only (#7148) (#7149)

Co-authored-by: Klesh Wong <[email protected]>

* fix: jira epic add time after (#7161) (#7162)

* fix: jira epic add time after

* fix: description

Co-authored-by: abeizn <[email protected]>

* fix: some logs (#7163) (#7164)

Co-authored-by: abeizn <[email protected]>

* fix: jira server test connection bug (#7165) (#7166)

Co-authored-by: abeizn <[email protected]>

* fix: limit layout content width to 1280 (#7169) (#7170)

Co-authored-by: 青湛 <[email protected]>

* fix(helper): add more log (#7171)

Co-authored-by: houlinwei <[email protected]>

* Morelog (#7173)

* fix(helper): add more log

* fix(helper): add more log

---------

Co-authored-by: houlinwei <[email protected]>

* fix(zentao): update error message when testing connection fails (#7175) (#7176)

Co-authored-by: Lynwee <[email protected]>
Co-authored-by: houlinwei <[email protected]>

* fix(helper): remove debug logs (#7179)

* fix(helper): remove debug logs

* fix(helper): remove logs

---------

Co-authored-by: houlinwei <[email protected]>

* fix: unnecessary loading (#7183) (#7186)

Co-authored-by: 青湛 <[email protected]>

* fix: no correct reset state (#7191) (#7192)

Co-authored-by: 青湛 <[email protected]>

* fix: jira jql checker add debug log (#7215) (#7216)

* fix: jira jql checker add debug log

* fix: jira jql checker add debug log

* fix: jira jql checker add debug log

Co-authored-by: abeizn <[email protected]>

* fix: soc2 upgrade  (#7271)

* fix: upgrade go git

* fix: upgrade dgrijalva/jwt-go

* fix(python): update urllib3 to latest version (#7267)

* fix: upgrade grafana version

* fix: upgrade grafana

* fix: upgrade grafana

---------

Co-authored-by: Lynwee <[email protected]>

* feat: add devops file to v0.21 (#7296)

* fix(azuredevops): fix _tool_azuredevops_gitrepositories.id field (#7301) (#7302)

Co-authored-by: Lynwee <[email protected]>

* fix: db timeafter adjust (#7314) (#7316)

Co-authored-by: abeizn <[email protected]>

* fix(tapd): change iteration_id's type from uint64 to int64 (#7334) (#7336)

* fix(tapd): change iteration_id's type from uint64 to int64

* fix(tapd): fix test

Co-authored-by: Lynwee <[email protected]>

* fix: add jira jql checker debug log (#7376) (#7377)

Co-authored-by: abeizn <[email protected]>

* fix: customize plugin can not update old data (#7389) (#7392)

* fix: customize plugin can not update old data

* fix: recover pipeline_plan

* fix: e2e test

Co-authored-by: abeizn <[email protected]>

* fix(zentao): update storyID field in tasks reponse, make it compatiable with oss 18.11 (#7403) (#7404)

Co-authored-by: Lynwee <[email protected]>

* feat: fetch execution information from the built-in page interface (#7513) (#7514)

Co-authored-by: abeizn <[email protected]>

* fix: execution id not exist (#7520) (#7522)

Co-authored-by: abeizn <[email protected]>

* feat: add assignees and reviewers to pull_request_x table (#7556)

* feat: add assignees and reviewers to pull_request_x table

* fix: unit test and e2e test

* fix: unit test

* fix: some tips

* fix: rename assignee reviewer id name

* feat: starrocks add STARROCKS_REPLICAS_NUM env (#7565)

* fix: add primary key to _tool_gitlab_assignees and _tool_gitlab_reviewers tables (#7573) (#7574)

Co-authored-by: abeizn <[email protected]>

* fix: gitlab pr reviewers and assignees id (#7588) (#7594)

Co-authored-by: abeizn <[email protected]>

* fix: pr reviewers and assignees script version error (#7645) (#7647)

* fix: pr reviewers and assignees script version error

* fix: adapt pg test

Co-authored-by: abeizn <[email protected]>

* fix(zentao): make sure close_date must be before opened_date (#7699) (#7700)

Co-authored-by: Lynwee <[email protected]>

* cherry pick #7710 feat(jira): collector accounts from issue changelog items as much as possible to v0.21 (#7724)

* feat(jira): collector account from issue changelog items as much as possible

* fix(jira): fix migration scripts

* feat(jira): add `_tool_jira_issue_fields`, collect account field from the new table

* fix(jira): fix testes

* fix(jira): fix `reporter` field in issue change log items (#7726) (#7728)

Co-authored-by: Lynwee <[email protected]>

* fix(jira): fix account id when there is no from/to values (#7734) (#7735)

Co-authored-by: Lynwee <[email protected]>

* fix(jira): fix OriginalToValue in issue_changelogs (#7737) (#7738)

Co-authored-by: Lynwee <[email protected]>

* fix(jira): don't use `tmpFromAccountId` and `tmpToAccountId` in issue changelogs

* fix(jira): remove all usage of `tmpFromAccountId` and `tmpToAccountId`

* refactor(jira): remove some codes

* fix(jira): fix e2e test

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Klesh Wong <[email protected]>
Co-authored-by: abeizn <[email protected]>
Co-authored-by: 青湛 <[email protected]>
Co-authored-by: Wanis Fahmy <[email protected]>
Co-authored-by: Leric Zhang <[email protected]>
Co-authored-by: Sayeed M Hussain <[email protected]>
Co-authored-by: houlinwei <[email protected]>
Co-authored-by: long2ice <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bot/auto-cherry-pick-failed auto cherry pick failed component/plugins This issue or PR relates to plugins lgtm This PR has been approved by a maintainer needs-cherrypick-v0.21 needs-cherrypick-v1.0 pr-type/feature-development This PR is to develop a new feature size:XL This PR changes 500-999 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Feature][GitLab] Add assignees and reviewers to table.pull_requests
2 participants