| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| | | | |
|
| | | | |
|
| | | | |
|
| | | | |
|
|\ \ \ \
| |_|_|/
|/| | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
7258: Restore the removal of the `--all` flag for `bundle cache` in Bundler 3 r=indirect a=deivid-rodriguez
### What was the end-user problem that led to this PR?
The problem was that I accidentally restored this flag on Bundler 3 in #7249, but the plan still is to remove it.
### What was your diagnosis of the problem?
My diagnosis was that I need to remove it again.
### What is your fix for the problem, implemented in this PR?
My fix is to remove it.
### Why did you choose this fix out of the possible options?
I chose this fix because it's the original plan and makes sense.
Co-authored-by: David Rodríguez <deivid.rodriguez@riseup.net>
|
| | | | |
|
| | |/
| |/| |
|
|\ \ \
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
6809: Fix using gemspec & force_ruby_platform on windows r=deivid-rodriguez a=segiddins
### What was the end-user problem that led to this PR?
The problem was using `gemspec` and `force_ruby_platform` on Windows would lead to gems not being requirable.
Fixes #6801.
### What was your diagnosis of the problem?
My diagnosis was there was a place where `force_ruby_platform` wasn't being taken into account, namely the query methods on `Bundler.current_ruby`
### What is your fix for the problem, implemented in this PR?
My fix was to add a check for the local platform in `current_ruby`, so the `force_ruby_platform` override would be taken into account.
### Why did you choose this fix out of the possible options?
I chose this fix because it avoids hard-coding knowledge of the setting in more places.
Co-authored-by: Samuel Giddins <segiddins@segiddins.me>
Co-authored-by: David Rodríguez <deivid.rodriguez@riseup.net>
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Gem::Platform::RUBY
This allows us to always say we're ruby? when force_ruby_platform is
set, and fixes using gemspec & force_ruby_platform on windows.
|
| | | |
| | | |
| | | |
| | | | |
generic
|
| | | | |
|
| | | | |
|
| |/ /
|/| |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* Adds an extra artifice task to vendorize new `connection_pool`
dependency.
* Cherry-pick's needed Windows fix not yet merged into master branch of
`net-http-persistent`.
* Update bundler usages to be compatible with the new version, and fix
unit specs.
|
|\ \ \
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
7261: Enable `Style/UnneededInterpolation` cop r=hsbt a=deivid-rodriguez
### What was the end-user problem that led to this PR?
The problem was that sometimes we have some unneeded string interpolations in our code base.
### What was your diagnosis of the problem?
My diagnosis was that we could remove them, because interpolating string variables seems weird and redundant.
### What is your fix for the problem, implemented in this PR?
My fix is to remove the unnecessary interpolations, and enable the corresponding rubocop cop.
### Why did you choose this fix out of the possible options?
I chose this fix because it fixes the current issues and it enforces the style rule from now on.
Co-authored-by: David Rodríguez <deivid.rodriguez@riseup.net>
|
| | | | |
|
|\ \ \ \
| |/ / /
|/| | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
7226: Improve quality specs r=hsbt a=deivid-rodriguez
### What was the end-user problem that led to this PR?
I'm not really sure of the exact context when I made these changes, but I recall I was getting some invalid encoding errors somehow, and they turned out to be an estraneous `’` quote in one of the documentation files.
### What was your diagnosis of the problem?
My diagnosis was that we should not include this character anywhere, but instead use regular quotes.
### What is your fix for the problem, implemented in this PR?
My fix is to add a quality spec for this, and while I was at it, I added some improvements to quality specs in general.
Co-authored-by: David Rodríguez <deivid.rodriguez@riseup.net>
|
| |/ /
| | |
| | |
| | | |
And use single quotes consistenly.
|
|\ \ \
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
7238: Point to CoC which contains the contributor covenant r=deivid-rodriguez a=ajwann
### What was the end-user problem that led to this PR?
The generated README contains two different links to contributor covenant. Since the generated Code of Conduct *contains* the text of the Contributor Covenant, we can just point the generated README to the generated CoC, and explicitly refer to it as the code of conduct.
### What is your fix for the problem, implemented in this PR?
The generated readme now points to the gems CoC (which contains the Contributor Covenant)
Closes #6905.
Co-authored-by: Adam Wanninger <ajwann@ajwann.com>
|
| | |/
| |/| |
|
|/ /
| |
| |
| |
| |
| |
| | |
It sounds like this was mistankenly added in
4337a499d0108fc3748084934aaed7591b355a26. Then the forgotten MANPATH key
was added in bf5bf106230772934602768bb31a68dc925691f0, but this one
should've been removed I think.
|
|\ \
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
7250: Fix ruby core dsl spec.rb failure, warning on build_metadata.rb r=deivid-rodriguez a=MSP-Greg
### What was the end-user problem that led to this PR?
Travis CI job on Ruby master was failing & had a nuisance warning.
### What is your fix for the problem, implemented in this PR?
1. dls_spec.rb - Minor change to the error msg regexp match string
2. build_metadata.rb - change `if @git_commit_sha` to `if instance_variable_defined? :@git_commit_sha`
Co-authored-by: MSP-Greg <msp-greg@users.noreply.github.com>
|
| | |
| | |
| | |
| | | |
initialized'
|
|\ \ \
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
7249: Add `bundle package` functionality to `bundle cache` r=indirect a=deivid-rodriguez
### What was the end-user problem that led to this PR?
The problem was that the previous plan provided no migration path from the current `bundle cache` to the future one (an alias to `bundle package`).
### What was your diagnosis of the problem?
My diagnosis was that we should probably tell users first that in bundler 3, `bundle cache` will have a different implementation. However, after playing around with it a bit, I noticed that the additions to `bundle cache` provided by `bundle package` are fully backwards compatible. Or maybe I'm missing something but at least all `bundle cache` tests still pass when changing the implementation under the hood to use `bundle package`. As far as I can see, the only backwards incompatible change (start caching `git` and `path` gems by default) is already covered by the exisiting `cache_all` flag), so we should be good.
### What is your fix for the problem, implemented in this PR?
My fix is to remove the current implementation of `bundle cache`, and replace it with the current implementation of `bundle package`.
### Why did you choose this fix out of the possible options?
I chose this fix because it allows us to remove code and it reduces confusion about `bundle cache` vs `bundle package` making them work exactly the same.
On a future PR, I plan to clean this up so that everything (docs, code, tests) use `bundle cache`, and `bundle package` is left only as an alias.
Co-authored-by: David Rodríguez <deivid.rodriguez@riseup.net>
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
The additions of the `package` command are not actually backwards
incompatible, so we can do this transition without further care. All
existing specs of `bundle cache` pass when using the `bundle package`
implementation for it.
|
| | | |
| | | |
| | | |
| | | |
| | | | |
So that we handle the removal of `bundle cache` just like we'll handle
the removal of `bundle show` and `bundle console`.
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Just change the default. The reason to do this is that the deprecation
message talks about the default being changed, not the option being
removed.
|
| | | | |
|
| | | |
| | | |
| | | |
| | | | |
This is inside a code branch where the condition is already met.
|
|\ \ \ \
| |_|/ /
|/| | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
7248: Fix nested bundle exec's when bundler is a default gem r=deivid-rodriguez a=MSP-Greg
### What was the end-user problem that led to this PR?
The problem was that when bundler is a default gem, nested `bundle exec` commands generate a LoadError.
```
/home/travis/.rvm/rubies/ruby-head/bin/bundle:30:in `load': cannot load such file --
/home/travis/.rvm/rubies/ruby-head/lib/bin/bundle (LoadError)
```
### What was your diagnosis of the problem?
Not accounting for Bundler being installed as a default gem. When it's a default, the lib and exe folders do not share the same root folder.
This was the result of a change in https://github.com/bundler/bundler/commit/e742c3d5f458a4a59cf0eaab2567eca844f956d1 (#7100).
### Repo Example
Using Ruby master/trunk/ruby-head (as of https://github.com/ruby/ruby/commit/0c6c937904aafc1809386bd892a2d114d22d01fe), from a folder where `bundle exec` can be ran:
```
bundle exec "bundle exec 'ruby -v'"
```
### What is your fix for the problem, implemented in this PR?
Small adjustment to logic for finding the correct exe/bundle file.
### Why did you choose this fix out of the possible options?
I chose this fix because it's similar to previous code.
Fixes #7244.
Co-authored-by: MSP-Greg <msp-greg@users.noreply.github.com>
|
| |/ / |
|
|\ \ \
| |/ /
|/| |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
7239: Fully remove compatibility guard r=deivid-rodriguez a=deivid-rodriguez
### What was the end-user problem that led to this PR?
The problem was that this code is untested and never run.
### What was your diagnosis of the problem?
My diagnosis was that we can remove it.
### What is your fix for the problem, implemented in this PR?
My fix is to remove the code.
### Why did you choose this fix out of the possible options?
I actually intented to remove this in https://github.com/bundler/bundler/pull/6983, but after a discussing it with @simi I decided to keep it (see https://github.com/bundler/bundler/pull/6983#discussion_r259327593). After a second though I think this is safe to remove and that the potential use case (that the latest bundler is allowed to be installed by a really really old rubygems that didn't support ruby version constraints) is not a problem. The `required_ruby_version` constraint landed in [rubygems 0.6, 15 years ago](https://github.com/rubygems/rubygems/commit/240a9d3a3dc7211cad9680ce2579f502e215b519).
Co-authored-by: David Rodríguez <deivid.rodriguez@riseup.net>
|
| |/ |
|
|\ \
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
7247: Drop rubygems 2.5.0 and 2.5.1 support r=hsbt a=deivid-rodriguez
### What was the end-user problem that led to this PR?
The problem was that we have some conditional code in bundler dependent on the rubygems version being used, that could be easily removed if we dropped support for rubygems 2.5.0 and 2.5.1.
### What was your diagnosis of the problem?
My diagnosis was that we could drop support for these versions now, to remove all of those conditionals and simplify the integration.
### What is your fix for the problem, implemented in this PR?
My fix is to drop support for rubygems 2.5.0 and 2.5.1.
### Why did you choose this fix out of the possible options?
I chose this fix because the oldest ruby we currently support, 2.3, ships with rubygems 2.5.2, so it's very unlikely that any user of the next bundler version will be using these old rubygems versions, because they would need to explicitly downgrade rubygems!
Co-authored-by: David Rodríguez <deivid.rodriguez@riseup.net>
|
| | | |
|
|/ /
| |
| |
| |
| |
| | |
The rubygems integration sets up a `post_reset` hook that resets the
specs back to what bundler knows after `Gem::Specification.reset` is
called (which is what `Gem.refresh` calls under the hood).
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
|/ |
|
|\
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
7224: Remove unnecessary `order_matters` param r=hsbt a=deivid-rodriguez
### What was the end-user problem that led to this PR?
The problem was that the `find_gemfile` method was receiving an `order_matters` parameter that's no longer used anywhere.
### What is your fix for the problem, implemented in this PR?
My fix is to remove the parameter.
Co-authored-by: David Rodríguez <deivid.rodriguez@riseup.net>
|
| | |
|
|\ \
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
7222: Remove `add_development_dependency` from new gems r=deivid-rodriguez a=deivid-rodriguez
### What was the end-user problem that led to this PR?
The problem was that a lot of gems in the wild use `add_development_dependency` for their development dependencies, but using `Gemfile`'s for that is more useful.
### What was your diagnosis of the problem?
My diagnosis was that the current situation is due to the fact that bundler generates a gem skeleton that uses `add_development_dependency` by default.
### What is your fix for the problem, implemented in this PR?
My fix is to stop using `add_development_dependency` in generated gems, and instead use the Gemfile.
### Why did you choose this fix out of the possible options?
I chose this fix because it encourages better practices.
Co-authored-by: David Rodríguez <deivid.rodriguez@riseup.net>
|
| | | |
|
| | | |
|
|\ \ \
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
7225: Clearer `MissingRevision` git errors r=deivid-rodriguez a=deivid-rodriguez
### What was the end-user problem that led to this PR?
The problem was that sometimes we get the error "Revision xxxxxx does not exist in the repository https://github.com/my_user/my_repo. Maybe you misspelled?"
### What was your diagnosis of the problem?
My diagnosis was that it's not always easy to troubleshoot this error, because you don't even know which git command failed in the first place.
### What is your fix for the problem, implemented in this PR?
My fix is to also include in the error the command that originally failed.
### Why did you choose this fix out of the possible options?
I chose this fix because I think it will help users with troubleshooting.
Co-authored-by: David Rodríguez <deivid.rodriguez@riseup.net>
|
| | |/
| |/| |
|
| | |
| | |
| | |
| | | |
We only want it temporarily during the duration of the cache saving.
|