{% extends "base.html" %} {% block title %}Compare Snapshots{% endblock %} {% block content %}

Snapshot Comparison

{{ comparison.snapshot1.Name }}

Description: {{ comparison.snapshot1.Description or 'No description' }}

Created: {{ comparison.snapshot1.CreatedAt[:19] if comparison.snapshot1.CreatedAt else 'Unknown' }}

Total Packages: {{ comparison.stats.total_1 }}

{{ comparison.snapshot2.Name }}

Description: {{ comparison.snapshot2.Description or 'No description' }}

Created: {{ comparison.snapshot2.CreatedAt[:19] if comparison.snapshot2.CreatedAt else 'Unknown' }}

Total Packages: {{ comparison.stats.total_2 }}

Comparison Summary

{{ comparison.stats.only_1_count }}

Only in
{{ comparison.snapshot1.Name }}

{{ comparison.stats.only_2_count }}

Only in
{{ comparison.snapshot2.Name }}

{{ comparison.stats.common_count }}

Common
Packages

{{ comparison.stats.only_1_count + comparison.stats.only_2_count }}

Different
Packages

{{ comparison.stats.total_1 + comparison.stats.total_2 - comparison.stats.common_count }}

Total if
Merged

{{ ((comparison.stats.common_count / comparison.stats.total_1) * 100)|round(1) if comparison.stats.total_1 > 0 else 0 }}%

Similarity
Score
Only in {{ comparison.snapshot1.Name }} ({{ comparison.stats.only_1_count }})
{% if comparison.only_in_1 %}
{% for pkg in comparison.only_in_1 %}
{{ pkg.name }}
{{ pkg.version }}
{% for arch in pkg.architectures %} {{ arch }} {% endfor %}
{% endfor %}
{% else %}
No unique packages
{% endif %}
Only in {{ comparison.snapshot2.Name }} ({{ comparison.stats.only_2_count }})
{% if comparison.only_in_2 %}
{% for pkg in comparison.only_in_2 %}
{{ pkg.name }}
{{ pkg.version }}
{% for arch in pkg.architectures %} {{ arch }} {% endfor %}
{% endfor %}
{% else %}
No unique packages
{% endif %}
Common Packages ({{ comparison.stats.common_count }})
{% if comparison.common %}
{% for pkg in comparison.common %}
{{ pkg.name }}
{{ pkg.version }}
{% for arch in pkg.architectures %} {{ arch }} {% endfor %}
{% endfor %}
{% else %}
No common packages
{% endif %}
Back to Snapshots
{% endblock %}