History log of /haiku-fatelf/build/scripts/determine_haiku_revision
Revision Date Author Comments
# d86bc7f9 14-Jan-2013 John Scipione <jscipione@gmail.com>

If can't find hrev tags set the version to the short hash

If no hrev tags are found the revision is blank and shows up as
0 in About System. This commit updates the revision function so that
it falls back to the current short hash instead. Only affects devel
builds and only if you've deleted your tags.


# 1b3d2b0c 06-Jun-2011 Oliver Tappe <zooey@hirschkaefer.de>

Simplify haiku-revision for git, now that we provide revision-tags in our central git repo:
* instead of describing the changeset from perspective of the current branch's root,
we describe it relative to the last reachable hrev-tag


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41979 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 901c33fc 24-May-2011 Michael Lotz <mmlr@mlotz.ch>

Replace the $(...) syntax with backticks instead.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41721 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 85d9520e 24-May-2011 Michael Lotz <mmlr@mlotz.ch>

Use gsed instead of sed on Mac OS X as the builtin sed doesn't support all the
options we need. This still requires gsed to be installed from ports.
Fixes #7563.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41719 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 2fe19bf6 16-May-2011 Oliver Tappe <zooey@hirschkaefer.de>

Adjusted code for determining the revision in order to hopefully work on FreeBSD, too
* convert determine_haiku_revision to only contain functions and now pass the arguments
via function call


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41539 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 8ff44a43 15-May-2011 Oliver Tappe <zooey@hirschkaefer.de>

Fix and improve code for determining Haiku revision from a git repo
* break out most of the CopySetHaikuRevision action into a separate script:
determine_haiku_revision
* fix git branch detection such that it'll actually work for local branches (thanks to
Andreas Färber for the hint)
* add some sanity checks


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41520 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 1b3d2b0c460489546d491c94ab250a98ceacd16e 06-Jun-2011 Oliver Tappe <zooey@hirschkaefer.de>

Simplify haiku-revision for git, now that we provide revision-tags in our central git repo:
* instead of describing the changeset from perspective of the current branch's root,
we describe it relative to the last reachable hrev-tag


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41979 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 901c33fcd07eb6b34ea56b99c93357e9e66e0181 24-May-2011 Michael Lotz <mmlr@mlotz.ch>

Replace the $(...) syntax with backticks instead.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41721 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 85d9520ec42dfe58d2d6e0d9f9c9750b00df7835 24-May-2011 Michael Lotz <mmlr@mlotz.ch>

Use gsed instead of sed on Mac OS X as the builtin sed doesn't support all the
options we need. This still requires gsed to be installed from ports.
Fixes #7563.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41719 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 2fe19bf6ac78937f8f1daa77e9519c12f5c978ad 16-May-2011 Oliver Tappe <zooey@hirschkaefer.de>

Adjusted code for determining the revision in order to hopefully work on FreeBSD, too
* convert determine_haiku_revision to only contain functions and now pass the arguments
via function call


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41539 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 8ff44a43293c7a00470f8bf52881f7610899e256 15-May-2011 Oliver Tappe <zooey@hirschkaefer.de>

Fix and improve code for determining Haiku revision from a git repo
* break out most of the CopySetHaikuRevision action into a separate script:
determine_haiku_revision
* fix git branch detection such that it'll actually work for local branches (thanks to
Andreas Färber for the hint)
* add some sanity checks


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41520 a95241bf-73f2-0310-859d-f6bbb57e9c96