feat(spikes): add Spike 7 desktop git push smoke test

Proves add -> commit -> push over HTTPS+PAT via libgit2 (git2), the
ADR-004 fallback after gitoxide was found to lack HTTP(S) push. Host
crate on stable, kept out of the xtensa firmware tree.
This commit is contained in:
Julien Calixte
2026-07-05 19:38:48 +02:00
parent 0b52f34940
commit 7de05794e6
6 changed files with 1227 additions and 0 deletions

View File

@@ -0,0 +1,16 @@
[package]
name = "spike7-git-push"
version = "0.1.0"
edition = "2021"
publish = false
description = "Spike 7 (desktop half) — libgit2 add/commit/push over HTTPS+PAT"
[dependencies]
# libgit2 via the vendored C build — this is the ADR-004 kill-switch path.
# gix was the first choice but cannot push over HTTPS yet (see README), so
# Spike 7 proves the fallback the risk table names: libgit2-sys / git2.
git2 = "0.20"
anyhow = "1"
# Only for the ISO-8601 commit-message timestamp (the message *is* the time,
# per the git module spec). On device this comes from SNTP instead.
chrono = { version = "0.4", default-features = false, features = ["clock"] }