| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The list command was still present (just aliased to `bundle show`), even
if the setting was set to false. So the setting was at least super
confusing if not just wrong.
It also led to misleading situations such as
```
$ bundle list --help
(...)
NAME
bundle-list - List all the gems in the bundle
SYNOPSIS
bundle list [--name-only] [--paths] [--without-group=GROUP] [--only-group=GROUP]
(...)
$ bundle list --only-group=development
Unknown switches '--only-group=development'
```
So, instead, I enable the new list command _always_ and remove the
`bundle list => bundle show` alias.
|
|
|
|
|
| |
Inform about complete removal when `bundle show --outdated` and `bundle
show --verbose`.
|
| |
|
|
|
|
|
|
|
|
| |
This setting is not meant to be used by end users. The `console` command
is going away and we plan to fully remove the code once we only have to
maintain bundler 3 or higher versions. Adding a setting makes it look
like the presence of this command is something "configurable", but it's
not.
|
|
|
|
|
|
|
|
| |
This setting is not meant to be used by end users. The `viz` command is
going away and we plan to fully remove the code once we only have to
maintain bundler 3 or higher versions. Adding a setting makes it look
like the presence of this command is something "configurable", but it's
not.
|
|
|
|
| |
The `--no-install` flag flag is only meant for `bundle package`.
|
|
|
|
| |
Because the behavior is still there.
|
| |
|
|
|
|
|
|
|
| |
Under the previous code, once we stop remembering options, these flags
would be automatically removed without deprecation. Instead, first
deprecate the options in bundler 2, then remove them and stop
remembering them in bundler 3.
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
With a single gem, it will be replaced by `bundle info`, not by `bundle
list`.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Instead of hard erroring, deprecate the `--force` flag on bundler 2 to
better teach users about the replacement.
Before:
$ bundle install --force
Unknown switches '--force'
After:
$ bundle install --force
[DEPRECATED FOR 2.0] The `--force` option has been renamed to `--redownload`
Could not locate Gemfile # or whatever the expected behavior for --redownload is
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
Improves understanding of the options without need to look up the docs.
|
| |
|
| |
|
|\
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Add mutiple gems by names
Add support for mutiple gems by names only
```bash
bundle add rack rails
```
Concerns:
- All the options/switches used would be applied to the all gems specified and a warning is displayed for the time being.
Closes #6543
|
| | |
|
|\ \
| |/
|/|
| |
| |
| | |
Add option to filter gem-dependencies from output of 'bundle outdated'
Resolves #5366 by adding a new option '--filter-dependencies' to `bundle outdated`. When present, `outdated` will only check the `gemfile_specs` and skip the `dependency_specs`.
|
| | |
|
| |
| |
| |
| |
| | |
When enabled, 'bundler outdated' will only check gems specified
in the Gemfile and ignore their transitive dependencies.
|
| | |
|
| | |
|
| | |
|
|/ |
|
| |
|
| |
|
|\
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
r=colby-swandale
Added `--gemfile` option to `bundle update`
Thanks so much for the contribution!
To make reviewing this PR a bit easier, please fill out answers to the following questions.
### What was the end-user problem that led to this PR?
The problem was that `BUNDLE_GEMFILE` is not respected when `.bundle/config` specifies an alternate Gemfile. However, my specific issue is that `bundle install --gemfile Gemfile2` is an option, but `bundle update` won't let me specify an alternate Gemfile.
### What was your diagnosis of the problem?
My diagnosis was that Bundler copies `BUNDLE_GEMFILE` environment variable to `BUNDLE_ORIG_GEMFILE` and always uses `.bundle/config`. Simplest solution was to add parity to `bundle update` rather than diagnose why environment variables don't override `.bundle/config` settings across the board.
### What is your fix for the problem, implemented in this PR?
My fix is to add the `--gemfile` option to `bundle update` for parity with `bundle install`.
### Why did you choose this fix out of the possible options?
I chose this fix because this allows installing and updating alternative Gemfiles without untangling environment variables. It's the most direct use case that I'm having this issue with.
Ideally, the environment variables specified for a command should be respected and override settings in `.bundle/config` (https://github.com/bundler/bundler/issues/6270).
|
| | |
|
|\ \
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
[CLI] Skip the outdated bundler check when MD5 is not available
### What was the end-user problem that led to this PR?
The problem was Bundler would try to do the outdated version check on FIPS systems, leading to an exception.
Closes #6032.
### What was your diagnosis of the problem?
My diagnosis was we needed to skip the check when MD5 is unavailable.
### Why did you choose this fix out of the possible options?
I chose this fix because using `#available?` would make network requests, which is not acceptable.
|
| | | |
|
|/ /
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This option mimics the `--paths` options in `bundle show` which is
being removed in bundler 2.
Example Usage:
$ bundle list --paths
/Users/c/Desktop/Projects/testapp/.bundle/ruby/2.4.0/gems/actioncable-5.1.4
/Users/c/Desktop/Projects/testapp/.bundle/ruby/2.4.0/gems/actionmailer-5.1.4
/Users/c/Desktop/Projects/testapp/.bundle/ruby/2.4.0/gems/actionpack-5.1.4
/Users/c/Desktop/Projects/testapp/.bundle/ruby/2.4.0/gems/actionview-5.1.4
|
| | |
|
| | |
|
| | |
|