Infrastructure to generate ports growth graph similar to graph
at http://people.freebsd.org/~asami/papers/growth.gif. Unfortunatelly it's quite out of date, so having own (more up-to-date) version is good idea. Submitted by: Dan Nelson <dnelson@allantgroup.com> PR: docs/37432
This commit is contained in:
parent
0ea6a64950
commit
73ee547c75
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/www/; revision=13152
3 changed files with 399 additions and 0 deletions
25
tools/portsgrowth/getinfo.sh
Normal file
25
tools/portsgrowth/getinfo.sh
Normal file
|
@ -0,0 +1,25 @@
|
|||
#! /bin/sh -e
|
||||
|
||||
# Get a linecount for all the revisions listed in 'cvs log' and append
|
||||
# to our current list. This lets us keep info for revisions that have
|
||||
# been axed from the repository.
|
||||
cvs log /usr/ports/INDEX |
|
||||
sed -ne "s/^date: \([^;]*\);.*$/\1/p" |
|
||||
while read date ; do
|
||||
echo $date
|
||||
cvs update -D "$date" /usr/ports/INDEX
|
||||
echo $date $(wc -l < /usr/ports/INDEX) >> ports.log
|
||||
done
|
||||
# Put INDEX back the way we found it.
|
||||
cvs update -A /usr/ports/INDEX
|
||||
|
||||
# Remove dupes.
|
||||
sort -u ports.log > ports.log1
|
||||
mv ports.log1 ports.log
|
||||
|
||||
# Generate graph.
|
||||
gnuplot ports.plt
|
||||
|
||||
# Interlace.
|
||||
pngtopnm ports.png | pnmtopng -i > ports.png1
|
||||
mv ports.png1 ports.png
|
359
tools/portsgrowth/ports.log
Normal file
359
tools/portsgrowth/ports.log
Normal file
|
@ -0,0 +1,359 @@
|
|||
1995/01/14 11:27:05 150
|
||||
1995/02/12 13:44:28 182
|
||||
1995/03/21 01:30:53 209
|
||||
1995/03/21 03:12:12 209
|
||||
1995/04/01 07:57:13 204
|
||||
1995/04/01 12:42:08 204
|
||||
1995/04/09 11:06:36 210
|
||||
1995/04/12 15:44:22 210
|
||||
1995/04/12 15:48:22 210
|
||||
1995/04/15 23:01:20 211
|
||||
1995/04/19 00:12:09 216
|
||||
1995/04/26 08:21:03 219
|
||||
1995/05/03 03:31:37 233
|
||||
1995/05/13 04:12:52 247
|
||||
1995/05/15 06:10:04 269
|
||||
1995/05/16 09:29:18 265
|
||||
1995/05/27 08:15:17 269
|
||||
1995/05/30 11:40:06 270
|
||||
1995/05/31 07:40:06 271
|
||||
1995/06/04 06:44:29 272
|
||||
1995/06/06 12:30:10 272
|
||||
1995/07/01 12:05:53 280
|
||||
1995/07/13 01:39:33 286
|
||||
1995/07/18 00:46:11 293
|
||||
1995/07/20 20:43:55 294
|
||||
1995/07/29 11:13:45 296
|
||||
1995/08/08 10:52:17 302
|
||||
1995/08/14 10:45:56 314
|
||||
1995/08/18 08:16:10 314
|
||||
1995/08/19 09:22:46 316
|
||||
1995/08/21 07:42:16 317
|
||||
1995/08/22 09:24:47 319
|
||||
1995/08/23 07:16:16 319
|
||||
1995/08/26 09:20:14 325
|
||||
1995/08/28 10:36:23 326
|
||||
1995/09/14 11:54:22 333
|
||||
1995/09/22 11:34:45 334
|
||||
1995/09/23 09:25:01 335
|
||||
1995/09/26 10:09:10 335
|
||||
1995/10/03 10:55:01 341
|
||||
1995/10/10 08:45:27 346
|
||||
1995/10/12 08:17:31 349
|
||||
1995/10/13 10:46:06 351
|
||||
1995/10/17 09:48:54 352
|
||||
1995/10/20 11:00:16 355
|
||||
1995/11/09 10:02:45 361
|
||||
1995/11/09 12:21:46 361
|
||||
1995/11/15 11:36:12 365
|
||||
1995/11/16 03:17:35 365
|
||||
1995/11/26 11:44:54 367
|
||||
1995/11/27 04:20:14 369
|
||||
1995/12/09 01:37:55 376
|
||||
1995/12/10 15:42:52 377
|
||||
1995/12/10 15:56:45 377
|
||||
1995/12/20 09:54:51 377
|
||||
1996/01/16 00:16:55 383
|
||||
1996/01/17 10:18:53 385
|
||||
1996/01/31 11:30:21 387
|
||||
1996/02/29 08:09:30 392
|
||||
1996/03/06 08:45:35 394
|
||||
1996/03/09 13:32:43 400
|
||||
1996/03/10 00:48:42 403
|
||||
1996/03/22 07:45:31 410
|
||||
1996/03/29 06:38:50 415
|
||||
1996/04/01 07:49:22 417
|
||||
1996/04/09 09:32:12 423
|
||||
1996/04/12 09:07:45 442
|
||||
1996/04/26 10:37:13 448
|
||||
1996/04/30 21:37:16 450
|
||||
1996/05/04 09:46:49 454
|
||||
1996/06/19 08:48:26 470
|
||||
1996/07/10 11:23:13 480
|
||||
1996/07/10 23:05:10 483
|
||||
1996/07/12 12:10:53 485
|
||||
1996/07/23 21:04:51 488
|
||||
1996/07/30 21:57:01 494
|
||||
1996/08/02 09:39:05 504
|
||||
1996/08/06 19:39:50 510
|
||||
1996/08/09 08:56:56 517
|
||||
1996/08/11 10:11:56 517
|
||||
1996/08/16 08:58:28 521
|
||||
1996/08/19 12:57:08 528
|
||||
1996/08/20 23:16:20 532
|
||||
1996/09/11 08:56:26 539
|
||||
1996/09/17 09:23:56 547
|
||||
1996/09/26 09:36:32 556
|
||||
1996/10/10 07:18:54 556
|
||||
1996/10/16 01:51:47 563
|
||||
1996/10/16 10:14:13 563
|
||||
1996/10/24 11:35:49 595
|
||||
1996/10/30 09:15:55 604
|
||||
1996/11/05 23:58:29 622
|
||||
1996/11/09 13:46:31 630
|
||||
1996/11/12 11:07:40 640
|
||||
1996/11/16 13:33:41 654
|
||||
1996/11/19 01:49:04 660
|
||||
1996/11/26 11:39:41 690
|
||||
1996/12/04 12:02:17 690
|
||||
1996/12/07 14:10:32 699
|
||||
1996/12/10 06:38:31 703
|
||||
1996/12/17 06:33:00 709
|
||||
1996/12/18 06:39:49 712
|
||||
1997/01/03 15:48:40 739
|
||||
1997/01/08 13:55:08 744
|
||||
1997/01/11 13:32:05 751
|
||||
1997/01/12 14:03:19 752
|
||||
1997/01/22 10:07:07 759
|
||||
1997/02/06 09:19:42 771
|
||||
1997/02/14 10:54:57 780
|
||||
1997/02/16 13:04:00 789
|
||||
1997/02/25 10:25:08 801
|
||||
1997/03/04 06:42:15 815
|
||||
1997/03/06 12:15:31 833
|
||||
1997/03/07 00:07:48 830
|
||||
1997/03/11 21:35:14 831
|
||||
1997/03/18 09:04:58 835
|
||||
1997/03/28 12:14:29 845
|
||||
1997/04/09 04:03:06 853
|
||||
1997/04/09 10:09:15 854
|
||||
1997/04/10 19:26:40 854
|
||||
1997/04/10 22:25:46 854
|
||||
1997/04/15 04:50:16 862
|
||||
1997/04/18 10:24:48 867
|
||||
1997/04/27 07:32:00 874
|
||||
1997/04/29 03:40:39 880
|
||||
1997/05/10 11:11:51 893
|
||||
1997/05/19 10:10:36 897
|
||||
1997/05/20 10:07:59 900
|
||||
1997/05/21 22:27:47 904
|
||||
1997/05/28 23:45:39 909
|
||||
1997/06/03 11:33:41 912
|
||||
1997/06/04 10:24:39 945
|
||||
1997/06/07 10:45:14 948
|
||||
1997/06/10 11:11:49 954
|
||||
1997/06/13 05:08:35 957
|
||||
1997/06/19 09:11:46 973
|
||||
1997/07/02 08:45:49 1009
|
||||
1997/07/08 11:32:24 1018
|
||||
1997/07/10 10:34:47 1022
|
||||
1997/07/17 09:49:22 1028
|
||||
1997/08/13 09:43:06 1046
|
||||
1997/08/27 06:55:18 1054
|
||||
1997/09/09 11:36:06 1067
|
||||
1997/09/18 04:29:03 1079
|
||||
1997/09/30 09:59:23 1087
|
||||
1997/10/08 11:23:30 1104
|
||||
1997/10/18 09:52:54 1117
|
||||
1997/10/25 10:19:39 1124
|
||||
1997/10/25 14:41:44 1124
|
||||
1997/10/30 01:54:46 1126
|
||||
1997/11/11 01:03:18 1161
|
||||
1997/11/15 12:30:07 1168
|
||||
1997/11/19 04:04:38 1182
|
||||
1997/11/25 11:35:13 1198
|
||||
1997/12/03 06:29:44 1209
|
||||
1997/12/11 05:46:48 1214
|
||||
1997/12/17 05:46:00 1222
|
||||
1997/12/23 09:55:02 1225
|
||||
1997/12/26 00:08:12 1226
|
||||
1997/12/28 23:24:13 1231
|
||||
1997/12/31 23:55:18 1233
|
||||
1998/01/06 09:14:04 1239
|
||||
1998/01/18 14:04:35 1245
|
||||
1998/01/21 11:00:35 1240
|
||||
1998/01/29 00:42:58 1245
|
||||
1998/02/18 11:12:07 1274
|
||||
1998/02/26 05:25:24 1294
|
||||
1998/03/03 11:06:56 1303
|
||||
1998/03/23 13:56:16 1324
|
||||
1998/03/23 14:05:22 1324
|
||||
1998/03/24 05:20:01 1324
|
||||
1998/03/29 00:02:15 1338
|
||||
1998/04/17 11:06:42 1345
|
||||
1998/04/22 13:45:12 1359
|
||||
1998/04/28 06:28:15 1384
|
||||
1998/06/07 03:05:26 1482
|
||||
1998/06/10 09:32:41 1491
|
||||
1998/06/16 14:22:02 1508
|
||||
1998/06/28 14:27:50 1520
|
||||
1998/07/03 08:30:00 1536
|
||||
1998/07/20 19:10:44 1608
|
||||
1998/07/21 15:56:57 1621
|
||||
1998/07/22 11:26:17 1620
|
||||
1998/08/08 00:57:37 1637
|
||||
1998/08/18 15:55:42 1638
|
||||
1998/08/19 22:34:10 1687
|
||||
1998/09/01 08:28:15 1710
|
||||
1998/09/17 20:44:24 1725
|
||||
1998/10/06 21:24:50 1739
|
||||
1998/10/16 06:00:46 1749
|
||||
1998/10/26 09:45:24 1797
|
||||
1998/10/30 10:55:32 1809
|
||||
1998/11/11 04:58:07 1827
|
||||
1998/11/12 01:38:25 1828
|
||||
1998/11/14 12:11:20 1828
|
||||
1998/11/17 06:41:04 1838
|
||||
1998/11/23 20:49:25 1871
|
||||
1998/11/27 00:33:28 1876
|
||||
1998/11/30 01:50:01 1877
|
||||
1998/12/13 22:08:30 1924
|
||||
1998/12/26 03:18:12 1988
|
||||
1999/01/08 19:51:14 2036
|
||||
1999/01/11 10:45:22 2042
|
||||
1999/01/19 00:35:19 2041
|
||||
1999/01/26 08:29:04 2064
|
||||
1999/02/12 07:04:18 2084
|
||||
1999/02/14 09:30:09 2089
|
||||
1999/02/14 10:41:18 2089
|
||||
1999/02/22 11:38:10 2096
|
||||
1999/03/01 09:21:35 2101
|
||||
1999/03/02 01:55:39 2100
|
||||
1999/03/15 09:45:20 2115
|
||||
1999/03/21 10:12:40 2141
|
||||
1999/03/29 11:03:59 2141
|
||||
1999/04/05 09:40:24 2189
|
||||
1999/04/12 23:51:01 2204
|
||||
1999/04/20 00:25:42 2230
|
||||
1999/04/21 11:41:29 2230
|
||||
1999/05/04 10:04:38 2305
|
||||
1999/05/05 07:22:57 2308
|
||||
1999/05/06 12:11:40 2308
|
||||
1999/05/13 09:20:53 2360
|
||||
1999/05/13 11:58:33 2360
|
||||
1999/05/14 06:43:15 2359
|
||||
1999/05/14 11:54:54 2359
|
||||
1999/05/26 06:28:39 2374
|
||||
1999/06/08 00:05:54 2402
|
||||
1999/06/15 22:44:44 2431
|
||||
1999/06/29 22:28:37 2474
|
||||
1999/07/04 23:41:32 2494
|
||||
1999/07/06 11:17:48 2496
|
||||
1999/07/18 09:58:13 2502
|
||||
1999/07/24 11:40:25 2502
|
||||
1999/08/02 12:15:44 2517
|
||||
1999/08/09 01:39:33 2539
|
||||
1999/08/20 10:59:29 2559
|
||||
1999/08/24 23:12:46 2565
|
||||
1999/09/09 03:17:29 2628
|
||||
1999/09/11 02:58:56 2646
|
||||
1999/09/14 22:58:50 2646
|
||||
1999/09/20 10:46:40 2648
|
||||
1999/09/30 11:06:50 2671
|
||||
1999/10/05 11:45:15 2685
|
||||
1999/10/10 10:24:06 2703
|
||||
1999/10/14 10:49:31 2711
|
||||
1999/10/24 06:46:02 2723
|
||||
1999/11/02 04:25:04 2733
|
||||
1999/11/12 11:34:15 2773
|
||||
1999/11/20 12:23:03 2794
|
||||
1999/12/08 14:17:17 2839
|
||||
1999/12/11 22:56:16 2847
|
||||
1999/12/28 09:55:51 2909
|
||||
2000/01/02 23:28:17 2925
|
||||
2000/01/10 15:02:05 2946
|
||||
2000/01/14 13:16:26 2966
|
||||
2000/01/21 12:41:24 2972
|
||||
2000/01/27 11:16:21 2987
|
||||
2000/01/29 13:33:41 3029
|
||||
2000/02/02 00:52:11 3051
|
||||
2000/02/06 16:13:24 3061
|
||||
2000/02/11 23:04:45 3077
|
||||
2000/02/16 15:43:54 3102
|
||||
2000/02/18 01:25:53 3103
|
||||
2000/02/23 00:15:05 3120
|
||||
2000/02/24 19:17:07 3126
|
||||
2000/03/01 08:57:29 3138
|
||||
2000/03/07 09:49:42 3144
|
||||
2000/03/14 18:59:19 3157
|
||||
2000/03/30 23:23:07 3187
|
||||
2000/04/03 09:26:02 3200
|
||||
2000/04/15 05:49:13 3214
|
||||
2000/04/20 00:09:18 3224
|
||||
2000/04/25 02:05:55 3230
|
||||
2000/05/04 01:02:33 3251
|
||||
2000/05/07 11:33:04 3257
|
||||
2000/05/12 08:28:03 3268
|
||||
2000/05/26 04:48:17 3288
|
||||
2000/06/07 09:40:35 3339
|
||||
2000/06/08 11:48:31 3356
|
||||
2000/06/16 22:56:18 3403
|
||||
2000/06/29 01:41:36 3435
|
||||
2000/07/04 20:11:03 3470
|
||||
2000/07/07 06:53:38 3483
|
||||
2000/07/13 09:10:14 3565
|
||||
2000/07/19 18:57:46 3605
|
||||
2000/07/21 18:15:35 3605
|
||||
2000/07/22 19:27:12 3613
|
||||
2000/08/04 09:18:32 3676
|
||||
2000/08/09 21:49:21 3688
|
||||
2000/08/15 20:21:40 3724
|
||||
2000/08/19 08:22:02 3736
|
||||
2000/08/28 22:41:59 3772
|
||||
2000/09/05 19:23:28 3797
|
||||
2000/09/15 00:42:50 3845
|
||||
2000/09/21 02:26:09 3918
|
||||
2000/09/22 08:47:16 3922
|
||||
2000/09/23 01:36:52 3922
|
||||
2000/09/28 23:31:15 3944
|
||||
2000/10/04 23:39:50 3958
|
||||
2000/10/08 11:47:56 3959
|
||||
2000/10/13 07:56:02 3972
|
||||
2000/10/22 01:05:27 4006
|
||||
2000/10/22 01:59:47 4006
|
||||
2000/10/25 20:46:21 4004
|
||||
2000/11/01 01:03:14 4070
|
||||
2000/11/02 22:35:43 4083
|
||||
2000/11/03 19:42:03 4101
|
||||
2000/11/04 10:30:38 4101
|
||||
2000/11/13 07:20:23 4120
|
||||
2000/11/16 22:15:23 4127
|
||||
2000/11/17 12:19:21 4127
|
||||
2000/11/26 04:51:41 4142
|
||||
2000/12/15 06:19:18 4229
|
||||
2000/12/22 02:54:22 4275
|
||||
2000/12/28 17:08:03 4296
|
||||
2001/01/04 05:08:59 4363
|
||||
2001/01/11 07:05:48 4470
|
||||
2001/01/17 17:09:28 4483
|
||||
2001/01/25 02:52:10 4504
|
||||
2001/02/03 00:57:16 4517
|
||||
2001/02/09 03:08:59 4536
|
||||
2001/02/17 07:06:58 4569
|
||||
2001/02/23 17:26:51 4584
|
||||
2001/03/01 03:33:41 4594
|
||||
2001/03/08 17:29:07 4655
|
||||
2001/03/22 09:20:18 4791
|
||||
2001/03/29 02:22:10 4823
|
||||
2001/04/05 21:22:50 4900
|
||||
2001/04/16 10:02:44 5004
|
||||
2001/04/18 03:20:45 5036
|
||||
2001/04/18 21:37:31 5045
|
||||
2001/04/20 08:30:49 5045
|
||||
2001/05/03 21:11:47 5103
|
||||
2001/05/26 02:06:09 5211
|
||||
2001/05/31 16:17:34 5260
|
||||
2001/06/14 19:52:43 5349
|
||||
2001/06/21 18:04:27 5381
|
||||
2001/06/28 06:53:49 5412
|
||||
2001/07/04 18:36:07 5448
|
||||
2001/07/18 17:11:06 5523
|
||||
2001/07/26 07:04:28 5557
|
||||
2001/08/02 07:17:54 5590
|
||||
2001/08/11 06:28:35 5615
|
||||
2001/08/16 21:21:26 5647
|
||||
2001/08/25 01:25:19 5704
|
||||
2001/09/03 23:19:50 5813
|
||||
2001/09/13 07:07:13 5849
|
||||
2001/09/16 01:02:45 5849
|
||||
2001/09/26 06:11:27 5893
|
||||
2001/10/14 20:04:52 5918
|
||||
2001/10/26 05:03:53 5981
|
||||
2001/11/03 17:31:58 6013
|
||||
2001/11/19 07:13:49 6077
|
||||
2002/01/06 18:43:47 6376
|
||||
2002/01/29 04:56:34 6470
|
||||
2002/03/10 01:57:10 6672
|
||||
2002/03/11 11:48:19 6675
|
||||
2002/04/06 00:50:47 6777
|
||||
2002/04/06 01:02:08 6777
|
15
tools/portsgrowth/ports.plt
Normal file
15
tools/portsgrowth/ports.plt
Normal file
|
@ -0,0 +1,15 @@
|
|||
# $FreeBSD$
|
||||
set terminal png color
|
||||
set output "ports.png"
|
||||
set ylabel "Number of ports"
|
||||
set timefmt "%Y/%m/%d %H:%M:%S"
|
||||
set format x "%Y"
|
||||
set xdata time
|
||||
set grid
|
||||
# Uncomment to make ranges match
|
||||
# http://people.freebsd.org/~asami/papers/growth.gif
|
||||
# set xrange ["1995/01":"2000/11"]
|
||||
# set yrange [0:4000]
|
||||
set multiplot
|
||||
plot "ports.log" using 1:3 notitle with points
|
||||
plot "ports.log" using 1:3 smooth bezier notitle with lines
|
Loading…
Reference in a new issue