Commit Graph

3189 Commits

Author SHA1 Message Date
Ansuman Satapathy
fe2b2dfc26
feat: [CDE-755]: Fix gitness UI redirection is broken, and logs are not loading (#3625)
* fix: fixed gitness breaking changes
<img width="1691" alt="Screenshot 2025-04-29 at 7 49 56 PM"
src="https://github.com/user-attachments/assets/07a858d5-cc7f-4cb8-8c9b-2e723ba6a120"
/>


(cherry picked from commit cd395e8406)

Co-authored-by: Deepesh Kumar <deepesh.kumar@harness.io>
2025-04-29 08:33:43 -07: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 065db116d1.
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
Shivanand Sonnad
e3e0af68ce feat: [AH-1222]: implement tags for thumbnails in create registry and create upstream form (#3695)
* feat: [AH-1222]: add new package types as coming soon
* feat: [AH-1222]: implement tags for thumbnails in create registry and create upstream form
2025-04-17 14:38:43 +00:00
Tudor Macari
2d385d1137 feat: [AH-1198]: Avoid loading artifact to memory or on disk. (#3688)
* resolve PR comments
* fix lint issue
* fix mapping to ArtifactMetadata
* fix lint issues
* feat: [AH-1198]: Avoid loading artifact to memory or on disk.
2025-04-17 09:35:07 +00:00
Ritik Kapoor
065db116d1 fix: [CODE-3521] loading state and infinite loop when a repo name is changed (#3690) 2025-04-16 23:43:32 +00:00
Ritik Kapoor
bc8d1d1a30 feat: [CODE-3280] support for Revert PR (#3691) 2025-04-16 22:46:30 +00:00
Tudor Macari
57bcb5c2aa fix: [AH-1153]: fix GetTotalDownloadsForManifests query (#3693)
* fix: [AH-1153]: fix GetTotalDownloadsForManifests query
2025-04-16 16:08:00 +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
Sourabh Awashti
b8603e7f07 feat:[AH-1083]: added npmjs upstream proxy (#3689)
* feat:[AH-1083]: added npmjs upstream proxy
* 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-16 10:36:35 +00:00
Tudor Macari
a3d828f0a2 feat: [AH-1060]: RPM flows skeleton, RPM package upload (#3599)
* resolve PR comments
* fix lint
* resolve PR comments
* fix lint issue
* resolve PR comments
* resolve PR comments
* fix lint issue
* feat: [AH-1060]: RPM flows skeleton, RPM package upload/install
2025-04-16 06:05:50 +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
Sourabh Awashti
266591513c feat:[AH-1083]: fix download count and upstream proxy for NPM (#3678)
* feat:[AH-1083]: review changes
* feat:[AH-1083]: review changes
* feat:[AH-1083]: fix checks
* feat:[AH-1083]: fix download count
* feat:[AH-1083]: fix download count
* feat:[AH-1083]: NPM upstream proxy fix
2025-04-15 10:21:54 +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
Sourabh Awashti
d83669c098 feat:[AH-1083]: URL fix for NPM package (#3668)
* feat:[AH-1083]: url fix
2025-04-11 14:31:18 +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
Sourabh Awashti
961687e883 feat:[AH-1083]: NPM remote changes (#3660)
* feat:[AH-1083]: file close fix
* feat:[AH-1083]: fix upstream
* feat:[AH-1083]: fix upstream
* feat:[AH-1083]: fix upstream
* feat:[AH-1083]: add is_deleted field for image and version
* feat:[AH-1083]: add is_deleted field for image and version
* feat:[AH-1083]: fix url
* feat:[AH-1083]: fixed the remote fetch metadata
* feat:[AH-1083]: fix url
* feat:[AH-1083]: fix url
* feat:[AH-1083]: fix npm metadata
* feat:[AH-1083]: fix checks
* feat:[AH-1083]: fix checks
* feat:[AH-1083]: fix checks
* feat:[AH-1083]: NPM remote changes
* feat:[AH-1083]: npm changes

dummy

dummy
* 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-11 08:58:52 +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
Shivanand Sonnad
2fdb6d6655 feat: [AH-1193]: new ui for global artifact list page (#3653)
* feat: [AH-1193]: remove size column from global artifact list page
* feat: [AH-1193]: Support artifact actions
* feat: [AH-1193]: support actions in global artifact list table
* feat: [AH-1193]: fix failing UTs
* feat: [AH-1193]: Update global artifact list view
2025-04-10 10:15:19 +00:00