Support loading boolean flags from pants.ini

Review Request #1680 - Created Jan. 28, 2015 and submitted

Information
Eric Ayers
pants
zundel/invert-boolean-option-config
1003
a84cb1d...
Reviewers
pants-reviews
benjyw, jsirois, patricklaw

I ran into trouble trying to turn off nailgun daemons by default in pants.ini.

This allows you to set a flag named '--config-option' in pants.ini with the syntax

config_option: True

or

config_option: False

Besides the unit tests, I tested this to turn off nailgun with the following in pants.ini

[DEFAULT]
ng_daemons: False

Issues

  • 0
  • 2
  • 0
  • 2
Description From Last Updated
Eric Ayers
Benjy Weinberger
Benjy Weinberger
Patrick Lawson
John Sirois
Nick Howard (Twitter)
Eric Ayers
John Sirois
John Sirois
Eric Ayers
Eric Ayers
Review request changed

Status: Closed (submitted)

Change Summary:

Commit d86509f

Loading...