<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/ruby-gems/chef.git/spec/support/shared, branch main</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>Revert "Revert "Use new msys2 based devkit for windows" (#13063)" (#13097)</title>
<updated>2022-07-22T14:22:22+00:00</updated>
<author>
<name>neha-p6</name>
<email>neha.pansare@progress.com</email>
</author>
<published>2022-07-22T14:22:22+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/ruby-gems/chef.git/commit/?id=7102e04a23adcf2399e2b3e4ee65dbe3508dcb04'/>
<id>7102e04a23adcf2399e2b3e4ee65dbe3508dcb04</id>
<content type='text'>
This reverts commit 4797e01535af8e33ace9ef3a7404dd8256913bce.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This reverts commit 4797e01535af8e33ace9ef3a7404dd8256913bce.</pre>
</div>
</content>
</entry>
<entry>
<title>Revert "Use new msys2 based devkit for windows" (#13063)</title>
<updated>2022-07-11T10:54:26+00:00</updated>
<author>
<name>neha-p6</name>
<email>neha.pansare@progress.com</email>
</author>
<published>2022-07-11T10:54:26+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/ruby-gems/chef.git/commit/?id=4797e01535af8e33ace9ef3a7404dd8256913bce'/>
<id>4797e01535af8e33ace9ef3a7404dd8256913bce</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>use new msys2 devkit for windows</title>
<updated>2022-06-29T23:00:38+00:00</updated>
<author>
<name>Matt Wrock</name>
<email>matt@mattwrock.com</email>
</author>
<published>2022-06-29T23:00:38+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/ruby-gems/chef.git/commit/?id=094a85a95b7101ce0446112a220ca701c5e5ccb6'/>
<id>094a85a95b7101ce0446112a220ca701c5e5ccb6</id>
<content type='text'>
Signed-off-by: Matt Wrock &lt;matt@mattwrock.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Matt Wrock &lt;matt@mattwrock.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge pull request #12386 from chef/simplified_read</title>
<updated>2022-01-04T21:06:39+00:00</updated>
<author>
<name>Lamont Granquist</name>
<email>454857+lamont-granquist@users.noreply.github.com</email>
</author>
<published>2022-01-04T21:06:39+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/ruby-gems/chef.git/commit/?id=b4ffba1f36044d37d6e1b9e2a10b143f7c9eec8e'/>
<id>b4ffba1f36044d37d6e1b9e2a10b143f7c9eec8e</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Resolve Performance/StringIdentifierArgument warnings</title>
<updated>2021-12-27T04:32:49+00:00</updated>
<author>
<name>Tim Smith</name>
<email>tsmith84@gmail.com</email>
</author>
<published>2021-12-27T04:32:49+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/ruby-gems/chef.git/commit/?id=0cefcaa319b0d2f07241b78bf7d6f06de03d07ef'/>
<id>0cefcaa319b0d2f07241b78bf7d6f06de03d07ef</id>
<content type='text'>
Inernally it's all a symbol so skip the conversion

Signed-off-by: Tim Smith &lt;tsmith@chef.io&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Inernally it's all a symbol so skip the conversion

Signed-off-by: Tim Smith &lt;tsmith@chef.io&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Simplify file reads</title>
<updated>2021-12-17T16:57:33+00:00</updated>
<author>
<name>Tim Smith</name>
<email>tsmith84@gmail.com</email>
</author>
<published>2021-12-17T16:57:33+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/ruby-gems/chef.git/commit/?id=06c650886daa2a6eaf4c029cbf686ff401d44c48'/>
<id>06c650886daa2a6eaf4c029cbf686ff401d44c48</id>
<content type='text'>
This is a new RuboCop cop that moves things to file.read an file.binread vs. an open and then a read.

Signed-off-by: Tim Smith &lt;tsmith@chef.io&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This is a new RuboCop cop that moves things to file.read an file.binread vs. an open and then a read.

Signed-off-by: Tim Smith &lt;tsmith@chef.io&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>eliminate some File.exists? from the file provider</title>
<updated>2021-06-22T00:07:23+00:00</updated>
<author>
<name>Lamont Granquist</name>
<email>lamont@scriptkiddie.org</email>
</author>
<published>2021-06-17T21:20:23+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/ruby-gems/chef.git/commit/?id=3e30faf4b7e171bca29f3a079ed53ca0e4e058c0'/>
<id>3e30faf4b7e171bca29f3a079ed53ca0e4e058c0</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>Resolve chefstyle warnings</title>
<updated>2021-05-07T22:31:51+00:00</updated>
<author>
<name>Tim Smith</name>
<email>tsmith@chef.io</email>
</author>
<published>2021-05-07T22:31:51+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/ruby-gems/chef.git/commit/?id=cb0b972a45ebd3727627ed991dba6b51d85c1ef9'/>
<id>cb0b972a45ebd3727627ed991dba6b51d85c1ef9</id>
<content type='text'>
Signed-off-by: Tim Smith &lt;tsmith@chef.io&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Tim Smith &lt;tsmith@chef.io&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Move knife to its own gem</title>
<updated>2021-03-31T17:52:49+00:00</updated>
<author>
<name>Chef Expeditor</name>
<email>chef-ci@chef.io</email>
</author>
<published>2021-03-11T17:45:48+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/ruby-gems/chef.git/commit/?id=01c6a9e1753bd4b2166efe747151ba8700ebc0f5'/>
<id>01c6a9e1753bd4b2166efe747151ba8700ebc0f5</id>
<content type='text'>
This moves knife into /knife, in the same way that chef-utils and
chef-config are separated.

NOTES:

== File History ==

If you see this message as the first message in the history of
an knife file, you can see the complete history by using
'git log --follow',  'git config log.follow true'  to make it the default
behavior in this repository, or 'git config --globa log.follow true' to
make it the global default.

== API Changes ==

At the API level, there is one breaking change:
CookbookSiteStreamingUploader has been moved out of chef and into
knife/core.

There were a combination of reasons we chose this path:
- CookbookSiteStreamingUploader (CSSU) is only used within Knife.
- CookbookSiteStreamingUploader (CSSU) references the
  command Chef::Knife::CookbookMetadata in order to generate
  a metadata file for the cookbook to upload
- Chef::Knife::CookbookMetadata is no longer available to Chef:: because
  Knife has been moved to its own gem.  Knife gem depends on the Chef gem,
  so Chef can't depend on something in Knife.

A search for usage in related projects (berks, chef-cli) and the
Internet at large shows that there are no known external consumers of CSSU.

For now, we'll move this class into Knife::Core, as it's going to be
faster than splitting off the metadata generation and time is a concern. If we
find that we need the metadata generation in chef/ proper, we should evaluate
decoupling that functionality from Knife::CookbookMetadata and exposing
it via something like `Chef::Cookbook::Metadata#from_cookbook_files`

== spec changes ==

The specs are kept in their existing locations, though we have
separated out a `knife_spec_helper` so that we can ensure knife is not
directly accessing chef requires; and chef is relying on knife's at all.

We also now clear gem paths with each test, to force gem state to reset.
This works around a problem where a combination of tests
is corrupting the internal Gem state, causing failures in
rubygems_spec.  See branch `mp/broken-gems` for many more details around
findings so far.

Signed-off-by: Marc A. Paradise &lt;marc.paradise@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This moves knife into /knife, in the same way that chef-utils and
chef-config are separated.

NOTES:

== File History ==

If you see this message as the first message in the history of
an knife file, you can see the complete history by using
'git log --follow',  'git config log.follow true'  to make it the default
behavior in this repository, or 'git config --globa log.follow true' to
make it the global default.

== API Changes ==

At the API level, there is one breaking change:
CookbookSiteStreamingUploader has been moved out of chef and into
knife/core.

There were a combination of reasons we chose this path:
- CookbookSiteStreamingUploader (CSSU) is only used within Knife.
- CookbookSiteStreamingUploader (CSSU) references the
  command Chef::Knife::CookbookMetadata in order to generate
  a metadata file for the cookbook to upload
- Chef::Knife::CookbookMetadata is no longer available to Chef:: because
  Knife has been moved to its own gem.  Knife gem depends on the Chef gem,
  so Chef can't depend on something in Knife.

A search for usage in related projects (berks, chef-cli) and the
Internet at large shows that there are no known external consumers of CSSU.

For now, we'll move this class into Knife::Core, as it's going to be
faster than splitting off the metadata generation and time is a concern. If we
find that we need the metadata generation in chef/ proper, we should evaluate
decoupling that functionality from Knife::CookbookMetadata and exposing
it via something like `Chef::Cookbook::Metadata#from_cookbook_files`

== spec changes ==

The specs are kept in their existing locations, though we have
separated out a `knife_spec_helper` so that we can ensure knife is not
directly accessing chef requires; and chef is relying on knife's at all.

We also now clear gem paths with each test, to force gem state to reset.
This works around a problem where a combination of tests
is corrupting the internal Gem state, causing failures in
rubygems_spec.  See branch `mp/broken-gems` for many more details around
findings so far.

Signed-off-by: Marc A. Paradise &lt;marc.paradise@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Add login option to execute resource</title>
<updated>2021-03-18T01:58:07+00:00</updated>
<author>
<name>Lamont Granquist</name>
<email>lamont@scriptkiddie.org</email>
</author>
<published>2021-03-18T01:58:07+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/ruby-gems/chef.git/commit/?id=1d5cc559fc02122cc6f18cdd832e40680c23295c'/>
<id>1d5cc559fc02122cc6f18cdd832e40680c23295c</id>
<content type='text'>
This implements https://github.com/chef/mixlib-shellout/pull/78 in the
execute resource.  Default stays the same.

Using `login true` useful things happen like the environment being
set correctly including USER and HOME.

Signed-off-by: Lamont Granquist &lt;lamont@scriptkiddie.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This implements https://github.com/chef/mixlib-shellout/pull/78 in the
execute resource.  Default stays the same.

Using `login true` useful things happen like the environment being
set correctly including USER and HOME.

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