Skip to content

feat: credential setup and versioned Homebrew releases - #4

Merged
jaavid merged 6 commits into
mainfrom
feat/config-setup-versioned-homebrew
Oct 1, 2026
Merged

jaavid merged 6 commits into
mainfrom
feat/config-setup-versioned-homebrew

Conversation

@jaavid

@jaavid jaavid commented Oct 1, 2026 •

Copy link
Copy Markdown
Owner

What changed

  • restores the credential setup changes that missed the previous merge
  • keeps reading the historical ~/.bin/gitai/.gitai config
  • automatically opens setup when no usable provider key is found
  • adds gitai --setup
  • stores newly entered credentials in ~/.config/gitai/config with mode 600
  • bumps GitAI to 0.3.0
  • changes the Homebrew formula from HEAD-only to a stable 0.3.0 formula, while retaining head for development installs
  • documents migration from an existing --HEAD installation

Homebrew after merge

Existing HEAD users should switch once to stable:

brew update
brew reinstall jaavid/gitai/gitai
gitai --version

Expected:

gitai 0.3.0

After that, normal upgrades are simply:

brew update
brew upgrade gitai

Development/HEAD users can still use:

brew reinstall --HEAD jaavid/gitai/gitai
brew upgrade --fetch-HEAD gitai

Summary by CodeRabbit

  • New Features
    • Added interactive --setup to choose a provider and configure credentials.
    • GitAI can now discover configuration across supported locations, with later configuration files taking precedence.
    • Updated the reported version to 0.3.0.
  • Improvements
    • When changes are unstaged, GitAI now offers options to stage all changes or cancel.
  • Documentation
    • Updated installation, configuration, setup, usage, and provider guidance.

@coderabbitai

coderabbitai Bot commented Oct 1, 2026 •

Copy link
Copy Markdown

Review in Change Stack →

Navigate logical layers of code changes, visualize relationships, and explore their blast radius.

Note

Currently processing new changes in this PR. This may take a few minutes, please wait...

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Advanced

Run ID: 250ef85e-84ff-41ef-b970-efe777671f89

📥 Commits

Reviewing files that changed from the base of the PR and between e7f82ea and 2857b24.

📒 Files selected for processing (4)
  • .github/workflows/ci.yml
  • Formula/gitai.rb
  • README.md
  • gitai
 __________________________________________________
< Deploying the charm offensive against your bugs. >
 --------------------------------------------------
  \
   \   \
        \ /\
        ( )
      .( o ).
✨ Finishing Touches
📝 Generate docstrings
  • Commit to this branch
  • Create a new PR
🧪 Generate unit tests (beta)
  • Commit to this branch
  • Create a new PR
  • Autopilot · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Autopilot is currently an internal CodeRabbit preview.


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@jaavid
jaavid merged commit c6c9007 into main Oct 1, 2026
1 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant