scripts/delta: add number of days since first httpget release

This commit is contained in:
Daniel Stenberg 2025-01-08 23:48:48 +01:00
parent 4e15605896
commit 616b66e68f
No known key found for this signature in database
GPG Key ID: 5CC908FDB71E12C2

View File

@ -95,6 +95,7 @@ chomp $taggednice;
$now=`date +%s`;
$elapsed=$now - $tagged; # number of seconds since tag
$total=$now - `date -d 19980320 +%s`;
$totalhttpget=$now - `date -d 19961111 +%s`;
# Number of public functions in libcurl
$apublic=`git grep ^CURL_EXTERN -- include/curl | wc -l`;
@ -141,8 +142,8 @@ close(F);
print "== Since $start $taggednice ==\n";
my $days = $elapsed / 3600 / 24;
printf "Elapsed time: %.1f days (total %d)\n",
$days, $total / 3600 / 24;
printf "Elapsed time: %.1f days (total %d / %d)\n",
$days, $total / 3600 / 24, $totalhttpget / 3600 / 24;
printf "Commits: %d (total %d)\n",
$commits, $acommits;
printf "Commit authors: %d, %d new (total %d)\n",