[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: [PATCH] [gnome-keyring] Miscellaneous improvements

From: Branko ─îibej <brane_at_xbc.nu>
Date: Wed, 07 May 2008 04:39:55 +0200

David Glasser wrote:
> Can we do this with DSOs like RA/FS modules? I think we already
> support (optionally) building in such a way so that
> ra_neon/fs_base/ra_serf can be installed separately (and only if their
> prereqs exist)...

Yes, but I'll say again that the "install if prereqs exist" part is IMHO
the wrong approach: this must not be a compile-time or install-time
check, it must be a runtime check. This may be as simple as trying to
load the DSO and assuming the required keychain and/or wallet features
aren't available if the load fails.

Imagine for exaple that you start off with a GUI-less installation, with
Subversion installed, then decode to install a GUI and all the
associated shebang. Now imagine describing a GUI dependency like, "if
svn is installed then install that other extra svn package". Horrible.

(Well ... you often get e.g. an 'emacs-nox' package that's different
from (and conflicts with) the regular 'emacs' package. But there's no
security issue involved there, unlike in the case we're discussing.)

-- Brane

To unsubscribe, e-mail: dev-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: dev-help_at_subversion.tigris.org
Received on 2008-05-07 04:40:25 CEST

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.