Files
depot/contrib
SFG545 b033d64b5b feat: run transaction hooks at boundaries and add configurable LTO flags
- execute transaction pre hooks at transaction start and post hooks at transaction end
- add batched hook execution with ordered "(n/total)" logging
- refactor install flows to plan package actions first, then run hooks around commits
- add `build.flags.ltoflags` and `build.flags.use_lto` (default: true)
- export `LTOFLAGS` and append LTO flags to `CFLAGS`, `CXXFLAGS`, and `LDFLAGS`
  unless `use_lto = false`
- make autotools CFLAGS expansion use the final computed CFLAGS value
- update spec parsing/appends, interactive TOML output, docs, and contrib build config
- bump project version to 0.8.0 and update `zip` to 8.2.0
2026-03-03 00:15:20 -06:00
..

Contrib: example system and user configuration files for Depot

Place these files on your system to provide sensible defaults and examples for /etc/depot.toml, /etc/depot.d/*.toml, or user-level configs.

Recommended installation:

System-wide

sudo cp contrib/depot.toml /etc/depot.toml sudo mkdir -p /etc/depot.d sudo cp -r contrib/depot.d/* /etc/depot.d/

Per-user (example)

mkdir -p ~/.config cp contrib/user.depot.toml.example ~/.config/depot.toml

Notes

  • These files are examples only. Review and adapt to your distribution and security policies before deploying.
  • The config loader supports append syntax (e.g. cflags += ["-g"]).
  • contrib/depot.d/repos.toml shows the new source/binary repo configuration format used by depot repo ... commands.