witty-crayon-22786
01/31/2017, 9:05 PMhigh-advantage-47550
01/31/2017, 9:06 PMwitty-crayon-22786
01/31/2017, 9:06 PMwitty-crayon-22786
01/31/2017, 9:06 PMwitty-crayon-22786
01/31/2017, 9:07 PMwitty-crayon-22786
01/31/2017, 9:08 PMwitty-crayon-22786
01/31/2017, 9:08 PMhigh-advantage-47550
01/31/2017, 9:08 PMwitty-crayon-22786
01/31/2017, 9:10 PM$ ./pants help-advanced compile.zinc | grep -A3 'zinc-incremental'
--[no-]compile-zinc-incremental (default: True)
When set, zinc will use sub-target incremental compilation, which
dramatically improves compile performance while changing large targets. When
unset, changed targets will be compiled with an empty output directory, as
--
--[no-]compile-zinc-incremental-caching (default: False)
When set, the results of incremental compiles will be written to the cache.
This is unset by default, because it is generally a good precaution to cache
only clean/cold builds.
witty-crayon-22786
01/31/2017, 9:11 PMwitty-crayon-22786
01/31/2017, 9:11 PMhigh-advantage-47550
01/31/2017, 9:14 PM./pants compile //::
taking about 1 hour for ~20 targets (which was way slower than sbt) — to be fair, this was when one of the -util
-esque projects changed, so most things had to be recompiledhigh-advantage-47550
01/31/2017, 9:14 PMbillowy-minister-38128
01/31/2017, 9:41 PMtest-changed
on a CI machine.
the specific issue i’m confronted with is the behavior of pull requests in TeamCity - and this is more a TC question than a pants question:
what is the best way to get the required changed-diffspec? (since i have a trigger on +:refs/pull/*/head
it seems difficult to retrieve.witty-crayon-22786
01/31/2017, 9:48 PMwitty-crayon-22786
01/31/2017, 9:49 PMfor i in `./pants changed --include-dependees | xargs ./pants minimize`; do ./pants test target; done
witty-crayon-22786
01/31/2017, 9:49 PMwitty-crayon-22786
01/31/2017, 9:50 PMwitty-crayon-22786
01/31/2017, 9:50 PM./pants changed --parent=master --include-dependees
should be sufficient.billowy-minister-38128
01/31/2017, 9:56 PM+:refs/pull/*/head
and pass as a param to my build script… looking into that.
thank you.billowy-minister-38128
01/31/2017, 9:58 PMteamcity.build.vcs.branch.<VCS root ID>
billowy-minister-38128
01/31/2017, 10:01 PMwitty-crayon-22786
01/31/2017, 10:02 PM./pants changed --parent=master
soon in favor of ./pants --changed-parent=master list
witty-crayon-22786
01/31/2017, 10:03 PM./pants test-changed --parent=master
in favor of ./pants --changed-parent=master test
witty-crayon-22786
01/31/2017, 10:03 PM--changed
args, so no more need for specific goals. thanks @rough-minister-58256 )billowy-minister-38128
01/31/2017, 10:08 PMrough-minister-58256
01/31/2017, 10:40 PMfaint-grass-11531
01/31/2017, 11:00 PMException message: Could not satisfy all requirements for auth-client==0.2.3:
auth-client==0.2.3
why is it that auth-client==0.2.3 does not satisfy the requirement that auth-client==0.2.3?
would appreciate any help we can get!! we've been staring at this for a while.faint-grass-11531
01/31/2017, 11:01 PMrough-minister-58256
01/31/2017, 11:02 PM