detached 042b201

.github: add templates (#233)

This is based on Ebitengine's templates for a new issue and a new pull request.
commit
042b20197425cc8a8d4b94518a19fe3723ff0096
author
Hajime Hoshi · · 2024-04-10 15:26 UTC
committer
GitHub · · 2024-04-10 15:26 UTC
parent
0e63021
signature
GPG UnverifiedB5690EEEBB952194 The key is unknown
refs
tag: v0.8.0-alpha.1
4 files · +99 -0
A .github/ISSUE_TEMPLATE/00-bug.yml +51 -0
@@ -0,0 +1,51 @@
1+name: Bug Report
2+description: Report a bug you've found.
3+labels: bug
4+body:
5+- type: input
6+ id: version_of_purego
7+ attributes:
8+ label: PureGo Version
9+ validations:
10+ required: true
11+- type: checkboxes
12+ id: os
13+ attributes:
14+ label: Operating System
15+ options:
16+ - label: Windows
17+ - label: macOS
18+ - label: Linux
19+ - label: FreeBSD
20+ - label: Android
21+ - label: iOS
22+ validations:
23+ required: true
24+- type: input
25+ id: version_of_go
26+ attributes:
27+ label: Go Version (`go version`)
28+ validations:
29+ required: true
30+- type: textarea
31+ id: repro_steps
32+ attributes:
33+ label: What steps will reproduce the problem?
34+ validations:
35+ required: true
36+- type: textarea
37+ id: expected_result
38+ attributes:
39+ label: What is the expected result?
40+ validations:
41+ required: true
42+- type: textarea
43+ id: actual_result
44+ attributes:
45+ label: What happens instead?
46+ validations:
47+ required: true
48+- type: textarea
49+ id: additional
50+ attributes:
51+ label: Anything else you feel useful to add?
@@ -0,0 +1,51 @@
1+name: Bug Report
2+description: Report a bug you've found.
3+labels: bug
4+body:
5+- type: input
6+ id: version_of_purego
7+ attributes:
8+ label: PureGo Version
9+ validations:
10+ required: true
11+- type: checkboxes
12+ id: os
13+ attributes:
14+ label: Operating System
15+ options:
16+ - label: Windows
17+ - label: macOS
18+ - label: Linux
19+ - label: FreeBSD
20+ - label: Android
21+ - label: iOS
22+ validations:
23+ required: true
24+- type: input
25+ id: version_of_go
26+ attributes:
27+ label: Go Version (`go version`)
28+ validations:
29+ required: true
30+- type: textarea
31+ id: repro_steps
32+ attributes:
33+ label: What steps will reproduce the problem?
34+ validations:
35+ required: true
36+- type: textarea
37+ id: expected_result
38+ attributes:
39+ label: What is the expected result?
40+ validations:
41+ required: true
42+- type: textarea
43+ id: actual_result
44+ attributes:
45+ label: What happens instead?
46+ validations:
47+ required: true
48+- type: textarea
49+ id: additional
50+ attributes:
51+ label: Anything else you feel useful to add?
A .github/ISSUE_TEMPLATE/01-feature.yml +29 -0
@@ -0,0 +1,29 @@
1+name: Feature Request
2+description: Provide details about a feature you'd like to see.
3+labels:
4+- feature
5+- request
6+body:
7+- type: checkboxes
8+ id: os
9+ attributes:
10+ label: Operating System
11+ options:
12+ - label: Windows
13+ - label: macOS
14+ - label: Linux
15+ - label: FreeBSD
16+ - label: Android
17+ - label: iOS
18+ validations:
19+ required: true
20+- type: textarea
21+ id: what
22+ attributes:
23+ label: What feature would you like to be added?
24+ validations:
25+ required: true
26+- type: textarea
27+ id: why
28+ attributes:
29+ label: Why is this needed?
@@ -0,0 +1,29 @@
1+name: Feature Request
2+description: Provide details about a feature you'd like to see.
3+labels:
4+- feature
5+- request
6+body:
7+- type: checkboxes
8+ id: os
9+ attributes:
10+ label: Operating System
11+ options:
12+ - label: Windows
13+ - label: macOS
14+ - label: Linux
15+ - label: FreeBSD
16+ - label: Android
17+ - label: iOS
18+ validations:
19+ required: true
20+- type: textarea
21+ id: what
22+ attributes:
23+ label: What feature would you like to be added?
24+ validations:
25+ required: true
26+- type: textarea
27+ id: why
28+ attributes:
29+ label: Why is this needed?
A .github/ISSUE_TEMPLATE/config.yml +5 -0
@@ -0,0 +1,5 @@
1+blank_issues_enabled: false
2+contact_links:
3+ - name: Questions
4+ about: Please use one of the forums for questions or general discussions
5+ url: https://github.com/ebitengine/purego/discussions
@@ -0,0 +1,5 @@
1+blank_issues_enabled: false
2+contact_links:
3+ - name: Questions
4+ about: Please use one of the forums for questions or general discussions
5+ url: https://github.com/ebitengine/purego/discussions
A .github/PULL_REQUEST_TEMPLATE.md +14 -0
@@ -0,0 +1,14 @@
1+<!--
2+Thanks for sending a pull request!
3+Please adhere to our Code of Conduct:
4+https://go.dev/conduct
5+-->
6+
7+# What issue is this addressing?
8+<!-- Closes #<issue number> | Updates #<issue number> -->
9+
10+## What _type_ of issue is this addressing?
11+<!-- bug | feature | security -->
12+
13+## What this PR does | solves
14+<!-- Please be as descriptive as possible -->
@@ -0,0 +1,14 @@
1+<!--
2+Thanks for sending a pull request!
3+Please adhere to our Code of Conduct:
4+https://go.dev/conduct
5+-->
6+
7+# What issue is this addressing?
8+<!-- Closes #<issue number> | Updates #<issue number> -->
9+
10+## What _type_ of issue is this addressing?
11+<!-- bug | feature | security -->
12+
13+## What this PR does | solves
14+<!-- Please be as descriptive as possible -->

Keyboard shortcuts

Single-key shortcuts are on. ctrl k and esc work whatever this says.

ctrl k :
go to a section, branch, tag, file or repository
?
this list
j k
move the row cursor down / up
enter
open the row under the cursor; on Files, a directory opens or closes in place
↑ ↓ ← → home end
in the file tree (focus on a row): previous / next row, close / open a directory or go to its parent / first entry, first / last row. They never open a file
l h
on Files: open a directory or a file / close a directory or go up to its parent, then to the parent page. Elsewhere: into the side panel (on a merge request, its files) / back to the content; there j k move between its controls
g g G
first / last row
/
filter the list; on Files, find a file anywhere in the repository (esc clears, enter opens the best match)
b
switch branch or tag
g s g f g c g b g m g i g r g a
tabs: summary, files, commits, branches & tags, merge requests, issues, releases, actions (when available)
g h
home
w
wide mode: use the whole width of the screen, or not (remembered)
y
copy a permalink pinned to the commit
d u x
diff: split / unified / collapse or expand all
e E
diff: the whole file in view / every file, with the lines the hunks hide
n
merge request: next note in the diff
esc
close a dialog, leave a field

Branches 1

Tags 102

↑↓ moveenter openesc close