[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug#509225: ITP: tevent -- talloc-based event loop library

Am Montag, den 05.01.2009, 08:45 +1100 schrieb Robert Collins: 
> On Sat, 2008-12-20 at 01:57 +0100, Jelmer Vernooij wrote:
> > Am Samstag, den 20.12.2008, 11:10 +1100 schrieb Robert Collins:
> > > libevent + libtevent-which-wraps-libevent is better than
> > > libtevent-which-duplicates-much-of-libevent. :)
> > In theory, I agree. However, in this case libevents is about a factor 10
> > larger in terms of source code than libtevent, and that's even without
> > the wrapper that would add talloc support and the support for AIO.
> > 
> > But more importantly (with my upstream hat on): we have to support a lot
> > of folks that are not running fancy systems like Debian (apt FTW), and
> > who have to still install everything manually. This means another
> > dependency for them to install. 
> There are other ways to solve that - e.g. provide a bundle of source
> packages. That said, gentoo, rpm-based systems, ports-based systems,
> conary, heck even cygwin support dependency chaining on installs -
> surely anyone outside that collection of platforms is already manually
> building their kernel and up - they are choosing that environment. Bit
> of a tail-wagging-the-dog as far as I can tell without more information.
I didn't mean any other Linux distributions or Cygwin, but platforms
like AIX, HPUX, IRIX, etc that already contain all of the other
dependencies (shell, make, C compiler).

Providing a bundle of source packages would be a way around that,
indeed, but that requires some significant infrastructure changes (among
other things, the Samba buildfarm would have to know how to fetch, build
and link against libevent on different platforms, for example). 

In other words, as I mentioned earlier: yes, I agree; in a perfect
world, libtevent would be a thin wrapper around libevent. The amount of
work to change this (instead of trying to get Samba 4.0 out) outweighs
the small benefits (a couple of thousand lines less code duplication on
your average Debian system).


Jelmer Vernooij <jelmer@samba.org> - http://samba.org/~jelmer/
Jabber: jelmer@jabber.fsfe.org

Attachment: signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil

Reply to: