commit | b9f0585f934ce19af0b6e2d464051865a741a733 | [log] [tgz] |
---|---|---|
author | Klaus Aehlig <aehlig@google.com> | Fri Apr 05 01:38:45 2019 -0700 |
committer | Copybara-Service <copybara-worker@google.com> | Fri Apr 05 01:40:23 2019 -0700 |
tree | 5669d44c781ae9bcb6eaf584ed39beb0fb7c7eb0 | |
parent | 8e6c5262b7b21287ab0a984f0ab9cf4a153fd117 [diff] |
Support non-fatal failures for downloads Allow that downloads (as part of repository rules) may fail in a way that may be handled by the rule. This is in line with the way ctx.execute behaves. Moreover, it can be used to check if a file is already in cache, e.g., if a download would require a credential the user has to be asked for. To simplify pure cache probes, drop the requirement of at least one URL being specified. Another use case of trying downloads, while allowing failures is to search for new versions in a free-floating definition of an archive (to be then fixed in a resolved file). Fixes #7635. Change-Id: I2b3fc66b36c856077e5bd66dd5fee2af438999c9 PiperOrigin-RevId: 242089235
{Fast, Correct} - Choose two
Build and test software of any size, quickly and reliably.
Speed up your builds and tests: Bazel only rebuilds what is necessary. With advanced local and distributed caching, optimized dependency analysis and parallel execution, you get fast and incremental builds.
One tool, multiple languages: Build and test Java, C++, Android, iOS, Go, and a wide variety of other language platforms. Bazel runs on Windows, macOS, and Linux.
Scalable: Bazel helps you scale your organization, codebase, and continuous integration solution. It handles codebases of any size, in multiple repositories or a huge monorepo.
Extensible to your needs: Easily add support for new languages and platforms with Bazel's familiar extension language. Share and re-use language rules written by the growing Bazel community.
Follow our tutorials:
See CONTRIBUTING.md
Bazel is released in ‘Beta’. See the product roadmap to learn about the path toward a stable 1.0 release.