Commit Graph

862 Commits

Author SHA1 Message Date
Ansuman Satapathy
8d0c8b2f1e feat: [CDE-742]: add common scm auth functionality (#3729)
* feat: [CDE-742]: add common scm auth functionality
* feat: [CDE-742]: add common scm auth functionality
* feat: [CDE-742]: add common scm auth functionality
* feat: [CDE-742]: add common scm auth functionality
* feat: [CDE-742]: add common scm auth functionality
2025-04-24 12:15:36 +00:00
Darko Draskovic
a1969452b8 fix: [CODE-3460]: Update API path for pr update target branch (#3662)
* Revert to PUT for HTTP method
* Merge remote-tracking branch 'origin/main' into dd/target-branch-handler
* Update API path for pr update target branch
2025-04-22 11:36:26 +00:00
Ansuman Satapathy
febd3e3fc9 feat: [CDE-739]: added type github enterprise scm provider for cde (#3708)
* feat: [CDE-739]: added github enterprise scm provider for cde
* feat: [CDE-739]: added github enterprise scm provider for cde
2025-04-22 05:51:09 +00:00
Dhruv Dhruv
6c6dfdb0b9 feat: [CDE-718]: Updating sequence for cde-gateway related migration scripts. (#3710)
* feat: [CDE-718]: Updating sequence for cde-gateway related migration scripts.
2025-04-22 05:19:31 +00:00
Dhruv Dhruv
7c42a497e5 feat: [CDE-718]: Adding support for cde-gateways. (#3696)
* feat: [CDE-718]: Adding existence checks in cde-gateway related migration scripts.
* feat: [CDE-718]: Updating the report stats service.
* feat: [CDE-718]: Adding cde-gateway related tables and services.
2025-04-22 05:08:21 +00:00
Johannes Batzill
952a6d852f feat: [CODE-3514]: make mediator public (#3709) 2025-04-22 01:33:04 +00:00
Johannes Batzill
dbb193e834 feat: [CODE-3514]: Track git writes per account (#3671) 2025-04-22 00:51:51 +00:00
Atefeh Mohseni Ejiyeh
bdfe97f77c fix: [CODE-3545] Evict repo cache when deleting importing repositories (#3699) 2025-04-22 00:51:36 +00:00
Abhinav Singh
a4616af1fb fix: [CODE-1944]: add failure ignored flag for check (#3647)
* fix: [CODE-1944]: add failure ignored flag for check
* fix: [CODE-1944]: add failure ignored flag for check
* fix: [CODE-1944]: add failure ignored flag for check
2025-04-21 21:01:58 +00:00
Atefeh Mohseni Ejiyeh
af75e56eb6 feat: [CODE-3546] update allowed states on LFS APIs for migrating repos (#3707) 2025-04-21 19:08:54 +00:00
Shivanand Sonnad
8b277e62d7 feat: [AH-1223]: Implement delete version for non oci package types (#3684)
* feat: [AH-1223]: fix failing go lint
* feat: [AH-1223]: fix failing go lint
* feat: [AH-1223]: file name change
* feat: [AH-1223]: file name change
* feat: [AH-1223]: fix go lint errors
* feat: [AH-1223]: add RPM package type in switch case
* feat: [AH-1223]: cascade delete download_stats and bandwidth_stats
* feat: [AH-1223]: resolve PR comments
* feat: [AH-1223]: resolve PR comments
* feat: [AH-1223]: fix failing go lint checks
* feat: [AH-1223]: add different switch case for delete based on package type
* feat: [AH-1223]: Implement delete version for non oci package types
2025-04-18 09:01:07 +00:00
Atefeh Mohseni Ejiyeh
df94dca3a7 feat: [CODE-3500] add Git LFS support to the repository setting (#3672) 2025-04-16 15:59:23 +00:00
Johannes Batzill
6b50985f20 fix: [CODE-3524]: Fix cache eviction for repo move operation, improve PR revert commit title (#3686) 2025-04-16 00:19:45 +00:00
Deepak Bhatt
691e692c21 Feat: [CDE-714]: add resource name as input parameter for infra provider validation (#3683)
* Feat: [CDE-714]: add resource name as input parameter for infra provider validation
2025-04-15 09:40:58 +00:00
Deepak Bhatt
9907c2e6bf Feat: [CDE-580]: support jetbrains plugins installation and fix bug for provisioning existing infra (#3676)
* Feat: [CDE-580]: fix installation on multiple plugins
* Feat: [CDE-580]: fix nil pointer dereference and fix payload
* Feat: [CDE-580]: support jetbrains plugins installation
2025-04-15 04:47:17 +00:00
Atefeh Mohseni Ejiyeh
8945d977f9 fix: [CODE-3520] cast LFS object size to BIGINT for postgres compatibility (#3681) 2025-04-15 01:10:31 +00:00
Atefeh Mohseni Ejiyeh
af9eb2a94a feat: [CODE-3520] update repo size calculator job to include Git LFS objects size (#3680) 2025-04-15 00:29:08 +00:00
Abhinav Singh
d5f1f27c34 feat: [CODE-2966]: add commit url to webhook (#3659)
* feat: [CODE-2966]: add commit url to commit ops
* Merge remote-tracking branch 'origin' into abhinav/CODE-2966
* feat: [CODE-2966]: add commit url to webhook
* feat: [CODE-2966]: add commit url to webhook
2025-04-14 21:23:12 +00:00
Ansuman Satapathy
e03b053205 feat: [CDE-651]: add gitlab and bitbucket on-prem (#3674)
* feat: [CDE-651]: add gitlab and bitbucket on-prem
* feat: [CDE-651]: add gitlab and bitbucket on-prem
* feat: [CDE-651]: add gitlab and bitbucket on-prem
* feat: [CDE-651]: add gitlab and bitbucket on-prem
* feat: [CDE-651]: add gitlab and bitbucket on-prem
* feat: [CDE-651]: add gitlab and bitbucket on-prem
* feat: [CDE-651]: add gitlab and bitbucket on-prem
* feat: [CDE-651]: add gitlab and bitbucket on-prem
* feat: [CDE-651]: add gitlab and bitbucket on-prem
* feat: [CDE-651]: add gitlab and bitbucket on-prem
* feat: [CDE-603]: add SCM auth providers for bitbucket and gitlab

feat: [CDE-651]: add gitlab and bitbucket on-prem
* feat: [CDE-651]: add gitlab and bitbucket on-prem
2025-04-14 09:53:57 +00:00
Vikyath Harekal
46f6366728 feat: [CDE-722]: Sanitise config identifier (#3670)
* feat: [CDE-722]: Sanitize config identifier
* feat: [CDE-722]: Sanitize config identifier
2025-04-14 04:28:53 +00:00
Vikyath Harekal
31519b68d3 feat: [CDE-722]: Truncate gitspace config identifier to accommodate the unique identifier and -disk suffixes (#3667)
* feat: [CDE-722]: Truncate gitspace config name to accommodate the unique identifier and -disk suffixes
2025-04-11 12:59:41 +00:00
Darko Draskovic
da9a57f2c5 feat: [CODE-3461]: Add webhook trigger for PR target branch update (#3661)
* Add webhook trigger for PR target branch update
2025-04-10 14:58:53 +00:00
Marko Gaćeša
5e1b1b407e feat: [CODE-3279]: revert PR API (#3657)
* pass the patch filename as a param to git
* revert doesn't return conflict
* revert PR API
2025-04-10 11:16:55 +00:00
Atefeh Mohseni Ejiyeh
414ecae70b fix: [CODE-3501] condition check for unauthorized users in git and rest apis (#3658) 2025-04-09 22:02:58 +00:00
Sourabh Awashti
105afe37db feat:[AH-1083]: Implementation of NPM registry (#3608)
* feat:[AH-1083]: fix checks
* feat:[AH-1083]: fix checks
* feat:[AH-1083]: merge conficts
* feat:[AH-1083]: merge conficts
* feat:[AH-1083]: merge conficts
* feat:[AH-1083]: fix checks
* feat:[AH-1083]: fix checks
* feat:[AH-1083]: fix checks
* feat:[AH-1083]: fix checks
* feat:[AH-1083]: fix checks
* feat:[AH-1083]: fix checks
* feat:[AH-1083]: fix checks
* feat:[AH-1083]: review changes
* feat:[AH-1083]: review changes
* feat:[AH-1083]: review changes
* feat:[AH-1083]: fix download_count
* feat:[AH-1083]: merge conflicst
* feat:[AH-1083]: merge conflicst
* feat:[AH-1083]: merge conflicst
* feat:[AH-1083]: merge conflicst
* feat:[AH-1083]: bug fixes
* feat:[AH-1083]: bug fixes
* feat:[AH-1083]: bug fixes
* feat:[AH-1083]: review changes
* feat:[AH-1083]: review changes
* Merge branch 'main' into AH-1083
* feat:[AH-1083]: add get size and set size methods for metadata
* feat:[AH-1083]: remove remote implementation
* feat:[AH-1083]: Implementation of NPM registry
2025-04-09 21:19:49 +00:00
Darko Draskovic
8d7fc35548 fix: [CODE-3014]: Return 401 in case of unauthorized call without auth data (#3634)
* Remove IsAuthErr helper
* Merge remote-tracking branch 'origin/main' into dd/auth
* Fix registry tests
* Add IsAuthErr app api auth package
* Add hasAccess helper method
* Merge remote-tracking branch 'origin/main' into dd/auth
* Merge remote-tracking branch 'origin/main' into dd/auth
* Merge remote-tracking branch 'origin/main' into dd/auth
* Clean up controllers and handle anonymous in Check
* Return 401 in case of unauthorized call without auth data
2025-04-09 15:24:54 +00:00
Vikyath Harekal
0908924141 feat: [CDE-666]: Mark gitspace as stopped instead of deleted (#3652)
* feat: [CDE-666]: Remove debug logs
* feat: [CDE-666]: Remove debug logs
* feat: [CDE-666]: Debug
* feat: [CDE-666]: Debug
* feat: [CDE-666]: fix lint
* feat: [CDE-666]: Changes for suspend/resume flow
2025-04-09 05:32:10 +00:00
Vikyath Harekal
c0e68605f4 feat: [CDE-666]: Changes for suspend/resume flow (#3644)
* feat: [CDE-666]: fix lint
* feat: [CDE-666]: Changes for suspend/resume flow
2025-04-08 13:32:36 +00:00
Tudor Macari
c58fdbc4d0 fix: [AH-1153]: fix download count per image and per manifest (#3609)
* fix: [AH-1153]: fix query
* fix: [AH-1153]: fix download count per image and per manifest
2025-04-07 18:46:44 +00:00
Deepak Bhatt
30197968cc fix: [CDE-712]: return original error in the error chain (#3643)
* fix: [CDE-712]: add error in the error chain
2025-04-07 08:26:18 +00:00
Darko Draskovic
cc64066d9a fix: [CODE-1277]: Fix response pr ret val on target branch change not updated (#3639)
* Fix response pr ret val on target branch change not updated
2025-04-04 14:09:47 +00:00
Deepak Bhatt
205a25900f feat: [CDE-693]: mv message map to enum package (#3636)
* fix: [CDE-693]: mv message map to enum package
2025-04-04 12:04:27 +00:00
Marko Gaćeša
f2245fa79c feat: [CODE-3450]: fix openapi for pullreq count API (#3635)
* fix openapi for pullreq count API
2025-04-04 11:27:43 +00:00
Marko Gaćeša
28f012c577 feat: [CODE-3450]: add pullreq count API (#3624)
* add pullreq count API
2025-04-04 10:46:19 +00:00
Deepak Bhatt
80112d19fe fix: [CDE-703]: use name metadata field to generate pool identifier (#3633)
* fix: [CDE-703]: use name metadata field to generate pool identifier
2025-04-04 10:12:36 +00:00
Deepak Bhatt
e7d7db57b4 feat: [CDE-693]: add gitspace events for delegate task submit and infra vm creation (#3616)
* Merge branch 'main' of https://git0.harness.io/l7B_kbSEQD2wjrM7PShm5w/PROD/Harness_Commons/gitness into CDE-693
* feat: [CDE-693]: add new gitspace events
* feat: [CDE-693]: add gitspace events for delegate task submit and infra vm creation
2025-04-04 07:17:52 +00:00
Atefeh Mohseni Ejiyeh
3c22d6342a fix: [CODE-3455] return full content on raw api for non-lfs content (#3625) 2025-04-03 20:03:56 +00:00
Abhinav Singh
6b521d3422 fix: [CODE-3440]: add fix for go get in cut out terminated path (#3618)
* fix: [CODE-3440]: add fix for go get in cut out terminated path
2025-04-02 21:29:22 +00:00
Atefeh Mohseni Ejiyeh
d3261ebc20 feat: [CODE-2528]: Update raw and get-content APIs to download lfs objects (#3549) 2025-04-02 21:28:41 +00:00
Atefeh Mohseni Ejiyeh
88d1f60157 feat: [CODE-3406] Add lfs checks to git pre-receive objects processor (#3607) 2025-04-02 16:55:36 +00:00
Deepak Bhatt
edcad7b744 fix: [CDE-706]: add ip-config for generating pool identifier (#3612)
* fix: [CDE-706]: lint
* fix: [CDE-706]: add ip-config for generating pool identifier
2025-04-02 12:55:00 +00:00
Marko Gaćeša
444aafdb0b feat: [CODE-2947]: add user events and metric handlers (#3597) 2025-03-28 20:06:47 +00:00
Darko Draskovic
60a182e515 feat: [CODE-1277]: Add support for PR target branch change (#3579)
* Merge remote-tracking branch 'origin/main' into dd/change-target-branch
* Merge remote-tracking branch 'origin/main' into dd/change-target-branch
* Add openapi spec for opChangeTargetBranch
* Fix updateMergeData args
* Refactor ChangeTargetBranch to use verifyBranchExistence and git.GetRefPath
* Merge remote-tracking branch 'origin/main' into dd/change-target-branch
* Refactor instumentation and event payload
* Change instrumentation and event payload
* Add target-branch-changed event
* Get new merge base and clear merge related fields
* Merge remote-tracking branch 'origin/main' into dd/change-target-branch
* Merge remote-tracking branch 'origin/main' into dd/change-target-branch
* Add merge check to target branch change
* Merge remote-tracking branch 'origin/main' into dd/change-target-branch
* Add new PullReqActivityType and EventType for audit track
* Add support for PR target branch change
2025-03-28 16:04:15 +00:00
Darko Draskovic
cc2a63b797 feat: [CODE-3293]: Add create compound label activity on PR creation label assignments (#3603)
* Add PullRequestActivityLabelBase
* Merge remote-tracking branch 'origin/main' into dd/compound-label-activity
* Add create compound label activity on PR creation label assignments
2025-03-28 15:29:01 +00:00
Deepak Bhatt
e518dc7f41 feat: [CDE-697]: Add async flow when gitspace agent fails to perform action (#3602)
* feat: [CDE-697]: fix stop async flow
* feat: [CDE-697]: Add async flow when gitspace agent fails to perform action
2025-03-28 13:15:20 +00:00
Deepak Bhatt
d79d292d87 feat: [CDE-699]: modify infra provider create resource api (#3600)
* feat: [CDE-697]: make cpu, memory and network as empty if nil
* feat: [CDE-699]: add comment
* feat: [CDE-699]: modify infra provider create resource api
2025-03-28 10:21:54 +00:00
Vikyath Harekal
963197214e feat: [CDE-698]: Store gateway host in infra provisioned for full sync (#3598)
* feat: [CDE-698]: Remove unwanted changes
* feat: [CDE-698]: Store gateway host in infra provisioned for full sync
2025-03-27 05:11:25 +00:00
Marko Gaćeša
5c05642cce feat: [CODE-3405]: use case insensitive email matching for codeowners (#3596)
* use case insensitive email matching for codeowners
2025-03-26 16:22:25 +00:00
Johannes Batzill
91c4ccf3b7 fix: [CODE-3393]: Fix PR creation when no codeowner file exists for being adding as reviewers (#3583) 2025-03-21 03:37:39 +00:00
Johannes Batzill
9d5ceb0033 fix: [CODE-3379]: Remove PR author from default reviewer evaluation (#3578) 2025-03-20 19:33:56 +00:00