denshoproject / ddr-cmdln

Command-line tools for automating the Densho Digital Repository's various processes.
Other
0 stars 2 forks source link

ddrindex publish fails for "private" or "in progress" objects #58

Closed gjost closed 6 years ago

gjost commented 6 years ago

Philip (2018-03-09 16:15): ddrindex publish does not run if object is set to "private" or "in progress":

ddrindex publish --recurse --all /var/www/media/ddr/ddr-COLLECTION-NUM]
gjost commented 6 years ago

[UPDATED] The behavior around unpublished items is slightly different. Instead of the --all flag use --force.

ddrindex publish --recurse --force /var/www/media/ddr/ddr-COLLECTION-NUM

Please give that a try and let me know if there's still a problem.

pkikawa commented 6 years ago

testing now

*edit: ddrindex publish --recurse --force /var/www/media/ddr/ddr-COLLECTION-NUM working correctly