Stop executing locale-gen on every chef run by adding -h flag#12833
Merged
johnmccrae merged 1 commit intochef:mainfrom Jun 14, 2022
Merged
Stop executing locale-gen on every chef run by adding -h flag#12833johnmccrae merged 1 commit intochef:mainfrom
johnmccrae merged 1 commit intochef:mainfrom
Conversation
Contributor
Author
|
PR updated, build failed but seems unrelated to the changes. Would be nice to backport this to chef-17 branch too. Let me know if you want me to file a PR against the chef-17 branch. |
PrajaktaPurohit
approved these changes
May 17, 2022
Contributor
|
@hrak - it would be great if this can be backported to chef-17 and chef-16. Thanks! |
10 tasks
Contributor
Author
Contributor
|
This looks good. Thank you for creating the backport branches! Could you please rebase the PR with the latest main? That should make the failing tests pass. We can merge it in after. |
Collaborator
|
@hrak Could you rebase with latest main so that it'll fix the failures? |
Contributor
Author
|
Sorry, I am currently on holiday, will do in a week!
Op di 31 mei 2022 10:44 schreef neha-p6 ***@***.***>:
… @hrak <https://github.com/hrak> Could you rebase with latest main so that
it'll fix the failures?
—
Reply to this email directly, view it on GitHub
<#12833 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAO7KE3HXJ7PC4CYRJ4ZHL3VMW7NZANCNFSM5UVKAD7Q>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Signed-off-by: Hans Rakers <hans@shoq.com>
|
Kudos, SonarCloud Quality Gate passed!
|
Contributor
Author
|
All three PRs updated! |
Contributor
Author
|
@neha-p6 the Windows builds keep failing unfortunately |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.








Signed-off-by: Hans Rakers hans@shoq.com
Description
The
localeresource unnecessarily executeslocale-genon every chef run, which can be very costly on some systems.This is caused by
define_resource_requirementschecking whetherlocale-genis available by doing the following:This is causing locale-gen to be executed, regenerating all installed locales on every Chef run.
Related Issue
#12832
Types of changes
Checklist: