AdguardTeam / AdguardTeam/companiesdb

sort non-valid companies

Đang mở
#273 2 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
TypeScript
Star
32
Fork
22
Merge trung bình
1 ngày 11 giờ
Pull request đã merge (30 ngày)
1

Mô tả

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

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.