Ansuman Satapathy
0d84fa85ff
feat: [CDE-332]: remove unused and duplicate templateID gitspaces ( #2884 )
...
* feat: [CDE-332]: remove unused and duplicate templateID gitspaces
*
feat: [CDE-332]: remove unused and duplicate templateID gitspaces
*
feat: [CDE-332]: remove unused and duplicate templateID gitspaces
2024-10-28 13:04:17 +00:00
Deepak Bhatt
f94bc6b462
fix: [CDE-424]:add migration for gitspace_configs table ( #2878 )
...
* update query
* add migration
2024-10-28 12:43:09 +00:00
Dhruv Dhruv
69a815ee1e
fix: [CDE-437]: Mapping IsMarkedForDeletion and IsDeleted when reading from db. ( #2877 )
...
* fix: [CDE-437]: Mapping IsMarkedForDeletion and IsDeleted when reading from db.
2024-10-28 08:10:15 +00:00
Deepak Bhatt
6983438ec2
feat: [CDE-391]:add infrastruce and orchestrator funcs ( #2841 )
...
* Merge branch 'main' of https://git0.harness.io/l7B_kbSEQD2wjrM7PShm5w/PROD/Harness_Commons/gitness into add-force-delete-job-funcs
* change name
* increase scope of delete
* change func name
* modify delete api
* Merge branch 'main' of https://git0.harness.io/l7B_kbSEQD2wjrM7PShm5w/PROD/Harness_Commons/gitness into add-force-delete-job-funcs
* add delete and handler condition
* address comment
* handle cleanup event
* update enum mapping
* find destroyed infra as well
* Merge branch 'main' of https://git0.harness.io/l7B_kbSEQD2wjrM7PShm5w/PROD/Harness_Commons/gitness into add-force-delete-job-funcs
* modify find signature
* Merge branch 'add-force-delete-job-funcs' of https://git0.harness.io/l7B_kbSEQD2wjrM7PShm5w/PROD/Harness_Commons/gitness into add-force-delete-job-funcs
*
address feedback 2
*
address feedback
*
Apply suggestion from code review
*
Apply suggestion from code review
*
remove std out
*
add infrastruce and orchestrator funcs
*
add and modify infra provider methods
Add cleanupInstanceResources method
Modify Deprovision method and make it idempotent
* address feedback 2
* Merge branch 'main' of https://git0.harness.io/l7B_kbSEQD2wjrM7PShm5w/PROD/Harness_Commons/gitness into add-force-delete-job-funcs
* Merge branch 'add-force-delete-job-funcs' of https://git0.harness.io/l7B_kbSEQD2wjrM7PShm5w/PROD/Harness_Commons/gitness into add-force-delete-job-funcs
* address feedback
* Apply suggestion from code review
* Apply suggestion from code review
* remove std out
* Merge branch 'main' of https://git0.harness.io/l7B_kbSEQD2wjrM7PShm5w/PROD/Harness_Commons/gitness into add-force-delete-job-funcs
* add infrastruce and orchestrator funcs
* add and modify infra provider methods
Add cleanupInstanceResources method
Modify Deprovision method and make it idempotent
2024-10-28 05:30:14 +00:00
Ansuman Satapathy
f3016357d3
feat: [CDE-332]: added an event and method for auto-stopping ( #2876 )
...
* feat: [CDE-332]: added an event and method for auto-stopping
2024-10-28 05:06:08 +00:00
Ansuman Satapathy
6035f3b73e
feat: [CDE-332]: updated script for containers ( #2875 )
...
* feat: [CDE-332]: updated script for containers
* feat: [CDE-332]: updated script for containers
* feat: [CDE-332]: updated script for containers
* feat: [CDE-332]: updated scrpt for containers
2024-10-28 04:25:23 +00:00
Ansuman Satapathy
1cb0e477f0
feat: [CDE-332]: updated script for gitspace tools installation ( #2874 )
...
* feat: [CDE-332]: updated script for containers
* feat: [CDE-332]: updated scrpt for containers
2024-10-28 04:02:38 +00:00
Vikyath Harekal
ad12a5d6f8
feat: [CDE-332]: Update the gitspace setup scripts to support more OSes ( #2873 )
...
*
feat: [CDE-332]: fix lint
*
feat: [CDE-332]: Update the gitspace setup scripts to support more OSes
2024-10-27 01:43:58 +00:00
Akhilesh Pandey
b5955c2da9
feat: [CODE-2523]: Audit log bypassed branch deletions ( #2851 )
...
* feat: [CODE-2523]: Audit log bypassed branch deletions
2024-10-26 18:47:44 +00:00
Vikyath Harekal
4c278448c4
feat: [CDE-332]: Update the gitspace setup scripts to support more OSes ( #2872 )
...
* feat: [CDE-332]: Update the gitspace setup scripts to support more OSes
2024-10-26 11:42:12 +00:00
Marko Gaćeša
35b7745b65
fix: [CODE-2583]: fix merge dry_run with no method; add dry_run_rules to merge ( #2862 )
...
* default to "merge" method for dry-run of merge
* fix merge dry_run with no method; add dry_run_rules to merge
2024-10-25 11:16:37 +00:00
Atefeh Mohseni Ejiyeh
f78ae3839a
fix: [CODE-2621]: nil pointer for not found labels during pull requests migration ( #2866 )
2024-10-25 00:33:54 +00:00
Ritik Kapoor
6a17336aaa
fix: [CODE-2566] add FF config and hide plugin step behind a UI Flag - GITNESS_UI_SHOW_PLUGIN ( #2847 )
...
* fix: [code-2566] address comment
* fix: [code-2566] address comment
* fix: [code-2566] address comments
* fix: [CODE-2566] lint check
* fix: [CODE-2566] add FF config and hide plugin step behind local FF - GITNESS_FF_SHOW_PLUGIN_STEP
2024-10-24 18:40:52 +00:00
Marko Gaćeša
5eb79b3805
feat: [PIPE-22290]: add additional info to list branches API ( #2831 )
...
* change type of branch.SHA from string to sha.SHA
* remove code duplication, changed DB query for PRs
* add additional info to list branches API
2024-10-24 13:19:35 +00:00
Dhruv Dhruv
3668c43a2a
fix: [CDE-416]: Increasing timeout to 10m for all gitspace events. ( #2861 )
...
* fix: [CDE-416]: Increasing timeout to 10m for all gitspace events.
2024-10-24 12:49:36 +00:00
Marko Gaćeša
8c5e7546c3
feat: [CODE-2567]: improve git commit message handling ( #2849 )
...
* make the change backward compatible
* improve git commit message handling
2024-10-24 10:08:36 +00:00
Atefeh Mohseni Ejiyeh
0a35385255
feat: [CODE-2426]: Separate CODE Repo Create/Edit into distinct permissions ( #2758 )
2024-10-23 16:37:06 +00:00
Darko Draskovic
0f3956696c
feat: [PIPE-22071]: Enhance pipeline list API to include last 10 execution summaries for a pipeline ( #2840 )
...
* Scan directly into types.ExecutionInfo
* Merge remote-tracking branch 'origin/main' into dd/pipeline-execs
* Merge remote-tracking branch 'origin/main' into dd/pipeline-execs
* Add last_executions param and optimize db query for last execs
* Enhance pipeline list API to include last 10 execution summaries for a pipeline
2024-10-23 16:17:25 +00:00
Enver Biševac
fdb41b5b38
feat: [code-2461]: add go-import metatag in response for go get operations ( #2775 )
...
* requested changes
* Merge branch 'eb/code-2461' of https://git0.harness.io/l7B_kbSEQD2wjrM7PShm5w/PROD/Harness_Commons/gitness into eb/code-2461
*
requested changes
*
requested changes
*
requested changes
*
add go-import metatag in response for go get operations
* requested changes
* requested changes
* requested changes
* add go-import metatag in response for go get operations
2024-10-23 10:45:34 +00:00
Johannes Batzill
7b5490ac10
fix: [CODE-2583]: fix dry-running merge without merge method ( #2852 )
...
* fix: [CODE-2583]: fix dry-running merge without merge method
2024-10-22 23:06:12 +00:00
Karan Saraswat
9a12d72a10
feat: [PIPE-22618]: API to fetch PR with the source and target branch ( #2838 )
...
* fixed go lint error
* fixed swagger endpoint
* feat: [PIPE-22618]: API to fetch PRs with the source and target branch
2024-10-22 11:45:10 +00:00
Ansuman Satapathy
0124832ae7
fix: [CDE-397]: remove infra check during cde deletion ( #2843 )
...
* fix: [CDE-397]: remove infra check during cde deletion
2024-10-22 04:28:30 +00:00
Atefeh Mohseni Ejiyeh
5efca19288
feat: [CODE-2375]: Support import v2 for labels ( #2695 )
2024-10-21 20:23:36 +00:00
Akhilesh Pandey
503e62c979
feat: [CODE-2468]: Add new webhook type: review_submitted ( #2839 )
...
* Merge branch 'main' into akp/CODE-2468
* feat: [CODE-2468]: formatting
* feat: [CODE-2468]: remove timestamp
* feat: [CODE-2468]: update the trigger name
* feat: [CODE-2468]: initial code
2024-10-21 15:39:59 +00:00
Akhilesh Pandey
c282082cde
feat: [CODE-2366]: new webhook event for label assignment ( #2810 )
...
* feat: [CODE-2336]: lint
* Merge branch 'main' into akp/CODE-2336
* feat: [CODE-2336]: nit: lint
* feat: [CODE-2336]: nit: rename
* update event and webhook payload
* fix: [CODE-2366]: undo css
* feat: [CODE-2336]: remove service usage
* feat: [CODE-2336]: remove service usage
* Merge remote-tracking branch 'origin/akp/CODE-2336' into akp/CODE-2336
# Conflicts:
# app/services/webhook/handler_pullreq.go
* feat: [CODE-2336]: remove service usage
* Apply suggestion from code review
* feat: [CODE-2336]: update code to fetch label with values from service
* feat: [CODE-2366]: lint
* feat: [CODE-2366]: new webhook event for label assignment
2024-10-21 15:13:33 +00:00
Ansuman Satapathy
1dbdccfe18
fix: [CDE-397]: set space path in findAll method. ( #2837 )
...
*
fix: [CDE-397]: set space path in findAll method.
2024-10-21 11:46:02 +00:00
Deepak Bhatt
73b8beb005
fix: [CDE-390]:add sql migration for gitspace config table ( #2836 )
...
* add comment
* add sql migration for gitspace config table
2024-10-21 10:55:39 +00:00
Ansuman Satapathy
cc7320e9af
fix: [CDE-397]: set space path in findAll method for auto-stopping ( #2835 )
...
*
fix: [CDE-397]: set space path in findAll method.
2024-10-21 05:57:55 +00:00
Deepak Bhatt
b3e65f827f
fix: [CDE-202]:modify db function for gitspaces ( #2807 )
...
* modify list function for gitspaces
2024-10-21 04:35:34 +00:00
Darko Draskovic
b002a60b02
feat: [CODE-2292]: Add API for space level webhook creation ( #2730 )
...
* Merge remote-tracking branch 'origin/main' into dd/webhooks-space
* Move webphookpreprocessor to webhook controller
* Merge remote-tracking branch 'origin/main' into dd/webhooks-space
* Merge branch 'main' into dd/webhooks-space
* Add webhookpreprocessor service
* Add WebhookParentInfo type and refactor webhook svc and store to use it
* Introduce webhookpreprocessor service
* Add space webhooks
* Refactor handlers to use custom fn params
* Move everything webhook service related to webhook service
* Remove webhook parent info type
* Add webhook execution count
* Add space webhooks
2024-10-18 16:27:56 +00:00
Akhilesh Pandey
fd848b1e15
feat: [CODE-2318]: Update error message in case of forbidden ( #2780 )
...
* feat: [CODE-2318]: update error logic to be translate in controller
* Merge branch 'main' into akp/CODE-2318
* feat: [CODE-2318]: update error logic to be translate in controller
* feat: [CODE-2318]: remove nested error handling
* feat: [CODE-2318]: Update error message in case of forbidden
2024-10-18 14:16:16 +00:00
Deepak Bhatt
21bdad8ece
feat: [CDE-390]:add can delete column in gitspace_config table ( #2827 )
...
* fix err msg
* update migration query
* fix typo
* feedback comments
* add can delete column in gitspace_config table
2024-10-18 08:38:27 +00:00
Akhilesh Pandey
ac8eb9ff37
feat: [CODE-2466]: support for codeowners usergroup ( #2795 )
...
* feat: [CODE-2466]: support for codeowners usergroup
2024-10-17 12:45:04 +00:00
Abhinav Singh
f7411b41c9
feat: [CODE-2500]: add support for webhook internal url ( #2806 )
...
* feat: [CODE-2500]: add support for webhook internal url
* feat: [CODE-2500]: add support for webhook internal url
* feat: [CODE-2500]: add support for webhook internal url
2024-10-16 22:33:00 +00:00
Deepak Bhatt
f2fca6808d
fix: [CDE-202]: list-dead func ( #2821 )
...
* fix list-dead func
2024-10-16 10:27:13 +00:00
Dhruv Dhruv
6837cb4dbf
fix: [CDE-371]: Fixing total count if number of gitspaces in current iteration is less than page size. ( #2820 )
...
* fix: [CDE-371]: Fixing total count if number of gitspaces in current iteration is less than page size.
2024-10-16 05:33:16 +00:00
Deepak Bhatt
7790c19a7f
fix: [CDE-202]: update gitspace database funcs ( #2809 )
...
* remove named returns
* update gitspace database funcs
2024-10-16 04:17:04 +00:00
Marko Gaćeša
069a35a4d8
feat: [CODE-2484]: add API to squash commits on a branch ( #2793 )
...
* add openapi entry for squash
* minor fixes
* squash api
2024-10-15 16:49:02 +00:00
Akhilesh Pandey
950c917947
feat: [CODE-2312]: fix missing resource name issue ( #2814 )
...
* feat: [CODE-2312]: fix missing resource name issue
2024-10-15 13:00:58 +00:00
Shivakumar Ningappa
6614040555
feat: [AH-433]: write DB migrator tool for Artifact Registry - export postgres FS ( #2811 )
...
* feat: [AH-433]: write DB migrator tool for Artifact Registry - export postgres FS
2024-10-14 20:57:25 +00:00
Marko Gaćeša
4d577bb378
fix: [CODE-2134]: replace include_description with exclude_description param ( #2808 )
2024-10-14 18:08:07 +00:00
Akhilesh Pandey
3ef7f9f55a
feat: [CODE-2312]: Update UI labels for audit service ( #2805 )
...
* feat: [CODE-2312]: revert go-sdk changes in all places
* feat: [CODE-2312]: revert go.mod changes
* feat: [CODE-2312]: fresh reset
* feat: [CODE-2312]: go.mod changes
* feat: [CODE-2312]: address resourcename to commit.go
* Merge branch 'main' into akp/CODE-2312
* feat: [CODE-2312]: address resourcename to commit.go
* feat: [CODE-2312]: address resourcename to commit.go
* feat: [CODE-2312]: address failure due to exceeding limit on resource labels
* feat: [CODE-2312]: lint
* feat: [CODE-2312]: MERGE
* feat: [CODE-2312]: Update wire
* feat: [CODE-2312]: update ui labels
* feat: [CODE-2312]: update resource and action
* feat: [CODE-2312]: Audit log new action : bypassed
* feat: [CODE-2312]: audit log object update
* Merge branch 'main' into akp/CODE-2312
* feat: [CODE-2312]: audit logging changes for commit, merge, create and delete branch
* Merge branch 'main' into akp/CODE-2312
* Merge branch 'main' into akp/CODE-2312
* feat: [CODE-2312]: introduce parser and enclosing method
* feat: [CODE-2312]: annotate error
* feat: [CODE-2312]: name change and todo removal
* feat: [CODE-2312]: Annotate errors
* feat: [CODE-2232]: Branch Rules: UserGroup support: Create and List
2024-10-11 17:05:19 +00:00
Kapil Garg
45be4fb7cb
fix: [CDE-268]: add space path in resource input for update API ( #2798 )
...
* use parent space path
* add space path in resource input for update API
2024-10-10 06:43:41 +00:00
Abhinav Singh
f4659a0c31
fix: [CODE-2478]: fix swagger of webhook execution ( #2796 )
2024-10-10 00:43:28 +00:00
Marko Gaćeša
c628d3307d
feat: [CODE-2483]: skip permission check for space pullreq API and fix the inner loop ( #2791 )
...
* skip permission check for space pullreq API and fix the inner loop
2024-10-09 10:43:32 +00:00
Ansuman Satapathy
2c8e0245c1
feat: [CDE-369]: call stop container for docker gitspaces ( #2789 )
...
*
feat: [CDE-369]: call stop container for docker gitspaces
2024-10-09 09:44:16 +00:00
Yogesh Chauhan
72472f3b27
feat: [ML-338]: Rename return_pipeline_yaml capability to display_pipeline_yaml ( #2776 )
...
* Fix lint
* feat: [ML-338]: Rename return_pipeline_yaml capability to display_pipeline_yaml
2024-10-09 09:07:51 +00:00
Ansuman Satapathy
160d1a28dd
feat: [CDE-369]: delete stopped gitspaces gracefully ( #2784 )
...
* feat: [CDE-369]: delete stopped gitspaces
2024-10-08 16:23:31 +00:00
Akhilesh Pandey
e3b3e983fd
feat: [CODE-2312]: audit logging changes for commit, merge, create and delete branch ( #2686 )
...
* feat: [CODE-2312]: address resourcename to commit.go
* feat: [CODE-2312]: address failure due to exceeding limit on resource labels
* feat: [CODE-2312]: lint
* feat: [CODE-2312]: MERGE
* feat: [CODE-2312]: Update wire
* feat: [CODE-2312]: update ui labels
* feat: [CODE-2312]: update resource and action
* feat: [CODE-2312]: Audit log new action : bypassed
* feat: [CODE-2312]: audit log object update
* Merge branch 'main' into akp/CODE-2312
* feat: [CODE-2312]: audit logging changes for commit, merge, create and delete branch
* Merge branch 'main' into akp/CODE-2312
* Merge branch 'main' into akp/CODE-2312
* feat: [CODE-2312]: introduce parser and enclosing method
* feat: [CODE-2312]: annotate error
* feat: [CODE-2312]: name change and todo removal
* feat: [CODE-2312]: Annotate errors
* feat: [CODE-2232]: Branch Rules: UserGroup support: Create and List
2024-10-08 16:20:56 +00:00
Marko Gaćeša
449435c9af
feat: [CODE-1474]: fix allowed methods in merge dry run ( #2783 )
...
* fix allowed methods in merge dry run
2024-10-08 16:20:34 +00:00