bazel-contrib / SIG-rules-authors

Governance and admin for the rules authors Special Interest Group
https://bazel-contrib.github.io/SIG-rules-authors/
Apache License 2.0
30 stars 12 forks source link

Should rulesets distribute a pre-built artifact rather than rely on GitHub source/release archive #11

Closed alexeagle closed 2 years ago

alexeagle commented 3 years ago

Rules ought to distribute an artifact that doesn't contain references to development-time dependencies, and omits testing code and examples.

This means the distribution can be broken if files are missing.

In addition, rules ought to integration-test against all supported bazel versions. So there should be some bazel-in-bazel test that consumes the HEAD distribution artifact and tests that the examples work.

Right now there are a few ways. rules_nodejs and rules_python have a built-in integration test runner. rules_go has a special go_bazel_test rule.

vtbassmatt commented 1 year ago

Sorry for one more bit of tangential noise. If you represent a community/packaging system/tool which has a vested interested in stability of hashes of source archives on GitHub, I've started a discussion over here to gather inputs.