<commit_before>{% extends "base.html" %}
{% from "_formhelpers.html" import nullable_value, colorize_severity, colorize_status, colorize_remote %}

{% macro render_groups(groups) %}
	{% if groups %}
	<table class="styled_table medium_size">
		<thead>
			<tr>
				<th>Group</th>
				<th>Affected</th>
				<th>Fixed</th>
				<th class="full_size">Status</th>
			</tr>
		</thead>
		<tbody>
		{% for group in groups %}
			<tr>
				<td><a href="/{{ group.name }}">{{ group.name }}</a></td>
				<td>{{ group.affected }}</td>
				<td>{{ group.fixed }}</td>
				<td>{{ colorize_status(group.status) }}</td>
			</tr>
		{% endfor %}
		</tbody>
	</table>
	{% endif %}
{% endmacro %}

{% macro render_issues(issues) %}
	{% if issues %}
	<table class="styled_table medium_size">
		<thead>
			<tr>
				<th>Issue</th>
				<th>Group</th>
				<th>Severity</th>
				<th>Remote</th>
				<th class="full_size">Description</th>
			</tr>
		</thead>
		<tbody>
		{% for issue in issues %}
			<tr>
				<td><a href="/{{ issue.cve.id }}">{{ issue.cve.id }}</a></td>
				<td><a href="/{{ issue.group.name }}">{{ issue.group.name }}</a></td>
				<td>{{ colorize_severity(issue.cve.severity) }}</td>
				<td>{{ colorize_remote(issue.cve.remote) }}</td>
				<td><pre>{{ nullable_value(issue.cve.description)|wordwrap(60, wrapstring=' ')|truncate(80) }}<pre></td>
			</tr>
		{% endfor %}
		</tbody>
	</table>
	{% endif %}
{% endmacro %}

{% block content %}
	<h1>{{ package.pkgname }}</h1>
	<table class="styled_table column_major medium_size">
		<tbody>
			<tr>
				<td>Link</td>
				<td class="full_size">
					<a href="https://www.archlinux.org/packages/?name={{ package.pkgname }}">package</a> |
					<a href="https://bugs.archlinux.org/?project=0&cat%5B%5D=2&order=id&sort=desc&string={{ package.pkgname }}">bugs open</a> |
					<a href="https://bugs.archlinux.org/?project=0&cat%5B%5D=2&order=id&sort=desc&status%5B%5D=closed&string={{ package.pkgname }}">bugs closed</a> |
					<a href="https://wiki.archlinux.org/index.php/Special:Search?search={{ package.pkgname }}%22">Wiki</a> |
					<a href="https://github.com/search?type=Repositories&q=%22{{ package.pkgname }}%22">GitHub</a> |
					<a href="https://www.google.net/search?gws_rd=cr&q=%22{{ package.pkgname }}%22">web search</a>
				</td>
			</tr>
			<tr>
				<td>Version</td>
				<td>
				{% for version in package.versions %}
					{{ version.version }} {{version.arch}} [{{ version.db.name }}]<br />
				{% endfor %}
				</td>
			</tr>
		</tbody>
	</table>
	{% if package.groups.open or package.issues.open %}
	<h2>Open</h2>
	{{ render_groups(package.groups.open) }}
	{{ render_issues(package.issues.open) }}
	{% endif %}
	{% if package.groups.resolved or package.issues.resolved %}
	<h2>Resolved</h2>
	{{ render_groups(package.groups.resolved) }}
	{{ render_issues(package.issues.resolved) }}
	{% endif %}
{% endblock %}<commit_msg>package: purge arch from package version<commit_after>{% extends "base.html" %}
{% from "_formhelpers.html" import nullable_value, colorize_severity, colorize_status, colorize_remote %}

{% macro render_groups(groups) %}
	{% if groups %}
	<table class="styled_table medium_size">
		<thead>
			<tr>
				<th>Group</th>
				<th>Affected</th>
				<th>Fixed</th>
				<th class="full_size">Status</th>
			</tr>
		</thead>
		<tbody>
		{% for group in groups %}
			<tr>
				<td><a href="/{{ group.name }}">{{ group.name }}</a></td>
				<td>{{ group.affected }}</td>
				<td>{{ group.fixed }}</td>
				<td>{{ colorize_status(group.status) }}</td>
			</tr>
		{% endfor %}
		</tbody>
	</table>
	{% endif %}
{% endmacro %}

{% macro render_issues(issues) %}
	{% if issues %}
	<table class="styled_table medium_size">
		<thead>
			<tr>
				<th>Issue</th>
				<th>Group</th>
				<th>Severity</th>
				<th>Remote</th>
				<th class="full_size">Description</th>
			</tr>
		</thead>
		<tbody>
		{% for issue in issues %}
			<tr>
				<td><a href="/{{ issue.cve.id }}">{{ issue.cve.id }}</a></td>
				<td><a href="/{{ issue.group.name }}">{{ issue.group.name }}</a></td>
				<td>{{ colorize_severity(issue.cve.severity) }}</td>
				<td>{{ colorize_remote(issue.cve.remote) }}</td>
				<td><pre>{{ nullable_value(issue.cve.description)|wordwrap(60, wrapstring=' ')|truncate(80) }}<pre></td>
			</tr>
		{% endfor %}
		</tbody>
	</table>
	{% endif %}
{% endmacro %}

{% block content %}
	<h1>{{ package.pkgname }}</h1>
	<table class="styled_table column_major medium_size">
		<tbody>
			<tr>
				<td>Link</td>
				<td class="full_size">
					<a href="https://www.archlinux.org/packages/?name={{ package.pkgname }}">package</a> |
					<a href="https://bugs.archlinux.org/?project=0&cat%5B%5D=2&order=id&sort=desc&string={{ package.pkgname }}">bugs open</a> |
					<a href="https://bugs.archlinux.org/?project=0&cat%5B%5D=2&order=id&sort=desc&status%5B%5D=closed&string={{ package.pkgname }}">bugs closed</a> |
					<a href="https://wiki.archlinux.org/index.php/Special:Search?search={{ package.pkgname }}%22">Wiki</a> |
					<a href="https://github.com/search?type=Repositories&q=%22{{ package.pkgname }}%22">GitHub</a> |
					<a href="https://www.google.net/search?gws_rd=cr&q=%22{{ package.pkgname }}%22">web search</a>
				</td>
			</tr>
			<tr>
				<td>Version</td>
				<td>
				{% for version in package.versions %}
					{{ version.version }} [{{ version.db.name }}]<br />
				{% endfor %}
				</td>
			</tr>
		</tbody>
	</table>
	{% if package.groups.open or package.issues.open %}
	<h2>Open</h2>
	{{ render_groups(package.groups.open) }}
	{{ render_issues(package.issues.open) }}
	{% endif %}
	{% if package.groups.resolved or package.issues.resolved %}
	<h2>Resolved</h2>
	{{ render_groups(package.groups.resolved) }}
	{{ render_issues(package.issues.resolved) }}
	{% endif %}
{% endblock %}
{'fraction_non_alphanumeric': 0.23162661093695577, 'fraction_numerical': 0.01044932079414838, 'mean_word_length': 3.7699335548172757, 'pattern_counts': {'":': 0, '<': 201, '<?xml version=': 0, '>': 201, 'https://': 12, 'lorem ipsum': 0, 'www.': 4, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3277269', 'n_tokens_mistral': 2637, 'n_tokens_neox': 2189, 'n_words': 360}