mirror of
https://github.com/curl/curl.git
synced 2025-09-10 22:22:43 +03:00
scripts/delta: add number of days since first httpget release
This commit is contained in:
parent
4e15605896
commit
616b66e68f
|
@ -95,6 +95,7 @@ chomp $taggednice;
|
||||||
$now=`date +%s`;
|
$now=`date +%s`;
|
||||||
$elapsed=$now - $tagged; # number of seconds since tag
|
$elapsed=$now - $tagged; # number of seconds since tag
|
||||||
$total=$now - `date -d 19980320 +%s`;
|
$total=$now - `date -d 19980320 +%s`;
|
||||||
|
$totalhttpget=$now - `date -d 19961111 +%s`;
|
||||||
|
|
||||||
# Number of public functions in libcurl
|
# Number of public functions in libcurl
|
||||||
$apublic=`git grep ^CURL_EXTERN -- include/curl | wc -l`;
|
$apublic=`git grep ^CURL_EXTERN -- include/curl | wc -l`;
|
||||||
|
@ -141,8 +142,8 @@ close(F);
|
||||||
|
|
||||||
print "== Since $start $taggednice ==\n";
|
print "== Since $start $taggednice ==\n";
|
||||||
my $days = $elapsed / 3600 / 24;
|
my $days = $elapsed / 3600 / 24;
|
||||||
printf "Elapsed time: %.1f days (total %d)\n",
|
printf "Elapsed time: %.1f days (total %d / %d)\n",
|
||||||
$days, $total / 3600 / 24;
|
$days, $total / 3600 / 24, $totalhttpget / 3600 / 24;
|
||||||
printf "Commits: %d (total %d)\n",
|
printf "Commits: %d (total %d)\n",
|
||||||
$commits, $acommits;
|
$commits, $acommits;
|
||||||
printf "Commit authors: %d, %d new (total %d)\n",
|
printf "Commit authors: %d, %d new (total %d)\n",
|
||||||
|
|
Loading…
Reference in New Issue
Block a user