Skip to content

Whitman revision 1.

Compare
Choose a tag to compare
@bmschmidt bmschmidt released this 03 Dec 21:07
· 190 commits to master since this release

A variety of incremental improvements and bugfixes.

Performance improvements

  • add_metadata now automatically reboots the tables it created, and only those tables.
  • The underlying script no longer constructs a useless dictionary when the identifier is bookid; supplementary data keyed to bookid can now be loaded in extremely quickly. This and the preceding are good for the HTRC workset use case.

Code niceness

  • The test suite is more fully empowered, and the tests are now independent of each other. (Although there are still a bunch of assertions in the primary test, since it's sequential on itself.)
  • Adding a single class in configuration.py to handle searching for mysql configuration files; this should start to pay dividends as we get these files in various different places.
  • configuration.py now folds in the files from fix_config.py; there are still more different modules
  • A few vestigial code blocks have been deleted.

Bug fixes

  • Supplementing metadata from a tsv with no field descriptions file works again.
  • Several necessary files for the python setuptools script are now present.
  • Using console_scripts in setuptools to handle provisioning of binaries, since that seems to work better.