Skip to content
This repository was archived by the owner on Jan 2, 2025. It is now read-only.

Commit ae56beb

Browse files
committed
chore: update repository templates to ory/meta@763e4c1
1 parent 6b1c9a7 commit ae56beb

18 files changed

+1050
-78
lines changed

.github/FUNDING.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# AUTO-GENERATED, DO NOT EDIT!
2+
# Please edit the original at https://github.com/ory/meta/blob/master/templates/repository/common/.github/FUNDING.yml
3+
4+
# These are supported funding model platforms
5+
6+
# github:
7+
patreon: _ory
8+
open_collective: ory

.github/ISSUE_TEMPLATE/BUG-REPORT.yml

Lines changed: 122 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,122 @@
1+
# AUTO-GENERATED, DO NOT EDIT!
2+
# Please edit the original at https://github.com/ory/meta/blob/master/templates/repository/common/.github/ISSUE_TEMPLATE/BUG-REPORT.yml
3+
4+
description: "Create a bug report"
5+
labels:
6+
- bug
7+
name: "Bug Report"
8+
body:
9+
- attributes:
10+
value: "Thank you for taking the time to fill out this bug report!\n"
11+
type: markdown
12+
- attributes:
13+
label: "Preflight checklist"
14+
options:
15+
- label:
16+
"I could not find a solution in the existing issues, docs, nor
17+
discussions."
18+
required: true
19+
- label:
20+
"I agree to follow this project's [Code of
21+
Conduct](https://github.com/ory/go-acc/blob/master/CODE_OF_CONDUCT.md)."
22+
required: true
23+
- label:
24+
"I have read and am following this repository's [Contribution
25+
Guidelines](https://github.com/ory/go-acc/blob/master/CONTRIBUTING.md)."
26+
required: true
27+
- label:
28+
"I have joined the [Ory Community Slack](https://slack.ory.sh)."
29+
- label:
30+
"I am signed up to the [Ory Security Patch
31+
Newsletter](https://www.ory.sh/l/sign-up-newsletter)."
32+
id: checklist
33+
type: checkboxes
34+
- attributes:
35+
description:
36+
"Enter the slug or API URL of the affected Ory Network project. Leave
37+
empty when you are self-hosting."
38+
label: "Ory Network Project"
39+
placeholder: "https://<your-project-slug>.projects.oryapis.com"
40+
id: ory-network-project
41+
type: input
42+
- attributes:
43+
description: "A clear and concise description of what the bug is."
44+
label: "Describe the bug"
45+
placeholder: "Tell us what you see!"
46+
id: describe-bug
47+
type: textarea
48+
validations:
49+
required: true
50+
- attributes:
51+
description: |
52+
Clear, formatted, and easy to follow steps to reproduce the behavior:
53+
placeholder: |
54+
Steps to reproduce the behavior:
55+
56+
1. Run `docker run ....`
57+
2. Make API Request to with `curl ...`
58+
3. Request fails with response: `{"some": "error"}`
59+
label: "Reproducing the bug"
60+
id: reproduce-bug
61+
type: textarea
62+
validations:
63+
required: true
64+
- attributes:
65+
description:
66+
"Please copy and paste any relevant log output. This will be
67+
automatically formatted into code, so no need for backticks. Please
68+
redact any sensitive information"
69+
label: "Relevant log output"
70+
render: shell
71+
placeholder: |
72+
log=error ....
73+
id: logs
74+
type: textarea
75+
- attributes:
76+
description:
77+
"Please copy and paste any relevant configuration. This will be
78+
automatically formatted into code, so no need for backticks. Please
79+
redact any sensitive information!"
80+
label: "Relevant configuration"
81+
render: yml
82+
placeholder: |
83+
server:
84+
admin:
85+
port: 1234
86+
id: config
87+
type: textarea
88+
- attributes:
89+
description: "What version of our software are you running?"
90+
label: Version
91+
id: version
92+
type: input
93+
validations:
94+
required: true
95+
- attributes:
96+
label: "On which operating system are you observing this issue?"
97+
options:
98+
- Ory Network
99+
- macOS
100+
- Linux
101+
- Windows
102+
- FreeBSD
103+
- Other
104+
id: operating-system
105+
type: dropdown
106+
- attributes:
107+
label: "In which environment are you deploying?"
108+
options:
109+
- Ory Network
110+
- Docker
111+
- "Docker Compose"
112+
- "Kubernetes with Helm"
113+
- Kubernetes
114+
- Binary
115+
- Other
116+
id: deployment
117+
type: dropdown
118+
- attributes:
119+
description: "Add any other context about the problem here."
120+
label: Additional Context
121+
id: additional
122+
type: textarea

.github/ISSUE_TEMPLATE/DESIGN-DOC.yml

Lines changed: 125 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,125 @@
1+
# AUTO-GENERATED, DO NOT EDIT!
2+
# Please edit the original at https://github.com/ory/meta/blob/master/templates/repository/common/.github/ISSUE_TEMPLATE/DESIGN-DOC.yml
3+
4+
description:
5+
"A design document is needed for non-trivial changes to the code base."
6+
labels:
7+
- rfc
8+
name: "Design Document"
9+
body:
10+
- attributes:
11+
value: |
12+
Thank you for writing this design document.
13+
14+
One of the key elements of Ory's software engineering culture is the use of defining software designs through design docs. These are relatively informal documents that the primary author or authors of a software system or application create before they embark on the coding project. The design doc documents the high level implementation strategy and key design decisions with emphasis on the trade-offs that were considered during those decisions.
15+
16+
Ory is leaning heavily on [Google's design docs process](https://www.industrialempathy.com/posts/design-docs-at-google/)
17+
and [Golang Proposals](https://github.com/golang/proposal).
18+
19+
Writing a design doc before contributing your change ensures that your ideas are checked with
20+
the community and maintainers. It will save you a lot of time developing things that might need to be changed
21+
after code reviews, and your pull requests will be merged faster.
22+
type: markdown
23+
- attributes:
24+
label: "Preflight checklist"
25+
options:
26+
- label:
27+
"I could not find a solution in the existing issues, docs, nor
28+
discussions."
29+
required: true
30+
- label:
31+
"I agree to follow this project's [Code of
32+
Conduct](https://github.com/ory/go-acc/blob/master/CODE_OF_CONDUCT.md)."
33+
required: true
34+
- label:
35+
"I have read and am following this repository's [Contribution
36+
Guidelines](https://github.com/ory/go-acc/blob/master/CONTRIBUTING.md)."
37+
required: true
38+
- label:
39+
"I have joined the [Ory Community Slack](https://slack.ory.sh)."
40+
- label:
41+
"I am signed up to the [Ory Security Patch
42+
Newsletter](https://www.ory.sh/l/sign-up-newsletter)."
43+
id: checklist
44+
type: checkboxes
45+
- attributes:
46+
description:
47+
"Enter the slug or API URL of the affected Ory Network project. Leave
48+
empty when you are self-hosting."
49+
label: "Ory Network Project"
50+
placeholder: "https://<your-project-slug>.projects.oryapis.com"
51+
id: ory-network-project
52+
type: input
53+
- attributes:
54+
description: |
55+
This section gives the reader a very rough overview of the landscape in which the new system is being built and what is actually being built. This isn’t a requirements doc. Keep it succinct! The goal is that readers are brought up to speed but some previous knowledge can be assumed and detailed info can be linked to. This section should be entirely focused on objective background facts.
56+
label: "Context and scope"
57+
id: scope
58+
type: textarea
59+
validations:
60+
required: true
61+
62+
- attributes:
63+
description: |
64+
A short list of bullet points of what the goals of the system are, and, sometimes more importantly, what non-goals are. Note, that non-goals aren’t negated goals like “The system shouldn’t crash”, but rather things that could reasonably be goals, but are explicitly chosen not to be goals. A good example would be “ACID compliance”; when designing a database, you’d certainly want to know whether that is a goal or non-goal. And if it is a non-goal you might still select a solution that provides it, if it doesn’t introduce trade-offs that prevent achieving the goals.
65+
label: "Goals and non-goals"
66+
id: goals
67+
type: textarea
68+
validations:
69+
required: true
70+
71+
- attributes:
72+
description: |
73+
This section should start with an overview and then go into details.
74+
The design doc is the place to write down the trade-offs you made in designing your software. Focus on those trade-offs to produce a useful document with long-term value. That is, given the context (facts), goals and non-goals (requirements), the design doc is the place to suggest solutions and show why a particular solution best satisfies those goals.
75+
76+
The point of writing a document over a more formal medium is to provide the flexibility to express the problem at hand in an appropriate manner. Because of this, there is no explicit guidance on how to actually describe the design.
77+
label: "The design"
78+
id: design
79+
type: textarea
80+
validations:
81+
required: true
82+
83+
- attributes:
84+
description: |
85+
If the system under design exposes an API, then sketching out that API is usually a good idea. In most cases, however, one should withstand the temptation to copy-paste formal interface or data definitions into the doc as these are often verbose, contain unnecessary detail and quickly get out of date. Instead, focus on the parts that are relevant to the design and its trade-offs.
86+
label: "APIs"
87+
id: apis
88+
type: textarea
89+
90+
- attributes:
91+
description: |
92+
Systems that store data should likely discuss how and in what rough form this happens. Similar to the advice on APIs, and for the same reasons, copy-pasting complete schema definitions should be avoided. Instead, focus on the parts that are relevant to the design and its trade-offs.
93+
label: "Data storage"
94+
id: persistence
95+
type: textarea
96+
97+
- attributes:
98+
description: |
99+
Design docs should rarely contain code, or pseudo-code except in situations where novel algorithms are described. As appropriate, link to prototypes that show the feasibility of the design.
100+
label: "Code and pseudo-code"
101+
id: pseudocode
102+
type: textarea
103+
104+
- attributes:
105+
description: |
106+
One of the primary factors that would influence the shape of a software design and hence the design doc, is the degree of constraint of the solution space.
107+
108+
On one end of the extreme is the “greenfield software project”, where all we know are the goals, and the solution can be whatever makes the most sense. Such a document may be wide-ranging, but it also needs to quickly define a set of rules that allow zooming in on a manageable set of solutions.
109+
110+
On the other end are systems where the possible solutions are very well defined, but it isn't at all obvious how they could even be combined to achieve the goals. This may be a legacy system that is difficult to change and wasn't designed to do what you want it to do or a library design that needs to operate within the constraints of the host programming language.
111+
112+
In this situation, you may be able to enumerate all the things you can do relatively easily, but you need to creatively put those things together to achieve the goals. There may be multiple solutions, and none of them are great, and hence such a document should focus on selecting the best way given all identified trade-offs.
113+
label: "Degree of constraint"
114+
id: constrait
115+
type: textarea
116+
117+
- attributes:
118+
description: |
119+
This section lists alternative designs that would have reasonably achieved similar outcomes. The focus should be on the trade-offs that each respective design makes and how those trade-offs led to the decision to select the design that is the primary topic of the document.
120+
121+
While it is fine to be succinct about a solution that ended up not being selected, this section is one of the most important ones as it shows very explicitly why the selected solution is the best given the project goals and how other solutions, that the reader may be wondering about, introduce trade-offs that are less desirable given the goals.
122+
123+
label: Alternatives considered
124+
id: alternatives
125+
type: textarea
Lines changed: 86 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,86 @@
1+
# AUTO-GENERATED, DO NOT EDIT!
2+
# Please edit the original at https://github.com/ory/meta/blob/master/templates/repository/common/.github/ISSUE_TEMPLATE/FEATURE-REQUEST.yml
3+
4+
description:
5+
"Suggest an idea for this project without a plan for implementation"
6+
labels:
7+
- feat
8+
name: "Feature Request"
9+
body:
10+
- attributes:
11+
value: |
12+
Thank you for suggesting an idea for this project!
13+
14+
If you already have a plan to implement a feature or a change, please create a [design document](https://github.com/aeneasr/gh-template-test/issues/new?assignees=&labels=rfc&template=DESIGN-DOC.yml) instead if the change is non-trivial!
15+
type: markdown
16+
- attributes:
17+
label: "Preflight checklist"
18+
options:
19+
- label:
20+
"I could not find a solution in the existing issues, docs, nor
21+
discussions."
22+
required: true
23+
- label:
24+
"I agree to follow this project's [Code of
25+
Conduct](https://github.com/ory/go-acc/blob/master/CODE_OF_CONDUCT.md)."
26+
required: true
27+
- label:
28+
"I have read and am following this repository's [Contribution
29+
Guidelines](https://github.com/ory/go-acc/blob/master/CONTRIBUTING.md)."
30+
required: true
31+
- label:
32+
"I have joined the [Ory Community Slack](https://slack.ory.sh)."
33+
- label:
34+
"I am signed up to the [Ory Security Patch
35+
Newsletter](https://www.ory.sh/l/sign-up-newsletter)."
36+
id: checklist
37+
type: checkboxes
38+
- attributes:
39+
description:
40+
"Enter the slug or API URL of the affected Ory Network project. Leave
41+
empty when you are self-hosting."
42+
label: "Ory Network Project"
43+
placeholder: "https://<your-project-slug>.projects.oryapis.com"
44+
id: ory-network-project
45+
type: input
46+
- attributes:
47+
description:
48+
"Is your feature request related to a problem? Please describe."
49+
label: "Describe your problem"
50+
placeholder:
51+
"A clear and concise description of what the problem is. Ex. I'm always
52+
frustrated when [...]"
53+
id: problem
54+
type: textarea
55+
validations:
56+
required: true
57+
- attributes:
58+
description: |
59+
Describe the solution you'd like
60+
placeholder: |
61+
A clear and concise description of what you want to happen.
62+
label: "Describe your ideal solution"
63+
id: solution
64+
type: textarea
65+
validations:
66+
required: true
67+
- attributes:
68+
description: "Describe alternatives you've considered"
69+
label: "Workarounds or alternatives"
70+
id: alternatives
71+
type: textarea
72+
validations:
73+
required: true
74+
- attributes:
75+
description: "What version of our software are you running?"
76+
label: Version
77+
id: version
78+
type: input
79+
validations:
80+
required: true
81+
- attributes:
82+
description:
83+
"Add any other context or screenshots about the feature request here."
84+
label: Additional Context
85+
id: additional
86+
type: textarea

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
# AUTO-GENERATED, DO NOT EDIT!
2+
# Please edit the original at https://github.com/ory/meta/blob/master/templates/repository/common/.github/ISSUE_TEMPLATE/config.yml
3+
4+
blank_issues_enabled: false
5+
contact_links:
6+
- name: Ory go-acc Forum
7+
url: https://github.com/orgs/ory/discussions
8+
about:
9+
Please ask and answer questions here, show your implementations and
10+
discuss ideas.
11+
- name: Ory Chat
12+
url: https://www.ory.sh/chat
13+
about:
14+
Hang out with other Ory community members to ask and answer questions.

.github/auto_assign.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# AUTO-GENERATED, DO NOT EDIT!
2+
# Please edit the original at https://github.com/ory/meta/blob/master/templates/repository/common/.github/auto_assign.yml
3+
4+
# Set to true to add reviewers to pull requests
5+
addReviewers: true
6+
7+
# Set to true to add assignees to pull requests
8+
addAssignees: true
9+
10+
# A list of reviewers to be added to pull requests (GitHub user name)
11+
assignees:
12+
- ory/maintainers
13+
14+
# A number of reviewers added to the pull request
15+
# Set 0 to add all the reviewers (default: 0)
16+
numberOfReviewers: 0

.github/config.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# AUTO-GENERATED, DO NOT EDIT!
2+
# Please edit the original at https://github.com/ory/meta/blob/master/templates/repository/common/.github/config.yml
3+
4+
todo:
5+
keyword: "@todo"
6+
label: todo

0 commit comments

Comments
 (0)