Skip to content

Removing Knife from Chef#15847

Merged
johnmccrae merged 7 commits into
mainfrom
jfm/chef19-removing-knife
Apr 13, 2026
Merged

Removing Knife from Chef#15847
johnmccrae merged 7 commits into
mainfrom
jfm/chef19-removing-knife

Conversation

@johnmccrae
Copy link
Copy Markdown
Contributor

Description

Knife was moved to it's own repo. It currently holds a Chef-19 era version. We needed to remove local references to knife and all the local knife files/folders to match that. Knife will load as a gem from the repo and not Rubygems for now.

Related Issue

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Chore (non-breaking change that does not add functionality or fix an issue)

Checklist:

  • I have read the CONTRIBUTING document.
  • I have run the pre-merge tests locally and they pass.
  • I have updated the documentation accordingly.
  • I have added tests to cover my changes.
  • If Gemfile.lock has changed, I have used --conservative to do it and included the full output in the Description above.
  • All new and existing tests passed.
  • All commits have been signed-off for the Developer Certificate of Origin.

@johnmccrae johnmccrae requested review from a team and jaymzh as code owners April 6, 2026 16:15
@github-actions github-actions Bot added the documentation How do we use this project? label Apr 6, 2026
Copy link
Copy Markdown
Collaborator

@jaymzh jaymzh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This will actually fix one of our last remaining dependabot errors.

And I'm generally +1 on this.

But not until we fix up the other repo to at least know it's authoritatve and give the proper prms.

Also https://buildkite.com/chef/chef-knife-main-habitat-test/builds/452 should probably be open.

Comment thread kitchen-tests/Gemfile
@jaymzh
Copy link
Copy Markdown
Collaborator

jaymzh commented Apr 6, 2026

that repo also needs its own gemfile.lock.

I'm prep'ing a PR with the CI stuff in the meantime.

@jaymzh
Copy link
Copy Markdown
Collaborator

jaymzh commented Apr 6, 2026

chef/knife#74 is a first-pass

@jaymzh
Copy link
Copy Markdown
Collaborator

jaymzh commented Apr 6, 2026

Also, another code sync is probably necessary, at the very least the copyright notice fixes are not present over there.

@jaymzh
Copy link
Copy Markdown
Collaborator

jaymzh commented Apr 7, 2026

Also this PR should add knife to the list of repos to review in the docs/ directory

jaymzh added a commit to jaymzh/knife that referenced this pull request Apr 7, 2026
According to chef/chef#15847 this is going to become the authoritative
repo for knife. Other things need to happen for that, but this is a
first-pass at cleaning things up.

* add lint
* add unit
* add DCO
* fix line endings
* fix spellcheck
* Update various configs for new paths and non existent paths
* Add CODEOWNERS
* Add dependabot config
* add .editorconfig
* add Gemfile.lock

Signed-off-by: Phil Dibowitz <phil@ipom.com>
jaymzh added a commit to jaymzh/knife that referenced this pull request Apr 7, 2026
According to chef/chef#15847 this is going to become the authoritative
repo for knife. Other things need to happen for that, but this is a
first-pass at cleaning things up.

* add lint
* add unit
* add DCO
* fix line endings
* fix spellcheck
* Update various configs for new paths and non existent paths
* Add CODEOWNERS
* Add dependabot config
* add .editorconfig
* add Gemfile.lock

Signed-off-by: Phil Dibowitz <phil@ipom.com>
jaymzh added a commit to jaymzh/knife that referenced this pull request Apr 7, 2026
According to chef/chef#15847 this is going to become the authoritative
repo for knife. Other things need to happen for that, but this is a
first-pass at cleaning things up.

* add lint
* add unit
* add DCO
* fix line endings
* fix spellcheck
* Update various configs for new paths and non existent paths
* Add CODEOWNERS
* Add dependabot config
* add .editorconfig
* add Gemfile.lock

Signed-off-by: Phil Dibowitz <phil@ipom.com>
Copy link
Copy Markdown
Contributor

@tpowell-progress tpowell-progress left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

jaymzh added a commit to jaymzh/knife that referenced this pull request Apr 7, 2026
According to chef/chef#15847 this is going to become the authoritative
repo for knife. Other things need to happen for that, but this is a
first-pass at cleaning things up.

* add lint
* add unit
* add DCO
* fix line endings
* fix spellcheck
* Update various configs for new paths and non existent paths
* Add CODEOWNERS
* Add dependabot config
* add .editorconfig
* add Gemfile.lock

Signed-off-by: Phil Dibowitz <phil@ipom.com>
@tpowell-progress tpowell-progress self-requested a review April 7, 2026 20:50
Copy link
Copy Markdown
Contributor

@tpowell-progress tpowell-progress left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hold until @jaymzh's request

jaymzh added a commit to jaymzh/knife that referenced this pull request Apr 7, 2026
According to chef/chef#15847 this is going to become the authoritative
repo for knife. Other things need to happen for that, but this is a
first-pass at cleaning things up.

* add lint
* add unit
* add DCO
* fix line endings
* fix spellcheck
* Update various configs for new paths and non existent paths
* Add CODEOWNERS
* Add dependabot config
* add .editorconfig
* add Gemfile.lock

Signed-off-by: Phil Dibowitz <phil@ipom.com>
jaymzh added a commit to jaymzh/knife that referenced this pull request Apr 7, 2026
According to chef/chef#15847 this is going to become the authoritative
repo for knife. Other things need to happen for that, but this is a
first-pass at cleaning things up.

* add lint
* add unit
* add DCO
* fix line endings
* fix spellcheck
* Update various configs for new paths and non existent paths
* Add CODEOWNERS
* Add dependabot config
* add .editorconfig
* add Gemfile.lock

Signed-off-by: Phil Dibowitz <phil@ipom.com>
jaymzh added a commit to jaymzh/knife that referenced this pull request Apr 7, 2026
According to chef/chef#15847 this is going to become the authoritative
repo for knife. Other things need to happen for that, but this is a
first-pass at cleaning things up.

* add lint
* add unit
* add DCO
* fix line endings
* fix spellcheck
* Update various configs for new paths and non existent paths
* Add CODEOWNERS
* Add dependabot config
* add .editorconfig
* add Gemfile.lock

Signed-off-by: Phil Dibowitz <phil@ipom.com>
jaymzh added a commit to jaymzh/knife that referenced this pull request Apr 7, 2026
According to chef/chef#15847 this is going to become the authoritative
repo for knife. Other things need to happen for that, but this is a
first-pass at cleaning things up.

* add lint
* add unit
* add DCO
* fix line endings
* fix spellcheck
* Update various configs for new paths and non existent paths
* Add CODEOWNERS
* Add dependabot config
* add .editorconfig
* add Gemfile.lock

Signed-off-by: Phil Dibowitz <phil@ipom.com>
@jaymzh
Copy link
Copy Markdown
Collaborator

jaymzh commented Apr 7, 2026

@johnmccrae - rather than have the Knife TODOs all over the place I created a single Issue with a checklist: chef/knife#77 and assigned it to you.

jaymzh added a commit to jaymzh/knife that referenced this pull request Apr 8, 2026
According to chef/chef#15847 this is going to become the authoritative
repo for knife. Other things need to happen for that, but this is a
first-pass at cleaning things up.

* add lint
* add unit
* add DCO
* fix line endings
* fix spellcheck
* Update various configs for new paths and non existent paths
* Add CODEOWNERS
* Add dependabot config
* add .editorconfig
* add Gemfile.lock

Signed-off-by: Phil Dibowitz <phil@ipom.com>
jaymzh added a commit to chef/knife that referenced this pull request Apr 8, 2026
According to chef/chef#15847 this is going to become the authoritative
repo for knife. Other things need to happen for that, but this is a
first-pass at cleaning things up.

* add lint
* add unit
* add DCO
* fix line endings
* fix spellcheck
* Update various configs for new paths and non existent paths
* Add CODEOWNERS
* Add dependabot config
* add .editorconfig
* add Gemfile.lock

Signed-off-by: Phil Dibowitz <phil@ipom.com>
Signed-off-by: John McCrae <john.mccrae@progress.com>
Signed-off-by: John McCrae <john.mccrae@progress.com>
Signed-off-by: John McCrae <john.mccrae@progress.com>
Signed-off-by: John McCrae <john.mccrae@progress.com>
Signed-off-by: John McCrae <john.mccrae@progress.com>
Signed-off-by: John McCrae <john.mccrae@progress.com>
@johnmccrae johnmccrae force-pushed the jfm/chef19-removing-knife branch from a4cfd87 to a802d92 Compare April 13, 2026 15:06
Signed-off-by: John McCrae <john.mccrae@progress.com>
@sonarqubecloud
Copy link
Copy Markdown

@tpowell-progress tpowell-progress self-requested a review April 13, 2026 17:35
@johnmccrae johnmccrae merged commit c22a635 into main Apr 13, 2026
114 of 118 checks passed
@johnmccrae johnmccrae deleted the jfm/chef19-removing-knife branch April 13, 2026 19:45
jaymzh added a commit to jaymzh/chef that referenced this pull request Apr 14, 2026
This reverts commit c22a635.

Signed-off-by: Phil Dibowitz <phil@ipom.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation How do we use this project?

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants