1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
//! Infrastructure tooling.
use ;
// NOTE: `.terraform/` holds provider plugins and modules fetched from the registry, so it is
// fair to ask whether ADR 0001's "no dependency directories" rule covers it. It does not, and
// the distinction is deliberate: `terraform init` reconstructs it from the lock file in the
// working directory, it is per-workspace rather than shared, and duplicated provider binaries
// across a dozen module directories are the single largest reclaimable thing in most
// infrastructure repositories. What it never holds is resource state — that is `terraform.tfstate`
// beside it, or a remote backend. `.terraform/terraform.tfstate` records only which backend was
// initialised, and `init` writes it again. On by default, and confirmed against a real sweep.
pub const TERRAFORM: Ecosystem = Ecosystem ;
// NOTE: `bazel-bin` and friends are convenience *symlinks* into the output base. ADR 0006
// refuses to delete through a symlink, so these are found, reported, and refused rather than
// removed. That is the safe outcome; reclaiming the output base itself is out of scope.
//
// The names are literal, not the `bazel-*/` glob this shipped with. Every genuine target here
// is a symlink and is refused, so the glob's only *effective* removals were false positives:
// a real `bazel-toolchains/` beside a WORKSPACE — the kind of thing people vendor or submodule
// — was removed by default. The entry exists to make the symlinks visible, and it cannot do
// that by matching things that are not them.
//
// `bazel-<workspace-name>` is the fourth convenience symlink and is deliberately absent: its
// name depends on the WORKSPACE's declared name, so no literal covers it and a glob is what
// caused the problem.
pub const BAZEL: Ecosystem = Ecosystem ;