gnumed-devel
[Top][All Lists]
Advanced

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

Re: [Gnumed-devel] GNUmed packaging help needed


From: Karsten Hilbert
Subject: Re: [Gnumed-devel] GNUmed packaging help needed
Date: Mon, 9 Mar 2009 12:08:36 +0100
User-agent: Mutt/1.5.18 (2008-05-17)

On Sun, Mar 08, 2009 at 10:38:35PM +0100, Florian Hubold wrote:

>> Ah, OK, it makes sense to not make a gnumed-client depend on a
>> gnumed-server package, but it must surely be somehow possible to
>> have a gnumed-server package as such ?
>>   
> As far as i have understood this, the act of bootstrapping gnumed-server  
> (and PostgreSQL)
> should be done manually by an admin and should not be automated.
This does have some merit to it, yes.

> There  
> could possibly
> be an official gnumed-server package which contains the bootstrapping  
> bundles, but one
> has to setup the database and the bootstrapping manually. But such a  
> "placeholder"
> package is of no practical use as far as i can tell for myself.

Well, it's a lot more convenient for the end user:

        apt-get install gnumed-server

Then the install notice says that they need to manually run
the bootstrapper and how. So they do:

        gm-bootstrap_database

or

        gm-upgrade_database

all the while not worrying about which version tarball to
load from where and how to run it because all this has been
taken care of by the package maintainer.

> also the bootstrapping is done in %post, since some time also fully  
> automated
> and passwordless for the initial bootstrapping to ease     deployment  
> and help spread gnumed easier.
> The only thing that has to be done manually currently is upgrading an  
> existing database.
> This will be the next thing that i want to realize in my packages and  
> see if that works reliably,
I would suggest to always ask the user explicitely before
proceeding to actually upgrade. That way, they can have a
say in the matter and confirm that what the script decided
to upgrade from and to is what they want to happen.

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]