witty-crayon-22786
09/20/2019, 10:51 PMwitty-crayon-22786
09/20/2019, 10:53 PMhundreds-breakfast-49010
09/20/2019, 10:55 PMself.scheduler.visualize_graph_to_file('/tmp/test.dot')
to do what I want? when I run the test it creates this file but it appears to be blank when I convert it to a pdfhundreds-breakfast-49010
09/20/2019, 10:56 PMwitty-crayon-22786
09/20/2019, 10:56 PMwitty-crayon-22786
09/20/2019, 10:56 PMprintln(..)
the rootshundreds-breakfast-49010
09/20/2019, 10:56 PMdigraph plans {
node[colorscheme=set312];
concentrate=true;
rankdir=TB;
}
hundreds-breakfast-49010
09/20/2019, 10:56 PMhundreds-breakfast-49010
09/20/2019, 10:56 PMwitty-crayon-22786
09/20/2019, 10:56 PMwitty-crayon-22786
09/20/2019, 10:57 PMvisualize_graph_to_file
is the runtime graphwitty-crayon-22786
09/20/2019, 10:57 PMwitty-crayon-22786
09/20/2019, 10:58 PMvisualize_rule_graph_to_file
hundreds-breakfast-49010
09/20/2019, 10:58 PMhundreds-breakfast-49010
09/20/2019, 10:58 PMwitty-crayon-22786
09/20/2019, 10:59 PMwitty-crayon-22786
09/20/2019, 10:59 PMwitty-crayon-22786
09/20/2019, 11:00 PMScheduler(.., rules=...)
, we statically take those rules and create a graph of themwitty-crayon-22786
09/20/2019, 11:01 PMwitty-crayon-22786
09/20/2019, 11:01 PMhundreds-breakfast-49010
09/20/2019, 11:01 PMSourceRootStrippedSources
from somethingwitty-crayon-22786
09/20/2019, 11:02 PMhundreds-breakfast-49010
09/20/2019, 11:02 PMSourceRootStrippedSources
a root rule when it shouldn't be?witty-crayon-22786
09/20/2019, 11:03 PMwitty-crayon-22786
09/20/2019, 11:03 PMParams((HydratedTarget+SourceRootConfig))
witty-crayon-22786
09/20/2019, 11:03 PMSourceRootStrippedSources
witty-crayon-22786
09/20/2019, 11:04 PMwitty-crayon-22786
09/20/2019, 11:04 PMSourceRootStrippedSources
witty-crayon-22786
09/20/2019, 11:05 PMAddress+SourceRootConfig
, and the other takes Address+OptionsBootstrapper
witty-crayon-22786
09/20/2019, 11:05 PMhundreds-breakfast-49010
09/20/2019, 11:06 PMwitty-crayon-22786
09/20/2019, 11:06 PMHydratedTarget
? ... because there is no RootRule
for HydratedTarget.hundreds-breakfast-49010
09/20/2019, 11:06 PMenough-analyst-54434
09/20/2019, 11:06 PMenough-analyst-54434
09/20/2019, 11:06 PMenough-analyst-54434
09/20/2019, 11:06 PMhundreds-breakfast-49010
09/20/2019, 11:06 PMwitty-crayon-22786
09/20/2019, 11:06 PMhundreds-breakfast-49010
09/20/2019, 11:06 PMwitty-crayon-22786
09/20/2019, 11:07 PMhundreds-breakfast-49010
09/20/2019, 11:07 PMwitty-crayon-22786
09/20/2019, 11:07 PMwitty-crayon-22786
09/20/2019, 11:07 PMwitty-crayon-22786
09/20/2019, 11:07 PMenough-analyst-54434
09/20/2019, 11:08 PMwitty-crayon-22786
09/20/2019, 11:08 PMwitty-crayon-22786
09/20/2019, 11:08 PMhundreds-breakfast-49010
09/20/2019, 11:08 PMRootRule(HydratedTarget)
was the problemhundreds-breakfast-49010
09/20/2019, 11:08 PMwitty-crayon-22786
09/20/2019, 11:08 PMenough-analyst-54434
09/20/2019, 11:08 PMhundreds-breakfast-49010
09/20/2019, 11:09 PMHydratedTarget
for this testwitty-crayon-22786
09/20/2019, 11:09 PMhundreds-breakfast-49010
09/20/2019, 11:09 PMwitty-crayon-22786
09/20/2019, 11:09 PMwitty-crayon-22786
09/20/2019, 11:09 PMhundreds-breakfast-49010
09/20/2019, 11:10 PMwitty-crayon-22786
09/20/2019, 11:10 PMHydratedTarget(address="", adaptor=test_target, dependencies=())
witty-crayon-22786
09/20/2019, 11:11 PMPythonTestsAdaptor
witty-crayon-22786
09/20/2019, 11:11 PMwitty-crayon-22786
09/20/2019, 11:11 PMwitty-crayon-22786
09/20/2019, 11:12 PMwitty-crayon-22786
09/20/2019, 11:12 PMhundreds-breakfast-49010
09/20/2019, 11:13 PMhundreds-breakfast-49010
09/20/2019, 11:13 PMwitty-crayon-22786
09/20/2019, 11:13 PMwitty-crayon-22786
09/20/2019, 11:14 PMPythonSourcesTarget
or something.witty-crayon-22786
09/20/2019, 11:14 PMhundreds-breakfast-49010
09/20/2019, 11:15 PMhundreds-breakfast-49010
09/20/2019, 11:17 PMHydratedTarget
allowed it to not have to deal with the fact that TargetAdaptor
would in practice be TargetAdaptor
or any subclass thereofwitty-crayon-22786
09/20/2019, 11:30 PMwitty-crayon-22786
09/20/2019, 11:30 PMwitty-crayon-22786
09/20/2019, 11:31 PMenough-analyst-54434
09/20/2019, 11:32 PMwitty-crayon-22786
09/20/2019, 11:32 PMwitty-crayon-22786
09/20/2019, 11:33 PMwitty-crayon-22786
09/20/2019, 11:33 PMenough-analyst-54434
09/20/2019, 11:35 PMwitty-crayon-22786
09/20/2019, 11:36 PMwitty-crayon-22786
09/20/2019, 11:36 PMenough-analyst-54434
09/20/2019, 11:36 PMwitty-crayon-22786
09/20/2019, 11:36 PMenough-analyst-54434
09/20/2019, 11:36 PMhundreds-breakfast-49010
09/20/2019, 11:36 PMhundreds-breakfast-49010
09/20/2019, 11:36 PMwitty-crayon-22786
09/21/2019, 12:26 AMException: No installed @rules can compute SourceRootStrippedSources for input Params((HydratedTarget+SourceRootConfig)), but there were rules that could compute it using:
Params((Address+OptionsBootstrapper))
Params((Address+SourceRootConfig))
witty-crayon-22786
09/21/2019, 12:28 AMRootRule(HydratedTarget)
to allow that as a parameter, but i'm not sure that we can "guess" that that is what someone should do in generalhundreds-breakfast-49010
09/21/2019, 12:33 AMwitty-crayon-22786
09/21/2019, 12:43 AM