- From: Dennis Klein <
>
- To: Sergio Rubio <
>
- Cc:
- Subject: [[chef-dev]] Re: [[chef-dev]] Git support to knife cookbook upload
- Date: Tue, 9 Aug 2011 15:25:57 +0200
>
Hiya,
>
>
I was wondering if you guys are willing to add something this to knife
>
cookbook upload:
>
>
knife cookbook upload git://github.com/rubiojr/yum-stress-cookbook.git
>
>
This will basically clone the repo to the cookbook path and upload it
>
to the Chef Server, an operation I've been doing to much lately :)
>
>
I've created a topic branch for this:
>
>
https://github.com/rubiojr/chef/tree/cook-upload-git-support
>
>
The downside is that git is added as a dependency. Needs better input
>
validation and error handling probably, just waiting to see if you
>
guys find something like this useful and nobody is (hopefully) working
>
on this right now.
>
>
Cheers.
If you build something like this, pls be aware of that uploading the head
version of a git repository is just a special case. You would need a knife
syntax where you can specify one or many git versions (maybe specified
through git tags) that get checked out and then be uploaded!
--
Dennis
Archive powered by MHonArc 2.6.16.