Age | Commit message (Collapse) | Author |
|
interface, to ensure no "duplicate function" errors when compiling
|
|
|
|
|
|
they need
We were using Pipeliner as a catch-all, but it's nicer if the functions
can just state that e.g. they need download functionality, so decompose
things so that that's how we do things now.
|
|
This involved adding a test queue, so it can be run safely without
intefering with the pipeline.
|
|
This prevents issues if a .DS_Store file is present in a directory.
|
|
|
|
available to Pipeliner
|
|
an error
This is needed so that in tests the error can be selected out reliably,
rather than an empty process signal.
|
|
|
|
|
|
|
|
after the book being processed
|
|
This can also result in the file being uploaded twice simultaneously,
as up() is running in a separate goroutine. This can cause failures
on Windows as the file is attempted to be removed by one upload
process while being open to upload by the other process. Probably it
could also fail if the process completed by one (so the file was
deleted) before being started by the other.
|
|
There were a couple of places where a file was uploaded while still open,
which resulted in an attempt to remove it, which causes an error from
Windows.
The allOCRed function also included an assumption that the path separator
would be a /, which is always correct for AWS, and correct for local on
Linux and OSX, but not for local Windows. Fixed by leaving the separator
well alone.
Also, the local connection was not stripping leading \, like it did /,
which caused an issue with Windows local.
Windows local is now tested and working, at least through wine.
|
|
|
|
some error output)
|
|
|
|
only use 0.1,0.2,0.3
|
|
minimal.
|
|
called rescribe
|
|
No functionality changes, but this should make it easier to make custom
builds using the pipeline in slightly different ways.
|