Improvements

This commit is contained in:
jason5ng32 committed 2026-10-05 11:56:44 +08:00
1 parent af45bcee18
commit 95f4196c88
2 files changed
+7 -53

No files matched your search

+3 -23
View File
@@ -18,28 +18,8 @@ npm-debug.log*
yarn-debug.log*
pnpm-debug.log*
# Runtime-downloaded databases — never bake them into the image. A clean CI build
# Runtime-downloaded datasets — never bake them into the image. A clean CI build
# wouldn't have them anyway; this keeps a local build (which has them on disk from
# `pnpm dev`) consistent with CI, so the container always downloads fresh data on
# first boot. Kept in sync with the matching block in .gitignore.
common/maxmind-db/.maxmind-update-*.json
common/maxmind-db/.maxmind-update.lock
common/maxmind-db/*.bak
common/maxmind-db/*.next
common/maxmind-db/*.mmdb
common/as-org-db/*.txt
common/as-rel-db/*.txt
common/as-org-db/.caida-update-state.json
common/as-rel-db/.caida-update-state.json
common/as-org-db/.caida-update.lock
common/as-rel-db/.caida-update.lock
common/as-org-db/*.bak
common/as-rel-db/*.bak
common/as-org-db/*.next
common/as-rel-db/*.next
common/peeringdb-db/*.json
common/peeringdb-db/.caida-update-state.json
common/peeringdb-db/.caida-update.lock
common/peeringdb-db/*.bak
common/peeringdb-db/*.next
# first boot. Same pattern as .gitignore.
common/*-db/
+4 -30
View File
@@ -33,36 +33,10 @@ localtest
.VSCodeCounter
common/maxmind-db/.maxmind-update-*.json
common/maxmind-db/.maxmind-update.lock
common/maxmind-db/*.bak
common/maxmind-db/*.next
common/maxmind-db/*.mmdb
# CAIDA datasets — Non-Commercial license, don't commit to public repo.
common/as-org-db/*.txt
common/as-rel-db/*.txt
common/as-org-db/.caida-update-state.json
common/as-rel-db/.caida-update-state.json
common/as-org-db/.caida-update.lock
common/as-rel-db/.caida-update.lock
common/as-org-db/*.bak
common/as-rel-db/*.bak
common/as-org-db/*.next
common/as-rel-db/*.next
common/peeringdb-db/*.json
common/peeringdb-db/.caida-update-state.json
common/peeringdb-db/.caida-update.lock
common/peeringdb-db/*.bak
common/peeringdb-db/*.next
# IEEE MAC registries — downloaded at boot, refreshed daily.
common/oui-db/*.csv
common/oui-db/*.bak
common/oui-db/*.next
# Dataset updater (common/dataset-updater.js): state (+ its atomic-write
# temp files) and the lock directory, in every dataset directory.
common/*-db/.dataset-state.json*
common/*-db/.dataset.lock
# Offline datasets (common/datasets.js): every common/<name>-db/ directory
# holds only downloaded data, its state and lock — created at runtime, never
# committed (CAIDA's data is under a non-commercial license).
common/*-db/
.learnings/
docs/
.plan/