Update peach-lib dependencies and error printing #3
No reviewers
Labels
No Label
bug
documentation
duplicate
enhancement
help wanted
invalid
maintenance
peach-lib
peach-network
peach-oled
peach-stats
peach-web
question
refactor
wontfix
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: PeachCloud/peach-workspace#3
Loading…
Reference in New Issue
No description provided.
Delete Branch "fix_failing_build"
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?
This PR updates the
peach-lib
dependency forpeach-probe
andpeach-menu
(using apath
and not agit
URL).I also updated some error printing for
peach-probe
.@notplants Could you please checkout this branch and help me to solve the error in
peach-probe
? I think something might have broken whensnafu
errors were introduced topeach-lib
, but I'm not yet sure.It will take me some time to wrap my head around
snafu
error-handling again :/I found a solution for the aforementioned bug in the error assertion code.
snafu
is a bit of a nightmare 0_o Would love to revamp that at some point but I'm doing my best not to get stuck on that now :)I have one more error to fix (in
peach-oled
) and then this PR will be ready for review.This is now ready for review :)
I haven't done any major refactors. My goal here was simply to get the entire workspace to pass
cargo check
andcargo test
.I now see the "review" part of gitea, where you can click approve.
LGTM.
getting everything to pass cargo check and cargo test for the workspace sounds like a good baseline.
just one rfc about a possibly erroneous commented line
@ -248,3 +248,3 @@
use hal::i2cdev::linux::LinuxI2CError;
use jsonrpc_core::ErrorCode;
use nix::Error as NixError;
//use nix::Error as NixError;
should this line just be deleted instead of commented out?
Good spotting! I'm going to leave that one commented out for now, since it relates to the commented out test below it (
test to ensure correct I2CError error response (nix::Error variant)
). I've added aTODO
comment there to remind myself to fix it when I circle back to working on the physical interface .Wicked, thanks for the review! I'm really enjoying the Gitea interface.