Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Silence deprecation warnings #7375

Merged
merged 14 commits into from
Jun 18, 2018
Merged

Conversation

coderanger
Copy link
Contributor

Also includes a minor overhaul of the deprecation system because it was kind of all over the place.

… deprecation warnings.

Signed-off-by: Noah Kantrowitz <[email protected]>
…ven if they don't have a docs page.

Signed-off-by: Noah Kantrowitz <[email protected]>
Signed-off-by: Noah Kantrowitz <[email protected]>
Signed-off-by: Noah Kantrowitz <[email protected]>
…CHEF-n form we show in various places.

This is because users might not actually know the deprecation key, so this is probably more approachable.

Signed-off-by: Noah Kantrowitz <[email protected]>
Signed-off-by: Noah Kantrowitz <[email protected]>
Signed-off-by: Noah Kantrowitz <[email protected]>
Signed-off-by: Noah Kantrowitz <[email protected]>
Deprecation CHEF-18 from /Users/coderanger/src/chef/spec/support/shared/integration/knife_support.rb:104:in `block in knife'

  Starting local-mode server in deprecated socket mode

Please see https://docs.chef.io/deprecations_local_listen.html for further details and information on how to correct this problem.

Signed-off-by: Noah Kantrowitz <[email protected]>
Signed-off-by: Noah Kantrowitz <[email protected]>
Copy link
Contributor

@thommay thommay left a comment

Choose a reason for hiding this comment

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

Overall I love this. Let's get the page links back and then :shipit:

def target
"internal_api.html"
end
target 0
Copy link
Contributor

Choose a reason for hiding this comment

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

I think we need to preserve the page links for all of these, don't we?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

They are filled in by the default for all except the one non-standard case.

@thommay thommay merged commit d5907bf into chef:master Jun 18, 2018
@lock
Copy link

lock bot commented Aug 17, 2018

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot locked as resolved and limited conversation to collaborators Aug 17, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants