Giter Site home page Giter Site logo

Comments (8)

shs96c avatar shs96c commented on May 30, 2024

For reference, the key appears to be a base64 encoded version of the sha256 of the archive to download.

from bazel-central-registry.

Wyverald avatar Wyverald commented on May 30, 2024

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.

shs96c avatar shs96c commented on May 30, 2024

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.

Wyverald avatar Wyverald commented on May 30, 2024

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.

shs96c avatar shs96c commented on May 30, 2024

Can those be added on the command line, similar to --override_repository?

from bazel-central-registry.

Wyverald avatar Wyverald commented on May 30, 2024

Not right now, but maybe it's a good idea to add that for development? @meteorcloudy wdyt?

from bazel-central-registry.

meteorcloudy avatar meteorcloudy commented on May 30, 2024

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.

Wyverald avatar Wyverald commented on May 30, 2024

Closing in favor of bazelbuild/bazel#14552

from bazel-central-registry.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.