fix(queue-daemon): make base branch configurable via KUGETSU_BASE_BRANCH #257

Merged
shoko merged 1 commits from fix/issue-165 into main 2026-04-08 08:22:10 +02:00
Owner

Summary

Make the base branch configurable to support forks, custom remotes, and different branch naming conventions.

Changes

  • Add KUGETSU_BASE_BRANCH environment variable (default: origin/main)
  • Update check_task_completion() to use $KUGETSU_BASE_BRANCH instead of hardcoded origin/main
  • Update create_worktree() to use $KUGETSU_BASE_BRANCH when creating branches

Usage

Set the environment variable before running the queue daemon:

export KUGETSU_BASE_BRANCH=upstream/main
kugetsu queue-daemon start

Closes #165

## Summary Make the base branch configurable to support forks, custom remotes, and different branch naming conventions. ## Changes - Add `KUGETSU_BASE_BRANCH` environment variable (default: `origin/main`) - Update `check_task_completion()` to use `$KUGETSU_BASE_BRANCH` instead of hardcoded `origin/main` - Update `create_worktree()` to use `$KUGETSU_BASE_BRANCH` when creating branches ## Usage Set the environment variable before running the queue daemon: ```bash export KUGETSU_BASE_BRANCH=upstream/main kugetsu queue-daemon start ``` Closes #165
shoko added 1 commit 2026-04-08 08:13:47 +02:00
- Add KUGETSU_BASE_BRANCH env var (default: origin/main)
- Update check_task_completion() to use configurable base branch
- Update create_worktree() to use configurable base branch

Closes #165
han approved these changes 2026-04-08 08:21:32 +02:00
han left a comment
First-time contributor

lgtm

lgtm
shoko merged commit a93e470fdc into main 2026-04-08 08:22:10 +02:00
Sign in to join this conversation.