Hi @driazati,

I think this is a great improvement to help empower more people to contribute 
without having to synchronise with those with certain powers in the project 
across many timezones and organisations, as well as providing some much needed 
consistency on commit messages. Could this implement some simple lint rules for 
commit messages as well to try to support better overall messages? Considering 
the new https://discuss.tvm.apache.org/t/commit-message-guideline/12334 work 
that @gromero is doing.

We also need a cooler bot name than `tvm-bot` to be competitive in the merge 
bot market though.

[quote="driazati, post:1, topic:12220"]
It will then check that the PR has been accepted by a valid reviewer / 
committer in its latest version.
[/quote]

I *think* this would be just Committers who could give a "merge-able" approval 
in the ASF? Reviewers would continue to provide assistance to Committers 
though, potentially future bot commands could help with highlighting that.

[quote="driazati, post:1, topic:12220"]
* Something to maintain - this would be another piece of automation for us to 
build. Given that we have dedicated resources for the CI though, this is 
manageable.
[/quote]
Is there an "off-the-shelf" version here that works as we'd like? As @comaniac 
suggested, this is fairly common in other projects.

[quote="driazati, post:6, topic:12220"]
[quote="areusch, post:4, topic:12220"]
committers have reviewed and one wants to approve the PR but not merge it until 
the others have looked the PR over.
[/quote]

One of the main reasons of this work would be to explicitly remove this step, 
though it makes sense to still limit the ability to those that have already 
interacted with the repo in some way (i.e. they aren’t a first time 
contributor).
[/quote]
Isn't the issue here that we want a PR to be active for a certain period where 
people can review it before it being merged due to some people working across 
different timezones etc? I'd prefer something minimal so as to encourage 
progress rather than creating new ways to hold up PRs, the Committer takes 
responsibility for approval either way. We can always follow a PR with another 
PR using the same bot :smile_cat: 

I also don't think we should limit who can ask for a merge given it'll only 
function if the last commit has a positive review from a Committer - they'll 
have to start the workflows anyway for a new person in the repo.

[quote="driazati, post:6, topic:12220"]
[quote="areusch, post:4, topic:12220"]
Suppose we want to approve but hold a PR until another PR lands
[/quote]

This is something we just need to rely on the community for, with mostly good 
faith actors this workflow would work fine with comments like `accepted but 
please don't merge until #1234 merges` to keep the bot simple and 
understandable.
[/quote]
This should be an edge case, given patches should be self-contained and work in 
isolation; we should aim to encourage that level of discipline :smile_cat: If 
necessary, we should default fallback to human interaction to resolve these 
more complex scenarios.





---
[Visit 
Topic](https://discuss.tvm.apache.org/t/rfc-allow-merging-via-pr-comments/12220/7)
 to respond.

You are receiving this because you enabled mailing list mode.

To unsubscribe from these emails, [click 
here](https://discuss.tvm.apache.org/email/unsubscribe/f436ba706b6fc13a7ba3eed212f20394106a31e49674b58b36006e3392e22384).

Reply via email to