Patch openstack projects in batch mode
Based on the openstack/governance project list.
$ git clone https://github.com/4383/bpatch
$ cd bpatch
$ ./install.shA patch need to be placed in patches.
A patch need to contains several files:
cmd.shthe commands to execute to patchscopethe scope where we need to apply the patch (example only on oslo projects)patch.diffthe patch to apply at diff formatcommit.msgthe commit message for your git patchesignoring(optional) a list of projects to ignore
See patches/format-markdown for a real example (becarful to not submit patches)
Example with patches/format-markdown:
./tools/patch patches/format-markdown