marpaia / chef-golang

Go library to interact with the Chef server API
Other
77 stars 31 forks source link

Adds Test setup for ci, and a backend refactor. #12

Closed spheromak closed 10 years ago

spheromak commented 10 years ago

Added setup script in test/support/ci.sh that can be used on drone.io for running tests. This is setup on my repo and working with nothing more than go project and that script: https://drone.io/github.com/spheromak/chef-golang/30

Also there is a refactor here on the API backend that supports passing a pointer to a http.Request around the backend methods. This enables the body/form values to be properly setup per-method, and ultimately fixes POST. This also enables the next step of Chef object uploads to server.

@marpaia fixes #5 and #11 I would merge it myself, but i still feel weird about that. If you have the time can you add drone to your project and add the script so I can start using your repo/feature branch for the continuation of this work.

Thanks

marpaia commented 10 years ago

feel free to merge whatever you'd like @spheromak ! this is amazing!!