Re: [lldb-dev] [llvm-dev] [cfe-dev] Sequential ID Git hook

2016-07-05 Thread Bruce Hoult via lldb-dev
On Sat, Jul 2, 2016 at 3:18 AM, Tom Honermann via llvm-dev < llvm-...@lists.llvm.org> wrote: > We're using tags in this manner for our internal repos and LLVM/Clang > mirrors and haven't experienced any problems. We're at ~50k tags for > our most used repo, so not quite at hundreds of thousands y

Re: [lldb-dev] [llvm-dev] [cfe-dev] Sequential ID Git hook

2016-07-04 Thread Jeremy Lakeman via lldb-dev
Very few operations search for commit objects by reading every single commit file. Most operations that read commit objects already know what they are looking for based on their hash. Plus, over time commit objects are packed into well indexed archive files, so the total number of commits stored in

Re: [lldb-dev] [llvm-dev] [cfe-dev] Sequential ID Git hook

2016-07-04 Thread Jared Grubb via lldb-dev
> El jul. 4, 2016, a las 11:15, Renato Golin escribió: > > On 4 July 2016 at 15:21, Bruce Hoult wrote: >> What doesn't scale about tagging every commit? > > Both Jim and Takumi have reported problems with thousands of tags. > Even though neither of them responded to your enquiries for additiona

Re: [lldb-dev] [llvm-dev] [cfe-dev] Sequential ID Git hook

2016-07-04 Thread Renato Golin via lldb-dev
On 4 July 2016 at 15:21, Bruce Hoult wrote: > What doesn't scale about tagging every commit? Both Jim and Takumi have reported problems with thousands of tags. Even though neither of them responded to your enquiries for additional data, we can't assume there isn't any. Furthermore, "git describe

Re: [lldb-dev] [llvm-dev] [cfe-dev] Sequential ID Git hook

2016-07-04 Thread Bruce Hoult via lldb-dev
What doesn't scale about tagging every commit? True, every tag creates a small file on disk, but then so does every commit. If you're worried about lots of files in a directory then you can put tags in nested directories by putting one or more /'s in the tag name. So you can hide all the commit t

Re: [lldb-dev] [llvm-dev] [cfe-dev] Sequential ID Git hook

2016-07-04 Thread Renato Golin via lldb-dev
On 4 July 2016 at 06:01, NAKAMURA Takumi via llvm-dev wrote: > "git-describe -t" works also for lw tags. But it doesn't work if there are no tags, I just tested on LLVM and I get: $ git describe fatal: No names found, cannot describe anything. Should be easy enough to create the tags on each br

Re: [lldb-dev] [llvm-dev] [cfe-dev] Sequential ID Git hook

2016-06-30 Thread Matthias Braun via lldb-dev
> On Jun 30, 2016, at 6:05 PM, Robinson, Paul via llvm-dev > wrote: > > > > From: Renato Golin [mailto:renato.go...@linaro.org] > Sent: Thursday, June 30, 2016 4:15 PM > To: Robinson, Paul > Cc: Clang Dev; LLDB Dev; LLVM Dev; Reid Kleckner; > llvm-foundat...@lists.llvm.org > Subject: RE: [c

Re: [lldb-dev] [llvm-dev] [cfe-dev] Sequential ID Git hook

2016-06-30 Thread Matthias Braun via lldb-dev
> On Jun 30, 2016, at 4:14 PM, Renato Golin via llvm-dev > wrote: > > > On 30 Jun 2016 10:20 p.m., "Robinson, Paul" > wrote: > > We've since stopped creating the tags, and gotten used to not having > > them. We do the 'rev-list --count' trick which mainly gets

Re: [lldb-dev] [llvm-dev] [cfe-dev] Sequential ID Git hook

2016-06-30 Thread Jim Rowan via lldb-dev
On Jun 30, 2016, at 2:25 PM, Robinson, Paul via llvm-dev wrote: (talking about lots of tags) > I don't know that it really scales well when you > are talking about (long term) hundreds of thousands of them. I can say from experience that it does not scale well.After some time, everyone w