ruby/spec/bundler
David Rodríguez 4df7c3946a [rubygems/rubygems] Remove one fallback to full indexes on big gemfiles
If Gemfile has a lot of dependencies, we have an optimization that uses
the full index in that case, assuming it's going to be faster.

I think this is an old optimization that predates compact index API
times, I believe we no longer need it these days.

Also, since a few releases ago we check for circular dependencies when
resolving by looping through all versions of each name and removing
those that have circular dependencies that would trip up the resolver.

This loop becomes actually very slow when full indexes are used because
to find dependencies of a gemspec, we need to explicitly fetch the
marshaled gemspec (`gemspec.rz` endpoint) for it, so the optimization
has the opposite effect of making things very slow.

https://github.com/rubygems/rubygems/commit/2f46289bd3
2023-04-07 13:53:00 +00:00
..
bundler [rubygems/rubygems] Onboard Rubocop Naming/MemoizedInstanceVariableName rule to Bundler. 2023-03-28 15:25:44 +09:00
cache [rubygems/rubygems] Respect --no-install option for git: sources 2023-03-07 22:36:36 +00:00
commands [rubygems/rubygems] Fix resolver hangs when dealing with an incomplete lockfile 2023-04-06 13:07:16 +09:00
install [rubygems/rubygems] Remove one fallback to full indexes on big gemfiles 2023-04-07 13:53:00 +00:00
lock Don't suggest `--full-index` on API Response mismatch errors 2023-03-23 17:18:49 +09:00
other Merge RubyGems and Bundler master 2023-01-10 15:53:07 +09:00
plugins [rubygems/rubygems] Fix installing plugins in frozen mode 2023-03-28 15:25:42 +09:00
realworld Merge RubyGems/Bundler master. 2023-01-31 10:49:08 +09:00
resolver Merge rubygems/bundler master 2023-02-21 19:28:12 +09:00
runtime [rubygems/rubygems] Simplify `lockfile_platforms` helper 2023-03-17 18:50:55 +09:00
support [rubygems/rubygems] Remove one fallback to full indexes on big gemfiles 2023-04-07 13:53:00 +00:00
update Merge RubyGems/Bundler master 2022-12-09 16:36:22 +09:00
quality_es_spec.rb Merge RubyGems/Bundler master 2022-12-12 10:49:43 +09:00
quality_spec.rb Merge rubygems/bundler master 2023-02-21 19:28:12 +09:00
spec_helper.rb Merge RubyGems/Bundler master 2022-12-12 10:49:43 +09:00