[mythtv-commits] Ticket #13246: Add Real versionName and versionCode to Android Package
MythTV
noreply at mythtv.org
Tue Mar 13 23:59:40 UTC 2018
#13246: Add Real versionName and versionCode to Android Package
----------------------------------+-----------------------------
Reporter: gigem | Owner: markspieth
Type: Bug Report - General | Status: new
Priority: minor | Milestone: 30.0
Component: Ports - Android | Version: Master Head
Severity: medium | Resolution:
Keywords: | Ticket locked: 0
----------------------------------+-----------------------------
Comment (by pbennett):
Replying to [ticket:13246 gigem]:
> Suggestions on what to use for the versionCode are welcome. Some texts
suggest <major> * 10000 + <minor> * 100 + <patch>. Currently, MythTV only
uses <major> and <minor>.
I think we have to create multiple application names - MythTV29, MythTV30,
MythTV31 etc., because we cannot expect everybody to be on the latest
version.
That said, the version only has to be unique within MythTV30, MythTV31,
etc.
Possibilities
* date and time built - yyyymmddhhmmss
* minor version code number * 1000 plus additional commit number from git
describe. Minor version code number will have to be something like this
* "-pre" = 00
* "-rc1" = 01
* "-rc2" = 02
* ".0" = 10
* ".1" = 11
* ".2" = 12
Examples of second method
* v30-Pre-543-g697bf77 = MythTV30 version code 00543
* v29.1-9-g67e8d62 = MythTV29 version code 11009
--
Ticket URL: <https://code.mythtv.org/trac/ticket/13246#comment:3>
MythTV <http://www.mythtv.org>
MythTV Media Center
More information about the mythtv-commits
mailing list