{% macro print_bug(bug) %} {{bug.status}} {{bug.summary}} {{bug.creator | parse_user }} {% if bug.is_confirmed %} {% else %} {% endif %} {{bug.last_change_time | parse_timedelta}} {{bug.assigned_to | parse_user }} link {%- endmacro %} {# {% macro print_bug(bug) -%}
  • Summary: {{bug.summary}}, Status: {{bug.status}}, Creator: {{bug.creator}}, Resolution: {{bug.resolution}}, Open: {{bug.is_open}}, Last Modified: {{bug.last_change_time}}, Confirmed: {{bug.is_confirmed}} link

  • {%- endmacro %} #} {% macro table_footer() %} {% endmacro %} {% macro table_header() %} {%endmacro %} CA Misissuance Checker

    CA Compliance Summary for {{date_start}} - {{date_end}}

    Summary

    • {{recent_bugs|length}} new bug reports were filed, of which {{recent_bugs|selectattr('is_open', 'equalto', false) | list | length}} are resolved.
    • {{updated_bugs|selectattr('is_open', 'equalto', false) | list | length}} old bug reports were closed.
    • {{updated_bugs|selectattr('is_open') | list | length}} old bug reports were updated.
    • There are {{unresolved_bugs|length}} total unresolved bug reports for all time.

    New bugs

    Bugs created in this time period. {{ table_header() }} {% for bug in recent_bugs %} {{ print_bug(bug) }} {% endfor %} {{ table_footer() }}

    Resolved bugs

    Bugs resolved in this time period. {{ table_header() }} {% for bug in updated_bugs|selectattr('is_open', 'equalto', false) | list + recent_bugs|selectattr('is_open', 'equalto', false) | list %} {{ print_bug(bug) }} {% endfor %} {{ table_footer() }}

    Updated bugs

    Bugs updated but not resolved in this time period. {{ table_header() }} {% for bug in updated_bugs %} {{ print_bug(bug) }} {% endfor %} {{ table_footer() }}
    Status Summary Creator Confirmed Modified Assigned Link