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

Fix cookbook dependency version validation against chef's required format to berks upload #18

Merged
merged 1 commit into from
Jun 12, 2023

Conversation

nikhil2611
Copy link

@nikhil2611 nikhil2611 commented May 22, 2023

Description

Here, we add a cookbook version dependency validation that reuses the existing version validation logic of the Chef gem in ::Chef::Version.
This will fix the Invalid Cookbook dependency allowed to be uploaded using berks upload

Issues Resolved

Fixes: https://github.com/chef/customer-bugs/issues/686

Check List

  • New functionality includes tests
  • All tests pass
  • RELEASE_NOTES.md has been updated if required (not required for bugfixes, required for API changes)

Signed-off-by: nikhil2611 <nikhilgupta2102@gmail.com>
@sonarcloud
Copy link

sonarcloud bot commented May 22, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@sonarqube-for-infrastructure-prod

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

@nikhil2611 nikhil2611 merged commit f2a57d5 into main Jun 12, 2023
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