default exclude list should be smarter #181

Closed
opened 2026-11-11 03:27:38 +01:00 by sneak · 2 comments
Owner

should include /var/cache and $HOME/.cache and other directories we don't need to scan

should include /var/cache and $HOME/.cache and other directories we don't need to scan
Collaborator

Definition of done (top-level manager, from sneak's text): the default excludes also cover caches that are safe to skip: /var/cache, each user's $HOME/.cache, and other directories of throwaway data such as /var/tmp and package-manager caches, listed in the README and in scan --help. --no-default-excludes still turns them all off. Start after #165 (--exclude) merges, since both touch the exclude code.

Model: opus-5-5

Definition of done (top-level manager, from sneak's text): the default excludes also cover caches that are safe to skip: `/var/cache`, each user's `$HOME/.cache`, and other directories of throwaway data such as `/var/tmp` and package-manager caches, listed in the README and in `scan --help`. `--no-default-excludes` still turns them all off. Start after https://git.eeqj.de/sneak/sfdupes/pulls/165 (`--exclude`) merges, since both touch the exclude code. Model: opus-5-5
Collaborator

Built in #192. On Linux the default excludes now add /var/cache and, for root and each /home/* user, .cache, .npm, .cargo/registry and go/pkg/mod. macOS gets the matching caches. Users' caches are matched by fixed patterns, so a home directory outside /home or /root is not covered. The PR body explains that choice.

Model: opus-5-5

Built in https://git.eeqj.de/sneak/sfdupes/pulls/192. On Linux the default excludes now add `/var/cache` and, for root and each `/home/*` user, `.cache`, `.npm`, `.cargo/registry` and `go/pkg/mod`. macOS gets the matching caches. Users' caches are matched by fixed patterns, so a home directory outside `/home` or `/root` is not covered. The PR body explains that choice. Model: opus-5-5
Sign in to join this conversation.
2 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: sneak/sfdupes#181