Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.
Sign upSwitch from Homu to Bors mergebots #6703
Conversation
indirect
added
status: working
type: administrative
labels
Sep 19, 2018
indirect
self-assigned this
Sep 19, 2018
indirect
requested a review
from bundler/maintainers
Sep 19, 2018
This comment has been minimized.
This comment has been minimized.
|
Great work! This is help us sooooo much @bundlerbot r+ |
This comment has been minimized.
This comment has been minimized.
ghost
commented
Sep 19, 2018
Configuration problembors.toml: syntax error |
greysteil
approved these changes
Sep 19, 2018
This comment has been minimized.
This comment has been minimized.
|
lol oh no, my bad |
This comment has been minimized.
This comment has been minimized.
|
@bundlerbot r=colby-swandale |
This comment has been minimized.
This comment has been minimized.
ghost
commented
Sep 19, 2018
Configuration problembors.toml: does not specify anything to gate on |
This comment has been minimized.
This comment has been minimized.
|
okay, progress! I'll tell it to use travis, I guess. |
This comment has been minimized.
This comment has been minimized.
|
@bundlerbot r=colby-swandale |
ghost
pushed a commit
that referenced
this pull request
Sep 19, 2018
This comment has been minimized.
This comment has been minimized.
|
This time it looks promising! |
This comment has been minimized.
This comment has been minimized.
ghost
commented
Sep 19, 2018
Timed out |
This comment has been minimized.
This comment has been minimized.
|
aha! the build finished 40 minutes ago, but bors had a build timeout that ran out an hour ago. I will increase the amount of time bors is willing to wait to hear back from travis. :) |
This comment has been minimized.
This comment has been minimized.
|
@bundlerbot r=colby-swandale |
ghost
pushed a commit
that referenced
this pull request
Sep 19, 2018
This comment has been minimized.
This comment has been minimized.
ghost
commented
Sep 19, 2018
Build succeeded |
ghost
merged commit 7a2509d
into
master
Sep 19, 2018
This comment has been minimized.
This comment has been minimized.
|
Wowowooooooo! |
deivid-rodriguez
deleted the
indirect/homu-to-bors
branch
Sep 19, 2018
This comment has been minimized.
This comment has been minimized.
|
Welcome @bundlerbot-bors! |
deivid-rodriguez
referenced this pull request
Sep 23, 2018
Closed
Short-form of commiter name/email results in conf error #459
This issue was closed.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
indirect commentedSep 19, 2018
What was the end-user problem that led to this PR?
Our existing @bundlerbot mergebot is run by bundlerbot-homu, which is a fork of japaric/homu-on-heroku, which is a fork of servo/homu, which is a fork of barosl/homu. Sadly, most of those forks are now unmaintained, including ours. Also, Homu sets up a list of users who are allowed to approve PRs with a list in a file on an env var, when it probably should just read the list of github users that have the permission to merge.
So the end-user problem is: unmaintained mergebot, very inconvenient to update team members.
What was your diagnosis of the problem?
My diagnosis is that we should migrate from a Homu-based mergebot to a bors-ng-based mergebot. Bors-ng lives at bors-ng/bors-ng, and has a website at bors.tech. Bors-ng is actively maintained, easy to deploy to Heroku, doesn't lose repo and PR state when the webapp is restarted, and uses GitHub permissions to determine who can approve PRs for merging.
What is your fix for the problem, implemented in this PR?
My fix for this problem was to fork bors-ng to the @bundler organization, modify bors-ng to respond to
@bundlerbot r+instead of responding tobors r+, and change the configuration files below to support using bors instead of homu.The bors-ng repo has already accepted our patch, and we maybe don't even need to keep the forked repo anymore.
The new mergebot lives at https://bundlerbot-bors.herokuapp.com, and has the exact same issue-comment interface as the previous mergebot.
Why did you choose this fix out of the possible options?
I chose this fix because it lets us keep the exact same mergebot interface that we have today, while easing the maintenance burden both on updating end-user permissions and on updating the app over time, since we can simply pull and deploy the latest from
bors-ng/bors-ngwithout maintaining our own specialized fork.