-
-
Notifications
You must be signed in to change notification settings - Fork 42
Open
Description
We've been delaying to get a configuration file in place for rv, but it's about time we add it.
Format
We want to use https://kdl.dev/.
Location
We'll probably want both a project specific location, (like one of rv.kdl, .config/rv.kdl, or .config/rv/rv.kdl) and a global location like one of ~/.rv.kdl, ~/.config/rv.kdl, or ~/.config/rv/rv.kdl).
Schema
The stuff that I recall has come up so far is
rv {
// ruby version to be used by default when no tool files specify any version
ruby "4.0"
// path where `rv ci` installs gems to, and where `rv run` looks for installed gems
gem-home "vendor/bundle"
// to be defined in https://github.com/spinel-coop/rv/pull/562
update-mode [check-for-updates, auto-install, none]
}There's also source credential configuration but we may want to keep those somewhere else, at least the credentials.
@indirect mentioned https://github.com/rust-cli/config-rs as potentially helpful (particularly to deal with the different level of configurations I guess, and backing it up with ENV variables, etc).
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels