Commit Graph
37 Commits
Author SHA1 Message Date
Mark Eaton 73d2a83250 Format language_stats.py with black 2026-11-11 19:52:08 -05:00
Mark Eaton 1188b72263 Test that a proxy error page for one repo doesn't crash the run 2026-11-11 19:47:53 -05:00
Mark Eaton bfcac9b9ee Add end-to-end tests for main() against the fake Gitea 2026-11-11 19:46:09 -05:00
Mark Eaton cea85baade Add tests for reading, rewriting and pushing the README 2026-11-11 19:45:16 -05:00
Mark Eaton ab905577b8 Add tests for repo fetching, byte totals and chart output 2026-11-11 19:45:00 -05:00
Mark Eaton d2b92fc5a5 Add fake Gitea fixture and change-detection tests 2026-11-11 19:44:24 -05:00
Mark Eaton 2029aa7e89 Add pytest as dev dependency and configure test paths 2026-11-11 19:43:56 -05:00
Mark Eaton 3d90f922c6 Skip README update when language stats are unchanged 2026-10-29 20:25:56 -04:00
Mark Eaton 38361a6e4a Add Gitea Actions workflow to update profile language stats 2026-10-29 20:24:02 -04:00
Mark Eaton 05bced0be0 merge 2026-10-29 20:07:52 -04:00
Mark Eaton ced2773562 merge 2026-10-29 19:51:37 -04:00
Mark Eaton 48ce0fbfe5 bump certifi 2026-10-21 01:44:56 -04:00
Mark Eaton 7497dc5170 bump certifi 2026-10-20 23:21:32 -04:00
Mark Eaton aadcfd6a65 Merge pull request 'chore(deps): lock file maintenance' (#2) from renovate/lock-file-maintenance into main
Reviewed-on: https://tildegit.org/MarkEEaton/profile-stats/pulls/2
2026-06-10 21:47:56 +00:00
Renovate Bot 6c0a4b1959 chore(deps): lock file maintenance 2026-06-10 17:23:22 -04:00
Mark EatonandClaude Opus 4.5 2b4ef71458 fix ValueError when API returns error response for repo languages
Handle cases where the Gitea API returns an error message (e.g., "token
scope is limited to public repos") instead of language data. Now skips
repos with non-OK responses or error messages gracefully.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-25 00:27:23 -05:00
Mark EatonandClaude Opus 4.5 d8f72b7837 fix TypeError when API returns language bytes as string
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-25 00:18:23 -05:00
Mark Eaton 95aaf91db4 remove additional newline before languages list 2026-01-10 21:59:41 -05:00
Mark Eaton 57a5188196 fix last line displaying newline character 2026-01-10 21:56:40 -05:00
Mark Eaton c40df69f9e post to .profile 2026-01-10 21:23:00 -05:00
Mark Eaton 47f1d9e3ec bug fix 2026-01-10 20:30:30 -05:00
Mark Eaton 478efb72b7 expand language_stats.py to include check of gitea repos 2026-01-10 20:23:15 -05:00
MarkEEaton bee54f56b6 Merge pull request 'chore: Configure Renovate' (#1) from renovate/configure into main
Reviewed-on: https://tildegit.org/MarkEEaton/profile-stats/pulls/1
2025-12-11 21:01:23 +00:00
Renovate Bot da799310bc Add renovate.json 2025-12-11 15:59:27 -05:00
Mark Eaton 055dbf3487 add pyproject.toml 2025-12-11 15:57:50 -05:00
Mark Eaton 84ef077058 add uv.lock 2025-08-15 03:21:02 -04:00
Mark Eaton 2962303491 exlude LibGuides HTML files from totals 2025-08-13 16:11:17 -04:00
Mark Eatonandaider 96bf16f7a7 feat: add option to exclude specific files from language stats totals
Co-authored-by: aider (o3) <aider@aider.chat>
2025-08-13 12:46:57 -04:00
Mark Eaton 0c435ef1f2 remove yml 2025-08-13 12:32:01 -04:00
Mark Eaton 11b974eef2 add .gitignore 2025-08-13 12:29:12 -04:00
Mark Eaton 2b9711a94a Merge branch 'main' of https://tildegit.org/MarkEEaton/profile-stats 2025-08-13 12:27:53 -04:00
MarkEEaton d1fa80b858 Initial commit 2025-08-13 16:25:49 +00:00
Mark Eaton a40662195d put bar first, improve output 2025-08-13 12:23:18 -04:00
Mark Eaton 0138790d15 simplify output 2025-08-13 12:04:43 -04:00
Mark Eatonandaider 89cbb2d581 refactor: simplify script to output language stats markdown to stdout
Co-authored-by: aider (o3) <aider@aider.chat>
2025-08-13 11:58:07 -04:00
Mark Eaton 22260907cf take variables from .env 2025-08-13 11:56:00 -04:00
Mark Eatonandaider b64c743108 feat: add Gitea action to update language usage stats in profile README.md
Co-authored-by: aider (o3) <aider@aider.chat>
2025-08-13 11:15:41 -04:00