-
-
Notifications
You must be signed in to change notification settings - Fork 5.8k
Remove migration support from versions earlier than 1.6.0 #10026
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
Ugh, brain misfire, of course they can run an older version of Gitea. 🤦♂ |
Codecov Report
@@ Coverage Diff @@
## master #10026 +/- ##
==========================================
- Coverage 43.38% 43.36% -0.03%
==========================================
Files 564 565 +1
Lines 78867 78896 +29
==========================================
- Hits 34220 34214 -6
- Misses 40438 40473 +35
Partials 4209 4209
Continue to review full report at Codecov.
|
tested if version nr changes -> stay the same so gite it a go :) |
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.
docs ...
@guillep2k I think we should leave a hint on https://docs.gitea.io/en-us/upgrade-from-gogs/#upgrading-to-most-recent-gitea-version and if there are other places witch tell about upgrading update them too |
@6543 done. |
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.
thx
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.
Hmm, what about checking version?
@bagasme what do you mean, migration already checkes DB version |
@6543 checking Gitea version |
Not needed |
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.
One doc nit, otherwise LGTM
ping lgtm |
ping it again ;) |
Who does the merging ? |
Closes #9953
This PR removes support for migrations earlier than 1.6.0, as per vote at #9953.
The motivation is that users migrating from versions earlier than that are getting errors due to missing tables and columns. Our usual recommendation (upgrade in steps through intermediate versions) normally works for them.