Commit Graph
5 Commits
Author SHA1 Message Date
yann64andClaude Opus 5.5 ce7316af29 Linux packaging: Debian package, AppImage script, release workflow
CI / Linux arm64 (push) Waiting to run
CI / Linux x86_64 (push) Waiting to run
CI / ASan + UBSan (push) Waiting to run
- CPack DEB configuration (cmake/Packaging.cmake): dependencies from
  dpkg-shlibdeps, udisks2 recommended, strip.
- AppStream metadata, installed with the desktop file and the icons;
  tools/release.sh adds each release to it.
- tools/appimage.sh: AppImage of the GTK interface and openpu-cli with
  linuxdeploy and its GTK plugin (x86_64 and aarch64).
- Release workflow: .deb, AppImage and openpu-cli tarball for x86_64 and
  arm64, attached to the release of a vX.Y.Z tag, or kept as artifacts
  on a manual run. tools/release.sh edits the release when the workflow
  created it first.
- The GTK interface finds its translations next to the executable
  (../share/locale), for relocatable installs.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WDASLCiN764v685boRVYar
2026-11-29 06:17:50 +01:00
yann64andClaude Opus 5.5 155545660e Haiku: native Interface Kit user interface
CI / Linux arm64 (push) Waiting to run
CI / Linux x86_64 (push) Waiting to run
CI / ASan + UBSan (push) Waiting to run
Same workflow as the GTK interface: vehicle list, adding a vehicle by VIN,
available updates, download folder, resumable download with progress, USB
stick selection with an erase confirmation, writing, installation guide.
Also a Preferences window (folder, language, automatic new-version check),
an About window and the manual new-version check.

Worker threads post closures to the window through a non-blocking queue
(BMessenger with a zero timeout). Translations use gettext with the GTK
catalogs; the default language comes from the Locale preferences. The
executable gets its signature and version from a generated .rdef.

Validated in the Haiku R1/beta6 VM against a mock Majestic server: full
flow down to a FAT32 stick with license/, both archives and no
UpdateInfo.xml; French interface; GitHub new-version check.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WDASLCiN764v685boRVYar
2026-11-29 05:56:25 +01:00
yann64andClaude Opus 5.5 32412fe6be release: v0.2.0
CI / Linux arm64 (push) Waiting to run
CI / Linux x86_64 (push) Waiting to run
CI / ASan + UBSan (push) Waiting to run
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WDASLCiN764v685boRVYar
2026-11-28 19:59:07 +01:00
yann64andClaude Opus 5.5 384aaf78c6 gtk: interface GTK4, préférences, versions, traductions, licence MIT
- interface gtkmm-4 : véhicules, ajout par VIN, mises à jour, dossier,
  téléchargement avec reprise et arrêt, choix de la clé, confirmation,
  écriture avec progression, fin avec guide d'installation ; travail
  dans un thread, résultats renvoyés via Glib::Dispatcher
- préférences : dossier de téléchargement, langue (système par défaut),
  recherche automatique de nouvelle version d'OpenPU
- recherche de nouvelle version (releases GitHub, format tags Gitea
  accepté) avec ouverture de la page dans le navigateur ;
  openpu-cli app-update
- versions : project(VERSION) + git describe régénéré à chaque build,
  openpu-cli --version, À propos, User-Agent, CHANGELOG, tools/release.sh
  (étiquette annotée, push vers tous les remotes, release GitHub)
- traductions gettext : textes anglais, fr.po complet (96 chaînes),
  extracteur de secours sans xgettext
- core : module job (téléchargement licence/fw/carte), liens des guides
  PDF, ordre des véhicules conservé (ordered_json)
- licence MIT (LICENSE, en-têtes SPDX) ; dépôt principal sur GitHub
- validé dans WSLg : parcours complet jusqu'à l'écriture d'une clé loop
  (FAT32 propre, fichiers téléchargés supprimés)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WDASLCiN764v685boRVYar
2026-11-28 19:54:04 +01:00
yann64andClaude Opus 5.5 95704f9882 core: client API Majestic, modèles et CLI check
- libopenpu : validation VIN, modèles JSON (getAvailableUpdate, devices),
  classification ecuType -> type/guide, sélection des mises à jour
- couche Transport abstraite + implémentation libcurl (proxy env, redirections,
  streaming, timeout d'inactivité)
- tolérance au EOF TLS sans close_notify de la passerelle Majestic, limitée
  aux corps délimités par la fermeture (ni Content-Length ni chunked)
- openpu-cli : check / raw-devices / raw-updates
- tests doctest (VIN, parsing, classification, client API avec faux transport),
  fixtures dont une capture réelle anonymisée (NAC wave 2)
- qualité : presets CMake (debug, asan, tidy), .clang-tidy, tools/check.sh
  (tests, ASan/UBSan, valgrind, clang-tidy, cppcheck)
- validé contre l'API réelle sur 3 véhicules (NAC w4, RCC, NAC w2)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WDASLCiN764v685boRVYar
2026-11-28 17:45:27 +01:00