[llvm-dev] [cfe-dev] [lldb-dev] GitHub anyone?
Mehdi Amini via llvm-dev
llvm-dev at lists.llvm.org
Thu Jun 2 11:25:13 PDT 2016
> On Jun 2, 2016, at 11:22 AM, Robinson, Paul <paul.robinson at sony.com> wrote:
>>> How do you get monotonically increasing number with a history graph?
>> I think what we're trying to get is a "pushed" revision number, i.e.
>> tracking the state of the upstream repositories at a given time.
> I think I've mentioned this before but internally we are (mostly) using
> "rev-list --count --first-parent branch-name" which gives us a
> monotonically increasing number per-branch. The --first-parent means
> each merge counts as one, which is enough for build-number uniqueness.
> Unique sequential build numbers meet our internal needs. If this number
> gets incorporated into the version numbering self-reported by Clang/LLVM,
> then it's not hard to map back onto git commits.
I think I've answered to this before but it does not help to solve the cross-repository problem, we need a "meta integration repository".
More information about the llvm-dev