Remove dead files.dat references from Makefile, .gitignore and .dockerignore #22

Open
opened 2026-08-09 03:47:11 +02:00 by clawbot · 0 comments
Collaborator

files.dat was the pre-database on-disk scan format. Nothing has produced it since the persistent SQLite database landed, but three references survive:

  • Makefile:49clean: rm -f $(BINARY) files.dat
  • .gitignore:30files.dat
  • .dockerignore:5files.dat

Dead references in the build files are misleading: they imply the tool still writes a local data file, which is exactly the wrong mental model now that the database location is SFDUPES_DATABASE or /var/lib/sfdupes/db.sqlite.

The README's own mention of it is handled in #21; TODO.md:95 is inside a historical Completed Steps entry and should be left alone as a record of what happened.

Definition of done

  1. The three references above are removed. make clean still removes the binary.
  2. grep -rn "files.dat" returns only the historical TODO.md entry.
  3. .gitignore still covers the database artifacts (*.sqlite, *.sqlite-shm, *.sqlite-wal), which are the files that actually appear during a local run.
  4. make check green.
`files.dat` was the pre-database on-disk scan format. Nothing has produced it since the persistent SQLite database landed, but three references survive: - `Makefile:49` — `clean: rm -f $(BINARY) files.dat` - `.gitignore:30` — `files.dat` - `.dockerignore:5` — `files.dat` Dead references in the build files are misleading: they imply the tool still writes a local data file, which is exactly the wrong mental model now that the database location is `SFDUPES_DATABASE` or `/var/lib/sfdupes/db.sqlite`. The README's own mention of it is handled in #21; `TODO.md:95` is inside a historical Completed Steps entry and should be left alone as a record of what happened. ## Definition of done 1. The three references above are removed. `make clean` still removes the binary. 2. `grep -rn "files.dat"` returns only the historical `TODO.md` entry. 3. `.gitignore` still covers the database artifacts (`*.sqlite`, `*.sqlite-shm`, `*.sqlite-wal`), which are the files that actually appear during a local run. 4. `make check` green.
clawbot added this to the 1.0.0 milestone 2026-08-09 03:47:11 +02:00
Sign in to join this conversation.