
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
18 lines
596 B
Django/Jinja
18 lines
596 B
Django/Jinja
|
||
**{{ project }}**
|
||
{% if commits | length < 1 %}
|
||
No commits were found in the project between the OSA commits provided.
|
||
{% elif commits | length == 1 %}
|
||
1 commit was found in the project (``{{ older_sha }}`` › ``{{ latest_sha }}``):
|
||
|
||
::
|
||
{% elif commits | length > 1 %}
|
||
{{ commits | length }} commits were found in the project (``{{ older_sha }}`` › ``{{ latest_sha }}``):
|
||
|
||
::
|
||
{% endif %}
|
||
|
||
{% for commit in commits if not commit.commit['message'].split('\n')[0][0:7] == 'Merge "' %}
|
||
{{ commit.sha[0:8] | indent(4, true)}} {{ commit.commit['message'].split('\n')[0] }}
|
||
{% endfor %}
|