Skip to content

Commit

Permalink
Merge pull request #10 from RoboJackets/feat/github_templates
Browse files Browse the repository at this point in the history
Feat/GitHub templates
  • Loading branch information
VAM7686 committed Nov 20, 2021
2 parents ff06e88 + 845ea89 commit 7421133
Show file tree
Hide file tree
Showing 3 changed files with 45 additions and 12 deletions.
25 changes: 13 additions & 12 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -1,27 +1,28 @@
---
name: Bug report
about: Create a report to help us improve
about: Report a bug in urc-software
title: ''
labels: ''
assignees: ''

---

**Describe the bug**
A clear and concise description of what the bug is.
## Description
A clear and concise description of what the issue is.

**To Reproduce**
Steps to reproduce the behavior:
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error
## Steps To Reproduce
1. Step 1
2. Step 2

**Expected behavior**
Result: ???

- [ ] This bug has been reproduced by someone else

## Expected behavior
A clear and concise description of what you expected to happen.

**Screenshots**
## Screenshots
If applicable, add screenshots to help explain your problem.

**Additional information**
## Additional information
Any information that could be help with debugging. i.e., suspicions on where the issue lies, any debugging work you've done so far, cases that seem to trigger the bug more often than normal, etc.
25 changes: 25 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# Description

{{ State the context of this PR }}

This PR does the following:
- Thing 1
- Thing 2
- Thing 3

Fixes #{{ github issue }}

## Design Documents
[Link](link-to-design-doc)

# Testing steps (If relevant)
## Test Case 1
1. Do this thing
2. Do that thing
3. Make the thing do the thing

Expectation: The thing which does the thing does the thing

# Self Checklist
- [ ] I have formatted my code using `make format`
- [ ] I have tested that the new behaviour works
7 changes: 7 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# This file is used for aliases for long commands such as clang-format
files := $(shell find . \( -name '*.h' -or -name '*.hpp' -or -name '*.cpp' \) -not -path "./external/*")

format:
ifneq ("$(files)","")
clang-format -i $(files)
endif

0 comments on commit 7421133

Please sign in to comment.