Replies: 5 comments 2 replies
-
Why not? Can you please explain a bit about the motivation? Is it about the versioning scheme itself or just where the values are taken from? Changing the versioning schema or configuration is a very critical thing and can break a lot of other things. So it should be done with great care.
That always requires the code to come from a git repository. What if you for instance just download the tar.gz from Github? We also have another additional challenge because we have two repositories: davx5-ose and davx5 for the other (gplay, managed, ...) builds. These have different commit IDs for the same core (the core gradle subproject is always taken from davx5-ose). There's an internal issue that should make sure that davx5-ose and davx5 versioning are always aligned. Currently they're aligned manually.
Would it help to for instance include the commit ID (if taken from git) in the About dialog instead? |
Beta Was this translation helpful? Give feedback.
-
It's just where the values are taken from. Auto generated is in my point of view always better
Ok, I know https://github.com/bitfireAT/davx5-ose but where is the other one ? As I don't know the sense and the limitation, I can only accept like it is
That's a complete unicorn, I just say a CI is your friend ! I at least never did that since the last 20 years. If I could decide this, I would not support it (anymore)
Sure, this would be the cheapest solution, but it needs a git repository as well |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
|
Yes, it would change your current build system. This is intended ! |
Beta Was this translation helpful? Give feedback.


Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Following the before-you-start I make this discussion.
I don't like this manual set of versionName and versionCode
davx5-ose/app-ose/build.gradle.kts
Lines 43 to 44 in 6c47d9f
My idea is to make a pull request where this values are set automatically, similar to https://github.com/AppDevNext/AndroidChart/blob/master/app/build.gradle.kts#L17-L18
Ok, the versionCode need an addition of a magic number, to fit to existing way.
The versionName is under the hood the
git describe --tagswith an addition of-DIRTYif version was made with local un-commited changes.e.g
5.2.1-1-g4cbc821fc-DIRTYThis would solve (just in the future), that I don't know anymore, which exact old apk I use.
Is it worth to make a pull request here ?
Beta Was this translation helpful? Give feedback.
All reactions