Commit e22c614
authored
feat: Scrape the whole MODULE file (#18)
Swap out looking at the versions of modules that opted into telemetry
for the versions of all modules from BCR.
Note that local/private modules and source overridden modules aren't
captured. We do detect BCR mirrors/rehosting and identify rehosted
packages.
### Changes are visible to end-users: yes
- Searched for relevant documentation and updated as needed: yes
- Breaking change (forces users to change their own code or config): no
- Suggested release notes appear below: no
### Test plan
- Manual testing; please provide instructions so we can reproduce:
```
❯ cat bazel-bin/report.json
{
"tools_telemetry": {
"arch": "aarch64",
"bazel_version": "8.4.2",
"bazelisk": true,
"ci": false,
"counter": null,
"deps": {
"bazel_features": "1.30.0",
"bazel_lib": "3.0.0",
"bazel_skylib": "1.8.1",
"rules_android": "0.1.1",
"rules_cc": "0.1.1",
"rules_fuzzing": "0.5.2",
"rules_java": "8.14.0",
"rules_jvm_external": "6.3",
"rules_kotlin": "1.9.6",
"rules_license": "1.0.0",
"rules_pkg": "1.0.1",
"rules_proto": "7.0.2",
"rules_python": "0.40.0",
"rules_shell": "0.4.1"
},
"has_bazel_module": true,
"has_bazel_prelude": false,
"has_bazel_tool": false,
"has_bazel_workspace": true,
"id": "11e79f7905b252a08bc51ed59f3a8360b0b72eab",
"org": null,
"os": "mac os x",
"runner": null,
"shell": "/bin/zsh",
"user": "43d65459434f0929abcb0605c59cf65093670ce5"
}
}%
```1 parent 616b1ab commit e22c614
File tree
3 files changed
+46
-6
lines changed- examples/simple
3 files changed
+46
-6
lines changedSome generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
171 | 171 | | |
172 | 172 | | |
173 | 173 | | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
174 | 200 | | |
175 | 201 | | |
176 | | - | |
| 202 | + | |
177 | 203 | | |
178 | 204 | | |
179 | 205 | | |
| |||
0 commit comments