[seed] Reproducible media seeding — photos / songs / videos files + copy-step + runbook §7.3 #48
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
Goal
Make the demo media (photos, songs, videos) reproducible from this repo. Today the herodemo VM has photos / songs / videos seeded somehow (probably from a backup tarball or a one-off SCP), but a fresh deploy following
docs/ops/DEPLOYMENT.mdproduces empty Library archipelagos.Current gap
data/media/photos/photo_NN.jpgdata/media/to~/hero/var/hero_foundry/webdav/<ctx>/Photos/data/media/songs/clip_*.oggdata/media/videos/*.mp4webdav/{root,default,geomind,incubaid}/Videos/data/seed/seed_install.shonly handles Office-doc generation +libraries.txtfor hero_books today.Acceptance criteria
data/media/videos/with one or more trimmed sample mp4s (~5-10 MB each is fine). Two acceptable approaches — pick one:data/media/videos/MANIFEST.txtlisting one entry per file with<filename> <sha256> <download-url>. Commit nothing else; letseed_install.shdownload and verify on first run.data/seed/seed_install.shwith aseed_mediasub-routine that:default, plus any caller-supplied list)data/media/photos/*.jpg→~/hero/var/hero_foundry/webdav/<ctx>/Photos/data/media/songs/*.ogg→webdav/<ctx>/Songs/(orMusic/, whatever the archipelago expects — verify against current foundry layout)data/media/videos/*.mp4→webdav/<ctx>/Videos/§7.3 Media seedingsubsection documenting:defaultseed_install.shtwice on a fresh VM — second run is a no-op.Open question for the implementer
Does the Photos / Videos archipelago island read only from foundry's webdav (filesystem listing), or does it also need OSIS metadata records (in
hero_osis_media) for each file? If the latter, this issue overlaps with the OSIS-seed issue and we may need a smallseed_media_osisstep here too. Verify before implementing.Out of scope
Signed-off-by: mik-tf