4 ms·
Im thinking of all the bazel build rules that are about to break from my last company. Someone will have a fun day updating hundreds of hashes.
by medellin 4y ago
Im thinking of all the bazel build rules that are about to break from my last company. Someone will have a fun day updating hundreds of hashes.
- jart 4y agoIf they're using multiple URLs like a good Bazel user then they shouldn't be impacted.
- medellin 4y agoThey did where applicable but i know that not all of them had multiple
- jart 4y agoWell now they know why it's so important. https://github.com/bazelbuild/bazel/commit/ed7ced0018dc5c5ebd6fc8afc7158037ac1df00d https://github.com/bazelbuild/bazel/commit/ed7ced0018dc5c5eb...
- thirtyseven 4y agoThe setup instructions for almost [1] every [2] major [3] rule set [4] only provide one (GitHub) url in the Starlark blob you're supposed to copy and paste, so hard to blame users here. [1] https://github.com/bazelbuild/rules_jvm_external/releases/tag/4.5 https://github.com/bazelbuild/rules_jvm_external/releases/ta... [2] https://github.com/bazelbuild/rules_python/releases/tag/0.17.3 https://github.com/bazelbuild/rules_python/releases/tag/0.17... [3] https://github.com/bazelbuild/rules_java/releases/tag/5.4.0 https://github.com/bazelbuild/rules_java/releases/tag/5.4.0 [4] https://github.com/bazelbuild/rules_scala https://github.com/bazelbuild/rules_scala
- jart 4y agoI agree. The Bazel developers failed in their leadership.
- SuperSandro2000 4y agoFrom a distro maintainer perspective every project that is only buildable with bazel is an absolute nightmare.
- jart 4y agoI created https://gist.github.com/jart/082b1078a065b79949508bbe1b7d8ef0 https://gist.github.com/jart/082b1078a065b79949508bbe1b7d8ef... to solve that, by turning bazel projects into makefiles. The problem is the bazel team has broken the apis that make it possible so many times since then because they reacted very negatively to the idea.
- ErikCorry 4y agoDo they let Github generate the archives as one of the build rules instead of performing the archival and compression locally and uploading the result?
- medellin 4y agoCorrect. Silly stuff like this happens when you don’t have systems in place that make it easy to store your own artifacts. Additionally a lot of people just want to get things done as quick as possible even if you have the tools in place.