Commit Graph

21 Commits (bb82438965243b6a460b6ce5ae7ca31dcf9f5d56)

Author SHA1 Message Date
Darko Draskovic bb82438965 feat: [CODE-3278]: Add PR activity for reviewers that were added on PR creation (#3499)
* Reuse PullRequestActivityPayloadReviewerAdd and amend it with PrinciaplIDs
* Remove unused and redundant activity (sub)type
* Merge remote-tracking branch 'origin/main' into dd/pr-reviewer-creation-activity
* Replace store individual activity per reviewer added with store batch
* Add PR activity for reviewers that were added on PR creation
2025-03-03 16:07:01 +00:00
Darko Draskovic df7ac77361 feat: [CODE-3233]: Automatically add default reviewers based on rules (#3464)
* Fix tests
* Amend on protection rules verify to include the entire rule output data
* Merge remote-tracking branch 'origin/main' into dd/rule-reviewers
* Fix protection.Branch init in mapToBranchRules
* Amend MergeVerify to include number of default reviewer approvals
* Merge remote-tracking branch 'origin/main' into dd/rule-reviewers
* Refactor add code owners as reviewers to include add default reviewers
* Automatically add default reviewers based on rules
2025-02-25 15:52:59 +00:00
Darko Draskovic e39ae83e78 feat: [CODE-2987]: Add codeowners as reviewers (#3439)
* Handle violations in branch CreatePullReqVerify
* Merge remote-tracking branch 'origin/main' into dd/codeowner-reviewers
* Add PullReq infix to Create rule interface and dedup reviewers in PR create
* Add create field to pullreq field in rule def
* Add codeowners as reviewers
2025-02-20 16:03:06 +00:00
Darko Draskovic 13f6558ca3 techdebt: [CODE-3169]: Move unnecessary DB calls related to reviewer creation out of the create PR tx (#3420)
* Move activity creation out of tx and reset pr act seq after pr creation
* Add storeCreateReviewerActivity
* Move unnecessary DB calls related to reviewer creation out of the create PR tx
2025-02-13 11:14:36 +00:00
Marko Gaćeša a906259562 feat: [CODE-3148]: refactor refcache (#3390)
* linter issues fix
* reintroduce repofinder to aiagent
* Merge remote-tracking branch 'origin/main' into mg/cache/space-and-repo-finder
* removed refcache deps from aiagent
* pr comments
* fix linter issues
* refactor refcache
2025-02-12 12:42:12 +00:00
Darko Draskovic 72e7a3dde9 techdebt: [CODE-3169]: Move unnecessary DB calls related to label assignment out of the create PR tx (#3402)
* Merge remote-tracking branch 'origin/main' into dd/remove-from-transaction
* Move storeLabelAssignActivity to tx
* Move pr backfill with label info and activity storing out of the tx
* Replace slices containing label/value info with an assignment map
* Move unnecessary DB calls related to label assignment out of the create PR tx
2025-02-11 18:44:17 +00:00
Marko Gaćeša 530a707052 feat: [CODE-3076]: update several refs on merge (#3355)
* resolve pr comments
* update several refs on merge
2025-02-03 10:52:01 +00:00
Marko Gaćeša 2fa3914fa9 feat: [CODE-3076]: create and update PR refs in the PR controller (#3319)
* update pr refs in controller
2025-01-27 13:38:55 +00:00
Darko Draskovic 6554c472d1 feat: [PIPE-24548]: Add label creation to pullreq creation (#3276)
* Refactor label select base const and its use
* Add created labels to create pr response
* Merge remote-tracking branch 'origin/main' into dd/pr-creation-label-assign
* Add label creation to pullreq creation
2025-01-16 16:48:56 +00:00
Darko Draskovic 9d4fc2c796 feat: [CODE-2975]: Add reviewers creation to pull req creation (#3182)
* Put pull req creation in tx
* Fix auth error handling and struct/json key/field name
* Merge remote-tracking branch 'origin/main' into dd/pr-create-reviewers
* Move create reviewers functionality into a helper func
* Add reviewers creation to pull req creation
2024-12-23 14:48:52 +00:00
Darko Draskovic 265eb40f22 feat: [CODE-1353]: Add status check and merge check SSE events (#3146)
* Merge remote-tracking branch 'origin/main' into dd/sse-events
* Add webhook create/update/delete event
* Add branch/tag created/updated deleted events
* Merge remote-tracking branch 'origin/main' into dd/sse-events
* Merge remote-tracking branch 'origin/main' into dd/sse-events
* Merge remote-tracking branch 'origin/main' into dd/sse-events
* Add new event types
* Merge remote-tracking branch 'origin/main' into dd/sse-events
* Add logs directly to publisher
* Merge remote-tracking branch 'origin/main' into dd/sse-events
* Add status check and merge check SSE events
2024-12-18 16:00:58 +00:00
Marko Gaćeša 2892378036 feat: [CODE-1474]: add check PR rebaseability (#2763)
* update migration number
* rename UpdateConflict->UpdateMergeOutcome
* small fixes
* handle mergeability for all merge methods
* alway separate rebaseability check
* add check PR rebaseability
2024-10-04 12:36:32 +00:00
Enver Biševac 6d0db9512e feat: instrumentation, intitial work (#2475)
* requested changes
* requested changes
* feat: instrumentation, intitial work
2024-08-18 22:04:34 +00:00
Marko Gaćeša 4b289c1232 feat: [CODE-2153]: add limits on PR text fields (#2412) 2024-08-07 10:07:41 +00:00
Marko Gaćeša 4ac42fc6c9 Add additions and deletions to PRs (#2196) 2024-07-11 10:01:17 +00:00
Atefeh Mohseni Ejiyeh c365ef246a Support Public Access (#2021) 2024-05-23 04:56:26 +00:00
Atefeh Mohseni-Ejiyeh fea9e46dc8 Mitigate racing condition between create repos and delete space (#1178) 2024-04-08 19:14:10 +00:00
Enver Bisevac cecfecdb06 [code-1016] Replace `gitea` Usages (not wrapper) (#1063) 2024-03-26 20:31:30 +00:00
Johannes Batzill 99c27f8fac [Pullreq] Send SSE on Merge DryRun (#850) 2023-12-01 00:54:39 +00:00
Enver Bisevac 67f560874d [maint] gitrpc package removed (#726) 2023-11-15 10:15:32 +00:00
Johannes Batzill a8cb5dc8d2 remove internal package and move to app - might be refactored more in the coming weeks 2023-09-26 11:25:15 -07:00