CocoaPods / CocoaPods/Molinillo

What are the reasons for using the latest version?

Open
#157 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Ruby
Stars
420
Forks
41
PR merge metrics
No merged PRs in 30d

Description

```ruby
def resolve_activated_specs
activated.vertices.each do |_, vertex|
next unless vertex.payload

latest_version = vertex.payload.possibilities.reverse_each.find do |possibility|
vertex.requirements.all? { |req| requirement_satisfied_by?(req, activated, possibility) }
end

activated.set_payload(vertex.name, latest_version)
end
activated.freeze
end
```
I found that in the resolving dependency, the latest version is returned. What are the reasons for using the latest version?
If I want to use a minimum version that meets the conditions, what should I do?

Contributor guide

No contributing guide indexed for this repository

Research direction

The issue points to the resolve_activated_specs method; start by tracing how activated vertices and possibilities are resolved. Determine why the latest satisfying version is selected and whether the project documents an option for selecting the minimum satisfying version. Done means providing clear guidance or documenting the supported behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
ruby
Domain
tooling
Issue type
Documentation
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.