[mythtv-commits] Ticket #4013: Prompt before upgrading database schema

MythTV mythtv at cvs.mythtv.org
Wed Sep 26 02:26:40 UTC 2007


#4013: Prompt before upgrading database schema
-------------------------+--------------------------------------------------
 Reporter:  nigel        |       Owner:  ijr 
     Type:  enhancement  |      Status:  new 
 Priority:  minor        |   Milestone:  0.21
Component:  mythtv       |     Version:  head
 Severity:  medium       |     Mlocked:  0   
-------------------------+--------------------------------------------------
 This adds a new method, MythContext::!PromptForSchemaUpgrade() which if
 possible asks the user before upgrading the database schema. If the
 context has a GUI (mythtv-setup, mythfrontend) it will use a Popup. If the
 context has no GUI (mythbackend and friends), it prompts in the command
 shell (unless stdin or stdout is redirected, in which case it defaults to
 the current behaviour - upgrading).
 [[BR]][[BR]]
 If the user/developer wants to always live dangerously, set
 DBSchemaAutoUpgrade in the database.
 [[BR]][[BR]]
 The patch enables this for TV database schema upgrades only, but it could
 also be added to plugins.
 ----
 Please test. Bug reports, better warning messages or button labels are all
 very welcome.
 [[BR]]
 I would like to add this soon, before too many UPnP autodiscovery testers
 wreck their backends :-)

-- 
Ticket URL: <http://svn.mythtv.org/trac/ticket/4013>
MythTV <http://svn.mythtv.org/trac>
MythTV


More information about the mythtv-commits mailing list