32 Commits

Author SHA1 Message Date
Johannes Batzill
a83cd21c17 [OPEN-SOURCE] Prepare Repository (#605) 2023-09-24 07:33:16 +00:00
Enver Bisevac
21ab8f102b introduce new commit diff api 2023-09-20 13:13:03 +02:00
Marko Gacesa
bb7b0095b6 Merge branch 'mg/pipelines/generate' of _OKE5H2PQKOUfzFFDuD4FA/default/CODE/gitness (#523) 2023-09-18 16:46:31 +00:00
Johannes Batzill
27de7971b9 [File Viewed] Adding Full Stack Support for File Viewed Feature (#516) 2023-09-18 15:59:40 +00:00
Marko Gaćeša
eb1e523985 add API: generate pipeline YAML 2023-09-18 16:07:42 +02:00
Abhinav Singh
4ff032c968 feat: [CODE-852]: code export e2e (#483) 2023-09-15 08:08:13 +00:00
Marko Gaćeša
b78c04e054 import pipelines 2023-09-14 17:22:26 +02:00
Marko Gaćeša
239ae8f10f add repo import api 2023-09-08 11:55:38 +02:00
Marko Gaćeša
4f1767d512 dedicated api to get the last commit info 2023-08-10 18:42:10 +02:00
Enver Bisevac
7546f2cd6b initial work - diff stats, (files changed) 2023-08-02 14:34:39 +02:00
Johannes Batzill
c7e3620de9 [Tags] Improvements towards creation / listing /deletion (#220) 2023-07-25 00:04:47 +00:00
Enver Bisevac
7c6a28ecd1 Merge branch 'ap/add-tag-api' of _OKE5H2PQKOUfzFFDuD4FA/default/CODE/gitness (#36) 2023-05-16 15:35:52 +00:00
Akhilesh Pandey
527b3e18fa Add Validate to Service and Handler 2023-05-15 22:14:55 +05:30
Marko Gaćeša
be3b68e577 make merge base SHA not nullable 2023-04-27 13:12:54 +02:00
Marko Gaćeša
13e4ffe522 Add code comments 2023-04-13 14:12:01 +02:00
atefeh
5a23824882 Code-161 Add Git Repo Deletion API (GitRPC) and handle creation failure 2023-03-31 15:19:45 -07:00
Marko Gaćeša
c7c36e49e1 Add git blame API (#346) 2023-03-09 12:55:23 +01: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
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
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
Johannes Batzill
d1dd518b3f add commit details to webhook payload (#175) 2023-01-11 10:51:28 -08: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
Enver Bisevac
22b0595476 initial work on raw diff (#129) 2022-12-22 14:30:31 +01: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
ad619c7e3c [feat]ability to commit files using REST api (#82)
* initial work on commit files

* minor improvements, grpc server interceptors and more

* compare file old sha and current sha

* added some validation steps

* config immutable, introduce temp repos dir

* handler added to standalone

* fix CI linter, fix minor bug on update

* wire generator files
2022-11-22 19:24:40 +01:00
Johannes Batzill
60f0ea969d [API] Add API For Commit Divergence Calulation (#77)
This commit contains the following changes:
- Add `commits/calculate_divergence` API to calculate commit divergence of reference pairs
- Rename `serviceAccounts` to `service_accounts` to follow REST best practices
2022-11-16 16:53:31 -08:00
Johannes Batzill
c55c53deab [API] Add Create + Delete Branch API (+ Basic GIT Error Propagation) (#70)
This change adds the following:
- create / delete branch
- basic error propagation from git to user (notfound, conflict, invalidinput)
- create repo root folder in server instead of service constructor
2022-11-10 20:57:31 -08:00
Enver Bisevac
578dd13d8d [maint] eb/gitrpc refactor (#51)
* pull/push impl done

* Basic auth for harness

* gitrpc as top level package

* New ctor for package

* gitrpcserver instead of server2
2022-11-03 13:17:03 +01:00