🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #40362

Re: Gravity 2.1b2 Comments

#40362
From: Alex P. Madarasz, Jr.
Date: Fri, 24 Apr 1998 00:00
58 lines
3529 bytes
On Fri, 24 Apr 1998 20:08:56 GMT, madarasz@erols.com (Alex P. Madarasz,
Jr.) wrote:
>
>On Fri, 24 Apr 1998 15:27:50 -0400, tony@microplanet.com (Tony Edwards)
>wrote:
>>
>>In article <354093b7.54562983@news.erols.com>, madarasz@erols.com says...
>>
>>> Yes, for those of us who believe that users should be able to separate
>>> their apps and data!
>>> 
>>> I have all my data on a disk which is physically separate from my apps
>>> disk, and much/all of it will soon be on a file server.  It makes it easier
>>> to back up, and it gives me fault tolerance.
>>
>>You can do this, but you have to edit the registry:
>>
>>HKEY_CURRENT_USER\Software\MicroPlanet\Storage:DatabasePath
>>
>>for global database files and
>>
>>HKEY_CURRENT_USER\Software\MicroPlanet\Servers\ServerX:DatabasePath
>>
>>for each Server.  It's been a long time since I tried it, but I'm 
>>not sure what happens when you add new servers.  Presumably they 
>>always get put under the Storage database path by default (until 
>>you move/change them).
>
>Ah, so there _is_ a mechanism for this already!  I'll give it a shot and
>see how it works.

Whelp, it works.

Howver, I stand by my assertion that hacking at 1 + N (where N is the
number of servers already config'd) Registry entries is a dangerous thing.

As an example, I just screwed up the procedure (I promise I didn't do it on
purpose just to make a point!) with only one server config'd, because I
edited _only_ the ...\Storage:DatabasePath entry and forgot to edit the
entry under ...\Servers\server1:DatabasePath.  As a result I got a sequence
of dialogs which gave me the choice of either using the existing database
under C: (which isn't what I wanted to do, but saying No just dumped me out
of Gravity) or creating a new database (which wipes out the existing server
files and config under C: - I know, because I did it!).  If a user with
multiple servers already config'd fails to edit the Registry entry for any
server, then POOF, they can wipe out their files for that server the next
time into Gravity.

Having a Registry entry for the path to _each_ server's files seems like a
very flexible design until you run into someone like me - who just wants to
tell Gravity, by changing only a _single_ setting, "store _all_ my data
files for _all_ my news servers under this dir".

----------------------------------------------
Alex P. Madarasz, Jr.  ---  madarasz@erols.com

Technical Details
Message-ID: <3540feb2.2475071@news.erols.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mail
References: <3540268e.64954347@news.erols.com> <MPG.faa3db12db7c0889896d0@news.naplesfl.net> <354093b7.54562983@news.erols.com> <D10D734862C80F64.1B44AE0D0C021B17.6AC6990937B673BC@library-proxy.airnews.net> <3540eaa3.76818211@news.erols.com>

Show Full Headers
Complete Article Headers
Message-ID: <3540feb2.2475071@news.erols.com>
Subject: Re: Gravity 2.1b2 Comments
Date: Fri, 24 Apr 1998 00:00:00 +0000
From: madarasz@erols.com (Alex P. Madarasz, Jr.)
References: <3540268e.64954347@news.erols.com> <MPG.faa3db12db7c0889896d0@news.naplesfl.net> <354093b7.54562983@news.erols.com> <D10D734862C80F64.1B44AE0D0C021B17.6AC6990937B673BC@library-proxy.airnews.net> <3540eaa3.76818211@news.erols.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mail
X-Deja-AN: 347405973
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset=us-ascii
X-Complaints-To: abuse@erols.com
X-Trace: winter.news.erols.com 893452905 24783 207.172.70.90 (24 Apr 1998 21:21:45 GMT)
Organization: Erol's Internet Services
Mime-Version: 1.0
Reply-To: madarasz@erols.com
Newsgroups: alt.usenet.offline-reader,news.software.readers