fix(queue-daemon): make base branch configurable via KUGETSU_BASE_BRANCH #257
Reference in New Issue
Block a user
Delete Branch "fix/issue-165"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Make the base branch configurable to support forks, custom remotes, and different branch naming conventions.
Changes
KUGETSU_BASE_BRANCHenvironment variable (default:origin/main)check_task_completion()to use$KUGETSU_BASE_BRANCHinstead of hardcodedorigin/maincreate_worktree()to use$KUGETSU_BASE_BRANCHwhen creating branchesUsage
Set the environment variable before running the queue daemon:
Closes #165
lgtm