Skip to content

v0.2.1 — configurable devcontainer up arguments

Latest

Choose a tag to compare

@gambtho gambtho released this 01 Nov 05:46
1b36842

Configurable Dev Container startup

Pass additional devcontainer up arguments through the plugin configuration, globally or per repository. Use this for dotfiles setup, additional Features, mounts, and other CLI options without changing the repository's Dev Container configuration. Global arguments are applied before repository-specific arguments.

up_args = ["--log-level", "debug"]

[repos."/home/you/workspace/foo"]
up_args = ["--mount", "type=bind,source=/data,target=/data"]

Arguments are passed separately with no shell expansion. Malformed lists and managed options (--workspace-folder, --config, and --id-label, including camelCase aliases and =value forms) are ignored as a whole with a warning, preserving the container identity used by discovery and Stop.

Existing configurations keep their previous behavior when up_args is omitted.

Upgrade

herdr plugin install gambtho/herdr-devcontainer --ref v0.2.1

Verification

Local verification: 155 unit tests passed; formatting, Clippy, and release build passed. The six Docker integration tests were not run. CI passed on the exact release commit, including Linux, macOS, and the minimum supported Rust version.

What's Changed

New Contributors

Full Changelog: v0.2.0...v0.2.1