Git Product home page Git Product logo

Comments (4)

pbchase avatar pbchase commented on June 11, 2024

This is a good question. I too would like my redmine plugins to be installed via chef. I was unsure how to go about it as I am very new to chef.

If there were an example chef cookbook for redmine plugins I'd be happy to make a few, but I would need them to integrate with redmine as installed via this cookbook. My guess is that would require sharing a few common attribute values, but little more.

Philip

from cookbook-redmine.

juanje avatar juanje commented on June 11, 2024

I truly sorry for the late answer :-(
I got some issues with my Internet provider...

Anyways, this is really a good question and I was worndering myself what is the right answer a while ago.
Actually, @btomasini, I had seen your code weeks ago and I was thinking about talking with you.

I had two ideas and I'm not sure what is the best one:

  • Install plugins from a cookbook and have a (kinf of) template cookbook for them.
  • Create a LWRP for install and uninstall plugins in this cookbook to be used by others.

Actually, both could be combined...

I'd prefer not to add the plugins to this cookbook because could overcomplicate the cookbook and it could be a botleneck for the plugins to be added.

The reason I'm not sure about the LWRP is that (at least the plugins I know) not all the plugins need the same steps to be installed. But, I think it would be nice to hace one. It would simplify a lot the creation of cookbooks for plugins.

I don't know, this is kind of brainstorming. What do you think about guys?

from cookbook-redmine.

pbchase avatar pbchase commented on June 11, 2024

I really think the plugins should be separate from the redmine cookbook. Modularity is better.

As to what a plugin needs to install, I've been testing RM plugins these past two weeks and wrote 4 plugin install scripts in bash. There is a standard mantra they all require, but some need more. Some need lots more.

An LWRP or a template could make it easy to do the simple ones. A template would be useful as a starting point for the complicated ones.

from cookbook-redmine.

btomasini avatar btomasini commented on June 11, 2024

Thanks for the responses.

The main advantages of having them in one cookbook are (1) a "one stop shop" for redmine and popular plugins, and (2) a simpler development model when the plugin requires changes to the main redmine recipes.

Neither of these reasons are terribly compelling. I am fine separating out the backlogs plugin into a separate cookbook project.

from cookbook-redmine.

Related Issues (6)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.