Merge pull request #43 from ThomasRubini/fix_fedora

[CANDIDATE FOR MERGE] fixed fedora still including forks
This commit is contained in:
Djalim Simaila 2022-12-15 23:23:05 +01:00 committed by GitHub
commit 0c8b89d268
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -126,7 +126,7 @@ public class FedoraDistribution extends AsyncRequestsParser implements Distribut
String name = searchResultJson.getString("name"); String name = searchResultJson.getString("name");
// do not include fork projects in the list // do not include fork projects in the list
if (!name.startsWith("fork/")) { if (!searchResultJson.getString("fullname").startsWith("fork/")) {
// add package into to list // add package into to list
searchedPackagesList.add(new SearchedPackage( searchedPackagesList.add(new SearchedPackage(