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

Add a database schema image to the docs #1150

Merged
merged 1 commit into from Jan 17, 2017

Conversation

jeremycline
Copy link
Member

This generates a schema diagram from the SQLAlchemy models.

Signed-off-by: Jeremy Cline jeremy@jcline.org

@jeremycline
Copy link
Member Author

It looks like this
database

- name: Install sqlalchemy_schemadisplay
command: pip install sqlalchemy_schemadisplay
args:
creates: /usr/lib/python2.7/site-packages/sqlalchemy_schemadisplay.py
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I assume this isn't packaged for Fedora? If so, we will need to package it, because the bodhi package in Fedora builds the docs. If this isn't present, will the docs build fail?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jeremycline Can you move this to be installed by RPM in the list above, with the assumption that it will be called python2-sqlalchemy_schemadisplay?

@bowlofeggs
Copy link
Contributor

This looks great! I think we should get that sqlalchemy thing packaged for Fedora so the docs will build. I don't mind taking that on, unless you want to do it. Until that is present in Fedora/EPEL 7, I think we need to hold this PR so we don't end up having it be a release blocker.

@bowlofeggs
Copy link
Contributor

I talked to @jeremycline in person and I agreed to package sqlalchemy_schemadisplay myself, and he agreed to review it. We will have to hold the PR until it is in Fedora.

- name: Install sqlalchemy_schemadisplay
command: pip install sqlalchemy_schemadisplay
args:
creates: /usr/lib/python2.7/site-packages/sqlalchemy_schemadisplay.py
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jeremycline Can you move this to be installed by RPM in the list above, with the assumption that it will be called python2-sqlalchemy_schemadisplay?

@bowlofeggs
Copy link
Contributor

The package review is now approved, so we just need to get it built and released for the Vagrant environment to merge this. If you want, you can use the koji https:// URL until it's actually in Fedora.

This generates a schema diagram from the SQLAlchemy models.

Signed-off-by: Jeremy Cline <jeremy@jcline.org>
@jeremycline
Copy link
Member Author

I have built it for Rawhide through EPEL 7 and updated the PR to install the RPM package from Koji with a note about changing it when the F24 update is stable.

Copy link
Contributor

@bowlofeggs bowlofeggs left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @jeremycline!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants