Sort projects in alphabetical order

This commit is contained in:
benjamin melançon 2021-06-01 11:06:02 -04:00
parent 3ed6413b25
commit 24156c83ec

View file

@ -110,23 +110,23 @@ timelog['description'] = timelog['description'].str.strip()
# Replace irregular-but-known project names with ones timetracking tools use.
replacement_project_names = {
"Agaric contrib": ["Contributing", "Contrib", "Agaric contributions"],
"Agaric internal": ["Agaric", "Internal"],
"Drutopia": ["Drutopia improvements"],
"Family & Home": ["Family and Home", "Family home"],
"Find It Cambridge": ["Find It", "FIC", "Cambridge"],
"NICHQ Support: FL CMS LAN": ["FL CMS LAN", "flcmslan"],
"The Propaganda Site": ["TPS", "Propaganda Site", "The Propganda Site", "Murat & Clay"],
"MASS Continuous Improvement": ["MASS Design Group", "MASS", "MASS Design"],
"Teachers with GUTS": ["TWIG", "GUTS"],
"NICHQ Data Upgrade": ["NICHQ Data"],
"NICHQ Support": ["NICHQ", "NICHQ support"],
"Network engagement": ["Network Engagement", "network engagement", "Network engagment", "Social media", "Network building", "Agaric network engagement"],
"Agaric internal": ["Agaric", "Internal"],
"Agaric contrib": ["Contributing", "Contrib", "Agaric contributions"],
"Leads": ["Lead", "Agaric leads", "Lead followups"],
"Learning": ["Personal learning"],
"Drutopia": ["Drutopia improvements"],
"Personal / external": ["Personal/external", "Personal", "External"],
"MASS Continuous Improvement": ["MASS Design Group", "MASS", "MASS Design"],
"NICHQ Data Upgrade": ["NICHQ Data"],
"NICHQ Support": ["NICHQ", "NICHQ support"],
"NICHQ Support: FL CMS LAN": ["FL CMS LAN", "flcmslan"],
"Near North camp": ["Near North Camp", "Near North defense", "Encampment support", "Camp support", "NN camp defense", "NN camp", "NN defense", "Near North camp defense"],
"Network engagement": ["Network Engagement", "network engagement", "Network engagment", "Social media", "Network building", "Agaric network engagement"],
"Personal / external": ["Personal/external", "Personal", "External"],
"SCDTDP Collaboratory Data Site System Security": ["SCDTDP", "NICHQ SCDTDP", "NICHQ security"],
"Teachers with GUTS": ["TWIG", "GUTS"],
"The Propaganda Site": ["TPS", "Propaganda Site", "The Propganda Site", "Murat & Clay"],
}
for preferred, alternatives in replacement_project_names.items():
# We compare all alternatives to lower case versions, and add the