5 ms·
>PR’s are usually ready when the feature/bug is already being worked on and in the last stage of its development process. It’s an “already change proposal to be
by happytoexplain 5y ago
>PR’s are usually ready when the feature/bug is already being worked on and in the last stage of its development process. It’s an “already change proposal to be merged into the current system”, don’t forget that.
What is the second sentence saying? I can't parse it at all.
- nighthawk454 5y agobasically means a PR is when the feature is done. you're not asking for code ideas, you're proposing a finished change.
- reidjs 5y agoSometimes I will use a draft PR if I need to show some intermediate code, but I mostly agree. If you put up a PR that means you’re proposing this code is solid and should go into production.
- Chemaclass 5y agoTotally. This is a relatively new concept since a year or so, but there are still people who doesn't use them. But I think a Draft-PR is a great opportunity to show the progress of your changes even if it's not finished yet.
- brigandish 5y agoWhat are the benefits of a draft PR over publishing a feature branch that others can access?
- jlokier 5y agoAssuming you're using GitHub: a draft PR has a comments thread, which you might choose to keep after merging; it can have linked issues (that close if the PR is merged); the draft PR is organised in the list of PRs so it has higher visibility than a branch (some projects have hundreds of branches but few draft PRs) and a more clearly presented one-line description, and you can promote it to a regular PR while keeping the comment history. Overall theme: With a feature branch, you'll need to announce and discuss it somewhere else. With a draft PR, those are features attached to the PR.
- Chemaclass 5y agoYes, that was what I meant. Thanks.
- jstanley 5y agoI think perhaps it should say "all-ready" rather than "already", in the sense that the "change proposal" is "all ready". Although it's still quite a clumsy sentence even then.
- fouc 5y agoit's missing a 'd'.. should be 'already changed proposal..'
- animal_spirits 5y agoIt [a pull request] is an "already change proposal [I have already worked on this change, here's the code] to be merged into the current system [someone please look it over]"