The repo is Python 3 now, so update hacking to version 3.0 which
supports Python 3.
Fix problems found.
Depends-On: https://review.opendev.org/722854
Change-Id: I190f32b2eea20024c71fc74bac7f5d011768473c
Problems resolved:
- Errors relating to 'etc' folders which did not exist in the
target repositories have been eliminated.
- Some repositories were not being excluded from evaluation
for file/template updates. All appropriate exclusions are
now implemented.
- If an OSA role repository did not have the required folder
to copy rootwrap files into, the copy would fail and the
rootwrap files therefore be left out of the patch.
- When executed on Mac OS X, python2 is not found.
- Documentation is added to describe how to use the script
to handle periodic SHA bumps.
Change-Id: I628cd2c3156d118c17ca2f90d4ccf0bc5a080bbf
This implements more correct file open options. While this is
not strictly required it does appear to make the script behave
more consistently across different platforms.
The patch also renames the file name and related content to
ensure that the tool is correctly spelled.
Change-Id: Idde0141691e1008bead802bd6f3759c12e37b02b