16 Commits

Author SHA1 Message Date
Hitesh Aringa
b31ae8c257 [CODE-1011]: Disable case sensitive branch search and remove gitea open repo (#732) 2023-10-27 23:46:34 +00:00
Johannes Batzill
adeb965723 [MISC] Make Update Action sha optional in Commit API. (#722) 2023-10-25 19:51:21 +00:00
Johannes Batzill
a83cd21c17 [OPEN-SOURCE] Prepare Repository (#605) 2023-09-24 07:33:16 +00:00
Enver Bisevac
82e0d9d4a8 commit files error handling 2023-08-08 10:39:33 +02:00
Johannes Batzill
833e2a08de process gitea error on gitea.OpenRepository failure 2023-07-06 23:09:18 -07:00
Johannes Batzill
63c45cb0db [GITHA] Prepare GITRPC for GITHA changes (HTTP Server, GRPC Operations: Sync, RemoteDefaultBranch, Deterministic CommitID) (#153) 2023-06-22 16:54:18 +00:00
Enver Bisevac
8ab5185263 fixed linter issues 2023-05-17 21:56:23 +02:00
Enver Bisevac
7c6a28ecd1 Merge branch 'ap/add-tag-api' of _OKE5H2PQKOUfzFFDuD4FA/default/CODE/gitness (#36) 2023-05-16 15:35:52 +00: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
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
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
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
Enver Bisevac
ee40f2af7a title + description in commit files 2022-11-29 11:05:35 +01:00
Enver Bisevac
732e1914ae minor refactoring and optimization 2022-11-25 18:58:20 +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