diff options
author | 2024-05-03 14:05:58 +0300 | |
---|---|---|
committer | 2024-05-03 14:05:58 +0300 | |
commit | e2312e3f58fac4453ac6ff786ab69a7a30734d00 (patch) | |
tree | 8ca625852c7c1d45f02c5ef774f9ab634507ec04 | |
parent | Integrate with release-monitoring (diff) | |
download | soko-e2312e3f58fac4453ac6ff786ab69a7a30734d00.tar.gz soko-e2312e3f58fac4453ac6ff786ab69a7a30734d00.tar.bz2 soko-e2312e3f58fac4453ac6ff786ab69a7a30734d00.zip |
anitya: add ignore for perl packages
We have a special versioning scheme for perl, so until implemented, just
ignore them from anitya.
https://wiki.gentoo.org/wiki/Project:Perl/Version-Scheme
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
-rw-r--r-- | pkg/portage/anitya/anitya.go | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/pkg/portage/anitya/anitya.go b/pkg/portage/anitya/anitya.go index 25f91cd..6916f67 100644 --- a/pkg/portage/anitya/anitya.go +++ b/pkg/portage/anitya/anitya.go @@ -57,6 +57,12 @@ func UpdateAnitya() { nextPackage: for _, p := range packages { + if p.Category == "dev-perl" || p.Category == "perl-core" { + // Skip dev-perl packages, since they have a special versioning scheme in Gentoo + // and Anitya does not know about it + // https://wiki.gentoo.org/wiki/Project:Perl/Version-Scheme + continue + } anitya := anityaPackages[packagesMap[p.Atom]] p.AnityaInfo = &models.AnityaInfo{ Project: anitya.Project, |