Feature request - Allow to set multiple config variables in one "bundle config" call
Open
Nobody has claimed this yet.
Bundler
- Dominant language
- Ruby
- Stars
- 4k
- Forks
- 1.9k
- Avg merge
- 1d 2h
- Merged PRs (30d)
- 81
Description
Describe the problem as clearly as you can
Here is my understanding:
- Since Bundler 2.1+,
--path,--withoutand--deploymentoptions are deprecated in a givenbundler install - This resulted in adaptation for deployment tooling (for instance https://github.com/capistrano/bundler/pull/122/files, but also other private stuff) with 3
bundle config --localcalls - This increases deployment / CI-CD deployment time (sometimes by ~ 10 seconds if you are on a slow setup, or on JRuby)
- I do understand that ENV variables could be used to work-around this (in
Capistrano-bundleror similar tooling), but usually it is less explicit (defined a bit further away for instance)
Hence I wonder if bundler config could be made to allow configuring N variables in one go, to accelerate this & save resources, without resorting to ENV variables.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by tracing the existing bundle config command and how it accepts and persists configuration values. Review the deployment examples linked in the issue to understand the intended multi-variable invocation. Done means one bundle config call can set multiple variables while preserving the current configuration behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- ruby
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100