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

[CHEF-8498] Ruby implementation of c_rehash script #3234

Merged
merged 8 commits into from
May 14, 2024

Conversation

ashiqueps
Copy link
Contributor

@ashiqueps ashiqueps commented May 7, 2024

Description

The current c_rehash script that is present on the /opt/chef-workstation/embedded/bin is supplied by OpenSSL and is written in Perl. Since the chef-workstation is no longer embedding Perl, the users find it difficult to execute it.

This PR will add the ruby implementation of the c_rehash to the binary directory so that the users can execute it directly. This script is copied from the ruby repository

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.

Signed-off-by: Ashique Saidalavi <Ashique.saidalavi@progress.com>
Signed-off-by: Ashique Saidalavi <Ashique.saidalavi@progress.com>
Signed-off-by: Ashique Saidalavi <Ashique.saidalavi@progress.com>
Signed-off-by: Ashique Saidalavi <Ashique.saidalavi@progress.com>
Signed-off-by: Ashique Saidalavi <Ashique.saidalavi@progress.com>
Signed-off-by: Ashique Saidalavi <Ashique.saidalavi@progress.com>
Signed-off-by: Ashique Saidalavi <Ashique.saidalavi@progress.com>
@ashiqueps ashiqueps requested review from a team as code owners May 7, 2024 11:08
Copy link

netlify bot commented May 7, 2024

👷 Deploy Preview for chef-workstation processing.

Name Link
🔨 Latest commit 47991ce
🔍 Latest deploy log https://app.netlify.com/sites/chef-workstation/deploys/663a0ba9cf47890009747144

Copy link

netlify bot commented May 7, 2024

👷 Deploy Preview for chef-workstation processing.

Name Link
🔨 Latest commit 7921b77
🔍 Latest deploy log https://app.netlify.com/sites/chef-workstation/deploys/663a0bb219a49800080906a5

Copy link

sonarcloud bot commented May 7, 2024

Quality Gate Passed Quality Gate passed

Issues
2 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud

SonarQube Quality Gate

Quality Gate failed

Failed condition 0.0% 0.0% Coverage on New Code (is less than 80%)

See analysis details on SonarQube

@ashiqueps ashiqueps changed the title Ruby implementation of c_rehash script [CHEF-8498] Ruby implementation of c_rehash script May 7, 2024
@ashiqueps ashiqueps merged commit da44d26 into main May 14, 2024
9 of 11 checks passed
@ashiqueps ashiqueps deleted the ashiqueps/c_rehash_refactor branch May 14, 2024 11:21
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.

3 participants