Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Unify all "breeze" tools under breeze sub-commands (apache#23193)
Experimentally we've separated some CI-only tools like freespace and find-newer-dependencies as separate scripts (similarly to initialize-virtualenv) but contrary to the initialize, our tools can and should be run in Breeze's virtualenv. However we are just in the middle of using breeze commands in the CI context, the commands are not "alien" any more and they seem to fit the same pattern as other commands. Since we now have the possibility of grouping sub-commmands in separate logical groups, it makes perfect sense to bring the tools to the breeze's sub-commands - mostly because of the auto-complete support and familiarity of using breeze commands in CI. This PR brings both freespace and find-newer-dependencies tools already used in CI to become breeze sub-commands. It also adds "fix-ownership" and "resource-check" commands, so that we can run owership fixing on Linux machines (and adds fixing ownership as mandatory stop in all breeze-run jobs in CI and that users can run resource-check locally. This is because thgere were some cases after introducing Breeze that some root-owned left-overs prevented to checkout code by the runner on self-hosted runners. This was likely due to resource-check that was run without PYTHONDONTWRITEBYTECODE=1 variable - this variable have been added now to execution of the python script.
- Loading branch information