From 240b20da06e717ffdb921330093d5c8cef9a0f21 Mon Sep 17 00:00:00 2001
From: Craig Tiller <ctiller@google.com>
Date: Wed, 29 Mar 2017 14:46:34 -0700
Subject: [PATCH] Review feedback

---
 tools/line_count/collect-history.py   | 3 +++
 tools/line_count/collect-now.sh       | 2 +-
 tools/line_count/summarize-history.py | 3 +++
 3 files changed, 7 insertions(+), 1 deletion(-)

diff --git a/tools/line_count/collect-history.py b/tools/line_count/collect-history.py
index 858a6e1d30..4c1bf73b1e 100755
--- a/tools/line_count/collect-history.py
+++ b/tools/line_count/collect-history.py
@@ -31,6 +31,9 @@
 import subprocess
 import datetime
 
+# this script is only of historical interest: it's the script that was used to
+# bootstrap the dataset
+
 def daterange(start, end):
   for n in range(int((end - start).days)):
     yield start + datetime.timedelta(n)
diff --git a/tools/line_count/collect-now.sh b/tools/line_count/collect-now.sh
index 2db26298dc..44f4b4ed31 100644
--- a/tools/line_count/collect-now.sh
+++ b/tools/line_count/collect-now.sh
@@ -31,6 +31,6 @@
 set -ex
 
 cloc --vcs=git --by-file --yaml --out=cloc.yaml .
-tools/line_count/yaml2csv -i cloc.yaml -d `date +%Y-%m-%d` -o cloc.csv
+tools/line_count/yaml2csv.py -i cloc.yaml -d `date +%Y-%m-%d` -o cloc.csv
 bq load line_counts.grpc cloc.csv
 
diff --git a/tools/line_count/summarize-history.py b/tools/line_count/summarize-history.py
index 756dc79a4d..cb6d570f66 100755
--- a/tools/line_count/summarize-history.py
+++ b/tools/line_count/summarize-history.py
@@ -32,6 +32,9 @@
 import subprocess
 import datetime
 
+# this script is only of historical interest: it's the script that was used to
+# bootstrap the dataset
+
 def daterange(start, end):
   for n in range(int((end - start).days)):
     yield start + datetime.timedelta(n)
-- 
GitLab