-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
Remove unused project model fields #4870
Remove unused project model fields #4870
Conversation
Codecov Report
@@ Coverage Diff @@
## master #4870 +/- ##
==========================================
- Coverage 76.93% 76.79% -0.15%
==========================================
Files 158 158
Lines 10038 9932 -106
Branches 1259 1241 -18
==========================================
- Hits 7723 7627 -96
+ Misses 1981 1973 -8
+ Partials 334 332 -2
|
@humitos |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! Thanks.
I'd wait for another one to take a look at this PR before merging because it has an impact in the database.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
And more related code that uses the functions/methods above ^ |
@stsewd
I think, this is no longer needed |
@dojutsu-user seems safe to remove |
@stsewd |
Just restarted the job. I'm not sure if this PR is ready for review, but there is more code to remove. |
@stsewd |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a lot of code removed 🎉, I rebased to master and built a project locally and the versions didn't explode.
@agjohnson why did you mark it as "Work in progress"? It seems that it's ready to be merged. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This brings me great joy. Being the person who originally implemented supported versions, they never worked well for the majority of use cases, and were way too confusing for users. 💯
The only thing we need to think about here is the deployment. Because we're deleting a bunch of fields, it will break the webs during deploy, so we should make sure to deploy the webs in quick succession.
We need to fix the migrations |
I have edited and renamed the migrations file. |
Thanks for this PR @dojutsu-user 💯 ! |
Fixes #4866