diff options
author | Eric S. Raymond <esr@thyrsus.com> | 1999-09-25 16:48:50 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 1999-09-25 16:48:50 +0000 |
commit | 39b74d2335b8c08e6d1945a59ba02fdec3aa7ae8 (patch) | |
tree | be53e4f8c9d7da3c4c067543ff76d8aaf6567f9c /timeseries | |
parent | 699c43227cc14fafa74a5dc9e95e3b61a366a0bb (diff) | |
download | fetchmail-39b74d2335b8c08e6d1945a59ba02fdec3aa7ae8.tar.gz fetchmail-39b74d2335b8c08e6d1945a59ba02fdec3aa7ae8.tar.bz2 fetchmail-39b74d2335b8c08e6d1945a59ba02fdec3aa7ae8.zip |
WEe have as much size info as we're going to get.
svn path=/trunk/; revision=2605
Diffstat (limited to 'timeseries')
-rwxr-xr-x | timeseries | 22 |
1 files changed, 14 insertions, 8 deletions
@@ -4,11 +4,12 @@ # # Output other than pass-through % lines is tab-separated fields. # Field 1: release ID -# Field 2: count of fetchmail-friends subscribers -# Field 3: count of fetchmail-announce subscribers -# Field 4: total subscribers to both lists -# Field 5: date of release (days since first datum) -# Field 6: date of release (RFC822 date format) +# Field 2: count of source lines under version control +# Field 3: count of fetchmail-friends subscribers +# Field 4: count of fetchmail-announce subscribers +# Field 5: total subscribers to both lists +# Field 6: date of release (days since first datum) +# Field 7: date of release (RFC822 date format) # my($release, $date, $jdate); @@ -60,19 +61,24 @@ while ($_ = <NEWS>) if (/^%/) { print $_; } - elsif (/^fetchmail-([^ ]*) \(([^)]+)\):?/) { + elsif (/^fetchmail-([^ ]*) \(([^)]+)\)(, [0-9]* lines)?:/) { $release = $1; $date = $2; $jdate = &day_offset($date); + if ($3) { + $lines = substr($3, 2, length($3) - 8); + } else { + $lines = 'na' + } } elsif (/There are ([0-9]*) people on fetchmail-friends and ([0-9]*) on fetchmail-announce/) { $sum = $1 + $2; - print "${release}\t$1\t$2\t${sum}\t${jdate}\t${date}\n"; + print "${release}\t${lines}\t$1\t$2\t${sum}\t${jdate}\t${date}\n"; $release = "unknown"; $date = "unknown"; } elsif (/There are ([0-9]*) people on the fetchmail-friends list./) { - print "$release\t$1\t0\t$1\t$jdate\t$date\n"; + print "$release\t${lines}\t$1\t0\t$1\t$jdate\t$date\n"; $release = "unknown"; $date = "unknown"; } |