<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/ruby-gems/chef.git/lib/chef/application.rb, branch ruby255</title>
<subtitle>github.com: opscode/chef.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/ruby-gems/chef.git/'/>
<entry>
<title>fixed review comments</title>
<updated>2018-10-23T12:19:15+00:00</updated>
<author>
<name>dheerajd-msys</name>
<email>dheeraj.dubey@msystechnologies.com</email>
</author>
<published>2018-10-23T06:54:02+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/ruby-gems/chef.git/commit/?id=e8fa4f16e8a7a24b5d66e0beb5bb90dd74496190'/>
<id>e8fa4f16e8a7a24b5d66e0beb5bb90dd74496190</id>
<content type='text'>
Signed-off-by: dheerajd-msys &lt;dheeraj.dubey@msystechnologies.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: dheerajd-msys &lt;dheeraj.dubey@msystechnologies.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>fix duplicate logs</title>
<updated>2018-10-23T06:54:27+00:00</updated>
<author>
<name>dheerajd-msys</name>
<email>dheeraj.dubey@msystechnologies.com</email>
</author>
<published>2018-09-27T12:10:53+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/ruby-gems/chef.git/commit/?id=68cada49a89f33b8d82e5ec080aa3fbd8b265831'/>
<id>68cada49a89f33b8d82e5ec080aa3fbd8b265831</id>
<content type='text'>
Signed-off-by: dheerajd-msys &lt;dheeraj.dubey@msystechnologies.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: dheerajd-msys &lt;dheeraj.dubey@msystechnologies.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>fix logger logic with is_default? from new mixlib-config</title>
<updated>2018-07-06T00:16:51+00:00</updated>
<author>
<name>Lamont Granquist</name>
<email>lamont@scriptkiddie.org</email>
</author>
<published>2018-07-06T00:16:51+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/ruby-gems/chef.git/commit/?id=d176c42c151fe37401bbe42a470ff90f6f4b20c2'/>
<id>d176c42c151fe37401bbe42a470ff90f6f4b20c2</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>Adding log_location_default? method</title>
<updated>2018-07-06T00:15:22+00:00</updated>
<author>
<name>Nolan Davidson</name>
<email>ndavidson@chef.io</email>
</author>
<published>2018-07-03T15:40:59+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/ruby-gems/chef.git/commit/?id=1e241b3f4327dfad0c26d141fe64eacd1d89494b'/>
<id>1e241b3f4327dfad0c26d141fe64eacd1d89494b</id>
<content type='text'>
Checking the configurable for `:log_location` and comparing to the
current setting. Calling `.inspect` on both to get a string
representation of IO:STDOUT, as they have different object IDs and fail
a direct comparison.

Signed-off-by: Nolan Davidson &lt;ndavidson@chef.io&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Checking the configurable for `:log_location` and comparing to the
current setting. Calling `.inspect` on both to get a string
representation of IO:STDOUT, as they have different object IDs and fail
a direct comparison.

Signed-off-by: Nolan Davidson &lt;ndavidson@chef.io&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix dupe stdout_logger</title>
<updated>2018-07-06T00:15:22+00:00</updated>
<author>
<name>Nolan Davidson</name>
<email>ndavidson@chef.io</email>
</author>
<published>2018-06-28T15:45:06+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/ruby-gems/chef.git/commit/?id=a8f0583ce244896113f030564d204e4969b2c989'/>
<id>a8f0583ce244896113f030564d204e4969b2c989</id>
<content type='text'>
I _think_ this resolves issue #7184

Basically reverting back to the previous logic of
`want_additional_logger?`. It was mentioned in the issue comments that
the comparison against `STDOUT` wasn't working, but it seems to work for
me currently on Centos7.

Signed-off-by: Nolan Davidson &lt;ndavidson@chef.io&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
I _think_ this resolves issue #7184

Basically reverting back to the previous logic of
`want_additional_logger?`. It was mentioned in the issue comments that
the comparison against `STDOUT` wasn't working, but it seems to work for
me currently on Centos7.

Signed-off-by: Nolan Davidson &lt;ndavidson@chef.io&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Address possible gem installs between interval runs that are then used in the config.</title>
<updated>2018-04-02T18:39:59+00:00</updated>
<author>
<name>Noah Kantrowitz</name>
<email>noah@coderanger.net</email>
</author>
<published>2018-04-02T18:39:59+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/ruby-gems/chef.git/commit/?id=e24e7fdb197815a5fb77f35c8ac058a870d67b36'/>
<id>e24e7fdb197815a5fb77f35c8ac058a870d67b36</id>
<content type='text'>
Signed-off-by: Noah Kantrowitz &lt;noah@coderanger.net&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Noah Kantrowitz &lt;noah@coderanger.net&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>mechanical conversion of most debug log statements to trace</title>
<updated>2018-03-26T17:34:39+00:00</updated>
<author>
<name>Thom May</name>
<email>thom@chef.io</email>
</author>
<published>2018-03-23T13:05:13+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/ruby-gems/chef.git/commit/?id=97c1dd6f1cac6d97e85d05039cad8b28596141ba'/>
<id>97c1dd6f1cac6d97e85d05039cad8b28596141ba</id>
<content type='text'>
Signed-off-by: Thom May &lt;thom@chef.io&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Thom May &lt;thom@chef.io&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Add the ability to inject log objects</title>
<updated>2018-03-19T21:36:23+00:00</updated>
<author>
<name>Thom May</name>
<email>thom@chef.io</email>
</author>
<published>2018-02-14T12:22:41+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/ruby-gems/chef.git/commit/?id=94222a8a0a1cda16d35c8f08c731a3f902449391'/>
<id>94222a8a0a1cda16d35c8f08c731a3f902449391</id>
<content type='text'>
meaning that we can have inheritable metadata

Signed-off-by: Thom May &lt;thom@chef.io&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
meaning that we can have inheritable metadata

Signed-off-by: Thom May &lt;thom@chef.io&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Stop mixlib-cli default clobbering mixlib-config settings</title>
<updated>2018-02-27T04:32:51+00:00</updated>
<author>
<name>Lamont Granquist</name>
<email>lamont@scriptkiddie.org</email>
</author>
<published>2018-02-27T04:32:51+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/ruby-gems/chef.git/commit/?id=7a09548c07dc473c220cd9b4def190d53b7e8c0f'/>
<id>7a09548c07dc473c220cd9b4def190d53b7e8c0f</id>
<content type='text'>
The pre-14 precedence level is:

1. mixlib-cli setting
2. mixlib-cli default
3. mixlib-config setting
4. mixlib-config default

This means that if an option has a mixlib-cli default that it cannot
ever be set in the config file.

This PR swaps 2+3 around:

1. mixlib-cli setting
2. mixlib-config setting
3. mixlib-cli default
4. mixlib-config default

Now the mixlib-cli defaults still take precedence over mixlib-config
defaults, but it is possible to set a value in config.rb if there's
a mixlib-cli default setting (which creeps into the settings in hidden
ways if you just use `boolean: true` in mixlib-cli).

Signed-off-by: Lamont Granquist &lt;lamont@scriptkiddie.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The pre-14 precedence level is:

1. mixlib-cli setting
2. mixlib-cli default
3. mixlib-config setting
4. mixlib-config default

This means that if an option has a mixlib-cli default that it cannot
ever be set in the config file.

This PR swaps 2+3 around:

1. mixlib-cli setting
2. mixlib-config setting
3. mixlib-cli default
4. mixlib-config default

Now the mixlib-cli defaults still take precedence over mixlib-config
defaults, but it is possible to set a value in config.rb if there's
a mixlib-cli default setting (which creeps into the settings in hidden
ways if you just use `boolean: true` in mixlib-cli).

Signed-off-by: Lamont Granquist &lt;lamont@scriptkiddie.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>fix double-logging bug</title>
<updated>2018-01-18T22:05:13+00:00</updated>
<author>
<name>Lamont Granquist</name>
<email>lamont@scriptkiddie.org</email>
</author>
<published>2018-01-18T22:05:13+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/ruby-gems/chef.git/commit/?id=1417310f306571c90977cbe1c4e145d18f0f13d8'/>
<id>1417310f306571c90977cbe1c4e145d18f0f13d8</id>
<content type='text'>
somehow we're getting an IO object here which is a STDOUT wired up to
file descriptor 10 which is not the same as "STDOUT" which is wired up
to file descriptor 1.

i can't track down where or how this is happening.

this works around the problem by just inspecting if the log_location is
set to an IO object which is a tty or not which should be broadly
equivalent (and perhaps more correct than the old code?  not sure if
the edge cases matter or not).

also i'm not smart enough right now to figure out how to test this
adequately, particularly in ways that would actually catch if it
really breaks in the future (particularly due to the gnarliness of
wanting to have a functional test which constructs a tty when run on
travis without a tty....)

Signed-off-by: Lamont Granquist &lt;lamont@scriptkiddie.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
somehow we're getting an IO object here which is a STDOUT wired up to
file descriptor 10 which is not the same as "STDOUT" which is wired up
to file descriptor 1.

i can't track down where or how this is happening.

this works around the problem by just inspecting if the log_location is
set to an IO object which is a tty or not which should be broadly
equivalent (and perhaps more correct than the old code?  not sure if
the edge cases matter or not).

also i'm not smart enough right now to figure out how to test this
adequately, particularly in ways that would actually catch if it
really breaks in the future (particularly due to the gnarliness of
wanting to have a functional test which constructs a tty when run on
travis without a tty....)

Signed-off-by: Lamont Granquist &lt;lamont@scriptkiddie.org&gt;
</pre>
</div>
</content>
</entry>
</feed>
