[engine] yield only addresses associated with target specs, so `list` goal will work

Review Request #3873 - Created May 11, 2016 and submitted

Information
Yi Cheng
pants
3323, 3415
Reviewers
pants-reviews
jsirois, kwlzn, peiyu, stuhood
  • yield only addresses associated with target specs, instead of the whole transitive closure.
  • hardcode dist dir into --pants-ignore for daemon

https://travis-ci.org/pantsbuild/pants/builds/131043219

Two engine runs:
[tw-mbp-yic pants (3323_better)]$ ./pants --config-override=pants.daemon.ini list examples/tests/java/org/pantsbuild/example/:: | sort
examples/tests/java/org/pantsbuild/example/hello/greet:greet
examples/tests/java/org/pantsbuild/example/useantlr:antlr3_test
examples/tests/java/org/pantsbuild/example/useantlr:antlr4_test
examples/tests/java/org/pantsbuild/example/usejaxb:usejaxb
examples/tests/java/org/pantsbuild/example/useproto:useproto
examples/tests/java/org/pantsbuild/example/useprotoimports:useprotoimports
examples/tests/java/org/pantsbuild/example/usethrift:usethrift
examples/tests/java/org/pantsbuild/example/usewire:usewire

[tw-mbp-yic pants (3323_better)]$ ./pants --config-override=pants.daemon.ini list examples/tests/java/org/pantsbuild/example/:: | sort
examples/tests/java/org/pantsbuild/example/hello/greet:greet
examples/tests/java/org/pantsbuild/example/useantlr:antlr3_test
examples/tests/java/org/pantsbuild/example/useantlr:antlr4_test
examples/tests/java/org/pantsbuild/example/usejaxb:usejaxb
examples/tests/java/org/pantsbuild/example/useproto:useproto
examples/tests/java/org/pantsbuild/example/useprotoimports:useprotoimports
examples/tests/java/org/pantsbuild/example/usethrift:usethrift
examples/tests/java/org/pantsbuild/example/usewire:usewire

Regular run:
[tw-mbp-yic pants (3323_better)]$ ./pants list examples/tests/java/org/pantsbuild/example/:: | sort
examples/tests/java/org/pantsbuild/example/hello/greet:greet
examples/tests/java/org/pantsbuild/example/useantlr:antlr3_test
examples/tests/java/org/pantsbuild/example/useantlr:antlr4_test
examples/tests/java/org/pantsbuild/example/usejaxb:usejaxb
examples/tests/java/org/pantsbuild/example/useproto:useproto
examples/tests/java/org/pantsbuild/example/useprotoimports:useprotoimports
examples/tests/java/org/pantsbuild/example/usethrift:usethrift
examples/tests/java/org/pantsbuild/example/usewire:usewire

Issues

  • 0
  • 2
  • 0
  • 2
Description From Last Updated
Yi Cheng
Yi Cheng
Stu Hood
Yi Cheng
Kris Wilson
Yi Cheng
Yi Cheng
Stu Hood
Kris Wilson
Peiyu Wang
Yi Cheng
Yi Cheng
Review request changed

Status: Closed (submitted)

Change Summary:

2ff846d5e4ee650e2bfc9824c9074736b02f4ebe Thanks gents!

Loading...