AdguardTeam / companiesdb

This is a companies DB that we use in AdGuard Home and AdGuard DNS.
Creative Commons Attribution Share Alike 4.0 International
26 stars 13 forks source link

sort non-valid companies #273

Open jellizaveta opened 11 months ago

jellizaveta commented 11 months ago

Prerequisites

Problem description

There are companies in the database that no longer exist or domains that redirect to other pages. It may be worth sorting this type of companies and remove them from the final version and rewrite trackers to other companies or if the tracker domains are also not working sort them.

Proposed solution

  1. to invalid information of companies/trackers add the key: "status": "outdated"
  2. check if the old company/tracker has been replaced by the current company/tracker, if not - throw error message during build. If a tracker was marked as outdated - its domains will not be included in dist.
  3. build result: no invalid trackers/companies in dist directory

Additional information

Related pr: https://github.com/AdguardTeam/companiesdb/pull/263

ghost commented 11 months ago

Related issue: #270

ghost commented 11 months ago

Examples: