Conversation
|
@codex[agent] again the same issue with the code? |
Co-authored-by: openai-code-agent[bot] <242516109+Codex@users.noreply.github.com>
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 6637c58a74
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| <<<<<<< HEAD:systemd/pihole-display.service | ||
| Description=Pi-hole TFT Stats Display | ||
| ======= | ||
| Description=Pi-hole TFT Day Display Rotator | ||
| >>>>>>> main:systemd/display.service |
There was a problem hiding this comment.
Remove merge conflict markers from display unit
This unit file still contains unresolved Git conflict markers (<<<<<<<, =======, >>>>>>>), so systemd cannot parse it as a valid service definition; the day display service will fail to load/start in deployments that copy this file.
Useful? React with 👍 / 👎.
| sudo systemctl enable --now display.service | ||
| ``` | ||
|
|
||
| sudo systemctl enable --now pihole-display.service |
There was a problem hiding this comment.
Reference the actual day service unit in install commands
The README instructs users to enable pihole-display.service, but this commit only provides systemd/display.service (plus pihole-display-dark.service), so following these commands will fail with a missing unit and leave day mode not installed.
Useful? React with 👍 / 👎.
* Initial plan * Initial plan (#6) Co-authored-by: openai-code-agent[bot] <242516109+Codex@users.noreply.github.com> --------- Co-authored-by: openai-code-agent[bot] <242516109+Codex@users.noreply.github.com>
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 78df9bbd2e
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| @@ -1,16 +1,28 @@ | |||
| [Unit] | |||
| <<<<<<< HEAD:systemd/pihole-display.service | |||
There was a problem hiding this comment.
Remove unresolved merge markers from service unit
This unit file still contains Git conflict markers, so systemd will reject it as invalid syntax and the day display service cannot start on systems that install this file. Any deployment that copies systemd/display.service and runs systemctl daemon-reload will hit a unit parse error until these markers are resolved.
Useful? React with 👍 / 👎.
| sudo systemctl enable --now display.service | ||
| ``` | ||
|
|
||
| sudo systemctl enable --now pihole-display.service |
There was a problem hiding this comment.
Copy and enable the same service unit name
The install commands copy pihole-display*.service and then enable pihole-display.service, but this commit only provides systemd/display.service (plus pihole-display-dark.service), so following these steps leaves the main day service absent and systemctl enable --now pihole-display.service fails with a missing unit.
Useful? React with 👍 / 👎.
Motivation
/opt/zero2dashfor easier installation and service management.Description
scripts/directory and updated their install paths to/opt/zero2dash/scripts; renamedpihole-display-pre.shandpiholestats_v1.*.pyaccordingly.scripts/test.py, a small RGB565 framebuffer test tool that can save a preview image with--outputor write directly to a framebuffer device.systemdunit files to useWorkingDirectory=/opt/zero2dashand execute the prep script and Python scripts from/opt/zero2dash/scripts.README.mdwith a suggested project structure, deployment instructions, an adjusted Python dependency installation (python3-pil) and usage examples for the placeholder test.Testing
python3 scripts/test.py --output /tmp/test.png --no-framebufferwhich created the preview image and exited successfully.python3 scripts/test.py --no-framebuffer --fbdev /dev/fb1in an environment without/dev/fb1to verify the script returns a non-zero exit and prints an error as expected.Codex Task