mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
![]() When `--conservative` is passed, explicit unlocks are set for top level gems via `@unlock[:gems]`, so that only those particular gems are allowed to be updated. When we compute the "base resolve" from the lockfile (the set of gems whose versions should be kept pinned by the resolver), we always exclude gems explicitly unlocked through `@unlock[:gems]` from it. This is done by the `converge_specs` method. However, the `converge_specs` method is also used for figuring out additional lower bound requirements from the lockfile. But in this case, even if gems are explicitly unlock in `@unlock[:gems]`, we still want to add the additional requirement, so that gems are not downgraded by the resolver. So the solution is to move the line filtering out gems in `@unlock[:gems]` from the `converged_specs` method out of that method, so that it only applies for computing the "base resolve", but not the addtional lower bound requirements. https://github.com/rubygems/rubygems/commit/405119bd7b |
||
---|---|---|
.. | ||
benchmark | ||
bundler | ||
cgi | ||
csv | ||
delegate | ||
did_you_mean | ||
drb | ||
erb | ||
error_highlight | ||
forwardable | ||
getoptlong | ||
irb | ||
logger | ||
net | ||
observer | ||
open3 | ||
optparse | ||
ostruct | ||
pstore | ||
racc | ||
random | ||
rdoc | ||
reline | ||
rinda | ||
rubygems | ||
set | ||
singleton | ||
syntax_suggest | ||
timeout | ||
unicode_normalize | ||
uri | ||
weakref | ||
yaml | ||
abbrev.gemspec | ||
abbrev.rb | ||
base64.gemspec | ||
base64.rb | ||
benchmark.rb | ||
bundler.rb | ||
cgi.rb | ||
csv.rb | ||
delegate.rb | ||
did_you_mean.rb | ||
drb.rb | ||
English.gemspec | ||
English.rb | ||
erb.gemspec | ||
erb.rb | ||
error_highlight.rb | ||
fileutils.gemspec | ||
fileutils.rb | ||
find.gemspec | ||
find.rb | ||
forwardable.rb | ||
getoptlong.rb | ||
ipaddr.gemspec | ||
ipaddr.rb | ||
irb.rb | ||
logger.rb | ||
mkmf.rb | ||
mutex_m.gemspec | ||
mutex_m.rb | ||
observer.rb | ||
open-uri.gemspec | ||
open-uri.rb | ||
open3.rb | ||
optionparser.rb | ||
optparse.rb | ||
ostruct.rb | ||
pp.gemspec | ||
pp.rb | ||
prettyprint.gemspec | ||
prettyprint.rb | ||
pstore.rb | ||
racc.rb | ||
rdoc.rb | ||
readline.gemspec | ||
readline.rb | ||
reline.rb | ||
resolv-replace.gemspec | ||
resolv-replace.rb | ||
resolv.gemspec | ||
resolv.rb | ||
ruby2_keywords.gemspec | ||
rubygems.rb | ||
securerandom.gemspec | ||
securerandom.rb | ||
set.rb | ||
shellwords.gemspec | ||
shellwords.rb | ||
singleton.rb | ||
syntax_suggest.rb | ||
tempfile.gemspec | ||
tempfile.rb | ||
time.gemspec | ||
time.rb | ||
timeout.rb | ||
tmpdir.gemspec | ||
tmpdir.rb | ||
tsort.gemspec | ||
tsort.rb | ||
un.gemspec | ||
un.rb | ||
uri.rb | ||
weakref.rb | ||
yaml.rb |