Files
depot/contrib
SFG545 34d52d11a9 feat: update user configuration example and add development package support
- Enhanced the user.depot.toml.example file with additional comments and options for user-local preferences.
- Bumped version from 0.35.0 to 0.35.1 in meson.build.
- Introduced a new option for DEPOT_DEVELOPMENT_PACKAGE in meson_options.txt.
- Added functions to handle the requested development package in build_options.rs.
- Updated various builder files (autotools.rs, cmake.rs, custom.rs, meson.rs, perl.rs) to support passing build flags.
- Implemented checks for the required development package during source builds in commands.rs and commands/build_cmd.rs.
- Added tests to ensure the correct behavior of development package requirements and source build warnings.
- Modified manual source handling in source/mod.rs to validate local manual sources before proceeding with builds.
- Updated cargo build and test scripts to accept a new development package argument.
- Added VSCode settings to disable automatic configuration on open.
2026-04-04 17:02:42 -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.