https://pantsbuild.org/ logo
#development
Title
# development
w

witty-crayon-22786

09/05/2019, 8:51 PM
that is what "registering" a ruled looks like, yea. when a rule is registered, it ends up in the "rule graph"
w

wide-energy-11069

09/05/2019, 8:52 PM
thanks!
w

witty-crayon-22786

09/05/2019, 8:52 PM
for v1 to trigger something running in v2, you'd use
xs = scheduler.product_request(X, [y])
which checks that there is a path through the rule graph to produce an X given a Y
the method "product_request" is pretty greppable, and each example is a little bit different an interesting in its own way, so i won't link to a specific one
👍 1