From 445f7e8643667bc935871a00c0ca9219a95e8820 Mon Sep 17 00:00:00 2001 From: SowinskiBraeden Date: Thu, 1 May 2025 11:25:26 -0700 Subject: [PATCH 1/2] update ignored files --- insights.py | 1 + 1 file changed, 1 insertion(+) diff --git a/insights.py b/insights.py index 731d255..2b0ef56 100755 --- a/insights.py +++ b/insights.py @@ -15,6 +15,7 @@ IGNORED: List[str] = [ "package-lock.json", "/@", "eslint-plugin", + ".geojson", # Group has thousands of data points in a .geojson file "...", # It is possible someone has so many sub folders and such a long file name it gets ignored ] # git log --stat kinda sucks that it doesnt always show the full folder path From 1d70bb505338d251dca61e83a97a39465c963d7b Mon Sep 17 00:00:00 2001 From: SowinskiBraeden Date: Thu, 1 May 2025 11:31:20 -0700 Subject: [PATCH 2/2] update ignored files and disclaimer --- insights.py | 3 ++ templates/index.html | 93 +++++++++++++++++++++++--------------------- 2 files changed, 52 insertions(+), 44 deletions(-) diff --git a/insights.py b/insights.py index 2b0ef56..4d3d860 100755 --- a/insights.py +++ b/insights.py @@ -14,6 +14,9 @@ IGNORED: List[str] = [ ".history/", "package-lock.json", "/@", + "yarn.lock", + ".lock", + ".yml", "eslint-plugin", ".geojson", # Group has thousands of data points in a .geojson file "...", # It is possible someone has so many sub folders and such a long file name it gets ignored diff --git a/templates/index.html b/templates/index.html index a60a921..4de1aee 100755 --- a/templates/index.html +++ b/templates/index.html @@ -1,56 +1,61 @@ - - COMP 2800 - Slacker - - - -
+ + + COMP 2800 - Slacker + + + + +
+
+

COMP 2800 Slacker

+

See Leaderboards

+

+ Disclaimer: This reads commits from git log and may not match + commits from Github insights. +

+

+ Additionally, any commits made through the Github web interface are ignored. Its recommended you set your git + username and only use that one git username. +

+

+ Files with matching patterns may be ignored in your commits. E.g. node_module files. +

+ +
+
+ +
- -