Commit b2abc99
chore: Down with WORKSPACE (#597)
This is a massive combined patch aimed at starting to address a whole
pile of WORKSPACE related techdebt and migration pain points.
Major points:
- Delete the `WORKSPACE` file
- Delete `WORKSPACE` supporting private files
- Retain `WORKSPACE` supporting `py/repositories.bzl` for now; will drop
in future 2.0 release
- Synchronize how we're configuring Rust and the crossbuild toolchain(s)
with the Aspect CLI, other projects
As future items we can go through and consider bumping dependencies
### Changes are visible to end-users: no
### Test plan
- This is the test plan
### Remaining items
- [x] Eliminate dev proto dependencies
- [x] Drop source build Gazelle for prebuilt
- [x] Get local tests to green
- [x] Inline out `include()` statements which block subrepo/e2e tests
(cf. bazelbuild/bazel#27137)
- [x] Update the release generation flow to discard all the dev
dependencies and retain only the desired prod MODULE.bazel content
- [x] Test the release artifact generation flow; ensure release artifact
naming expectations are preserved
### Future work
Need to come back to the e2e tests which were removed. Under
bzlmod the e2e tests are quite expensive due to sysroot and LLVM
setup, to the point of being prohibitive (~10min of setup for 0.5s of test).
However we did give up some coverage there.
---------
Co-authored-by: aspect-marvin[bot] <[email protected]>1 parent 0d58f76 commit b2abc99
File tree
188 files changed
+10820
-9349
lines changed- .aspect/workflows
- .bcr/patches
- .github/workflows
- bazel
- include
- patches
- platforms
- config
- linkers
- toolchains
- proto
- release
- rust
- docs
- e2e
- bazel
- cases
- cross-repo-610
- subrepo_a
- subrepo_b
- interpreter-version-541
- repository-rule-deps-299
- direct
- directmod
- imported
- flat
- subdir
- rules
- toplevel
- interpreter-version-541
- repository-rule-deps
- smoke
- system-interpreter
- use_release
- src
- examples
- django
- mysite
- multi_version
- py_binary
- py_pex_binary
- py_venv
- pytest
- virtual_deps
- py
- private
- release
- toolchain
- tests
- cc-deps
- external-deps
- custom-macro
- import-pathing
- py-binary
- py-external-venv
- py-internal-venv
- py-pex-binary
- py-test
- py-venv-disable-systemsite
- py-venv-disable-usersite
- py-venv-enable-site
- py-venv-standalone-interpreter
- py_image_layer
- py_venv_image_layer
- tools
- py
- unpack_bin
- venv_bin
- venv_shim
- tools
- bazel
- e2e
- platforms
- release
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
188 files changed
+10820
-9349
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
6 | | - | |
7 | 5 | | |
8 | | - | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | | - | |
| 6 | + | |
13 | 7 | | |
14 | | - | |
15 | 8 | | |
16 | 9 | | |
17 | 10 | | |
| |||
24 | 17 | | |
25 | 18 | | |
26 | 19 | | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
49 | 28 | | |
50 | 29 | | |
51 | | - | |
| 30 | + | |
52 | 31 | | |
53 | 32 | | |
54 | 33 | | |
55 | 34 | | |
56 | 35 | | |
57 | | - | |
| 36 | + | |
58 | 37 | | |
59 | 38 | | |
60 | 39 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
3 | | - | |
| 1 | + | |
4 | 2 | | |
5 | | - | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
6 | 9 | | |
7 | | - | |
8 | | - | |
9 | | - | |
10 | | - | |
| 10 | + | |
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | | - | |
| 15 | + | |
16 | 16 | | |
| 17 | + | |
| 18 | + | |
17 | 19 | | |
18 | 20 | | |
19 | 21 | | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | | - | |
24 | | - | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
25 | 35 | | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
30 | 39 | | |
31 | 40 | | |
32 | 41 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
0 commit comments