feat(imports): job claims carry IMVU's rating
Pull request / title (pull_request) Successful in 2s
CI / test (pull_request) Successful in 1m31s
CI / image (apps/api/Dockerfile, t5de-hub-api) (pull_request) Skipped
CI / image (apps/web/Dockerfile, t5de-hub-web) (pull_request) Skipped

The importer writes it into index.xml as ProductRating, so the files agree with the revision's rating.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
dhkatzandClaude Opus 5.5 committed 2026-11-08 05:52:43 -08:00
1 parent 26cc8aec84
commit 56f9e29573
4 files changed
+14 -4

No files matched your search

+3 -2
View File
@@ -157,8 +157,9 @@ pair and the IMVU accounts' passwords.
- Reads CFLs with t5de-api's `cfl` package; the conversion follows `@imvu/chkn` (dhkatz/imvu.js) as a reference.
IMVU's CFLs are LZMA-compressed (directory and entries), which `cfl` doesn't read yet: it needs LZMA (pylzma's
format; the streams end with an end marker).
- Adds `<ProductRating>` to `index.xml` (IMVU's files don't have it; pack rules need it): IMVU's rating, or the
files' if they have a higher one.
- Adds `<ProductRating>` to `index.xml` (IMVU's files don't have it; pack rules need it): IMVU's rating, which the
job claim carries, or AP if the files have it. The hub rates the revision the higher of IMVU's and the files', and
the proxy needs the files to agree.
- Validates with t5de-api's `pack` rules before uploading; a product breaking them fails with the reason. (In the
spike, products were far inside them.)