Skip to content

Commit 6e147f8

Browse files
authored
Initial commit
0 parents  commit 6e147f8

File tree

12 files changed

+826
-0
lines changed

12 files changed

+826
-0
lines changed
Lines changed: 71 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,71 @@
1+
name: Bug Report
2+
description: File a bug report
3+
title: "[Bug]: "
4+
labels: ["bug", "triage"]
5+
assignees:
6+
- adrienfort # Update it
7+
body:
8+
- type: markdown
9+
attributes:
10+
value: |
11+
Thanks for taking the time to fill out this bug report!
12+
- type: textarea
13+
id: description
14+
attributes:
15+
label: Description
16+
description: Describe your bug shortly.
17+
placeholder: Tell us what you see!
18+
value: "A bug happened!"
19+
validations:
20+
required: true
21+
- type: textarea
22+
id: what-happened
23+
attributes:
24+
label: What happened?
25+
description: Describe your bug with as much details as possible.
26+
placeholder: Tell us what you see!
27+
value: "A bug happened!"
28+
validations:
29+
required: true
30+
- type: textarea
31+
id: expected-behaviour
32+
attributes:
33+
label: Expected behaviour
34+
description: Describe what should happened with as much details as possible.
35+
placeholder: Tell us what should happened!
36+
value: "This should happened!"
37+
validations:
38+
required: true
39+
- type: textarea
40+
id: environment
41+
attributes:
42+
label: Environment
43+
description: Describe your environment with as much details as possible.
44+
placeholder: Tell us what is your environment!
45+
value: "- OS and version\n- Branch that causes this bug"
46+
validations:
47+
required: true
48+
- type: textarea
49+
id: steps-to-reproduce
50+
attributes:
51+
label: Steps to reproduce
52+
description: List the steps to reproduce with as much details as possible.
53+
placeholder: Tell us how to reproduce this bug!
54+
value: "- You have to do this!\n- Then this!"
55+
validations:
56+
required: true
57+
- type: textarea
58+
id: logs
59+
attributes:
60+
label: Relevant log output
61+
description: Please copy and paste any relevant log output. This will be automatically formatted into code, so no need for backticks.
62+
render: C++
63+
validations:
64+
required: false
65+
- type: textarea
66+
id: proposed-solution
67+
attributes:
68+
label: Proposed solution
69+
description: If you have an idea of how to fix this issue, please write it down here, so we can begin discussing it.
70+
validations:
71+
required: false
Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
name: Feature Request
2+
description: File a feature request
3+
title: "[Feature]: "
4+
labels: ["feature", "triage"]
5+
assignees:
6+
- adrienfort # Update it
7+
body:
8+
- type: markdown
9+
attributes:
10+
value: |
11+
Thanks for taking the time to fill out this feature request!
12+
- type: textarea
13+
id: description
14+
attributes:
15+
label: Description
16+
description: Describe your feature shortly.
17+
placeholder: Tell us what you want to see!
18+
value: "A new feature!"
19+
validations:
20+
required: true
21+
- type: textarea
22+
id: expected-behaviour
23+
attributes:
24+
label: Expected behaviour
25+
description: Describe what you want to happen with as much details as possible.
26+
placeholder: Tell us what you want to happen!
27+
value: "This should happened!"
28+
validations:
29+
required: true
30+
- type: textarea
31+
id: environment
32+
attributes:
33+
label: Environment
34+
description: Describe your environment with as much details as possible.
35+
placeholder: Tell us what is your environment!
36+
value: "- OS and version"
37+
validations:
38+
required: true
39+
- type: textarea
40+
id: proposed-solution
41+
attributes:
42+
label: Proposed solution
43+
description: If you have an idea of how to realise this feature, please write it down here, so we can begin discussing it.
44+
validations:
45+
required: false

.github/assets/.gitkeep

Whitespace-only changes.

.github/getting-started.md

Lines changed: 204 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,204 @@
1+
# Getting Started
2+
3+
> [PoC Innovation's Open-Source project template](https://github.com/PoCInnovation/open-source-project-template)
4+
5+
Please read carefully this guide.
6+
7+
## Setup
8+
9+
In this part, you will configure your project.
10+
11+
### Branches
12+
13+
Branch protection is really important. It helps you to have control on your code.
14+
15+
For each of the following branches, add the required protections.
16+
17+
#### `main`
18+
19+
```markdown
20+
- [x] Require a pull request before merging
21+
- [x] Require approvals
22+
Required number of approvals before merging: 1
23+
24+
- [x] Require status checks to pass before merging
25+
- [x] Require branches to be up to date before merging
26+
27+
- [x] Require conversation resolution before merging
28+
```
29+
30+
### Documents
31+
32+
This template provides the must-have documents.
33+
34+
#### README.md
35+
36+
The README.md is the showcase of your project. It always must be clean and consistent. Otherwise, no one will care of your project.
37+
38+
Fill every sections of the [README.md](/README.md).
39+
> If you add pictures, put them in the [assets](./assets/) folder.
40+
41+
#### CONTRIBUTING.md
42+
43+
The CONTRIBUTING.md is the guide to contribute to your project. It always must be clean and consistent. Otherwise, no one will contribute to your project.
44+
45+
Fill every sections of the [CONTRIBUTING.md](/CONTRIBUTING.md).
46+
47+
#### LICENSE
48+
49+
The LICENSE protects your code and contributors.
50+
51+
This template provides an [Apache Licence 2.0](https://www.apache.org/licenses/LICENSE-2.0).
52+
> If you want another one, check this [guide](https://choosealicense.com).
53+
54+
If your project doesn't belong to [PoC Innovation](https://github.com/PoCInnovation), make sure to update the copyrights of the [LICENCE](/LICENSE).
55+
56+
### About
57+
58+
Update the `About` section by adding a description, a website, and topics.
59+
60+
### Templates
61+
62+
This template provides the must-have templates.
63+
64+
#### Issues
65+
66+
An issue is a tool to track and focus tasks.
67+
68+
This template provides two issues templates :
69+
- `Bug Report`
70+
- `Feature Request`
71+
72+
Change the default assignee of the [bug_report](./ISSUE_TEMPLATE/bug_report.yml) template.
73+
74+
Change the default assignee of the [feature_request](./ISSUE_TEMPLATE/feature_request.yml) template.
75+
76+
#### Pull Requests
77+
78+
A pull request is an event where a contributor asks a maintainer to review code.
79+
80+
This template provides a [pull request template](./pull_request_template.md). You don't need to update it.
81+
82+
#### Milestones
83+
84+
A milestone helps to track progress on groups of issues or pull requests.
85+
86+
This template provides a [milestone template](./milestone_template.md). You don't need to update it.
87+
88+
### Labels
89+
90+
A label helps to categorize issues and pull requests.
91+
92+
Make sure to have the following labels :
93+
94+
- `bug`: Something isn't working
95+
- `bugfix`: Resolve a bug
96+
- `chore`: Global maintenance
97+
- `documentation`: Improvements or additions to documentation
98+
- `duplicate`: This issue or pull request already exists
99+
- `enhancement`: New feature or request
100+
- `help wanted`: Extra attention is needed
101+
- `invalid`: This doesn't seem right
102+
- `major`: Major update (for release)
103+
- `minor`: Minor update (for release)
104+
- `patch`: Patch update (for release)
105+
- `question`: Further information is requested
106+
- `triage`: Need to be tagged
107+
- `wontfix`: This will not be worked on
108+
109+
### GitHub project
110+
111+
Create a GitHub project to manage your milestones, issues and pull requests.
112+
113+
### Actions
114+
115+
This template provides some GitHub actions.
116+
117+
#### Release Drafter
118+
119+
A release is tool with changelogs that present a full history of a project.
120+
121+
This template provides an [action](./workflows/release-drafter.yml) that drafts [next releases notes](./release-drafter.yml) as pull requests are merged into the main branch. You don't need to update it.
122+
> Check this [action's documentation](https://github.com/release-drafter/release-drafter) to understand how it works
123+
124+
### Settings
125+
126+
#### Visibility
127+
128+
Make your repository public.
129+
130+
## Sprints
131+
132+
In this part, you will learn how to manage sprints.
133+
134+
A sprint is associated as a milestone.\
135+
A task is associated as an issue.
136+
137+
### Workflow
138+
139+
The workflow to follow is:
140+
141+
1) Create a milestone
142+
2) Create all the needed issues linked to this milestone
143+
3) Manage the pull requests linked with these issues using the GitHib project
144+
4) Resolve these issues
145+
5) Publish a release
146+
6) Close the milestone
147+
148+
### Milestones
149+
150+
Each milestones must use the [milestone template](./milestone_template.md).
151+
152+
There are two parts :
153+
- Overall
154+
> **⚠️ It's checklist must be completed before starting this sprint ⚠️**
155+
- Final Report
156+
> **⚠️ It's checklist must be completed before starting a new sprint ⚠️**
157+
158+
Additional information is written in the milestones's checklists. Read them carefully!
159+
160+
### Issues
161+
162+
Create all the required issues of a sprint before starting it. Once the sprint started, no issue linked to it should be create.
163+
164+
**Each issue must be linked to a milestone and a GitHub project, have the right labels and be assigned to someone.**
165+
166+
You can discuss in a issue, do it as much as you can!
167+
168+
### Pull Requests
169+
170+
**Each pull request must be linked to an issue and a GitHub project, have the right labels, be assigned to someone and have a reviewer.**
171+
172+
You can discuss in a pull request, do it as much as you can!
173+
174+
### GitHub project
175+
176+
**No tasks (issue) must be created directly from the GitHub project. Create an issue using a template, it will automatically appears on the GitHub project. Don't forget to archive the tasks once the milestone is closed.**
177+
178+
It is a powerful tool, use it well!
179+
180+
### Releases
181+
182+
**Each update on the main branch must be linked to a release.**
183+
184+
Tag pull requests with the `patch`, `minor` or `major` labels.
185+
186+
## Notes
187+
188+
### Discord Webhook
189+
190+
We strongly advice you to have a discord channel on which you will receive GitHub updates on your project.
191+
192+
Follow this [tutorial](https://gist.github.com/SGTGunner/50d6a3cc0d489cf779f77695ba3e22ea).
193+
194+
### Security dependabot
195+
196+
We strongly advice you to have a security dependabot to fix vulnerable dependencies.
197+
198+
Follow this [tutorial](https://docs.github.com/en/code-security/dependabot/dependabot-security-updates/configuring-dependabot-security-updates#managing-dependabot-security-updates-for-your-repositories).
199+
200+
### Help
201+
202+
If you have any questions, please contact [Reza Rahemtola](https://github.com/RezaRahemtola).
203+
204+
> Made with ❤️ by PoC

.github/milestone_template.md

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
## Overall
2+
3+
### Objective
4+
5+
[Explain here the objective of the milestone]
6+
7+
### Checklist
8+
9+
- [ ] Clear objective
10+
- [ ] Consistent objective
11+
- [ ] Achievable in the given time
12+
- [ ] Issues created, with the rights labels and linked to this milestone
13+
- [ ] Issues assigned
14+
15+
## Final Report
16+
17+
### Checklist
18+
19+
- [ ] Objective fulfilled
20+
- [ ] README.md and other relevant documents (guide, ...) updated
21+
- [ ] Documentation updated
22+
- [ ] Pull requests merged
23+
- [ ] Issues closed
24+
- [ ] Release created
25+
- [ ] Tasks archived
26+
- [ ] Branches cleared

.github/pull_request_template.md

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
# Description
2+
3+
Please provide a detailed description of what was done in this PR.
4+
Precise the issue that you are resolving.
5+
6+
# Changes include
7+
8+
- [ ] Bugfix (non-breaking change that solves an issue)
9+
- [ ] New feature (non-breaking change that adds functionality)
10+
- [ ] Breaking change (change that is not backwards-compatible and/or changes current functionality)
11+
12+
# Breaking changes
13+
14+
Please complete this section if any breaking changes have been made, otherwise delete it.
15+
16+
# Checklist
17+
18+
- [ ] I have assigned this PR to myself
19+
- [ ] I have added at least 1 reviewer
20+
- [ ] I have added the needed labels
21+
- [ ] I have linked this PR to an issue
22+
- [ ] I have linked this PR to a milestone
23+
- [ ] I have linked this PR to a project
24+
- [ ] I have tested this code
25+
- [ ] I have added / updated tests (unit / functional / end-to-end / ...)
26+
- [ ] I have updated the README and other relevant documents (guides...)
27+
- [ ] I have added sufficient documentation both in code, as well as in the READMEs
28+
29+
# Additional comments
30+
31+
Please post additional comments in this section if you have them, otherwise delete it.

0 commit comments

Comments
 (0)