abrensch / brouter

configurable OSM offline router with elevation awareness, Java + Android
MIT License
490 stars 118 forks source link

Version numbers and strings #530

Open afischerdev opened 1 year ago

afischerdev commented 1 year ago

One of the plans for the next versions is to set up a beta version on the Play Store to find more test users.

This requires a slightly different usage of version numbers.

Full production versions have a trailing zero, e.g. e.g. 1.7.0 Beta versions between 1.7.0 and 1.8.0 come with 1.7.1 and so on.

The versionCode variable is just a counter it could be changed to 10700 for production 10701 for beta ... So we have a better overview of what versionCode for the versionName.

Only the production versions get a git tag, so F-Droid releases only those.

What do you think?

devemux86 commented 1 year ago

@afischerdev great idea, so more users can easily try the beta versions.

Do you mean the Open testing where users join the app's testing program? (Play Console Help)

You could also set the text "Beta" in the version name, so users know that they are using a beta version.

afischerdev commented 1 year ago

@devemux86

thanks for the idea This makes it clearer for users. And yes, I was thinking about open tests. Doesn't seem like too much work.

zod commented 1 year ago

I also suggested releasing beta versions of the app on the Play Store, so of course I support that suggestion.

I think we should stick to an established versioning scheme like SemVer. I think normally users a familiar that 1.7.1 is a patch to release 1.7 instead of a beta version. versionCode could still be inferred from version number similar to the scheme you suggested by tracking the beta release number in the least significant digit.

afischerdev commented 1 year ago

@zod Thanks for the suggestion. Seems to be usable when I look at the naming conventions.

With a new version '1.7.0' we are on the 'semver' path, we have minor changes for the api on board (I would transfer 'API conform' with our server/apk input rules).

But lets discuss some samples - starting with 1.7.0:

devemux86 commented 1 year ago

Or we just stay with the current versionNumber of 45 and increase that on every need?

:+1:

Although I have worked with both methods in the past, I now prefer this method as it seems much simpler.