One canonical name per vendor in the shipped catalog

This commit is contained in:
2026-08-25 07:47:56 -04:00
parent 1812def14f
commit c7fd00c225
2 changed files with 11 additions and 12 deletions

View File

@@ -24,7 +24,7 @@ ADR-007 and ADR-002.
`rename` fixes a stripped name with no twin, which neither of the others can `rename` fixes a stripped name with no twin, which neither of the others can
reach. All three report and change nothing unless `--apply` is passed, and reach. All three report and change nothing unless `--apply` is passed, and
`dedupe` is idempotent. References are discovered from the live schema, not `dedupe` is idempotent. References are discovered from the live schema, not
listed in code: there are 15 foreign keys into these three tables, and listed in code: there are 14 foreign keys into these three tables, and
`machines.controllervendorid` is not one anybody would enumerate by hand. `machines.controllervendorid` is not one anybody would enumerate by hand.
- **Secure Send: hand somebody a password without leaving it in a chat - **Secure Send: hand somebody a password without leaving it in a chat
@@ -90,6 +90,16 @@ ADR-007 and ADR-002.
### Fixed ### Fixed
- **The shipped catalog offered two ways to spell the same vendor, and one row
that should never have left a test.** `HP Inc.` and `Zebra Technologies` were
empty rows duplicating `HP` and `Zebra`, which carry every model between
them; neither exists in this site's database, so they would have arrived as
duplicates at a new site and nowhere else. `UnscopedLiveVendor` was a test
artifact: `export_catalog.py` reads the live development database, so a row
left behind by a lab run was published as reference data. The canonical name
is whichever spelling holds the entries, which is why it is `Dell Inc.` but
`HP` and `Zebra`. Vendors 51 to 48.
- **The shipped seed catalog contained duplicate vendors, models and operating - **The shipped seed catalog contained duplicate vendors, models and operating
systems.** Four space-stripped twins, each with a correctly spaced original systems.** Four space-stripped twins, each with a correctly spaced original
already present, so a new site inherited the same company listed twice. already present, so a new site inherited the same company listed twice.

View File

@@ -471,10 +471,6 @@
{ {
"vendor": "HP" "vendor": "HP"
}, },
{
"vendor": "HP Inc.",
"website": "https://www.hp.com"
},
{ {
"vendor": "Hwacheon" "vendor": "Hwacheon"
}, },
@@ -537,9 +533,6 @@
{ {
"vendor": "Toshulin" "vendor": "Toshulin"
}, },
{
"vendor": "UnscopedLiveVendor"
},
{ {
"vendor": "VM-Ware" "vendor": "VM-Ware"
}, },
@@ -552,10 +545,6 @@
{ {
"vendor": "Zebra" "vendor": "Zebra"
}, },
{
"vendor": "Zebra Technologies",
"website": "https://www.zebra.com"
},
{ {
"vendor": "Zeiss" "vendor": "Zeiss"
}, },