wonderful-winter-39732
07/05/2018, 8:22 PMenough-analyst-54434
07/05/2018, 8:31 PMenough-analyst-54434
07/05/2018, 8:35 PMwonderful-winter-39732
07/05/2018, 8:55 PMenough-analyst-54434
07/05/2018, 10:06 PMenough-analyst-54434
07/05/2018, 10:06 PMhappy-kitchen-89482
07/06/2018, 4:03 AM--changed-parent etc. See https://github.com/pantsbuild/pants/blob/master/src/python/pants/scm/subsystems/changed.py#L27 for details.happy-kitchen-89482
07/06/2018, 4:04 AMhappy-kitchen-89482
07/06/2018, 4:05 AMhappy-kitchen-89482
07/06/2018, 4:07 AMwitty-crayon-22786
07/06/2018, 2:46 PMpantsd the scanning part can remain fast.wonderful-winter-39732
07/07/2018, 5:34 AMwonderful-winter-39732
07/07/2018, 5:35 AMwonderful-winter-39732
07/07/2018, 5:39 AMhappy-kitchen-89482
07/07/2018, 7:41 AM./pants compile :: then Pants will construct a build graph, then fingerprint every source file in all the specified targets (in your case all targets) to see which have changed and act on those. This will be fast if you use pantsd, as @witty-crayon-22786 mentioned. But if you do ./pants compile --changed-parent=<treeish> then it consults git to find out which targets might have changed, as @enough-analyst-54434 described above, and then fingerprint only those and continue from there, which may be faster (certainly prior to pantsd).happy-kitchen-89482
07/07/2018, 7:43 AM--changed-parent (operate on all targets whose sources are different from their state at this sha) as a replacement for :: (operate on all targets)happy-kitchen-89482
07/07/2018, 7:43 AMhappy-kitchen-89482
07/07/2018, 7:46 AM--compile-parent=SHA. Now Pants will conclude that it needs to operate on target T, because its source (which is in state A) is in a different state from the one at SHA (state B). But when Pants actually operates on that target it discovers that it doesn’t need to do anything, because the last compile was also at state A.happy-kitchen-89482
07/07/2018, 7:47 AMwonderful-winter-39732
07/07/2018, 5:11 PMwonderful-winter-39732
07/07/2018, 5:11 PMhappy-kitchen-89482
07/09/2018, 2:48 PM./pants compile path/to/target instead of on the entire repo.wonderful-winter-39732
07/09/2018, 2:58 PMhappy-kitchen-89482
07/09/2018, 6:26 PMwitty-crayon-22786
07/09/2018, 6:33 PMpantsd is relevant herewitty-crayon-22786
07/09/2018, 6:34 PMpantsd warm in CI run-over-run (https://github.com/pantsbuild/pants/pull/6059 is very relevant there)witty-crayon-22786
07/09/2018, 6:35 PMwitty-crayon-22786
07/09/2018, 6:37 PM