Remove the deprecated eink plugin #112
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "remove/eink"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
What this PR does
Removes the deprecated
einkplugin, as planned indeferred.md.eink-ws27replaced it in 1.0.10 (the same code under the HAT's name), and this is the reflash-class release that can drop it.plugins/eink.pyand its three driver helpers (_eink_epdconfig.py,_eink_epd2in7.py,_eink_epd2in7_V2.py);eink-ws27keeps its own byte-identical copies.[plugins.eink]table inconfig.tomlto[plugins.eink-ws27]and points its comment ateink-ws27-setup.md.eink-ws27loses the hooks that existed only for the deprecated pair: noDEPRECATED, a plainclaim_panel, a plain health note. Theeink_facelibrary keeps itsyieldsAPI (it is generic, andupshas the same rule).test_eink.pyandtest_eink_keys.pynow testeink-ws27; the library tests load through it;test_eink_ws27.pydrops the same-code, helper-digest and deprecation checks and gainstest_eink_is_gone(no plugin, no helpers, no shipped table, noeinkin the user-facing plugin lists, noeink-setup.md); the one-panel test checks the yielding rule with a stand-in claim.docs/user-guide/eink-setup.md;eink-ws27-setup.md's "Switching fromeink" becomes "Coming fromeink" (enableeink-ws27after reflashing, move face and voice overrides); README,managing-plugins.md,user-guides.md,config-reference.md,eink-ws213-setup.md,plugin-libraries.md,vendored-code.md,user-guide-publishing.md,GUIDE_MDand CLAUDE.md updated; the plugin count goes from twenty to nineteen.pull-eink-diagnostics.shdefaults to--plugin eink-ws27(einkstill works for a device on 1.0.10 or older).einkplugin" entry fromdeferred.md.Left as is on purpose: the ghost-guide fixture's
EINK_NAMESfallback (it renderseinkfor a stable release from before 1.0.11, until a stable without it is the latest), andtools/beta-check/(itseinkchecks go in the 1.0.11 beta-check update).Checklist
make lint(ansible--syntax-check,yamllint,shellcheck --severity=error, and the real-data check). The Lint workflow runs this on the PR.make test(thekestrel_pipytest suite and the real-data check's tests). The Test workflow runs this on the PR..envfiles, real names, personal emails, device serials, and no real captured or device data: SSIDs, MAC addresses, GPS coordinates, capture files, diagnostics bundles, logs, or screenshots of a real device — placeholders only. The real-data check catches MACs, emails, keys and capture files; real SSIDs, coordinates and screenshots are on you.docs/, and the on-device operator guide (GUIDE_MDinkestrel_pi/userguide.py) where it applies.Release impact
kestrel_pipackage,plugins/*.py, systemd units, the journald drop-in, a lib script already in the engine'sLIB_SCRIPTS, or the CLI.config.txt/cmdline, kernel modules, the base image or partition size,builder/config.json,builder/config.yml, theMakefile,.forgejo/workflows/, a shipped config default (config.toml/default.conf), or a brand-new lib script.Notes for review
config.tomlchanges: only a reflash puts the[plugins.eink-ws27]table on a device. An in-place update would deleteeink.py(the engine removes plugins a release no longer ships) and leave a device that hadeinkon without its face, so this must not go out app-layer.update_kind=autowon't catch it (noconfig.yml/config.json/Makefile/workflow change), so the release carrying this needsupdate_kind=reflash, as planned for 1.0.11-beta.1.test_gps_serial_reader_recovers_from_a_stalled_linkfails on my machine on a cleanorigin/maincheckout too, and passes in CI, so it's unrelated to this change.🤖 Generated with Claude Code