Marko Gaćeša
5e1b1b407e
feat: [CODE-3279]: revert PR API ( #3657 )
...
* pass the patch filename as a param to git
* revert doesn't return conflict
* revert PR API
2025-04-10 11:16:55 +00:00
Johannes Batzill
9d5ceb0033
fix: [CODE-3379]: Remove PR author from default reviewer evaluation ( #3578 )
2025-03-20 19:33:56 +00:00
Darko Draskovic
cad0fbdf98
feat: [CODE-3256]: Add merge verify rule info related to minimum required approvals count for default reviewers ( #3483 )
...
* Merge remote-tracking branch 'origin/main' into dd/merge-verify-rules
* Replace princiapl ids with infos in merge verify response
* Populate DefaultReviewerApprovalsResponse with principal ids and current count
* Add MergeVerifyRulesResponse type
2025-02-26 17:56:59 +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
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
Marko Gaćeša
722084608c
feat: [CODE-3174]: improve pullreq space list API ( #3409 )
...
* improve pullreq space list API
2025-02-11 20:21:06 +00:00
Marko Gaćeša
f016ac9ac9
feat: [CODE-3030]: introduce include_git_stats param for list PRs APIs ( #3284 )
...
* introduce include_git_stats param for list PRs APIs
2025-01-17 11:27:23 +00:00
Marko Gaćeša
0db33abeb1
feat: [PIPE-22454]: add PR metadata in get/list PR API response ( #2912 )
...
* add PR metadata in PR API response
2024-11-05 12:02:44 +00:00
Marko Gaćeša
35b7745b65
fix: [CODE-2583]: fix merge dry_run with no method; add dry_run_rules to merge ( #2862 )
...
* default to "merge" method for dry-run of merge
* fix merge dry_run with no method; add dry_run_rules to merge
2024-10-25 11:16:37 +00:00
Marko Gaćeša
4d577bb378
fix: [CODE-2134]: replace include_description with exclude_description param ( #2808 )
2024-10-14 18:08:07 +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
Marko Gaćeša
1e644163d3
deprecate PR edited field ( #2692 )
...
* deprecate PR edited field
2024-09-16 15:44:17 +00:00
Johannes Batzill
77b01718bd
feat: [CODE-2179]: Add error message to protection rule violation error responses ( #2665 )
2024-09-06 18:54:15 +00:00
Marko Gaćeša
fb99bcb8d2
add mentioned_id filter to the pull request list API ( #2635 )
...
* add mentioned_id filter to the pull request list API
2024-09-04 08:21:29 +00:00
Marko Gaćeša
a2d2ba07aa
add user filters to the pull request list API ( #2624 )
...
* add user filters to the pull request list API
2024-09-02 09:00:50 +00:00
Marko Gaćeša
75042e9293
add pullreq list API for spaces ( #2606 )
...
* moved the service to the existing pullreq package
* add pullreq list API for spaces
2024-08-29 11:49:33 +00:00
Akhilesh Pandey
0578be8afe
feat: [CODE-1941]: user group changes ( #2134 )
...
* feat: [CODE-1941]: remove usergroup filter from request
* feat: [CODE-1941]: decrement page for harness-core
* feat: [CODE-1941]: update pagination request
* feat: [CODE-1941]: change interface from find to list
* feat: [CODE-1941]: change reviewer add permissions
* feat: [CODE-1941]: comments
* feat: [CODE-1941]: comments
* fix wire issues
* feat: [CODE-1941]: remove users from the db table usergroups
* feat: [CODE-1941]: annotate errors
* feat: [CODE-1941]: annotate errors
* feat: [CODE-1941]: sql style
* feat: [CODE-1941]: revert common.go change for parse limit
* feat: [CODE-1941]: move usergroup listing to space level
* feat: [CODE-1941]: update usergroup listing and update delete to push permission
* feat: [CODE-1941]: Update combined listing
* feat: [CODE-1941]: Update combined listing
* feat: [CODE-1941]: format
* feat: [CODE-1941]: rebase
* feat: [CODE-1941]: separate db struct for usergroup.go
* feat: [CODE-1941]: change usergroup filter to default query and review comments
* feat: [CODE-1941]: change usergroup filter to default
* feat: [CODE-1941]: change return type for search service interface
* feat: [CODE-1941]: change return type for search service interface
* feat: [CODE-1941]: change return type for search service interface
* feat: [CODE-1941]: Search Service interface and wire changes
* feat: [CODE-1941]: Search Service interface and wire changes
* feat: [CODE-1941]: Search UserGroups Handler change - codeformat
* feat: [CODE-1941]: Search UserGroups Handler change - codeformat
* feat: [CODE-1941]: Search UserGroups Handler change - codeformat
* feat: [CODE-1941]: Search UserGroups Handler change
* feat: [CODE-1941]: Big change: New LOGIC for UserGroup Reviewers
* feat: [CODE-1941]: DB changes
* feat: [CODE-1941]: listing api
* feat: [CODE-1941]: mapping methods
* feat: [CODE-1941]: list method for pullreq_reviewers db
* feat: [CODE-1941]: database queries
* feat: [CODE-1941]: database queries
* feat: [CODE-2058]: dbstore changes
* feat: [CODE-1941]: Controller and Database code
* feat: [CODE-1941]: update reviewer_add.go code
* feat: [CODE-1941]: update reviewers and usergroup db migrations
* feat: [CODE-1941]: Update API ops
* feat: [CODE-1941]: Update DB ops for reviewers
* feat: [CODE-1941]: db migration update
* feat: [CODE-1941]: db migration update
* feat: [CODE-1941]: code comments
* feat: [CODE-1941]: update migration numbering
* feat: [CODE-1941]: Add postgresql migrations
* feat: [CODE-1941]: Update DB ops for reviewers
feat: [CODE-1941]: Update API ops
feat: [CODE-1941]: update reviewers and usergroup db migrations
feat: [CODE-1941]: update reviewer_add.go code
feat: [CODE-1941]: break pr
feat: [CODE-1941]: break pr
feat: [CODE-1941]: Update migration numbering
* feat: [CODE-1941]: create table usergroups
* feat: [CODE-1941]: table migrations
* feat: [CODE-1941]: user group changes
2024-08-26 15:35:27 +00:00
Darko Draskovic
b1ac141460
Add list labels per pr to pr list ( #2372 ) ( #2387 )
...
* Add list labels per pr to pr list (#2372 )
* Refactor to pullreq(s) backfill funcs
* Add list labels per pr to pr list
2024-08-07 15:32:30 +00:00
Darko Draskovic
497c426a01
Add list labels per pr to pr list ( #2372 )
...
* Refactor to pullreq(s) backfill funcs
* Add list labels per pr to pr list
2024-08-02 11:57:09 +00:00
Marko Gaćeša
4ac42fc6c9
Add additions and deletions to PRs ( #2196 )
2024-07-11 10:01:17 +00:00
Johannes Batzill
86537b2c39
Fix merge related issues ( #2012 )
2024-04-25 22:00:53 +00:00
Darko Draskovic
9699ec503d
Add closed timestamp to pull req ( #1222 )
2024-04-17 20:24:04 +00:00
Abhinav Singh
aff7391e08
feat: add multi user created by filter ( #1190 )
2024-04-09 09:30:26 +00:00
Abhinav Singh
f20189812b
feat: list pr time filter ( #1188 )
2024-04-05 23:17:33 +00:00
Johannes Batzill
c5383940bd
Integrate approvals.RequireLatestcommit to merge dryrun ( #1183 )
2024-04-04 22:39:23 +00:00
Johannes Batzill
dc7b3bc79a
[Rules] Expose extra Branch.PullReq
fields on merge DryRyn as required by UI ( #1117 )
2024-03-13 23:37:10 +00:00
Marko Gacesa
03b33aca77
store PR commit count in the DB ( #842 )
2023-11-30 15:01:18 +00:00
Marko Gacesa
98dc67fc71
return allowed merge methods for merge dry run ( #781 )
2023-11-08 18:55:25 +00:00
Marko Gacesa
3a7617a2e6
add dry_run option to the merge API ( #737 )
2023-11-01 19:57:28 +00:00
Marko Gacesa
6ee49f9848
API returns status 422 in case of rule violations ( #718 )
2023-10-26 08:35:42 +00:00
Marko Gacesa
8d82daf876
merge API: return if the branch is deleted ( #701 )
2023-10-20 11:27:51 +00:00
Marko Gacesa
419fe92dde
add branch protection: DB and API layer ( #671 )
2023-10-16 11:33:00 +00:00
Johannes Batzill
a83cd21c17
[OPEN-SOURCE] Prepare Repository ( #605 )
2023-09-24 07:33:16 +00:00
Johannes Batzill
27de7971b9
[File Viewed] Adding Full Stack Support for File Viewed
Feature ( #516 )
2023-09-18 15:59:40 +00:00
Enver Bisevac
7cce097b0f
error handling on merge operation
2023-08-02 14:11:25 +02:00
Enver Bisevac
3889cb891f
use enum from types
2023-05-12 19:01:29 +02:00
Enver Bisevac
74c3c856a8
squash merge option added
2023-05-12 14:33:02 +02:00
Marko Gaćeša
59b7cf5e69
comment status API
2023-05-08 16:03:23 +02:00
Marko Gaćeša
be3b68e577
make merge base SHA not nullable
2023-04-27 13:12:54 +02:00
Johannes Batzill
9d894c79cc
[MERGE] Enhance PR Merge (Check) Fields. ( #342 )
2023-02-14 20:18:10 -08:00
Enver Bisevac
82b8679d6f
[fix] diff-stats api returns total commits and files changed in compare branches ( #323 )
2023-02-13 00:47:23 +01:00
Enver Bisevac
13a456e357
[scm-58] Add merge-check
and Integrate with PR ( #318 )
...
Co-authored-by: Johannes Batzill <johannes.batzill@harness.io>
2023-02-11 23:22:12 -08:00
Marko Gaćeša
9dfad8b5e1
Added column comment_count to the PR entity ( #280 )
2023-02-02 11:31:22 +01:00
Enver Bisevac
e2b350e704
[maint] pr statistic is in pr response now ( #269 )
2023-01-31 15:21:05 +01:00
Enver Bisevac
baa3822acc
[SCM-55] initial work on PR metadata ( #262 )
2023-01-31 02:08:23 +01:00
Johannes Batzill
085e63422b
[MISC] Explicitly type PullReqActivity.Payload ( #233 )
2023-01-20 12:29:13 -08:00
Marko Gaćeša
ec4003e331
Handling branch events for PRs ( #221 )
2023-01-18 13:26:20 +01:00
Marko Gaćeša
8151b4591e
PR change state API; Removed rejected state ( #220 )
2023-01-17 16:04:30 +01:00
Marko Gaćeša
ce55d3349c
added merge commit sha fields to PR ( #205 )
2023-01-13 14:49:24 +01:00
Marko Gaćeša
8909037ec7
enum types should have Enum() method ( #192 )
2023-01-12 17:13:03 +01:00