Skip to content

Add autoDeleteStaleRepos config option #128

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 6 commits into from
Dec 13, 2024
Merged

Conversation

brendan-kellam
Copy link
Contributor

@brendan-kellam brendan-kellam commented Dec 13, 2024

This PR adds the option autoDeleteStaleRepos to the settings object of the config. Its default is true. When enabled, stale repositories (i.e., the .zoekt index files in .sourcebot/index, and the checked out repository in .sourcebot/repos) are deleted from disk.

Fixes #39

Also Fixes #127

@brendan-kellam brendan-kellam changed the title Add config option that defaults to true Add autoDeleteStaleRepos config option Dec 13, 2024
@brendan-kellam brendan-kellam merged commit 4353d20 into main Dec 13, 2024
3 checks passed
@brendan-kellam brendan-kellam deleted the bkellam/delete_stale branch December 13, 2024 20:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

GitLab topics are case insensitive GitLab repositories remain indexed after Sourcebot no longer has access to them
1 participant