hyperoslo / ios-foundation

πŸ…An established foundation within iOS team
5 stars 0 forks source link

Pull Requests #56

Open JohnSundell opened 7 years ago

JohnSundell commented 7 years ago

I'd like to start a discussion around how we handle pull requests, both on internal projects and on open source ones. I personally think agreeing on a certain workflow for pull requests that we try to stick to most of the time is super valuable, since it tends to increase productivity and decrease friction (especially when dealing with a large number of projects, as we do).

Having clear guidelines also helps for external contributors, since it sets clear expectations of how we work and deal with PRs.

So, what I'd like to suggest to kick off the discussion is a few points (not saying we're not doing these at the moment, just my ideas on what I think makes a good PR workflow for teams):

What do you guys think of the above? Agree/disagree, or anything you'd like to add? Let the discussion...BEGIN! πŸ’ƒ

vadymmarkov commented 7 years ago

I agree with all your points @JohnSundell πŸ‘ . The only thing I'm still a bit sceptical about is "everyone keeps their own fork" workflow when it comes to private projects. But maybe it's just me πŸ™‚

zenangst commented 7 years ago

What @vadymmarkov said, I think this is a huge step forward for our process but I do share the same concern that I have some questions about the private repos. Maybe that's not a problem when we start doing it. I would propose to start doing this for open source straight away and then continue and see how this would work for private repositories. Ideally, I'd like to have the same flow for both public and private repositories.

onmyway133 commented 7 years ago

How can I disagree πŸ˜„ Like @zenangst we can start now with open source repos to see how comfortable we are with it.

Also as we agree that the PR should has reviews and merged by the author, should we try this https://help.github.com/articles/about-protected-branches/ ?

zenangst commented 7 years ago

YEAH! Let's do this!

zenangst commented 7 years ago

One thing that I've noticed is that GitHub Desktop can get a bit confused when the push url differs from pull. I ended up just pushing from the Terminal.

onmyway133 commented 7 years ago

@JohnSundell I begin to like the push url approach more than two remote πŸ˜‡

JohnSundell commented 7 years ago

@onmyway133 πŸŽ‰ Yeah it's a lot easier πŸ˜„