Opened 19 years ago
Closed 19 years ago
Last modified 18 years ago
#47 closed enhancement (invalid)
Replace MYTH_BINARY_VERSION with svn derived version string
Reported by: | Owned by: | Isaac Richards | |
---|---|---|---|
Priority: | minor | Milestone: | unknown |
Component: | mythtv | Version: | head |
Severity: | low | Keywords: | |
Cc: | Ticket locked: | no |
Description
Currently, MYTH_BINARY_VERSION is defined in libs/libmyth/mythcontext.h. This would be better done (As suggested earlier by Isaac) as 'real' svn based versions. For example:
"release-0-18-1.2005-05-14.6399" "trunk.2005-07-01.6757"
Attachments (1)
Change History (2)
Changed 19 years ago by
Attachment: | mythsvnversions.patch added |
---|
comment:1 Changed 19 years ago by
Resolution: | → invalid |
---|---|
Status: | new → closed |
No, MYTH_BINARY_VERSION shouldn't change like this. It's an ABI version, not a checkout version. This patch would require the user to recompile all their plugins for absolutely no reason.
Additionally, it shouldn't go in the configure script. Not running configure would cause it to not update the checkout number, and this wouldn't work at all in the case of a release where there aren't any .svn directories.
If this were to be done right, it'd be contained in a separate .cpp file (not a .h) so it doesn't trigger recompiles of large chunks of the code. It'd have to be updated on every checkin as well.
This is the first part of the implementation. It adds getting the version string from the svn information into mythconfig.h