Skip to content

Instantly share code, notes, and snippets.

@stuhood
Created August 25, 2020 00:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save stuhood/568413333a9e4785a2f60928d3c02067 to your computer and use it in GitHub Desktop.
Save stuhood/568413333a9e4785a2f60928d3c02067 to your computer and use it in GitHub Desktop.
// strongly connected component:
digraph {
0 [label="NodeIndex(51): @rule(pants.engine.process:219:fallible_to_exec_result_or_raise(FallibleProcessResult, ProductDescription) -> ProcessResult)"]
1 [label="NodeIndex(66): @rule(<intrinsic>(MultiPlatformProcess, Platform) -> FallibleProcessResultWithPlatform)"]
2 [label="NodeIndex(83): @rule(pants.backend.python.rules.pex_environment:129:find_pex_python(PythonSetup, PexRuntimeEnvironment, SubprocessEnvironment) -> PexEnvironment, gets=[Get(BinaryPaths, BinaryPathRequest)])"]
3 [label="NodeIndex(107): @rule(pants.engine.process:237:remove_platform_information(FallibleProcessResultWithPlatform) -> FallibleProcessResult)"]
4 [label="NodeIndex(139): @rule(pants.engine.process:208:get_multi_platform_request_description(MultiPlatformProcess) -> ProductDescription)"]
5 [label="NodeIndex(170): @rule(pants.core.util_rules.external_tool:171:download_external_tool(ExternalToolRequest) -> DownloadedExternalTool, gets=[Get(Digest, DownloadFile), Get(ExtractedDigest, MaybeExtractable)])"]
6 [label="NodeIndex(177): @rule(pants.core.util_rules.archive:41:maybe_extract(MaybeExtractable) -> ExtractedDigest, gets=[Get(Snapshot, Digest), Get(ProcessResult, Process), Get(Digest, RemovePrefix)])"]
7 [label="NodeIndex(179): @rule(pants.backend.python.rules.pex:505:setup_pex_process(PexProcess, PexEnvironment) -> Process)"]
8 [label="NodeIndex(180): @rule(pants.backend.python.rules.pex_cli:75:setup_pex_cli_process(PexCliProcess, PexBinary, PexEnvironment, PythonNativeCode) -> Process, gets=[Get(DownloadedExternalTool, ExternalToolRequest), Get(Digest, MergeDigests)])"]
9 [label="NodeIndex(193): @rule(pants.engine.process:213:upcast_process(Process) -> MultiPlatformProcess)"]
10 [label="NodeIndex(194): @rule(pants.engine.process:337:find_binary(BinaryPathRequest) -> BinaryPaths, gets=[Get(Digest, CreateDigest), Get(FallibleProcessResult, Process)])"]
3 -> 1 [label="FallibleProcessResultWithPlatform"]
1 -> 9 [label="MultiPlatformProcess"]
9 -> 7 [label="Process"]
9 -> 8 [label="Process"]
8 -> 2 [label="PexEnvironment"]
8 -> 5 [label="Get(DownloadedExternalTool, ExternalToolRequest)"]
5 -> 6 [label="Get(ExtractedDigest, MaybeExtractable)"]
6 -> 0 [label="Get(ProcessResult, Process)"]
0 -> 3 [label="FallibleProcessResult"]
0 -> 4 [label="ProductDescription"]
4 -> 9 [label="MultiPlatformProcess"]
2 -> 10 [label="Get(BinaryPaths, BinaryPathRequest)"]
10 -> 3 [label="Get(FallibleProcessResult, Process)"]
7 -> 2 [label="PexEnvironment"]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment