Comments (8)
For reference, the key appears to be a base64 encoded version of the sha256 of the archive to download.
from bazel-central-registry.
You're not supposed to develop modules using the registry. On the contrary, you should develop your project as you normally would, and when it's released, add it to the registry.
For the record, the integrity
field follows the subresource integrity metadata format, as is documented in the Bzlmod user guide. We could look at making that information more easily discoverable.
from bazel-central-registry.
I'm working on getting rules_jvm_external
up and running with bzlmod
, so I'm making changes in a fork of that repo, pushing to there, and then modifying a local clone of the registry so that I can try using the modularised rules_jvm_external
in a different project.
from bazel-central-registry.
It sounds like using an override (in particular, local_path_override
) on rules_jvm_external
in that different project might suit your use case much better.
from bazel-central-registry.
Can those be added on the command line, similar to --override_repository
?
from bazel-central-registry.
Not right now, but maybe it's a good idea to add that for development? @meteorcloudy wdyt?
from bazel-central-registry.
Not right now, but maybe it's a good idea to add that for development? @meteorcloudy wdyt?
Yes, I was actually thinking about how could we run downstream test more easily (eg. to see if version 1.1 of module X breaks other modules which depend on X 1.0), if we have a flag to override a module then we don't have to mess with the MODULE.bazel file.
from bazel-central-registry.
Closing in favor of bazelbuild/bazel#14552
from bazel-central-registry.
Related Issues (20)
- [FR]: tools/add_module.py should make it easy to reuse presubmit.yaml from previous release
- tools/add_module.py should just get the MODULE.bazel file from the artifact. HOT 6
- [Bug]: ./tools/calc_integrity.py will produce a error "No module named 'validators'" HOT 2
- [Bug]: BCR presubmit machines do not support modules that required 6.1.0 HOT 1
- wanted: bazelbuild/rules_scala
- wanted: bazelbuild/rules_kotlin HOT 3
- wanted: bazelbuild/rules_dotnet
- wanted: zlib-ng/zlib-ng
- wanted: facebook/zstd
- wanted: libcpr/cpr HOT 1
- There is no (obvious) way to specify mirror.bazel.build as the preferred download point HOT 2
- [Bug]: [email protected] 'python/extensions' is not a package HOT 3
- [Bug]: sqlite3 visibility HOT 2
- wanted: sdbus-cpp
- wanted: zlib.net/pigz
- wanted: google/zopfli
- [Bug]: zlib module name is "wrong"
- wanted: boostorg/boost HOT 2
- Suggest modules add a 'default' target HOT 1
- [Bug]: grpc build grpc++_reflection error no such target '//external:protocol_compiler' HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bazel-central-registry.