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

Umdl delete #95

Merged
merged 2 commits into from Jun 22, 2015
Merged

Umdl delete #95

merged 2 commits into from Jun 22, 2015

Conversation

adrianreber
Copy link
Member

I am not sure this 100% correct, but this are the minimal changes to make umdl's delete option work again. Running umdl with --delete in Fedora's MM staging instance reduces the size of a database dump from 800MB to 760MB.

Since being ported to MM2 umdl's --delete functionality has never been
used and was still using the old and now not-existing SQLObject
interface. Change it to use the SQLAlchemy interface.

Running umdl with --delete decreases the size of the Fedora MM instance
database dump from 800MB to 760MB.
For the previous commit "Re-Enable --delete functionality in umdl" to
work the delete of a Directory object has to be cascaded through all the
other database tables which are referencing the deleted Directory object.
@pypingou
Copy link
Member

Simple enough, 👍 for me

adrianreber added a commit that referenced this pull request Jun 22, 2015
@adrianreber adrianreber merged commit d1f48fb into fedora-infra:master Jun 22, 2015
@adrianreber adrianreber deleted the umdl-delete branch September 3, 2015 07:35
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