Open matschaffer opened 11 years ago
Yep. I'm not 100% sure of berkshelf's cookbook storage format, but I imagine it will be doable. One difference will be that berkshelf understands multiple cookbook versions, so knife-essentials would need to learn that.
I was imagining a system call to 'berks upload' to start. Too hacky?
On Thursday, December 13, 2012, John Keiser wrote:
Yep. I'm not 100% sure of berkshelf's cookbook storage format, but I imagine it will be doable. One difference will be that berkshelf understands multiple cookbook versions, so knife-essentials would need to learn that.
— Reply to this email directly or view it on GitHubhttps://github.com/jkeiser/knife-essentials/issues/74#issuecomment-11339197.
-Mat
about.me/matschaffer
Well, knife diff, upload and download all first do a "diff" to figure out which (if any) cookbooks have changed, which means they need to read the cookbook on disk to find that out.
Ahh... right. I'll dig around a bit and let you know what I find out.
I'm working with knife-essentials and using berkshelf for cookbooks and it occured to me that a configuration option to have cookbooks upload via
berks upload
could be pretty sexy.Thoughts?