From: Vladimir G. <vla...@du...> - 2010-03-09 17:43:56
|
On Mar 9, 2010, at 12:05 PM, William Piel wrote: > I thought this was the "normal" way that the migration proceeds -- > i.e. with the following 3 stages: > > 1. parse and upload the dump.txt file and associated trees and > matrices. TB1 has all citations in one line -- this is crammed in > the title field, although full names and email addresses of authors > are stored in separate tables but without info on author order. > > 2. replace the existing taxon_variant and taxon tables with the > latest TI dump. > > 3. update the citation information with the latest Endnote file. > Here, author names are abbreviated (per Endnote conventions) but > author order is known. > > Is this the same basic order of tasks which you used for the Dec09 > migration? That's correct. > The only difference here is that we can go live before task 3 is > performed. And note that we could task our undergrads with editing > the citation info directly with the TreeBASE2 interface instead of > first editing an Endnote file. i.e., we actually do away with step 3 > as it stands. (Although seeing as our metadata student help (in > Endnote) has improved metadata for all TreeBASE studies > considerably, we'll probably want to run a citation update script at > some point anyway). -- See the other reply. > Do we need to think about how we will run update scripts and data > cleansing scripts in future? I presume we should. > I'm not sure what's the point of "stage" other than the ability to > test new builds against a (slightly older) version of the production > data. For update and data cleansing scripts, we will need to apply > them directly to production (after first triggering a pg_dump, of > course). That's the plan for the post-release life. At the moment, we use the two instances as two alternative containers for the main data set: one is read-only (conceptually) and the other is the working copy, with these roles flipping back and forth depending whether a migration is in progress. --VG |