Coder Social home page Coder Social logo

Loadpath should support subdirs about lyra HOT 5 CLOSED

lyraproj avatar lyraproj commented on June 2, 2024
Loadpath should support subdirs

from lyra.

Comments (5)

kenazk avatar kenazk commented on June 2, 2024 1

Thanks @jdwelch for keeping us honest. The two key scenarios in my mind are:

  • As a producer of Workflows, I want Lyra to load workflows from a simple directory structure so that I can organize my Workflows in a simple, understandable way.
  • As a contributor to Lyra, I want Lyra to load workflows from a simple directory structure so that I know how and where to contribute code and other examples.

from lyra.

thallgren avatar thallgren commented on June 2, 2024 1

I would like to add:

  • As a producer of workflows, I want to workflows organized so that I can reference one workflow from another using qualified names.
  • As a producer of workflows, I want dynamic loading so that my workflow to be able to consume workflows provided by another producer.
  • As a user of Lyra, I only want to load the workflow I indent do apply so that the load is quick and cpu cycles, processes, and memory aren't wasted

from lyra.

thallgren avatar thallgren commented on June 2, 2024

I think we should consider letting subdirectories imply namespaces and file names imply name of the workflow they contain. I.e. a workflow named my::​cool::stuff should reside in a file named "stuff.pp" under directory "workflows/my/cool". This would allow us to use a file based loader rooted under the "workflows" directory and load workflows on demand rather than pre-load everything at start-up like we do today.

from lyra.

jdwelch avatar jdwelch commented on June 2, 2024

Where's the "so that"; why is this feature important for an end-user? Why is this the right solution to whatever that problem is?

from lyra.

jdwelch avatar jdwelch commented on June 2, 2024

I'm +1 to the "workflows/my/cool" corresponds to "workflows::my::cool" pattern and am fine with going ahead and ticketing/implementing that solution.

from lyra.

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.