According to gem search "cocoapods-.*" some plugins are not listed in the plugins.json file:
gem search "cocoapods-.*"
Additionally, cocoapods-try should be removed from the JSON list as it is a core plugin, installed by default.
lets not put in useless ones, like the publisher and only include the better of search & sorted-search - at least for now we can curate to some extent
I wonder if there is somewhere in pod plugins create a message reminding the author of a new plugin not to forget to add his/her plugin into the JSON here (via a PR)
pod plugins create
Perhaps it makes sense for the plugins JSON file to sit on a separate repository? This is kind of hidden away and not an expected place to find it.
Yep, I wonder why it was placed here at all.
I would have put it somewhere like in cocoapods-plugins repo itself, or in CocoaPods/shared or CocoaPods/CocoaPods itself, but not here.
Added related issues in CocoaPods/cocoapods-plugins.
I think that it was placed here because it is served over the network.
@irrationalfab raw.githubusercontent.com is too 😄 so no need to host it in a website repo 😉
GitHub's raw URLs aren't designed to be a generic web host. For example they don't send proper Content-Type headers. We can ignore it in our implementation but it can be a pain for other clients (for example based on AFNetworking). Also they can break in the future (e.g. rate limiting).
We can adapt quickly, so it is not a big deal, but having the choice it is better to properly host our assets. Having said that I'm fine with moving the file to CocoaPods/shared (even though I don't think that it improves visibility a lot) but I don't think that it should be moved to CocoaPods/CocoaPods. What about CocoaPods/cocoapods-plugins?
We should move it out of the data folder actually, as I it's not accessible via the cocoapods.org interface, http://cocoapods.org/data/plugins.json
Should move to the root folder, thereby making it accessible via http://cocoapods.org/plugins.json
So at the root of cocoapods.org folder to make it served by CP.org?
Or in cocoapods-plugins repo to be consistent and not hidden away?
Let's vote ;)
I vote for the root of cocoapods.org:
Seems fair. issue updated.
@AliSoftware cocoapods-search and cocoapods-publisher are not plugins. They are standalone scripts. cocoapods-sorted-search is cool.
👍 for root of cocoapods.org
Oh thx for the info @dbgrandi !
Should we suggest the authors to rename their gem then?
@AliSoftware CocoaPods is a big project. Some people might view suggesting other projects to rename as being kind of a bully. Unless it's causing a specific problem for CP users, I'd let them be.
We should have used cocoapods-plugin as a prefix (or better, use cocoapods- as prefix + -plugin as suffix) from the start, but well it's probably kinda too late now, we are not gonna rename them all…
Updated list of plugins (fix #68)
Moved plugins.json from 'data/' to root dir (see #68 and CocoaPods/co…
…coapods-plugins#26). Added a temporary symlink so that cocoapods-plugins keeps working until next release.