5b5ae43392
There was a bug in osa-differ where an exception would be thrown if a new role appeared that didn't exist before. That's fixed in this patch. The script also skips the commit comparison if it notices that the commit SHA matches between both OSA releases. The RST output had broken headers before and those are fixed as well. Closes-bug: 1604840 Change-Id: Ifa47d64e7b79639a90871fdbf0370f8c425582ed
23 lines
872 B
Django/Jinja
23 lines
872 B
Django/Jinja
|
|
{{ repo }}
|
|
{% if repo == 'openstack-ansible' %}
|
|
{{ '-' * repo | length}}
|
|
{% else %}
|
|
{{ '~' * repo | length}}
|
|
{% endif %}
|
|
|
|
{% if commits | length < 1 %}
|
|
No commits were found in `{{ repo }} <https://github.com/openstack/{{ repo }}>`_
|
|
between the OSA commits provided.
|
|
{% elif commits | length == 1 %}
|
|
1 commit was found in `{{ repo }} <https://github.com/openstack/{{ repo }}>`_
|
|
from ``{{ older_sha }}`` to ``{{ latest_sha }}``:
|
|
{% elif commits | length > 1 %}
|
|
{{ commits | length }} commits were found in `{{ repo }} <https://github.com/openstack/{{ repo }}>`_
|
|
from ``{{ older_sha }}`` to ``{{ latest_sha }}``:
|
|
{% endif %}
|
|
|
|
{% for commit in commits if not commit.commit['message'].split('\n')[0][0:7] == 'Merge "' %}
|
|
* {{ commit.commit['message'].split('\n')[0] }} [`{{ commit.sha[0:8] }} <https://github.com/openstack/{{ repo }}/commit/{{ commit.sha }}>`_]
|
|
{% endfor %}
|