Project

General

Profile

  • svn:eol-style: native
  • svn:keywords: Author Date Id Revision

# Date Author Comment
8642 02/21/2014 03:12 PM ben leinfelder

merge recent upgrade changes from 2.4 branch

8617 02/19/2014 02:35 PM Chris Jones

Add in Darwin Core schema support into xml_catalog, and insert it on upgrade as well. The schemas are cached in lib/schema/dwc, and Matt and Ben noted that the tdwg_basetypes.xsd and tdwg_dwctypes.xsd are part of the same namespace, but are xs:include'd rather than imported via namespace.

8609 02/17/2014 07:11 AM Chris Jones

Add DataONE, Dublin Core, and Dryad schemas during the 2.4.0 upgrade, and be sure to remove the appropriate entries before inserting to avoid duplicate rows.

8606 02/14/2014 03:20 PM ben leinfelder

do not include "sm" alias in the SET clause.

8604 02/14/2014 02:56 PM ben leinfelder

comment out the select statements so they do not run during real upgrade.

8601 02/13/2014 03:12 PM ben leinfelder

loosen the restriction on which archive flags we set to false -- if we have an obsoleted_by value then it need not be marked as archived.

8581 02/07/2014 02:20 PM ben leinfelder

adjust whitespace for consistency

8578 02/07/2014 09:20 AM ben leinfelder

restrict the archived=false update to revisions that still have current entries in the xml_documents table.

8577 02/06/2014 05:36 PM ben leinfelder

tested the restore insertions - adjusted for FK constraints. I was able to delete a document locally, then restore it, then update the document with a new revision as expected.

8576 02/06/2014 03:03 PM ben leinfelder

use 'with' query to find the most recent revision of an object that was archived. still want more feedback on the criteria.

8574 02/06/2014 11:56 AM ben leinfelder

continue to work on the criteria for selecting documents to restore.
expanded the criteria for setting archived=false to include any revision that was already obsoleted_by somethign else.

8572 02/05/2014 02:18 PM ben leinfelder

correct syntax - add more criteria for selecting documents.

8565 02/05/2014 01:50 PM ben leinfelder

draft of fix for erroneously archived documents - first discovered by LTER - but also applicable to other Metacat MNs that still use the Metacat API as of Jan 2014 CN changes.

8555 02/03/2014 02:56 PM ben leinfelder

use v2.4.0 for documentation and upgrade scripts.