mirror of
https://github.com/Glitchy-Sheep/boosty-downloader.git
synced 2026-10-14 21:33:23 +00:00
[PR #100] [MERGED] Add --cache-dir flag for custom cache database location #109
Labels
No labels
api-drift
bug
ci
documentation
enhancement
enhancement
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Glitchy-Sheep/boosty-downloader#109
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/Glitchy-Sheep/boosty-downloader/pull/100
Author: @Glitchy-Sheep
Created: 4/12/2026
Status: ✅ Merged
Merged: 4/12/2026
Merged by: @Glitchy-Sheep
Base:
main← Head:feat/cache-dir📝 Commits (5)
3abc488Add --cache-dir flag for custom cache database locationfe625a6Update changelog.md2947c9eBetter help for new option90a4241Fix CI: full clone for changelog diff and remove duplicate push triggerae9f8a8Stricter CHANGELOG CI check: validate additions to Unreleased section📊 Changes
6 files changed (+81 additions, -13 deletions)
View changed files
📝
.github/workflows/ci.yaml(+51 -12)📝
CHANGELOG.md(+2 -0)📝
boosty_downloader/main.py(+11 -0)📝
boosty_downloader/src/application/di/app_environment.py(+3 -1)📝
boosty_downloader/src/cli/cli_options.py(+13 -0)📝
boosty_downloader/src/infrastructure/yaml_configuration/config.py(+1 -0)📄 Description
📝 Summary
Add
--cache-dirCLI flag andcache_directoryconfig.yaml option to store the SQLite cache database separately from downloads.SQLite requires OS-level file locking which doesn't work reliably on network filesystems (CIFS/SMB). Users downloading to NAS get
database is lockederrors even with a single process. This flag allows placing the cache on a local disk while keeping downloads on network storage.When not specified, cache stays next to downloads as before - no behavior change for existing users.
Also fixes CI: full git clone for changelog diff check and removes duplicate push trigger.
🎯 Related Issue
Closes #95
✅ Checklist
make test)make ci-check)## Unreleasedsection in CHANGELOG.md describing the change (or addedci/skip-changeloglabel if not user-facing)🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.