On Mon, Feb 10, 2014 at 7:00 PM, yac <[email protected]> wrote:
> While you are it, it would be great if you could get some stats on
> frequency of commits. Especially with reagrd to the planned cvs -> git
> migration since this might cause some issues/inconvenience if the whole
> portage will be one git repo.

Oh, commits are plenty frequent.  As of the last migrated git tree I
have which is almost exactly a year old there were 2.8M commits, with
300k in 2012.  If you want the breakdown by hour (UTC I think - or
whatever msql does by default) it is:
count(`key`) HOUR(FROM_UNIXTIME(`timestamp`))
6259 0
6108 1
8329 2
11029 3
14102 4
13289 5
12087 6
13351 7
15224 8
15901 9
17395 10
19710 11
18912 12
17924 13
23717 14
18836 15
15666 16
12808 17
10589 18
6155 19
5197 20
5018 21
5906 22
6508 23

So, divide those figures by 365 and that is the daily rate in each of
those hour bins.

I have a mysql table of cvs commits so if there is some particular
query you're looking for let me know.  Given a full tarball of the cvs
tree (rcs files) I could update it if necessary.  If you wanted to
know the hourly rate on a typical Sat I could probably tell you.

Rich

Reply via email to