badges / badges/shields

Extension to "commits since" badge: allow counting from latest version tag

Open
#1,955 4 comments 2 reactions 0 assignees View on GitHub
service-badge
Dominant language
JavaScript
Stars
27.2k
Forks
5.6k
Avg merge
1d 8h
Merged PRs (30d)
46

Description

Many projects don't use Github Releases to track releases, but simply ordinary git tags. These show up in the GitHub releases page (for example: https://github.com/Lucretiel/joinery/releases), but aren't marked as releases in the API. It'd be nice if there was another endpoint– perhaps `/commits-since/USER/REPO/latest-tag.svg`– which counts commits after the most recent tag matching `/\d+(\.\d+)/`

Contributor guide

Open the contributing guide

Research direction

Start with the existing “commits since” endpoint and the GitHub releases and tags behavior described in the issue. Trace how the current endpoint determines its reference point, then verify the latest matching version tag and commit count behavior. Done means the proposed latest-tag endpoint is available and its behavior is covered by tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
git, github, javascript
Domain
api, backend
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.