Giter Site home page Giter Site logo

Comments (5)

dansondergaard avatar dansondergaard commented on August 29, 2024 1

I think that we could do something like this:

  1. Add a --force flag to gwf run. When the flag is given, gwf will not do any checks to see if a target should be submitted, but just submit it and their dependencies.
  2. Add a --no-deps flag to gwf run. When the flag is given, gwf run will only submit the targets matching the given pattern, but not their dependencies.

So running gwf run --force --no-deps *my_target* will submit the matching targets, without their dependencies, and without probing the filesystem for changes.

from gwf.

LudvigOlsen avatar LudvigOlsen commented on August 29, 2024

That sounds great!

I guess --force would run all dependencies then. Would it make sense to allow setting a number of "dependency levels" to compute? So where --no-deps would be 0, you could allow running N steps down the three?

from gwf.

dansondergaard avatar dansondergaard commented on August 29, 2024

It's possible, but sounds like a very niche feature :) You could sounds the (almost) same problem by giving the dependencies to gwf run directly, like gwf run --force '*layer1*' '*layer2*', etc., which is already possible.

from gwf.

LudvigOlsen avatar LudvigOlsen commented on August 29, 2024

True! gwf run --force --no-deps would work for my situation for sure. And force would allow rerunning everything without removing files (could be a mess if it fails midway though).

from gwf.

dansondergaard avatar dansondergaard commented on August 29, 2024

Great! I have commented on #416 separately.

from gwf.

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.