Coder Social home page Coder Social logo

Comments (5)

InTheCloudDan avatar InTheCloudDan commented on August 29, 2024

@shadoath Apologies for the delay on replying. I'll file this as a feature request.

To confirm out of the monorepo you are only looking to scan a specific subdirectory, or multiple directories at the same level to look for flags for a single LaunchDarkly project?

from find-code-references.

shadoath avatar shadoath commented on August 29, 2024

Great, thank you!

We would want to scan multiple subdirectories. To be really specific we have multiple ENVs in LD, and would like to specify the env and directories to scan.

from find-code-references.

InTheCloudDan avatar InTheCloudDan commented on August 29, 2024

@shadoath when you mentioned multiple Environments, do you mean multiple different LaunchDarkly Projects within that code base? Code Refs scans for Flags which live globally under the Project. I just want to make sure we're working towards the right issue.

from find-code-references.

shadoath avatar shadoath commented on August 29, 2024

Heya Dan, I responded in a rush last time.

Yes, we have multiple LaunchDarkly projects in one codebase. My thought is that we could specify each project's src folder and then have LD scan in that folder only for it's flags. That said we have more than 12 folders in the root of our mono repo and only two of them contain LD flags that need to be scanned for.

As it stands right now it does work, I'm thinking it could be more efficient though.

from find-code-references.

InTheCloudDan avatar InTheCloudDan commented on August 29, 2024

@shadoath with release v2.5.1 you should now be able to specify multiple projects and a starting directory for them. Here's instructions for what the configuration file would need: https://github.com/launchdarkly/ld-find-code-refs/blob/master/docs/CONFIGURATION.md#projects

Please let us know if you have any issues.

from find-code-references.

Related Issues (19)

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.