-
-
Notifications
You must be signed in to change notification settings - Fork 12.1k
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 last-commit badges to all github repos #3154
Conversation
Some of the projects are no longer being maintained, others are very active. The `last-commit` badge makes it easy to distinguish them.
Thank you for contributing with awesome-go, we will revise your contribution as soon as possible. Automation body links content check:
|
This will generate a lot of demand in shields.io at each access, it's not healthy for the project. Did you make this change via script? |
Indeed, adding this kind of badge will result in thousands of additional HTTP requests when visiting awesome-go page, which badly slows down the access speed. |
I've made this by simple search/replace with regular expressions. And I agree that this is not optimal. Maybe fetching all badges once a day is enough. And store them in a unique sprite image will limit the http access. |
The idea of checking out the activities of repositories in awesome-go list makes great sense, but we ought to find the new way instead of adding shield.io badge into README directly, maybe set up a daily script to scan all repositories in README and get the last commits, then write these last-commit dates into README back, as text format, it doesn't have to be image format. |
@panjf2000 Yes it could be text format, but the color is very important IMO because it helps to quickly check how active is the project. |
Make sense, but we have a long way to go if the final decision is image format, then where should we store those cached images? |
The |
My proposal would be to start with text and then evolve to image (since we need to evolve the idea of where to host the images), baby steps. @kpym can you work on this implementation? I imagine this script (in Go) stay inside about awesome-go.comis hosted on netlify, that is, after PR is accepted travis-ci generates the site (html) and sends to netlify, today everything should be contained in the repository awesome-go thinking about using images we need to improve this architecture, I believe that object store (aka s3) can help us to host the images generated |
@avelino I'm sorry, but I won't have time to deal with this right now. Some remarks:
This way awesome-go.com will have a real added value on the README, because currently this is not the case, IMO. |
I agree, we need to improve awesome-go.com Too bad you can't contribute awsome-go, we'll always be open to new ideas, when you have time to contribute be very welcome |
Some of the projects are no longer being maintained, others are very active. The
last-commit
badge makes it easy to distinguish them.