| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|\
| |
| |
| |
| |
| |
| |
| | |
7374: Fix typos r=hsbt a=biow0lf
Fix typos
Co-authored-by: Igor Zubkov <igor.zubkov@ag-force.com>
|
| | |
|
| | |
|
|/ |
|
|\
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
7372: October manpages r=hsbt a=deivid-rodriguez
### What was the end-user problem that led to this PR?
The problem was that outdated manpages.
### What is your fix for the problem, implemented in this PR?
My fix is to update them.
Co-authored-by: David Rodríguez <deivid.rodriguez@riseup.net>
|
|/ |
|
|\
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
7368: Bump version to latest pre-release r=deivid-rodriguez a=deivid-rodriguez
### What was the end-user problem that led to this PR?
The problem was that I forgot to merge the version increase back to master after release.
### What is your fix for the problem, implemented in this PR?
My fix is to bump it.
Co-authored-by: David Rodríguez <deivid.rodriguez@riseup.net>
|
| |
| |
| |
| | |
Forgot to merge the version increase back to master after release.
|
|\ \
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
7370: Fix `bunde outdated` regression with groupless dependencies r=deivid-rodriguez a=deivid-rodriguez
### What was the end-user problem that led to this PR?
The problem was that the refactoring in #7365 introduced a regression involving groupless dependencies.
### What was your diagnosis of the problem?
My diagnosis was that `nil` groups were not being properly handled when sorting groups by name, and when this kind of outdated deps would be involved, `bundle outdated` would crash with a backtrace like the following:
```
NoMethodError: undefined method `split' for nil:NilClass
/home/deivid/Code/bundler/lib/bundler/cli/outdated.rb:105:in `block in run'
/home/deivid/Code/bundler/lib/bundler/cli/outdated.rb:104:in `each'
/home/deivid/Code/bundler/lib/bundler/cli/outdated.rb:104:in `run'
/home/deivid/Code/bundler/lib/bundler/cli.rb:412:in `outdated'
/home/deivid/Code/bundler/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'
/home/deivid/Code/bundler/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command'
/home/deivid/Code/bundler/lib/bundler/vendor/thor/lib/thor.rb:392:in `dispatch'
/home/deivid/Code/bundler/lib/bundler/cli.rb:26:in `dispatch'
/home/deivid/Code/bundler/lib/bundler/vendor/thor/lib/thor/base.rb:466:in `start'
/home/deivid/Code/bundler/lib/bundler/cli.rb:17:in `start'
/home/deivid/Code/bundler/exe/bundle:46:in `block in <main>'
/home/deivid/Code/bundler/lib/bundler/friendly_errors.rb:123:in `with_friendly_errors'
/home/deivid/Code/bundler/exe/bundle:34:in `<main>'
```
### What is your fix for the problem, implemented in this PR?
My fix is to consider `nil` groups as empty instead, so that sorting them works.
### Why did you choose this fix out of the possible options?
I chose this fix because it's reasonable simple.
Co-authored-by: David Rodríguez <deivid.rodriguez@riseup.net>
|
| | | |
|
| |/ |
|
|\ \
| |/
|/|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
7362: Fix spec warnings r=deivid-rodriguez a=deivid-rodriguez
### What was the end-user problem that led to this PR?
The problem was that our specs print some warnings to screen.
### What was your diagnosis of the problem?
My diagnosis was that specs should have a clean output.
### What is your fix for the problem, implemented in this PR?
My fix is to remove the warnings.
Co-authored-by: David Rodríguez <deivid.rodriguez@riseup.net>
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| | |
The following warning:
```
/path/to/spec/bundler/ruby_version_spec.rb:404: warning: instance variable @ruby_version not initialized
```
|
|\ \
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
7361: Add caller information to some deprecation messages r=indirect a=deivid-rodriguez
### What was the end-user problem that led to this PR?
The problem was that some deprecations mention usage of deprecated methods, but include no information about where the deprecated method is being called.
### What was your diagnosis of the problem?
My diagnosis was that we should include this information with this kind of deprecation messages, to make migration easier.
### What is your fix for the problem, implemented in this PR?
My fix is to add an optional argument to the `major_deprecation` method, to print the location of the deprecated caller.
### Why did you choose this fix out of the possible options?
I chose this fix because it required little code changes.
Co-authored-by: David Rodríguez <deivid.rodriguez@riseup.net>
|
| | |
| | |
| | |
| | |
| | | |
Some deprecations would be fixed more easily if they included the
location where the deprecated method was called.
|
|\ \ \
| |_|/
|/| |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
7365: Refactor `bundle outdated` r=deivid-rodriguez a=deivid-rodriguez
### What was the end-user problem that led to this PR?
The problem was that while working on a better `bundle outdated` format (essentially getting #4474 ready to merge), I noticed a bunch of logic in `bundle outdated` that's overly complicated and not necessary.
### What was your diagnosis of the problem?
My diagnosis was that I should simplify the implementation before changing the output.
### What is your fix for the problem, implemented in this PR?
My fix is to add my improvements as a separate PR. Afterwards I'll rebase and get #4474 ready.
### Why did you choose this fix out of the possible options?
I chose this fix because including this improvements with #4474 made that PR too big and hard to understand.
Co-authored-by: David Rodríguez <deivid.rodriguez@riseup.net>
|
| | | |
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | | |
Groups are only added to this hash if they have gems.
|
| | | |
|
| | |
| | |
| | |
| | | |
I think this kind of artificial line breaks are distracting.
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | | |
Move each `next` to the variable it uses for its condition.
|
| | | |
|
| | |
| | |
| | |
| | | |
No need to check the target group if the group has no outdated gems.
|
|/ /
| |
| |
| |
| | |
I don't know why a nil group was being artificially added and then
always skipped.
|
|\ \
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
7364: Follow up to `ENV["RGV"]` handling refactor r=hsbt a=deivid-rodriguez
### What was the end-user problem that led to this PR?
The problem was that #7296 broke rubygems CI.
### What was your diagnosis of the problem?
My diagnosis was that the handling of `ENV["RGV"]` when it contains the path of a rubygems checkout instead of a rubygems version (like it happens in the rubygems repo) was incorrect.
### What is your fix for the problem, implemented in this PR?
My fix is to correct the behaviour. I was able to reproduce the CI failures in https://github.com/rubygems/rubygems/pull/2924, and verify they are be fixed by this PR by patching the vendored bundler locally.
Fixes #7363.
Co-authored-by: David Rodríguez <deivid.rodriguez@riseup.net>
|
| | | |
|
| |/ |
|
|\ \
| |/
|/|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
7360: Consistenly use the default RSpec formatter r=hsbt a=deivid-rodriguez
### What was the end-user problem that led to this PR?
The problem was that our default RSpec formatter is `--documentation`, but we're overriding it almost everywhere to use `--progress`.
### What was your diagnosis of the problem?
My diagnosis was that we should probably use the default formatter, since I think we all prefer it.
### What is your fix for the problem, implemented in this PR?
My fix is to do that.
Co-authored-by: David Rodríguez <deivid.rodriguez@riseup.net>
|
|/ |
|
|\
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
7296: Improve exec'ing to the proper rubygems version r=deivid-rodriguez a=deivid-rodriguez
### What was the end-user problem that led to this PR?
The problem was that the `with_rubygems` script is hard to work with, because it does complicated ARGV manipulation before exec'ing.
### What was your diagnosis of the problem?
My diagnosis was that we don't need it.
### What is your fix for the problem, implemented in this PR?
My fix is to implement the same thing in a simpler way.
### Why did you choose this fix out of the possible options?
I chose this fix because it simplifies things.
Co-authored-by: David Rodríguez <deivid.rodriguez@riseup.net>
|
| |
| |
| |
| | |
We never use system rubygems anymore. Always the local clone.
|
| | |
|
| |
| |
| |
| | |
This should make binstubs more responsive when using `ENV["RGV"]`.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Instead, use a better rubygems version manager that makes sure that
`ENV["RGV"]` usage is always applied, and its usage is centralized at a
single place.
This simplifies the rake task organization and makes it much simpler to
run locally exactly what's run in CI. For example, since it doesn't rely
on the `RGV` being deleted for subsequent subprocesses, it also running
`bin/rake spec:travis` task locally which previously would lead to
```
rake aborted!
RubyGems version is required on Travis!
```
It also reduces duplication making it so that we only need to change the
`.travis.yml` file when updating tested rubies, and not the `Rakefile`
as well.
|
| | |
|
| |
| |
| |
| |
| | |
So that we don't include a `run` method at the top level, which can
conflict with other `run` methods our specs use.
|
| | |
|
| | |
|
| |
| |
| |
| | |
We don't need to keep adding exceptions.
|
|/
|
|
| |
We're checking the same thing in the previous line
|