| Crates.io | branch-party |
| lib.rs | branch-party |
| version | 0.1.1 |
| created_at | 2025-10-07 17:44:21.547068+00 |
| updated_at | 2025-10-07 17:44:21.547068+00 |
| description | A CLI tool for creating and maintaining party branches - automated git branch merging for development workflows |
| homepage | https://github.com/joeyparis/branch-party |
| repository | https://github.com/joeyparis/branch-party |
| max_upload_size | |
| id | 1872093 |
| size | 71,582 |
A CLI tool for creating and maintaining "party branches" - automated git branch merging for development workflows.
Branch Party automates the creation and maintenance of "party branches" - combined branches that merge multiple feature branches together for testing, staging, or integration purposes.
Key Features:
✅ Fully Implemented
cargo install branch-party
git clone https://github.com/yourusername/branch-party
cd branch-party
cargo install --path .
Download from the releases page
cd your-project
branch-party init --with-sample
# .git/branch-party/config.yaml
parties:
qa:
members:
- feature/user-auth
- feature/payments
merge_order: listed
conflict_policy:
default: manual
auto_update:
enabled: true
parties: all
branch-party run --party qa
branch-party init --with-hooks
Now when you commit to feature/user-auth, the qa party branch automatically updates!
init - Initialize branch-party in current repositoryrun --party <name> - Create/update a party branchlist - Show all configured partiesplan --party <name> - Preview merge plan without executingvalidate - Validate configurationselect - Interactive branch selectioncompletions <shell> - Generate shell completionsThe tool creates .branch-party/config.yaml with this structure:
base_branch: main
parties:
qa:
members:
- feature/a
- feature/b
- "@payments" # Reference to another party
merge_order: listed # listed | newest_first | oldest_first
conflict_policy:
default: ours # ours | theirs | union | manual
overrides:
- { path: "Gemfile.lock", mode: "ours" }
- { path: "yarn.lock", mode: "theirs" }
branch_party_core - Core library with business logicbranch-party - CLI binary that uses the core libraryKey modules:
config - Configuration structures and parsingconfig_loader - Multi-source configuration loading with precedencegit - Git repository operations via git2model - Data models for branches, merge plans, and repo statereport - Run report generation and serializationerror - Structured error types with context# Run tests
cargo test
# Check code
cargo check
# Format and lint
cargo fmt
cargo clippy
# Run with debug logging
RUST_LOG=debug cargo run --bin branch-party -- list
# Generate completions
cargo run --bin branch-party -- completions bash > branch-party.bash
MIT OR Apache-2.0