Tusky-App-Android/app
mcclure 70f8e8ba93
Implement new policy: The database version number is always even (#4128)
Posted this as issue #3999 before. The reasoning is personal experiments
and forks may add database fields and must bump the database number to
do so, but this causes massive merge difficulties when Tusky then
inevitably itself bumps the number. To alleviate this, Tusky official
should use only even database numbers, so odd versions are available for
third party scribbling.

There was little discussion positive or negative in #3999 (one proposal
we switch to a date-based number system, which would work but also could
be unnecessarily complicated). With PR #4115 we now have to make a
decision because that's the first post-proposal PR to bump the database
number odd. So, since I see no outright objections, I'd like to
implement this.

@connyduck suggested the best way to implement the proposal would be to
add a comment to the version number's home in AppDatabase.java.

Co-authored-by: Konrad Pozniak <connyduck@users.noreply.github.com>
2024-01-03 22:21:18 +01:00
..
schemas/com.keylesspalace.tusky.db.AppDatabase 3532: Show badge on conversations tab on new conversations (#3890) 2023-10-15 21:39:38 +02:00
src Implement new policy: The database version number is always even (#4128) 2024-01-03 22:21:18 +01:00
build.gradle Migrate to Hilt KSP compiler (#4136) 2024-01-03 21:16:05 +01:00
getGitSha.gradle Previous attempt to fix git sha on non-git build broke git build. (#3322) 2023-02-16 20:20:52 +01:00
lint-baseline.xml fix broken lint-baseline.xml 2023-12-16 19:56:40 +01:00
lint.xml Make linting failures opt-in instead of opt-out 2023-09-07 14:20:30 +02:00
proguard-rules.pro Remove shrinker rules for okhttp (#3560) 2023-04-24 12:08:03 +02:00