Releases: rishabyd/codeberg-cli
Releases · rishabyd/codeberg-cli
v0.2.7
v0.2.6
v0.2.5
v0.2.5
Added
cb uninstall— Remove the binary, local config, and git credential helper.gofumptas ago.modtool dependency for consistent code formatting.
Changed
- Rewrote README with table of contents, command reference tables, and contributor documentation.
Removed
uninstall.sh— superseded bycb uninstall.AGENTS.md,Makefile,.githooks/— simplified development workflow.
Install
curl -fsSL https://raw.githubusercontent.com/rishabyd/codeberg-cli/main/install.sh | shUpgrade
cb updateUninstall
cb uninstallContributing
go tool gofumpt -w . && go vet ./... && go test ./...v0.2.0
Changelog
- 2378e25 add MIT license
- 5d211e6 refactor: replace manual implementations with battle-tested libraries
What's Changed
Reliability
- Automatic retry on transient network failures (3 attempts with exponential backoff)
- Proactive token refresh — OAuth tokens refresh before the 1-hour expiry instead of failing on the next API call
- Atomic self-updates — binary replacement is now atomic with automatic rollback if something goes wrong
- Rate-limit handling — clear error message when Codeberg rate-limits you
Output
- Structured logging — use
--verbosefor debug output during commands - Better tables —
cb repo listandcb healthnow use proper column alignment
Internal
- Replaced ~300 lines of manual HTTP/OAuth/update code with battle-tested libraries
- Added 26 tests for validation, config, and error handling
- All Codeberg-configurable values (API URLs, OAuth client ID, status badge IDs) now live in one file for easy updates
Assets
| File | Platform |
|---|---|
cb_0.2.0_linux_amd64.tar.gz |
Linux x86_64 |
cb_0.2.0_linux_arm64.tar.gz |
Linux ARM64 |
checksums.txt |
SHA256 hashes |
v0.1.2
What's new
cb health — Check Codeberg service status
$ cb health
Codeberg.org Up
Hosted CI/CD: Forgejo Actions Up
Hosted CI/CD: Woodpecker Up
Details: https://status.codeberg.org/status/codeberg- Shows real-time status of Codeberg.org, Forgejo Actions, and Woodpecker
- Color-coded output (green for Up, red for Down)
v0.1.1
Release v0.1.1
v0.1.0
Release v0.1.0