<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/ruby-gems/chef.git/spec/unit/knife/core, branch https</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>Get lib/ free of spelling violations.</title>
<updated>2020-05-19T03:29:40+00:00</updated>
<author>
<name>Pete Higgins</name>
<email>pete@peterhiggins.org</email>
</author>
<published>2020-05-07T23:50:25+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/ruby-gems/chef.git/commit/?id=a729c9be155e3d335fbd7bd165abd4ba9610943d'/>
<id>a729c9be155e3d335fbd7bd165abd4ba9610943d</id>
<content type='text'>
Signed-off-by: Pete Higgins &lt;pete@peterhiggins.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Pete Higgins &lt;pete@peterhiggins.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>fix windows bootstrap; replicate https://github.com/chef/chef/pull/9839 by Chad Jessup</title>
<updated>2020-05-16T15:48:51+00:00</updated>
<author>
<name>Marc Chamberland</name>
<email>chamberland.marc@gmail.com</email>
</author>
<published>2020-05-15T20:44:22+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/ruby-gems/chef.git/commit/?id=8c75291f3f70bfb25547369eb9cf9a50cf74433d'/>
<id>8c75291f3f70bfb25547369eb9cf9a50cf74433d</id>
<content type='text'>
This fixes bootstrapping on Windows. All credit goes to Chad Jessup &lt;chad.jessup@gmail.com&gt;
but since the original PR was left without DCO I'm replicating it here, with valid DCO.

Signed-off-by: Marc Chamberland &lt;chamberland.marc@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This fixes bootstrapping on Windows. All credit goes to Chad Jessup &lt;chad.jessup@gmail.com&gt;
but since the original PR was left without DCO I'm replicating it here, with valid DCO.

Signed-off-by: Marc Chamberland &lt;chamberland.marc@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Knife bootstrap options cleanup</title>
<updated>2020-04-17T17:20:31+00:00</updated>
<author>
<name>Lamont Granquist</name>
<email>lamont@scriptkiddie.org</email>
</author>
<published>2020-04-09T20:28:17+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/ruby-gems/chef.git/commit/?id=d7452360adb80e383b4886246990dbe46d3387c2'/>
<id>d7452360adb80e383b4886246990dbe46d3387c2</id>
<content type='text'>
We have issue that are caused by old code before merging of hash values
were done correctly.

The `config` hash correctly merges all options and should always be
used.

Knife plugins should never touch Chef::Config[:knife] values (either
reading or writing from them).

The `knife_config` should be converted to the `config` hash since it
directly accesses Chef::Config[:knife] values.

The `config_value()` helper should no longer be used.  Very clearly most
people started to use that when they should just use the config hash
directly.  That was intended to be used only when a knife cli option
was being renamed and the former configuration value needed to be
used as well.  It has been cargo culted around as the way to access
config values, and that should really stop.

The DataBagSecretOption mixin has been cleaned up so that the cli
options read+write only to the config[:cl_secret] and
config[:cl_secret_file] values.  The config file values go into
config[:secret] and config[:secret_file].  The fact that those are
the merged values in the `config` hash doesn't matter since only
the cli should be writing to the first two and only the config
file should be writing to the latter two.  I don't know why it was
made so complicated to begin with, but if there's some hidden
chef-11.early backcompat there, then chef-16 deliberately breaks that.

The use of `locate_config_value` helpers in all knife plugins is also
discouraged (but they all implement those themselves), just use the
config hash, which has the correct hash merge ordering.  All of those
need to be deleted.

Signed-off-by: Lamont Granquist &lt;lamont@scriptkiddie.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
We have issue that are caused by old code before merging of hash values
were done correctly.

The `config` hash correctly merges all options and should always be
used.

Knife plugins should never touch Chef::Config[:knife] values (either
reading or writing from them).

The `knife_config` should be converted to the `config` hash since it
directly accesses Chef::Config[:knife] values.

The `config_value()` helper should no longer be used.  Very clearly most
people started to use that when they should just use the config hash
directly.  That was intended to be used only when a knife cli option
was being renamed and the former configuration value needed to be
used as well.  It has been cargo culted around as the way to access
config values, and that should really stop.

The DataBagSecretOption mixin has been cleaned up so that the cli
options read+write only to the config[:cl_secret] and
config[:cl_secret_file] values.  The config file values go into
config[:secret] and config[:secret_file].  The fact that those are
the merged values in the `config` hash doesn't matter since only
the cli should be writing to the first two and only the config
file should be writing to the latter two.  I don't know why it was
made so complicated to begin with, but if there's some hidden
chef-11.early backcompat there, then chef-16 deliberately breaks that.

The use of `locate_config_value` helpers in all knife plugins is also
discouraged (but they all implement those themselves), just use the
config hash, which has the correct hash merge ordering.  All of those
need to be deleted.

Signed-off-by: Lamont Granquist &lt;lamont@scriptkiddie.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove copyright dates</title>
<updated>2020-04-13T22:47:17+00:00</updated>
<author>
<name>Lamont Granquist</name>
<email>lamont@scriptkiddie.org</email>
</author>
<published>2020-04-13T22:21:45+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/ruby-gems/chef.git/commit/?id=4d3b847aee1b917bb139862c623e9633d180fb31'/>
<id>4d3b847aee1b917bb139862c623e9633d180fb31</id>
<content type='text'>
Legally incredibly dubious, particularly since we don't follow it
strictly as policy, and we have git history instead, which does it right.
This is just a waste of time and a cargo cult.

Signed-off-by: Lamont Granquist &lt;lamont@scriptkiddie.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Legally incredibly dubious, particularly since we don't follow it
strictly as policy, and we have git history instead, which does it right.
This is just a waste of time and a cargo cult.

Signed-off-by: Lamont Granquist &lt;lamont@scriptkiddie.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>fix spec</title>
<updated>2020-04-08T22:07:18+00:00</updated>
<author>
<name>Lamont Granquist</name>
<email>lamont@scriptkiddie.org</email>
</author>
<published>2020-04-08T22:06:02+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/ruby-gems/chef.git/commit/?id=f069a87d9e29bc1e0b115f3d1359e0372ad74d1d'/>
<id>f069a87d9e29bc1e0b115f3d1359e0372ad74d1d</id>
<content type='text'>
the bootstrap context isn't responsible for merging so this was always
testing the wrong behavior

Signed-off-by: Lamont Granquist &lt;lamont@scriptkiddie.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
the bootstrap context isn't responsible for merging so this was always
testing the wrong behavior

Signed-off-by: Lamont Granquist &lt;lamont@scriptkiddie.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Replace highline.color with pastel.decorate</title>
<updated>2020-03-03T00:47:54+00:00</updated>
<author>
<name>Bryan McLellan</name>
<email>btm@loftninjas.org</email>
</author>
<published>2020-03-03T00:36:02+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/ruby-gems/chef.git/commit/?id=c0368ea911daff28e0759c91e08c53a2e986fa45'/>
<id>c0368ea911daff28e0759c91e08c53a2e986fa45</id>
<content type='text'>
Contributes to the removal of the 'heavy' highline dependency (#9359) by
switching from highline.color to pastel.decorate, which is a drop-in
replacement. Pastel is part of the tty[1] family of libraries.

[1] https://github.com/piotrmurach/tty#3-components

Signed-off-by: Bryan McLellan &lt;btm@loftninjas.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Contributes to the removal of the 'heavy' highline dependency (#9359) by
switching from highline.color to pastel.decorate, which is a drop-in
replacement. Pastel is part of the tty[1] family of libraries.

[1] https://github.com/piotrmurach/tty#3-components

Signed-off-by: Bryan McLellan &lt;btm@loftninjas.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge pull request #9156 from MsysTechnologiesllc/ash/Fix_no_runlist_issue</title>
<updated>2020-02-24T18:29:18+00:00</updated>
<author>
<name>Tim Smith</name>
<email>tsmith@chef.io</email>
</author>
<published>2020-02-24T18:29:18+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/ruby-gems/chef.git/commit/?id=9f886a892258d8788441a5943064a21152a881f9'/>
<id>9f886a892258d8788441a5943064a21152a881f9</id>
<content type='text'>
When bootstrapping don't send an empty run_list if we are using policyfiles instead</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When bootstrapping don't send an empty run_list if we are using policyfiles instead</pre>
</div>
</content>
</entry>
<entry>
<title>Merge pull request #9371 from cinc-project/dist_bootstrap</title>
<updated>2020-02-24T18:28:46+00:00</updated>
<author>
<name>Tim Smith</name>
<email>tsmith@chef.io</email>
</author>
<published>2020-02-24T18:28:46+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/ruby-gems/chef.git/commit/?id=945b2a4721c6f2e850b578aed1185a705ef843f2'/>
<id>945b2a4721c6f2e850b578aed1185a705ef843f2</id>
<content type='text'>
Add distro constants to the bootstrap templates to support non-Chef distros</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add distro constants to the bootstrap templates to support non-Chef distros</pre>
</div>
</content>
</entry>
<entry>
<title>Optimize by using Mash as per review comments</title>
<updated>2020-02-12T11:33:22+00:00</updated>
<author>
<name>NAshwini</name>
<email>ashwini.nehate@msystechnologies.com</email>
</author>
<published>2019-12-18T11:57:37+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/ruby-gems/chef.git/commit/?id=2a765665ec66b76b98ba80bd6bb6297094ffd7b2'/>
<id>2a765665ec66b76b98ba80bd6bb6297094ffd7b2</id>
<content type='text'>
Signed-off-by: NAshwini &lt;ashwini.nehate@msystechnologies.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: NAshwini &lt;ashwini.nehate@msystechnologies.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Reflecting file_cache_path and file_backup_path value in_client.rb</title>
<updated>2020-02-12T11:27:14+00:00</updated>
<author>
<name>Kapil chouhan</name>
<email>kapil.chouhan@msystechnologies.com</email>
</author>
<published>2020-02-12T11:27:14+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/ruby-gems/chef.git/commit/?id=1984ff59e182877b6358dc34ed4927fdd26db00b'/>
<id>1984ff59e182877b6358dc34ed4927fdd26db00b</id>
<content type='text'>
Signed-off-by: Kapil chouhan &lt;kapil.chouhan@msystechnologies.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Kapil chouhan &lt;kapil.chouhan@msystechnologies.com&gt;
</pre>
</div>
</content>
</entry>
</feed>
