On Wed, Feb 2, 2011 at 4:18 PM, Hartmut Goebel
<h.goe...@goebel-consult.de>wrote:
> 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 :-)
> > 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 :-)
>
> 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.
>
> 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.
>
> 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
>
> That's what I'm invisioning.
>
> --
>
But there is very very little code that is specifi to one daemon only. And
if we take the poller and reactionner, the rate is even higer :)
I think such cut is too much. I do not thing admins will install just one
package with setup.py, but will use the package from packagers. As an admin,
I'll never have a production app with easy_install, but I'll use the
distribution package for this. (Ok, for Shinken I use the direct tar, but
for this one it's different :) ).
So I think this cut will just complexify the directory archiecture without
solving user problems, or I don't understand something. If we manage this
cutting, we do the packager job, and each distribution will have its own
way, maybe totally different than the one we choose.
Jean
[...]
------------------------------------------------------------------------------
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