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

🐛 Docker stars broken (invalid) ⭐ #8314

Closed
adriens opened this issue Aug 16, 2022 · 7 comments · Fixed by #8316
Closed

🐛 Docker stars broken (invalid) ⭐ #8314

adriens opened this issue Aug 16, 2022 · 7 comments · Fixed by #8316
Labels
bug Bugs in badges and the frontend service-badge New or updated service badge

Comments

@adriens
Copy link

adriens commented Aug 16, 2022

Are you experiencing an issue with...

shields.io

🐞 Description

Docker stars shield is broken :

image

While docker repo is ok :

https://hub.docker.com/r/optnc/api-transitaires

🔗 Link to the badge

Can be reproduced on any docker image with /docker/stars/

💡 Possible Solution

Maybe point to this API https://hub.docker.com/v2/repositories/optnc which makes it possible to get the stars with star_count attribute

@adriens adriens added the question Support questions, usage questions, unconfirmed bugs, discussions, ideas label Aug 16, 2022
@adriens adriens changed the title Docker stars broken (invalid) 🐛 Docker stars broken (invalid) ⭐ Aug 16, 2022
@calebcartwright calebcartwright added bug Bugs in badges and the frontend service-badge New or updated service badge and removed question Support questions, usage questions, unconfirmed bugs, discussions, ideas labels Aug 17, 2022
@chris48s
Copy link
Member

Looking at it, calls to the /stars/count endpoint are failing with a 401 Unauthorized.

Calls to /repositoriesare still working ok though, so I think switching to get the star count from there (as suggested) is the way forward

@adriens
Copy link
Author

adriens commented Aug 17, 2022

Thanks a lot for your fast feedback : your shields are really cool ❣️

@adriens
Copy link
Author

adriens commented Aug 17, 2022

You mean... I can test it now ❔ 😮

@adriens
Copy link
Author

adriens commented Aug 17, 2022

Let me know when you want me to give it a try 🙏 🚀

@adriens
Copy link
Author

adriens commented Aug 17, 2022

Looking at it, calls to the /stars/count endpoint are failing with a 401 Unauthorized.

Calls to /repositoriesare still working ok though, so I think switching to get the star count from there (as suggested) is the way forward

The fun thing is that I discovered and started to play recenlty with DockerHub API cf https://dev.to/optnc/show-me-your-dockerhub-public-images-in-your-terminal-39n4

@chris48s
Copy link
Member

its deployed now

@adriens
Copy link
Author

adriens commented Aug 18, 2022

...and works perfectly well ❣️
Thanks a lot for your kind and efficient support 💪 🙏

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Bugs in badges and the frontend service-badge New or updated service badge
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants