Question regarding RPM packaging of interactive software.

susmit shannigrahi thinklinux.ssh at gmail.com
Mon Jan 10 15:47:33 UTC 2011


> I think, just in case it's not clear, that the typical way this should
> be handled is that on installation the software should not create the
> necessary database; instead the creation process should be documented
> for the user to complete manually. So when the software is packaged,
> there's no problem, as there's no database operation to handle. This is
> how all mature, popular apps that rely on databases work. For instance,
> when you install Wordpress, you then go through a short 'setup' process
> which prompts you to manually create the necessary databases and
> configure Wordpress to be able to access them.
>
> Normally, when the software is updated, on the next run it should
> automatically make any necessary changes to its own database (since
> obviously it now has the required access privileges). If there is a
> major update that requires changes to the database that cannot be
> automated, then again, these should be documented for the user to carry
> out, no crazy 'overwrite or no' interactive options during package
> install.
>
> Your next step should be to outline this to upstream, and show examples
> of widely-used database apps such as Wordpress and MythTV and so on.

Nice, thanks.
Given the size of the wiki, I am surprised that there is no
documentation in this regard.
I have started one: https://fedoraproject.org/wiki/Packaging/FAQ



-- 
Regards,
Susmit.

=============================================
http://www.fedoraproject.org/wiki/user:susmit
=============================================


More information about the devel mailing list