Skip to content

Commit

Permalink
Remove IPv4 proxy links to logs
Browse files Browse the repository at this point in the history
Since November 15, pkg builders have started using pkg-status URLs,
which support IPv4 and IPv6.
  • Loading branch information
dbaio committed Nov 15, 2022
1 parent d516537 commit 1c658b3
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 8 deletions.
4 changes: 1 addition & 3 deletions ports/templates/ports/fallout_list.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{% extends "ports/base.html" %}
{% block title %}Fallout list{% endblock %}
{% block body_block %}
{% load proxy %}

<br />

Expand Down Expand Up @@ -88,9 +87,8 @@ <h3>Fallout List</h3>
<td class="text-nowrap"><small>{{ fallout.date | date:"Y-m-d H:i" }}</small></td>
<td class="text-nowrap">
<a href="{{fallout.log_url }}" class="badge badge-danger">log</a>
<a href="{{fallout.log_url | get_proxy }}" class="badge badge-secondary">log v4</a>
<a href="{{fallout.report_url }}" class="badge badge-info">report</a>
<a href="{% url 'ports:detail' fallout.port.id %}" class="badge badge-success">port</a>
<a href="{% url 'ports:detail' fallout.port.id %}" class="badge badge-success">port detail</a>
<a href="https://www.freshports.org/{{fallout.port}}" class="badge badge-dark">FreshPorts</a>
</td>
</tr>
Expand Down
2 changes: 0 additions & 2 deletions ports/templates/ports/port_detail.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{% extends "ports/base.html" %}
{% block title %}Port detail - {{port.origin}}{% endblock %}
{% block body_block %}
{% load proxy %}

<br />
<h1>Port detail:</h1>
Expand Down Expand Up @@ -55,7 +54,6 @@ <h3>Fallout List</h3>
<td class="text-nowrap"><small>{{ fallout.date | date:"Y-m-d H:i" }}</small></td>
<td class="text-nowrap">
<a href="{{fallout.log_url }}" class="badge badge-danger">log</a>
<a href="{{fallout.log_url | get_proxy }}" class="badge badge-secondary">log v4</a>
<a href="{{fallout.report_url }}" class="badge badge-info">report</a>
<a href="{{fallout.build_url }}" class="badge badge-secondary">build queue</a>
</td>
Expand Down
3 changes: 0 additions & 3 deletions ports/templates/ports/server_list.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{% extends "ports/base.html" %}
{% block title %}Server list{% endblock %}
{% block body_block %}
{% load proxy %}

<br />

Expand All @@ -13,7 +12,6 @@ <h3>Server List</h3>
<tr>
<th scope="col" class="text-nowrap">server</th>
<th scope="col" class="text-nowrap">connectivity</th>
<th scope="col" class="text-nowrap">IPv4 proxy</th>
</tr>
</thead>
<tbody>
Expand All @@ -34,7 +32,6 @@ <h3>Server List</h3>
{% endif %}
</small>
</td>
<td class="text-nowrap"><small><a href="https://pkg-status.freebsd.org/{{ server.name | get_short_name }}/">pkg-status.freebsd.org/{{ server.name | get_short_name }}/</a></small></td>
</tr>
{% endfor %}
</tbody>
Expand Down

0 comments on commit 1c658b3

Please sign in to comment.