Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve temperature lines in TinyPilot logs #1542

Merged
merged 4 commits into from
Aug 9, 2023

Conversation

cghague
Copy link
Contributor

@cghague cghague commented Aug 2, 2023

Resolves #1488

Runs a simple text replacement to make the output of vcgencmd measure_temp more readable.
Review on CodeApprove

@cghague cghague requested a review from mtlynch August 2, 2023 14:16
@mtlynch mtlynch requested review from jdeanwallace and removed request for mtlynch August 2, 2023 14:17
@codeapprove
Copy link

codeapprove bot commented Aug 2, 2023

Automated comment from CodeApprove ➜

👀 @cghague it's your turn, please take a look

Copy link
Contributor

mtlynch commented Aug 2, 2023

Automated comment from CodeApprove ➜

@jdeanwallace please review this Pull Request

Copy link
Contributor

@jdeanwallace jdeanwallace left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Automated comment from CodeApprove ➜

⏳ Approval Pending (1 unresolved comments)
Approval will be granted automatically when all comments are resolved

LGTM, thanks!


In: debian-pkg/opt/tinypilot-privileged/scripts/collect-debug-logs:

> Line 135
  vcgencmd measure_temp | sed "s/temp=/CPU Temperature: /g"

Seeing as we don't need variable interpolation, can we use single quotes instead of double quotes?


👀 @cghague it's your turn please take a look

Copy link
Contributor Author

@cghague cghague left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Automated comment from CodeApprove ➜

In: debian-pkg/opt/tinypilot-privileged/scripts/collect-debug-logs:
Resolved

Copy link
Contributor

@jdeanwallace jdeanwallace left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Automated comment from CodeApprove ➜

Approved: I have approved this change on CodeApprove and all of my comments have been resolved.

@jdeanwallace jdeanwallace dismissed their stale review August 9, 2023 23:52

Review approved on CodeApprove

@cghague cghague merged commit 48f63f8 into master Aug 9, 2023
@cghague cghague deleted the 1488-improve-temperature-lines-in-tinypilot-logs branch August 9, 2023 23:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Improve temperature lines in TinyPilot logs
3 participants