happy-kitchen-89482
06/13/2017, 10:23 PMrough-minister-58256
06/13/2017, 10:24 PMrough-minister-58256
06/13/2017, 10:26 PMtests/python/pants_test/engine/examples/planners.py
has a bunch of example/prototype rules, but in general they’re a bit scattered. can scan for usages of pants.engine.rules.{SingletonRule,TaskRule}
and pants.engine.selectors.{Select,SelectDependencies,SelectProjection,SelectVariant}
rough-minister-58256
06/13/2017, 10:28 PMSingletonRule
happy-kitchen-89482
06/13/2017, 11:18 PMwitty-crayon-22786
06/20/2017, 7:22 PMhappy-kitchen-89482
06/20/2017, 7:22 PMwitty-crayon-22786
06/20/2017, 7:24 PMwitty-crayon-22786
06/20/2017, 8:27 PMwitty-crayon-22786
06/20/2017, 8:39 PMsubject
is part of a Node's identity, even if the Node doesn't directly use the subject.fancy-queen-20734
06/20/2017, 8:42 PMhappy-kitchen-89482
06/20/2017, 8:44 PMfancy-queen-20734
06/20/2017, 8:44 PMfancy-queen-20734
06/20/2017, 8:44 PMfancy-queen-20734
06/20/2017, 8:46 PMwitty-crayon-22786
06/20/2017, 8:47 PMPathGlobs.create(include=['pants.ini'])
that you request the contents ofwitty-crayon-22786
06/20/2017, 8:47 PMAlso, I’m not clear on how the initial values are provided (e.g., “here’s the list of config files”, “here’s the command-line flags”) from which the engine can flow forward.
witty-crayon-22786
06/20/2017, 8:47 PMhappy-kitchen-89482
06/20/2017, 8:48 PMhappy-kitchen-89482
06/20/2017, 8:49 PMhappy-kitchen-89482
06/20/2017, 8:49 PMwitty-crayon-22786
06/20/2017, 8:49 PMselector.product_request(Optionable, subject)
happy-kitchen-89482
06/20/2017, 8:49 PMhappy-kitchen-89482
06/20/2017, 8:50 PMwitty-crayon-22786
06/20/2017, 8:50 PMhappy-kitchen-89482
06/20/2017, 8:50 PMhappy-kitchen-89482
06/20/2017, 8:50 PMRootRules
happy-kitchen-89482
06/20/2017, 8:50 PMhappy-kitchen-89482
06/20/2017, 8:51 PMwitty-crayon-22786
06/20/2017, 8:51 PMRootRule
declared