From 26e29d31575bd1bbec9063f6afa69456c830fd27 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Benjamin=20Melan=C3=A7on?= Date: Mon, 6 Sep 2021 11:51:35 -0400 Subject: [PATCH] Remove a redundancy with a conceivable synonym, add explainer comment But what we learned is we have no way to expand 'NICHQ.org' into 'NICHQ Support: NICHQ.org work on' or something like that, followed by whatever i put in, but that's not really a flaw of our parse script here but our failure to have come up with an official way to track work on different projects within the one support contract. --- pomodoro_to_harvest.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pomodoro_to_harvest.py b/pomodoro_to_harvest.py index 208fa2e..8610bd1 100644 --- a/pomodoro_to_harvest.py +++ b/pomodoro_to_harvest.py @@ -151,7 +151,7 @@ harvest_project_names = { "MASS Continuous Improvement": ["MASS Design Group", "MASS", "MASS Design"], "Metalwerx Maintenance": ["Metalwerx", "Metalwerx.com"], "NICHQ Data Upgrade": ["NICHQ Data"], - "NICHQ Support": ["NICHQ", "NICHQ support"], + "NICHQ Support": ["NICHQ", "NICHQ maintenance"], "NICHQ FL CMS LAN": ["FL CMS LAN", "flcmslan", "NICHQ FLCMSLAN"], "OAG - Office of Opportunity and Achievement Gaps Task Force": ["Boston Public Schools", "BPS", "OAG"], "Portside": ["Portside.org Improvements 2020", "portside.org", "Portside support"], @@ -180,6 +180,7 @@ for preferred, alternatives in replacement_project_names.items(): timelog.loc[timelog.project.str.lower().isin(alternatives), "project"] = preferred # Replace irregular-but-known subproject ("Task") names with ones timetracking tools use. +# Development is the default and never specified. subproject_names = { "Contributing back to the community": ["contrib", "contributing", "contributions"], "Not billed": ["nb"],