Skip to content

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

Merged
merged 10 commits into from
Feb 27, 2024
Merged

Conversation

humitos
Copy link
Member

@humitos humitos commented Feb 19, 2024

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.

@humitos humitos requested a review from stsewd February 19, 2024 11:22
@humitos humitos requested a review from a team as a code owner February 19, 2024 11:22
@humitos
Copy link
Member Author

humitos commented Feb 20, 2024

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

@stsewd
Copy link
Member

stsewd commented Feb 20, 2024

We are removing some old project data here as cleanup. Is there any reason why we wouldn't want to do this?

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.

@humitos
Copy link
Member Author

humitos commented Feb 20, 2024

Maybe to help migrate people to use a config file, but if we no longer show those values in the UI,

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.

@humitos humitos requested review from agjohnson and stsewd February 21, 2024 09:36
humitos added a commit that referenced this pull request Feb 21, 2024
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
@humitos
Copy link
Member Author

humitos commented Feb 27, 2024

I created DB snapshots just in case. I going to merge this PR.

@humitos humitos enabled auto-merge (squash) February 27, 2024 09:49
@humitos humitos merged commit 98e33f4 into main Feb 27, 2024
@humitos humitos deleted the humitos/remove-old-project-fields branch February 27, 2024 10:06
humitos added a commit that referenced this pull request Mar 25, 2024
* 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
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.

3 participants