Files
depot/contrib
SFG545 a774c61e5a Implement interrupt handling for long-running commands and archive extraction
- Added an `interrupts` module to manage Ctrl-C signals and propagate them to child processes.
- Refactored archive extraction functions to check for interrupts and handle them gracefully.
- Introduced `copy_interruptibly` function to allow for interruptible copying of data.
- Updated various source files to utilize the new interrupt handling functions, ensuring that commands and archive extractions can be interrupted by the user.
- Added tests to verify the interrupt functionality during copying and tar extraction.
- Introduced a new Meson option for generating HTML CLI documentation.
- Enhanced the `PackageSpec` struct to support additional Rust LTO flags.
2026-03-15 14:48:01 -05: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.