Maintaining Bazel Scoop package on Windows

Report an issue View source Nightly · 7.4 . 7.3 · 7.2 · 7.1 · 7.0 · 6.5

Prerequisites

You need:

Release process

Scoop packages are very easy to maintain. Once you have the URL of released Bazel, you need to make appropriate changes in this file:

  • update version
  • update dependencies if needed
  • update URL
  • update hash (sha256 by default)

In your filesystem, bazel.json is located in the directory %UserProfile%/scoop/buckets/main/bucket by default. This directory belongs to your clone of a Git repository scoopinstaller/scoop-main.

Test the result:

scoop uninstall bazel
scoop install bazel
bazel version
bazel something_else

The first time, make a fork of scoopinstaller/scoop-main and specify it as your own remote for %UserProfile%/scoop/buckets/main:

git remote add mine FORK_URL

Push your changes to your fork and create a pull request.