-
Notifications
You must be signed in to change notification settings - Fork 157
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
Methods for PIP and NPM #45
Comments
I wrote a function to install pip packages. I can commit it if people are interested. It's pretty simple right now. |
I also got a set of methods to install these packages and I think this is something alot of people use - so I'm wondering if this is something that should be part of Cuisine's core or it should be seperate project |
In Puppet for example there's no support for this stuff in the core |
@gudbergur @josephmc5 It would be great to have PIP/NPM and any other type of specific package installation method. What I suggest is to name the functions this way:
You can past the code in this issue and I'll integrate it, or send me a patch. |
i have written the code for pip and easy_install with install, upgrade, ensure, remove functions. i am happy to provide that code. |
Could you share a gist with the code? thanks! |
please finde the code here: https://gist.github.com/1950506 |
Is this issue closed? I want to write some codes for pip install and some feature of Cuisine. And I'm thinking about virtualenv generator. How about it? |
I wrote an example code for this issue. |
i am not sure, if you follow the syntax/naming convention that sebastien had in mind (at least I had a different understanding as you can see in my gist https://gist.github.com/1950506, but I think @sebastien needs to make the call here. |
I think the best would be to name the functions @schacki sorry for not having integrated this yet, but I haven't found the time to test it yet. |
@sebastien OK! I will clean up @schacki and my code. By the way, I want to add virtualenv and some useful feature for Python. |
@wutali the best would be to put the virtualenv and python-specific functions in a separate module, to keep cuisine small -- but you can let me know and maybe some functions would be useful for cuisine's core. |
@Sebastion: you had the idea to have some kind of contrib folder,where such On Friday, July 13, 2012, Sébastien Pierre wrote:
|
Yes, exactly -- provided the modules have a clear purpose and are generic enough. |
hi sebastien, i am planning to use such kind of code again, will you integrate it any time soon, or do i need to include it in my deployment scripts? |
I'm closing the issue as the @dispatch mechanism would support that. |
I'm using Cuisine to deploy an app using both PIP for python packages and NPM for node packages and I'm wondering what your thoughts are on the plan regarding these. Do you write your own methods to ensure these packages in Fabric and use them alongside Cuisine or is this something that should be integrated into Cuisine?
The text was updated successfully, but these errors were encountered: