Giter VIP home page Giter VIP logo

Comments (11)

Manishearth avatar Manishearth commented on July 17, 2024 1

Yeah, there are two separate features here:

  • GH approval comments should definitely be parsed for homu commands
  • GH approvals should themselves count as an approval, provided an option is set

I don't really have time to implement this but willing to accept a patch for either.

from homu.

Manishearth avatar Manishearth commented on July 17, 2024

from homu.

pwaller avatar pwaller commented on July 17, 2024

Ah, that is a fair point, I guess you can't self-review on github. Hmm.

from homu.

pwaller avatar pwaller commented on July 17, 2024

On the other hand, you can always use the r+ feature in conjunction with this, rather than instead-of.

from homu.

Manishearth avatar Manishearth commented on July 17, 2024

from homu.

pwaller avatar pwaller commented on July 17, 2024

I'd like to have a setting that does so. If a reviewer wants to give feedback and 'passively approve' (i.e, allow the submitter to self-r+), they can always leave a 'comment review' rather than 'approve/disapprove'.

from homu.

kennytm avatar kennytm commented on July 17, 2024

Often folks use the GitHub review thing to say "approved, but here are some minor changes you should make and then self-r+"

The r+ command is only interpreted you mention @bors on the same exact line, so I think this cause of misapproval would be rare.

from homu.

Manishearth avatar Manishearth commented on July 17, 2024

You misunderstand, the proposal is (in part) to make an approved review itself count as an r+

from homu.

pwaller avatar pwaller commented on July 17, 2024

The r+ command is only interpreted you mention @bors on the same exact line, so I think this cause of misapproval would be rare.

My interpretation of @Manishearth's comment was that pressing "Approve" in github should not translate to the equivalent of r+, because people currently use "Approve Review" in github and tell a user to self-r+ to cause a merge.

from homu.

kennytm avatar kennytm commented on July 17, 2024

Okay my understanding was that homu should respond to review comments (which are currently ignored).

I agree that pressing "Approve" should not be equivalent to r+, without mentioning @bors the intention is not clear enough.

from homu.

pwaller avatar pwaller commented on July 17, 2024

I would like to try and encourage my team to use the "Approve" feature, to give it an equivalence to r+. Using r+ (e.g, self-r+) would also be allowed. So it would be nice if this were an option that could be enabled.

My motivation is to get people to use the github review feature, for example to request reviews, and also to give them a nudge UI nudge towards leaving comments using the review feature (which is only seen on the 'diff' section).

from homu.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.