badges / badges/shields

[maven-metadata] Allow filtering for release versions

Open
#6,995 4 comments 0 reactions 0 assignees View on GitHub
question
Dominant language
JavaScript
Stars
27.2k
Forks
5.6k
Avg merge
1d 8h
Merged PRs (30d)
46

Description

:clipboard: **Description**

It would be cool if the maven-metadata badge could only show the latest release version and not the latest snapshot.
This can be achieved by reading [the `release` field](https://gitlab.com/api/v4/projects/25796063/packages/maven/com/gitlab/cromefire/detekt-gitlab-report/maven-metadata.xml) or probably also by filtering for versions with no `-SNAPSHOT` suffix or even a customizable suffix (similar to the current positive matching).

Contributor guide

Open the contributing guide

Research direction

Start from the maven-metadata badge implementation and the linked Maven metadata XML, especially its release field and version entries. Determine how the badge currently selects a version and define the requested filtering behavior, including whether a suffix can be customized; done means the badge can show the latest release instead of a snapshot and has coverage for that behavior.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.