Skip to content

Log deprecation message for recipes using easy_install.#585

Merged
remeh merged 2 commits into
masterfrom
remeh/deprecate-easy-install
Mar 7, 2019
Merged

Log deprecation message for recipes using easy_install.#585
remeh merged 2 commits into
masterfrom
remeh/deprecate-easy-install

Conversation

@remeh

@remeh remeh commented Mar 5, 2019

Copy link
Copy Markdown
Contributor

No description provided.

@remeh remeh added this to the 2.18.0 milestone Mar 5, 2019
Comment thread recipes/ddtrace-python.rb Outdated
# please refer to the README of the cookbook.

log 'message' do
message 'This recipe will be deprecated in version 3.0.0 of the cookbook. See README.md chapter ddtrace-python for more infos.'

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

chapter -> section

infos -> info

Also, can you remind the name of the cookbook in the message? (datadog cookbook). Generally useful.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

thanks 👍
I've also repeated the recipe name.

Comment thread recipes/ddtrace-python.rb Outdated
# NB: This recipe is compatible with Chef <= 12 only. If you're using Chef 13 or higher
# please refer to the README of the cookbook.

log 'message' do

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

any reason to use the resource instead of Chef::Log? (genuine question, didn't know about the resource)

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Not any, I've changed to use Chef::Log as I see there is already many usage of it in the repo, I prefer to stick with known things.

@remeh
remeh merged commit 004a4d1 into master Mar 7, 2019
@remeh
remeh deleted the remeh/deprecate-easy-install branch March 7, 2019 13:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants