Skip to content

chore: delete the two SQLite databases committed into the tree - #366

Closed
ywatanabe1989 wants to merge 1 commit into
developfrom
chore/remove-committed-sqlite-databases
Closed

ywatanabe1989 wants to merge 1 commit into
developfrom
chore/remove-committed-sqlite-databases

Conversation

@ywatanabe1989

Copy link
Copy Markdown
Collaborator

Two real SQLite database files were tracked in this repository:

file size
.scitex/clew/runtime/db.sqlite 69,632 bytes
examples/_legacy/scitex/clew/multi_parent/scitex/clew.db 94,208 bytes

Neither is referenced by any code. Both are stale artefacts of a clew runtime that no longer exists — and the repository already says so, in two places, without ever having removed them:

.gitignore:930            **/scitex/clew.db
.scitex/dev/config.yaml   "stale orphan dir (clew.db inside; ...)"

An ignore rule does not untrack a file that is already tracked. That is the whole story of how a 94 KB database sat in a Python package's examples directory while being explicitly ignored.

How the other one got in

.gitignore listed db.sqlite3 and db.sqlite3-journal but not db.sqlite, so .scitex/clew/runtime/db.sqlite matched nothing at all. This PR adds db.sqlite beside db.sqlite3 in both ignore blocks (lines 147 and 393) so the same one-character gap cannot be walked through again.

Verification

After this change, git ls-files filtered on \.db$|\.sqlite$|\.sqlite3$ returns nothing in this repository.

Scope

Part of the fleet-wide SQLite eradication. Deliberately not touched: scitex-db, crossref-local and openalex-local — named exceptions whose databases must survive.

Two real SQLite database files were tracked in this repository:

  .scitex/clew/runtime/db.sqlite                             69,632 bytes
  examples/_legacy/scitex/clew/multi_parent/scitex/clew.db   94,208 bytes

Neither is referenced by any code. Both are stale artefacts of a clew
runtime that no longer exists, and the repository already says so in two
places without ever having removed them:

  .gitignore:930          **/scitex/clew.db
  .scitex/dev/config.yaml   "stale orphan dir (clew.db inside; ...)"

An ignore rule does not untrack a file that is already tracked, which is
why `clew.db` survived being explicitly ignored. That is the whole story
of how a 94 KB database sat in a Python package's examples directory.

WHY THE OTHER ONE GOT IN: .gitignore listed `db.sqlite3` and
`db.sqlite3-journal` but NOT `db.sqlite`, so `.scitex/clew/runtime/db.sqlite`
matched nothing. Added `db.sqlite` beside `db.sqlite3` in both ignore
blocks so the same gap cannot be walked through again.

After this, `git ls-files` matching `\.db$|\.sqlite$|\.sqlite3$` returns
nothing in this repository.

Part of the fleet-wide SQLite eradication. Deliberately NOT touched:
scitex-db, crossref-local and openalex-local, which are named exceptions
and whose databases must survive.
@ywatanabe1989

Copy link
Copy Markdown
Collaborator Author

Closed by the SciTeX 72-hour freshness policy: this PR had no activity for more than three days. PRs are perishable inventory and green evidence ages with the base. If the change is still needed, create a fresh PR from the current base rather than reviving this stale integration state.

auto-merge was automatically disabled September 17, 2026 17:40

Pull request was closed

@github-actions github-actions Bot locked and limited conversation to collaborators Sep 17, 2026
@ywatanabe1989
ywatanabe1989 deleted the chore/remove-committed-sqlite-databases branch September 19, 2026 19:29
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant