matthewkmayer / matthewkmayer.github.io

Web site, with words
MIT License
3 stars 1 forks source link

Pull requests don't need to be completed features #92

Open matthewkmayer opened 4 years ago

matthewkmayer commented 4 years ago

A pull request is a signal for feedback requested (http://scottchacon.com/2011/08/31/github-flow.html). They do not need to be a completed feature.

Small PRs are:

Large PRs:

Assumption: trunk based development (TBD) is superior to GitFlow or other SCM strategies with long lived branches.

matthewkmayer commented 4 years ago

Chacon:

Actually, we use it more as a branch conversation view more than a pull request. You can send pull requests from one branch to another in a single project (public or private) in GitHub, so you can use them to say “I need help or review on this” in addition to “Please merge this in”.

https://trunkbaseddevelopment.com/continuous-review/ :

A PR is one or more commits towards a goal described in an accompanying piece of text. The act of creating the PR from the branch signals the end (or a pause) in work, and the wish for the reviewers to get busy

matthewkmayer commented 4 years ago

Also rephrase the distance idea from https://trunkbaseddevelopment.com/5-min-overview/ .

matthewkmayer commented 4 years ago

Tickets/stories are what to do, coding and branching strategies are how to do them. Orthogonal concepts.

matthewkmayer commented 4 years ago

A common question is "if one PR doesn't fulfill a ticket/issue, how does the developer know when the ticket is done?" Answer: the same way they do it for a single PR: verify the desired behavior is present.

matthewkmayer commented 2 years ago

"Cutting the cord between pull requests and tickets"