Closed GeoffFroh closed 4 years ago
So,
--administrative
flag.--access
flag. Always copy access files for the requested file roles.--forceall
flag that bypasses status
and public
checks.Note that ddr-pubcopy
does not check status
or public
- it just copies whatever is there. The helptext says to run this after filtering a collection.
We should have the command check status
and public
if possible. We haven't used ddr-filter
in the publication workflow for several years.
Please take a look at feasibility and time-required.
I can add the checks. Shouldn't take too long.
Fixed in ddr-cmdln commit 837b1ee for package ddrlocal-develop_2.8.8-2~deb9.
fixed in version 2.8.9 MA
Successfully ran ddr-pubcopy
on ddr-develop_2.8.9-5
.
ddr-pubcopy
currently has four flags to select file types --access
,master
,mezzanine
, andtranscript
.The command should only support the following DDR file roles:
master
mezzanine
transcript
administrative
When a role is selected, the command should copy both the binaries in that role and the matching access files (e.g.,
ddr-densho-2-mezzanine-45aad3499c.tif
andddr-densho-2-mezzanine-45aad3499c-a.jpg
).As is the case now, the command should only copy binaries where the parent entity is
status
==completed
andpublic
==1
, and the binary itself haspublic
==1
. (Enhancement: maybe a--forceall
flag that copies unpublished, private binaries as well)