Skip to content

BETYdb 4.19

Compare
Choose a tag to compare
@gsrohde gsrohde released this 07 Sep 04:17
· 432 commits to master since this release

Publication of the beta API as version 1 (/api/v1); major speed-up of Bulk Upload wizard and several bug fixes.

Summary of Changes

Bug fixes

  • Issue #452 ("Unhelpful 'Bulk Upload' error message")

  • Issue #523 ("Can't delete variables via the BETYdb Rails app")

  • Issue #525 ("Pagination issue in BETY web interface when searching species") When editing a PFT and revising the species list, it is now possible to search for species and page correctly through the resulting list of search results.

  • Trying to visit an API endpoint of the form /api/v1/search/19 used to result in a cryptic error. Now it takes one to the /api/docs page (as do other invalid API routes) on which this is no longer listed as a valid route.

Other Changes

  • Published beta API as "v1" (version 1). Note that the beta API URLs are still valid.

  • Data access level 2 is now called "Internal & Collaborators" instead of "Internal EBI & Collaborators".

  • Major speed-up of the validation stage of the Bulk Upload wizard. This now should run up to two-thirds faster.

The remaining changes are probably of most interest to developers:

  • Migrated to using YARD (see http://yardoc.org) as the default application documentation generator, replacing RDoc. Running rake doc:app now runs YARD.

  • Simplified and better documented the XML schema used to validate XML files used in uploading new traits via the API.

  • Better documentation of other code, especially code implementing the Bulk Upload wizard.

  • Added extraction of the trait-upload XML schema documentation to the doc:app Rake task.

Steps Needed for Upgrade

Gem Installation

Administrators need to run the bundler to install the YARD gem.

Run bundle install from the Rails root directory.

Status of RSpec Tests

All non-pending tests pass when run in the default environment. (There is one pending test having to do with site-group editing permissions.) The tests can be run using the command

 bundle exec rspec

Complete details for running the RSpec tests are at https://pecan.gitbooks.io/betydb-documentation/content/automated_tests.html.