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: Florian Hubold
Subject: Re: [Gnumed-devel] GNUmed packaging help needed
Date: Sun, 08 Mar 2009 22:38:35 +0100
User-agent: Thunderbird 2.0.0.19 (X11/20090114)

Karsten Hilbert schrieb:
- you should never requires a database server, as it might be a remote
one, and especially not on a client package
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. 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.
But as this bugs me i'll bring this to speech at the mandriva mailing list.
After searching a bit on the mandriva wiki, i didn't find a policy that explicitly forbids the installation of server packages, but if he says so than maybe you'll have bad cards. How is this handled for Debian?
Very simple: gnumed-server depends on postgresql whereby PostgreSQL
gets installed. The bootstrap files are installed onto the system.
Then the user needs to run the bootstrapper manually after installation.
This last step could be invoked from a postinst script, too.

Karsten
This is exactly what's done in the other rpm packages (mandriva, opensuse, pclos), 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,
but that is not that easy as i don't use gnumed.





reply via email to

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