Git Product home page Git Product logo

Comments (9)

rcebulko avatar rcebulko commented on June 7, 2024 1

Support for # and ? has been added.

from amp-github-apps.

danielrozenberg avatar danielrozenberg commented on June 7, 2024

I like the ? syntax - this was a problem we had with the bundle-size bot where we wanted some people to be able to review PRs, but not have them auto-added as reviewers.

The ! syntax is also useful, but I'm not sure whether the !! syntax is a little over-engineery. I can't imagine a reasonable scenario where a ! user is notified, says nothing, and then regrets it after the PR has been merged by other OWNERS

from amp-github-apps.

rcebulko avatar rcebulko commented on June 7, 2024

@danielrozenberg Suppose languageperson should have veto power over any *.protoascii file changes, and I'm an owner of extensions/amp-foo. I could create extensions/amp-foo/stuff.protoascii, get a review from anyone, and submit (since I own it, I can approve it). In that case, it could be submitted before languageperson ever gets the chance to see it or approve/reject.

I agree it's a corner-case, and probably worth holding off on implementing !! until we see a need arise.

from amp-github-apps.

honeybadgerdontcare avatar honeybadgerdontcare commented on June 7, 2024

For *.protoascii files I believe !someuser would be sufficient. Being aware of an incoming change to validation rules is helpful but we don't always need to be gatekeepers of it as some changes are fairly straight-forward.

from amp-github-apps.

rcebulko avatar rcebulko commented on June 7, 2024

@honeybadgerdontcare I'm a little unclear now; your comment here suggests you would not need a "require-approval" gatekeeping syntax; whereas on this PR you suggest you'd look forward to/need the ability to require approval. Would you mind clarifying how important each is to you/your subteam?

from amp-github-apps.

honeybadgerdontcare avatar honeybadgerdontcare commented on June 7, 2024

Sorry for the confusion.

At this point in time I do not believe we need to be gatekeepers of extensions/validator-*.protoascii but only be informed of them. If in time we find it necessary to be gatekeepers of extensions/validator-*.protoascii then we would want to use !!someuser syntax.

Typically validator rules review take less time than the javascript review so we have ample time to review it. Further these rules don't compile into the production javascript until they've been imported internally and compiled to validator.js. That allows us to have a second opportunity to review them then.

Any changes to validator/... we would be gatekeepers of because that could involve changes to the validator engine.

from amp-github-apps.

rcebulko avatar rcebulko commented on June 7, 2024

Excellent, thanks!

from amp-github-apps.

rcebulko avatar rcebulko commented on June 7, 2024

Since there is a need for an "always-require" modifier, meaning a file requires approval from a particular owner even when they have approval from another owner, the planned syntax will be updated as follows:
! - require review
# - always notify/tag
? - never auto-add reviewer

from amp-github-apps.

rsimha avatar rsimha commented on June 7, 2024

@rcebulko Thanks for working on this!

from amp-github-apps.

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.