build_profile,deb,sandbox,test: move phases and profiling out of deb
`Phase`, its classifier selection and `BuildProfiler` described the build flow from inside `deb`, so `sandbox` had to import them from `deb` to announce chroot work. Moving them to `src/build_profile.rs` leaves `sandbox` depending on `deb` only for the session record. `PhaseTiming` and `BuildProfile` move with the profiler, since they are the record shape it produces. `deb` re-exports `Phase` and `session` re-exports the record types, so their public paths stay the same.
This commit is contained in:
1 parent
8e6035c185
commit
24bade82ec
10 files changed
+302
-276
No files matched your search
+4
-2
@@ -427,10 +427,12 @@ src/
|
||||
namespace.rs UnshareDriver, path mapping, overlay staging,
|
||||
namespace and pivot scripts, MAPPED_BUILD_ID
|
||||
ecrou.rs future Ecrou
|
||||
build_profile.rs Phase, BuildProfiler, BuildProfile, PhaseTiming
|
||||
```
|
||||
|
||||
`Phase` and `BuildProfiler` still live in `deb`; moving them to
|
||||
`build_profile.rs` is the remaining separation between `sandbox` and `deb`.
|
||||
`Phase`, `BuildProfiler` and the profile record types live in
|
||||
`src/build_profile.rs`. `deb` re-exports `Phase` and `session` re-exports the
|
||||
record types, so their public paths do not change.
|
||||
|
||||
## Migration plan (implemented)
|
||||
|
||||
|
||||
Reference in new issue
Block a user