bazel-central-registry
bazel-central-registry copied to clipboard
feat(rules_git): add `1.0.0-alpha.1`
Provides hermetic git
rules to fetch git
repositories.
Only .git
objects are retrieved at bazel fetch
time. All other git
operations happen at execution time.
This is the first alpha. We want to get git archive
support in-place before beta and battle test the bazel-git
implementation with many more test cases before stable. We would also like to get git bundle
working to allow upload of already retrieved .git
objects so we can then download the .git
objects with the Bazel HTTP downloader.
Documentation is here.
Hello @bazelbuild/bcr-maintainers, modules without existing maintainers (rules_git) have been updated in this PR. Please review the changes.
@mattyclarkson I forgot what the status is, but would you be interested in "upstreaming" your circl changes into the BCR module?
@mattyclarkson I forgot what the status is, but
bazelbuild/bazel-gazelle#1767 is in 0.36.0
cloudflare/circl#492 is merged but not in a release, I can upstream a new 1.3.7.bcr.1
bazelbuild/rules_go#3901 is not merged and is needed to make the circl
patches work, it missed 0.47.0
unfortunately.
would you be interested in "upstreaming" your circl changes into the BCR module?
Yes, but we're blocked on getting purego
understanding into rules_go
. If you could help with getting that through and released, I'd be happy to get a module upstreamed.
I'll ask on circl
if we can get a release done with the purego
patches as well.
@mattyclarkson Sorry, I forgot about that PR. I have some other changes planned that would make for a good follow-up minor release.
No worries, there is a lot going on! Thanks for having another look at it.
I'll be able to tidy up bazel-git
MODULE.bazel then.
I'll need to respin this to a later version. It needs two things:
- A bump to
[email protected]
which is done in 9a11de50d461 - A bump to
[email protected]
which depends on #1873
Once #1873 lands, I'll update this PR.
Needs #1881 rules_diff
support.
Currently hitting a IO exception when re-using the declared directory checkout. It may be related to bazelbuild/bazel#22151.
Once that has been investigated and squashed, I can update this with 1.0.0-beta.2
and we can all have hermetic git
fetching.
Hello @bazelbuild/bcr-maintainers, modules without existing maintainers (rules_git) have been updated in this PR. Please review the changes.
Have pinned the Bazel version to 7.2.1rc2 to avoid https://github.com/bazelbuild/bazel/issues/22151.
Once 7.2.1 is released, I'll set the minimum version in MODULE.bazel
to that in subsequent versions of rules_git
.
The module#bazel_compatibility
does not support release candidate versions.