anitya icon indicating copy to clipboard operation
anitya copied to clipboard

Option to filter release

Open eclipseo opened this issue 1 year ago • 2 comments

So I have a strange request, for Go packages in Fedora, we package import path, for examples:

github.com/lestrrat-go/backoff/v1 github.com/lestrrat-go/backoff/v2 github.com/lestrrat-go/backoff/v3

For each import path we have a separate package:

golang-github-lestrrat-backoff-1 golang-github-lestrrat-backoff-2 golang-github-lestrrat-backoff-3

The issue is when we put this into Anitya, we get bug filed for version 3.x.x on the v1 package.

So I'd like a way for Anitya to only check for update with the major version 1, the major version 2 and so on.

So far, I have achieved that by putting:

Version filter: v2;v3:v4

to exclude these version in the v1 package.

But this is not future proof because, v5, v6 could appear in the future.

Thanks.

eclipseo avatar Aug 15 '23 15:08 eclipseo