-
Notifications
You must be signed in to change notification settings - Fork 20
Unclear what "internal pull request" is #10
Comments
I don't think there's a better term (at least not that I can think of). But perhaps we could define it with a footnote or something? |
What an "internal Pull Request" is, by the way, is where you open a Pull Request even though you have the rights to merge the relevant branches. This allows other project contributors to review your code in the same way that an "external" contribution would be reviewed, which is a Good Thing™ because it increases overall code quality. |
Ah okay, I understand what you mean. "All changes should go through Pull Requests - even owners of the repository should open Pull Requests for all their changes" I think one consequence is that owners of a repository should always work in their own private fork in order to avoid leaving branches around in the original main repository.. |
Why is it bad to leave branches around? |
If those branches are visible to others, they will clutter their view. Features and bug fixes happen through branches that aren't relevant after they've been merged - often the branches are forgotten and left dangling in remote repos. That's why it's better to store feature and bug fix branches in your own repo than in a shared organization's repo. |
@benjaoming that feels like premature optimization to me, for a couple reasons:
|
@strugee As for the other stuff, it's a Github/Git UI thing and you're right that organizations can have branches in their main repos. I just see a lot of orgs getting it wrong, myself included :) But I don't think it's possible to categorically rule out the possibility that a lot of people and maintainers get it right! |
Do all "open open source" projects even have a github org? |
@cben maybe it's better to address it separately, since perhaps it's clouding the other decision :) |
Ah, sorry. In general I think it's easier to introduce and define the term, since while this isn't a super common term (like just plain "Pull Request" is), it's not something this project made up either. That being said I don't really feel strongly about this. I also forgot about the branch view you posted a screenshot of - nice catch :) Forked that discussion to #10. |
Internal PRs are mentioned twice in the list:
But IMO it's unclear what exactly they are. Also talking about "external API" at the same time makes it slightly more fuzzy language-wise.
Is there perhaps a better term for this?
The text was updated successfully, but these errors were encountered: