From 6f6aed829980fc2e3b2b14ab6d650be994cdc83f Mon Sep 17 00:00:00 2001 From: Karl Fogel Date: Mon, 4 Jun 2018 10:59:29 -0500 Subject: [PATCH] Reproduce commit 0b7e7b46dc, adjusted for branch This renames the JSON data file to "features-info.json", to better reflect its role. It is the same as commit 0b7e7b46dc on 'master', but adjusted for the 'reqs-code-here' branch. --- README.md | 4 ++-- dashboard.js | 2 +- dashboard-input.json => features-info.json | 0 get-inputs | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) rename dashboard-input.json => features-info.json (100%) diff --git a/README.md b/README.md index 866e4c4..d8867a4 100644 --- a/README.md +++ b/README.md @@ -28,9 +28,9 @@ PSM's feature progress. * `refresh-dashboard` Script to orchestrate everything: gather and combine the features/RTM mapping, requirements, and issue labels so as to - produce `dashboard-input.json` + produce `features-info.json` -* `dashboard-input.json` +* `features-info.json` The result of one run of `refresh-dashboard`. This is a generated file and therefore in theory we shouldn't version it here. But in practice: it's rather expensive to generate, so once we have a new diff --git a/dashboard.js b/dashboard.js index 62fc8ac..7ec3a45 100644 --- a/dashboard.js +++ b/dashboard.js @@ -13,7 +13,7 @@ rawFile.send(null); } - readJsonFile("dashboard-input.json", function(text) { + readJsonFile("features-info.json", function(text) { var data = JSON.parse(text); window.drawFeaturesPieChart(data, d3); window.drawFeaturesBurnDownChart(data, d3); diff --git a/dashboard-input.json b/features-info.json similarity index 100% rename from dashboard-input.json rename to features-info.json diff --git a/get-inputs b/get-inputs index c7eb2e9..e940959 100755 --- a/get-inputs +++ b/get-inputs @@ -45,7 +45,7 @@ Prerequisites: Usage: - $ ./get-inputs [--featureless-reqs] > sample-output.json + $ ./get-inputs [--featureless-reqs] > features-info.json (Note that some "DEBUG" prints will appear on stderr; they are being used as a cheap kind of progress meter. Just redirect stdout as in