-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
Projects: remove old/non-used fields #11124
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
Conversation
Follow safe migrations instructions from https://dev.readthedocs.io/en/latest/migrations.html to remove these fields.
We are removing some old project data here as cleanup. Is there any reason why we wouldn't want to do this? cc @stsewd @agjohnson @ericholscher |
Maybe to help migrate people to use a config file, but if we no longer show those values in the UI, don't think there is a strong reason. |
Yeah, we don't show them anymore. We showed them for a few months to help with the migration before removing them from the UI. |
…mitos/remove-old-project-fields
This field is not required anymore. It has to be defined in the YAML config file now. This PR continues the work done in #11124
I created DB snapshots just in case. I going to merge this PR. |
* Projects: remove old/non-used fields Follow safe migrations instructions from https://dev.readthedocs.io/en/latest/migrations.html to remove these fields. * Lint * Keep `Project.documentation_type` to avoid breaking changes * Remove fields from fixture * Remove more leftovers * Lint * Rename migrations * Fix tests * Projects: remove `requirements_file` This field is not required anymore. It has to be defined in the YAML config file now. This PR continues the work done in #11124 * Update migration
Follow safe migrations instructions from
https://dev.readthedocs.io/en/latest/migrations.html to remove these fields.
You can skip 5c556ec from the review since it's the lint for the
projects/models.py
file --which I'm not sure why it wasn't applied before.