An option to set the location of config files.

Review Request #3500 - Created Feb. 24, 2016 and submitted

Information
Benjy Weinberger
pants
Reviewers
pants-reviews
kwlzn, mateor, patricklaw, stuhood
This option is special-cased, to work around the obvious
chicken-and-egg problem.

Why is this useful? A few reasons.

- Previously the default pants.ini location was automagically used
  in several different possible control paths, which was potentially
  surprising to people trying to override it.

- It allows us to generate reference documentation without applying
  our pants.ini-based defaults, by setting the flag to an empty list.

- It allows us to remove the configpaths= constructor argument to
  OptionsBootstrapper, which was only used in tests anyway.

- In the future it will allow us to deprecate --config-override, and
  possibly the pantsrc-related options, and consolidate everything into
  the single --pants-config-files option.

ignore values from config and env vars when generating reference docs.

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

Issues

  • 0
  • 2
  • 0
  • 2
Description From Last Updated
Eric Ayers
Kris Wilson
Stu Hood
Eric Ayers
Benjy Weinberger
Eric Ayers
Kris Wilson
Benjy Weinberger
Benjy Weinberger
Review request changed

Status: Closed (submitted)

Change Summary:

f6c4df9b9ca1f3f0d6ae428fb535413dff22c47b

Loading...