<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/ruby-gems/chef.git/lib/chef/knife/status.rb, branch https_shell</title>
<subtitle>github.com: opscode/chef.git
</subtitle>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/ruby-gems/chef.git/'/>
<entry>
<title>fix Style/BlockDelimiters, Style/MultilineBlockLayout and 0.42.0 engine upgrade</title>
<updated>2016-08-17T20:25:02+00:00</updated>
<author>
<name>Lamont Granquist</name>
<email>lamont@scriptkiddie.org</email>
</author>
<published>2016-08-17T19:15:26+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/ruby-gems/chef.git/commit/?id=a0c32511bc6634538374ca4b433032b8acd05f96'/>
<id>a0c32511bc6634538374ca4b433032b8acd05f96</id>
<content type='text'>
Signed-off-by: Lamont Granquist &lt;lamont@scriptkiddie.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Lamont Granquist &lt;lamont@scriptkiddie.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>chefstyle Style/AndOr fixes</title>
<updated>2016-03-14T17:34:33+00:00</updated>
<author>
<name>Lamont Granquist</name>
<email>lamont@scriptkiddie.org</email>
</author>
<published>2016-03-14T17:34:33+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/ruby-gems/chef.git/commit/?id=6705acbd7f301d1b04388043a3dfa0308655f120'/>
<id>6705acbd7f301d1b04388043a3dfa0308655f120</id>
<content type='text'>
this is part of our informal style guide, lets make it formal since
clearly its not getting followed very well.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
this is part of our informal style guide, lets make it formal since
clearly its not getting followed very well.
</pre>
</div>
</content>
</entry>
<entry>
<title>auto fixing some rubocops</title>
<updated>2016-02-09T15:53:56+00:00</updated>
<author>
<name>Lamont Granquist</name>
<email>lamont@scriptkiddie.org</email>
</author>
<published>2016-02-09T15:53:56+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/ruby-gems/chef.git/commit/?id=f073747786abbe6ada55ed24b696a03e39c3c45d'/>
<id>f073747786abbe6ada55ed24b696a03e39c3c45d</id>
<content type='text'>
Style/NegatedWhile
Style/ParenthesesAroundCondition
Style/WhileUntilDo
Style/WordArray
Performance/ReverseEach
Style/ColonMethodCall
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Style/NegatedWhile
Style/ParenthesesAroundCondition
Style/WhileUntilDo
Style/WordArray
Performance/ReverseEach
Style/ColonMethodCall
</pre>
</div>
</content>
</entry>
<entry>
<title>autofixing whitespace cops</title>
<updated>2016-02-05T23:00:00+00:00</updated>
<author>
<name>Lamont Granquist</name>
<email>lamont@scriptkiddie.org</email>
</author>
<published>2016-02-05T23:00:00+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/ruby-gems/chef.git/commit/?id=686113531d23f30e9973d659c456ae33eb9cff1f'/>
<id>686113531d23f30e9973d659c456ae33eb9cff1f</id>
<content type='text'>
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
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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
</pre>
</div>
</content>
</entry>
<entry>
<title>Copyright year update for 2016 and massive cleanup.</title>
<updated>2016-02-02T22:43:28+00:00</updated>
<author>
<name>Noah Kantrowitz</name>
<email>noah@coderanger.net</email>
</author>
<published>2016-02-02T22:43:28+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/ruby-gems/chef.git/commit/?id=0878ed6123706ed4201644ee798da993f8cb5ad4'/>
<id>0878ed6123706ed4201644ee798da993f8cb5ad4</id>
<content type='text'>
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"</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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"</pre>
</div>
</content>
</entry>
<entry>
<title>Use double quotes by default</title>
<updated>2016-01-14T14:08:03+00:00</updated>
<author>
<name>Thom May</name>
<email>thom@chef.io</email>
</author>
<published>2016-01-14T14:08:03+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/ruby-gems/chef.git/commit/?id=51cfbdc4d16739caac4d946fadbe678444aafe34'/>
<id>51cfbdc4d16739caac4d946fadbe678444aafe34</id>
<content type='text'>
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.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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.
</pre>
</div>
</content>
</entry>
<entry>
<title>chefstyle: fix Lint/StringConversionInInterpolation</title>
<updated>2016-01-12T16:22:09+00:00</updated>
<author>
<name>Lamont Granquist</name>
<email>lamont@scriptkiddie.org</email>
</author>
<published>2016-01-12T16:22:09+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/ruby-gems/chef.git/commit/?id=c844e1c87374b18ee634a06a5325518631607c90'/>
<id>c844e1c87374b18ee634a06a5325518631607c90</id>
<content type='text'>
useless use of `"#{foo.to_s}"`
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
useless use of `"#{foo.to_s}"`
</pre>
</div>
</content>
</entry>
<entry>
<title>Bring back -H/--hide-healthy for back-compat</title>
<updated>2015-10-25T00:57:57+00:00</updated>
<author>
<name>Jeff Blaine</name>
<email>jblaine@kickflop.net</email>
</author>
<published>2015-08-27T16:19:47+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/ruby-gems/chef.git/commit/?id=3dee5a59ce524e28bd95d85d9e33c2c41ced8716'/>
<id>3dee5a59ce524e28bd95d85d9e33c2c41ced8716</id>
<content type='text'>
Deprecates -H/--hide-healthy instead of removing it.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Deprecates -H/--hide-healthy instead of removing it.
</pre>
</div>
</content>
</entry>
<entry>
<title>Changes --hide-healthy to --hide-by-mins MINS</title>
<updated>2015-10-25T00:57:57+00:00</updated>
<author>
<name>Jeff Blaine</name>
<email>jblaine@kickflop.net</email>
</author>
<published>2015-08-14T01:02:38+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/ruby-gems/chef.git/commit/?id=8766e4b1012f51ab584f8eb2397ea43d6be92122'/>
<id>8766e4b1012f51ab584f8eb2397ea43d6be92122</id>
<content type='text'>
Fixes #3679

Reasoning:

The definition of "healthy" is overloaded in the old form
(--hide-healthy) to be "a host that has run chef". The code
makes no check to determine if the chef run was successful,
so it has the capability to provide false positives for
"health". Just because a node object was saved with ohai_time
set doesn't mean the Chef run was successful. There are
exception handlers like lastrun that intentionally save the node
object on exception.

The previous 1 hour hardcoded time was totally arbitrary. Perhaps
"healthy" to others means "nodes that have run chef in the last
4 hours" (or 30 minutes, or 3 days...).
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fixes #3679

Reasoning:

The definition of "healthy" is overloaded in the old form
(--hide-healthy) to be "a host that has run chef". The code
makes no check to determine if the chef run was successful,
so it has the capability to provide false positives for
"health". Just because a node object was saved with ohai_time
set doesn't mean the Chef run was successful. There are
exception handlers like lastrun that intentionally save the node
object on exception.

The previous 1 hour hardcoded time was totally arbitrary. Perhaps
"healthy" to others means "nodes that have run chef in the last
4 hours" (or 30 minutes, or 3 days...).
</pre>
</div>
</content>
</entry>
<entry>
<title>explicitly require node presenter</title>
<updated>2015-04-13T14:25:31+00:00</updated>
<author>
<name>Thom May</name>
<email>thom@may.lt</email>
</author>
<published>2015-04-13T14:25:31+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/ruby-gems/chef.git/commit/?id=e81c12310a925989752900468cd7310eb3de5648'/>
<id>e81c12310a925989752900468cd7310eb3de5648</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
