2011/2/2 Hartmut Goebel <h.goe...@goebel-consult.de>
> Am 02.02.2011 15:27, schrieb Grégory Starck:
> > personally I agree with Hartmut ; I was thinking for some time to that
> > too in fact.
> Thanks for your support :-)
>
just give it to me in return ! ;)
> > I already just had finished(&pushed) splitting the "bin/shinken-*"
> > files into new files within shinken/XXXdaemon.py but I think they
> > could easily be moved to a subdir like "shinken/bin/" too ..
> I was not talking about sub-directories, but about sub-packages, which
> is quite a difference :-)
>
yes sorry I wrote too fast, was thinking sub-packages too ;)
> So I do not suggest putting all the daemon code into a single
> shinken/bin/... directory, but putting each of the daemons into a
> package of it own. Together will all the stuff only this daemon uses.
>
agreed.
> Example: Package "shinken.arbiter" will become file
> "shinken/arbiter/__init__.py". So all the stuff belonging to arbiter
> only will be in shinken/arbiter. Same for reactioner, poller, etc.
>
totally agreed.. leave that to me ; Jean if you are ok already with
this ? if yes then I can continue on it..
If someone wants to deploy a poller to a system then, he (ideally) only
> put there shinken/common and shinken/poller. If we may introduce
> namespace packages somewhen, this could even become something like
>
> easy_install shinken.poller shinken.plugins.oracle shinken.plugins.hpux
>
would be perfect !
same could be done for packages (deb or rpm or whatever).
> That's what I'm invisioning.
>
Having all different elements of something *clearly* separated can only be
good point so we have to envision it :p
greg.
------------------------------------------------------------------------------
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires
February 28th, so secure your free ArcSight Logger TODAY!
http://p.sf.net/sfu/arcsight-sfd2d
_______________________________________________
Shinken-devel mailing list
Shinken-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/shinken-devel