offline/hybrid builds autoconfigure before installing the plugins they select
Nessuno ha ancora preso questa issue.
- #170 di @JarbasAl — chiusa senza merge
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 48/100
- Tipo di issue
- Bug
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Attiva
- Stack tecnologico
- shell
- Ambito
- build-system, devops, embedded-iot
Direzione di ricerca
Inizia con gli script di build offline e ibrido e con l’entry point ovos-config autoconfigure; confronta le relative righe di installazione con le selezioni STT/TTS generate. Controlla il pyproject.toml di ovos-core solo per confermare che i plugin non siano forniti indirettamente. Il lavoro è completo quando la configurazione generata di ogni livello indica plugin che l’immagine installa effettivamente, dopo aver deciso se aggiungere pacchetti o sovrascrivere le selezioni.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
🤖 Auto-generated by Claude Sonnet 5 (claude-sonnet-5) via Claude Code — NOT human-reviewed. Verify before acting.
Found while auditing the OVOS technical manual against current source.
The offline and hybrid build tiers call ovos-config autoconfigure --offline
(or --hybrid) before the recommends layer's selected plugins are installed.
--offline autoconfigure now selects onnx-asr and phoonnx, and --hybrid
merges offline_male into phoonnx, but the build step that installs
onnx-asr/phoonnx packages runs after autoconfigure, and the offline tier
never installs them at all — only citrinet/piper land on disk. The
generated mycroft.conf on both tiers names STT/TTS plugins the image does
not actually have installed.
Verified against the build scripts and ovos-config autoconfigure defaults
on origin/dev; not verified against a booted image.
Suggested fix: install the recommends-layer packages before running
autoconfigure, or run autoconfigure after the install step completes, on
both the offline and hybrid tiers.
Confirmed on dev, and reordering does not fix it
🤖 This section auto-generated by Claude Opus 5 (claude-opus-5) via Claude Code — NOT human-reviewed. The autoconfigure runs below were executed; the install lines were read from
origin/dev.
ovos-config 3.5.0a1 (c9baca5), run per tier in a throwaway venv with HOME and XDG_CONFIG_HOME pointed at a sandbox:
autoconfigure --lang en-US --offline --male --platform rpi5
stt.module = ovos-stt-plugin-onnx-asr
tts.module = ovos-tts-plugin-phoonnx
autoconfigure --lang en-US --hybrid --male --platform rpi5
stt.module = ovos-stt-plugin-server
tts.module = ovos-tts-plugin-phoonnx
Against raspOVOS 374f5f5:
| Tier | autoconfigure | installs | selected plugin present |
|---|---|---|---|
| offline | line 20 | ovos-stt-plugin-citrinet, line 23 |
no, for both STT and TTS |
| hybrid | line 22 | ovos-tts-plugin-piper, line 32 |
no, for TTS |
The offline tier is worse than the report above states: it selects onnx-asr and phoonnx, installs neither, and the one plugin it does install, citrinet, is named nowhere in the generated config.
The suggested reorder does not close it. git grep for phoonnx, onnx-asr and onnx_asr across every shell script in the repo returns nothing, so those packages are never installed at any point in any tier. ovos-core's pyproject.toml names none of phoonnx, onnx-asr or citrinet in any extra, so ovos-core[skills-en] on the lite base cannot supply them either. Running autoconfigure last would write the same config against the same missing packages.
What the fix has to choose between, since this is about what the image ships rather than step order:
- Install what the tier selects: add
ovos-stt-plugin-onnx-asrandovos-tts-plugin-phoonnxto the offline script,ovos-tts-plugin-phoonnxto hybrid. Honours the recommends layer, grows the image. - Select what the tier installs: pass explicit STT/TTS overrides so the config names
citrinetandpiper. Keeps image size, diverges from the shared recommends. - Change the recommends layer in
ovos-config, which moves the decision to every consumer of that layer, not just raspOVOS.
Only the first leaves the recommends layer meaning what it says everywhere. The call belongs to whoever owns the image size budget.
- Lingua principale
- Shell
- Stelle
- 58
- Fork
- 7
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Nessun modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di OpenVoiceOS/raspOVOS
-
Dependency DashboardAperta
Difficoltà 4/5 3-5 giorni Idoneità per principianti 15/100
OpenVoiceOS/raspOVOS#146 ·
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 45/100
OpenVoiceOS/raspOVOS#142 · 2 reazioni ·
-
ship ovos-skill-config-toolAperta
Difficoltà 5/5 Più di una settimana Idoneità per principianti 20/100
OpenVoiceOS/raspOVOS#139 ·
-
Improve file upload security and error handling in ovos-support scriptForse di nuovo libera @JarbasAl l’ha presa 678 giorni fa e non c’è nessuna pull request aperta. Aperta
OpenVoiceOS/raspOVOS#131 · 1 assegnatario ·
-
Implement data redaction in ovos-support scriptForse di nuovo libera @JarbasAl l’ha presa 678 giorni fa e non c’è nessuna pull request aperta. Aperta
OpenVoiceOS/raspOVOS#130 · 1 assegnatario ·
Tutte le issue di OpenVoiceOS/raspOVOS
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
jdx/jactionlint#360 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
apolloconfig/apollo#5726 ·
I maintainer di solito rispondono entro 2 giorni
-
bug
Difficoltà 1/5 1-3 ore Idoneità per principianti 88/100
PereViader/ManualDi#195 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 64/100
I maintainer di solito rispondono entro 1 giorno
-
package-update
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
I maintainer di solito rispondono entro 1 giorno