Commit graph

3 commits

Author SHA1 Message Date
Snider
3b328137db fix: replace fmt.Errorf and errors.New with coreerr.E() from go-log
Replace all remaining fmt.Errorf and errors.New calls in production code
with coreerr.E() for consistent error handling with context information.
This improves error messages by including the function context where
errors occur.

Modified files:
- github.go: 6 fmt.Errorf calls
- generic_http.go: 5 fmt.Errorf calls
- updater.go: 6 fmt.Errorf calls
- service.go: 4 fmt.Errorf calls
- github_test.go: Updated test expectation for new error format

All tests pass with the new error format.

Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-16 21:49:04 +00:00
Snider
06c7c45740 fix: update stale imports, sync dependencies
core/go/pkg/cli → core/cli/pkg/cli
Updated to cli v0.3.5, go-crypt v0.1.8, go-i18n v0.1.5

Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-16 19:24:00 +00:00
Snider
32867f2d97 feat: go-update self-updater package
Extracted from core/cli cmd/updater. Provides GitHub/Forgejo release
checking, binary self-update, and CLI command registration.

Co-Authored-By: Virgil <virgil@lethean.io>
2026-02-21 21:38:20 +00:00