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

Add Cookbook Uploads #252

Closed
wants to merge 1 commit into from
Closed

Conversation

wheatevo
Copy link

@wheatevo wheatevo commented Jan 24, 2024

Here is my first pass at adding cookbook uploads to go-chef/chef.

Changes:

  • Add support for cookbook uploads (V0 and V2)
  • Add support for chefignore files
  • Improve metadata.rb parsing to conform with Chef API
  • Add ServerApiVersion customization to http
  • Minor linting changes for newer golang versions
  • Updated integration test golang to 1.21

Resolves #250

Both unit and integration tests have been added for the new features. Please take a look and let me know what you think.

* Add support for cookbook uploads (V0 and V2).
* Add support for chefignore files
* Improve metadata.rb parsing to conform with Chef API
* Add ServerApiVersion customization to http
* Minor linting changes for newer golang versions

Resolves go-chef#250
@wheatevo wheatevo closed this Jan 24, 2024
@MarkGibbons
Copy link
Member

Wow, that's a lot of work. I'll look this over just to see where you intend to go. Replacing ioutil is overdue so even though I'd probably make that a separate change it's ok to have here.

@wheatevo
Copy link
Author

wheatevo commented Jan 24, 2024

Went ahead and moved this over to #253 since I couldn't reopen this one after force pushing my branch, had discovered an issue in integration testing that occurred after adding the sandbox put retries and closed this while looking into it. Still have a few more changes to go for the integration tests but should have that out of draft soon.

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.

Support Cookbook Uploads
2 participants