Skip to content

feat: support custom repo/branch for acestep-cpp via env vars#12

Merged
lmangani merged 2 commits intomainfrom
copilot/add-custom-repo-option
Mar 8, 2026
Merged

feat: support custom repo/branch for acestep-cpp via env vars#12
lmangani merged 2 commits intomainfrom
copilot/add-custom-repo-option

Conversation

Copy link
Contributor

Copilot AI commented Mar 8, 2026

build.sh was hardcoded to clone from audiohacking/acestep.cpp with no way to target a fork or specific branch without editing the script.

Changes

  • build.sh

    • Added ACESTEP_CPP_BRANCH env var (empty → default branch) and --branch NAME CLI flag
    • git clone conditionally passes --branch "$BRANCH" when set
    • Updated usage comment to cross-reference both flags and their env var equivalents
  • setup.sh

    • Prints effective repo URL and branch before invoking build.sh
    • Build failure hint now includes ACESTEP_CPP_REPO / ACESTEP_CPP_BRANCH usage examples
  • .env.example

    • New acestep-cpp source / custom fork section documenting both vars

Usage

# Custom fork + specific branch
ACESTEP_CPP_REPO=https://github.com/your-fork/acestep.cpp.git \
ACESTEP_CPP_BRANCH=experimental \
./setup.sh

# Or passed directly to build.sh
./build.sh --repo https://github.com/your-fork/acestep.cpp.git --branch experimental

✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

…h / setup.sh

Co-authored-by: lmangani <1423657+lmangani@users.noreply.github.com>
Copilot AI changed the title [WIP] Add option for custom repository in setup.sh feat: support custom repo/branch for acestep-cpp via env vars Mar 8, 2026
@lmangani lmangani marked this pull request as ready for review March 8, 2026 10:55
@lmangani lmangani merged commit bcf5978 into main Mar 8, 2026
4 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.

2 participants