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

[Plugins] Added support for hooks registratrion #1755

Merged
merged 3 commits into from
Aug 12, 2014
Merged

Conversation

fabiopelosin
Copy link
Member

Living TODO
  • Rebase
  • Review
  • Rename Plugins module to HooksManager
  • Use ruby objects instead of hashes
  • Changelog


# Simple hook system for plugins.
#
# The system is based around the concept that plugins can
Copy link
Member

Choose a reason for hiding this comment

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

The system is based around the concept that - this says nothing, kill it with 🔥

@fabiopelosin
Copy link
Member Author

@alloy other than moving the data to Ruby objects, do you have any comment about this one?

@orta
Copy link
Member

orta commented Apr 5, 2014

Needs a rebase too

@fabiopelosin
Copy link
Member Author

Needs a rebase too

Done

@orta
Copy link
Member

orta commented Aug 11, 2014

needs a second rebase, hah, but yeah, would definitely love to have this in, got plans to build something relying on this soon.

@fabiopelosin
Copy link
Member Author

Second rebase?

@fabiopelosin
Copy link
Member Author

Ok, this should be done. I'm leaving the usual 24h window to the rest of the @CocoaPods/core team so they can express any of their concerns to avoid a maintenance disaster!

@fabiopelosin
Copy link
Member Author

PS: This pull request has been completely rewritten and amended.

@@ -6,7 +6,20 @@ To install or update CocoaPods see this [guide](http://docs.cocoapods.org/guides

##### Enhancements

* Display indication for deprecated pods when searching for Pods.
* Added hooks for plugins. Currently only the installer hook is supported.
Copy link
Member

Choose a reason for hiding this comment

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

why no pre-install hook?

Copy link
Member

Choose a reason for hiding this comment

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

As discussed in the chat channel, because it’s a hook that’s only used in very rare occasions and we don’t need to expose more than what’s actually needed atm.

@alloy
Copy link
Member

alloy commented Aug 12, 2014

👍

fabiopelosin added a commit that referenced this pull request Aug 12, 2014
[Plugins] Added support for hooks registratrion
@fabiopelosin fabiopelosin merged commit 5870462 into master Aug 12, 2014
@fabiopelosin fabiopelosin deleted the fabio/hooks branch August 12, 2014 14:46
@orta
Copy link
Member

orta commented Aug 12, 2014

YAY

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
s4:awaiting validation A Pull Request that is waiting for validation by a CocoaPods Core Team member
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants