Skip to content

Commit 4c3e172

Browse files
Rick-GOclaude
andcommitted
feat: add check command for cloud firmware fetching (v3.0.0)
- Add `check [--verbose/-v]` command that fetches the latest firmware for all module hardware versions from firmware.gocontroll.com into /lib/firmware/gocontroll/ - SHA256 checksum validation for every downloaded firmware file; re-downloads if local file is missing or checksum does not match - Verbose flag shows release date and changelog per module - check runs before hardware/service detection so it works on any networked system - check is also available from the interactive TUI menu - Fix typos: "Succesfully" → "Successfully" throughout - Add reqwest, serde, sha2, hex dependencies Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent f9e2199 commit 4c3e172

3 files changed

Lines changed: 263 additions & 11 deletions

File tree

CHANGELOG.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,16 @@
1+
v3.0.0
2+
- Added `check` command: fetches the latest firmware for all module hardware versions
3+
from the GOcontroll cloud (firmware.gocontroll.com) into /lib/firmware/gocontroll/
4+
- SHA256 checksum validation for all downloaded firmware files
5+
- Use `check --verbose` (or `-v`) to display release dates and changelogs
6+
- Fixed typos in output messages
7+
8+
v2.2.0
9+
- Debian 11 compatibility improvements
10+
11+
v2.1.0
12+
- Added Multibus module support
13+
114
v2.0.0
215
- Firmware locations have been moved to /lib/firmware/gocontroll/
316
- The modules file has been moved to /lib/gocontroll/modules

Cargo.toml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "go-modules"
3-
version = "2.2.0"
3+
version = "3.0.0"
44
edition = "2021"
55
license = "MIT"
66
repository = "https://github.com/GOcontroll/go-modules"
@@ -31,6 +31,10 @@ ctrlc = "3.4.5"
3131
tokio = { version = "1.43.0", features = ["rt", "macros", "time", "rt-multi-thread"]}
3232
gpio-cdev = { version = "0.6", features = ["async-tokio"]}
3333
futures = "0.3.31"
34+
reqwest = { version = "0.12", features = ["json"] }
35+
serde = { version = "1.0", features = ["derive"] }
36+
sha2 = "0.10"
37+
hex = "0.4"
3438

3539
[package.metadata.deb]
3640
depends = ["libc-bin"]

0 commit comments

Comments
 (0)