{# Copyright (C) 2014 The Debsources developers . See the AUTHORS file at the top-level directory of this distribution and at https://salsa.debian.org/qa/debsources/blob/master/AUTHORS License: GNU Affero General Public License, version 3 or above. #} {% macro render_trends(suite) %} {# {% set granularities = ['1-month', '1-year', '5-years', '20-years'] %} #} {% set granularities = ['1-month', '1-year', '5-years'] %} {% macro historical_trend(metric) -%} {% for g in granularities %}
{{ g }}
{% endfor %} {%- endmacro %}

Disk usage

{{ historical_trend('disk_usage') }}

Source lines of code

{{ historical_trend('sloc') }}

Source packages

{{ historical_trend('source_packages') }}

Source files

{{ historical_trend('source_files') }}

Ctags

{{ historical_trend('ctags') }} {% endmacro %}