[Swift-commit] r2218 - provenancedb
noreply at svn.ci.uchicago.edu
noreply at svn.ci.uchicago.edu
Fri Sep 5 09:52:00 CDT 2008
Author: benc
Date: 2008-09-05 09:51:57 -0500 (Fri, 05 Sep 2008)
New Revision: 2218
Modified:
provenancedb/import-all
Log:
more information about how a log file is known
Modified: provenancedb/import-all
===================================================================
--- provenancedb/import-all 2008-09-05 14:35:23 UTC (rev 2217)
+++ provenancedb/import-all 2008-09-05 14:51:57 UTC (rev 2218)
@@ -3,7 +3,6 @@
# we need to keep this out of the log-proceesing dir because import
# of individual runs will clean other files.
-PROVDB=provdb
source paths.source
@@ -33,15 +32,16 @@
echo IMPORTING
if grep --silent "DEBUG Loader Swift finished with no errors" $filename; then
- $SQLCMD -c "INSERT INTO known_workflows (workflow_log_filename, version) VALUES ('$filename','$version');"
echo version $version in log file $filename
echo ============= will import =============
./prepare-for-import $filename
./import-run-to-sql $filename
./import-run-to-xml $filename
+ $SQLCMD -c "INSERT INTO known_workflows (workflow_log_filename, version, importstatus) VALUES ('$filename','$version','imported');"
else
echo SKIP: Workflow does not report successful end.
+ $SQLCMD -c "INSERT INTO known_workflows (workflow_log_filename, version, importstatus) VALUES ('$filename','$version','skipped - workflow did not end sucessfully');"
fi
else
echo SKIP: Already known in workflow
More information about the Swift-commit
mailing list