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

add version tag badge #191

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

add version tag badge #191

wants to merge 1 commit into from

Conversation

taozhiyu
Copy link
Contributor

@taozhiyu taozhiyu commented Mar 7, 2025

Hi there! I wanted to share that I've noticed YOURLS/YOURLS.pot#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.

@LeoColomb
Copy link
Member

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?

@toineenzo
Copy link
Contributor

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 :)

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

Successfully merging this pull request may close these issues.

3 participants