Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Analyzer] Allow calling #generate_version_locking_dependencies witho… #7924

Merged
merged 1 commit into from
Jul 12, 2018

Conversation

segiddins
Copy link
Member

…ut a sandbox set up

@segiddins segiddins requested a review from dnkoutso July 11, 2018 20:12
@CocoaPodsBarista
Copy link

1 Warning
⚠️ Please include a CHANGELOG entry to credit yourself!
You can find it at CHANGELOG.md.

Here's an example of your CHANGELOG entry:

* [Analyzer] Allow calling #generate_version_locking_dependencies witho…  
  [segiddins](https://github.com/segiddins)
  [#issue_number](https://github.com/CocoaPods/CocoaPods/issues/issue_number)

note: There are two invisible spaces after the entry's text.

Generated by 🚫 Danger

@@ -185,6 +185,10 @@ def update_mode
end
end

def podfile_dependencies
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is this public? does it it need to be?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nope, it's private and can stay that way

pods_to_unlock = local_pod_names.to_set.delete_if do |pod_name|
sandbox.specification(pod_name).checksum == lockfile.checksum(pod_name)
next unless sandbox_specification = sandbox.specification(pod_name)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

does this fix something else?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

oh nm I think this can fix a crasher.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yeah, this is the actual fix, the other change is just to allow testing it

@dnkoutso dnkoutso added this to the 1.6.0 milestone Jul 11, 2018
@segiddins segiddins merged commit d5a01eb into master Jul 12, 2018
@segiddins segiddins deleted the segiddins/analyzer-locking-deps-no-sandbox-spec branch July 12, 2018 12:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants