Coder Social home page Coder Social logo

Comments (10)

codificat avatar codificat commented on August 15, 2024

approve and lgtm are meant to mean slightly different things:

  • approved: a maintainer agrees this change should be made. This doesn't change if the code is updated/amended.
  • lgtm: a reviewer agrees the correctly implements the change. This changes if the code changes, that's why this label is removed in that case.

Based on that, I believe that the request here translates to: "require both lgtm and approved labels for merging".

Does that make sense?

Side note: I'm not sure this repo is the place for this request... maybe operate-first/apps where the prow configuration is? Note how e.g. the operate-first and os-climate repos currently require both labels for merging

from sefkhet-abwy.

VannTen avatar VannTen commented on August 15, 2024

from sefkhet-abwy.

VannTen avatar VannTen commented on August 15, 2024

Further clarification: /lgtm is what we should do when doing a PR review, right ? The fact that Github call that "approved" could be cause some confusion.

from sefkhet-abwy.

codificat avatar codificat commented on August 15, 2024

Further clarification: /lgtm is what we should do when doing a PR review, right ?

Correct.

The fact that Github call that "approved" [...]

Hmm... does it?
As far as I know, GitHub is not even aware of the implications of /lgtm and other prow commands in the comments, no? It is prow (sesheta) that reacts to them and updates the labels. But for /lgtm it would add the lgtm label, not the approved label...

from sefkhet-abwy.

VannTen avatar VannTen commented on August 15, 2024

from sefkhet-abwy.

codificat avatar codificat commented on August 15, 2024

the docs for code-review in thoth-station/core we currently states that we need the /approved label and a approved review.

The doc is out of date, then. This does not reflect the current reality, where prow will merge based on its configuration (labels, checks).

Let's wait for the outcome of this issue for the final details, but in any case the code-review document should be updated.

from sefkhet-abwy.

codificat avatar codificat commented on August 15, 2024

A relevant reference is https://github.com/kubernetes/test-infra/blob/master/prow/plugins/approve/approvers/README.md

from sefkhet-abwy.

goern avatar goern commented on August 15, 2024

this is solved, isnt it?

from sefkhet-abwy.

VannTen avatar VannTen commented on August 15, 2024

from sefkhet-abwy.

sesheta avatar sesheta commented on August 15, 2024

@VannTen: Closing this issue.

In response to this:

Yes, fixed by operate-first/apps#2554
/close

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

from sefkhet-abwy.

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.