tracker
All repositories: gitoria
1.4 KB
// tests/seed-tvleftover.hl — GATE FIXTURE for mission 025: written by tests/browser.mjs into the gate's storage while the app is// STOPPED (one process per storage, hybriel#21). A MOVIE carrying a TV answer's fields, like Star Trek: First Contact on the// real data (the #9 sync once asked /tv/<its tmdbId>): TV text in tmdbSummary, status 'Ended', season/episode counts. It is// complete otherwise (`detailsAt` set) — the details repair must still ask /movie/2299 again (shows.hl hasTvLeftovers).import { MPackDB } from 'hl:mpackdb'import { env } from 'hl:proc'storageDir = env('TRACKER_STORAGE')if (storageDir == null || !storageDir.startsWith('/')) { hlError('set TRACKER_STORAGE, absolute') }showsTable = new MPackDB(file = storageDir + '/shows.db', primaryKey = '@id', indexes = ['!oldId'])showsTable.put({adult = false id = 'sh000000000tvfc1' title = 'Gate First Contact' summary = null tmdbSummary = 'A TV show about small businesses.' tmdbId = 2299language = 'en' type = 'movie' release = '1996-11-22' year = 1996 image = null urlSegment = 'gate-first-contact'episodesCount = 0 homepage = null imdbId = null seasonsCount = 0 status = 'Ended' tagline = nulltvdbId = null tvmzId = null genres = [] cast = [] seasons = [] oldId = 'shtvfc1' detailsAt = 1 creditsAt = 1})showsTable.persist()console.log('seed tv leftover: 1 movie with a TV answer\'s fields (Gate First Contact, tmdb 2299)')
Branches
Latest commits
- f88ae8b9|||PR records: day56 toggle live, reviewTracker
- b6b3bb4dMerge branch 'ap56e' into mainTracker
- 29a26da9|||PR AP56e: guard hidden show helpers during session syncTracker
- 7c9ec236|||PR AP56e: re-vendor Hybriel set day56 (source 36ae83a8, bin c1f595a2)Tracker
- 4b54f6f9Merge branch 'records-audit' into mainTracker
- cab4a3bc|||PR records: branch audit, PR-onlyTracker
- 641e1c4cMerge branch 'records-dp71' into mainTracker
- 85a6e9f5|||PR records: DP71 checked in ChromeTracker
- f5be5f18records: gitoria PR-only planTracker
- 46a37036records: DP71 liveTracker
- 3bcb7039Status/log: DP71 in progressTracker
- 5b3a5693Log: SR1b merged via PR 2, DP71 startedTracker
- 783957c2Merge branch 'sr1-search' into mainTracker
- 792b9652README: search results come from the routeTracker
- fd8570b1|||PR search: one server exchange per keystrokeTracker
- e8f5cbcaLog: SR1 result, SR1bTracker
- 8ad275a4Log/status: tracker 68, SR1Tracker
- f5a06a0fLog: gitoria push setup, SR1Tracker
- d6b109baMission SR1mre
- 608b7558Log: FF1 merged via PR #1mre