Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Convert install_model to declarative mapping #12756

Merged
merged 23 commits into from Oct 21, 2021

Conversation

jdavcs
Copy link
Member

@jdavcs jdavcs commented Oct 20, 2021

Progress toward #10369 and #12541 (and the no-longer-elusive declarative bliss)
(Same justification as in #12666)

To do:

  • Add mapping tests for all models
  • Map all models except ToolShedRepository declaratively
  • Map ToolShedRepository declaratively (requires solving the metadata attribute issue)

Technical dept:
I'll handle test setup duplication in the following PR (it's out of scope, better fit for a separate set of commits)

How to test the changes?

(Select all options that apply)

  • I've included appropriate automated tests.
  • This is a refactoring of components with existing test coverage.

License

@jdavcs jdavcs added status/WIP kind/refactoring cleanup or refactoring of existing code, no functional changes area/testing area/database Galaxy's database or data access layer labels Oct 20, 2021
@jdavcs jdavcs added this to the 22.01 milestone Oct 20, 2021
@jdavcs jdavcs added this to In progress in Backend Working Group Oct 20, 2021
Rename metadata to metadata_. This will break things.
(we are only renaming the model attribute, not the table column)
Next step: rename all instances of [ToolShedRepository].metadata in code base.
@jdavcs jdavcs force-pushed the dev_install_model_declarative branch from a44d779 to 404bac3 Compare October 21, 2021 00:59
@jdavcs jdavcs changed the title [WIP] Convert install_model to declarative mapping Convert install_model to declarative mapping Oct 21, 2021
@jdavcs jdavcs removed the status/WIP label Oct 21, 2021
@jdavcs jdavcs moved this from In progress to Done in Backend Working Group Oct 21, 2021
@jdavcs jdavcs marked this pull request as ready for review October 21, 2021 01:28
@mvdbeek mvdbeek merged commit f302a2d into galaxyproject:dev Oct 21, 2021
@jdavcs jdavcs deleted the dev_install_model_declarative branch October 22, 2021 16:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/database Galaxy's database or data access layer area/testing kind/refactoring cleanup or refactoring of existing code, no functional changes
Development

Successfully merging this pull request may close these issues.

None yet

2 participants