Even though you said to leave bulk downloads till the very end, this small change to scripts/generate-bulk-downloads allows us to get rid of a fair bit of Library code. The script is still a beast to run, but it doesn't run any slower after getting the ebooks from the DB instead of the filesystem.
I won't work on any further changes to bulk downloads until the rest of the site is running well with the commits in this branch.
Even though you said to leave bulk downloads till the very end, this small change to
scripts/generate-bulk-downloads
allows us to get rid of a fair bit ofLibrary
code. The script is still a beast to run, but it doesn't run any slower after getting the ebooks from the DB instead of the filesystem.I won't work on any further changes to bulk downloads until the rest of the site is running well with the commits in this branch.