Debugging: OpenRefine-Projekt für Teil 03
This commit is contained in:
parent
fa1430ef67
commit
36cb5d95cf
|
@ -21,6 +21,7 @@ tasks:
|
|||
- output/02-bibliotheca-main/bibliotheca.csv
|
||||
generates:
|
||||
- output/03-ba-sachsen/ba-sachsen.pic
|
||||
- output/03-ba-sachsen/ba-sachsen.openrefine.tar.gz
|
||||
env:
|
||||
REFINE_WORKDIR: output/03-ba-sachsen
|
||||
REFINE_LOGFILE: log/03-ba-sachsen/{{.DATE}}.log
|
||||
|
|
|
@ -466,6 +466,20 @@ echo
|
|||
|
||||
checkpoint "Export"; echo
|
||||
|
||||
# Export des OpenRefine-Projekts für Tests
|
||||
format="openrefine.tar.gz"
|
||||
echo "export ${p} to ${format} file..."
|
||||
if curl -fs \
|
||||
--data project="${projects[$p]}" \
|
||||
"${endpoint}/command/core/export-project" \
|
||||
> "${workdir}/${p}.${format}"
|
||||
then
|
||||
log "exported ${p} (${projects[$p]}) to ${workdir}/${p}.${format}"
|
||||
else
|
||||
error "export of ${p} (${projects[$p]}) failed!"
|
||||
fi
|
||||
echo
|
||||
|
||||
# Export in PICA+
|
||||
format="pic"
|
||||
echo "export ${p} to pica+ file using template..."
|
||||
|
|
Loading…
Reference in New Issue