bundler lock should have an option to ignore 'without' groups
Open
Nobody has claimed this yet.
Bundler
- Dominant language
- Ruby
- Stars
- 4k
- Forks
- 1.9k
- Avg merge
- 1d 2h
- Merged PRs (30d)
- 81
Description
our svm scanning system relies on Gemfile.lock,
so atm we put a big unless ENV["SKIP_DEV"] around our test/dev gems
to create a new lockfile,
but it would be nice to no need that and have bundle lock --ignore-without
Post steps to reproduce the problem
# Gemfile
gem 'rake', group: :test
bundle
bundle set without test
bundle
cat Gemfile.lock | grep rake # still htere
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 reproducing the commands in the issue with a Gemfile containing rake in the test group, then inspect the bundle lock and bundle set without entry points. The change is done when bundle lock --ignore-without provides the requested behavior while Gemfile.lock remains suitable for the scanner and preserves the expected lock entry.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- ruby
- Domain
- cli, tooling
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100