2 Commits

Author SHA1 Message Date
Major Hayden
362bf84586
osa-differ: Refactor and filtered reports
This patch adds filtered report support to the osa-differ script and
refactors some code that was repeated more than once.

A user can provide ``--projects-only`` on the command line to see
only the commits that were made to OpenStack projects that OSA
builds. The user can also use ``--roles-only`` to limit the report
only to the changes in OSA roles.

All commits are rendered through the same jinja template, which
should make future cosmetic updates much easier. Each section for a
project or role now includes links back to the repository itself
and links to each commit.

The script now also shows the commits on OSA itself. That seems
fairly important and it should have been there earlier.

Change-Id: I139f0f1bab3d4afbc5004dc52756800e426aa605
2016-07-06 13:20:38 -05:00
Major Hayden
6e452cfb19 Add diffs for roles, output RST
This patch adds two new features:

  * Output is now in RST format
  * Ansible roles in OSA are diffed as well

The RST output makes it easier to copy/paste the output into release
notes, documentation, or other RST-formatted items.

The script also diffs the Ansible roles that are installed along with
OpenStack-Ansible. These were helper roles in Liberty and earlier,
but they include the IRR roles in Mitaka and beyond.

Example output: https://gist.github.com/major/b371aba29720748ab6e1e55a2bf164ab

Change-Id: I863a29fad5e56e02a9f47b015ac71867b16e4060
2016-06-22 11:11:46 -05:00