Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Design: Test TinyPilot Debian package install

Aperta
#1,659 5 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
25/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
debian, docker
Ambito
devops, testing-qa

Direzione di ricerca

Start by reading bundler/bundle/install and debian-pkg/debian/tinypilot.postinst, then review the related ideas in issue 1691. Define the installation and reinstallation checks, plus how a Docker image can mimic the required Raspberry Pi OS paths. Done means a documented design addressing both deliverables, not an implementation.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

enhancement

The TinyPilot install process is sufficiently complex that it would be helpful to have tests validating that the installer does what we expect.

We've had a few bugs in the past due to subtle oversights in install logic, and we only discovered them when they bit us later.

Rough idea
  1. Create a Docker container that emulates Raspberry Pi OS Lite (put in paths like /boot/config.txt that exist in Pi OS)
    • This will probably just be the standard Debian:11 image with a few changes on top to put in paths that make it look like Pi OS as far as TinyPilot is concerned.
  2. Boot into the Docker container in CircleCI
  3. Install the TinyPilot Debian package (or run the bundle install script)
  4. Run checks to verify that the system is in the expected state (e.g., our desired modifications to /boot/config.txt are there, paths we want to create exist, users exist that we expect).
  5. Uninstall the TinyPilot Debian package
  6. Reinstall the TinyPilot Debian package
  7. Verify that modifications to the files we expect happen exactly once rather than once per install
Deliverable

This ticket is just to flesh out the design rather than to get into implementation.

The design should cover:

  • What tests will we perform to validate the install?
  • How can we create a Docker container that mimics Raspberry Pi OS for our purposes?

I accidentally duplicated this idea in https://github.com/tiny-pilot/tinypilot/issues/1691 so there are additional ideas there.

Lingua principale
Python
Stelle
3.5k
Fork
291
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Guida per i contributori

Apri la guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di tiny-pilot/tinypilot

Tutte le issue di tiny-pilot/tinypilot

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.