Skip to content

Remove cached JSON and generated HTML for archived repositories - #154

Merged
JaredHatfield merged 1 commit into
mainfrom
feature/remove-archived-repo-cache-files
Nov 26, 2026
Merged

JaredHatfield merged 1 commit into
mainfrom
feature/remove-archived-repo-cache-files

Conversation

@JaredHatfield

Copy link
Copy Markdown
Member

Summary

  • Track archived repositories during the org repo listing and delete their stale cached <repo>.json data and generated <repo>.html detail pages on each crawl, so output stays consistent with repos that are no longer processed
  • listPublicRepos now returns archived repos alongside active ones, and a new removeArchivedRepoFiles helper performs the cleanup
  • Updated README to document the new behavior

Test plan

  • Added TestArchivedRepositories covering paginated repo listing (with and without a limit) and verifying that archived repo files are removed while active repo files are preserved
  • go build ./... and go test ./... pass locally

Archived repositories are now tracked during the repo listing so their
stale cached JSON data and previously generated detail pages are deleted
on each crawl, keeping output consistent with repos that are no longer
processed. Adds tests covering paginated listing and file removal.
@JaredHatfield
JaredHatfield merged commit efd9854 into main Nov 26, 2026
7 checks passed
@JaredHatfield
JaredHatfield deleted the feature/remove-archived-repo-cache-files branch November 26, 2026 09:48
@github-project-automation github-project-automation Bot moved this from Todo to Done in UnitVectorY Labs Nov 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

1 participant