Tallwave / guidelines

Coding and contributing guidelines for Tallwave projects.
MIT License
8 stars 7 forks source link

Create PR template #51

Closed krantzinator closed 3 years ago

krantzinator commented 6 years ago

A PR template can be saved in GitHub. This would allow us to have consistency in what we note in PRs across Tallwave projects (it would need to be saved in each repo of course, but I think we can handle it).

Proposed template below. Chime in with general thoughts or specific edits as you see fit.

Description

What is the feature or bug at a high level?

Things done

---[Optional items; delete if unused]---

How to test

Tech debt removed/added

Help requested

TinaHeiligers commented 6 years ago

In the 'Code cleanup OR...' section, we can include an optional topic for known issues that become tech debt. This is especially useful when working under pressure to 'just get stuff done'.

krantzinator commented 6 years ago

@TinaHeiligers good idea. What if we titled that section "Tech debt fixed/added"? Too blunt?

TinaHeiligers commented 6 years ago

@krantzinator It may be blunt but it's to the point!

swilliams commented 6 years ago

I think "Things done" should be required, and the rest of the sections should be optional, since a PR may not necessarily have all of those.

I really like this idea and I think we'll get value out of this template, but we want to be careful not to over-engineer and introduce friction in the process.

We should look at Issue Templates next.

krantzinator commented 6 years ago

@swilliams @TinaHeiligers i updated the suggested template in my first comment above - thoughts?

TinaHeiligers commented 6 years ago

@krantzinator I like the updated version

swilliams commented 6 years ago

@krantzinator Looks great! :shipit:

mmislam101 commented 6 years ago

@krantzinator This is awesome. Thanks

I've had uses for some other optional headings:

krantzinator commented 6 years ago

@mmislam101 i like the "Resolves bug/issue" add; i'm not sure where it should go though. for PSCU, i like it in the title of the PR because we use Jira so all of our tickets are there, and the best way for me to find a "linked" ticket is to look at the list of PRs for the Jira ticket number. obviously for github issues, linking inside the issue works great. thoughts?

mmislam101 commented 6 years ago

@krantzinator Yah people can add it if they need it.

swilliams commented 6 years ago

@blacknight811 Please review this too :)