Skip to content

Releases: rishabyd/codeberg-cli

v0.2.7

30 Apr 11:59

Choose a tag to compare

Changelog

  • 8714540 fix(update): detect non-writable install path before updating

v0.2.6

30 Apr 11:50

Choose a tag to compare

Changelog

  • 291d67d refactor: use lipgloss for styled CLI output

v0.2.5

30 Apr 11:13

Choose a tag to compare

v0.2.5

Added

  • cb uninstall — Remove the binary, local config, and git credential helper.
  • gofumpt as a go.mod tool dependency for consistent code formatting.

Changed

  • Rewrote README with table of contents, command reference tables, and contributor documentation.

Removed

  • uninstall.sh — superseded by cb uninstall.
  • AGENTS.md, Makefile, .githooks/ — simplified development workflow.

Install

curl -fsSL https://raw.githubusercontent.com/rishabyd/codeberg-cli/main/install.sh | sh

Upgrade

cb update

Uninstall

cb uninstall

Contributing

go tool gofumpt -w . && go vet ./... && go test ./...

v0.2.0

29 Apr 09:42

Choose a tag to compare

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 --verbose for debug output during commands
  • Better tablescb repo list and cb health now 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

27 Apr 18:46

Choose a tag to compare

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

27 Apr 18:11

Choose a tag to compare

Release v0.1.1

v0.1.0

27 Apr 17:58

Choose a tag to compare

Release v0.1.0