GithubHelp home page GithubHelp logo

lauraharker / bazel-common Goto Github PK

View Code? Open in Web Editor NEW

This project forked from google/bazel-common

0.0 0.0 0.0 182 KB

Common functionality for Google's open-source libraries that are built with bazel.

License: Apache License 2.0

Shell 11.71% Starlark 88.29%

bazel-common's Introduction

Bazel Common Libraries

This repository contains assorted common functionality for Google's open-source libraries that are built with bazel. It is an experimental project and none of the APIs/target names are fixed/guaranteed to remain. You are welcome to use it and offer feedback at your own risk.

This is not an official Google product.

Incrementing the version of an exported library

  1. Run update_version, passing the group, artifact ID, and version you want to update:

    $ update_version com.google.guava guava 31.0.1-jre

    If several artifacts share the same version via a variable, such as ERROR_PRONE_VERSION, you can pass just the variable and the new version:

    $ update_version ERROR_PRONE_VERSION 2.3.2
  2. Send the change for review.

  3. Once submitted, remember to update your own dep on bazel_common to the version containing your change.

If update_version doesn't work

  1. Open workspace_defs.bzl

  2. Find the library export you want to increment

  3. Update the version attribute to the new value

  4. Update the sha256 attribute to the value obtained by running:

    curl "https://repo1.maven.org/maven2/${group_id//.//}/${artifact_id}/${version}/${artifact_id}-${version}.jar" | sha256sum

    TIP: Double-check that the download is the size you expect

  5. Return to step 2 above.

bazel-common's People

Contributors

apilloud avatar bcorso avatar c-parsons avatar cgdecker avatar chang-eric avatar cpovirk avatar cushon avatar danysantiago avatar eamonnmcmanus avatar hagbard avatar iirina avatar java-team-github-bot avatar jhmanson avatar kernald avatar laurentlb avatar lolski avatar netdpb avatar nreid260 avatar philwo avatar rbeasley avatar ringw avatar ronshapiro avatar rspier avatar schroederc avatar thomasvl avatar timpeut avatar timvdlippe avatar vladmos avatar vmax avatar zacsweers avatar

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.