-
Notifications
You must be signed in to change notification settings - Fork 444
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
run cpplint with make check? #619
Comments
+1 |
It's definitely easy to forget to run it. |
Anyone volunteer to do this? |
I think we need a merge queue.
…On Wed, May 24, 2017 at 10:25 AM, Mihai Budiu ***@***.***> wrote:
Anyone volunteer to do this?
Speaking of build, it looks like our process for merging into master is
bottlenecked by the need to always merge with the latest and wait for
Travis. There must be a better way to do this. We have had approved PRs
waiting more than a week to be merged. Also, we don't know if someone else
is working on merging them, so there is a race where we trigger needless
merges with master.
In general, I have tried to avoid merging my own PRs, but I sometimes step
up to do it if they were approved. Maybe we can add a label to the PR,
something like "next to be merged"?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#619 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/ABwi0k8iue9HMTodarjn3lSpLd33DhOpks5r9Gf-gaJpZM4NZiQ9>
.
|
Can't you just disable "Require branches to be up to date before merging" for this repo? |
It is definitely a pain. The downside of allowing people to merge un-rebased changes is that they may have been broken by another commit that landed in the meantime. In my experience that happens quite frequently for non-trivial patches. One approach that is used to solve this problem is to merge PRs to an integration branch ( If we used that approach, someone would need to take responsibility for managing the integration branch. Doing things this way has the effect of reducing the effort expended by most team members at the cost of greatly increasing the amount of work for whoever manages that branch, since they'll have to do things like manually back broken patches out of the integration branch. I don't think that approach is a good fit for this project, really. A better idea would be to set up a bot that auto-rebases patches and auto-merges reviewed patches once they pass the tests. People have written a lot of bots that do this, including bors, which I've used before on other projects, and homu, which looks great, though I haven't used it before. |
I see many Travis runs fail because of cpplint. Maybe we should consider running it together with make check.
The text was updated successfully, but these errors were encountered: