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

Re: patch suggestion

From: Ich Selbst <ichselbst_at_gmx.ch>
Date: 2002-11-05 20:18:02 CET

> >That's a good idea and surely needed. But no reason to not commit the
patch.
> >
> I don't agree. Your patch doesn't fix any immediate problem, and there's
> a better solution in the works.
ok. when will it be ready to use?

> I mentioned it two posts back in this thread. It involves passing a
> context baton to all functions that need configuration. Then the client
> can decide how to fill that context.
I don't think that's an 'easy' way. But I admit it would offer a cleaner
solution.

> Nonsense. Many programs share libraries on Windows (the MS Office tools
> are a famous example), and you don't have to download the libraries
> separately. Every installer can include the Subversion DLLs, and just
> not install them if appropriate versions are already on the system -- or
> upgrade the installed ones if it has newer, compatible versions.
If you mention the Office tools: Yes, they share their libraries. But they
do
that by installing them in a specific subfolder. If Subversion wants to do
that
then it has to define a fix folder location.

> >So: a client for Subversion needs all libraries and helper programs
included. As soon as you use more than one client (e.g. a plugin for an IDE
and a standalone one) you will have different libraries stored in different
places and the last one installed forces to use the other clients those
libraries (because those are global settings).
> >
> Yes, that kind of lack of planning is the reason why many Windows
> programs are a pain to install and use. There's absolutely no reason not
> to share libraries among different clients, sharing doesn't stop you
> from having different versions installed at the same time, and the
> problem of using multiple configuration sources will be solved
> differently than you propose.
It seems we have different opinions on this: I never had any problems
installing
a windows program but surely almost every time I tried installing a program
on linux. A windows installer never complained about missing libraries and
then
stopped. Under linux that happend to me almost every time (which resulted in
time consuming web sessions to search for the missing libraries, downloading
them
and install them, and often those libraries needed other libraries as well
which
surely are not included and needed a seperate search/download session).
If you want to share libraries under windows you'd have to install them in
the windows/system32 folder and that's a thing I hate. Because you can't
delete
those files when uninstalling the program which copied those libraries there
just
because you can't be sure that no other program is using them also. So after
some
time you end up with many many orphaned library files.
But if a program installs all libraries it needs into its own folder then
you can
uninstall that program without either risking deleting files other apps need
as well
and without probably leaving orphaned files. THAT's what I call a clean
installation.
Sharing libraries has its advantages too, but only if the library is used by
many programs,
it's very big and is updated only rarely. In all other cases it's better not
to share the
libraries.

Steve

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Nov 5 20:19:03 2002

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.