internal/rosa: populate Anitya project ids

This enables release monitoring for all applicable projects.

Signed-off-by: Ophestra <cat@gensokyo.uk>
This commit is contained in:
2026-03-05 21:32:15 +09:00
parent 9989881dd9
commit f14ab80253
53 changed files with 171 additions and 3 deletions

View File

@@ -1,12 +1,14 @@
package rosa
import (
"strings"
"hakurei.app/internal/pkg"
)
func (t Toolchain) newNSS() (pkg.Artifact, string) {
const (
version = "3_120"
version = "3.120"
checksum = "9M0SNMrj9BJp6RH2rQnMm6bZWtP0Kgj64D5JNPHF7Cxr2_8kfy3msubIcvEPwC35"
version0 = "4_38_2"
@@ -14,7 +16,7 @@ func (t Toolchain) newNSS() (pkg.Artifact, string) {
)
return t.NewPackage("nss", version, pkg.NewHTTPGetTar(
nil, "https://github.com/nss-dev/nss/archive/refs/tags/"+
"NSS_"+version+"_RTM.tar.gz",
"NSS_"+strings.Join(strings.SplitN(version, ".", 2), "_")+"_RTM.tar.gz",
mustDecode(checksum),
pkg.TarGzip,
), &PackageAttr{
@@ -72,6 +74,8 @@ func init() {
Name: "nss",
Description: "Network Security Services",
Website: "https://firefox-source-docs.mozilla.org/security/nss/index.html",
ID: 2503,
}
}