Skip to content

Commit

Permalink
Move chromebrew dashed versions ignore into ruleset
Browse files Browse the repository at this point in the history
  • Loading branch information
AMDmi3 committed Jul 4, 2024
1 parent 335c113 commit 1d37a09
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions repology/parsers/parsers/chromebrew.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
from typing import Iterable

from repology.packagemaker import NameType, PackageFactory, PackageMaker
from repology.package import PackageFlags
from repology.parsers import Parser
from repology.parsers.json import iter_json_list

Expand All @@ -32,7 +31,4 @@ def iter_parse(self, path: str, factory: PackageFactory) -> Iterable[PackageMake
pkg.set_summary(pkgdata['description'])
pkg.add_homepages(pkgdata['homepage'])
pkg.add_licenses(pkgdata['license'])
if '-' in pkgdata['version']:
# no way to tell whether these are revisions, snapshots or parts of actual version
pkg.set_flags(PackageFlags.UNTRUSTED)
yield pkg

0 comments on commit 1d37a09

Please sign in to comment.