summaryrefslogtreecommitdiff
path: root/lib/chef/formatters
Commit message (Collapse)AuthorAgeFilesLines
* autofixing whitespace copsLamont Granquist2016-02-0512-77/+66
| | | | | | | | | | | | | | | | | | | | | | 4174 Style/SpaceInsideHashLiteralBraces 1860 Style/SpaceAroundOperators 1336 Style/SpaceInsideBlockBraces 1292 Style/AlignHash 997 Style/SpaceAfterComma 860 Style/SpaceAroundEqualsInParameterDefault 310 Style/EmptyLines 294 Style/IndentationConsistency 267 Style/TrailingWhitespace 238 Style/ExtraSpacing 212 Style/SpaceBeforeBlockBraces 166 Style/MultilineOperationIndentation 144 Style/TrailingBlankLines 120 Style/EmptyLineBetweenDefs 101 Style/IndentationWidth 82 Style/SpaceAroundBlockParameters 40 Style/EmptyLinesAroundMethodBody 29 Style/EmptyLinesAroundAccessModifier 1 Style/RescueEnsureAlignment
* auto-fixing some easy copschefstyle/fixesLamont Granquist2016-02-033-6/+6
| | | | | | | | | | | | | 3 Performance/CaseWhenSplat: Place when conditions with a splat at the end of the when branches. 1 Style/ElseAlignment: Align else with if. 1 Style/EvenOdd: Replace with Fixnum#even?. 1 Style/MethodDefParentheses: Use def with parentheses when there are parameters. 3 Style/PercentQLiterals: Do not use %Q unless interpolation is needed. Use %q. 3 Style/SpaceAfterColon: Space missing after colon. 2 Style/SpaceAfterMethodName: Do not put a space between a method name and the opening parenthesis. 2 Style/Tab: Tab detected. 1 Style/TrailingUnderscoreVariable: Do not use trailing _s in parallel assignment. 1 Style/UnneededCapitalW: Do not use %W unless interpolation is needed. If not, use %w.
* Update all auth email address from opscode.com and getchef.com to chef.io.Noah Kantrowitz2016-02-0210-12/+12
| | | Generated via git ls-files | xargs perl -pi -e "s/(Author.*?<[^@]+@)(?:opscode\\.com|getchef\\.com)(>)/\\1chef.io\\2/gi"
* Replace all Opscode copyrights with Chef Software.Noah Kantrowitz2016-02-025-5/+5
| | | Created via git ls-files | xargs perl -pi -e "s/(Copyright.*?), Opscode(,)? Inc(\.)?/\\1, Chef Software Inc./gi"
* Copyright year update for 2016 and massive cleanup.Noah Kantrowitz2016-02-0210-10/+10
| | | Generated via git ls-files | xargs perl -pi -e "s/[Cc]opyright (?:\([Cc]\) )?((?\!$(date +%Y))\\d{4})(-\\d{4})?([, ][ \d]+)*(,|(?= ))/Copyright \\1-$(date +%Y),/g"
* Merge pull request #4434 from chef/lcg/better-eof-errorsLamont Granquist2016-01-276-7/+51
|\ | | | | adds EOFError message to handlers
| * explicit specs for EOFErrorslcg/better-eof-errorsLamont Granquist2016-01-261-3/+3
| |
| * adds EOFError message to handlersLamont Granquist2016-01-196-7/+51
| | | | | | | | | | | | i think this still misses the biggest EOFError culprit which is the node.save at the end, but we don't seem to have a node_save_failed event to hook.
* | Rename openssl-fips to fips and add messagesJay Mundrawala2016-01-252-4/+4
| |
* | Add fips mode line to Starting chef client runJay Mundrawala2016-01-252-2/+4
|/
* Use double quotes by defaultThom May2016-01-1414-31/+31
| | | | | | | This is an entirely mechanically generated (chefstyle -a) change, to go along with chef/chefstyle#5 . We should pick something and use it consistently, and my opinion is that double quotes are the appropriate thing.
* autocorrecting Style/TrailingCommalcg/trailing_commaLamont Granquist2016-01-131-1/+1
| | | | chefstyle -a fixed 1044 occurrances
* chefstyle: fix Lint/StringConversionInInterpolationLamont Granquist2016-01-121-1/+1
| | | | useless use of `"#{foo.to_s}"`
* Implement code review comments and fix failing testsThom May2015-11-091-0/+7
|
* Implement live streaming for execute resourcesAdam Jacob2015-11-091-0/+5
| | | | | | | | | | This brings live streaming of execute resource output to the output formatters. It also adds a mechanism for checking to see if an output formatter is in use through the event dispatch system. It adds a new configuration option, "always_stream_execute", which does what it says on the tin.
* Capitalize sentencesTim Smith2015-10-181-2/+2
|
* I think this was a bad search-and-replace, causes an infinite loop.Noah Kantrowitz2015-09-251-1/+1
|
* Find the spot the user called and use that as the deprecation locationJohn Keiser2015-09-251-1/+1
|
* Merge pull request #3809 from martinb3/frozen_error_inspectorThom May2015-09-151-5/+25
|\ | | | | Further revision for compile errors due to frozen
| * Further revision for compile errors due to frozenMartin Smith2015-08-211-5/+25
| | | | | | | | Per the discussion at the bottom of https://github.com/chef/chef/pull/3757, doing some further refinement of compile_error_inspector's message regarding frozen objects. Helps further address the original issue https://github.com/chef/chef/issues/3734.
* | Remove Timecop dependencyJoel Handwell2015-09-021-1/+1
| |
* | Keep elapsed_time and add pretty_elapsed_timeJoel Handwell2015-09-021-3/+7
| |
* | Add unit tests for elapsed_timeJoel Handwell2015-09-021-1/+1
| |
* | Human friendly elapsed time in logJoel Handwell2015-09-021-3/+11
| |
* | Pass deprecations through formatter instead of logsJohn Keiser2015-09-012-0/+39
|/
* Add additional helpful section for frozen objectsMartin Smith2015-08-061-0/+16
| | | | | | Augument runtime errors with additional information that explains why an object might be frozen, and how frozen resource properties are a good thing. Fixes #3734, for [accepted RFC 55](https://github.com/chef/chef-rfc/pull/135).
* Revert back to the first argument being cookbook_name.Noah Kantrowitz2015-07-312-2/+2
|
* Make the doc formatter actually show what version of a cookbook is being used.Noah Kantrowitz2015-07-222-5/+5
| | | | | | | | This has bugged me forever. It does change the API of the Formatter system in a ~non-back-compat way but I don't think I've actually seen any formatters outside of core Chef so how much do we want to worry about this? We could write a shim in `Chef::EventDispatcher::Dispatcher` to check the arity of the method if needed.
* count skipped resources in among total resourcesRanjib Dey2015-06-251-1/+3
|
* Backwards compatible support for OSC 11 in knife user commands.tylercloke2015-06-051-4/+4
| | | | All knife user commands can detect when they have failed for OSC 11 reasons and forward the request to backwards compatible knife osc_user commands.
* Added versioned Chef Object API support code and repaired Chef::User.create.tylercloke2015-06-051-6/+9
| | | | Also added Chef::User.create V1 API support. Chef::User.create will attempt to use V1 of the server API, and if it fails, it will fall back to V0.
* Make sure the audit mode output is reflected both in the logs and in the ↵Serdar Sutay2015-05-291-2/+4
| | | | formatter output.
* Save and report audit phase failure on run_completed or run_failed.Claire McQuin2015-05-271-2/+4
|
* Display policy name and ID during the chef rundanielsdeleo2015-05-221-0/+4
|
* Remove old TODO commentdanielsdeleo2015-05-221-3/+3
|
* Show cookbook trace when available regardless of exception typedanielsdeleo2015-05-201-9/+21
|
* Refactor inline regexes into method callsjdm/3055Jay Mundrawala2015-05-131-1/+11
|
* Escape string inside regexJay Mundrawala2015-05-081-1/+1
|
* Nice error handling for unsupported API version in formatters/*.rb.tylercloke2015-05-046-0/+29
|
* Make terminology consistent about audits versus controlsJulian C. Dunn2015-03-111-2/+2
|
* Unit tests for audit-mode in chef-solo.Claire McQuin2014-12-171-2/+1
| | | | | * Audits are disabled by default. * Also, updated spec file to use RSpec :let.
* if in why_run, do not enter the audit phase - because people run why_run to ↵tyler-ball2014-12-171-2/+8
| | | | see converge statistics
* Adding cookbook and recipe information per analytics requesttyler-ball2014-12-171-8/+19
|
* Test including supported serverspec helpers. Updates per PR comments.Serdar Sutay2014-12-171-4/+2
|
* Wiring audit event proxy to send events correctly to the audit_reportertyler-ball2014-12-171-29/+1
|
* Preparing for demo - using rspec documentation formatter for output instead ↵tyler-ball2014-12-171-2/+4
| | | | of the proxy
* Adding first round of formatter integration - STDOUT doc formattertyler-ball2014-12-171-7/+47
|
* Adding logic for exceptions from converge phase not interfering with audit ↵tyler-ball2014-12-171-0/+18
| | | | phase and vice-versa
* Spelling errorjbsmith862014-08-141-1/+1
|
* add note on why commented line is commentedLamont Granquist2014-07-311-0/+2
|