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
- bug: DateTime tooltip is rendered only in English on commits pages
- The DateTime tooltip currently shows the date in English only when hovered over.
- I found this issue when I was working on the a different pull request #7948.
3. Forgejo Runner: Experimentation (Learning)
- GoTo: https://code.forgejo.org/forgejo/runner/releases
- 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
| Item | Price (Rs) |
|---|---|
| ESP32 CAM WiFi Module Bluetooth with OV2640 Camera Module 2MP | 636.00 |
| Dummy Fake Bullet Camera with Flashing Red Led | 299.00 |
| 1N5822 1W Schottky Diode | 6.00 |
| MT3608 2A Max DC-DC Step Up Power Module Booster Power Module | 35.00 |
| TP4056 Adjustable 1A Li-ion Lithium Battery Charging Module | 12.00 |
| Rocker Switch-KDC-08 | 11.00 |
| Kratos Quick Charge Single Port Mobile Charger | 179.00 |
| Portronics Power Sharing Cable 5 meter | 224.00 |
| Total | 1402.00 |
