[WIP]refactoring RELENG scripts 2nd part #12963

Closed
amedvede wants to merge 4 commits from refactoring_1 into main

4 commits