tripal/t4d8

Chado install schema -custom name

Closed this issue · 3 comments

Task based on #52

Excerpt:

For now, I'm focusing my thoughts on:

  1. Ability to install chado in a different schema name.
  2. Upgrade current hook system for chado queries perhaps supporting user-associated chado schema name.
  3. Chado schema name in entity linking tables with associated Drupal permissions (including alter hook).
  4. And of course, associated automated testing.

With backwards compatibility through smart defaults in mind.

This issue is focusing on allowing chado to be installed in a different chado schema name and allowing a new chado install beside an existing one.

Working in branch 57-customChadoInstall. Upgraded functions to a custom Drupal 8/9 service but kept tripal_chado_load_drush_submit() and tripal_chado_install_chado(). Just need to add automated testing and some form improvements.

I've now

  • added documentation,
  • abstracted parts of the chado install into a bulkPgSchemaInstaller service which facilitates installation of other database schema.
  • added automated tests for the bulkPgSchemaInstaller service

Left to be done:

  • improve the form so that the schema name are advanced options
  • add automated testing for the form
  • add automated testing for the chado installer
  • add table to keep track of installed schema
  • update form to show multiple schema if installed
  • add drop schema option
  • update old schema api to match new chado reality
  • add error checking to schema api and new installers

PR Submitted! Please Review <3