awesome icon indicating copy to clipboard operation
awesome copied to clipboard

add version tag badge

Open taozhiyu opened this issue 10 months ago β€’ 2 comments

Hi there! I wanted to share that I've noticed https://github.com/YOURLS/YOURLS.pot/pull/41 has released a new dev version. I've proactively updated the translation files to align with the latest release.

To improve project visibility and user experience, may I suggest adding a version compatibility badge to the repository? This could be implemented using Shields.io or similar service to dynamically display the supported YOURLS version. Such a badge would:

  1. Provide immediate version awareness for visitors
  2. Reduce maintenance overhead by automating version tracking
  3. Increase transparency for potential contributors

I originally planned to add versioning to each translation repository, but I found that they don’t use tags or releases effectively. Adding a badge would make it easier for others who are willing to update the translations.

The badge could follow this format: current version https://img.shields.io/github/v/release/USER/REPO?include_prereleases&display_name=release&style=flat-square&logo=github

image ↑↑ See that? It's very clear.

taozhiyu avatar Mar 07 '25 11:03 taozhiyu

Thanks for submitting this pull request, @taozhiyu. While the goal is clear and great, I'm afraid of the maintenance cost this will cost. Very few translation repos are actually tagging releases, which breaks version automation of the badge. Again, the idea is great, but I'm not sure the implementation is great in the long term. @YOURLS/core?

LeoColomb avatar Mar 10 '25 09:03 LeoColomb

I think this would be a very good idea. I also just created a poll here to start gathering translations in 1 official repo to make it much easier to maintain translations: https://github.com/orgs/YOURLS/discussions/3872 be sure to vote :)

toineenzo avatar Mar 10 '25 09:03 toineenzo

I'm with @LeoColomb here.

Also, I think a unique repo for all translation kind of defeats the idea of a community. It would probably also add more burden to the (microscopic) YOURLS team instead of letting each author deal with potential issues, PR, etc...

ozh avatar Jul 28 '25 17:07 ozh

Thanks again for your submission, @taozhiyu, we really appreciate the effort. I'm closing this pull request as we consider it outside of our scope.

LeoColomb avatar Jul 28 '25 19:07 LeoColomb