-
Notifications
You must be signed in to change notification settings - Fork 0
/
gh_issue_template.md.j2
53 lines (41 loc) · 1.49 KB
/
gh_issue_template.md.j2
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
---
title: "`test-mirrors` has encountered an error"
---
{% for issue in issues %}{% if issue.type == "request_error" %}
### Request Error for URL
Details:
- URL: {{ issue.url }}
- Mirror: {{ issue.mirror.base_url }}
- Admins:{% for admin in issue.mirror.admins %} @{{ admin }}{% endfor %}
Error message:
```
{{ issue.error_message }}
```
{% elif issue.type == "content_length_header_record_mismatch" %}
### Unexpected Content Length
Details:
- URL: {{ issue.url }}
- Mirror: {{ issue.mirror.base_url }}
- Admins:{% for admin in issue.mirror.admins %} @{{ admin }}{% endfor %}
- Expected content length (from data on record): {{ issue.record_size }} bytes
- `Content-Length` header: {{ issue.content_length_header }} bytes
{% elif issue.type == "content_length_header_response_mismatch" %}
### Content Length Header and Response Mismatch
Details:
- URL: {{ issue.url }}
- Mirror: {{ issue.mirror.base_url }}
- Admins:{% for admin in issue.mirror.admins %} @{{ admin }}{% endfor %}
- `Content-Length` header: {{ issue.content_length_header }} bytes
- Response size: {{ issue.response_size }} bytes
{% elif issue.type == "checksum_mismatch" %}
### Checksum Mismatch
Details:
- URL: {{ issue.url }}
- Mirror: {{ issue.mirror.base_url }}
- Admins:{% for admin in issue.mirror.admins %} @{{ admin }}{% endfor %}
- Expected checksum: `{{ issue.record_checksum }}`
- Actual checsum: `{{ issue.response_checksum }}`
{% else %}
### Unknown Error Encountered
Error JSON: `{{ issue | tojson }}`
{% endif %}{% endfor %}