Giter Site home page Giter Site logo

Comments (4)

roopakv avatar roopakv commented on July 18, 2024

hey @amerkay thank you for the note. Is there a specific command you'd like to use this for?

to potentially not break current users would you be ok if the -P flag is option to the command?

from orbs.

amerkay avatar amerkay commented on July 18, 2024

Hi, Thanks for the quick reply!

I'm trying to exclude a the /static folder from run_frontend_workflow, but process it using run_static_workflow only if the files in it change. It works if the -P is included to perform perl regex, which allows for negative lookahead.

code-param-name-map: '
    [
    {"regex": "^frontend(?!\/static).*", "param_name": "run_frontend_workflow"},
    {"regex": "^(frontend\/static).*", "param_name": "run_static_workflow"}
    ]'

So, yes, if you include it as an option, that'll solve my problem :)

from orbs.

roopakv avatar roopakv commented on July 18, 2024

@amerkay you can use the perl search mode in v0.40.0 of swissknife for negative lookahead. It does require Perl to be installed but I think this is generally available on most Linux installs.

let me know if this doesn't work for you.

from orbs.

amerkay avatar amerkay commented on July 18, 2024

Hey! That's fantastic. Thank you. I'll give it a try next few days and report back if there are any issues :)

from orbs.

Related Issues (17)

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.