forked from rosa/hakurei
internal/rosa/perl: populate anitya identifiers
These are also tracked by Anitya. Signed-off-by: Ophestra <cat@gensokyo.uk>
This commit is contained in:
@@ -2,6 +2,7 @@ package rosa
|
|||||||
|
|
||||||
import (
|
import (
|
||||||
"slices"
|
"slices"
|
||||||
|
"strings"
|
||||||
|
|
||||||
"hakurei.app/internal/pkg"
|
"hakurei.app/internal/pkg"
|
||||||
)
|
)
|
||||||
@@ -159,6 +160,8 @@ func init() {
|
|||||||
Name: "perl-Locale::gettext",
|
Name: "perl-Locale::gettext",
|
||||||
Description: "message handling functions",
|
Description: "message handling functions",
|
||||||
Website: "https://metacpan.org/release/Locale-gettext",
|
Website: "https://metacpan.org/release/Locale-gettext",
|
||||||
|
|
||||||
|
ID: 7523,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -181,6 +184,8 @@ func init() {
|
|||||||
Name: "perl-Pod::Parser",
|
Name: "perl-Pod::Parser",
|
||||||
Description: "base class for creating POD filters and translators",
|
Description: "base class for creating POD filters and translators",
|
||||||
Website: "https://metacpan.org/release/Pod-Parser",
|
Website: "https://metacpan.org/release/Pod-Parser",
|
||||||
|
|
||||||
|
ID: 3244,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -203,6 +208,22 @@ func init() {
|
|||||||
Name: "perl-SGMLS",
|
Name: "perl-SGMLS",
|
||||||
Description: "class for postprocessing the output from the sgmls and nsgmls parsers",
|
Description: "class for postprocessing the output from the sgmls and nsgmls parsers",
|
||||||
Website: "https://metacpan.org/release/RAAB/SGMLSpm-1.1",
|
Website: "https://metacpan.org/release/RAAB/SGMLSpm-1.1",
|
||||||
|
|
||||||
|
ID: 389576,
|
||||||
|
|
||||||
|
latest: func(v *Versions) string {
|
||||||
|
for _, s := range v.Stable {
|
||||||
|
_, m, ok := strings.Cut(s, ".")
|
||||||
|
if !ok {
|
||||||
|
continue
|
||||||
|
}
|
||||||
|
if len(m) > 1 && m[0] == '0' {
|
||||||
|
continue
|
||||||
|
}
|
||||||
|
return s
|
||||||
|
}
|
||||||
|
return v.Latest
|
||||||
|
},
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -225,6 +246,8 @@ func init() {
|
|||||||
Name: "perl-Term::ReadKey",
|
Name: "perl-Term::ReadKey",
|
||||||
Description: "a perl module for simple terminal control",
|
Description: "a perl module for simple terminal control",
|
||||||
Website: "https://metacpan.org/release/TermReadKey",
|
Website: "https://metacpan.org/release/TermReadKey",
|
||||||
|
|
||||||
|
ID: 3372,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -247,6 +270,8 @@ func init() {
|
|||||||
Name: "perl-Text::CharWidth",
|
Name: "perl-Text::CharWidth",
|
||||||
Description: "get number of occupied columns of a string on terminal",
|
Description: "get number of occupied columns of a string on terminal",
|
||||||
Website: "https://metacpan.org/release/Text-CharWidth",
|
Website: "https://metacpan.org/release/Text-CharWidth",
|
||||||
|
|
||||||
|
ID: 14380,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -275,6 +300,8 @@ func init() {
|
|||||||
Dependencies: P{
|
Dependencies: P{
|
||||||
PerlTextCharWidth,
|
PerlTextCharWidth,
|
||||||
},
|
},
|
||||||
|
|
||||||
|
ID: 14385,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -297,6 +324,8 @@ func init() {
|
|||||||
Name: "perl-MIME::Charset",
|
Name: "perl-MIME::Charset",
|
||||||
Description: "Charset Information for MIME",
|
Description: "Charset Information for MIME",
|
||||||
Website: "https://metacpan.org/release/MIME-Charset",
|
Website: "https://metacpan.org/release/MIME-Charset",
|
||||||
|
|
||||||
|
ID: 3070,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -325,6 +354,8 @@ func init() {
|
|||||||
Dependencies: P{
|
Dependencies: P{
|
||||||
PerlMIMECharset,
|
PerlMIMECharset,
|
||||||
},
|
},
|
||||||
|
|
||||||
|
ID: 6033,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -347,5 +378,7 @@ func init() {
|
|||||||
Name: "perl-YAML::Tiny",
|
Name: "perl-YAML::Tiny",
|
||||||
Description: "read/write YAML files with as little code as possible",
|
Description: "read/write YAML files with as little code as possible",
|
||||||
Website: "https://metacpan.org/release/YAML-Tiny",
|
Website: "https://metacpan.org/release/YAML-Tiny",
|
||||||
|
|
||||||
|
ID: 3549,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user