[mythtv] Packaging from tarball - version
Craig Treleaven
ctreleaven at cogeco.ca
Mon Jul 2 20:03:26 UTC 2012
At 12:40 PM -0700 7/2/12, Gavin Hurlbut wrote:
>On Sun, Jun 10, 2012 at 7:27 AM, Craig Treleaven <ctreleaven at cogeco.ca> wrote:
>> Please attach all output as a file in bug reports.
>> MythTV Version : v0.25-9ccfac11f3
>
>This is the incorrect format. It should be TAG-commitcount-gSHA1-dirty
>
>where:
>TAG is the tag this is downstream from (closest downstream)
>commitcount is the number of commits since that tag
>and SHA1 is the abbreviated SHA1 of the commit itself
>-dirty is added if there are uncommitted changes since the commit
>
>It is the output of git describe --dirty
>
>> MythTV Branch : fixes/0.25-MacPorts
>
>If that's the actual branch the commit is on. Please use the real
>branch name. If you want to append -MacPorts to the version string
>instead, I think it would make more sense than putting an incorrect
>branch name.
OK, I can move -MacPorts to the version string rather than append it
to the branch.
The commitcount is a problem, though. MacPorts is fundamentally
designed around building from tarballs so, in the build system, I
don't know of any way to ask git for this information. I thought
(wrongly?) that some other packager somewhere must also be building
from tarballs and thus faced with the same constraint. This can't be
a deal-breaker if the SHA1 is listed, right? From that, it is easy
enough to get everything else.
Craig
PS I'm a bit confused why this has come up three weeks later?
More information about the mythtv-dev
mailing list