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

proposal: Add stars / last updated time #501

Open
kuanyui opened this issue Aug 30, 2024 · 2 comments
Open

proposal: Add stars / last updated time #501

kuanyui opened this issue Aug 30, 2024 · 2 comments

Comments

@kuanyui
Copy link
Member

kuanyui commented Aug 30, 2024

Hi @agsdot:

I'm considering if we should add budges (provided by service https://shields.io) to display "starts / last updated time" for each package , but it requires add lots of redundant HTML into README.org so I think if really want to do it should be done automatically via GitHub Actions to generate real README.org from README_SRC.org

I made a demo as preview (two versions. 1. stars ; 2. starts + commit_time ):
https://gist.github.com/kuanyui/630dc6c3dbddc58c4f9081724a5126bf

@agsdot
Copy link
Collaborator

agsdot commented Sep 3, 2024

Hi @kuanyui ,

That's great. I'm all for using more automation to provide more information and make things neater and cleaner.

Does this shield service only check github for stars and commits. For other repositories (e.g. codeberg, gitlab, bitbucket) can it also check most recent commit date as well?

Thanks for sharing the gist. Can you also share what the github actions yaml will look like as well?

@kuanyui
Copy link
Member Author

kuanyui commented Sep 4, 2024

Hi @kuanyui ,

That's great. I'm all for using more automation to provide more information and make things neater and cleaner.

Does this shield service only check github for stars and commits. For other repositories (e.g. codeberg, gitlab, bitbucket) can it also check most recent commit date as well?

Yes, the documents are all on https://shields.io/badges

Thanks for sharing the gist. Can you also share what the github actions yaml will look like as well?

I checked the commit log of the actions of this repository, and I found it it was done by you, and actually I have never used GitHub actions before, so I think it is better to quickly make a simple example and assign you. What I have done was only regular expressions search and replace.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants