-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
Add Leanpub Book Summary Badges [LeanpubBookSummary] #2458
Conversation
Generated by 🚫 dangerJS |
Thanks for submitting this. I'm not sure what to do about the revenue badge. I don't think its particularly useful to add/document a badge on shields.io that nobody can use. Does anyone know of another example where we've got a badge in core that only works on a self-hosted instance? |
I'm not aware of any. In theory I wouldn't mind maintaining a badge that targets self-hosing users, though I'm not sure if there is anyone who wants the revenue badge enough to self-host. Given that, maybe we could leave off the revenue badge for now? |
I think that's fair, and also aligns with what the original requestor said when we found it out would only be available for self-hosted. I'll remove the revenue badge. Any other changes needed? |
cheers. I've left a couple of other minor comments to follow up on |
Also a semi-random question. I noticed in the code coverage results that the |
Good question. I think if you run the full test suite (as opposed to just the service tests) with |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thanks for you work on this
Add Leanpub Book Summary Badges [LeanpubBookSummary] (badges#2458)
Adds new service to provide badges for Leanpub book metrics which closes #2270
Comments:
other
One of the badges (revenue
) will only be available on self-hosted Shields instances. I added a note to the docs for that badge to indicate this, but not sure if there are other conventions/standards followed for self-hosted only badgesThe Leanpub API docs all reference providing the API Key (which would only be done for self-hosted Shields instances) via a query param. I'd prefer that be done via auth headers, but figured I'd just go with what their docs say, especially since I don't personally use the service