Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Check for generic lockfiles | David Rodríguez | 2019-07-23 | 1 | -1/+1 |
| | |||||
* | Normalize file:// handling in specs | David Rodríguez | 2019-06-11 | 4 | -16/+16 |
| | |||||
* | s/last_command.stderr/err/ | David Rodríguez | 2019-04-12 | 1 | -1/+1 |
| | |||||
* | Unify stderr helpers | David Rodríguez | 2019-04-12 | 1 | -1/+1 |
| | |||||
* | Remove `prefer_gems_rb` settinginit_gems_rb | David Rodríguez | 2019-04-11 | 1 | -17/+0 |
| | | | | | | | | | | | | In my opinion, it's overkill to provide a setting for how little this setting was doing. Both types of Gemfile are supported and work regardless of this setting. The only difference this setting would make is the warning message one would get when having _both_ types of Gemfiles in the same project. I changed things so that gems.rb is always looked up first, and the warning message in case you have both always tells you to remove Gemfile and Gemfile.lock. | ||||
* | Move on to bundler 3 | David Rodríguez | 2019-04-11 | 2 | -12/+2 |
| | | | | | | * Drop bundler 1 stuff from tests. * Move all feature flags to bundler 3 (like they are in 2-0-stable) and get them tested. | ||||
* | Merge #7007 | Bundlerbot | 2019-04-02 | 1 | -5/+5 |
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 7007: Remove lockfile incompatibility created by the `lockfile_uses_separate_rubygems_sources` setting r=deivid-rodriguez a=deivid-rodriguez This is more of a question PR, I created this patch to try it out and try to understand, not necessarily get it merged. ### What was the end-user problem that led to this PR? The problem was that once we enable the `lockfile_uses_separate_rubygems_sources` setting, all lockfiles in the world will become incompatible with the previous version. Actually, not necessarily incompatible, but bundler will reorder the sections when the setting is enabled, that will generate churn lock file diffs, and _maybe_ some confusion / merge conflicts, and so on. ### What was your diagnosis of the problem? My diagnosis was that maybe this is not necessary. I read over the issues where this setting was added and what I understood is that previously if a Gemfile specified multiple rubygems sources, they would all get merged together and that's dangerous because it's not deterministic from which source each gem will be picked up, and that could be maliciously exploited. So now each source gets its own separate section. However, how does that affect the ordering of the sections? I don't think it should affect it? ### What is your fix for the problem, implemented in this PR? My fix is to change the `lock_sources` method so that both code branches (`lockfile_uses_separate_rubygems_sources == true`, and `lockfile_uses_separate_rubygems_sources == false`) result in the same ordering of the source sections. ### Why did you choose this fix out of the possible options? I chose this fix because I _think_ it keeps the setting doing the same thing, but also keeps lock file compatibility. Co-authored-by: David Rodríguez <deivid.rodriguez@riseup.net> | ||||
| * | Remove lockfile incompatibility due to a settingseparate_rubygems_sources_in_lockfile | David Rodríguez | 2019-03-02 | 1 | -5/+5 |
| | | | | | | | | | | | | The `lockfile_uses_separate_rubygems_sources` was causing a lockfile incompatibility but in my opinion, this incompatibility is not necessary in the general case. | ||||
* | | Always pass the `--all` flag when neededremove_bundle_update_deprecations | David Rodríguez | 2019-03-30 | 3 | -10/+10 |
| | | |||||
* | | Remove `bundle config` deprecations from specsremove_bundle_config_deprecations | David Rodríguez | 2019-03-29 | 3 | -3/+3 |
|/ | |||||
* | Reword deprecation messages | David Rodríguez | 2019-02-21 | 1 | -6/+6 |
| | | | | | | Including the version is confusing, in my opinion, because it's unclear whether it refers to the future version of removal, or to the current running version. | ||||
* | Change some specs checking the wrong stream | David Rodríguez | 2019-02-21 | 1 | -2/+2 |
| | |||||
* | Use newest interface to `bundle config` everywhere | David Rodríguez | 2019-02-19 | 1 | -1/+1 |
| | |||||
* | Fix 1.x specscheck_out_only_in_specs | David Rodríguez | 2019-02-14 | 1 | -1/+1 |
| | |||||
* | Remove now unnecessary `lack_errors` matcher | David Rodríguez | 2019-02-14 | 1 | -1/+1 |
| | | | | | Since the errors are checked on their own stream, no filtering is needed. | ||||
* | Split stderr and stdout in specs | David Rodríguez | 2019-02-14 | 1 | -2/+2 |
| | |||||
* | Improve redownload specsmore_assertions | David Rodríguez | 2018-09-24 | 1 | -3/+13 |
| | | | | So they are run on bundler 1.x too. | ||||
* | Limit redownload specs to bundler 2better_force_to_redownload_transition | David Rodríguez | 2018-09-19 | 1 | -1/+1 |
| | |||||
* | Make the equivalent change to `bundle update` | David Rodríguez | 2018-09-18 | 1 | -0/+34 |
| | |||||
* | fix whitespace to make rubocop happy and add spacing between `it blocks | Colby Swandale | 2018-01-27 | 1 | -1/+2 |
| | |||||
* | Added a note about why `BUNDLE_GEMFILE` is specified in these specs | Joel Van Horn | 2018-01-25 | 1 | -0/+2 |
| | |||||
* | Added spacing and `before` in spec | Joel Van Horn | 2018-01-25 | 1 | -2/+4 |
| | |||||
* | Added `--gemfile` option to `bundle update` | Joel Van Horn | 2018-01-24 | 1 | -0/+61 |
| | |||||
* | Fixed failing examples for Bundler 2 API | SHIBATA Hiroshi | 2017-12-11 | 1 | -1/+1 |
| | |||||
* | Fixed failing examples with Ruby 2.5. | SHIBATA Hiroshi | 2017-12-11 | 1 | -2/+2 |
| | | | | | It's introduced by URI::Generic channges. https://github.com/ruby/ruby/commit/ed48bfa5e8770a345424abd7f24f94ea9bbf5973 | ||||
* | Automatically bundle clean without a path set on 2.0 | Samuel Giddins | 2017-08-28 | 1 | -6/+12 |
| | |||||
* | Untangle the system gem path and the default bundle path in the specs | Samuel Giddins | 2017-07-24 | 1 | -2/+2 |
| | |||||
* | Update specs for the specific platform being added to the lockfile | Samuel Giddins | 2017-07-05 | 1 | -1/+1 |
| | | | | Also ensure the resolver processes specs in the correct order for error messages | ||||
* | Update the Bundler 2 specs for the removal of using... messagesseg-suppress-using-messages | Samuel Giddins | 2017-07-03 | 1 | -3/+2 |
| | |||||
* | Get the Bundler 2 specs passing with transitive source pinning | Samuel Giddins | 2017-06-23 | 1 | -1/+37 |
| | |||||
* | Get the 2.0 specs passing under 2.0 | Samuel Giddins | 2017-06-23 | 2 | -7/+8 |
| | |||||
* | Specify `--require spec_helper` in .rspec | Koichi ITO | 2017-05-03 | 3 | -3/+0 |
| | |||||
* | Disable RSpec monkey patching | Samuel Giddins | 2017-01-15 | 3 | -3/+3 |
| | |||||
* | Use `bundle!` in specs | Jason King | 2016-12-09 | 1 | -4/+4 |
| | |||||
* | Specs for update post-install messages | Jason King | 2016-12-08 | 1 | -0/+77 |
| | |||||
* | Remove expect_err from the specs & print all output on a spec failure | Samuel Giddins | 2016-08-03 | 1 | -4/+4 |
| | |||||
* | Use `include_gem` as the matcher name | Samuel Giddins | 2016-08-02 | 1 | -6/+6 |
| | |||||
* | [Matchers] Add TheBundle class to make custom matchers more fluent | Samuel Giddins | 2016-08-02 | 1 | -6/+6 |
| | |||||
* | Add Bundler.ui.deprecate | Stefan Lance | 2016-07-05 | 1 | -1/+1 |
| | |||||
* | [GitProxy] Only try and submodule deinit on git 2.9.0+seg-deinit-submodules | Samuel Giddins | 2016-06-27 | 1 | -1/+1 |
| | |||||
* | [GitProxy] Deinit submodules if they are not requested | Samuel Giddins | 2016-06-24 | 1 | -1/+0 |
| | |||||
* | Compatibility with frozen string literals | Samuel Giddins | 2016-01-31 | 2 | -0/+2 |
| | |||||
* | Clean up "Cloning into 'submodule-1.0'..." output messages from test suite | James Wen | 2015-12-30 | 1 | -3/+3 |
| | | | | | | | | - Removes the following output messages from the test suite: ``` Cloning into 'submodule-1.0'... done. ``` | ||||
* | Nix the gem_helpers method in `Bundler::Dsl` | Mike Virata-Stone | 2015-12-15 | 1 | -1/+1 |
| | | | | | | New generic_local_platform to remove all the `generic(Gem::Platform.local)` calls Make `generic` and `generic_local_platform` module functions Thanks to @segiddins for the idea! | ||||
* | [RuboCop] Enable Style/PercentLiteralDelimiters | Samuel Giddins | 2015-11-26 | 1 | -1/+1 |
| | |||||
* | Include revision hash in Source::Git#to_sshow-git-rev | Agis Anastasopoulos | 2015-10-25 | 1 | -2/+2 |
| | | | | | | | | | This effectively changes the output of commands that use Source::Git#to_s (ie. `bundle install`). For example: Using rack 1.0.0 from git@github.com:rack/rack.git (at master@574b147) Closes #3433. | ||||
* | [Path] Update spec for wrapping path in backticks | Samuel Giddins | 2015-10-02 | 1 | -1/+1 |
| | |||||
* | fixup! Add test for updating gems on source when source differs to name | Caden Lovelace | 2015-08-23 | 1 | -39/+39 |
| | |||||
* | Add test for updating gems on source when source differs to name | Caden Lovelace | 2015-08-23 | 1 | -0/+51 |
| | |||||
* | Fix Style/SingleSpaceBeforeFirstArg | Erick Sasse | 2015-07-19 | 1 | -2/+2 |
| |