[OpenAFS] Re: buildbot and packages

Ken Dreyer ktdreyer@ktdreyer.com
Mon, 17 Sep 2012 16:10:35 -0600


On Mon, Sep 17, 2012 at 3:41 PM, Andrew Deason <adeason@sinenomine.net> wrote:
> On Mon, 17 Sep 2012 10:25:38 -0600
> Ken Dreyer <ktdreyer@ktdreyer.com> wrote:
>
>> I think a good next step would be to decide how we should handle
>> version numbers in snapshot packages. For example: should configure.ac
>> in the 1_6_x branch contain something like "1.6.2" or "1.6.2git" right
>> now, and a build script could tack on a date or git hash to that
>> number every night? I'm open to writing patches to the
>> "build-tools/git-version" script, or otherwise.
>
> Isn't this what we already have? If you have a source tree that's not
> exactly the commit for e.g. openafs-stable-1_6_1, you get a string
> saying how many commits you are from a known point, and a git hash. So,
> we should be able to identify exactly what build something came from,
> with the existing versioning code, unless I'm mistaken here.

Ideally yes. The issue that I'm seeing is that the last tag on the
openafs-stable-1_6_x branch was not 1.6.1 final; the
openafs-stable-1_6_1 tag was placed on a child branch of the main
1_6_x branch. So I'm finding it hard to dig the value out with git
describe.

$ git checkout openafs-stable-1_6_x
Switched to branch 'openafs-stable-1_6_x'

$ ./build-tools/git-version .
1.6.1pre2-163-g4e480

- Ken