- Move common code into buildbot_utils.py
- Remove legacy code from removed builders
- Split code into smaller functions
Yes, these refactored scripts only run on the buildbot slaves.
There should be no functional changes with this patch, it's intended to be purely a code cleanup. The directory layout used on the buildbot slave is the same as before too.