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

Re: RFC: common database policy/infrastracture



> > - further amendments to the "best practices" document based on developer
> >   feedback.
> 
> still accepting input!

You probably want to change this:

- leave data after purge? -> only ask during purge.
- back up database before upgrade? -> only ask during upgrades. user should 
be notified where to find backups and possibly how to restore.
and other ' only ask during install'

All these questions should be made on configuration, but, obviously, only 
once (when the package is first installed or on upgrade if the debconf 
question was not previously there). Obviously, the _actions_, will be taken 
on purge|postinst|preinst, but the question itself is made in advance the 
first time the package is configured. You might want to clarify the table 
and change 'only ask' to 'only done' (or acted upon).

Similarly, you want to change the pseucode in 'overview of 
installation/removal process' since all the INPUT should be done in 
configuration. For an example take a look at how the PostgreSQL does this 
(purge on removal and backup on upgrade) for _all_ databases managed by it.

Regards

Javier

Attachment: signature.asc
Description: Digital signature


Reply to: