Commit Graph

91 Commits (CODE-2402)

Author SHA1 Message Date
Marko Gaćeša 8dac8c2797 feat: [CODE-2335]: add dryrun option for rebase API (#2721)
* dryrun rebase
2024-09-23 14:46:17 +00:00
Marko Gaćeša 7c83c5520e feat: [CODE-2385]: add fast-forward merge (#2718)
* add fast-forward merge
2024-09-23 11:34:19 +00:00
Karan Saraswat 644678f50c feat: [CODE-2339]: Send sha in delete branch API and fix dry run rules behaviour (#2672)
* go lint issues and added return in the Deletebranch method
* removed the comment
* fixed go lint issues
* fixed query param in swagger
* Merge branch 'main' of https://git0.harness.io/l7B_kbSEQD2wjrM7PShm5w/PROD/Harness_Commons/gitness into ks/CODE-2339
* feat: [CODE-2339]: Send sha in delete branch API and fix dry run rules behaviour
2024-09-09 11:45:18 +00:00
Enver Biševac 61c794da0b feat: unrealted histories error handling (#2642)
* comments added
* return proper status and message for unrelated history
* code cleanup
* requested changes
* feat: unrealted histories error handling
2024-09-06 11:41:21 +00:00
Marko Gaćeša ffe585f8c4 add missing error check in CommitFiles (#2605)
* add missing error check in CommitFiles
2024-08-28 12:51:18 +00:00
Enver Biševac 7c2c732c9f fix complex file extensions like tar.gz (#2143)
* fix complex file extensions like tar.gz
2024-07-15 14:41:58 +00:00
Marko Gaćeša 4ac42fc6c9 Add additions and deletions to PRs (#2196) 2024-07-11 10:01:17 +00:00
Darko Draskovic fe7b1941ef Add omitempty to stats and run get change info for changes and types in parallel (#2105) 2024-06-14 15:41:53 +00:00
Enver Biševac 2f8900e463 [code-1946] initial work on ssh server (#2075) 2024-06-03 12:47:31 +00:00
Johannes Batzill 43897cd593 Fix DiffCut For New File (#2065) 2024-05-24 01:10:29 +00:00
Johannes Batzill bc568edd85 fix cleanup for failed repo create, cleanup summary git api (#2064) 2024-05-24 00:38:29 +00:00
Darko Draskovic adf041d747 Add repo summary endpoint (#2037) 2024-05-23 18:45:28 +00:00
Darko Draskovic d4ca33b82d Temporary rename info/alternates so --batch-all-objects doesn't follow it (#2039) 2024-05-20 18:43:52 +00:00
Marko Gaćeša fdd401c989 fix: [CODE-1858]: fix reading too long lines in diff hunk headers (#2036) 2024-05-16 11:37:38 +00:00
Johannes Batzill 423801d51a [Secret Scanning] Add basic support for gitleaksignore (#2030) 2024-05-09 22:00:03 +00:00
Johannes Batzill f6614fe151 Minor Fixes (#2028) 2024-05-09 00:01:52 +00:00
Enver Biševac fb5e38dd2c [code-1822-maint] add validation method to git archive params (#2016) 2024-04-26 22:54:08 +00:00
Enver Biševac 723377482c [code-1822] Download repository as archive using `git archive` command (#2010) 2024-04-26 20:03:51 +00:00
Johannes Batzill 9e7f80ebe0 Code Suggestions - Backend Support (#2006) 2024-04-26 16:54:50 +00:00
Johannes Batzill 86537b2c39 Fix merge related issues (#2012) 2024-04-25 22:00:53 +00:00
Darko Draskovic e2689a3b40 Add push file size limit and report func (and use it in githook) (#1173) 2024-04-24 16:31:18 +00:00
Johannes Batzill a690fa4ebc small fixes (#1232) 2024-04-19 01:36:03 +00:00
Marko Gacesa 032bbeb066 improve implementation of git FS (#1229) 2024-04-18 12:45:30 +00:00
Marko Gacesa 5076c71b78 introduce init states for the refupdater (#1212) 2024-04-17 06:59:27 +00:00
Marko Gacesa c28a618dd4 added git FS; removed clone from generate pipeline (#1219) 2024-04-16 08:02:21 +00:00
Enver Bisevac 650b6ba7df [maint] added NewOrEmpty for optional SHA value (#1218) 2024-04-15 14:39:06 +00:00
Marko Gacesa 9414262618 commit API uses action SHA as string (#1217) 2024-04-15 14:03:39 +00:00
Marko Gacesa 261b1f3e95 fix git command's end-of-options (#1213) 2024-04-12 14:20:42 +00:00
Marko Gacesa 781b3547c0 refactor git hook calling and shared repo (#1200) 2024-04-12 09:48:35 +00:00
Johannes Batzill 5652ca7bb3 Add Repo Path Listing API (#1197) 2024-04-10 20:04:08 +00:00
Marko Gacesa ad5989dae4 Handle symlinks and submodules in diffcut (#1185) 2024-04-08 10:46:40 +00:00
Darko Draskovic 3fea99155e Fix reg exp for extracting binary file stats (#1184) 2024-04-05 10:40:56 +00:00
Johannes Batzill b02da4b78a Improve secret scanning output (#1170) 2024-03-29 19:33:08 +00:00
Atefeh Mohseni-Ejiyeh bd2e9f4899 [GITLEAKS] Support Secret Scanning in Git and Pre-receive Hook (#1155) 2024-03-28 05:49:04 +00:00
Enver Bisevac 4deed68349 [fix] Conflict error on git not properly displayed (#1158) 2024-03-28 02:07:48 +00:00
Darko Draskovic 9a1e656be1 Add alternateObjectDirs param to get blob related funcs (#1157) 2024-03-28 02:02:06 +00:00
Johannes Batzill 18f857da48 fix issue with sha gob encoding/decoding (#1149) 2024-03-27 17:56:03 +00:00
Johannes Batzill e96ab4159b Add alternate_object_dirs support to githook handlers (#1141) 2024-03-26 23:52:49 +00:00
Enver Bisevac cecfecdb06 [code-1016] Replace `gitea` Usages (not wrapper) (#1063) 2024-03-26 20:31:30 +00:00
Darko Draskovic cda2de9606 Add fix for git show numstat result in - - str (#1130) 2024-03-21 17:43:32 +00:00
Johannes Batzill a6bfe6235f [MISC] Fix naming inconsistencies for FileDiffStatus (#1128) 2024-03-21 01:39:02 +00:00
Darko Draskovic 564a0fef61 Add support for listing commit related per file stats (#1116) 2024-03-20 18:31:48 +00:00
Abhinav Singh fd9f95c82b fix: include file stat bug (#1107) 2024-03-07 13:53:38 +00:00
Johannes Batzill 73ffe71afe Log error translation under requestID to improve traceability (#1070) 2024-02-27 06:05:42 +00:00
Darko Draskovic 8150be7a3b Add commit diff stat to list commits (#1062) 2024-02-23 11:27:06 +00:00
Johannes Batzill 1d74fcde4c [GIT] fix output for getting single commit without parents (#1060) 2024-02-21 22:17:06 +00:00
Johannes Batzill dd11c0eff5 Fix `Rebase` implementation (#1049) 2024-02-20 17:45:09 +00:00
Marko Gacesa 2a17b5f243 improve create code comment API (#1040) 2024-02-14 11:10:52 +00:00
Atefeh Mohseni-Ejiyeh fc9e77c91c Support soft delete, restore and purge repos plus a cleanup job for old deleted repos (#1005) 2024-02-14 01:39:39 +00:00
Johannes Batzill 40e5b84ba1 Fix `MOVE` action for Commit API (#1037) 2024-02-10 01:10:20 +00:00