DEVICE_REGISTRY: the count page was behind the catalogue the merge just grew #1532
No reviewers
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
jaylouisw/packetforge!1532
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "docs/1115-1915"
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?
docs/DEVICE_REGISTRY.md said 2,039 models across 251 vendors and 292 switches.
The catalogue says otherwise, and the code is the truth:
find devices -name "*.json" | wc -l-> 2045ls -d devices/*/ | wc -l-> 252 vendor directoriesgrep -rl '"category": "switch"' devices --include=*.json | wc -l-> 298The drift comes from #1530 (Ruijie Reyee NBS3100, six switches and a vendor the catalogue did not have), merged eleven minutes before this branch was cut.
scripts/regen-registry-doc.jsrewrote the two values it owns;--checknow reports the page current.Guard counts:
test/doc-catalog-counts.test.js20 passed / 4 failed before -> 24 / 0 after.test/docs-show-commands.test.js7/0,test/help-completeness.test.js8/0,test/help-key-works-in-every-prompt.test.js9/0,scripts/syntax-check.js320 files OK.Docs-only; no engine change.
Left alone, and worth its own run: the table under that headline is captioned "the largest vendors by model count" but is not sorted by it (Ubiquiti 367 below MikroTik 366; Teltonika 88 below Aruba 73 and Huawei 82).
10028325911cb8866852