AdguardTeam / AdguardTeam/companiesdb

sort non-valid companies

未关闭
#273 2 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
TypeScript
星标
32
派生
22
平均合并
1 天 11 小时
30 天内合并 PR
1

描述

### Prerequisites

- [X] I checked the documentation and found no answer;
- [X] I checked to make sure that this issue has not already been filed;
- [X] This is not a report to update the database.

### 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

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。