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

Already on GitHub? Sign in to your account

Badges #22

Closed
fabiopelosin opened this Issue Dec 15, 2013 · 9 comments

Comments

Projects
None yet
4 participants
Owner

fabiopelosin commented Dec 15, 2013

Apparently NPM has some new cool badges, we should catchup. Badges are like emoji and are the foundation of good software.

screen shot 2013-12-15 at 13 32 30

I vote for something along the following lines

cocoapodsbadge

The install and docs button are separated static images were only the link is customized. Install links to a page in cocoapods.org which features with a big font and allows to copy the following line:

pod 'ObjectiveSugar', '~> 1.0.0'

The sketch file used for the preview is available here: http://cl.ly/2l0W1c2s1B2w.

Owner

orta commented Dec 21, 2013

This is interesting, I like the idea.

If we do this we should move the CocoaPods badges in-house too so we control our own destiny.
screen shot 2013-12-21 at 18 05 22

Hey guys, I guess something broke with the new Cocoapods page. The version and platform badges I created (those on the picture above) are no longer working due to the lack of the API.

There used to be a valid request at http://cocoapods.org/api/v1/pod/%(PODNAME)s.json that returned the pod's properties in a JSON object that I used to build the badges, but now it gives a HTTP 404.

In the cocoapod-badges README there is a link to the commit that created the API, but now that commit is gone. I guess you guys reset the project for the new page, right?

Now @JesseSquire noticed that his badges were gone and when I looked into it I realised it happened to all badges.

Please, let me know what you are planning on doing so we can figure what to do with the badges.

Owner

orta commented Jan 8, 2014

this should be an easy fix ATM, switch to search.cocoapods.org

http://search.cocoapods.org/api/v1/pod/ARAnalytics.json

We will be replacing this with a better version API within a few months, but we can give you warning!

@orta orta closed this Jan 8, 2014

@fjcaetano fjcaetano referenced this issue in badges/cocoapod-badges Jan 8, 2014

Closed

version error badges #5

@orta that's awesome! I was unaware of that, sorry.

I'll dig into it!

Owner

orta commented Jan 8, 2014

Don't worry, it wasn't announced. Think you're the only person using it. We'll keep that in mind 👍

@orta orta reopened this Jan 8, 2014

Owner

floere commented Jan 9, 2014

@fjcaetano I've put you into the search engine source code so that we don't forget who is using that method :) CocoaPods/search.cocoapods.org@6f45b56#diff-cc95738088603531796e0d0f246a5d77R112

Nice! Thanks 😃

Owner

floere commented Jan 9, 2014

@fjcaetano Sure :) That will help remembering to ping you when we migrate all this over to the pod API.

Owner

floere commented Dec 14, 2014

I'm closing this, as it … is done? Please reopen if I am wrong.

@floere floere closed this Dec 14, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment