Skip to content

Commit

Permalink
Merge pull request #71 from amiaopensource/show-name-of-target
Browse files Browse the repository at this point in the history
add reporting of target
  • Loading branch information
privatezero authored Mar 8, 2017
2 parents 051f90a + 433ea24 commit d533af3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ingestcollectionchecksum
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ if [ -d "${1}" ] ; then
db_fixity=$(cat "${i}")
MEDIA_ID=$(basename "${i}" | cut -d'_' -f1)
eventType="ingest"
echo "Ingesting ${i}"
_report_to_db
_eventoutcome_update
_report_fixity_db
Expand All @@ -23,6 +24,7 @@ elif [ -f "${1}" ] ; then
db_source="${1}"
MEDIA_ID=$(basename "${db_source}" | cut -d'_' -f1 | cut -d'.' -f1)
eventType="ingest"
echo "Ingesting ${1}"
_report_to_db
_eventoutcome_update
_report_fixity_db
Expand Down
2 changes: 2 additions & 0 deletions ingestschemas
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ if [ -d "${1}" ] ; then
cd "${1}"
for i in *.schema ; do
xmlschema="${i}"
echo "Ingesting ${i}"
MEDIA_ID=$(basename "${xmlschema}" | cut -d'.' -f1)
eventType="ingest"
_report_to_db
Expand All @@ -20,6 +21,7 @@ elif [ -f "${1}" ] ; then
xmlschema="${1}"
MEDIA_ID=$(basename "${xmlschema}" | cut -d'.' -f1)
eventType="ingest"
echo "Ingesting ${1}"
_report_to_db
_report_schema_db
_eventoutcome_update
Expand Down

0 comments on commit d533af3

Please sign in to comment.