ManageIQ / manageiq

ManageIQ Open-Source Management Platform
https://manageiq.org
Apache License 2.0
1.35k stars 900 forks source link

Added --prune option to remove deleted branches from the remote repos… #23115

Closed jaisejose1123 closed 4 months ago

jaisejose1123 commented 4 months ago

PR raised for old branches cleanup for Git-based domain https://github.com/ManageIQ/manageiq/issues/23087

Before We can see a lot of branches that no longer exist in our Git remote repository in the 'Refreshing Branch for Git-Based Domain' window 348248414-19aeb41e-efb8-4861-92fd-05a51101f229

After It now removes deleted branches using prune, so it only shows the existing branches. image Branch branch_test10 and branch_test12 have been deleted from the remote.

agrare commented 4 months ago

The security failure looks unrelated but rubocop has some good suggestions

jaisejose1123 commented 4 months ago

@agrare updated the PR. Please review

Fryguy commented 4 months ago

@jaisejose1123 Please fix the trailing new line rubocop, and then this is good

jaisejose1123 commented 4 months ago

@Fryguy , @agrare updated the Pr according to the review. Please take a look

miq-bot commented 4 months ago

Checked commit https://github.com/jaisejose1123/manageiq/commit/f909ed2de2e1368ed35f4fde209b4fe406957326 with ruby 3.1.5, rubocop 1.56.3, haml-lint 0.51.0, and yamllint 1 file checked, 0 offenses detected Everything looks fine. :trophy: