Project

General

Profile

Statistics
| Revision:
Name Size Revision Age Author Comment
  _archive 1598 over 12 years Aaron Marcuse-Kubitza Moved _archive/tapir2flatClient/trunk/client/ t...
  analysis 3076 over 12 years Aaron Marcuse-Kubitza Added top-level analysis dir for range modeling
  backups 3546 over 12 years Aaron Marcuse-Kubitza backups/Makefile: Full DB: Added vegbien.backup...
  bin 3661 over 12 years Aaron Marcuse-Kubitza Moved importing of col_defaults from db_xml.put...
  config 272 almost 13 years Aaron Marcuse-Kubitza Moved bien_password to new config dir
  inputs 3663 over 12 years Aaron Marcuse-Kubitza input.Makefile: Testing: Removed VegBIEN.%.xml ...
  lib 3661 over 12 years Aaron Marcuse-Kubitza Moved importing of col_defaults from db_xml.put...
  mappings 3568 over 12 years Aaron Marcuse-Kubitza Added mappings/roots for use in creating src maps
  schemas 3662 over 12 years Aaron Marcuse-Kubitza schemas/vegbien.sql: Made datasource_id require...
  to_do 2547 over 12 years Aaron Marcuse-Kubitza to_do/timeline.doc: Updated to reflect the mont...
Makefile 10.4 KB 3393 over 12 years Aaron Marcuse-Kubitza Moved archived imports and make targets to main...
README.TXT 7.25 KB 3614 over 12 years Aaron Marcuse-Kubitza README.TXT: Datasource setup: Installing the st...
map 1.22 KB 3475 over 12 years Aaron Marcuse-Kubitza root map: Run bin/map with a nice increment of ...

Latest revisions

# Date Author Comment
3663 07/27/2012 09:52 PM Aaron Marcuse-Kubitza

input.Makefile: Testing: Removed VegBIEN.%.xml test because the import.%.xml test output includes the template tree that it's inserting, so there is no need to generate the XML tree in a separate test. This will also remove the need to maintain local XML functions that have already been translated to DB functions for the sole purpose of this automated test.

3662 07/27/2012 09:40 PM Aaron Marcuse-Kubitza

schemas/vegbien.sql: Made datasource_id required on every table that has it, to trigger the automatic population of it by sql_io.put_table()'s col_defaults

3661 07/27/2012 09:38 PM Aaron Marcuse-Kubitza

Moved importing of col_defaults from db_xml.put_table() to bin/map, so that it also happens in row-based mode. Note that this causes a DB entry for the datasource to always be created, even if the datasource has no mappings or no rows.

3660 07/27/2012 09:13 PM Aaron Marcuse-Kubitza

Use new exc.reraise() where exc.raise_() was used, so that the stack trace is preserved when the exception is rethrown

3659 07/27/2012 09:11 PM Aaron Marcuse-Kubitza

exc.py: reraise(): Take optional exception argument so it can be invoked in the same way as raise_(). Interestingly, this missing parameter does not produce the usual "...() takes no arguments (1 given)" error when the function is called inside an except block.

3658 07/27/2012 09:04 PM Aaron Marcuse-Kubitza

exc.py: Added reraise()

3657 07/27/2012 09:02 PM Aaron Marcuse-Kubitza

db_xml.py: put(): Inserting node: Wrap sql_io.put_table() call in catch-all exception handler that calls on_error_() (wrapper for error handler provided by caller) and returns None. This both adds additional debugging info to the exception (in on_error_()) and allows recovery from arbitrary exceptions that happen in sql_io.put_table(), so that an exception does not abort the import.

3656 07/27/2012 08:50 PM Aaron Marcuse-Kubitza

exc.py: get_e_tracebacks_str(): Use the current system traceback if the exception doesn't contain its own traceback(s)

3655 07/27/2012 08:35 PM Aaron Marcuse-Kubitza

schemas/vegbien.sql: specimenreplicate: Added locationevent fkey, since fkeys are not inherited from parent tables

3654 07/27/2012 08:30 PM Aaron Marcuse-Kubitza

schemas/vegbien.sql: Added datasource_id fkey constraints to all tables that needed it

View all revisions | View revisions

Also available in: Atom