{% set ns = namespace(found_change=False) %} {% macro has_changes(changes, capability) %} {% set ns.found_change = False %} {% for change in changes %} {% if change.added.get(capability, []) or change.removed.get(capability, []) %} {% set ns.found_change = True %} {% endif %} {% endfor %} {{ ns.found_change }} {% endmacro %} {% macro has_items(changes, attribute) %} {% set result = False %} {% for change in changes %} {% if change[attribute]|length > 0 %} {% set result = True %} {% endif %} {% endfor %} {{ result }} {% endmacro %}

Compatibility Information

{% for package in packages %}

{{ package.pkg_name }}

{% if package.requires_changes %}

Requires Changes

{% for capability in ["REQUIRES", "PROVIDES", "CONFLICTS", "OBSOLETES", "RECOMMENDS", "SUPPLEMENTS", "SUGGESTS"] %} {% if has_changes(package.requires_changes, capability)|trim == 'True' %} {% endif %} {% endfor %} {% for change in package.requires_changes %} {% for capability in ["REQUIRES", "PROVIDES", "CONFLICTS", "OBSOLETES", "RECOMMENDS", "SUPPLEMENTS", "SUGGESTS"] %} {% if has_changes(package.requires_changes, capability)|trim == 'True' %} {% endif %} {% endfor %} {% endfor %}
Old Version New VersionAdded {{ capability }} Removed {{ capability }}
{{ change.package_old }} {{ change.package_new }}{{ change.added.get(capability, [])|join(', ') }} {{ change.removed.get(capability, [])|join(', ') }}
{% endif %} {% if package.config_file_changes %}

Config File Changes

{% for change in package.config_file_changes %} {% endfor %}
Config File Package Name Options Changed Options Removed Options Added Differences Section Removed Section Added
{{ change.config_file }} {{ change.package_name }}
    {% for option in change.options_changed %}
  • {{ option }}
  • {% endfor %}
    {% for option in change.options_removed %}
  • {{ option }}
  • {% endfor %}
    {% for option in change.options_added %}
  • {{ option }}
  • {% endfor %}
    {% for diff in change.config_file_diff %}
  • {{ diff }}
  • {% endfor %}
    {% for section in change.section_removed %}
  • {{ section }}
  • {% endfor %}
    {% for section in change.section_added %}
  • {{ section }}
  • {% endfor %}
{% endif %} {% if package.compatibility %}

Compatibility

{% for compatibility in package.compatibility %} {% endfor %}
Library Name Binary Compatibility Source Compatibility Binary Compatibility Problems Binary Compatibility Warnings Source Compatibility Problems Source Compatibility Warnings
{{ compatibility.library_name}} {{ compatibility.binary_compatibility }} {{ compatibility.source_compatibility }} {{ compatibility.binary_compatibility_problems }} {{ compatibility.binary_compatibility_warnings }} {{ compatibility.source_compatibility_problems }} {{ compatibility.source_compatibility_warnings }}
{% endif %}
{% endfor %}