[one-dev] Installing addons

Valentin Bud valentin at databus.pro
Wed Nov 6 22:54:43 PST 2013


Hello Javier,

On 11/06/2013 04:36 PM, Javier Fontan wrote:
> Any comments on these or should I start with a prototype and see where it leads?

Thank you for remind us of this E-Mail because it is an important and 
useful feature now that the Addons are much more easily to create and share.

>
> On Tue, Oct 29, 2013 at 3:59 PM, Javier Fontan <jfontan at opennebula.org> wrote:
>> Hello,
>>
>> Now that we have a place where to work on new packages I think it is a
>> good time to find a way to install them. There are several ways we can
>> use to do so, like:
>>
>> * Stating in the documentation which files goes to what paths.
>> * Adding a script that installs the files.
>> * Creating packages for distributions that can be installed on top of
>> OpenNebula.

I would go for the first two. We could use your install.sh script from 
the OpenNebula sources as a starting point. As for documentation I think 
it is a must have either way.

>>
>> As a long term solution I don't think that the documentation way is a
>> solution. For a 2/3 files addon this may be maintainable but it will
>> make upgrades an automation a pain in the ass.
>>
>> Creating packages seems like a great solution from a user stand point
>> but will raise the bar of requirements for people that wants to
>> contribute as they may need to learn how to make them.

I think packages would be a barrier for contributing because not all of 
us know how to package for various system distributions.

>>
>> My proposal is to create a addon management tool that does this for
>> us. The idea is to have a manifest in all the addons with its
>> description, the OpenNebula version needed for the addon, external
>> dependencies and the list of files that need to be installed. The tool
>> will check that file, test the OpenNebula version installed, install
>> needed dependencies and copy the files in its place.

This sounds great and would ease up the process of creating new addons. 
I am curios how would you deal with multiple 'types' of addons, like 
storage drivers, vmm, etc.

>>
>> What do you think about it? Is it too reinvent-the-wheel? Do you know
>> of an already made tool to do this?
>>
>> The tool could have some other features like addon discovery, upgrade
>> and such but I would start with just the needed features to install
>> the addons.

One step at a time, first the install and then the other two awesome 
features :).

Please tell me if and how could I help.

Cheers and Goodwill,

-- 
Valentin Bud
CEO
databus.pro - We Build Clouds.
http://databus.pro | valentin at databus.pro | @databuspro



More information about the Dev mailing list