fmeum / buildozer Goto Github PK
View Code? Open in Web Editor NEWPinned, prebuilt versions of buildozer for Bazel projects
License: MIT License
Pinned, prebuilt versions of buildozer for Bazel projects
License: MIT License
I'm using Bazel 7.0.0 and bazel_dep(name = "buildozer", version = "6.4.0")
.
I'm getting the error
target '@@buildozer~6.4.0//:buildozer' is not visible from target '//tools/common/bazel:make_buildozer_wrapper'.
I would expect @buildozer
a.k.a. @buildozer//:buildozer
to have public visibility, so that I can make a wrapper that depends on it. It is supposed to be part of the public API of the module, isn't it?
Hey @fmeum,
I'm running into some issues with bazel mod tidy
on Windows in a proxied environment that blocks *.exe downloads. Specifically, the problem arises when it runs: https://github.com/fmeum/buildozer/blob/main/private/buildozer_binary.bzl#L38.
I can install buildozer
using:
go install github.com/bazelbuild/buildtools/buildozer@latest
So, I already have buildozer
on my host PATH
.
I'd like to ask for a way to use the buildozer
that's already present on the host. This could be similar to how rules_go
allows the use of a host toolchain, despite of its issues (enola-dev/enola#713). I believe this is where they handle it: https://github.com/bazelbuild/rules_go/blob/v0.48.1/go/private/sdk.bzl#L491.
I initially thought about raising this as a feature request for Bazel itself, but I think implementing it directly in this rule set would be more beneficial.
EDIT: I'm working on getting it available in an internal mirror and add it to bazel_downloader.cfg
as a potential fix for my current use case.
Still, is this something you'd be open to get implemented? Or think it's feasible?
I also think there might be a way to override this in Bazel: https://github.com/bazelbuild/bazel/blob/7.2.1/src/main/java/com/google/devtools/build/lib/bazel/bzlmod/BazelModTidyFunction.java#L69. However, it's not totally clear to me if a workaround is currently possible. Since you've implemented a related feature (bazelbuild/bazel#21265), I figured this would be the right place to bring it up.
Thanks!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.