Closed bertsky closed 1 year ago
Don't you think it's a better way to customize the global function post_validate_workdir
in the file ocrd_lib.sh
than in any implementation file or do you see the ocrd_lib.sh
as a snippet library without "logic"?
Don't you think it's a better way to customize the global function
post_validate_workdir
in the fileocrd_lib.sh
than in any implementation file or do you see theocrd_lib.sh
as a snippet library without "logic"?
I do see ocrd_lib.sh as a library of sorts. If we wanted to differentiate various validation options, then we should indeed handle this inside ocrd_lib.sh, but for the moment I don't see the need (and validation can get quite complex, so OCR-D should IMO encapsulate all of it).
needed as a stopgap measure; currently needed because we must wait for adoption of OCR-D/core#1066
After merge we must surely adapt our script in Kitodo.Production as well?
After merge we must surely adapt our script in Kitodo.Production as well?
No, IMO it's enough to wait for the next ocrd_all release, since I have fixed the remaining processors now, they just need to be merged (which will likely happen sooner than our users updating their Kitodo).
needed as a stopgap measure; currently needed because we must wait for adoption of https://github.com/OCR-D/core/pull/1066