Skip to content

Commit

Permalink
Repology 1.9.0
Browse files Browse the repository at this point in the history
Add Gentoo
  • Loading branch information
ibara committed Feb 11, 2025
1 parent 87286b4 commit 9ea6000
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
1 change: 1 addition & 0 deletions repology.1
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ selects an appropriate repository based on your operating system:
.Dl Debian Ar debian_unstable
.Dl Fedora Ar fedora_rawhide
.Dl FreeBSD Ar freebsd
.Dl Gentoo Ar gentoo
.Dl macOS Ar homebrew
.Dl NetBSD Ar pkgsrc_current
.Dl OpenBSD Ar openbsd
Expand Down
6 changes: 5 additions & 1 deletion repology.d
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,9 @@ int main(string[] args)
case "fedora":
options.repo = distro ~ "_rawhide";
break;
case "gentoo":
options.repo = distro;
break;
case "ubuntu":
options.repo = distro ~ "_" ~
release.strip("\"").replaceFirst(".", "_");
Expand Down Expand Up @@ -134,7 +137,7 @@ int main(string[] args)
}

if (options.vers) {
writeln("1.8.0 (5 Jan 2025)");
writeln("1.9.0 (10 Feb 2025)");
return 1;
}

Expand Down Expand Up @@ -217,6 +220,7 @@ string[] process(JSONValue json, Options options)
case "debian_experimental":
case "debian_unstable":
case "freebsd":
case "gentoo":
case "openbsd":
case "pkgsrc_current":
case "ubuntu_24_04":
Expand Down

0 comments on commit 9ea6000

Please sign in to comment.