bazelbuild / bazelbuild/bazelisk

Add support for source fetching + building

Open
#110 2 comments 0 reactions 0 assignees View on GitHub
P3 type: feature request
Dominant language
Go
Stars
2.7k
Forks
424
PR merge metrics
No merged PRs in 30d

Description

Right now bazelisk fetches binary distributions via github releases, I'm curious if adding support for source based fetching + building is something being considered or would be okay to contribute?

Perhaps some extra syntax in `.bazelversion` that instructs bazelisk to fetch a zip of some given sha/tag and build a release of bazel locally, and use that as the underlying bazel binary.

Contributor guide

Open the contributing guide

Research direction

Start by reviewing Bazelisk's existing GitHub-release fetching flow and how .bazelversion is parsed. Define the source reference syntax, archive fetching, local Bazel build process, and resulting binary selection before implementation. Done means a documented source-based path works alongside binary fetching, with tests covering the new syntax and build flow.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
build-system, tooling
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.