show deprecation warning for options given in env and config

Review Request #4272 - Created Sept. 30, 2016 and submitted

Information
Yujie Chen
pants
3896, 3918
Reviewers
pants-reviews
benjyw, nhoward_tw

Currently, if a deprecating option is provided through environment variable or config file, no warnings will be printed.
It will result in errors when that option is eventually deprecated.

This change makes Pants spit out a warning in those cases and adds test cases.

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

Issues

  • 0
  • 1
  • 0
  • 1
Description From Last Updated
Stu Hood
Benjy Weinberger
Yujie Chen
Stu Hood
Benjy Weinberger
Yujie Chen
Review request changed

Status: Closed (submitted)

Change Summary:

Merged in https://github.com/pantsbuild/pants/commit/89f1eb2a9cc1aeebbb30a487c633fc154c8f29b8
Thanks Stu and Benjy!

Loading...