summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Substitute require for require_relativerelativeTim Smith2019-12-201-1/+1
| | | | | | require_relative is significantly faster and should be used when available. Signed-off-by: Tim Smith <tsmith@chef.io>
* Bump version to 2.1.5 by Chef Expeditorv2.1.5Chef Expeditor2019-12-193-5/+6
| | | | Obvious fix; these changes are the result of automation not creative thinking.
* Merge pull request #75 from chef/testing++Tim Smith2019-12-196-13/+71
|\ | | | | Test on Ruby 2.7 + random testing improvements
| * Test on Ruby 2.7 + random testing improvementsTim Smith2019-12-196-13/+71
|/ | | | | | | | | Update the Github templates to use multiple labels Use Gem caching our BK Add Ruby 2.7 testing Use Debian 10 Ruby containers not Debian 9 Signed-off-by: Tim Smith <tsmith@chef.io>
* Simplify the gemfile for dependabotTim Smith2019-10-281-6/+0
|
* Bump version to 2.1.4 by Chef Expeditorv2.1.4Chef Expeditor2019-08-283-5/+6
| | | | Obvious fix; these changes are the result of automation not creative thinking.
* Merge pull request #73 from chef/windows_testingTim Smith2019-08-283-1/+18
|\ | | | | Add windows PR testing with Buildkite
| * Add windows PR testing with Buildkitewindows_testingTim Smith2019-07-223-1/+18
| | | | | | | | | | | | The road to complete platform testing. Signed-off-by: Tim Smith <tsmith@chef.io>
* | Update CODEOWNERSTim Smith2019-08-061-3/+3
|/
* Bump version to 2.1.3 by Chef Expeditor2.1.3Chef Expeditor2019-07-123-5/+6
| | | | Obvious fix; these changes are the result of automation not creative thinking.
* Merge pull request #71 from MsysTechnologiesllc/VSingh/fix-chefstyleTim Smith2019-07-124-52/+54
|\ | | | | Fix chef-style
| * Fix chefstyleVivek Singh2019-07-124-52/+54
|/ | | | Signed-off-by: Vivek Singh <vivek.singh@msystechnologies.com>
* Bump version to 2.1.2 by Chef Expeditor2.1.2Chef Expeditor2019-06-253-4/+12
| | | | Obvious fix; these changes are the result of automation not creative thinking.
* Merge pull request #68 from chef/rakeTim Smith2019-06-242-10/+16
|\ | | | | Use our standard rakefile
| * Add buildkite readme badgerakeTim Smith2019-06-101-1/+2
| | | | | | | | Signed-off-by: Tim Smith <tsmith@chef.io>
| * Use our standard rakefileTim Smith2019-06-101-9/+14
|/ | | | | | Rescue failures and use chefstyle in the description. Signed-off-by: Tim Smith <tsmith@chef.io>
* Merge pull request #67 from chef/bkTim Smith2019-06-103-9/+9
|\ | | | | Speed up Buildkite tests
| * Speed up Buildkite testsTim Smith2019-06-103-9/+9
| | | | | | | | | | | | Use the smaller containers, skip gems we don't need and use chefstyle from rubygems. Signed-off-by: Tim Smith <tsmith@chef.io>
* | Update CHANGELOG.md to reflect the promotion of 2.1.1Chef Expeditor2019-06-101-11/+8
| | | | | | | | Obvious fix; these changes are the result of automation not creative thinking.
* | Bump version to 2.1.1 by Chef Expeditor2.1.1Chef Expeditor2019-06-103-4/+12
| | | | | | | | Obvious fix; these changes are the result of automation not creative thinking.
* | Merge pull request #66 from chef/deprecation-fix-unknown-keysMarc A. Paradise2019-06-102-1/+18
|\ \ | | | | | | Don't explode when there are unknown keys in 'config'
| * | Don't explode when there are unknown keys in 'config'deprecation-fix-unknown-keysMarc A. Paradise2019-06-072-1/+18
|/ / | | | | | | | | | | | | Update handle_deprecated_options to be graceful when 'config' has been modified externally to contain unknown keys. Signed-off-by: Marc A. Paradise <marc.paradise@gmail.com>
* | Update CHANGELOG.md to reflect the promotion of 2.1.0Chef Expeditor2019-06-071-14/+11
| | | | | | | | Obvious fix; these changes are the result of automation not creative thinking.
* | Bump version to 2.1.0 by Chef Expeditor2.1.0Chef Expeditor2019-06-073-5/+6
| | | | | | | | Obvious fix; these changes are the result of automation not creative thinking.
* | Merge pull request #65 from chef/MIXLIB-CLI-63/deprecated-option-supportTim Smith2019-06-065-50/+458
|\ \ | | | | | | [MIXLIB-CLI-63] Add deprecated_option support
| * | Code review updates for deprecated_optionMIXLIB-CLI-63/deprecated-option-supportMarc A. Paradise2019-06-063-11/+55
| | | | | | | | | | | | Signed-off-by: Marc A. Paradise <marc.paradise@gmail.com>
| * | [MIXLIB-CLI-63] Add deprecated_option supportMarc A. Paradise2019-06-064-50/+414
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit adds deprecated option support by exposing a new ClassMethod, `deprecated_option`. It will generate a corresponding deprecated option, and if that option is used it will handle mapping of the old option to the new and issue a warning. `deprecated_option` accepts a subset of the parameters that `option` accepts. Most importantly, a deprecated option can't have a default value. There's a practical reason for this and a philosophical one. Practically, it makes it easy to track the situation where someone has set `use_separate_defaults` to `false`. In that case, we currently can't tell whether the user provided the flag, or it was set as a default. This could have been addressed, but: Philosphically it makes more sense to not have a default value on a deprecated item. If it's deprecated, you want people to stop using it. If it has a default, it's effectively forced in-use at all times. See function docs for further accepted parameters. To allow deprecated options without warnings, use parse_options as `parse_options(ARGV, show_deprecations: false)`. By default, warnings will be shown. This also moves some formatting code into its own class - it was causing methods to get mixed in that client classes didn't need; and I reached the point where I needed to access the formatting functions across methods in both Mixlib::CLI and Mixlib::CLI::ClassMethods. It made more sense to move them outside of the mixed-in bits, since it wasn't a concern of the caller that would be inheriting those methods. Signed-off-by: Marc A. Paradise <marc.paradise@gmail.com>
* | | Bump version to 2.0.9 by Chef Expeditor2.0.9Chef Expeditor2019-06-053-5/+6
| | | | | | | | | | | | Obvious fix; these changes are the result of automation not creative thinking.
* | | Merge pull request #64 from tsub/fix-gem-homepage-urlTim Smith2019-06-051-1/+1
|\ \ \ | |/ / |/| | Fix gem homepage url
| * | Fix gem homepage urlTsubasa Takayama2019-06-051-1/+1
|/ / | | | | | | Signed-off-by: Tsubasa Takayama <tsubasatakayama511@gmail.com>
* | Bump version to 2.0.8 by Chef Expeditor2.0.8Chef Expeditor2019-06-013-5/+6
| | | | | | | | Obvious fix; these changes are the result of automation not creative thinking.
* | Merge pull request #62 from chef/bkTim Smith2019-05-314-43/+10
|\ \ | |/ | | Disable Travis testing & Update codeowners
| * Disable Travis testing & Update codeownersTim Smith2019-05-314-43/+10
| | | | | | | | Signed-off-by: Tim Smith <tsmith@chef.io>
* | Bump version to 2.0.7 by Chef Expeditor2.0.7Chef Expeditor2019-06-013-4/+12
| | | | | | | | Obvious fix; these changes are the result of automation not creative thinking.
* | Merge pull request #61 from chef/bkTim Smith2019-05-312-3/+34
|\ \ | |/ | | Setup BuildKite for PR testing
| * Setup BuildKite for PR testingTim Smith2019-05-312-3/+34
|/ | | | Signed-off-by: Tim Smith <tsmith@chef.io>
* Update CHANGELOG.md to reflect the promotion of 2.0.6Chef Expeditor2019-05-141-13/+10
| | | | Obvious fix; these changes are the result of automation not creative thinking.
* Bump version to 2.0.6 by Chef Expeditorv2.0.6Chef Expeditor2019-05-143-5/+6
| | | | Obvious fix; these changes are the result of automation not creative thinking.
* Merge pull request #60 from chef/better_inTim Smith2019-05-132-5/+29
|\ | | | | Print out human readable lists of allowed CLI options
| * Add more specs and use or not andTim Smith2019-05-132-8/+16
| | | | | | | | | | | | This seems to make more sense Signed-off-by: Tim Smith <tsmith@chef.io>
| * Print out human readable lists of allowed CLI optionsTim Smith2019-05-132-4/+20
|/ | | | | | Give a nice friendly sentence and not an array. This uses the code we nuked from chef/chef that did the same. Signed-off-by: Tim Smith <tsmith@chef.io>
* Bump version to 2.0.5 by Chef Expeditorv2.0.5Chef Expeditor2019-05-143-5/+6
| | | | Obvious fix; these changes are the result of automation not creative thinking.
* Merge pull request #59 from chef/btm/included_textTim Smith2019-05-132-2/+2
|\ | | | | Improve the --help text output of 'in:'
| * Improve the --help text output of 'in:'btm/included_textBryan McLellan2019-05-132-2/+2
|/ | | | | | | The automatic addition of the 'in' options to the --help output could be more clear about what the list is. Signed-off-by: Bryan McLellan <btm@loftninjas.org>
* Bump version to 2.0.4 by Chef Expeditorv2.0.4Chef Expeditor2019-04-233-4/+12
| | | | Obvious fix; these changes are the result of automation not creative thinking.
* Merge pull request #58 from chef/boilerplateTim Smith2019-04-2310-6/+88
|\ | | | | Add additional github templates and update codeowners
| * Add additional github templates and update codeownersboilerplateTim Smith2019-04-2310-6/+88
|/ | | | | | Get this repo in line with our current standards. Signed-off-by: Tim Smith <tsmith@chef.io>
* Update CHANGELOG.md to reflect the promotion of 2.0.3Chef Expeditor2019-03-201-12/+9
| | | | Obvious fix; these changes are the result of automation not creative thinking.
* Bump version to 2.0.3 by Chef Expeditorv2.0.3Chef Expeditor2019-03-203-5/+6
| | | | Obvious fix; these changes are the result of automation not creative thinking.
* Merge pull request #56 from chef/add_backLamont Granquist2019-03-193-3/+6
|\ | | | | Add back support for Ruby 2.4