public inbox for git@vger.kernel.org 
 help / color / mirror / Atom feed
* contrib/bazel interest check
@ 2026-01-05 15:34 Son Luong Ngoc
  2026-01-05 22:43 ` brian m. carlson
  0 siblings, 1 reply; 3+ messages in thread
From: Son Luong Ngoc @ 2026-01-05 15:34 UTC (permalink / raw)
  To: git

  Hi folks,

  For my personal use case, I have bootstrapped building libgit and git
  using Bazel, an open-sourced build tool by Google (1).  Currently, the
  code is squashed into a giant commit (2) in my repo at
  github.com/sluongng/git in the branch sluongng/next-bazel.  The commit
  is based on the 'next' branch from upstream.

  Similar to Meson, Bazel requires fine-grained BUILD files to be
  sprinkled throughout the repo.  So it's fairly invasive to try to get
  this merged.

  I also won't have the capacity to maintain this setup for every new
  upstream topic that comes up.  Though I am willing to spend the effort
  to maintain it for major releases.

  I want to send this as an interest check to see if there are folks who
  are willing to co-maintain this with me in-tree style inside git.git.
  Otherwise, I plan to send this to the Bazel Central Registry (3), the
  public package registry for the Bazel ecosystem, in overlay mode.  The
  overlay shall be applied on top of the checkout copy before Bazel
  starts the build.

  Although the patch is currently unpolished and only supports Linux, it
  can already run most of the unit and integration tests under t/ dir to
  verify libgit and git.  MacOS and Windows support can be added as we
  mature the setup over time.

  (1): https://github.com/bazelbuild/bazel
  (2): https://github.com/sluongng/git/commit/04c5a9ec4c3634469b2b7eafd8ba21e09ec3b326
  (3): https://github.com/bazelbuild/bazel-central-registry

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2026-01-06 14:39 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-01-05 15:34 contrib/bazel interest check Son Luong Ngoc
2026-01-05 22:43 ` brian m. carlson
2026-01-06 14:39   ` Son Luong Ngoc

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox