3212 Commits

Author SHA1 Message Date
Karan Saraswat
0d67a5358f feat: [CODE-3530]: Return new file SHAs as part of commit API response (#3753)
* Apply suggestions from code review
* fixed formatting
* fixed fileRefs initialization
* Merge branch 'CODE-3530' of https://git0.harness.io/l7B_kbSEQD2wjrM7PShm5w/PROD/Harness_Commons/gitness into CODE-3530
* addressed review comments
* Apply suggestion from code review
* addressed review comments
* Apply suggestions from code review
* feat: [CODE-3530]: Return new file SHAs as part of commit API response
2025-05-05 13:40:55 +00:00
Ritik Kapoor
0658c11bc7 fix: [CODE-2581] add SSH behind - CODE_SSH_ENABLED (#3756)
* fix: [CODE-2581] prettier
* Apply suggestion from code review
* fix: [CODE-2581] add SSH behind - CODE_SSH_ENABLED
2025-05-05 10:52:58 +00:00
Pragyesh Mishra
2ec6fb8a58 [fix]: [AH-952]: fix override of files for maven artifacts (#3692)
* [fix]: [AH-952]: Fixed pr check
* [fix]: [AH-952]: Fixed pr check
* [fix]: [AH-952]: Fixed pr check
* [fix]: [AH-952]: Fixed pr check
* [fix]: [AH-952]: Fixed pr check
* [fix]: [AH-952]: Fixed pr check
* [fix]: [AH-952]: fix override of files for maven artifacts
2025-05-02 18:54:52 +00:00
Vikyath Harekal
8d13a4beb3 feat: [CDE-753]: Fix backend handling of gitspace deletion requests (#3745)
* feat: [CDE-753]: Fix lint
* feat: [CDE-753]: Fix backend handling of gitspace deletion requests
2025-05-02 09:52:00 +00:00
Sourabh Awashti
8311ae2c2f feat:[AH-1260]: fix for yarn package install (#3747)
* feat:[AH-1260]: fix for yarn package install
* Merge branch 'main' of https://git0.harness.io/l7B_kbSEQD2wjrM7PShm5w/PROD/Harness_Commons/gitness
* Merge branch 'main' of https://git0.harness.io/l7B_kbSEQD2wjrM7PShm5w/PROD/Harness_Commons/gitness
* Merge branch 'main' of https://git0.harness.io/l7B_kbSEQD2wjrM7PShm5w/PROD/Harness_Commons/gitness
* Merge branch 'main' of https://git0.harness.io/l7B_kbSEQD2wjrM7PShm5w/PROD/Harness_Commons/gitness
* Merge branch 'main' of https://git0.harness.io/l7B_kbSEQD2wjrM7PShm5w/PROD/Harness_Commons/gitness
* Merge branch 'release/registry-api_1.18.0' of https://git0.harness.io/l7B_kbSEQD2wjrM7PShm5w/PROD/Harness_Commons/gitness
* feat:[AH-1083]: url fix (#3669)

* feat:[AH-1083]: url fix
2025-05-02 07:17:49 +00:00
Abhinav Singh
5aef4f53f8 feat: [CODE-3803]: add desc for swagger (#3755)
* Update types/repo.go
* feat: [CODE-3803]: add desc for swagger
* feat: [CODE-3803]: add desc for swagger
2025-05-01 20:17:14 +00:00
Arvind Choudhary
4f7dc32dcc fix: [AH-1197]: Fixing table creation (#3754)
* [AH-1197]: Fixing table creation
2025-04-30 21:23:06 +00:00
Shivanand Sonnad
ebe634e5df fix: [AH-1197]: fix failing OCI delete image and artifact (#3741)
* feat: [AH-1197]: update SQL migration queries for sqlite
* feat: [AH-1197]: fix failing tests
* feat: [AH-1197]: delete manifest on delete oci image
* feat: [AH-1197]: fix failing nodes because of foreign key constraint
* feat: [AH-1197]: remove unused functions
* feat: [AH-1197]: hard delete artifact and images for oci flow as well
* fix: [AH-1197]: fix failing OCI delete image and artifact
2025-04-30 20:31:14 +00:00
Darko Draskovic
988f6eff9b feat: [CODE-3646]: Show if PR is bypassed (#3725)
* Add pullreq_merge_violations_bypassed to store list funcs
* Merge remote-tracking branch 'origin/main' into dd/pr-bypassed
* Rename pullreq_merge_bypassed to pullreq_merge_violations_bypassed
* Add false as state
* Merge remote-tracking branch 'origin/main' into dd/pr-bypassed
* Add merge- prefix
* Merge remote-tracking branch 'origin/main' into dd/pr-bypassed
* Add bypassed field to pullreq struct
* Show if PR is bypassed
2025-04-30 14:01:42 +00:00
Pragyesh Mishra
c91ba3d8d3 [fix]: [AH-1262]: Fix get files api for maven when artifact id contains dot (#3730)
* [fix]: [AH-1262]: Fix get files api when artifact id contains dot
* [fix]: [AH-1262]: Fix get files api when artifact id contains dot
* [fix]: [AH-1262]: Fix get files api when artifact id contains dot
2025-04-30 13:53:49 +00:00
Vikyath Harekal
8f7e024c9b fix: [CDE-757]: Update instance state to error upon receiving error from resume operations (#3751)
* fix: [CDE-757]: Update instance state to error upon receiving error from resume operations
2025-04-30 09:45:56 +00:00
Tudor Macari
c62f822571 feat: [AH-1221]: Implement distributed locking for repo data (#3731)
* rebase
* feat: [AH-1221]: Implement distributed locking for repo data
2025-04-30 05:33:35 +00:00
Tudor Macari
57f613cac1 feat: [AH-1261]: fix auth issue in gitness (#3732)
* feat: [AH-1261]: fix auth issue in gitness
2025-04-29 20:05:51 +00:00
Pragyesh Mishra
6aa9e3cfbc [fix]: [AH-1271]: fixed panic in download file flow in file manager framework (#3749)
* [ix]: [AH-1271]: fixed panic in download file flow in file manager framework
2025-04-29 15:20:56 +00:00
Deepesh Kumar
cd395e8406 feat: [CDE-755]: Fix gitness UI redirection is broken, and logs are not coming (#3748)
* fix: fixed gitness breaking changes
2025-04-29 14:03:03 +00:00
Pragyesh Mishra
7d8b1f1b76 [fix]: [AH-1271]: fixed panic by fixing NPE in Manifests and Blobs APIs of OCI (#3740)
* [ix]: [AH-1271]: fixed pr check
* [fix]: [AH-1271]: fixed panic by fixing NPE in Manifests and Blobs APIs of OCI
2025-04-29 09:38:17 +00:00
Arvind Choudhary
cc13edd9f1 fix: [AH-1189]: Added checks for empty artifact/package name (#3735)
* [AH-1189]: Added checks for empty artifact/package name
2025-04-29 00:52:29 +00:00
Johannes Batzill
0d51e10332 chore: [CODE-3779]: add index for migrations table (#3742) 2025-04-28 21:01:06 +00:00
Shivanand Sonnad
f296f1c37d feat: [AH-1192]: fix badge width css and update uicore version to fix radio button issue (#3738)
* feat: [AH-1192]: fix badge width css
* feat: [AH-1192]: fix radio button and css order issue
2025-04-28 10:05:41 +00:00
Pragyesh Mishra
7e85afab0e [fix]: [AH-1271]: fixed panic when we call this method with error or other types as input (#3737)
* [fix]: [AH-1271]: fixed panic when we call this method with error or values types as input
* [fix]: [AH-1271]: fixed panic when we call this method with error or values types as input
2025-04-28 07:04:47 +00:00
Sourabh Awashti
ca888e532b feat:[AH-1093]: NPM search package support (#3711)
* feat:[AH-1093]: NPM search package support
* Merge branch 'main' of https://git0.harness.io/l7B_kbSEQD2wjrM7PShm5w/PROD/Harness_Commons/gitness
* Merge branch 'main' of https://git0.harness.io/l7B_kbSEQD2wjrM7PShm5w/PROD/Harness_Commons/gitness
* Merge branch 'main' of https://git0.harness.io/l7B_kbSEQD2wjrM7PShm5w/PROD/Harness_Commons/gitness
* Merge branch 'release/registry-api_1.18.0' of https://git0.harness.io/l7B_kbSEQD2wjrM7PShm5w/PROD/Harness_Commons/gitness
* feat:[AH-1083]: url fix (#3669)

* feat:[AH-1083]: url fix
2025-04-28 06:53:28 +00:00
Sourabh Awashti
3e07a681a1 feat:[AH-1231]: changes for switching routes for generic artifacts (#3703)
* feat:[AH-1231]: fix checks
* feat:[AH-1231]: review changes
* feat:[AH-1231]: changes for switching routes for generic artifacts
* Merge branch 'main' of https://git0.harness.io/l7B_kbSEQD2wjrM7PShm5w/PROD/Harness_Commons/gitness
* Merge branch 'main' of https://git0.harness.io/l7B_kbSEQD2wjrM7PShm5w/PROD/Harness_Commons/gitness
* Merge branch 'release/registry-api_1.18.0' of https://git0.harness.io/l7B_kbSEQD2wjrM7PShm5w/PROD/Harness_Commons/gitness
* feat:[AH-1083]: url fix (#3669)

* feat:[AH-1083]: url fix
2025-04-28 05:10:07 +00:00
Shivanand Sonnad
38e2ec8308 feat: [AH-1192]: Tree view implementation (#3736)
* feat: [AH-1192]: fix failing PR checks
* feat: [AH-1192]: rebase with main and fix bugs
* feat: [AH-1192]: Implement digest list view in tree view (#3733)

* feat: [AH-1192]: do not encode query params
* feat: [AH-1192]: Implement digest list view in tree view
* feat: [AH-1192]: Support version list and details in tree view (#3727)

* feat: [AH-1192]: resolve PR comments
* feat: [AH-1192]: Support version list and details in tree view
* feat: [AH-1192]: Implement artifact list tree view and artifact tree node details view (#3694)

* feat: [AH-1192]: add factory implementation for artifact details node view
* feat: [AH-1192]: Implement artifact list tree view and artifact tree node details view
* feat: [AH-1192]: implement a repository list and details route in tree view (#3685)

* feat: [AH-1192]: refactor refetch logic
* feat: [AH-1192]: fix failing unit tests
* feat: [AH-1192]: implement a repository list and details route in tree view
* feat: [AH-1192]: Implement landing page for
2025-04-25 16:58:26 +00:00
Shivanand Sonnad
92f986122f feat: [AH-1251]: Support Delete Version for non oci flow (#3728)
* feat: [AH-1251]: Support Delete Version for non oci flow
2025-04-25 09:08:22 +00:00
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
Tudor Macari
c3a70ca12e feat: [AH-1146]: add support for RPM artifact details (#3697)
* feat: [AH-1063]: RPM client setup details (#3726)

* add credentials
* feat: [AH-1063]: RPM client setup details
* fix lint issues
* fix lint issue
* refactoring
* refactoring
* fix tests
* fix rebase issues
* feat: [AH-1146]: add support for RPM artifact details
2025-04-24 05:21:14 +00:00
Shivanand Sonnad
b8653351a4 feat: [AH-1247]: Support RPM in artifact list, version list and version details page (#3714)
* feat: [AH-1247]: show build time in readable format
* feat: [AH-1247]: add mapping for version details page
* feat: [AH-1247]: Support RPM in artifact list, version list and version details page
2025-04-24 04:34:20 +00:00
Pragyesh Mishra
fc18529e08 [fix]: [AH-1232]: move maven routes to new routes (#3723)
* [fix]: [AH-1243]: move maven routes to new routes
* [fix]: [AH-1243]: move maven routes to new routes
* [fix]: [AH-1243]: move maven routes to new routes
* [fix]: [AH-1243]: move maven routes to new routes
* [fix]: [AH-1243]: move maven routes to new routes
2025-04-23 05:23:05 +00:00
Arvind Choudhary
d493a9bf87 fix: [AH-1237]: Fixing spaces in www-authenticate header (#3721)
* [AH-1237]: Fixing spaces in www-authenticate header
2025-04-22 22:48:13 +00:00
Ritik Kapoor
0ba7be95fd fix: [CODE-3280] update target ref in pr compare path (#3720)
* fix: [CODE-3280] update target ref in pr compare path
2025-04-22 19:18:12 +00:00
Manjunatha EN
a73113f8e6 fix: [AH-771]: gitness unit test refactoring (#3589)
* fix merge conflicts
* fix merge conflicts
* fix review comment
* fix review comment
* fix review comment
* fix: [AH-771]: gitness unit test refactoring
* fix: [AH-771]: resolved review comments
* fix: [AH-771]: resolved review comments
* fix: [AH-771] Registry test refactoring and improvements

- Refactored registry metadata test implementations
- Improved code organization and readability
- Fixed line length issues in test files
- Removed unused fields from request.go
- Added proper license headers
- Fixed linting issues in mock files
- Simplified test setup and assertions
- Updated wire generation for cmd package
- Added nolint:exhaustive directive for package type switch

fix: [AH-771] Registry test refactoring and improvements

- Refactored registry metadata test implementations
- Improved code organization and readability
- Fixed line length issues in test files
- Removed unused fields from request.go
- Added proper license headers
- Fixed linting issues in mock files
- Simplifi
2025-04-22 14:49:24 +00:00
Ritik Kapoor
0d478a34cc fix: [CODE-3280] ref target branch for revert PR (#3713)
* fix: [CODE-3280] ref target branch for revert PR
2025-04-22 14:33:25 +00:00
Ritik Kapoor
2f3367904a fix: [CODE-3239] update target branch change API path (#3715)
* fix: [CODE-3239] update target branch change API path
2025-04-22 14:33:07 +00:00
Shivanand Sonnad
6d48117eff feat: [AH-1224]: support RPM in repository creation and edit flow (#3712)
* feat: [AH-1224]: add FF for upstream flow
* feat: [AH-1224]: support RPM in repository creation and edit flow
2025-04-22 12:07:19 +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
Shivanand Sonnad
646cb57578 feat: [AH-1197]: implement delete image for non oci flow (#3700)
* feat: [AH-1197]: implement delete image for non oci flow
2025-04-22 09:34:32 +00:00
Sourabh Awashti
d361fc3f5a feat:[AH-1241]: fix for yarn package and delete tag issue for NPM (#3704)
* feat:[AH-1241]: fix for yarn package and delete tag issue for NPM
* Merge branch 'main' of https://git0.harness.io/l7B_kbSEQD2wjrM7PShm5w/PROD/Harness_Commons/gitness
* Merge branch 'main' of https://git0.harness.io/l7B_kbSEQD2wjrM7PShm5w/PROD/Harness_Commons/gitness
* Merge branch 'release/registry-api_1.18.0' of https://git0.harness.io/l7B_kbSEQD2wjrM7PShm5w/PROD/Harness_Commons/gitness
* feat:[AH-1083]: url fix (#3669)

* feat:[AH-1083]: url fix
2025-04-22 07:00:16 +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
Deepak Bhatt
2ef1ed0f4c Feat: [CDE-727]: Add initialise log key in gitspace config (#3706)
* Merge branch 'main' of https://git0.harness.io/l7B_kbSEQD2wjrM7PShm5w/PROD/Harness_Commons/gitness into CDE-727
* Feat: [CDE-727]: Add initialise log key in gitspace config
2025-04-22 05:27:00 +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
Ritik Kapoor
6662ddb5b3 feat: [CODE-2515] handle failure ignored status (#3677)
* fix: [CODE-2515] lint checks
* fix: [CODE-2515] lint checks
* feat: [CODE-2525] handle failure ignored status
2025-04-21 21:01:53 +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
Ritik Kapoor
0db23cc023 fix: [CODE-3521] loading state and infinite loop when a repo name is changed (#3690) Revert (#3702)
* Revert "fix: [CODE-3521] loading state and infinite loop when a repo name is changed (#3690)"

This reverts commit 065db116d1feaa024572753f09ff86975e8bde71.
2025-04-21 12:40:14 +00:00
Atefeh Mohseni Ejiyeh
799a8b0de8 fix: [CODE-3500] put UI Git LFS support in the repository setting behind FF (#3698) 2025-04-18 19:39:07 +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