8000 Warn when a pod that was added or changed includes script phases by dnkoutso · Pull Request #7110 · CocoaPods/CocoaPods · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Warn when a pod that was added or changed includes script phases #7110

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

Merged
merged 1 commit into from
Oct 6, 2017

Conversation

dnkoutso
Copy link
Contributor
@dnkoutso dnkoutso commented Oct 6, 2017

Users must be aware if pods are adding script phases during installation. This is intended not to be a solution for protecting the user's system but provide visibility to the user who must inspect the script phase.

@dnkoutso dnkoutso added this to the 1.4.0 milestone Oct 6, 2017
@dnkoutso dnkoutso force-pushed the warning_script_phases branch from 845d310 to 588825e Compare October 6, 2017 18:28
# @return [Array<Library>] The targets of the development pods generated by
# the installation process.
#
def development_pod_targets
Copy link
Contributor Author

Choose a reason for hiding this comment

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

unused method.

Copy link
Contributor

Choose a reason for hiding this comment

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

FYI be careful when saying "unused method" - it might have been used by client scripts, not necessarily from within Cocoapods. This commit broke my scripting because I was depending on development_pod_targets being exposed.

Copy link

Choose a reason for hiding this comment

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

Likewise this broke our scripts. I think chang 8000 es like this should go in the ChangeLog.

Copy link
Contributor

Choose a reason for hiding this comment

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

@dnkoutso ^^ this might be more impactful for others that switch to 1.4.0

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Ill add it back and include a comment. Will be in rc.2

@dnkoutso dnkoutso force-pushed the warning_script_phases branch from 588825e to f76fba1 Compare October 6, 2017 18:32
@dnkoutso dnkoutso force-pushed the warning_script_phases branch from f76fba1 to bd809d2 Compare October 6, 2017 18:38
@dnkoutso dnkoutso merged commit 467beea into CocoaPods:master Oct 6, 2017
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.

4 participants
0