4 Commits

Author SHA1 Message Date
Andreas Jaeger
2860f1bda5 Update hacking for Python3
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
2020-04-29 06:20:40 +00:00
Jesse Pretorius
e8abf19647 Fix sources-branch-updater and add docs
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
2018-01-15 12:29:19 +00:00
Jean-Philippe Evrard
a1c1e6f529 Set python2 for SHA updating scripts
Explicitly list the supported python version.

Change-Id: I30a7fd8b24dabf9650cf318b244382301187d01c
2017-06-12 13:12:52 +00:00
Jesse Pretorius
60603c3213 Adjust ansible-role-requirements-editor file open options
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
2016-04-15 13:44:59 +01:00