There is a newer version of this record available.

Software Open Access

BETYdb 4.20 Upgrade to Rails 4.2

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


Citation Style Language JSON Export

{
  "publisher": "Zenodo", 
  "DOI": "10.5281/zenodo.1199667", 
  "language": "eng", 
  "title": "BETYdb 4.20 Upgrade to Rails 4.2", 
  "issued": {
    "date-parts": [
      [
        2018, 
        3, 
        15
      ]
    ]
  }, 
  "abstract": "<p>Draft Release Notes (Rails 4.2)</p>\n\n<p>Upgrade to Rails 4.2; several bug fixes. Summary of Changes</p>\n\n<p>This release upgrades the version of Rails used from 3.2 to 4.2.</p>\n\n<p>New features</p>\n\n<ul>\n\t<li>\n\t<p>Added Rake tasks for dumping and updating SQL comments using YAML files (pull request #543).</p>\n\t</li>\n\t<li>\n\t<p>On the Advanced Search page, traits and yields are now searchable by method name (pull request #506)</p>\n\t</li>\n\t<li>\n\t<p>When creating or editing Managements, possible management types now include &quot;thining&quot; and &quot;other&quot; (pull request #546).</p>\n\t</li>\n</ul>\n\n<p>Bug fixes</p>\n\n<ul>\n\t<li>\n\t<p>Issue #533 (&quot;Trait/entity notes don&#39;t get populated through Bulk Upload Wizard&quot;)</p>\n\n\t<p>If a Bulk Upload file has a &quot;notes&quot; column, those notes now show up in the newly-created traits or yields.</p>\n\t</li>\n\t<li>\n\t<p>Issue #552 (&quot;Travis fails trying to create postgis extension.&quot;)</p>\n\n\t<p>Travis now runs RSpec successfully so builds no longer always fail.</p>\n\t</li>\n</ul>\n\n<p>Other Changes</p>\n\n<ul>\n\t<li>\n\t<p>Updated DBMS named in the README file from MySQL to PostgreSQL (long overdue).</p>\n\t</li>\n\t<li>\n\t<p>Docker cleanup (pull requests #537 and #550).</p>\n\t</li>\n</ul>\n\n<p>Steps Needed for Upgrade</p>\n\n<ol>\n\t<li>Log in to the server.</li>\n\t<li>cd to the Rails root directory.</li>\n\t<li>Run <code>git pull</code> to get the lastest version of the master branch.</li>\n\t<li>Run <code>bundle</code> to 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.</li>\n\t<li>The file <code>config/secrets.yml</code> expects a variable called <code>SECRET_KEY_BASE</code> to be in the environment. To generate a suitable value for this variable, run <code>rake secret</code>.</li>\n\t<li>Ensure this variable is in the environment seen by the HTTP server. If you run your BETYdb app under Apache HTTP server, one way to do this is to put a directive of the form\n\t<pre><code>SetEnv SECRET_KEY_BASE some_secret_key\n</code></pre>\n\tin the <code>&lt;Directory&gt;</code> section of the configuration file corresponding to the BETYdb instance you have deployed.</li>\n\t<li>Restart the HTTP server, e.g. <code>sudo apachectl restart</code>.</li>\n</ol>\n\n<p>[In lieu of steps 6 and 7, you could also edit <code>config/secrets.yml</code> directly, replacing</p>\n\n<pre><code>&lt;%= ENV[\"SECRET_KEY_BASE\"] %&gt;\n</code></pre>\n\n<p>with the value you generated in step 5; then restart PhusionPassenger by running <code>touch tmp/restart.txt</code>. This is not the preferred way of doing things, however, since Git will then always show this file as modified.]</p>\n\n<p>Status of RSpec Tests</p>\n\n<p>All non-pending tests pass when run in the default environment. (There is one pending test having to do with site-group editing permissions.)</p>\n\n<p>Complete details for running the RSpec tests are at <a href=\"https://pecan.gitbooks.io/betydb-documentation/content/automated_tests.html\">https://pecan.gitbooks.io/betydb-documentation/content/automated_tests.html</a>.</p>", 
  "author": [
    {
      "family": "Scott Rohde"
    }, 
    {
      "family": "Carl Crott"
    }, 
    {
      "family": "David LeBauer"
    }, 
    {
      "family": "Patrick Mulrooney"
    }, 
    {
      "family": "Rob Kooper"
    }, 
    {
      "family": "Jeremy Kemball"
    }, 
    {
      "family": "Jimmy Chen"
    }, 
    {
      "family": "Andrew Shirk"
    }, 
    {
      "family": "Zhengqi Yang"
    }, 
    {
      "family": "Max Burnette"
    }, 
    {
      "family": "Haotian \tJiang"
    }, 
    {
      "family": "Yilin Dong"
    }, 
    {
      "family": "Uday Saraf"
    }, 
    {
      "family": "Michael Dietze"
    }, 
    {
      "family": "Chris Black"
    }
  ], 
  "note": "Development of BETYdb is supported by the National Science Foundation (ABI #1062547, ABI #1458021),  the Department of Energy (ARPA-E awards #DE-AR0000594 and DE-AR0000598), and the Energy Biosciences Institute.", 
  "version": "betydb_4.20", 
  "type": "article", 
  "id": "1199667"
}
191
24
views
downloads
All versions This version
Views 19144
Downloads 240
Data volume 326.7 MB0 Bytes
Unique views 13040
Unique downloads 130

Share

Cite as