Giter VIP home page Giter VIP logo

Comments (8)

DavidTanner avatar DavidTanner commented on May 27, 2024

That is a little misleading. The phrases that it is talking about are:
Add to white list phrase
Accept to test phrase
Test phrase

The trigger phrase is configured in the job config, and you are right, it is not a regex.

from ghprb-plugin.

dtweston avatar dtweston commented on May 27, 2024

Ah, I see what the difference is. Is there a reason why the trigger phrase is different?

Would you accept a patch to make it work like the others?

from ghprb-plugin.

KostyaSha avatar KostyaSha commented on May 27, 2024

Ah, I see what the difference is. Is there a reason why the trigger phrase is different?

It is the result of maintainer merges without keeping uniform configuration in plugin.

from ghprb-plugin.

DavidTanner avatar DavidTanner commented on May 27, 2024

the only problem with a direct changeover would be that some trigger phrases may have reserved characters. In your pull request if you accommodated that and escaped those trigger phrases I would merge it in.

from ghprb-plugin.

jdonald avatar jdonald commented on May 27, 2024

The recent fix works for me most of the time, but every day or so the trigger phrase gets corrupted with extra characters. .ok to simul. becomes \Q.ok to simul.\E. Sometimes there are multiple \Q\Q chars. When this happens, it no longer matches a string like ok to simulate, and we have to go back and edit the job configuration manually to remove the extra chars.

image

Is this a known issue or some consequence of how it's attempting to sanitize the regular expressions?

from ghprb-plugin.

dtweston avatar dtweston commented on May 27, 2024

Fixed in #157

from ghprb-plugin.

DavidTanner avatar DavidTanner commented on May 27, 2024

@jdonald please open a new issue. In the new issue please post the config.xml configVersion value. It should be three.

from ghprb-plugin.

jdonald avatar jdonald commented on May 27, 2024

I have opened #197, and noted there that our configVersion is not 3.

from ghprb-plugin.

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.