Change how we detect the buildroot.

Review Request #3489 - Created Feb. 23, 2016 and submitted

Information
Benjy Weinberger
pants
Reviewers
pants-reviews
jsirois, kwlzn, mateor, patricklaw, stuhood, zundel
Instead of looking for pants.ini we look for the pants runner script
(or any file named 'pants') in the cwd and its ancestors.

This is because we don't want to give the location of pants.ini
any special extra meaning.  We want pants to work with multiple cascading
config files (instead of the clunky --config-file-override mechanism)
or even no config file at all. A future change will implement configurable
config file locations, and will explain in greater detail why that's a
good thing...

CI passes here: https://travis-ci.org/pantsbuild/pants/builds/111261172

Issues

  • 0
  • 2
  • 0
  • 2
Description From Last Updated
Patrick Lawson
Mateo Rodriguez
Nick Howard (Twitter)
Timur Abishev
Matt Olsen
Stu Hood
Eric Ayers
Kris Wilson
Benjy Weinberger
Nick Howard (Twitter)
Benjy Weinberger
Benjy Weinberger
Review request changed

Status: Closed (submitted)

Change Summary:

Submitted as f5e2d61a127cc6225bb47f23cd2f2519c63dc535.

Benjy Weinberger

Submitted as f5e2d61a127cc6225bb47f23cd2f2519c63dc535. Thanks for all the reviews and comments. Please be on the lookout for any issues when you deploy this.

Loading...