1. Forgejo: Finished Writing Test Cases

  • Writing test cases became simple once I got the hang of finding or tracing back the errors.
  • Most of the errors were caused by conflicts between the current and newer PR commit layouts.
  • I took some time and started checking line by line, and I found a few keywords that helped me trace back the errors.
make test-sqlite > test-report.txt | grep "Error Trace:"
--- FAIL: TestPullCreate_CommitStatus/CreateStatus (0.01s)
    pull_status_test.go:114: 
            Error Trace:    $HOME/forgejo-official/tests/integration/integration_test.go:629
                                                    $HOME/forgejo-official/tests/integration/integration_test.go:235
                                                    $HOME/forgejo-official/tests/integration/pull_status_test.go:114
            Error:          Not equal: 
                            expected: 201
                            actual  : 500
            Test:           TestPullCreate_CommitStatus/CreateStatus
            Messages:       Request: POST /api/v1/repos/user1/repo1/statuses/.
  • The pattern is simple: I just need to execute grep "Error Trace:" to get the traceback error, and
  • then use grep "Error:" to understand the problem functionally.

2. Forgejo: Issue Raised Regarding DateTime Tooltip Rendering


3. Forgejo Runner: Experimentation (Learning)

  1. GoTo: https://code.forgejo.org/forgejo/runner/releases
  2. Copy the right architecture of the binary and asc files and paste that while executing the below commands.
wget -O forgejo-runner <link-endswith>-linux-arm64
chmod +x forgejo-runner
wget -O forgejo-runner.asc <link-endswith>-linux-arm64.asc
gpg --keyserver keys.openpgp.org --recv EB114F5E6C0DC2BCDD183550A4B61A2DC5923710
gpg --verify forgejo-runner.asc forgejo-runner

This is a brief guide; the full guide will be posted soon.


4. ESP32CAM: Setting Home CCTV Setup With Battery Backup Under $17

ItemPrice (Rs)
ESP32 CAM WiFi Module Bluetooth with OV2640 Camera Module 2MP636.00
Dummy Fake Bullet Camera with Flashing Red Led299.00
1N5822 1W Schottky Diode6.00
MT3608 2A Max DC-DC Step Up Power Module Booster Power Module35.00
TP4056 Adjustable 1A Li-ion Lithium Battery Charging Module12.00
Rocker Switch-KDC-0811.00
Kratos Quick Charge Single Port Mobile Charger179.00
Portronics Power Sharing Cable 5 meter224.00
Total1402.00