362bf84586
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
19 lines
678 B
Django/Jinja
19 lines
678 B
Django/Jinja
OpenStack-Ansible Diff Generator
|
|
================================
|
|
|
|
This report shows changes from ``{{ older_sha }}`` to ``{{ latest_sha }}`` in
|
|
OpenStack-Ansible.
|
|
|
|
{% if extra_vars['roles_only'] %}
|
|
This report also includes the changes that were made in OpenStack-Ansible roles
|
|
between these two OpenStack commits.
|
|
{% elif extra_vars['projects_only'] %}
|
|
This report also includes the changes that were made in OpenStack projects
|
|
between thse two OpenStack-Ansible commits.
|
|
{% else %}
|
|
This report also includes the changes that were made in OpenStack projects and
|
|
OpenStack-Ansible roles between these two OpenStack-Ansible commits.
|
|
{% endif %}
|
|
|
|
{% include 'repo_details.j2' %}
|