Software Open Access
Scott Rohde; Carl Crott; David LeBauer; Patrick Mulrooney; Rob Kooper; Jeremy Kemball; Jimmy Chen; Andrew Shirk; Zhengqi Yang; Max Burnette; Haotian Jiang; Yilin Dong; Uday Saraf; Michael Dietze; Chris Black
Draft Release Notes (Rails 4.2)
Upgrade to Rails 4.2; several bug fixes. Summary of Changes
This release upgrades the version of Rails used from 3.2 to 4.2.
Added Rake tasks for dumping and updating SQL comments using YAML files (pull request #543).
On the Advanced Search page, traits and yields are now searchable by method name (pull request #506)
When creating or editing Managements, possible management types now include "thining" and "other" (pull request #546).
Issue #533 ("Trait/entity notes don't get populated through Bulk Upload Wizard")
If a Bulk Upload file has a "notes" column, those notes now show up in the newly-created traits or yields.
Issue #552 ("Travis fails trying to create postgis extension.")
Travis now runs RSpec successfully so builds no longer always fail.
Updated DBMS named in the README file from MySQL to PostgreSQL (long overdue).
Docker cleanup (pull requests #537 and #550).
Steps Needed for Upgrade
git pullto get the lastest version of the master branch.
bundleto upgrade several Gems (including Rails itself) and to add new Gems that are no longer part of Rails proper are that are needed to support legacy Rails behaviors until code is updated to no longer need this legacy support.
config/secrets.ymlexpects a variable called
SECRET_KEY_BASEto be in the environment. To generate a suitable value for this variable, run
SetEnv SECRET_KEY_BASE some_secret_key
<Directory>section of the configuration file corresponding to the BETYdb instance you have deployed.
sudo apachectl restart.
[In lieu of steps 6 and 7, you could also edit
config/secrets.yml directly, replacing
<%= ENV["SECRET_KEY_BASE"] %>
with the value you generated in step 5; then restart PhusionPassenger by running
touch tmp/restart.txt. This is not the preferred way of doing things, however, since Git will then always show this file as modified.]
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.)
Complete details for running the RSpec tests are at https://pecan.gitbooks.io/betydb-documentation/content/automated_tests.html.
LeBauer, D., Kooper, R., Mulrooney, P., Rohde, S., Wang, D., Long, S. P., & Dietze, M. C. (2018). BETYdb: a yield, trait, and ecosystem service database applied to second‐generation bioenergy feedstock production. GCB Bioenergy, 10(1), 61-71
LeBauer, David, Michael Dietze, Rob Kooper, Steven Long, Patrick Mulrooney, Gareth Scott Rohde, Dan Wang (2010). Biofuel Ecophysiological Traits and Yields Database (BETYdb), Energy Biosciences Institute, University of Illinois at Urbana-Champaign. doi:10.13012/J8H41PB9