
running processes in the background with " &" means that the exit code will get ignored by the surrounding shell, which causes issues in renderspec invocation to be ignored by the linter job. Rewrite the logic to use xargs so that we preserve the parallelism but still capture the exit codes (although it happens out of band so it is remaining hard to find in the output). Remove the py3 only logic and always run it with both flags. Change-Id: Idb5f9cd3d6264ad86ca5a9905234f072ece622ca
RPM Packaging for OpenStack internal tooling README
This directory provides useful tooling for contributors to the RPM Packaging project.
tools/run_renderspec.sh
This tool can be used to generate usable spec files for all supported RPM distributions from shipped templates. It will browse recursively the directory passed in argument to find spec templates. If no directory is given, it will search in current directory.
Usage:
tools/run_renderspec.sh <path>
tools/run_speccleaner.sh
This tool can be used to run spec-cleaner on generated spec files. It will browse recursively the directory passed in argument and will display as an unified diff, differences to our standards. If no directory is given, it will search in current directory.
Usage:
tools/run_speccleaner.sh <path>