sipb / homeworld

Cluster management system for the SIPB Hyades project
MIT License
21 stars 19 forks source link

Set up merge bot for repository #491

Open celskeggs opened 4 years ago

celskeggs commented 4 years ago

You know what's annoying? Having to manually rebase every PR, often multiple times, before it be can merged.

As suggested by @cryslith, let's set up Bors-NG. This will allow us to adjust our workflow to stop being based in rebasing everything -- which is somewhat easy for new contributors to get wrong, beyond being a waste of valuable developer time.

cryslith commented 4 years ago

Unfortunately bors only supports merge and squash-merge, not rebasing right now, as we currently use.

celskeggs commented 4 years ago

As long as we only use merge commits to merge into master, and never use them for conflict resolution, I would be okay with us switching to a system where we use merge commits in a limited fashion.

i.e.

This way, instead of a single linear history, we would have a history with only simple branching. This would still be reasonably easy to bisect and interpret after the fact.

I would also be fine with us finding an alternative that works with rebasing. I am also a fan of the gerrit model where you review and verify individual commits in a PR, and can press a button to cherry-pick them onto master one commit at a time.

What do you think?

cryslith commented 4 years ago

Sounds fine to me :)

cryslith commented 4 years ago

We've decided to go with our own homegrown solution to this, so we can use cherry-picking and also for general stability/quality.