Abhinav Singh
7f6947f0ea
feat: [CODE-200]: list commits with date filter
2023-05-17 14:37:19 -07:00
Abhinav Singh
f41b8bc7ce
Merge remote-tracking branch 'origin' into abhinav/CODE-200
2023-05-17 14:10:24 -07:00
Enver Bisevac
8ab5185263
fixed linter issues
2023-05-17 21:56:23 +02:00
Enver Bisevac
0d1fd8d9c5
return bad request if head and base branch have same commit sha
2023-05-17 17:05:11 +02:00
Abhinav Singh
05849f48e6
feat: [CODE-200]: list commits with date filter
2023-05-17 01:53:23 -07:00
Abhinav Singh
943708dcc7
feat: [CODE-200]: list commits with date filter
2023-05-17 01:39:35 -07:00
Enver Bisevac
7c6a28ecd1
Merge branch 'ap/add-tag-api' of _OKE5H2PQKOUfzFFDuD4FA/default/CODE/gitness ( #36 )
2023-05-16 15:35:52 +00:00
Abhinav Singh
a901efa5e6
Merge branch 'ap/delete-tag' of _OKE5H2PQKOUfzFFDuD4FA/default/CODE/gitness ( #68 )
2023-05-15 19:45:34 +00:00
Akhilesh Pandey
527b3e18fa
Add Validate to Service and Handler
2023-05-15 22:14:55 +05:30
Enver Bisevac
25a0f31df6
rebase and merge implementation
2023-05-15 18:12:55 +02:00
Enver Bisevac
4c4035d1e3
Merge branch 'eb/code-174' of _OKE5H2PQKOUfzFFDuD4FA/default/CODE/gitness ( #63 )
2023-05-12 15:57:52 +00:00
Enver Bisevac
74c3c856a8
squash merge option added
2023-05-12 14:33:02 +02:00
Abhinav Singh
24fab5b3bf
should have old path new path param to determine if we moved or got moved.
2023-05-09 13:29:56 -07:00
Abhinav Singh
59a7cdf8a8
feat: [CODE-260]: commit api should have path filter
2023-05-08 22:54:00 -07:00
Marko Gaćeša
96942f13b6
fix line numbers for code comments
2023-04-28 13:55:58 +02:00
Marko Gaćeša
be3b68e577
make merge base SHA not nullable
2023-04-27 13:12:54 +02:00
Johannes Batzill
89bb0f6b99
update gitRPC getBlob api to stream blob content, add 'raw' api.
2023-04-18 11:39:59 -07:00
Marko Gaćeša
13e4ffe522
Add code comments
2023-04-13 14:12:01 +02:00
atefeh
309a1a612a
fix gitrpc error handling in controller
2023-04-03 11:35:51 -07:00
Atefeh Mohseni-Ejiyeh
5f211bdea5
Merge branch 'atmsn/delete-repo' of _OKE5H2PQKOUfzFFDuD4FA/default/CODE/gitness ( #11 )
2023-03-31 22:26:16 +00:00
atefeh
5a23824882
Code-161 Add Git Repo Deletion API (GitRPC) and handle creation failure
2023-03-31 15:19:45 -07:00
Enver Bisevac
e38b0ebc65
fix for branch create in empty repo, minor config changes for err shadow
2023-03-21 11:53:23 +01:00
Enver Bisevac
75ec201c2b
Merge branch 'eb/gitrpc_error_handling' of _OKE5H2PQKOUfzFFDuD4FA/default/CODE/gitness ( #8 )
2023-03-21 10:19:21 +00:00
Marko Gaćeša
c7c36e49e1
Add git blame API ( #346 )
2023-03-09 12:55:23 +01:00
Enver Bisevac
56d8f304a6
gitrpc error handling - initial work
2023-03-06 16:36:19 +01:00
Johannes Batzill
9d894c79cc
[MERGE] Enhance PR Merge (Check) Fields. ( #342 )
2023-02-14 20:18:10 -08:00
Johannes Batzill
821610a375
[MISC] Support Branch Creation for Target Branch/Tag/Commit ( #327 )
2023-02-12 21:19:30 -08: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
Johannes Batzill
89aa9cd70a
[GIT] Set Harness/Gitness as Committer for API Created Commits ( #310 )
2023-02-03 20:22:24 -08:00
Johannes Batzill
fe83493623
[API] Add GetBranch API ( #290 )
2023-02-01 18:13:27 -08:00
Enver Bisevac
baa3822acc
[SCM-55] initial work on PR metadata ( #262 )
2023-01-31 02:08:23 +01:00
Johannes Batzill
bfb0466b11
[MISC] Move configurations to their respective packages ( #256 )
2023-01-26 17:30:26 -08:00
Marko Gaćeša
d6ce1bc762
Added gitrpc.UpdateRef ( #236 )
2023-01-20 17:06:35 +01:00
Enver Bisevac
6a7cc4e518
[scm-63] fix for empty commits and diff in PR ( #228 )
2023-01-20 02:27:51 +01:00
Enver Bisevac
aafec0a9dc
fix merge-base in diff ( #206 )
2023-01-17 12:36:57 +01:00
Johannes Batzill
e448c6f763
[GIT] Fix commit API for empty repo, remove unused functions
2023-01-16 10:22:49 -08:00
Johannes Batzill
c827fa5e66
[MISC] Webhook Creation Default To Secure, Fix PR/Compare Commit Listing, Fix Merge Commit Message ( #203 )
...
This change is fixing a few things on both UI and backend side:
- update webhook creation screen to default to enable ssl verification (secure by default should always be the move)
- fix pr/compare commit listing to show correct diffs the head branch is ahead of the base branch (NOTE: THIS ONLY SHOWS THE LATEST 20 COMMITS - NO PAGINATION ADDED)
- fix merge commit message to contain the correct head branch, source repo path and pr numbers (similar'ish to github)
2023-01-13 02:49:39 -08:00
Johannes Batzill
5e3837b9cf
[MISC] disable 'update' git hook ( #181 )
2023-01-11 17:09:46 -08:00
Johannes Batzill
d1dd518b3f
add commit details to webhook payload ( #175 )
2023-01-11 10:51:28 -08:00
Enver Bisevac
2c62dda460
[maint] added ReadTree method to git adapter ( #174 )
...
* added ReadTree method in git adapter
* minor fix and rebase to main
2023-01-11 00:32:51 +01:00
Enver Bisevac
2f5339ece5
merge operation refactored ( #172 )
2023-01-10 13:54:08 +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
6c567b38d0
[MISC] Move GitRPC to Read/WriteRequest, Update Create/Delete Branch to use Push, Setup githook Symlink, Accept Incoming X-Request-Id ( #157 )
2023-01-05 11:03:35 -08:00
Johannes Batzill
7ada1af3aa
[API] Add after
Support to Commit Listing ( #155 )
2023-01-04 16:59:43 -08:00
Johannes Batzill
1f1118f624
[Webhook] Add Event Processing and Retrigger ( #148 )
...
This change includes:
- webhook event processor (includes actual webhook execution)
- webhook retrigger API allowing to retrigger previous webhook executions
2023-01-04 14:43:36 -08:00
Enver Bisevac
22b0595476
initial work on raw diff ( #129 )
2022-12-22 14:30:31 +01:00
Johannes Batzill
7abcacdd2f
feat: Add Events Framework ( #120 )
...
This Commit adds:
- stream package (provides different implementation of stream producers and consumers)
+ Redis -> will be used for any non-local deployments
+ InMemory -> a VERY BASIC implementation that is used for local execution
- events package
+ GenericReporter -> responsible for reporting events, can be used to send any type of event and payload
+ GenericReader -> responsible for reading events from a stream, can be used to register handlers for any type of event and payload
+ ReaderFactory -> responsible for launching readers for any type of consumer group&name.
- webhook package
+ The wire frame of the webhook package.
- gitrpc/events package
+ defines event Reader/Reporter for events of category git
2022-12-16 13:37:08 -08:00
Johannes Batzill
3b120dd2b3
Add Zerolog Support to GITRPC ( #126 )
...
This change adds the following:
- Inject APP server zerolog RequestID as metadata into all gitrpc calls from client side.
- Inject Zerolog logger into context with common fields set (like service, method, requestID, ...). This allows for better request tracking within gitrpc, but also request tracking across services we extract the requestID send by the grpc client
- Modify http logs to use http. prefix for common http related logging annotations.
2022-12-16 08:39:10 -08:00
Marko Gaćeša
8bdb31a4e2
checking branch existence in PR create ( #105 )
...
* checking branch existence in PR create
* added new methods to gitrpc: existence check for branch and tag
2022-12-06 12:26:12 +01:00
Enver Bisevac
ee40f2af7a
title + description in commit files
2022-11-29 11:05:35 +01:00