brettviren / worch

Let the orchestration waf through the suite.
5 stars 3 forks source link

add orch.cfg files to build deps #6

Open sbinet opened 11 years ago

sbinet commented 11 years ago

we need a mechanism to detect orch.cfg files have been modified and thus project needs to probably be reconfigured.

caveats: correctly handling fine-enough a granularity might be tricky (ie: when modifying foo.cfg, only reschedule foo_xyz steps and their clients, but not bar_xyz) this is probably known at some level inside the deconf parser.

brettviren commented 11 years ago

By "reconfigured" do you mean a "waf [...] configure" command is called?

This is fast enough and idempotent that the someone modifying configuration files can just err on the side of doing a "waf [...] configure" more frequently than may actually be needed.

sbinet commented 11 years ago

that, or use the autoconfig thingy: https://code.google.com/p/waf/source/browse/waflib/Configure.py#34

(so at least waf would yell when the project needs to go through a waf configure cycle)