Johannes Batzill
9d894c79cc
[MERGE] Enhance PR Merge (Check) Fields. ( #342 )
2023-02-14 20:18:10 -08:00
Johannes Batzill
ee035dfb3b
[MISC] Make Search Query Case-Insensitive for Repo/Space/PR/Webhook ( #330 )
2023-02-13 15:31:59 -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
Marko Gaćeša
825336d0e4
Added missing context in some of the log calls ( #250 )
2023-01-25 14:06:48 +01:00
Enver Bisevac
6a7cc4e518
[scm-63] fix for empty commits and diff in PR ( #228 )
2023-01-20 02:27:51 +01:00
Johannes Batzill
335998505e
[MISC] Introduce PathStore and Move PathLogic to Controller Layer ( #226 )
...
This change is a follow up on the effort to remove transactions and sync stores from the database layer, and move them in the application layer. It is addressing the repo + space store.
The following changes are included:
- Introduce PathStore storing resource paths (repo + space)
- Add foreign key from path.repo_id/space_id to repo.id/space.id
- Add foreign key from repo/space.parent_id to space.id
- Remove repo_sync and space_sync
- Move path creation logic to repo/space controller (for both creating primary paths for new repos/spaces, as well as creating alias spaces)
- Reimplement repo/space moving on controller layer
2023-01-18 11:34:12 -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
bacda596fa
Added Correct method for enum types ( #194 )
2023-01-13 13:59:53 +01:00
Marko Gaćeša
091ff2d618
Removed joins from the PR-related list quieries ( #204 )
2023-01-13 13:58:49 +01:00
Marko Gaćeša
8909037ec7
enum types should have Enum() method ( #192 )
2023-01-12 17:13:03 +01:00
Marko Gaćeša
24e03c03e0
Added principal info cache ( #173 )
...
* added principal info cache
* updated code based on the PR comments
* updated implementation of deduplicate()
* minor changes
* [K, T] -> [K, V]
2023-01-11 20:32:37 +01:00
Enver Bisevac
63de576d08
[feat] initial work on merging PR ( #170 )
...
* initial work on merging PR
* code refactored based on requested changes
* requested changes
2023-01-10 02:09:43 +01:00
Johannes Batzill
06721dcf20
[Techdebt] merge user/service/serviceaccount stores into single principal store ( #160 )
...
This change merges the `UserStore`, `ServiceStore`, and `ServiceAccountStore` into a single `PrincipalStore`.
2023-01-05 15:58:18 -08:00
Marko Gaćeša
98ac3d130d
techdebt: [SCM-43]: Using opt lock to generate PR number ( #151 )
2023-01-04 12:24:17 +01:00
Marko Gaćeša
a79e187a88
DB & API refactor: Use snake case ( #144 )
...
Update DB and API to follow Harness Standard
2022-12-29 13:53:08 -08:00
Marko Gaćeša
7fc77396a9
Pull request timeline feature: DB and the list API ( #136 )
2022-12-26 12:17:38 +01:00
Marko Gaćeša
8f5e579001
rename DB table pullreq to pullreqs; added version ( #130 )
2022-12-22 20:21:15 +01:00
Marko Gaćeša
204548169d
pullreq: update API ( #122 )
2022-12-13 16:13:27 +01:00
Marko Gaćeša
6bde210adf
added branch params to PR list API ( #119 )
2022-12-09 15:45:02 +01:00
Marko Gaćeša
a0646e9935
using a lib for sql null types ( #117 )
2022-12-08 16:30:49 +01:00
Marko Gaćeša
15163f3daa
pullreq: dedicated struct for pulling data from DB ( #116 )
2022-12-08 12:52:31 +01:00
Marko Gaćeša
9e86875217
Returning author and merger info for PRs ( #114 )
2022-12-07 14:03:17 +01:00
Enver Bisevac
7a54ef9d65
fix with file content on commit, fix linter, removed unused provider
2022-11-30 22:36:01 +01:00
Marko Gaćeša
1f4ac7e4b4
pullreq: list API ( #99 )
2022-11-30 13:56:29 +01:00
Marko Gaćeša
1eba93695b
feat: pull requests ( #89 )
...
* feat: pull requests, data layer
* pull requests: api layer
* add pull request number
* added auth check
2022-11-29 13:51:59 +01:00