diff --git a/lib/tasks/import_debian.rake b/lib/tasks/import_debian.rake index c82d6a3..833bcb5 100644 --- a/lib/tasks/import_debian.rake +++ b/lib/tasks/import_debian.rake @@ -38,9 +38,17 @@ BLACKLIST_SECTION_PATTERN = [ # List of regular expressions. If the package's short description # matches any of these then the package will not be imported. # Transitional/dummy stub packages exist only to ease upgrades to a -# renamed or split package and never get a useful screenshot. +# renamed or split package and never get a useful screenshot. Debian +# has no dedicated metadata field for this - the Developer's Reference +# (6.9.7) documents these exact phrases as the convention package +# maintainers use, and as what deborphan --guess-dummy looks for. +# Deliberately not matching a bare "dummy": too many real packages use +# that word for actual functionality (e.g. xserver-xorg-video-dummy, +# fence-agents-dummy, "double dummy solver" bridge card libraries). BLACKLIST_DESCRIPTION_PATTERN = [ /transitional/i, + /dummy package/i, + /dependency package/i, ] # Whether to delete a blacklisted package from the database