gnumed-devel
[Top][All Lists]
Advanced

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

Re: [Gnumed-devel] GNUmed client 0.3.2 database mismatch


From: Karsten Hilbert
Subject: Re: [Gnumed-devel] GNUmed client 0.3.2 database mismatch
Date: Sun, 12 Oct 2008 12:21:54 +0200
User-agent: Mutt/1.5.18 (2008-05-17)

> > > Ah... I think I have it...
> > > 
> > > When I first logged into the 0.3.2 client, I saw in my login window  
> > > popup options not only:
> > > 
> > >   public GNUmed database
> > >   local GNUmed database
> > > 
> > > but also three more:
> > > 
> > >   GNUmed database on this machine (Windows)
> > >   GNUmed database on this machine (Linux/Mac)
> > >   GNUmed database at salaam.homeunix.com
> > > 
> > > The last three come from
> > > 
> > >   /GNUmed-0.3.2/client/gm-from-cvs.log
> > .conf, but yes.
> > 
> > > Evidently clients (from tarball) at loading, will pre-populate the  
> > > connection options first from
> > > 
> > >   /etc/gnumed/gnumed-client.conf (if it exists)
> > correct
> > 
> > > where mine happened specify v8 inevident from the profile name; below  
> > > this get appended profiles from
> > > 
> > >   /client/gm-from-cvs.log
> > > 
> > > These values are all read each time, so that if one renames or  
> > > deletes or comments out profiles in
> > > 
> > >   /etc/gnumed/gnumed-client.conf (if it exists)
> > > 
> > > then these will not show up the next time the client is run from  
> > > tarball. However in order to not disturb people who may still use the  
> > > earlier client (say, production) on the same machine it is wiser to  
> > > leave /etc/gnumed/gnumed-client.conf unchanged and just know to pick  
> > > from profiles that reside lower-down in the list :-)
> > 
> > Correct analysis. I will re-add the database version into the profile 
> > string so
> > it is much more evident what each entails.
> 
> Done.
> 
> The login dialog will now (post-0.3) always display this format:
> 
>  "$profile_name (address@hidden)"
> 
> Thus there will not be any confusion about which database a
> given profile will try to connect to regardless of how the
> admin decided to name the profile. The profile is also now
> logged in detail if --debug was given.
> 
> Karsten

-- 
GPG key ID E4071346 @ wwwkeys.pgp.net
E167 67FD A291 2BEA 73BD  4537 78B9 A9F9 E407 1346




reply via email to

[Prev in Thread] Current Thread [Next in Thread]